PageSourceSearch

https://identidadefacil.rs.gov.br/chunk-A3JCXIPB.js

js identidadefacil.rs.gov.br collected 2026-10-08 18:57:17 UTC 528,248 bytes, 7 lines download raw bytes

vendor: 8,215 bytes, lines 1-3
1import{a as fy,c as vd,d as yd,e as Dd,f as Id,g as Cd,h as bd}from"./chunk-S3MDNWGF.js";import{a as I,b as V,d as Ui,h as Z}from"./chunk-HHJ6TDNL.js";var rt=null,Oa=!1,Ed=1,x_=null,Fe=Symbol("SIGNAL");function F(e){let n=rt;return rt=e,n}function Pa(){return rt}var ar={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function cr(e){if(Oa)throw new Error("");if(rt===null)return;rt.consumerOnSignalRead(e);let n=rt.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=rt.recomputing;if(r&&(t=n!==void 0?n.nextProducer:rt.producers,t!==void 0&&t.producer===e)){rt.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===rt&&(!r||N_(o,rt)))return;let i=Po(rt),s={producer:e,consumer:rt,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};rt.producersTail=s,n!==void 0?n.nextProducer=s:rt.producers=s,i&&my(e,s)}function hy(){Ed++}function Hr(e){if(!(Po(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ed)){if(!e.producerMustRecompute(e)&&!Hi(e)){Oo(e);return}e.producerRecomputeValue(e),Oo(e)}}function wd(e){if(e.consumers===void 0)return;let n=Oa;Oa=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||R_(r)}}finally{Oa=n}}function _d(){return rt?.consumerAllowSignalWrites!==!1}function R_(e){e.dirty=!0,wd(e),e.consumerMarkedDirty?.(e)}function Oo(e){e.dirty=!1,e.lastCleanEpoch=Ed}function lr(e){return e&&py(e),F(e)}function py(e){e.producersTail=void 0,e.recomputing=!0}function $r(e,n){F(n),e&&gy(e)}function gy(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Po(e))do t=Sd(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Hi(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Hr(t),r!==t.version))return!0}return!1}function zr(e){if(Po(e)){let n=e.producers;for(;n!==void 0;)n=Sd(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function my(e,n){let t=e.consumersTail,r=Po(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)my(o.producer,o)}function Sd(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Po(n)){let i=n.producers;for(;i!==void 0;)i=Sd(i)}return t}function Po(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function $i(e){x_?.(e)}function N_(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function zi(e,n){return Object.is(e,n)}function Gi(e,n){let t=Object.create(k_);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Hr(t),cr(t),t.value===In)throw t.error;return t.value};return r[Fe]=t,$i(t),r}var Br=Symbol("UNSET"),Ur=Symbol("COMPUTING"),In=Symbol("ERRORED"),k_=V(I({},ar),{value:Br,dirty:!0,error:null,equal:zi,kind:"computed",producerMustRecompute(e){return e.value===Br||e.value===Ur},producerRecomputeValue(e){if(e.value===Ur)throw new Error("");let n=e.value;e.value=Ur;let t=lr(e),r,o=!1;try{r=e.computation(),F(null),o=n!==Br&&n!==In&&r!==In&&e.equal(n,r)}catch(i){r=In,e.error=i}finally{$r(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function O_(){throw new Error}var vy=O_;function yy(e){vy(e)}function Td(e){vy=e}var P_=null;function Md(e,n){let t=Object.create(La);t.value=e,n!==void 0&&(t.equal=n);let r=()=>Dy(t);return r[Fe]=t,$i(t),[r,s=>ur(t,s),s=>Fa(t,s)]}function Dy(e){return cr(e),e.value}function ur(e,n){_d()||yy(e),e.equal(e.value,n)||(e.value=n,F_(e))}function Fa(e,n){_d()||yy(e),ur(e,n(e.value))}var La=V(I({},ar),{equal:zi,value:void 0,kind:"signal"});function F_(e){e.version++,hy(),wd(e),P_?.(e)}var Ad=V(I({},ar),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function xd(e){if(e.dirty=!1,e.version>0&&!Hi(e))return;e.version++;let n=lr(e);try{e.cleanup(),e.fn()}finally{$r(e,n)}}function B(e){return typeof e=="function"}function dr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ja=dr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
2${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function Gr(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var Me=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(B(r))try{r()}catch(i){n=i instanceof ja?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Iy(i)}catch(s){n=n??[],s instanceof ja?n=[...n,...s.errors]:n.push(s)}}if(n)throw new ja(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Iy(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Gr(t,n)}remove(n){let{_finalizers:t}=this;t&&Gr(t,n),n instanceof e&&n._removeParent(this)}};Me.EMPTY=(()=>{let e=new Me;return e.closed=!0,e})();var Rd=Me.EMPTY;function Va(e){return e instanceof Me||e&&"closed"in e&&B(e.remove)&&B(e.add)&&B(e.unsubscribe)}function Iy(e){B(e)?e():e.unsubscribe()}var nn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Fo={setTimeout(e,n,...t){let{delegate:r}=Fo;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=Fo;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ba(e){Fo.setTimeout(()=>{let{onUnhandledError:n}=nn;if(n)n(e);else throw e})}function rn(){}var Cy=Nd("C",void 0,void 0);function by(e){return Nd("E",void 0,e)}function Ey(e){return Nd("N",e,void 0)}function Nd(e,n,t){return{kind:e,value:n,error:t}}var Wr=null;function Lo(e){if(nn.useDeprecatedSynchronousErrorHandling){let n=!Wr;if(n&&(Wr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Wr;if(Wr=null,t)throw r}}else e()}function wy(e){nn.useDeprecatedSynchronousErrorHandling&&Wr&&(Wr.errorThrown=!0,Wr.error=e)}var qr=class extends Me{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Va(n)&&n.add(this)):this.destination=V_}static create(n,t,r){return new fr(n,t,r)}next(n){this.isStopped?Od(Ey(n),this):this._next(n)}error(n){this.isStopped?Od(by(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Od(Cy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},L_=Function.prototype.bind;function kd(e,n){return L_.call(e,n)}var Pd=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ua(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ua(r)}else Ua(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ua(t)}}},fr=class extends qr{constructor(n,t,r){super();let o;if(B(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;
vendor: 5,637 bytes, line 3
3this&&nn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&kd(n.next,i),error:n.error&&kd(n.error,i),complete:n.complete&&kd(n.complete,i)}):o=n}this.destination=new Pd(o)}};function Ua(e){nn.useDeprecatedSynchronousErrorHandling?wy(e):Ba(e)}function j_(e){throw e}function Od(e,n){let{onStoppedNotification:t}=nn;t&&Fo.setTimeout(()=>t(e,n))}var V_={closed:!0,next:rn,error:j_,complete:rn};var jo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function gt(e){return e}function Fd(...e){return Ld(e)}function Ld(e){return e.length===0?gt:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var G=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=U_(t)?t:new fr(t,r,o);return Lo(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=_y(r),new r((o,i)=>{let s=new fr({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[jo](){return this}pipe(...t){return Ld(t)(this)}toPromise(t){return t=_y(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function _y(e){var n;return(n=e??nn.Promise)!==null&&n!==void 0?n:Promise}function B_(e){return e&&B(e.next)&&B(e.error)&&B(e.complete)}function U_(e){return e&&e instanceof qr||B_(e)&&Va(e)}function H_(e){return B(e?.lift)}function W(e){return n=>{if(H_(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function z(e,n,t,r,o){return new jd(e,n,t,r,o)}var jd=class extends qr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var Vo={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Vo;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new Me(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Vo;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Vo;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Sy=dr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class e extends G{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Ha(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Sy}next(t){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Lo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Rd:(this.currentObservers=null,i.push(t),new Me(()=>{this.currentObservers=null,Gr(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new G;return t.source=this,t}}return e.create=(n,t)=>new Ha(n,t),e})(),Ha=class extends ue{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Rd}};var Ve=class extends ue{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Vd={now(){return(Vd.delegate||Date).now()},delegate:void 0};var $a=class extends Me{constructor(n,t){super()}schedule(n,t=0){return this}};var Wi={setInterval(e,n,...t){let{delegate:r}=Wi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Wi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var hr=class extends $a{constructor(n,t){super(n,t),this.scheduler
vendor: 4,563 bytes, line 3
3=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return Wi.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&Wi.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Gr(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var $_=1,Bd,Ud={};function Ty(e){return e in Ud?(delete Ud[e],!0):!1}var My={setImmediate(e){let n=$_++;return Ud[n]=!0,Bd||(Bd=Promise.resolve()),Bd.then(()=>Ty(n)&&e()),n},clearImmediate(e){Ty(e)}};var{setImmediate:z_,clearImmediate:G_}=My,qi={setImmediate(...e){let{delegate:n}=qi;return(n?.setImmediate||z_)(...e)},clearImmediate(e){let{delegate:n}=qi;return(n?.clearImmediate||G_)(e)},delegate:void 0};var za=class extends hr{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=qi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(qi.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}};var Bo=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};Bo.now=Vd.now;var pr=class extends Bo{constructor(n,t=Bo.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var Ga=class extends pr{flush(n){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var W_=new Ga(za);var Vn=new pr(hr),Ay=Vn;var Wa=class extends hr{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Vo.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Vo.cancelAnimationFrame(t),n._scheduled=void 0)}};var qa=class extends pr{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var q_=new qa(Wa);var $e=new G(e=>e.complete());function Za(e){return e&&B(e.schedule)}function Hd(e){return e[e.length-1]}function Uo(e){return B(Hd(e))?e.pop():void 0}function Cn(e){return Za(Hd(e))?e.pop():void 0}function xy(e,n){return typeof Hd(e)=="number"?e.pop():n}function S(e,n,t,r){var o=arguments.length,i=o<3?n:r===null?r=Object.getOwnPropertyDescriptor(n,t):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,n,t,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(o<3?s(i):o>3?s(n,t,i):s(n,t))||i);return o>3&&i&&Object.defineProperty(n,t,i),i}function Ny(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function Ry(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);
vendor: 12,022 bytes, line 3
3if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Zr(e){return this instanceof Zr?(this.v=e,this):new Zr(e)}function ky(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(m){return Promise.resolve(m).then(h,d)}}function a(h,m){r[h]&&(o[h]=function(M){return new Promise(function(D,N){i.push([h,M,D,N])>1||c(h,M)})},m&&(o[h]=m(o[h])))}function c(h,m){try{l(r[h](m))}catch(M){p(i[0][3],M)}}function l(h){h.value instanceof Zr?Promise.resolve(h.value.v).then(u,d):p(i[0][2],h)}function u(h){c("next",h)}function d(h){c("throw",h)}function p(h,m){h(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Oy(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof Ry=="function"?Ry(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Ho=e=>e&&typeof e.length=="number"&&typeof e!="function";function Qa(e){return B(e?.then)}function Ya(e){return B(e[jo])}function Ka(e){return Symbol.asyncIterator&&B(e?.[Symbol.asyncIterator])}function Ja(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Z_(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Xa=Z_();function ec(e){return B(e?.[Xa])}function tc(e){return ky(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Zr(t.read());if(o)return yield Zr(void 0);yield yield Zr(r)}}finally{t.releaseLock()}})}function nc(e){return B(e?.getReader)}function ne(e){if(e instanceof G)return e;if(e!=null){if(Ya(e))return Q_(e);if(Ho(e))return Y_(e);if(Qa(e))return K_(e);if(Ka(e))return Py(e);if(ec(e))return J_(e);if(nc(e))return X_(e)}throw Ja(e)}function Q_(e){return new G(n=>{let t=e[jo]();if(B(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Y_(e){return new G(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function K_(e){return new G(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Ba)})}function J_(e){return new G(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Py(e){return new G(n=>{eS(e,n).catch(t=>n.error(t))})}function X_(e){return Py(tc(e))}function eS(e,n){var t,r,o,i;return Ny(this,void 0,void 0,function*(){try{for(t=Oy(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function ot(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function rc(e,n=0){return W((t,r)=>{t.subscribe(z(r,o=>ot(r,e,()=>r.next(o),n),()=>ot(r,e,()=>r.complete(),n),o=>ot(r,e,()=>r.error(o),n)))})}function oc(e,n=0){return W((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Fy(e,n){return ne(e).pipe(oc(n),rc(n))}function Ly(e,n){return ne(e).pipe(oc(n),rc(n))}function jy(e,n){return new G(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Vy(e,n){return new G(t=>{let r;return ot(t,n,()=>{r=e[Xa](),ot(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>B(r?.return)&&r.return()})}function ic(e,n){if(!e)throw new Error("Iterable cannot be null");return new G(t=>{ot(t,n,()=>{let r=e[Symbol.asyncIterator]();ot(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function By(e,n){return ic(tc(e),n)}function Uy(e,n){if(e!=null){if(Ya(e))return Fy(e,n);if(Ho(e))return jy(e,n);if(Qa(e))return Ly(e,n);if(Ka(e))return ic(e,n);if(ec(e))return Vy(e,n);if(nc(e))return By(e,n)}throw Ja(e)}function he(e,n){return n?Uy(e,n):ne(e)}function P(...e){let n=Cn(e);return he(e,n)}function Qr(e,n){let t=B(e)?e:()=>e,r=o=>o.error(t());return new G(n?o=>n.schedule(r,0,o):r)}function sc(e){return!!e&&(e instanceof G||B(e.lift)&&B(e.subscribe))}var Bn=dr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function $d(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new fr({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new Bn)}});e.subscribe(i)})}function ac(e){return e instanceof Date&&!isNaN(e)}var tS=dr(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function zd(e,n){let{first:t,each:r,with:o=nS,scheduler:i=n??Vn,meta:s=null}=ac(e)?{first:e}:typeof e=="number"?{each:e}:e;if(t==null&&r==null)throw new TypeError("No timeout provided.");return W((a,c)=>{let l,u,d=null,p=0,h=m=>{u=ot(c,i,()=>{try{l.unsubscribe(),ne(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(M){c.error(M)}},m)};l=a.subscribe(z(c,m=>{u?.unsubscribe(),p++,c.next(d=m),r>0&&h(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&h(t!=null?typeof t=="number"?t:+t-i.now():r)})}function nS(e){throw new tS(e)}function te(e,n){return W((t,r)=>{let o=0;t.subscribe(z(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:rS}=Array;function oS(e,n){return rS(n)?e(...n):e(n)}function $o(e){return te(n=>oS(e,n))}var{isArray:iS}=Array,{getPrototypeOf:sS,prototype:aS,keys:cS}=Object;function cc(e){if(e.length===1){let n=e[0];if(iS(n))return{args:n,keys:null};if(lS(n)){let t=cS(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function lS(e){return e&&typeof e=="object"&&sS(e)===aS}function lc(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Yr(...e){let n=Cn(e),t=Uo(e),{args:r,keys:o}=cc(e);if(r.length===0)return he([],n);let i=new G(uS(r,n,o?s=>lc(o,s):gt));return t?i.pipe($o(t)):i}function uS(e,n,t=gt){return r=>{Hy(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Hy(n,()=>{let l=he(e[c],n),u=!1;l.subscribe(z(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Hy(e,n,t){e?ot(t,e,n):n()}function $y(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&n.complete()},h=M=>l<r?m(M):c.push(M),m=M=>{i&&n.next(M),l++;let D=!1;ne(t(M,u++)).subscribe(z(n,N=>{o?.(N),i?h(N):n.next(N)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;c.length&&l<r;){let N=c.shift();s?ot(n,s,()=>m(N)):m(N)}p()}catch(N){n.error(N)}}))};return e.subscribe(z(n,h,()=>{d=!0,p()})),()=>{a?.()}}function Ae(e,n,t=1/0){return B(n)?Ae((r,o)=>te((i,s)=>n(r,i,o,s))(ne(e(r,o))),t):(typeof n=="number"&&(t=n),W((r,o)=>$y(r,o,e,t)))}function gr(e=1/0){return Ae(gt,e)}function zy(){return gr(1)}function mr(...e){return zy()(he(e,Cn(e)))}function Zi(e){return new G(n=>{ne(e()).subscribe(n)})}function Gd(...e){let n=Uo(e),{args:t,keys:r}=cc(e),o=new G(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;ne(t[u]).subscribe(z(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?lc(r,a):a),i.complete())}))}});return n?o.pipe($o(n)):o}var dS=["addListener","removeListener"],fS=["addEventListener","removeEventListener"],hS=["on","off"];function Kr(e,n,t,r){if(B(t)&&(r=t,t=void 0),r)return Kr(e,n,t).pipe($o(r));let[o,i]=mS(e)?fS.map(s=>a=>e[s](n,a,t)):pS(e)?dS.map(Gy(e,n)):gS(e)?hS.map(Gy(e,n)):[];if(!o&&Ho(e))return Ae(s=>Kr(s,n,t))(ne(e));if(!o)throw new TypeError("Invalid event target");return new G(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Gy(e,n){return t=>r=>e[t](n,r)}function pS(e){return B(e.addListener)&&B(e.removeListener)}function gS(e){return B(e.on)&&B(e.off)}function mS(e){return B(e.addEventListener)&&B(e.removeEventListener)}function uc(e=0,n,t=Ay){let r=-1;return n!=null&&(Za(n)?t=n:r=n),new G(o=>{let i=ac(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Wd(...e){let n=Cn(e),t=xy(e,1/0),r=e;return r.length?r.length===1?ne(r[0]):gr(t)(he(r,n)):$e}var vS=new G(rn);var{isArray:yS}=Array;function Wy(e){return e.length===1&&yS(e[0])?e[0]:e}function Ie(e,n){return W((t,r)=>{let o=0;t.subscribe(z(r,i=>e.call(n,i,o++)&&r.next(i)))})}function qd(...e){return e=Wy(e),e.length===1?ne(e[0]):new G(DS(e))}function DS(e){return n=>{let t=[];for(let r=0;t&&!n.closed&&r<e.length;r++)t.push(ne(e[r]).subscribe(z(n,o=>{if(t){for(let i=0;i<t.length;i++)i!==r&&t[i].unsubscribe();t=null}n.next(o)})))}}function qy(e){return W((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(z(t,l=>{r=!0,o=l,i||ne(e(l)).subscribe(i=z(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function IS(e,n=Vn){return qy(()=>uc(e,n))}function Mt(e){return W((n,t)=>{let r=null,o=!1,i;r=n.subscribe(z(t,void 0,void 0,s=>{i=ne(e(s,Mt(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function vr(e,n){return B(n)?Ae(e,n,1):Ae(e,1)}function Zd(e,n=Vn){return W((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(z(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Zy(e){return W((n,t)=>{let r=!1;n.subscribe(z(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function bt(e){return e<=0?()=>$e:W((n,t)=>{let r=0;n.subscribe(z(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function Qy(){return W((e,n)=>{e.subscribe(z(n,rn))})}function Yy(e){return te(()=>e)}function Qd(e,n){return n?t=>mr(n.pipe(bt(1),Qy()),t.pipe(Qd(e))):Ae((t,r)=>ne(e(t,r)).pipe(bt(1),Yy(t)))}function Qi(e,n=Vn){let t=uc(e,n);return Qd(()=>t)}function Yd(e,n=gt){return e=e??CS,W((t,r)=>{let o,i=!0;t.subscribe(z(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function CS(e,n){return e===n}function Ky(e=bS){return W((n,t)=>{let r=!1;n.subscribe(z(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function bS(){return new Bn}function zo(e){return W((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function Ye(e,n){let t=arguments.length>=2;return r=>r.pipe(e?Ie((o,i)=>e(o,i,r)):gt,bt(1),t?Zy(n):Ky(()=>new Bn))}function dc(e){return e<=0?()=>$e:W((n,t)=>{let r=[];n.subscribe(z(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Kd(...e){let n=Cn(e);return W((t,r)=>{(n?mr(e,t,n):mr(e,t)).subscribe(r)})}function ze(e,n){return W((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(z(r,c=>{o?.unsubscribe();let l=0,u=i++;ne(e(c,u)).subscribe(o=z(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Go(e){return W((n,t)=>{ne(e).subscribe(z(t,()=>t.complete(),rn)),!t.closed&&n.subscribe(t)})}function mt(e,n,t){let r=B(e)||n||t?{next:e,error:n,complete:t}:e;return r?W((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(z(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;
vendor: 5,327 bytes, lines 3-4
3a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):gt}function ES(...e){let n=Uo(e);return W((t,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)ne(e[c]).subscribe(z(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(gt))&&(s=null))},rn));t.subscribe(z(r,c=>{if(a){let l=[c,...i];r.next(n?n(...l):l)}}))})}var Jd;function fc(){return Jd}function bn(e){let n=Jd;return Jd=e,n}var Jy=Symbol("NotFound");function Wo(e){return e===Jy||e?.name==="\u0275NotFound"}function Xd(e,n,t){let r=Object.create(wS);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Hr(r),cr(r),r.value===In)throw r.error;return r.value};return i[Fe]=r,$i(r),i}function Xy(e,n){Hr(e),ur(e,n),Oo(e)}function eD(e,n){if(Hr(e),e.value===In)throw e.error;Fa(e,n),Oo(e)}var wS=V(I({},ar),{value:Br,dirty:!0,error:null,equal:zi,kind:"linkedSignal",producerMustRecompute(e){return e.value===Br||e.value===Ur},producerRecomputeValue(e){if(e.value===Ur)throw new Error("");let n=e.value;e.value=Ur;let t=lr(e),r,o=!1;try{let i=e.source(),s=n!==Br&&n!==In,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,F(null),o=s&&r!==In&&e.equal(n,r)}catch(i){r=In,e.error=i}finally{$r(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function tD(e){let n=F(null);try{return e()}finally{F(n)}}var Dc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",_=class extends Error{code;constructor(n,t){super($t(n,t)),this.code=n}};function _S(e){return`NG0${Math.abs(e)}`}function $t(e,n){return`${_S(e)}${n?": "+n:""}`}var on=globalThis;function de(e){for(let n in e)if(e[n]===de)return n;throw Error("")}function sD(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ns(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ns).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
4`);return r>=0?t.slice(0,r):t}function Ic(e,n){return e?n?`${e} ${n}`:e:n||""}var SS=de({__forward_ref__:de});function Be(e){return e.__forward_ref__=Be,e}function et(e){return hf(e)?e():e}function hf(e){return typeof e=="function"&&e.hasOwnProperty(SS)&&e.__forward_ref__===Be}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function st(e){return{providers:e.providers||[],imports:e.imports||[]}}function rs(e){return TS(e,Cc)}function pf(e){return rs(e)!==null}function TS(e,n){return e.hasOwnProperty(n)&&e[n]||null}function MS(e){let n=e?.[Cc]??null;return n||null}function tf(e){return e&&e.hasOwnProperty(pc)?e[pc]:null}var Cc=de({\u0275prov:de}),pc=de({\u0275inj:de}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gf(e){return e&&!!e.\u0275providers}var os=de({\u0275cmp:de}),is=de({\u0275dir:de}),mf=de({\u0275pipe:de}),vf=de({\u0275mod:de}),Ki=de({\u0275fac:de}),no=de({__NG_ELEMENT_ID__:de}),nD=de({__NG_ENV_ID__:de});function yf(e){return bc(e,"@NgModule"),e[vf]||null}function wn(e){return bc(e,"@Component"),e[os]||null}function Df(e){return bc(e,"@Directive"),e[is]||null}function aD(e){return bc(e,"@Pipe"),e[mf]||null}function bc(e,n){if(e==null)throw new _(-919,!1)}function Cr(e){return typeof e=="string"?e:e==null?"":String(e)}var cD=de({ngErrorCode:de}),AS=de({ngErrorMessage:de}),xS=de({ngTokenPath:de});function If(e,n){return lD("",-200,n)}function Ec(e,n){throw new _(-201,!1)}function lD(e,n,t){let r=new _(n,e);return r[cD]=n,r[AS]=e,t&&(r[xS]=t),r}function RS(e){return e[cD]}var nf;function uD(){return nf}function vt(e){let n=nf;return nf=e,n}function Cf(e,n,t){let r=rs(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Ec(e,"")}var NS={},Jr=NS,kS="__NG_DI_FLAG__",rf=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Xr(t)||0;try{return this.injector.get(n,r&8?null:Jr,r)}catch(o){if(Wo(o))return o;throw o}}};function OS(e,n=0){let t=fc();if(t===void 0)throw new _(-203,!1);if(t===null)return Cf(e,void 0,n);{let r=PS(n),o=t.retrieve(e,r);if(Wo(o)){if(r.optional)return null;throw o}return o}}function k(e,n=0){return(uD()||OS)(et(e),n)}function g(e,n){return k(e,Xr(n))}function Xr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function PS(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function of(e){let n=[];for(let t=0;t<e.length;t++){let r=et(e[t]);if(Array.isArray(r)){if(r.length===0)throw new _(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=FS(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(k(o,i))}else n.push(k(r))}return n}function FS(e){return e[kS]}function yr(e,n){let t=e.hasOwnProperty(Ki);return t?e[Ki]:null}function dD(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function fD(e){return e.flat(Number.POSITIVE_INFINITY)}function wc(e,n){e.forEach(t=>
vendor: 8,899 bytes, line 4
4Array.isArray(t)?wc(t,n):n(t))}function bf(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ss(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function hD(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function pD(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function _c(e,n,t){let r=Zo(e,n);return r>=0?e[r|1]=t:(r=~r,pD(e,r,n,t)),r}function Sc(e,n){let t=Zo(e,n);if(t>=0)return e[t|1]}function Zo(e,n){return LS(e,n,1)}function LS(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var br={},it=[],Er=new R(""),Ef=new R("",-1),wf=new R(""),Ji=class{get(n,t=Jr){if(t===Jr){let o=lD("",-201);throw o.name="\u0275NotFound",o}return t}};function _n(e){return{\u0275providers:e}}function gD(...e){return{\u0275providers:_f(!0,e),\u0275fromNgModule:!0}}function _f(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return wc(n,s=>{let a=s;gc(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&mD(o,i),t}function mD(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Sf(o,i=>{n(i,r)})}}function gc(e,n,t,r){if(e=et(e),!e)return!1;let o=null,i=tf(e),s=!i&&wn(e);if(!i&&!s){let c=e.ngModule;if(i=tf(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)gc(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;wc(i.imports,u=>{gc(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&mD(l,n)}if(!a){let l=yr(o)||(()=>new o);n({provide:o,useFactory:l,deps:it},o),n({provide:wf,useValue:o,multi:!0},o),n({provide:Er,useValue:()=>k(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Sf(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Sf(e,n){for(let t of e)gf(t)&&(t=t.\u0275providers),Array.isArray(t)?Sf(t,n):n(t)}var jS=de({provide:String,useValue:de});function vD(e){return e!==null&&typeof e=="object"&&jS in e}function VS(e){return!!(e&&e.useExisting)}function BS(e){return!!(e&&e.useFactory)}function eo(e){return typeof e=="function"}function yD(e){return!!e.useClass}var as=new R(""),hc={},rD={},ef;function Qo(){return ef===void 0&&(ef=new Ji),ef}var ce=class{},to=class extends ce{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,af(n,s=>this.processProvider(s)),this.records.set(Ef,qo(void 0,this)),o.has("environment")&&this.records.set(ce,qo(void 0,this));let i=this.records.get(as);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(wf,it,{self:!0}))}retrieve(n,t){let r=Xr(t)||0;try{return this.get(n,Jr,r)}catch(o){if(Wo(o))return o;throw o}}destroy(){Yi(this),this._destroyed=!0;let n=F(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(n)}}onDestroy(n){return Yi(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Yi(this);let t=bn(this),r=vt(void 0),o;try{return n()}finally{bn(t),vt(r)}}get(n,t=Jr,r){if(Yi(this),n.hasOwnProperty(nD))return n[nD](this);let o=Xr(r),i,s=bn(this),a=vt(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=GS(n)&&rs(n);u&&this.injectableDefInScope(u)?l=qo(sf(n),hc):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Qo():this.parent;return t=o&8&&t===Jr?null:t,c.get(n,t)}catch(c){let l=RS(c);throw l===-200||l===-201?new _(l,null):c}finally{vt(a),bn(s)}}resolveInjectorInitializers(){let n=F(null),t=bn(this),r=vt(void 0),o;try{let i=this.get(Er,it,{self:!0});for(let s of i)s()}finally{bn(t),vt(r),F(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=et(n);let t=eo(n)?n:et(n&&n.provide),r=HS(n);if(!eo(n)&&n.multi===!0){let o=this.records.get(t);o||(o=qo(void 0,hc,!0),o.factory=()=>of(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=F(null);try{if(t.value===rD)throw If("");return t.value===hc&&(t.value=rD,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&zS(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{F(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=et(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function sf(e){let n=rs(e),t=n!==null?n.factory:yr(e);if(t!==null)return t;if(e instanceof R)throw new _(-204,!1);if(e instanceof Function)return US(e);throw new _(-204,!1)}function US(e){if(e.length>0)throw new _(-204,!1);let t=MS(e);return t!==null?()=>t.factory(e):()=>new e}function HS(e){if(vD(e))return qo(void 0,e.useValue);{let n=Tf(e);return qo(n,hc)}}function Tf(e,n,t){let r;if(eo(e)){let o=et(e);return yr(o)||sf(o)}else if(vD(e))r=()=>et(e.useValue);else if(BS(e))r=()=>e.useFactory(...of(e.deps||[]));else if(VS(e))r=(o,i)=>k(et(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=et(e&&(e.useClass||e.provide));if($S(e))r=()=>new o(...of(e.deps));else return yr(o)||sf(o)}return r}function Yi(e){if(e.destroyed)throw new _(-205,!1)}function qo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function $S(e){return!!e.deps}function zS(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function GS(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function af(e,n){for(let t of e)Array.isArray(t)?af(t,n):t&&gf(t)?af(t.\u0275providers,n):n(t)}function We(e,n){let t;e instanceof to?(Yi(e),t=e):t=new rf(e);let r,o=bn(t),i=vt(void 0);try{return n()}finally{bn(o),vt(i)}}function DD(){return uD()!==void 0||fc()!=null}var sn=0,j=1,H=2,Ge=3,zt=4,yt=5,ro=6,Yo=7,Ne=8,Hn=9,an=10,me=11,Ko=12,Mf=13,oo=14,at=15,wr=16,io=17,Sn=18,$n=19,Af=20,Un=21,Tc=22,Dr=23,At=24,so=25,_r=26,Te=27,ID=1,xf=6,Sr=7,cs=8,ao=9,ke=10;function zn(e){return Array.isArray(e)&&typeof e[ID]=="object"}function cn(e){return Array.isArray(e)&&e[ID]===!0}function Rf(e){return(e.flags&4)!==0}function Gn(e){return e.componentOffset>-1}function Jo(e){return(e.flags&1)===1}function Tn(e){return!!e.template}function Xo(e){return(e[H]&512)!==0}function co(e){return(e[H]&256)===256}var Nf="svg",CD="math";function Gt(e){for(;Array.isArray(e);)e=e[sn];return e}function kf(e,n){return Gt(n[e])}function ln(e,n){return Gt(n[e.index])}function Mc(e,n){return e.data[n]}function Of(e,n){return e[n]}function Pf(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Wt(e,n){let t=n[e];return zn(t)?t:t[sn]}function bD(e){return(e[H]&4)===4}function Ac(e){return(e[H]&128)===128}function ED(e){return cn(e[Ge])}function qt(e,n){return n==null?null:e[n]}function Ff(e){e[io]=0}function Lf(e){e[H]&1024||(e[H]|=1024,Ac(e)&&lo(e))}function wD(e,n){for(;e>0;)n=n[oo],e--;return n}function ls(e){return!!(e[H]&9216||e[At]?.dirty)}function xc(e){e[an].changeDetectionScheduler?.notify(8),e[H]&64&&(e[H]|=1024),ls(e)&&lo(e)}function lo(e){e[an].changeDetectionScheduler?.notify(0);let n=Ir(e);for(;n!==null&&!(n[H]&8192||(n[H]|=8192,!Ac(n)));)n=Ir(n)}function jf(e,n){if(co(e))throw new _(911,!1);e[Un]===null&&(e[Un]=[]),e[Un].push(n)}function _D(e,n){if(e[Un]===null)return;let t=e[Un].indexOf(n);t!==-1&&e[Un].splice(t,1)}function Ir(e){let n=e[Ge];return cn(n)?n[Ge]:n}function Vf(e){return e[Yo]??=[]}function Bf(e){return e.cleanup??=[]}function SD(e,n,t,r){let o=Vf(n);o.push(t),e.firstCreatePass&&Bf(e).push(r,o.length-1)}var q={lFrame:jD(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cf=!1;function TD(){return q.lFrame.elementDepthCount}function MD(){q.lFrame.elementDepthCount++}function Uf(){q.lFrame.elementDepthCount--}function Rc(){return q.bindingsEnabled}function Hf(){return q.skipHydrationRootTNode!==null}function $f(e){return q.skipHydrationRootTNode===e}function zf(){q.skipHydrationRootTNode=null}function L(){return q.lFrame.lView}function we(){return q.lFrame.tView}function Wn(e){return q.lFrame.contextLView=e,e[Ne]}function qn(e){return q.lFrame.contextLView=null,e}function qe(){let e=Gf();for(;e!==null&&e.type===64;)e=e.parent;return e}function Gf(){return q.lFrame.currentTNode}function AD(){let e=q.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function ei(e,n){let t=q.lFrame;t.currentTNode=e,t.isParent=n}function Wf(){return q.lFrame.isParent}function qf(){q.lFrame.isParent=!1}function xD(){return q.lFrame.contextLView}function Zf(){return cf}function Xi(e){let n=cf;return cf=e,n}function uo(){let e=q.lFrame,n=e.bindingRootIndex;
vendor: 19,569 bytes, line 4
4return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function RD(){return q.lFrame.bindingIndex}function ND(e){return q.lFrame.bindingIndex=e}function Zn(){return q.lFrame.bindingIndex++}function Nc(e){let n=q.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function kD(){return q.lFrame.inI18n}function OD(e,n){let t=q.lFrame;t.bindingIndex=t.bindingRootIndex=e,kc(n)}function PD(){return q.lFrame.currentDirectiveIndex}function kc(e){q.lFrame.currentDirectiveIndex=e}function FD(e){let n=q.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Oc(){return q.lFrame.currentQueryIndex}function us(e){q.lFrame.currentQueryIndex=e}function WS(e){let n=e[j];return n.type===2?n.declTNode:n.type===1?e[yt]:null}function Qf(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=WS(i),o===null||(i=i[oo],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=q.lFrame=LD();return r.currentTNode=n,r.lView=e,!0}function Pc(e){let n=LD(),t=e[j];q.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function LD(){let e=q.lFrame,n=e===null?null:e.child;return n===null?jD(e):n}function jD(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function VD(){let e=q.lFrame;return q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Yf=VD;function Fc(){let e=VD();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function BD(e){return(q.lFrame.contextLView=wD(e,q.lFrame.contextLView))[Ne]}function Mn(){return q.lFrame.selectedIndex}function Tr(e){q.lFrame.selectedIndex=e}function ds(){let e=q.lFrame;return Mc(e.tView,e.selectedIndex)}function UD(){q.lFrame.currentNamespace=Nf}function HD(){qS()}function qS(){q.lFrame.currentNamespace=null}function Kf(){return q.lFrame.currentNamespace}var $D=!0;function Lc(){return $D}function fs(e){$D=e}function lf(e,n=null,t=null,r){let o=Jf(e,n,t,r);return o.resolveInjectorInitializers(),o}function Jf(e,n=null,t=null,r,o=new Set){let i=[t||it,gD(e)],s;return new to(i,n||Qo(),s||null,o)}var re=class e{static THROW_IF_NOT_FOUND=Jr;static NULL=new Ji;static create(n,t){if(Array.isArray(n))return lf({name:""},t,n,"");{let r=n.name??"";return lf({name:r},n.parent,n.providers,r)}}static \u0275prov=E({token:e,providedIn:"any",factory:()=>k(Ef)});static __NG_ELEMENT_ID__=-1},ve=new R(""),ct=(()=>{class e{static __NG_ELEMENT_ID__=ZS;static __NG_ENV_ID__=t=>t}return e})(),mc=class extends ct{_lView;constructor(n){super(),this._lView=n}get destroyed(){return co(this._lView)}onDestroy(n){let t=this._lView;return jf(t,n),()=>_D(t,n)}};function ZS(){return new mc(L())}var Xf=!1,zD=new R(""),An=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ve(!1);debugTaskTracker=g(zD,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new G(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),uf=class extends ue{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,DD()&&(this.destroyRef=g(ct,{optional:!0})??void 0,this.pendingTasks=g(An,{optional:!0})??void 0)}emit(n){let t=F(null);try{super.next(n)}finally{F(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof Me&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},pe=uf;function vc(...e){}function eh(e){let n,t;function r(){e=vc;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch(o){}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function GD(e){return queueMicrotask(()=>e()),()=>{e=vc}}var th="isAngularZone",es=th+"_ID",QS=0,v=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new pe(!1);onMicrotaskEmpty=new pe(!1);onStable=new pe(!1);onError=new pe(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Xf}=n;if(typeof Zone>"u")throw new _(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,JS(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(th)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new _(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new _(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,YS,vc,vc);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},YS={};function nh(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function KS(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){eh(()=>{e.callbackScheduled=!1,df(e),e.isCheckStableRunning=!0,nh(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),df(e)}function JS(e){let n=()=>{KS(e)},t=QS++;e._inner=e._inner.fork({name:"angular",properties:{[th]:!0,[es]:t,[es+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(XS(c))return r.invokeTask(i,s,a,c);try{return oD(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),iD(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return oD(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!eT(c)&&n(),iD(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,df(e),nh(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function df(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function oD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function iD(e){e._nesting--,nh(e)}var ts=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new pe;onMicrotaskEmpty=new pe;onStable=new pe;onError=new pe;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function XS(e){return WD(e,"__ignore_ng_zone__")}function eT(e){return WD(e,"__scheduler_tick__")}function WD(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Ht=class{_console=console;handleError(n){this._console.error("ERROR",n)}},xt=new R("",{factory:()=>{let e=g(v),n=g(ce),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Ht),t.handleError(r))})}}}),qD={provide:Er,useValue:()=>{let e=g(Ht,{optional:!0})},multi:!0};function Y(e,n){let[t,r,o]=Md(e,n?.equal),i=t,s=i[Fe];return i.set=r,i.update=o,i.asReadonly=ti.bind(i),i}function ti(){let e=this[Fe];if(e.readonlyFn===void 0){let n=()=>this();n[Fe]=e,e.readonlyFn=n}return e.readonlyFn}var hs=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=tT}return e})();function tT(){return new hs(L(),qe())}var En=class{},ni=new R("",{factory:()=>!0});var jc=new R(""),ri=(()=>{class e{internalPendingTasks=g(An);scheduler=g(En);errorHandler=g(xt);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vc=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new ff})}return e})(),ff=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},yc=class{[Fe];constructor(n){this[Fe]=n}destroy(){this[Fe].destroy()}};function rh(e,n){let t=n?.injector??g(re),r=n?.manualCleanup!==!0?t.get(ct):null,o,i=t.get(hs,null,{optional:!0}),s=t.get(En);return i!==null?(o=oT(i.view,s,e),r instanceof mc&&r._lView===i.view&&(r=null)):o=iT(e,t.get(Vc),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new yc(o)}var ZD=V(I({},Ad),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Xi(!1);try{xd(this)}finally{Xi(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=F(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],F(e)}}}),nT=V(I({},ZD),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(zr(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),rT=V(I({},ZD),{consumerMarkedDirty(){this.view[H]|=8192,lo(this.view),this.notifier.notify(13)},destroy(){if(zr(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Dr]?.delete(this)}});function oT(e,n,t){let r=Object.create(rT);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=QD(r,t),e[Dr]??=new Set,e[Dr].add(r),r.consumerMarkedDirty(r),r}function iT(e,n,t){let r=Object.create(nT);return r.fn=QD(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function QD(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Ss(e){return{toString:e}.toString()}function fT(e){return typeof e=="function"}function RI(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Qc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},lt=(()=>{let e=()=>NI;return e.ngInherit=!0,e})();function NI(e){return e.type.prototype.ngOnChanges&&(e.setInput=pT),hT}function hT(){let e=OI(this),n=e?.current;if(n){let t=e.previous;if(t===br)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function pT(e,n,t,r,o){let i=this.declaredInputs[r],s=OI(e)||gT(e,{previous:br,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Qc(l&&l.currentValue,t,c===br),RI(e,n,o,t)}var kI="__ngSimpleChanges__";function OI(e){return e[kI]||null}function gT(e,n){return e[kI]=n}var YD=[];var fe=function(e,n=null,t){for(let r=0;r<YD.length;r++){let o=YD[r];o(e,n,t)}},se=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(se||{});function mT(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=NI(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function PI(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function zc(e,n,t){FI(e,n,3,t)}function Gc(e,n,t,r){(e[H]&3)===t&&FI(e,n,t,r)}function oh(e,n){let t=e[H];(t&3)===n&&(t&=16383,t+=1,e[H]=t)}function FI(e,n,t,r){let o=r!==void 0?e[io]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[io]+=65536),(a<i||i==-1)&&(vT(e,t,n,c),e[io]=(e[io]&4294901760)+c+2),c++}function KD(e,n){fe(se.LifecycleHookStart,e,n);let t=F(null);try{n.call(e)}finally{F(t),fe(se.LifecycleHookEnd,e,n)}}function vT(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[H]>>14<e[io]>>16&&(e[H]&3)===n&&(e[H]+=16384,KD(a,i)):KD(a,i)}var ii=-1,ho=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function yT(e){return(e.flags&8)!==0}function DT(e){return(e.flags&16)!==0}function IT(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];CT(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function LI(e){return e===3||e===4||e===6}function CT(e){return e.charCodeAt(0)===64}function si(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?JD(e,t,o,null,n[++r]):JD(e,t,o,null,null))}}return e}function JD(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function jI(e){return e!==ii}function Yc(e){return e&32767}function bT(e){return e>>16}function Kc(e,n){let t=bT(e),r=n;for(;t>0;)r=r[oo],t--;return r}var ph=!0;function Jc(e){let n=ph;return ph=e,n}var ET=256,VI=ET-1,BI=5,wT=0,xn={};function _T(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(no)&&(r=t[no]),r==null&&(r=t[no]=wT++);let o=r&VI,i=1<<o;n.data[e+(o>>BI)]|=i}function Xc(e,n){let t=UI(e,n);if(t!==-1)return t;let r=n[j];r.firstCreatePass&&(e.injectorIndex=n.length,ih(r.data,e),ih(n,null),ih(r.blueprint,null));let o=Wh(e,n),i=e.injectorIndex;if(jI(o)){let s=Yc(o),a=Kc(o,n),c=a[j].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function ih(e,n){e.push(0,0,0,0,0,0,0,0,n)}function UI(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Wh(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=WI(o),r===null)return ii;if(t++,o=o[oo],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return ii}function gh(e,n,t){_T(e,n,t)}function ST(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(LI(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function HI(e,n,t){if(t&8||e!==void 0)return e;Ec(n,"NodeInjector")}function $I(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[Hn],i=vt(void 0);try{return o?o.get(n,r,t&8):Cf(n,r,t&8)}finally{vt(i)}}return HI(r,n,t)}function zI(e,n,t,r=0,o){if(e!==null){if(n[H]&2048&&!(r&2)){let s=xT(e,n,t,r,xn);if(s!==xn)return s}let i=GI(e,n,t,r,xn);if(i!==xn)return i}return $I(n,t,r,o)}function GI(e,n,t,r,o){let i=MT(t);if(typeof i=="function"){if(!Qf(n,e,r))return r&1?HI(o,t,r):$I(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ec(t);else return s}finally{Yf()}}else if(typeof i=="number"){let s=null,a=UI(e,n),c=ii,l=r&1?n[at][yt]:null;for((a===-1||r&4)&&(c=a===-1?Wh(e,n):n[a+8],c===ii||!eI(r,!1)?a=-1:(s=n[j],a=Yc(c),n=Kc(c,n)));a!==-1;){let u=n[j];if(XD(i,a,u.data)){let d=TT(a,n,t,s,r,l);if(d!==xn)return d}c=n[a+8],c!==ii&&eI(r,n[j].data[a+8]===l)&&XD(i,a,n)?(s=u,a=Yc(c),n=Kc(c,n)):a=-1}}return o}function TT(e,n,t,r,o,i){let s=n[j],a=s.data[e+8],c=r==null?Gn(a)&&ph:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Wc(a,s,t,c,l);return u!==null?Ds(n,s,u,a,o):xn}function Wc(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let h=d;h<p;h++){let m=s[h];if(h<c&&t===m||h>=c&&m.type===t)return h}if(o){let h=s[c];if(h&&Tn(h)&&h.type===t)return c}return null}function Ds(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof ho){let a=i;if(a.resolving)throw If("");let c=Jc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?vt(a.injectImpl):null,p=Qf(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&mT(t,s[t],n)}
4finally{d!==null&&vt(d),Jc(c),a.resolving=!1,Yf()}}return i}function MT(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(no)?e[no]:void 0;return typeof n=="number"?n>=0?n&VI:AT:n}function XD(e,n,t){let r=1<<e;return!!(t[n+(e>>BI)]&r)}function eI(e,n){return!(e&2)&&!(e&1&&n)}var fo=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return zI(this._tNode,this._lView,n,Xr(r),t)}};function AT(){return new fo(qe(),L())}function be(e){return Ss(()=>{let n=e.prototype.constructor,t=n[Ki]||mh(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ki]||mh(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function mh(e){return hf(e)?()=>{let n=mh(et(e));return n&&n()}:yr(e)}function xT(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[H]&2048&&!Xo(s);){let a=GI(i,s,t,r|2,xn);if(a!==xn)return a;let c=i.parent;if(!c){let l=s[Af];if(l){let u=l.get(t,xn,r&-5);if(u!==xn)return u}c=WI(s),s=s[oo]}i=c}return o}function WI(e){let n=e[j],t=n.type;return t===2?n.declTNode:t===1?e[yt]:null}function pn(e){return ST(qe(),e)}function RT(){return ui(qe(),L())}function ui(e,n){return new y(ln(e,n))}var y=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=RT}return e})();function qI(e){return e instanceof y?e.nativeElement:e}function NT(){return this._results[Symbol.iterator]()}var el=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ue}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=fD(n);(this._changesDetected=!dD(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=NT};function ZI(e){return(e.flags&128)===128}var qh=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(qh||{}),QI=new Map,kT=0;function OT(){return kT++}function PT(e){QI.set(e[$n],e)}function vh(e){QI.delete(e[$n])}var tI="__ngContext__";function ai(e,n){zn(n)?(e[tI]=n[$n],PT(n)):e[tI]=n}function YI(e){return JI(e[Ko])}function KI(e){return JI(e[zt])}function JI(e){for(;e!==null&&!cn(e);)e=e[zt];return e}var yh;function Zh(e){yh=e}function XI(){if(yh!==void 0)return yh;if(typeof document<"u")return document;throw new _(210,!1)}var Ts=new R("",{factory:()=>FT}),FT="ng";var gl=new R(""),Ms=new R("",{providedIn:"platform",factory:()=>"unknown"});var As=new R("",{factory:()=>g(ve).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Qh=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>{let t=new e;return t.store=LT(g(ve),g(Ts)),t}});store={};onSerializeCallbacks={};get(t,r){return this.store[t]!==void 0?this.store[t]:r}set(t,r){this.store[t]=r}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(t,r){this.onSerializeCallbacks[t]=r}toJson(){for(let t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C").replace(/\//g,"\\u002F")}}return e})();function LT(e,n){let t=e.getElementById(n+"-state");if(t?.tagName==="SCRIPT"&&t.textContent)try{return JSON.parse(t.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+n,r)}return{}}var eC="r";var tC="di";var Yh=new R(""),nC=!1,rC=new R("",{factory:()=>nC});var Kh=new R("");var nI=new WeakMap;function jT(e,n){if(e==null||typeof e!="object")return;let t=nI.get(e);t||(t=new WeakSet,nI.set(e,t)),t.add(n)}var VT=(e,n,t,r)=>{};function BT(e,n,t,r){VT(e,n,t,r)}function ml(e){return(e.flags&32)===32}var UT=()=>null;function oC(e,n,t=!1){return UT(e,n,t)}function iC(e,n){let t=e.contentQueries;if(t!==null){let r=F(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];us(i),a.contentQueries(2,n[s],s)}}}finally{F(r)}}}function Dh(e,n,t){us(0);let r=F(null);try{n(e,t)}finally{F(r)}}function Jh(e,n,t){if(Rf(n)){let r=F(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{F(r)}}}var fn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(fn||{});var Bc;function sC(){if(Bc===void 0&&(Bc=null,on.trustedTypes))try{Bc=on.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Bc}function vl(e){return sC()?.createHTML(e)||e}function HT(e){return sC()?.createScriptURL(e)||e}var Uc;function aC(){if(Uc===void 0&&(Uc=null,on.trustedTypes))try{Uc=on.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Uc}function rI(e){return aC()?.createHTML(e)||e}function oI(e){return aC()?.createScriptURL(e)||e}var tl=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Dc})`}};function yo(e){return e instanceof tl?e.changingThisBreaksApplicationSecurity:e}function yl(e,n){let t=cC(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Dc})`)}return t===n}function cC(e){return e instanceof tl&&e.getTypeName()||null}function $T(e){let n=new Ch(e);return zT()?new Ih(n):n}var Ih=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(vl(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch(t){return null}}},Ch=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=vl(n),t}};function zT(){try{return!!new window.DOMParser().parseFromString(vl(""),"text/html")}catch(e){return!1}}var GT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xh(e){return e=String(e),e.match(GT)?e:"unsafe:"+e}function Qn(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function xs(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var lC=Qn("area,br,col,hr,img,wbr"),uC=Qn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dC=Qn("rp,rt"),WT=xs(dC,uC),qT=xs(uC,Qn("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")),ZT=xs(dC,Qn("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")),iI=xs(lC,qT,ZT,WT),fC=Qn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),QT=Qn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
vendor: 41,368 bytes, line 4
4olspan,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"),YT=Qn("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"),KT=xs(fC,QT,YT),JT=Qn("script,style,template"),bh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=tM(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=eM(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=sI(n).toLowerCase();if(!iI.hasOwnProperty(t))return this.sanitizedSomething=!0,!JT.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!KT.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;fC[a]&&(c=Xh(c)),this.buf.push(" ",s,'="',aI(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=sI(n).toLowerCase();iI.hasOwnProperty(t)&&!lC.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(aI(n))}};function XT(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function eM(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw hC(n);return n}function tM(e){let n=e.firstChild;if(n&&XT(e,n))throw hC(n);return n}function sI(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function hC(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var nM=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rM=/([^\#-~ |!])/g;function aI(e){return e.replace(/&/g,"&amp;").replace(nM,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(rM,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hc;function pC(e,n){let t=null;try{Hc=Hc||$T(e);let r=n?String(n):"";t=Hc.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Hc.getInertBodyElement(r)}while(r!==i);let a=new bh().sanitizeChildren(cI(t)||t);return vl(a)}finally{if(t){let r=cI(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function cI(e){return"content"in e&&oM(e)?e.content:null}function oM(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var iM=/^>|^->|<!--|-->|--!>|<!-$/g,sM=/(<|>)/g,aM="\u200B$1\u200B";function cM(e){return e.replace(iM,n=>n.replace(sM,aM))}function lM(e,n){return e.createText(n)}function uM(e,n,t){e.setValue(n,t)}function dM(e,n){return e.createComment(cM(n))}function gC(e,n,t){return e.createElement(n,t)}function nl(e,n,t,r,o){e.insertBefore(n,t,r,o)}function mC(e,n,t){e.appendChild(n,t)}function lI(e,n,t,r,o){r!==null?nl(e,n,t,r,o):mC(e,n,t)}function vC(e,n,t,r){e.removeChild(null,n,t,r)}function fM(e,n,t){e.setAttribute(n,"style",t)}function hM(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function yC(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&IT(e,n,r),o!==null&&hM(e,n,o),i!==null&&fM(e,n,i)}var Rs=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",e})(Rs||{});function ep(e){let n=np();return n?rI(n.sanitize(Rs.HTML,e)||""):yl(e,"HTML")?rI(yo(e)):pC(XI(),Cr(e))}function di(e){let n=np();return n?n.sanitize(Rs.URL,e)||"":yl(e,"URL")?yo(e):Xh(Cr(e))}function DC(e){let n=np();if(n)return oI(n.sanitize(Rs.RESOURCE_URL,e)||"");if(yl(e,"ResourceURL"))return oI(yo(e));throw new _(904,!1)}function pM(e){return HT(e[0])}var gM={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function mM(e,n){return gM[e.toLowerCase()]?.[n.toLowerCase()]===!0?DC:di}function tp(e,n,t){return mM(n,t)(e)}function np(){let e=L();return e&&e[an].sanitizer}function vM(e){return e.ownerDocument.defaultView}function IC(e){return e instanceof Function?e():e}function yM(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var CC="ng-template";function DM(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&yM(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(rp(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function rp(e){return e.type===4&&e.value!==CC}function IM(e,n,t){let r=e.type===4&&!t?CC:e.value;return n===r}function CM(e,n,t){let r=4,o=e.attrs,i=o!==null?wM(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!un(r)&&!un(c))return!1;if(s&&un(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!IM(e,c,t)||c===""&&n.length===1){if(un(r))return!1;s=!0}}else if(r&8){if(o===null||!DM(e,o,c,t)){if(un(r))return!1;s=!0}}else{let l=n[++a],u=bM(c,o,rp(e),t);if(u===-1){if(un(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(un(r))return!1;s=!0}}}}return un(r)||s}function un(e){return(e&1)===0}function bM(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return _M(n,e)}function bC(e,n,t=!1){for(let r=0;r<n.length;r++)if(CM(e,n[r],t))return!0;return!1}function EM(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function wM(e){for(let n=0;n<e.length;n++){let t=e[n];if(LI(t))return n}return e.length}function _M(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function SM(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function uI(e,n){return e?":not("+n.trim()+")":n}function TM(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!un(s)&&(n+=uI(i,o),o=""),r=s,i=i||!un(r);t++}return o!==""&&(n+=uI(i,o)),n}function MM(e){return e.map(TM).join(",")}function AM(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!un(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var ut={};function op(e,n,t,r,o,i,s,a,c,l,u){let d=Te+r,p=d+o,h=xM(d,p),m=typeof l=="function"?l():l;return h[j]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function xM(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:ut);return t}function RM(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=op(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function ip(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[sn]=o,d[H]=r|4|128|8|64|1024,(l!==null||e&&e[H]&2048)&&(d[H]|=2048),Ff(d),d[Ge]=d[oo]=e,d[Ne]=t,d[an]=s||e&&e[an],d[me]=a||e&&e[me],d[Hn]=c||e&&e[Hn]||null,d[yt]=i,d[$n]=OT(),d[ro]=u,d[Af]=l,d[at]=n.type==2?e[at]:d,d}function NM(e,n,t){let r=ln(n,e),o=RM(t),i=e[an].rendererFactory,s=sp(e,ip(e,o,null,EC(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function EC(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function wC(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function sp(e,n){return e[Ko]?e[Mf][zt]=n:e[Ko]=n,e[Mf]=n,n}function K(e=1){_C(we(),L(),Mn()+e,!1)}function _C(e,n,t,r){if(!r)if((n[H]&3)===3){let i=e.preOrderCheckHooks;i!==null&&zc(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Gc(n,i,0,t)}Tr(t)}var Dl=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Dl||{});function Eh(e,n,t,r){let o=F(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Dl.SignalBased)!==0&&(c=n[i][Fe]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):RI(n,c,i,r)}finally{F(o)}}var hn=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(hn||{}),kM;function ap(e,n){return kM(e,n)}var S8=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var wh=new WeakMap,gs=new WeakSet;function OM(e,n){let t=wh.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),gs.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function PM(e,n){let t=wh.get(e);t?t.includes(n)||t.push(n):wh.set(e,[n])}var po=new Set,Il=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Il||{}),Nn=new R(""),dI=new Set;function Rt(e){dI.has(e)||(dI.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var cp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),SC=[0,1,2,3],TC=(()=>{class e{ngZone=g(v);scheduler=g(En);errorHandler=g(Ht,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Nn,{optional:!0})}execute(){let t=this.sequences.size>0;t&&fe(se.AfterRenderHooksStart),this.executing=!0;for(let r of SC)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&fe(se.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[so]??=[]).push(t),lo(r),r[H]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Il.AFTER_NEXT_RENDER,t):t()}static \u0275prov=E({token:e,providedIn:"root",factory:()=>new e})}return e})(),rl=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[so];n&&(this.view[so]=n.filter(t=>t!==this))}};function FM(e,n){let t=n?.injector??g(re);return Rt("NgAfterRender"),MC(e,t,n,!1)}function fi(e,n){let t=n?.injector??g(re);return Rt("NgAfterNextRender"),MC(e,t,n,!0)}function LM(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function MC(e,n,t,r){let o=n.get(cp);o.impl??=n.get(TC);let i=n.get(Nn,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(ct):null,a=n.get(hs,null,{optional:!0}),c=new rl(o.impl,LM(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var AC=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(ce)})});function xC(e,n,t){let r=e.get(AC);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function jM(e,n){let t=e.get(AC);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function VM(e,n){for(let[t,r]of n)xC(e,r.animateFns)}function fI(e,n,t,r){let o=e?.[_r]?.enter;n!==null&&o&&o.has(t.index)&&VM(r,o)}function oi(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;cn(o)?c=o:zn(o)&&(l=!0,o=o[sn]);let u=Gt(o);e===0&&r!==null?(fI(a,r,i,t),s==null?mC(n,r,u):nl(n,r,u,s||null,!0)):e===1&&r!==null?(fI(a,r,i,t),nl(n,r,u,s||null,!0),OM(i,u)):e===2?(a?.[_r]?.leave?.has(i.index)&&PM(i,u),gs.delete(u),hI(a,i,t,d=>{if(gs.has(u)){gs.delete(u);return}vC(n,u,l,d)})):e===3&&(gs.delete(u),hI(a,i,t,()=>{n.destroyNode(u)})),c!=null&&YM(n,e,t,c,i,r,s)}}function BM(e,n){RC(e,n),n[sn]=null,n[yt]=null}function UM(e,n,t,r,o,i){r[sn]=o,r[yt]=n,bl(e,r,t,1,o,i)}function RC(e,n){n[an].changeDetectionScheduler?.notify(9),bl(e,n,n[me],2,null,null)}function HM(e){let n=e[Ko];if(!n)return sh(e[j],e);for(;n;){let t=null;if(zn(n))t=n[Ko];else{let r=n[ke];r&&(t=r)}if(!t){for(;n&&!n[zt]&&n!==e;)zn(n)&&sh(n[j],n),n=n[Ge];n===null&&(n=e),zn(n)&&sh(n[j],n),t=n&&n[zt]}n=t}}function lp(e,n){let t=e[ao],r=t.indexOf(n);t.splice(r,1)}function Cl(e,n){if(co(n))return;let t=n[me];t.destroyNode&&bl(e,n,t,3,null,null),HM(n)}function sh(e,n){if(co(n))return;let t=F(null);try{n[H]&=-129,n[H]|=256,n[At]&&zr(n[At]),GM(e,n),zM(e,n),n[j].type===1&&n[me].destroy();let r=n[wr];if(r!==null&&cn(n[Ge])){r!==n[Ge]&&lp(r,n);let o=n[Sn];o!==null&&o.detachView(e)}vh(n)}finally{F(t)}}function hI(e,n,t,r){let o=e?.[_r];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&po.add(e[$n]),xC(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),$M(e,r)}else e&&po.delete(e[$n]),r(!1)},o)}function $M(e,n){let t=e[_r]?.running;if(t){t.then(()=>{e[_r].running=void 0,po.delete(e[$n]),n(!0)});return}n(!1)}function zM(e,n){let t=e.cleanup,r=n[Yo];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Yo]=null);let o=n[Un];if(o!==null){n[Un]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Dr];if(i!==null){n[Dr]=null;for(let s of i)s.destroy()}}function GM(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof ho)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];fe(se.LifecycleHookStart,a,c);try{c.call(a)}finally{fe(se.LifecycleHookEnd,a,c)}}else{fe(se.LifecycleHookStart,o,i);try{i.call(o)}finally{fe(se.LifecycleHookEnd,o,i)}}}}}function NC(e,n,t){return WM(e,n.parent,t)}function WM(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[sn];if(Gn(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===fn.None||o===fn.Emulated)return null}return ln(r,t)}function kC(e,n,t){return ZM(e,n,t)}function qM(e,n,t){return e.type&40?ln(e,t):null}var ZM=qM,pI;function up(e,n,t,r){let o=NC(e,r,n),i=n[me],s=r.parent||n[yt],a=kC(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)lI(i,o,t[c],a,!1);else lI(i,o,t,a,!1);pI!==void 0&&pI(i,r,n,t,o)}function ms(e,n){if(n!==null){let t=n.type;if(t&3)return ln(n,e);if(t&4)return _h(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return ms(e,r);{let o=e[n.index];return cn(o)?_h(-1,o):Gt(o)}}else{if(t&128)return ms(e,n.next);if(t&32)return ap(n,e)()||Gt(e[n.index]);{let r=OC(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Ir(e[at]);return ms(o,r)}else return ms(e,n.next)}}}return null}function OC(e,n){if(n!==null){let r=e[at][yt],o=n.projection;return r.projection[o]}return null}function _h(e,n){let t=ke+e+1;if(t<n.length){let r=n[t],o=r[j].firstChild;if(o!==null)return ms(r,o)}return n[Sr]}function dp(e,n,t,r,o,i,s){for(;t!=null;){let a=r[Hn];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&ai(Gt(c),r),t.flags|=2),!ml(t))if(l&8)dp(e,n,t.child,r,o,i,!1),oi(n,e,a,o,c,t,i,r);else if(l&32){let u=ap(t,r),d;for(;d=u();)oi(n,e,a,o,d,t,i,r);oi(n,e,a,o,c,t,i,r)}else l&16?PC(e,n,r,t,o,i):oi(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function bl(e,n,t,r,o,i){dp(t,r,e.firstChild,n,o,i,!1)}function QM(e,n,t){let r=n[me],o=NC(e,t,n),i=t.parent||n[yt],s=kC(i,t,n);PC(r,0,n,t,o,s)}function PC(e,n,t,r,o,i){let s=t[at],c=s[yt].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];oi(n,e,t[Hn],o,u,r,i,t)}else{let l=c,u=s[Ge];ZI(r)&&(l.flags|=128),dp(e,n,l,u,o,i,!0)}}function YM(e,n,t,r,o,i,s){let a=r[Sr],c=Gt(r);a!==c&&oi(n,e,t,i,a,o,s);for(let l=ke;l<r.length;l++){let u=r[l];bl(u[j],u,e,n,i,a)}}function KM(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:hn.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=hn.Important),e.setStyle(t,r,o,i))}}function FC(e,n,t,r,o){let i=Mn(),s=r&2;try{Tr(-1),s&&n.length>Te&&_C(e,n,Te,!1);let a=s?se.TemplateUpdateStart:se.TemplateCreateStart;fe(a,o,t),t(r,o)}finally{Tr(i);let a=s?se.TemplateUpdateEnd:se.TemplateCreateEnd;fe(a,o,t)}}function El(e,n,t){rA(e,n,t),(t.flags&64)===64&&oA(e,n,t)}function Ns(e,n,t=ln){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function JM(e,n,t,r){let i=r.get(rC,nC)||t===fn.ShadowDom||t===fn.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new _(905,!1);return XM(s),s}function XM(e){eA(e)}var eA=()=>null;function tA(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function LC(e,n,t,r,o,i){let s=n[j];if(gp(e,s,n,t,r)){Gn(e)&&nA(n,e.index);return}e.type&3&&(t=tA(t)),jC(e,n,t,r,o,i)}function jC(e,n,t,r,o,i){if(e.type&3){let s=ln(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function nA(e,n){let t=Wt(n,e);t[H]&16||(t[H]|=64)}function rA(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Gn(t)&&NM(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Xc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ds(n,e,s,t);if(ai(c,n),i!==null&&cA(n,s-r,c,a,t,i),Tn(a)){let l=Wt(t.index,n);l[Ne]=Ds(n,e,s,t)}}}function oA(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=PD();try{Tr(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];kc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&iA(c,l)}}finally{Tr(-1),kc(s)}}function iA(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function fp(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];bC(n,i.selectors,!1)&&(r??=[],Tn(i)?r.unshift(i):r.push(i))}return r}function sA(e,n,t,r,o,i){let s=ln(e,n);aA(n[me],s,i,e.value,t,r,o)}function aA(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?Cr(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function cA(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Eh(r,t,c,l)}}function hp(e,n,t,r,o){let i=Te+t,s=n[j],a=o(s,n,e,r,t);n[i]=a,ei(e,!0);let c=e.type===2;return c?(yC(n[me],a,e),(TD()===0||Jo(e))&&ai(a,n),MD()):ai(a,n),Lc()&&(!c||!ml(e))&&up(s,n,a,e),e}function pp(e){let n=e;return Wf()?qf():(n=n.parent,ei(n,!1)),n}function lA(e,n){let t=e[Hn];if(!t)return;let r;try{r=t.get(xt,null)}catch(o){r=null}r?.(n)}function gp(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];Eh(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];Eh(u,l,r,o),a=!0}return a}function uA(e,n){let t=Wt(n,e),r=t[j];dA(r,t);let o=t[sn];o!==null&&t[ro]===null&&(t[ro]=oC(o,t[Hn])),fe(se.ComponentStart);try{mp(r,t,t[Ne])}finally{fe(se.ComponentEnd,t[Ne])}}function dA(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function mp(e,n,t){Pc(n);try{let r=e.viewQuery;r!==null&&Dh(1,r,t);let o=e.template;o!==null&&FC(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Sn]?.finishViewCreation(e),e.staticContentQueries&&iC(e,n),e.staticViewQueries&&Dh(2,e.viewQuery,t);let i=e.components;i!==null&&fA(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[H]&=-5,Fc()}}function fA(e,n){for(let t=0;t<n.length;t++)uA(e,n[t])}function ks(e,n,t,r){let o=F(null);try{let i=n.tView,a=e[H]&4096?4096:16,c=ip(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[wr]=l;let u=e[Sn];return u!==null&&(c[Sn]=u.createEmbeddedView(i)),mp(i,c,t),c}finally{F(o)}}function ci(e,n){return!n||n.firstChild===null||ZI(e)}function Is(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Gt(i)),cn(i)&&VC(i,r);let s=t.type;if(s&8)Is(e,n,t.child,r);else if(s&32){let a=ap(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=OC(n,t);if(Array.isArray(a))r.push(...a);else{let c=Ir(n[at]);Is(c[j],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function VC(e,n){for(let t=ke;t<e.length;t++){let r=e[t],o=r[j].firstChild;o!==null&&Is(r[j],r,o,n)}e[Sr]!==e[sn]&&n.push(e[Sr])}function BC(e){if(e[so]!==null){for(let n of e[so])n.impl.addSequence(n);e[so].length=0}}var UC=[];function hA(e){return e[At]??pA(e)}function pA(e){let n=UC.pop()??Object.create(mA);return n.lView=e,n}function gA(e){e.lView[At]!==e&&(e.lView=null,UC.push(e))}var mA=V(I({},ar),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{lo(e.lView)},consumerOnSignalRead(){this.lView[At]=this}});function vA(e){let n=e[At]??Object.create(yA);return n.lView=e,n}var yA=V(I({},ar),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Ir(e.lView);for(;n&&!HC(n[j]);)n=Ir(n);n&&Lf(n)},consumerOnSignalRead(){this.lView[At]=this}});function HC(e){return e.type!==2}function $C(e){if(e[Dr]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Dr])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[H]&8192)}}var DA=100;function zC(e,n=0){let r=e[an].rendererFactory,o=!1;o||r.begin?.();try{IA(e,n)}finally{o||r.end?.()}}function IA(e,n){let t=Zf();try{Xi(!0),Sh(e,n);let r=0;for(;ls(e);){if(r===DA)throw new _(103,!1);r++,Sh(e,1)}}finally{Xi(t)}}function CA(e,n,t,r){if(co(n))return;let o=n[H],i=!1,s=!1;Pc(n);let a=!0,c=null,l=null;i||(HC(e)?(l=hA(n),c=lr(l)):Pa()===null?(a=!1,l=vA(n),c=lr(l)):n[At]&&(zr(n[At]),n[At]=null));try{Ff(n),ND(e.bindingStartIndex),t!==null&&FC(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let h=e.preOrderCheckHooks;h!==null&&zc(n,h,null)}else{let h=e.preOrderHooks;h!==null&&Gc(n,h,0,null),oh(n,0)}if(s||bA(n),$C(n),GC(n,0),e.contentQueries!==null&&iC(e,n),!i)if(u){let h=e.contentCheckHooks;h!==null&&zc(n,h)}else{let h=e.contentHooks;h!==null&&Gc(n,h,1),oh(n,1)}wA(e,n);let d=e.components;d!==null&&qC(n,d,0);let p=e.viewQuery;if(p!==null&&Dh(2,p,r),!i)if(u){let h=e.viewCheckHooks;h!==null&&zc(n,h)}else{let h=e.viewHooks;h!==null&&Gc(n,h,2),oh(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[Tc]){for(let h of n[Tc])h();n[Tc]=null}i||(BC(n),n[H]&=-73)}catch(u){throw i||lo(n),u}finally{l!==null&&($r(l,c),a&&gA(l)),Fc()}}function GC(e,n){for(let t=YI(e);t!==null;t=KI(t))for(let r=ke;r<t.length;r++){let o=t[r];WC(o,n)}}function bA(e){for(let n=YI(e);n!==null;n=KI(n)){if(!(n[H]&2))continue;let t=n[ao];for(let r=0;r<t.length;r++){let o=t[r];Lf(o)}}}function EA(e,n,t){fe(se.ComponentStart);let r=Wt(n,e);try{WC(r,t)}finally{fe(se.ComponentEnd,r[Ne])}}function WC(e,n){Ac(e)&&Sh(e,n)}function Sh(e,n){let r=e[j],o=e[H],i=e[At],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Hi(i)),s||=!1,i&&(i.dirty=!1),e[H]&=-9217,s)CA(r,e,r.template,e[Ne]);else if(o&8192){let a=F(null);try{$C(e),GC(e,1);let c=r.components;c!==null&&qC(e,c,1),BC(e)}finally{F(a)}}}function qC(e,n,t){for(let r=0;r<n.length;r++)EA(e,n[r],t)}function wA(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Tr(~o);else{let i=o,s=t[++r],a=t[++r];OD(s,i);let c=n[i];fe(se.HostBindingsUpdateStart,c);try{a(2,c)}finally{fe(se.HostBindingsUpdateEnd,c)}}}}finally{Tr(-1)}}function vp(e,n){let t=Zf()?64:1088;for(e[an].changeDetectionScheduler?.notify(n);e;){e[H]|=t;let r=Ir(e);if(Xo(e)&&!r)return e;e=r}return null}function ZC(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function QC(e,n){let t=ke+n;if(t<e.length)return e[t]}function Os(e,n,t,r=!0){let o=n[j];if(_A(o,n,e,t),r){let s=_h(t,e),a=n[me],c=a.parentNode(e[Sr]);c!==null&&UM(o,e[yt],a,n,c,s)}let i=n[ro];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function YC(e,n){let t=Cs(e,n);return t!==void 0&&Cl(t[j],t),t}function Cs(e,n){if(e.length<=ke)return;let t=ke+n,r=e[t];if(r){let o=r[wr];o!==null&&o!==e&&lp(o,r),n>0&&(e[t-1][zt]=r[zt]);let i=ss(e,ke+n);BM(r[j],r);let s=i[Sn];s!==null&&s.detachView(i[j]),r[Ge]=null,r[zt]=null,r[H]&=-129}return r}function _A(e,n,t,r){let o=ke+r,i=t.length;r>0&&(t[o-1][zt]=n),r<i-ke?(n[zt]=t[o],bf(t,ke+r,n)):(t.push(n),n[zt]=null),n[Ge]=t;let s=n[wr];s!==null&&t!==s&&KC(s,n);let a=n[Sn];a!==null&&a.insertView(e),xc(n),n[H]|=128}function KC(e,n){let t=e[ao],r=n[Ge];if(zn(r))e[H]|=2;else{let o=r[Ge][at];n[at]!==o&&(e[H]|=2)}t===null?e[ao]=[n]:t.push(n)}var Mr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[j];return Is(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[Ne]}set context(n){this._lView[Ne]=n}get destroyed(){return co(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[Ge];if(cn(n)){let t=n[cs],r=t?t.indexOf(this):-1;r>-1&&(Cs(n,r),ss(t,r))}this._attachedToViewContainer=!1}Cl(this._lView[j],this._lView)}onDestroy(n){jf(this._lView,n)}markForCheck(){vp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[H]&=-129}reattach(){xc(this._lView),this._lView[H]|=128}detectChanges(){this._lView[H]|=1024,zC(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new _(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Xo(this._lView),t=this._lView[wr];t!==null&&!n&&lp(t,this._lView),RC(this._lView[j],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new _(902,!1);this._appRef=n;let t=Xo(this._lView),r=this._lView[wr];r!==null&&!t&&KC(r,this._lView),xc(this._lView)}};var Rn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=SA;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=ks(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Mr(i)}}return e})();function SA(){return wl(qe(),L())}function wl(e,n){return e.type&4?new Rn(n,e,ui(e,n)):null}function hi(e,n,t,r,o){let i=e.data[n];if(i===null)i=TA(e,n,t,r,o),kD()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=AD();i.injectorIndex=s===null?-1:s.injectorIndex}return ei(i,!0),i}function TA(e,n,t,r,o){let i=Gf(),s=Wf(),a=s?i:i&&i.parent,c=e.data[n]=AA(e,a,t,n,r,o);return MA(e,c,i,s),c}function MA(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function AA(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Hf()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Kf(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xA(e){let n=e[xf]??[],r=e[Ge][me],o=[];for(let i of n)i.data[tC]!==void 0?o.push(i):RA(i,r);e[xf]=o}function RA(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[eC];for(;t<o;){let i=r.nextSibling;vC(n,r,!1),r=i,t++}}}var NA=()=>null,kA=()=>null;function ol(e,n){return NA(e,n)}function JC(e,n,t){return kA(e,n,t)}var XC=class{},_l=class{},Th=class{resolveComponentFactory(n){throw new _(917,!1)}},Ps=class{static NULL=new Th},go=class{},Nt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>OA()}return e})();function OA(){let e=L(),n=qe(),t=Wt(n.index,e);return(zn(t)?t:e)[me]}var eb=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>null})}return e})();var qc={},Mh=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,qc,r);return o!==qc||t===qc?o:this.parentInjector.get(n,t,r)}};function il(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Ic(o,a);else if(i==2){let c=a,l=n[++s];r=Ic(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function f(e,n=0){let t=L();if(t===null)return k(e,n);let r=qe();return zI(r,t,et(e),n)}function yp(){let e="invalid";throw new Error(e)}function tb(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}LA(e,n,t,a,i,c,l)}i!==null&&r!==null&&PA(t,r,i)}function PA(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new _(-301,!1);r.push(n[o],i)}}function FA(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function LA(e,n,t,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let h=r[p];c===null&&Tn(h)&&(c=h,FA(e,t,p)),gh(Xc(t,n),e,h.type)}$A(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let h=r[p];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=wC(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let h=r[p];if(t.mergedAttrs=si(t.mergedAttrs,h.hostAttrs),VA(e,t,n,d,h),HA(d,h,o),s!==null&&s.has(h)){let[M,D]=s.get(h);t.directiveToIndex.set(h.type,[d,M+t.directiveStart,D+t.directiveStart])}else(i===null||!i.has(h))&&t.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(t.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(t.flags|=64);let m=h.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}jA(e,t,i)}function jA(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))gI(0,n,o,r),gI(1,n,o,r),vI(n,r,!1);else{let i=t.get(o);mI(0,n,i,r),mI(1,n,i,r),vI(n,r,!0)}}}function gI(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),nb(n,i)}}function mI(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),nb(n,s)}}function nb(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function vI(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||rp(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function VA(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=yr(o.type,!0)),s=new ho(i,Tn(o),f,null);e.blueprint[r]=s,t[r]=s,BA(e,n,r,wC(e,t,o.hostVars,ut),o)}function BA(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;UA(s)!=a&&s.push(a),s.push(t,r,i)}}function UA(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function HA(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Tn(n)&&(t[""]=e)}}function $A(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Dp(e,n,t,r,o,i,s,a){let c=n[j],l=c.consts,u=qt(l,s),d=hi(c,e,t,r,u);return i&&tb(c,n,d,qt(l,a),o),d.mergedAttrs=si(d.mergedAttrs,d.attrs),d.attrs!==null&&il(d,d.attrs,!1),d.mergedAttrs!==null&&il(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Ip(e,n){PI(e,n),Rf(n)&&e.queries.elementEnd(n)}function zA(e,n,t,r,o,i){let s=n.consts,a=qt(s,o),c=hi(n,e,t,r,a);if(c.mergedAttrs=si(c.mergedAttrs,c.attrs),i!=null){let l=qt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&il(c,c.attrs,!1),c.mergedAttrs!==null&&il(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Cp(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Fs(e,n,t){return e[n]=t}function GA(e,n){return e[n]}function Et(e,n,t){if(t===ut)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function bs(e,n,t,r){let o=Et(e,n,t);return Et(e,n+1,r)||o}function WA(e,n,t,r,o){let i=bs(e,n,t,r);return Et(e,n+2,o)||i}function qA(e,n,t,r,o,i){let s=bs(e,n,t,r);return bs(e,n+2,o,i)||s}function Zc(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&jT(o,i);let s=Gn(e)?Wt(e.index,n):n;vp(s,5);let a=n[Ne],c=yI(n,a,t,o),l=r.__ngNextListenerFn__;for(;l;)c=yI(n,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function yI(e,n,t,r){let o=F(null);try{return fe(se.OutputStart,n,t),t(r)!==!1}catch(i){return lA(e,i),!1}finally{fe(se.OutputEnd,n,t),F(o)}}function rb(e,n,t,r,o,i,s,a){let c=Jo(e),l=!1,u=null;if(!r&&c&&(u=QA(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ln(e,t),p=r?r(d):d;BT(t,p,i,a),r||(a.__ngNativeEl__=d);let h=o.listen(p,i,a);if(!ZA(i)){let m=r?M=>r(Gt(M[e.index])):e.index;ob(m,n,t,i,a,h,!1)}}return l}function ZA(e){return e.startsWith("animation")||e.startsWith("transition")}function QA(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Yo],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ob(e,n,t,r,o,i,s){let a=n.firstCreatePass?Bf(n):null,c=Vf(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function DI(e,n,t,r,o,i){let s=n[t],a=n[j],l=a.data[t].outputs[r],d=s[l].subscribe(i);ob(e.index,a,n,o,i,d,!0)}var Ah=Symbol("BINDING");function ib(e){return e.debugInfo?.className||e.type.name||null}var sl=class extends Ps{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=wn(n);return new Ar(t,this.ngModule)}};function YA(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Dl.SignalBased)!==0};return o&&(i.transform=o),i})}function KA(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function JA(e,n,t){let r=n instanceof ce?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Mh(t,r):t}function XA(e){let n=e.get(go,null);if(n===null)throw new _(407,!1);let t=e.get(eb,null),r=e.get(En,null),o=e.get(Nn,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function ex(e,n){let t=sb(e);return gC(n,t,t==="svg"?Nf:t==="math"?CD:null)}function sb(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ar=class extends _l{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=YA(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=KA(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=MM(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){fe(se.DynamicComponentStart);let a=F(null);try{let c=this.componentDef,l=JA(c,o||this.ngModule,n),u=XA(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(ib(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{F(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=tx(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?JM(l,o,a.encapsulation,t):ex(a,l),d=s?.some(II)||i?.some(m=>typeof m!="function"&&m.bindings.some(II)),p=ip(null,c,null,512|EC(a),null,null,n,l,t,null,oC(u,t,!0));p[Te]=u,Pc(p);let h=null;try{let m=Dp(Te,p,2,"#host",()=>c.directiveRegistry,!0,0);yC(l,u,m),ai(u,p),El(c,p,m),Jh(c,m,p),Ip(c,m),r!==void 0&&rx(m,this.ngContentSelectors,r),h=Wt(m.index,p),p[Ne]=h[Ne],mp(c,p,null)}catch(m){throw h!==null&&vh(h),vh(p),m}finally{fe(se.DynamicComponentEnd),Fc()}return new al(this.componentType,p,!!d)}};function tx(e,n,t,r){let o=e?["ng-version","21.2.17"]:AM(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[Ah].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[Ah].requiredVars;let h=u+1;p.create&&(p.targetIdx=h,(i??=[]).push(p)),p.update&&(p.targetIdx=h,(s??=[]).push(p))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Df(d);c.push(p)}return op(0,null,nx(i,s),1,a,c,null,null,null,[o],null)}function nx(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function II(e){let n=e[Ah].kind;return n==="input"||n==="twoWay"}var al=class extends XC{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Mc(t[j],Te),this.location=ui(this._tNode,t),this.instance=Wt(this._tNode.index,t)[Ne],this.hostView=this.changeDetectorRef=new Mr(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=gp(r,o[j],o,n,t);this.previousInputValues.set(n,t);let s=Wt(r.index,o);vp(s,1)}get injector(){return new fo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function rx(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var kt=(()=>{class e{static __NG_ELEMENT_ID__=ox}return e})();function ox(){let e=qe();return ab(e,L())}var xh=class e extends kt{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}
vendor: 4,507 bytes, line 4
4get element(){return ui(this._hostTNode,this._hostLView)}get injector(){return new fo(this._hostTNode,this._hostLView)}get parentInjector(){let n=Wh(this._hostTNode,this._hostLView);if(jI(n)){let t=Kc(n,this._hostLView),r=Yc(n),o=t[j].data[r+8];return new fo(o,t)}else return new fo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=CI(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-ke}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ol(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,ci(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!fT(n),l;if(c)l=t;else{let D=t||{};l=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let u=c?n:new Ar(wn(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let N=(c?d:this.parentInjector).get(ce,null);N&&(i=N)}let p=wn(u.componentType??{}),h=ol(this._lContainer,p?.id??null),m=h?.firstChild??null,M=u.create(d,o,m,i,s,a);return this.insertImpl(M.hostView,l,ci(this._hostTNode,h)),M}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(ED(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[Ge],l=new e(c,c[yt],c[Ge]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Os(s,o,i,r),n.attachToViewContainerRef(),bf(ah(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=CI(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=Cs(this._lContainer,t);r&&(ss(ah(this._lContainer),t),Cl(r[j],r))}detach(n){let t=this._adjustIndex(n,-1),r=Cs(this._lContainer,t);return r&&ss(ah(this._lContainer),t)!=null?new Mr(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function CI(e){return e[cs]}function ah(e){return e[cs]||(e[cs]=[])}function ab(e,n){let t,r=n[e.index];return cn(r)?t=r:(t=ZC(r,n,null,e),n[e.index]=t,sp(n,t)),sx(t,n,e,r),new xh(t,e,n)}function ix(e,n){let t=e[me],r=t.createComment(""),o=ln(n,e),i=t.parentNode(o);return nl(t,i,r,t.nextSibling(o),!1),r}var sx=lx,ax=()=>!1;function cx(e,n,t){return ax(e,n,t)}function lx(e,n,t,r){if(e[Sr])return;let o;t.type&8?o=Gt(r):o=ix(n,t),e[Sr]=o}var Rh=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Nh=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)Ep(n,t).matches!==null&&this.queries[t].setDirty()}},cl=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=px(n):this.predicate=n}},kh=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Oh=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}
vendor: 4,258 bytes, line 4
4matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,ux(t,i)),this.matchTNodeWithReadOption(n,t,Wc(t,n,i,!1,!1))}else r===Rn?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Wc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===y||o===kt||o===Rn&&t.type&4)this.addMatch(t.index,-2);else{let i=Wc(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function ux(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function dx(e,n){return e.type&11?ui(e,n):e.type&4?wl(e,n):null}function fx(e,n,t,r){return t===-1?dx(n,e):t===-2?hx(e,n,r):Ds(e,e[j],t,n)}function hx(e,n,t){if(t===y)return ui(n,e);if(t===Rn)return wl(n,e);if(t===kt)return ab(n,e)}function cb(e,n,t,r){let o=n[Sn].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(fx(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Ph(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=cb(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=ke;d<u.length;d++){let p=u[d];p[wr]===p[Ge]&&Ph(p[j],p,l,r)}if(u[ao]!==null){let d=u[ao];for(let p=0;p<d.length;p++){let h=d[p];Ph(h[j],h,l,r)}}}}}return r}function bp(e,n){return e[Sn].queries[n].queryList}function lb(e,n,t){let r=new el((t&4)===4);return SD(e,n,r,r.destroy),(n[Sn]??=new Nh).queries.push(new Rh(r))-1}function ub(e,n,t){let r=we();return r.firstCreatePass&&(fb(r,new cl(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),lb(r,L(),n)}function db(e,n,t,r){let o=we();if(o.firstCreatePass){let i=qe();fb(o,new cl(n,t,r),i.index),gx(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return lb(o,L(),t)}function px(e){return e.split(",").map(n=>n.trim())}function fb(e,n,t){e.queries===null&&(e.queries=new kh),e.queries.track(new Oh(n,t))}function gx(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function Ep(e,n){return e.queries.getByIndex(n)}function hb(e,n){let t=e[j],r=Ep(t,n);return r.crossesNgTemplate?Ph(t,e,n,[]):cb(t,e,r,n)}function wp(e,n,t){let r,o=Gi(()=>{r._dirtyCounter();let i=mx(r,e);if(n&&i===void 0)throw new _(-951,!1);return i});return r=o[Fe],r._dirtyCounter=Y(0),r._flatValue=void 0,o}function _p(e){return wp(!0,!1,e)}function Sp(e){return wp(!0,!0,e)}function pb(e){return wp(!1,!1,e)}function gb(e,n){let t=e[Fe];t._lView=L(),t._queryIndex=n,t._queryList=bp(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function mx(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[H]&4)return n?void 0:it;let o=bp(t,r),i=hb(t,r);return o.reset(i,qI),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var mo=class{},Sl=class{};var ll=class extends mo{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new sl(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=yf(n);this._bootstrapComponents=IC(i.bootstrap),this._r3Injector=Jf(n,t,[{provide:mo,useValue:this},{provide:Ps,useValue:this.componentFactoryResolver},...r],ns(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},ul=class extends Sl{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ll(this.moduleType,n,[])}};var Es=class extends mo{injector;componentFactoryResolver=new sl(this);instance=null;constructor(n){super();let t=new to([...n.providers,{provide:mo,useValue:this},{provide:Ps,useValue:this.componentFactoryResolver}],n.parent||Qo(),n.debugName,new Set(["environment"]));
vendor: 4,269 bytes, line 4
4this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function pi(e,n,t=null){return new Es({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var vx=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=_f(!1,t.type),o=r.length>0?pi([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=E({token:e,providedIn:"environment",factory:()=>new e(k(ce))})}return e})();function C(e){return Ss(()=>{let n=mb(e),t=V(I({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(vx).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||fn.Emulated,styles:e.styles||it,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Rt("NgStandalone"),vb(t);let r=e.dependencies;return t.directiveDefs=bI(r,yx),t.pipeDefs=bI(r,aD),t.id=Cx(t),t})}function yx(e){return wn(e)||Df(e)}function Dt(e){return Ss(()=>({type:e.type,bootstrap:e.bootstrap||it,declarations:e.declarations||it,imports:e.imports||it,exports:e.exports||it,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Dx(e,n){if(e==null)return br;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Dl.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function Ix(e){if(e==null)return br;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function U(e){return Ss(()=>{let n=mb(e);return vb(n),n})}function gi(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function mb(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||br,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||it,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Dx(e.inputs,n),outputs:Ix(e.outputs),debugInfo:null}}function vb(e){e.features?.forEach(n=>n(e))}function bI(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function Cx(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function bx(e){return Object.getPrototypeOf(e.prototype).constructor}function J(e){let n=bx(e.type),t=!0,r=[e];for(;n&&n!==Function.prototype&&n!==Object.prototype;){let o,i=Object.hasOwn(n,os)?n[os]:void 0,s=Object.hasOwn(n,is)?n[is]:void 0;if(Tn(e))o=i??s;else{if(i)throw new _(903,!1);o=s}if(o){if(t){r.push(o);let c=e;c.inputs=ch(e.inputs),c.declaredInputs=ch(e.declaredInputs),c.outputs=ch(e.outputs);let l=o.hostBindings;l&&Tx(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&_x(e,u),d&&Sx(e,d),Ex(e,o),sD(e.outputs,o.outputs),Tn(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===J&&(t=!1)}}n=Object.getPrototypeOf(n)}wx(r)}function Ex(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];
vendor: 12,559 bytes, line 4
4r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function wx(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=si(o.hostAttrs,t=si(t,o.hostAttrs))}}function ch(e){return e===br?{}:e===it?[]:e}function _x(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function Sx(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function Tx(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function yb(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=si(e.mergedAttrs,e.attrs);let u=e.tView=op(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),ei(e,!1);let c=Ax(t,n,e,r);Lc()&&up(t,n,c,e),ai(c,n);let l=ZC(c,n,c,e);n[r+Te]=l,sp(n,l),cx(l,e,n)}function Mx(e,n,t,r,o,i,s,a,c,l,u){let d=t+Te,p;return n.firstCreatePass?(p=hi(n,d,4,s||null,a||null),Rc()&&tb(n,e,p,qt(n.consts,l),fp),PI(n,p)):p=n.data[d],yb(p,e,n,t,r,o,i,c),Jo(p)&&El(n,e,p),l!=null&&Ns(e,p,u),p}function ws(e,n,t,r,o,i,s,a,c,l,u){let d=t+Te,p;if(n.firstCreatePass){if(p=hi(n,d,4,s||null,a||null),l!=null){let h=qt(n.consts,l);p.localNames=[];for(let m=0;m<h.length;m+=2)p.localNames.push(h[m],-1)}}else p=n.data[d];return yb(p,e,n,t,r,o,i,c),l!=null&&Ns(e,p,u),p}function mi(e,n,t,r,o,i,s,a){let c=L(),l=we(),u=qt(l.consts,i);return Mx(c,l,e,n,t,r,o,u,void 0,s,a),mi}var Ax=xx;function xx(e,n,t,r){return fs(!0),n[me].createComment("")}var Tp=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Mp(e){return typeof e=="function"&&e[Fe]!==void 0}function Ap(e){return Mp(e)&&typeof e.set=="function"}var xp=new R("");function Rr(e){return!!e&&typeof e.then=="function"}function Rp(e){return!!e&&typeof e.subscribe=="function"}var Tl=new R("");function Ml(e){return _n([{provide:Tl,multi:!0,useValue:e}])}var Np=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=g(Tl,{optional:!0})??[];injector=g(re);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=We(this.injector,o);if(Rr(i))t.push(i);else if(Rp(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vi=new R("");function Db(){Td(()=>{let e="";throw new _(600,e)})}function Ib(e){return e.isBoundToModule}var Rx=10;var Ot=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(xt);afterRenderManager=g(cp);zonelessEnabled=g(ni);rootEffectScheduler=g(Vc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ue;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(An);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(te(t=>!t))}constructor(){g(Nn,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=g(ce);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=re.NULL){return this._injector.get(v).run(()=>{fe(se.BootstrapComponentStart);let s=t instanceof _l;if(!this._injector.get(Np).done){let m="";throw new _(405,m)}let c;s?c=t:c=this._injector.get(Ps).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=Ib(c)?void 0:this._injector.get(mo),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,h=d.injector.get(xp,null);return h?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),vs(this.components,d),h?.unregisterApplication(p)}),this._loadComponent(d),fe(se.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){fe(se.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Il.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw fe(se.ChangeDetectionEnd),new _(101,!1);let t=F(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,F(t),this.afterTick.next(),fe(se.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(go,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<Rx;){fe(se.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{fe(se.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ls(o))continue;let i=r&&!this.zonelessEnabled?0:1;zC(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>ls(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;vs(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(vi,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>vs(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new _(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vs(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function gn(e,n,t,r){let o=L(),i=Zn();if(Et(o,i,n)){let s=we(),a=ds();sA(a,o,e,n,t,r)}return gn}function Nx(){return L()[at][Ne]}var Fh=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function lh(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function kx(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){F(r);let l=n.length-1;for(F(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],p=lh(s,u,s,d,t);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let h=e.at(a),m=n[l],M=lh(a,h,l,m,t);if(M!==0){M<0&&e.updateValue(a,m),a--,l--;continue}let D=t(s,u),N=t(a,h),O=t(s,d);if(Object.is(O,N)){let ae=t(l,m);Object.is(ae,D)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new dl,i??=wI(e,s,a,t),Lh(e,o,s,O))e.updateValue(s,d),s++,a++;else if(i.has(O))o.set(D,e.detach(s)),a--;else{let ae=e.create(s,n[s]);e.attach(s,ae),s++,a++}}for(;s<=l;)EI(e,o,t,s,n[s]),s++}else if(n!=null){F(r);let l=n[Symbol.iterator]();F(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,h=lh(s,d,s,p,t);if(h!==0)h<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new dl,i??=wI(e,s,a,t);let m=t(s,p);if(Lh(e,o,s,m))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let M=t(s,d);o.set(M,e.detach(s)),a--}}}for(;!u.done;)EI(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Lh(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function EI(e,n,t,r,o){if(Lh(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function wI(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var dl=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function Oe(e,n,t,r,o,i,s,a){Rt("NgControlFlow");let c=L(),l=we(),u=qt(l.consts,i);return ws(c,l,e,n,t,r,o,u,256,s,a),kp}function kp(e,n,t,r,o,i,s,a){Rt("NgControlFlow");let c=L(),l=we(),u=qt(l.consts,i);return ws(c,l,e,n,t,r,o,u,512,s,a),kp}function Pe(e,n){Rt("NgControlFlow");let t=L(),r=Zn(),o=t[r]!==ut?t[r]:-1,i=o!==-1?fl(t,Te+o):void 0,s=0;if(Et(t,r,e)){let a=F(null);try{if(i!==void 0&&YC(i,s),e!==-1){let c=Te+e,l=fl(t,c),u=Uh(t[j],c),d=JC(l,u,t),p=ks(t,u,n,{dehydratedView:d});Os(l,p,s,ci(u,d))}}finally{F(a)}}else if(i!==void 0){let a=QC(i,s);a!==void 0&&(a[Ne]=n)}}var jh=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-ke}};function Ox(e){return e}function Px(e,n){return n}var Vh=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function Fx(e,n,t,r,o,i,s,a,c,l,u,d,p){Rt("NgControlFlow");let h=L(),m=we(),M=c!==void 0,D=L(),N=a?s.bind(D[at][Ne]):s,O=new Vh(M,N);D[Te+e]=O,ws(h,m,e+1,n,t,r,o,qt(m.consts,i),256),M&&ws(h,m,e+2,c,l,u,d,qt(m.consts,p),512)}var Bh=class extends Fh{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-ke}at(n){return this.getLView(n)[Ne].$implicit}attach(n,t){let r=t[ro];this.needsIndexUpdate||=n!==this.length,Os(this.lContainer,t,n,ci(this.templateTNode,r)),jx(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Vx(this.lContainer,n),Bx(this.lContainer,n)}create(n,t){let r=ol(this.lContainer,this.templateTNode.tView.ssrId);return ks(this.hostLView,this.templateTNode,new jh(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Cl(n[j],n)}updateValue(n,t){this.getLView(n)[Ne].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Ne].$index=n}getLView(n){return Ux(this.lContainer,n)}};function Lx(e){let n=F(null),t=Mn();try{let r=L(),o=r[j],i=r[t],s=t+1,a=fl(r,s);if(i.liveCollection===void 0){let l=Uh(o,s);i.liveCollection=new Bh(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(kx(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=Zn(),u=c.length===0;if(Et(r,l,u)){let d=t+2,p=fl(r,d);if(u){let h=Uh(o,d),m=JC(p,h,r),M=ks(r,h,void 0,{dehydratedView:m});Os(p,M,0,ci(h,m))}else o.firstUpdatePass&&xA(p),YC(p,0)}}}finally{F(n)}}function fl(e,n){return e[n]}function jx(e,n){if(e.length<=ke)return;let t=ke+n,r=e[t],o=r?r[_r]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Hn];jM(i,o),po.delete(r[$n]),o.detachedLeaveAnimationFns=void 0}}function Vx(e,n){if(e.length<=ke)return;let t=ke+n,r=e[t],o=r?r[_r]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function Bx(e,n){return Cs(e,n)}function Ux(e,n){return QC(e,n)}function Uh(e,n){return Mc(e,n)}function Yn(e,n,t){let r=L(),o=Zn();if(Et(r,o,n)){let i=we(),s=ds();LC(s,r,e,n,r[me],t)}return Yn}function Hh(e,n,t,r,o){gp(n,e,t,o?"class":"style",r)}function xr(e,n,t,r){let o=L(),i=o[j],s=e+Te,a=i.firstCreatePass?Dp(s,o,2,n,fp,Rc(),t,r):i.data[s];if(Gn(a)){let c=o[an].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOff
4set];return c.componentCreate(ib(l),()=>(_I(e,n,o,a,r),xr))}}return _I(e,n,o,a,r),xr}function _I(e,n,t,r,o){if(hp(r,t,e,n,Cb),Jo(r)){let i=t[j];El(i,t,r),Jh(i,r,t)}o!=null&&Ns(t,r)}function Do(){let e=we(),n=qe(),t=pp(n);return e.firstCreatePass&&Ip(e,t),$f(t)&&zf(),Uf(),t.classesWithoutHost!=null&&yT(t)&&Hh(e,t,L(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&DT(t)&&Hh(e,t,L(),t.stylesWithoutHost,!1),Do}function Al(e,n,t,r){return xr(e,n,t,r),Do(),Al}function oe(e,n,t,r){let o=L(),i=o[j],s=e+Te,a=i.firstCreatePass?zA(s,i,2,n,t,r):i.data[s];return hp(a,o,e,n,Cb),r!=null&&Ns(o,a),oe}function X(){let e=qe(),n=pp(e);return $f(n)&&zf(),Uf(),X}function Le(e,n,t,r){return oe(e,n,t,r),X(),Le}var Cb=(e,n,t,r,o)=>(fs(!0),gC(n[me],r,Kf()));function Ls(e,n,t){let r=L(),o=r[j],i=e+Te,s=o.firstCreatePass?Dp(i,r,8,"ng-container",fp,Rc(),n,t):o.data[i];if(hp(s,r,e,"ng-container",Hx),Jo(s)){let a=r[j];El(a,r,s),Jh(a,s,r)}return t!=null&&Ns(r,s),Ls}function js(){let e=we(),n=qe(),t=pp(n);return e.firstCreatePass&&Ip(e,t),js}function Vs(e,n,t){return Ls(e,n,t),js(),Vs}var Hx=(e,n,t,r,o)=>(fs(!0),dM(n[me],""));function yi(){return L()}function Kn(e,n,t){let r=L(),o=Zn();if(Et(r,o,n)){let i=we(),s=ds();jC(s,r,e,n,r[me],t)}return Kn}var ps=void 0;function $x(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var zx=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ps,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ps,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",ps,ps,ps],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",$x],ys=Object.create(null);function Op(e,n,t){typeof n!="string"&&(t=n,n=e[_e.LocaleId]),n=n.toLowerCase().replace(/_/g,"-"),ys[n]=e,t&&(ys[n][_e.ExtraData]=t)}function It(e){let n=Gx(e),t=SI(n);if(t)return t;let r=n.split("-")[0];if(t=SI(r),t)return t;if(r==="en")return zx;throw new _(701,!1)}function SI(e){return e in ys||(ys[e]=on.ng&&on.ng.common&&on.ng.common.locales&&on.ng.common.locales[e]),ys[e]}var _e=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(_e||{});function Gx(e){return e.toLowerCase().replace(/_/g,"-")}var Bs="en-US",Wx="USD";var qx=Bs;function bb(e){typeof e=="string"&&(qx=e.toLowerCase().replace(/_/g,"-"))}function xe(e,n,t){let r=L(),o=we(),i=qe();return Eb(o,r,r[me],i,e,n,t),xe}function Zt(e,n,t){let r=L(),o=we(),i=qe();return(i.type&3||t)&&rb(i,o,r,t,r[me],e,n,Zc(i,r,n)),Zt}function Eb(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Zc(r,n,i),rb(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],h=u[d+1];c??=Zc(r,n,i),DI(r,n,p,h,o,c)}if(l&&l.length)for(let d of l)c??=Zc(r,n,i),DI(r,n,d,o,o,c)}}function ge(e=1){return BD(e)}
vendor: 4,529 bytes, line 4
4function Zx(e,n){let t=null,r=EM(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?bC(e,i,!0):SM(r,i))return o}return t}function T(e){let n=L()[at][yt];if(!n.projection){let t=e?e.length:1,r=n.projection=hD(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?Zx(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function w(e,n=0,t,r,o,i){let s=L(),a=we(),c=r?e+1:null;c!==null&&ws(s,a,c,r,o,i,null,t);let l=hi(a,Te+e,16,null,t||null);l.projection===null&&(l.projection=n),qf();let d=!s[ro]||Hf();s[at][yt].projection[l.projection]===null&&c!==null?Qx(s,a,c):d&&!ml(l)&&QM(a,s,l)}function Qx(e,n,t){let r=Te+t,o=n.data[r],i=e[r],s=ol(i,o.tView.ssrId),a=ks(e,o,void 0,{dehydratedView:s});Os(i,a,0,ci(o,s))}function Nr(e,n,t,r){return db(e,n,t,r),Nr}function Io(e,n,t){return ub(e,n,t),Io}function Qt(e){let n=L(),t=we(),r=Oc();us(r+1);let o=Ep(t,r);if(e.dirty&&bD(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=hb(n,r);e.reset(i,qI),e.notifyOnChanges()}return!0}return!1}function Yt(){return bp(L(),Oc())}function wb(e,n,t,r,o){return gb(n,db(e,t,r,o)),wb}function _b(e,n,t,r){return gb(e,ub(n,t,r)),_b}function Yx(e=1){us(Oc()+e)}function Kx(e){let n=xD();return Of(n,Te+e)}function $c(e,n){return e<<17|n<<2}function vo(e){return e>>17&32767}function Jx(e){return(e&2)==2}function Xx(e,n){return e&131071|n<<17}function $h(e){return e|2}function li(e){return(e&131068)>>2}function uh(e,n){return e&-131069|n<<2}function eR(e){return(e&1)===1}function zh(e){return e|1}function tR(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=vo(s),c=li(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Zo(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let p=vo(e[a+1]);e[r+1]=$c(p,a),p!==0&&(e[p+1]=uh(e[p+1],r)),e[a+1]=Xx(e[a+1],r)}else e[r+1]=$c(a,0),a!==0&&(e[a+1]=uh(e[a+1],r)),a=r;else e[r+1]=$c(c,0),a===0?a=r:e[c+1]=uh(e[c+1],r),c=r;l&&(e[r+1]=$h(e[r+1])),TI(e,u,r,!0),TI(e,u,r,!1),nR(n,u,e,r,i),s=$c(a,c),i?n.classBindings=s:n.styleBindings=s}function nR(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Zo(i,n)>=0&&(t[r+1]=zh(t[r+1]))}function TI(e,n,t,r){let o=e[t+1],i=n===null,s=r?vo(o):li(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];rR(c,n)&&(a=!0,e[s+1]=r?zh(l):$h(l)),s=r?vo(l):li(l)}a&&(e[t+1]=r?$h(o):zh(o))}function rR(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Zo(e,n)>=0:!1}var dn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oR(e){return e.substring(dn.key,dn.keyEnd)}function iR(e){return sR(e),Sb(e,Tb(e,0,dn.textEnd))}function Sb(e,n){let t=dn.textEnd;return t===n?-1:(n=dn.keyEnd=aR(e,dn.key=n,t),Tb(e,n,t))}function sR(e){dn.key=0,dn.keyEnd=0,dn.value=0,dn.valueEnd=0,dn.textEnd=e.length}function Tb(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function aR(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function Us(e,n){return lR(e,n,null,!0),Us}function Di(e){uR(mR,cR,e,!0)}function cR(e,n){for(let t=iR(n);t>=0;t=Sb(n,t))_c(e,oR(n),!0)}function lR(e,n,t,r){let o=L(),i=we(),s=Nc(2);if(i.firstUpdatePass&&Ab(i,e,s,r),n!==ut&&Et(o,s,n)){let a=i.data[Mn()];xb(i,a,o,o[me],e,o[s+1]=yR(n,t),r,s)}}function uR(e,n,t,r){let o=we(),i=Nc(2);o.firstUpdatePass&&Ab(o,null,i,r);let s=L();if(t!==ut&&Et(s,i,t)){let a=o.data[Mn()];if(Rb(a,r)&&!Mb(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=Ic(c,t||"")),Hh(o,a,s,t,r)}else vR(o,a,s,s[me],s[i+1],s[i+1]=gR(e,n,t),r,i)}}function Mb(e,n){return n>=e.expandoStartIndex}function Ab(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[Mn()],s=Mb(e,t);Rb(i,r)&&n===null&&!s&&(n=!1),n=dR(o,i,n,r),tR(o,i,n,t,s,r)}}function dR(e,n,t,r){let o=FD(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=dh(null,e,n,t,r),t=_s(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=dh(o,e,n,t,r),i===null){let c=fR(e,n,r);c!==void 0&&Array.isArray(c)&&(c=dh(null,e,n,c[1],r),c=_s(c,n.attrs,r),hR(e,n,r,c))}else i=pR(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function fR(e,n,t){let r=t?n.classBindings:n.styleBindings;if(li(r)!==0)return e[vo(r)]}function hR(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[vo(o)]=r}function pR(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=_s(r,s,t)}return _s(r,n.attrs,t)}function dh(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;
vendor: 4,234 bytes, line 4
4for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=_s(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function _s(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),_c(e,s,t?!0:n[++i]))}return e===void 0?null:e}function gR(e,n,t){if(t==null||t==="")return it;let r=[],o=yo(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function mR(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&_c(e,r,t)}function vR(e,n,t,r,o,i,s,a){o===ut&&(o=it);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,h=l<i.length?i[l+1]:void 0,m=null,M;u===d?(c+=2,l+=2,p!==h&&(m=d,M=h)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,M=h),m!==null&&xb(e,n,t,r,m,M,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function xb(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=eR(l)?MI(c,n,t,o,li(l),s):void 0;if(!hl(u)){hl(i)||Jx(l)&&(i=MI(c,null,t,o,a,s));let d=kf(Mn(),t);KM(r,s,d,o,i)}}function MI(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=t[o+1];p===ut&&(p=d?it:void 0);let h=d?Sc(p,r):u===r?p:void 0;if(l&&!hl(h)&&(h=Sc(c,r)),hl(h)&&(a=h,s))return a;let m=e[o+1];o=s?vo(m):li(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Sc(c,r))}return a}function hl(e){return e!==void 0}function yR(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=ns(yo(e)))),e}function Rb(e,n){return(e.flags&(n?8:16))!==0}function Ce(e,n=""){let t=L(),r=we(),o=e+Te,i=r.firstCreatePass?hi(r,o,1,n,null):r.data[o],s=DR(r,t,i,n);t[o]=s,Lc()&&up(r,t,s,i),ei(i,!1)}var DR=(e,n,t,r)=>(fs(!0),lM(n[me],r));function IR(e,n,t,r=""){return Et(e,Zn(),t)?n+Cr(t)+r:ut}function CR(e,n,t,r,o,i=""){let s=RD(),a=bs(e,s,t,o);return Nc(2),a?n+Cr(t)+r+Cr(o)+i:ut}function kr(e){return Pt("",e),kr}function Pt(e,n,t){let r=L(),o=IR(r,e,n,t);return o!==ut&&kb(r,Mn(),o),Pt}function Nb(e,n,t,r,o){let i=L(),s=CR(i,e,n,t,r,o);return s!==ut&&kb(i,Mn(),s),Nb}function kb(e,n,t){let r=kf(n,e);uM(e[me],r,t)}function Ob(e,n,t){Ap(n)&&(n=n());let r=L(),o=Zn();if(Et(r,o,n)){let i=we(),s=ds();LC(s,r,e,n,r[me],t)}return Ob}function bR(e,n){let t=Ap(e);return t&&e.set(n),t}function Pb(e,n){let t=L(),r=we(),o=qe();return Eb(r,t,t[me],o,e,n),Pb}function ER(e){return Et(L(),Zn(),e)?Cr(e):ut}function AI(e,n,t){let r=we();r.firstCreatePass&&Fb(n,r.data,r.blueprint,Tn(e),t)}function Fb(e,n,t,r,o){if(e=et(e),Array.isArray(e))for(let i=0;i<e.length;i++)Fb(e[i],n,t,r,o);else{let i=we(),s=L(),a=qe(),c=eo(e)?e:et(e.provide),l=Tf(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(eo(e)||!e.multi){let h=new ho(l,o,f,null),m=hh(c,n,o?u:u+p,d);m===-1?(gh(Xc(a,s),i,c),fh(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{let h=hh(c,n,u+p,d),m=hh(c,n,u,u+p),M=h>=0&&t[h],D=m>=0&&t[m];if(o&&!D||!o&&!M){gh(Xc(a,s),i,c);let N=SR(o?_R:wR,t.length,o,r,l,e);!o&&D&&(t[m].providerFactory=N),fh(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(N),s.push(N)}else{let N=Lb(t[o?m:h],l,!o&&r);fh(i,e,h>-1?h:m,N)}!o&&r&&D&&t[m].componentProviders++}}}function fh(e,n,t,r){let o=eo(n),i=yD(n);if(o||i){let c=(i?et(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function Lb(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function hh(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function wR(e,n,t,r,o){return Gh(this.multi,[])}function _R(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Ds(r,r[j],this.providerFactory.index,o);s=c.slice(0,a),Gh(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Gh(i,s);return s}function Gh(e,n){for(let t=0;t<e.length;t++){let r=e[t];
4n.push(r())}return n}function SR(e,n,t,r,o,i){let s=new ho(e,t,f,null);return s.multi=[],s.index=n,s.componentProviders=0,Lb(s,o,r&&!t),s}function je(e,n){return t=>{t.providersResolver=(r,o)=>AI(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>AI(r,o?o(n):n,!0))}}function TR(e,n){let t=uo()+e,r=L();return r[t]===ut?Fs(r,t,n()):GA(r,t)}function MR(e,n,t){return jb(L(),uo(),e,n,t)}function AR(e,n,t,r){return NR(L(),uo(),e,n,t,r)}function xR(e,n,t,r,o){return kR(L(),uo(),e,n,t,r,o)}function RR(e,n,t,r,o,i,s){return OR(L(),uo(),e,n,t,r,o,i)}function xl(e,n){let t=e[n];return t===ut?void 0:t}function jb(e,n,t,r,o,i){let s=n+t;return Et(e,s,o)?Fs(e,s+1,i?r.call(i,o):r(o)):xl(e,s+1)}function NR(e,n,t,r,o,i,s){let a=n+t;return bs(e,a,o,i)?Fs(e,a+2,s?r.call(s,o,i):r(o,i)):xl(e,a+2)}function kR(e,n,t,r,o,i,s,a){let c=n+t;return WA(e,c,o,i,s)?Fs(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):xl(e,c+3)}function OR(e,n,t,r,o,i,s,a,c){let l=n+t;return qA(e,l,o,i,s,a)?Fs(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):xl(e,l+4)}function PR(e,n){let t=we(),r,o=e+Te;t.firstCreatePass?(r=FR(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=yr(r.type,!0)),s,a=vt(f);try{let c=Jc(!1),l=i();return Jc(c),Pf(t,L(),o,l),l}finally{vt(a)}}function FR(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function LR(e,n,t){let r=e+Te,o=L(),i=Of(o,r);return jR(o,r)?jb(o,uo(),n,i.transform,t,i):i.transform(t)}function jR(e,n){return e[j].data[n].pure}function VR(e,n){return wl(e,n)}var pl=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Pp=(()=>{class e{compileModuleSync(t){return new ul(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=yf(t),i=IC(o.declarations).reduce((s,a)=>{let c=wn(a);return c&&s.push(new Ar(c)),s},[]);return new pl(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vb=(()=>{class e{applicationErrorHandler=g(xt);appRef=g(Ot);taskService=g(An);ngZone=g(v);zonelessEnabled=g(ni);tracing=g(Nn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Me;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(es):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(jc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?GD:eh;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDef
4ined&&Zone.current.get(es+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Bb(){return[{provide:En,useExisting:Vb},{provide:v,useClass:ts},{provide:ni,useValue:!0}]}function BR(){return typeof $localize<"u"&&$localize.locale||Bs}var Ii=new R("",{factory:()=>g(Ii,{optional:!0,skipSelf:!0})||BR()}),Fp=new R("",{factory:()=>Wx});var Hs=class{destroyed=!1;listeners=null;errorHandler=g(Ht,{optional:!0});destroyRef=g(ct);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new _(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn($t(953,!1));return}if(this.listeners===null)return;let t=F(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{F(t)}}};function Q(e){return tD(e)}function Ke(e,n){return Gi(e,n?.equal)}var UR=e=>e;function Jn(e,n){if(typeof e=="function"){let t=Xd(e,UR,n?.equal);return Ub(t,n?.debugName)}else{let t=Xd(e.source,e.computation,e.equal);return Ub(t,e.debugName)}}function Ub(e,n){let t=e[Fe],r=e;return r.set=o=>Xy(t,o),r.update=o=>eD(t,o),r.asReadonly=ti.bind(e),r}var Lp=class{value;isLoading;constructor(n,t){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=ti,this.isLoading=Ke(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Ke(()=>this.status()==="error");update(n){this.set(n(Q(this.value)))}isValueDefined=Ke(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Ke(()=>{let n=this.status();return n==="error"?{status:"error",error:this.error()}:{status:n,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},$s=class extends Lp{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,t,r,o,i,s,a){super(Ke(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!jp(c))throw new Rl(this.error());return c.value},{equal:o}),i),this.loaderFn=t,this.equal=o,this.debugName=i,this.extRequest=Jn({source:n,computation:c=>({request:c,reload:0})}),this.state=Jn({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:Hb(l.value),stream:l.value.extRequest.request===c.request?l.value.stream
4:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=rh(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(ri),this.unregisterOnDestroy=s.get(ct).onDestroy(()=>this.destroy()),this.status=Ke(()=>Hb(this.state()),void 0),this.error=Ke(()=>{let c=this.state().stream?.();return c&&!jp(c)?c.error:void 0},void 0)}set(n){if(this.destroyed)return;let t=Q(this.error),r=Q(this.state);if(!t){let o=Q(this.value);if(r.status==="local"&&(this.equal?this.equal(o,n):o===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:Y({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=Q(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:t,reload:r})=>({request:t,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return Z(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=Q(this.state);if(n.request===void 0)return;if(t!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield Q(()=>this.loaderFn({params:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Q(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Q(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:Y({error:Nl(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){Q(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Hb(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return jp(e.stream())?"resolved":"error";default:return e.status}}function jp(e){return e.error===void 0}function Nl(e){return HR(e)?e:new Vp(e)}function HR(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Rl=class extends Error{constructor(n){super(n.message,{cause:n})}},Vp=class extends Error{constructor(n){super(String(n),{cause:n})}};var Fl=Symbol("InputSignalNode#UNSET"),Kb=V(I({},La),{transformFn:void 0,applyValueToInputSignal(e,n){ur(e,n)}});function Jb(e,n){let t=Object.create(Kb);t.value=e,t.transformFn=n?.transform;function r(){if(cr(t),t.value===Fl){let o=null;throw new _(-950,o)}return t.value}return r[Fe]=t,r}var Ol=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>pn(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Ll(e){return new Hs}function $b(e,n){return Jb(e,n)}function eN(e){return Jb(Fl,e)}var Co=($b.required=eN,$b);function zb(e,n){return _p(n)}function tN(e,n){return Sp(n)}var f9=(zb.required=tN,zb);function Gb(e,n){return _p(n)}function nN(e,n){return Sp(n)}var h9=(Gb.required=nN,Gb);function p9(e,n){return pb(n)}function Xb(e,n){let t=Object.create(Kb),r=new Hs;t.value=e;function o(){return cr(t),Wb(t.value),t.value}return o[Fe]=t,o.asReadonly=ti.bind(o),o.set=i=>{t.equal(t.value,i)||(ur(t,i),r.emit(i))},o.update=i=>{Wb(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Wb(e){if(e===Fl)throw new _(952,!1)}function qb(e,n){return Xb(e,n)}function rN(e){return Xb(Fl,e)}var g9=(qb.required=rN,qb);var oN=(()=>{class e{zone=g(v);changeDetectionScheduler=g(En);applicationRef=g(Ot);applicationErrorHandler=g(xt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),iN=new R("",{factory:()=>!1});function sN({ngZoneFactory:e,scheduleInRootZone:n}){return e??=()=>new v(V(I({},e0()),{scheduleInRootZone:n})),[{provide:ni,useValue:!1},{provide:v,useFactory:e},{provide:Er,multi:!0,useFactory:()=>{let t=g(oN,{optional:!0});return()=>t.initialize()}},{provide:Er,multi:!0,useFactory:()=>{let t=g(aN);return()=>{t.initialize()}}},{provide:jc,useValue:n??Xf}]}function m9(e){let n=e?.scheduleInRootZone,t=sN({ngZoneFactory:()=>{let r=e0(e);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&Rt("NgZone_CoalesceEvent"),new v(r)},scheduleInRootZone:n});return _n([{provide:iN,useValue:!0},t])}function e0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var aN=(()=>{class e{subscription=new Me;initialized=!1;zone=g(v);
vendor: 5,410 bytes, line 4
4pendingTasks=g(An);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{v.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{v.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Bp=new R(""),cN=new R("");function zs(e){return!e.moduleRef}function lN(e){let n=zs(e)?e.r3Injector:e.moduleRef.injector,t=n.get(v);return t.run(()=>{zs(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(xt),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),zs(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Bp);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Bp);s.add(i),e.moduleRef.onDestroy(()=>{vs(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dN(r,t,()=>{let i=n.get(An),s=i.add(),a=n.get(Np);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(Ii,Bs);if(bb(c||Bs),!n.get(cN,!0))return zs(e)?n.get(Ot):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(zs(e)){let u=n.get(Ot);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return uN?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var uN;function dN(e,n,t){try{let r=t();return Rr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var kl=null;function fN(e=[],n){return re.create({name:n,providers:[{provide:as,useValue:"platform"},{provide:Bp,useValue:new Set([()=>kl=null])},...e]})}function hN(e=[]){if(kl)return kl;let n=fN(e);return kl=n,Db(),pN(n),n}function pN(e){let n=e.get(gl,null);We(e,()=>{n?.forEach(t=>t())})}function v9(){return!1}var gN=1e4;var y9=gN-1e3;var b=(()=>{class e{static __NG_ELEMENT_ID__=mN}return e})();function mN(e){return vN(qe(),L(),(e&16)===16)}function vN(e,n,t){if(Gn(e)&&!t){let r=Wt(e.index,n);return new Mr(r,r)}else if(e.type&175){let r=n[at];return new Mr(r,n)}return null}var Up=class{supports(n){return n instanceof Map||Cp(n)}create(){return new Hp}},Hp=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||Cp(n)))throw new _(900,!1);return this.check(n)?this:null}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new $p(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}
4_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},$p=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function Zb(){return new zp([new Up])}var zp=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:Zb});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(t,r||Zb())}}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new _(901,!1)}}return e})();function t0(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;fe(se.BootstrapApplicationStart);try{let i=o?.injector??hN(r),s=[Bb(),qD,...t||[]],a=new Es({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return lN({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{fe(se.BootstrapApplicationEnd)}}function bo(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function yN(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}function n0(e,n){let t=wn(e),r=n.elementInjector||Qo();return new Ar(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function Gp(e){let n=wn(e);if(!n)return null;let t=new Ar(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var r0=null;function Kt(){return r0}function Wp(e){r0??=e}var Gs=class{},Xn=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(o0),providedIn:"platform"})}return e})(),qp=new R(""),o0=(()=>{class e extends Xn{_location;_history;_doc=g(ve);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kt().getBaseHref(this._doc)}onPopState(t){let r=Kt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Kt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function jl(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function i0(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function mn(e){return e&&e[0]!=="?"?`?${e}`:e}var wt=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(Bl),providedIn:"root"})}return e})(),Vl=new R(""),Bl=(()=>{class e extends wt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ve).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return jl(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+mn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+mn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+mn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(k(Xn),k(Vl,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ft=(()=>
vendor: 8,260 bytes, line 4
4{class e{_subject=new ue;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=CN(i0(s0(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+mn(r))}normalize(t){return e.stripTrailingSlash(IN(this._basePath,s0(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+mn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+mn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=mn;static joinWithSlash=jl;static stripTrailingSlash=i0;static \u0275fac=function(r){return new(r||e)(k(wt))};static \u0275prov=E({token:e,factory:()=>DN(),providedIn:"root"})}return e})();function DN(){return new Ft(k(wt))}function IN(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function s0(e){return e.replace(/\/index\.html$/,"")}function CN(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var eg=(()=>{class e extends wt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=jl(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+mn(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+mn(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(k(Xn),k(Vl,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),f0={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KGS:[void 0,"\u20C0"],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},tg=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(tg||{});var dt=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(dt||{}),ye=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(ye||{}),_t=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(_t||{}),St={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function h0(e){return It(e)[_e.LocaleId]}function p0(e,n,t){let r=It(e),o=[r[_e.DayPeriodsFormat],r[_e.DayPeriodsStandalone]],i=Jt(o,n);return Jt(i,t)}function g0(e,n,t){let r=It(e),o=[r[_e.DaysFormat],r[_e.DaysStandalone]],i=Jt(o,n);return Jt(i,t)}function m0(e,n,t){let r=It(e),o=[r[_e.MonthsFormat],r[_e.MonthsStandalone]],i=Jt(o,n);return Jt(i,t)}function v0(e,n){let r=It(e)[_e.Eras];return Jt(r,n)}function Ws(e,n){let t=It(e);return Jt(t[_e.DateFormat],n)}function qs(e,n){let t=It(e);return Jt(t[_e.TimeFormat],n)}function Zs(e,n){let r=It(e)[_e.DateTimeFormat];return Jt(r,n)}function kn(e,n){let t=It(e),r=t[_e.NumberSymbols][n];if(typeof r>"u"){if(n===St.CurrencyDecimal)return t[_e.NumberSymbols][St.Decimal];if(n===St.CurrencyGroup)return t[_e.NumberSymbols][St.Group]}return r}function y0(e,n){return It(e)[_e.NumberFormats][n]}function bN(e){return It(e)[_e.Currencies]}function D0(e){if(!e[_e.ExtraData])throw new _(2303,!1)}function I0(e){let n=It(e);return D0(n),(n[_e.ExtraData][2]||[]).map(r=>typeof r=="string"?Zp(r):[Zp(r[0]),Zp(r[1])])}function C0(e,n,t){let r=It(e);D0(r);let o=[r[_e.ExtraData][0],r[_e.ExtraData][1]],i=Jt(o,n)||[];return Jt(i,t)||[]}function Jt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new _(2304,!1)}function Zp(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}function b0(e,n,t="en"){let r=bN(t)[e]||f0[e]||[],o=r[1];
vendor: 5,469 bytes, line 4
4return n==="narrow"&&typeof o=="string"?o:r[0]||e}var EN=2;function E0(e){let n,t=f0[e];return t&&(n=t[2]),typeof n=="number"?n:EN}var wN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ul={},_N=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,SN=256;function w0(e,n,t,r){let o=FN(e);TN(n),n=er(t,n)||n;let s=[],a;for(;n;)if(a=_N.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=S0(r,c),o=PN(o,r));let l="";return s.forEach(u=>{let d=kN(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function TN(e){if(e.length>SN)throw new _(2300,!1)}function Wl(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function er(e,n){let t=h0(e);if(Ul[t]??={},Ul[t][n])return Ul[t][n];let r="";switch(n){case"shortDate":r=Ws(e,_t.Short);break;case"mediumDate":r=Ws(e,_t.Medium);break;case"longDate":r=Ws(e,_t.Long);break;case"fullDate":r=Ws(e,_t.Full);break;case"shortTime":r=qs(e,_t.Short);break;case"mediumTime":r=qs(e,_t.Medium);break;case"longTime":r=qs(e,_t.Long);break;case"fullTime":r=qs(e,_t.Full);break;case"short":let o=er(e,"shortTime"),i=er(e,"shortDate");r=Hl(Zs(e,_t.Short),[o,i]);break;case"medium":let s=er(e,"mediumTime"),a=er(e,"mediumDate");r=Hl(Zs(e,_t.Medium),[s,a]);break;case"long":let c=er(e,"longTime"),l=er(e,"longDate");r=Hl(Zs(e,_t.Long),[c,l]);break;case"full":let u=er(e,"fullTime"),d=er(e,"fullDate");r=Hl(Zs(e,_t.Full),[u,d]);break}return r&&(Ul[t][n]=r),r}function Hl(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function vn(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function MN(e,n){return vn(e,3).substring(0,n)}function Ue(e,n,t=0,r=!1,o=!1){return function(i,s){let a=AN(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return MN(a,n);let c=kn(s,St.MinusSign);return vn(a,n,c,r,o)}}function AN(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new _(2301,!1)}}function Ee(e,n,t=dt.Format,r=!1){return function(o,i){return xN(o,i,e,n,t,r)}}function xN(e,n,t,r,o,i){switch(t){case 2:return m0(n,o,r)[e.getMonth()];case 1:return g0(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=I0(n),u=C0(n,o,r),d=l.findIndex(p=>{if(Array.isArray(p)){let[h,m]=p,M=s>=h.hours&&a>=h.minutes,D=s<m.hours||s===m.hours&&a<m.minutes;if(h.hours<m.hours){if(M&&D)return!0}else if(M||D)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return p0(n,o,r)[s<12?0:1];case 3:return v0(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new _(2302,!1)}}function $l(e){return function(n,t,r){let o=-1*r,i=kn(t,St.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+vn(s,2,i)+vn(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+vn(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+vn(s,2,i)+":"+vn(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+vn(s,2,i)+":"+vn(Math.abs(o%60),2,i);default:throw new _(2310,!1)}}}var RN=0,Gl=4;function NN(e){let n=Wl(e,RN,1).getDay();return Wl(e,0,1+(n<=Gl?Gl:Gl+7)-n)}function _0(e){let n=e.getDay(),t=n===0?-3:Gl-n;return Wl(e.getFullYear(),e.getMonth(),e.getDate()+t)}function Qp(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=_0(t),s=NN(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return vn(o,e,kn(r,St.MinusSign))}}function zl(e,n=!1){return function(t,r){let i=_0(t).getFullYear();return vn(i,e,kn(r,St.MinusSign),n)}}var Yp={};function kN(e){if(Yp[e])return Yp[e];let n;switch(e){case"G":case"GG":case"GGG":n=Ee(3,ye.Abbreviated);break;case"GGGG":n=Ee(3,ye.Wide);break;case"GGGGG":n=Ee(3,ye.Narrow);break;case"y":n=Ue(0,1,0,!1,!0);break;case"yy":n=Ue(0,2,0,!0,!0);break;case"yyy":n=Ue(0,3,0,!1,!0);break;case"yyyy":n=Ue(0,4,0,!1,!0);break;case"Y":n=zl(1);break;case"YY":n=zl(2,!0);break;case"YYY":n=zl(3);break;case"YYYY":n=zl(4);break;case"M":case"L":n=Ue(1,1,1);break;case"MM":case"LL":n=Ue(1,2,1);break;case"MMM":n=Ee(2,ye.Abbreviated);break;case"MMMM":n=Ee(2,ye.Wide);break;case"MMMMM":n=Ee(2,ye.Narrow);break;case"LLL":n=Ee(2,ye.Abbreviated,dt.Standalone);break;case"LLLL":n=Ee(2,ye.Wide,dt.Standalone);break;case"LLLLL":n=Ee(2,ye.Narrow,dt.Standalone);break;case"w":n=Qp(1);break;case"ww":n=Qp(2);break;case"W":n=Qp(1,!0);break;case"d":n=Ue(2,1);break;case"dd":n=Ue(2,2);break;case"c":case"cc":n=Ue(7,1);break;case"ccc":n=Ee(1,ye.Abbreviated,dt.Standalone);break;case"cccc":n=Ee(1,ye.Wide,dt.Standalone);break;case"ccccc":n=Ee(1,ye.Narrow,dt.Standalone);break;case"cccccc":n=Ee(1,ye.Short,dt.Standalone);break;case"E":case"EE":case"EEE":n=Ee(1,ye.Abbreviated);break;case"EEEE":n=Ee(1,ye.Wide);break;case"EEEEE":n=Ee(1,ye.Narrow);break;case"EEEEEE":n=Ee(1,ye.Short);break;case"a":case"aa":case"aaa":n=Ee(0,ye.Abbreviated);break;case"aaaa":n=Ee(0,ye.Wide);break;case"aaaaa":n=Ee(0,ye.Narrow);break;
vendor: 5,975 bytes, line 4
4case"b":case"bb":case"bbb":n=Ee(0,ye.Abbreviated,dt.Standalone,!0);break;case"bbbb":n=Ee(0,ye.Wide,dt.Standalone,!0);break;case"bbbbb":n=Ee(0,ye.Narrow,dt.Standalone,!0);break;case"B":case"BB":case"BBB":n=Ee(0,ye.Abbreviated,dt.Format,!0);break;case"BBBB":n=Ee(0,ye.Wide,dt.Format,!0);break;case"BBBBB":n=Ee(0,ye.Narrow,dt.Format,!0);break;case"h":n=Ue(3,1,-12);break;case"hh":n=Ue(3,2,-12);break;case"H":n=Ue(3,1);break;case"HH":n=Ue(3,2);break;case"m":n=Ue(4,1);break;case"mm":n=Ue(4,2);break;case"s":n=Ue(5,1);break;case"ss":n=Ue(5,2);break;case"S":n=Ue(6,1);break;case"SS":n=Ue(6,2);break;case"SSS":n=Ue(6,3);break;case"Z":case"ZZ":case"ZZZ":n=$l(0);break;case"ZZZZZ":n=$l(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=$l(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=$l(2);break;default:return null}return Yp[e]=n,n}function S0(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function ON(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function PN(e,n,t){let o=e.getTimezoneOffset(),i=S0(n,o);return ON(e,-1*(i-o))}function FN(e){if(a0(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Wl(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(wN))return LN(r)}let n=new Date(e);if(!a0(n))throw new _(2311,!1);return n}function LN(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,l),n}function a0(e){return e instanceof Date&&!isNaN(e.valueOf())}var jN=/^(\d+)?\.((\d+)(-(\d+))?)?$/,c0=22,ql=".",Qs="0",VN=";",BN=",",Kp="#",l0="\xA4";function UN(e,n,t,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=kn(t,St.Infinity);else{let l=zN(e);s&&(l=$N(l));let u=n.minInt,d=n.minFrac,p=n.maxFrac;if(i){let O=i.match(jN);if(O===null)throw new _(2306,!1);let ae=O[1],ee=O[3],Je=O[5];ae!=null&&(u=Jp(ae)),ee!=null&&(d=Jp(ee)),Je!=null?p=Jp(Je):ee!=null&&d>p&&(p=d);let De=100;if(u>De||d>De||p>De)throw new _(2306,!1)}GN(l,d,p);let h=l.digits,m=l.integerLen,M=l.exponent,D=[];for(c=h.every(O=>!O);m<u;m++)h.unshift(0);for(;m<0;m++)h.unshift(0);m>0?D=h.splice(m,h.length):(D=h,h=[0]);let N=[];for(h.length>=n.lgSize&&N.unshift(h.splice(-n.lgSize,h.length).join(""));h.length>n.gSize;)N.unshift(h.splice(-n.gSize,h.length).join(""));h.length&&N.unshift(h.join("")),a=N.join(kn(t,r)),D.length&&(a+=kn(t,o)+D.join("")),M&&(a+=kn(t,St.Exponential)+"+"+M)}return e<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function T0(e,n,t,r,o){let i=y0(n,tg.Currency),s=HN(i,kn(n,St.MinusSign));return s.minFrac=E0(r),s.maxFrac=s.minFrac,UN(e,s,n,St.CurrencyGroup,St.CurrencyDecimal,o).replace(l0,t).replace(l0,"").trim()}function HN(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(VN),o=r[0],i=r[1],s=o.indexOf(ql)!==-1?o.split(ql):[o.substring(0,o.lastIndexOf(Qs)+1),o.substring(o.lastIndexOf(Qs)+1)],a=s[0],c=s[1]||"";t.posPre=a.substring(0,a.indexOf(Kp));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===Qs?t.minFrac=t.maxFrac=u+1:d===Kp?t.maxFrac=u+1:t.posSuf+=d}let l=a.split(BN);if(t.gSize=l[1]?l[1].length:0,t.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-t.posPre.length-t.posSuf.length,d=i.indexOf(Kp);t.negPre=i.substring(0,d).replace(/'/g,""),t.negSuf=i.slice(d+u).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function $N(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function zN(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(ql))>-1&&(n=n.replace(ql,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===Qs;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===Qs;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>c0&&(r=r.splice(0,c0-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function GN(e,n,t){if(n>t)throw new _(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=n+e.integerLen,u=r.reduceRight(function(d,p,h,m){return p=p+d,m[h]=p<10?p:p-10,c&&(m[h]===0&&h>=l?m.pop():c=!1),p>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function Jp(e){let n=parseInt(e);if(isNaN(n))throw new _(2305,!1);return n}var Xp=/\s+/,u0=[],WN=(()=>{class e{_ngEl;_renderer;initialClasses=u0;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Xp):u0}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Xp):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[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(t,r){t=t.trim(),t.length>
40&&t.split(Xp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(f(y),f(Nt))};static \u0275dir=U({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var Ys=(()=>{class e{_viewContainer;_context=new Zl;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){d0(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){d0(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(f(kt),f(Rn))};static \u0275dir=U({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Zl=class{$implicit=null;ngIf=null};function d0(e,n){if(e&&!e.createEmbeddedView)throw new _(2020,!1)}var qN=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,r,o){this._ngEl=t,this._differs=r,this._renderer=o}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,r){let[o,i]=t.split("."),s=o.indexOf("-")===-1?void 0:hn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(t){t.forEachRemovedItem(r=>this._setStyle(r.key,null)),t.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),t.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(f(y),f(zp),f(Nt))};static \u0275dir=U({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),Ql=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(re);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(f(kt))};static \u0275dir=U({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[lt]})}return e})();function M0(e,n){return new _(2100,!1)}var ZN="mediumDate",A0=new R(""),x0=new R(""),QN=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(t==null||t===""||t!==t)return null;try{let s=r??this.defaultOptions?.dateFormat??ZN,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return w0(t,s,i||this.locale,a)}catch(s){throw M0(e,s.message)}}static \u0275fac=function(r){return new(r||e)(f(Ii,16),f(A0,24),f(x0,24))};static \u0275pipe=gi({name:"date",type:e,pure:!0})}return e})();var YN=(()=>{class e{_locale;_defaultCurrencyCode;constructor(t,r="USD"){this._locale=t,this._defaultCurrencyCode=r}transform(t,r=this._defaultCurrencyCode,o="symbol",i,s){if(!KN(t))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=b0(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=JN(t);return T0(c,s,a,r,i)}catch(c){throw M0(e,c.message)}}static \u0275fac=function(r){return new(r||e)(f(Ii,16),f(Fp,16))};static \u0275pipe=gi({name:"currency",type:e,pure:!0})}return e})();function KN(e){return!(e==null||e===""||e!==e)}function JN(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new _(2309,!1);return e}var Yl=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Dt({type:e});static \u0275inj=st({})}return e})();
vendor: 17,492 bytes, lines 4-5
4function Ks(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Eo=class{};function P7(e,n,t){return Op(e,n,t)}var R0="browser";var rg=(()=>{class e{static \u0275prov=E({token:e,providedIn:"root",factory:()=>new ng(g(ve),window)})}return e})(),ng=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(V(I({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=ek(this.document,n);r&&(this.scrollToElement(r,t),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch(t){console.warn($t(2400,!1))}}scrollToElement(n,t){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(V(I({},t),{left:o-s[0],top:i-s[1]}))}};function ek(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var Js=class{_doc;constructor(n){this._doc=n}manager},Kl=(()=>{class e extends Js{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(k(ve))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),eu=new R(""),cg=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof Kl));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Kl);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new _(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(k(eu),k(v))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),ig="ng-app-id";function N0(e){for(let n of e)n.remove()}function k0(e,n){let t=n.createElement("style");return t.textContent=e,t}function tk(e,n,t,r){let o=e.head?.querySelectorAll(`style[${ig}="${n}"],link[${ig}="${n}"]`);if(o)for(let i of o)i.removeAttribute(ig),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function ag(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var lg=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,tk(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,k0);r?.forEach(o=>this.addUsage(o,this.external,ag))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(N0(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])N0(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,k0(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,ag(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(k(ve),k(Ts),k(As,8),k(Ms))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),sg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},ug=/%COMP%/g;var P0="%COMP%",nk=`_nghost-${P0}`,rk=`_ngcontent-${P0}`,ok=!0,ik=new R("",{factory:()=>ok});function sk(e){return rk.replace(ug,e)}function ak(e){return nk.replace(ug,e)}function F0(e,n){return n.map(t=>t.replace(ug,e))}var dg=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new Xs(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Xl?o.applyToHost(t):o instanceof ea&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case fn.Emulated:i=new Xl(c,l,r,this.appId,u,s,a,d);break;case fn.ShadowDom:return new Jl(c,t,r,s,a,this.nonce,d,l);case fn.ExperimentalIsolatedShadowDom:return new Jl(c,t,r,s,a,this.nonce,d);default:i=new ea(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(k(cg),k(lg),k(Ts),k(ik),k(ve),k(v),k(As),k(Nn,8))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Xs=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(sg[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(O0(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(O0(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new _(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=sg[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=sg[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(hn.DashCase|hn.Important)?n.style.setProperty(t,r,o&hn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&hn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Kt().getGlobalEventTarget(this.doc,n),!n))throw new _(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function O0(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Jl=class extends Xs{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=F0(r.id,l);for(let d of l){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let u=r.getExternalStyles?.();if(u)for(let d of u){let p=ag(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},ea=class extends Xs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?F0(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&po.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Xl=class extends ea{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=sk(l),this.hostAttr=ak(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var tu=class e extends Gs{supportsDOMEvents=!0;static makeCurrent(){Wp(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=ck();return t==null?null:lk(t)}resetBaseElement(){ta=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ks(document.cookie,n)}},ta=null;function ck(){return ta=ta||document.head.querySelector("base"),ta?ta.getAttribute("href"):null}function lk(e){return new URL(e,document.baseURI).pathname}var uk=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),L0=["alt","control","meta","shift"],dk={"\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"},fk={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},j0=(()=>{class e extends Js{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),L0.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=dk[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),L0.forEach(s=>{if(s!==o){let a=fk[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(k(ve))};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function hk(e,n,t){return Z(this,null,function*(){let r=I({rootComponent:e},pk(n,t));return t0(r)})}function pk(e,n){return{platformRef:n?.platformRef,appProviders:[...Dk,...e?.providers??[]],platformProviders:yk}}function gk(){tu.makeCurrent()}function mk(){return new Ht}function vk(){return Zh(document),document}var yk=[{provide:Ms,useValue:R0},{provide:gl,useValue:gk,multi:!0},{provide:ve,useFactory:vk}];var Dk=[{provide:as,useValue:"root"},{provide:Ht,useFactory:mk},{provide:eu,useClass:Kl,multi:!0},{provide:eu,useClass:j0,multi:!0},dg,lg,cg,{provide:go,useExisting:dg},{provide:Eo,useClass:uk},[]];var Ze=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
5`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var ru=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},ou=class{encodeKey(n){return V0(n)}encodeValue(n){return V0(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Ik(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var Ck=/%(\d[a-f0-9])/gi,bk={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function V0(e){return encodeURIComponent(e).replace(Ck,(n,t)=>bk[t]??n)}function nu(e){return`${e}`}var tt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new ou,n.fromString){if(n.fromObject)throw new _(2805,!1);this.map=Ik(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(nu):[nu(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEac
vendor: 4,145 bytes, line 5
5h(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(nu(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(nu(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function Ek(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function B0(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function U0(e){return typeof Blob<"u"&&e instanceof Blob}function H0(e){return typeof FormData<"u"&&e instanceof FormData}function wk(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var $0="Content-Type",z0="Accept",G0="text/plain",W0="application/json",_k=`${W0}, ${G0}, */*`,wo=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(Ek(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new _(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new Ze,this.context??=new ru,!this.params)this.params=new tt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||B0(this.body)||U0(this.body)||H0(this.body)||wk(this.body)?this.body:this.body instanceof tt?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||H0(this.body)?null:U0(this.body)?this.body.type||null:B0(this.body)?null:typeof this.body=="string"?G0:this.body instanceof tt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?W0:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.referrer??this.referrer,p=n.integrity||this.integrity,h=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,M=n.timeout??this.timeout,D=n.body!==void 0?n.body:this.body,N=n.withCredentials??this.withCredentials,O=n.reportProgress??this.reportProgress,ae=n.headers||this.headers,ee=n.params||this.params,Je=n.context??this.context;return n.setHeaders!==void 0&&(ae=Object.keys(n.setHeaders).reduce((De,pt)=>De.set(pt,n.setHeaders[pt]),ae)),n.setParams&&(ee=Object.keys(n.setParams).reduce((De,pt)=>De.set(pt,n.setParams[pt]),ee)),new e(t,r,D,{params:ee,headers:ae,context:Je,reportProgress:O,responseType:o,withCredentials:N,transferCache:m,keepalive:i,cache:a,priority:s,timeout:M,mode:c,redirect:l,credentials:u,referrer:d,integrity:p,referrerPolicy:h})}},tr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Re
vendor: 4,952 bytes, line 5
5sponse=4]="Response",e[e.User=5]="User",e})(tr||{}),Ci=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new Ze,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},iu=class e extends Ci{constructor(n={}){super(n)}type=tr.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},bi=class e extends Ci{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=tr.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},nr=class extends Ci{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Sk=200,Tk=204;var Mk=new R("");var Ak=/^\)\]\}',?\n/;var hg=(()=>{class e{xhrFactory;tracingService=g(Nn,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new _(-2800,!1);let r=this.xhrFactory;return P(null).pipe(ze(()=>new G(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((D,N)=>s.setRequestHeader(D,N.join(","))),t.headers.has(z0)||s.setRequestHeader(z0,_k),!t.headers.has($0)){let D=t.detectContentTypeHeader();D!==null&&s.setRequestHeader($0,D)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let D=t.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let D=s.statusText||"OK",N=new Ze(s.getAllResponseHeaders()),O=s.responseURL||t.url;return c=new iu({headers:N,status:s.status,statusText:D,url:O}),c},u=this.maybePropagateTrace(()=>{let{headers:D,status:N,statusText:O,url:ae}=l(),ee=null;N!==Tk&&(ee=typeof s.response>"u"?s.responseText:s.response),N===0&&(N=ee?Sk:0);let Je=N>=200&&N<300;if(t.responseType==="json"&&typeof ee=="string"){let De=ee;ee=ee.replace(Ak,"");try{ee=ee!==""?JSON.parse(ee):null}catch(pt){ee=De,Je&&(Je=!1,ee={error:pt,text:ee})}}Je?(i.next(new bi({body:ee,headers:D,status:N,statusText:O,url:ae||void 0})),i.complete()):i.error(new nr({error:ee,headers:D,status:N,statusText:O,url:ae||void 0}))}),d=this.maybePropagateTrace(D=>{let{url:N}=l(),O=new nr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:N||void 0});i.error(O)}),p=d;t.timeout&&(p=this.maybePropagateTrace(D=>{let{url:N}=l(),O=new nr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:N||void 0});i.error(O)}));let h=!1,m=this.maybePropagateTrace(D=>{h||(i.next(l()),h=!0);let N={type:tr.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(N.total=D.total),t.responseType==="text"&&s.responseText&&(N.partialText=s.responseText),i.next(N)}),M=this.maybePropagateTrace(D=>{let N={type:tr.UploadProgress,loaded:D.loaded};D.lengthComputable&&(N.total=D.total),i.next(N)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",M)),s.send(a),i.next({type:tr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",M)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(k(Eo))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xk(e,n){return n(e)}function Rk(e,n,t){return(r,o)=>We(t,()=>n(r,i=>e(i,o)))}var pg=new R(""),gg=new R("",{factory:()=>[]}),q0=new R(""),Z0=new R("",{factory:()=>!0});var mg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=k(hg),o},providedIn:"root"})}return e})();var su=(()=>{class e{backend;injector;chain=null;pendingTasks=g(ri);contributeToStability=g(Z0);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(gg),...this.injector.get(q0,[])])
5);this.chain=r.reduceRight((o,i)=>Rk(o,i,this.injector),xk)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(zo(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(k(mg),k(ce))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=k(su),o},providedIn:"root"})}return e})();function fg(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var Lt=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof wo)i=t;else{let c;o.headers instanceof Ze?c=o.headers:c=new Ze(o.headers);let l;o.params&&(o.params instanceof tt?l=o.params:l=new tt({fromObject:o.params})),i=new wo(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=P(i).pipe(vr(c=>this.handler.handle(c)));if(t instanceof wo||o.observe==="events")return s;let a=s.pipe(Ie(c=>c instanceof bi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(te(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new _(2806,!1);return c.body}));case"blob":return a.pipe(te(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new _(2807,!1);return c.body}));case"text":return a.pipe(te(c=>{if(c.body!==null&&typeof c.body!="string")throw new _(2808,!1);return c.body}));default:return a.pipe(te(c=>c.body))}case"response":return a;default:throw new _(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new tt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,fg(o,r))}post(t,r,o={}){return this.request("POST",t,fg(o,r))}put(t,r,o={}){return this.request("PUT",t,fg(o,r))}static \u0275fac=function(r){return new(r||e)(k(vg))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Nk=new R("",{factory:()=>!0}),kk="XSRF-TOKEN",Ok=new R("",{factory:()=>kk}),Pk="X-XSRF-TOKEN",Fk=new R("",{factory:()=>Pk}),Lk=(()=>{class e{cookieName=g(Ok);doc=g(ve);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ks(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Q0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=k(Lk),o},providedIn:"root"})}return e})();function jk(e,n){if(!g(Nk)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=g(Xn).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch(o){return n(e)}let t=g(Q0).getToken(),r=g(Fk);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var yg=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(yg||{});function Vk(e,n){return{\u0275kind:e,\u0275providers:n}}function Bk(...e){let n=[Lt,su,{provide:vg,useExisting:su},{provide:mg,useFactory:()=>g(Mk,{optional:!0})??g(hg)},{provide:gg,useValue:jk,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return _n(n)}function Uk(e){return Vk(yg.Interceptors,e.map(n=>({provide:gg,useValue:n,multi:!0})))}var Hk=new R(""),$k="b",zk="h",Gk="s",Wk="st",qk="u",Zk="rt",Qk=new R(""),Yk=["GET","HEAD"];function Kk(e,n){let s=n,{isCacheActive:t}=s,r=Ui(s,["isCacheActive"]),{transferCache:o,method:i}=e;return!(!t||o===!1||eO(e)||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!Yk.includes(i)||!r.includeRequestsWithAuthHeaders&&Xk(e)||nO(e.headers)||rO(e.cache)||r.f
5ilter?.(e)===!1)}function Jk(e,n,t,r,o,i=!1){if(!i&&!Kk(e,n))return null;if(r)throw new _(2803,!1);if(!o){let M=e.url;o=oO(e,M)}let s=t.get(o,null);if(!s)return null;let{[$k]:a,[Zk]:c,[zk]:l,[Gk]:u,[Wk]:d,[qk]:p}=s,h=a;switch(c){case"arraybuffer":h=K0(a);break;case"blob":h=new Blob([K0(a)]);break}let m=new Ze(l);return new bi({body:h,headers:m,status:u,statusText:d,url:p})}function Xk(e){let n=e.headers;return n.has("authorization")||n.has("proxy-authorization")||n.has("cookie")}function eO(e){let{withCredentials:n,credentials:t}=e;return n||t==="include"||t==="same-origin"}var tO=new Set(["no-store","private","no-cache"]);function nO(e){let n=e.get("cache-control");return n?n.split(",").some(t=>{let r=t.split("=",1)[0].trim().toLowerCase();return tO.has(r)}):!1}function rO(e){return e==="no-cache"||e==="no-store"}function Y0(e){return[...e.keys()].sort().map(n=>`${n}=${e.getAll(n)}`).join("&")}function oO(e,n){let{params:t,method:r,responseType:o}=e,i=Y0(t),s=e.serializeBody();s instanceof URLSearchParams?s=Y0(s):typeof s!="string"&&(s="");let a=[r,o,n,s,i].join("|"),c=sO(a);return c}function K0(e){let n=atob(e);return Uint8Array.from(n,r=>r.charCodeAt(0)).buffer}var iO=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),J0;function sO(e){J0??=new TextEncoder;let n=J0.encode(e),t=1779033703,r=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,l=1541459225,u=n.length*8,d=(n.length+8>>6)+1<<6,p=new Uint8Array(d);p.set(n),p[n.length]=128;let h=new DataView(p.buffer),m=u>>>0,M=u/4294967296>>>0;h.setUint32(d-8,M,!1),h.setUint32(d-4,m,!1);let D=new Uint32Array(64);for(let N=0;N<d;N+=64){for(let Xe=0;Xe<16;Xe++)D[Xe]=h.getUint32(N+Xe*4,!1);for(let Xe=16;Xe<64;Xe++){let Vr=D[Xe-15],gd=((Vr>>>7|Vr<<25)^(Vr>>>18|Vr<<14)^Vr>>>3)>>>0,sr=D[Xe-2],md=((sr>>>17|sr<<15)^(sr>>>19|sr<<13)^sr>>>10)>>>0;D[Xe]=D[Xe-16]+gd+D[Xe-7]+md>>>0}let O=t,ae=r,ee=o,Je=i,De=s,pt=a,ka=c,pd=l;for(let Xe=0;Xe<64;Xe++){let Vr=((De>>>6|De<<26)^(De>>>11|De<<21)^(De>>>25|De<<7))>>>0,gd=(De&pt^~De&ka)>>>0,sr=pd+Vr+gd+iO[Xe]+D[Xe]>>>0,md=((O>>>2|O<<30)^(O>>>13|O<<19)^(O>>>22|O<<10))>>>0,M_=(O&ae^O&ee^ae&ee)>>>0,A_=md+M_>>>0;pd=ka,ka=pt,pt=De,De=Je+sr>>>0,Je=ee,ee=ae,ae=O,O=sr+A_>>>0}t=t+O>>>0,r=r+ae>>>0,o=o+ee>>>0,i=i+Je>>>0,s=s+De>>>0,a=a+pt>>>0,c=c+ka>>>0,l=l+pd>>>0}return[t,r,o,i,s,a,c,l].map(N=>N.toString(16).padStart(8,"0")).join("")}var FZ=(()=>{let e=au("json");return e.arrayBuffer=au("arraybuffer"),e.blob=au("blob"),e.text=au("text"),e})();function au(e){return function(t,r){let o=r?.injector??g(re),i=o.get(Qk,null,{optional:!0}),s=o.get(Qh,null,{optional:!0}),a=o.get(Hk,null,{optional:!0}),c=l=>{if(i&&s&&l){let u=Jk(l,i,s,a);if(u)try{let d=u.body,p=r?.parse?r.parse(d):d;return Y({value:p})}catch(d){}}};return new Dg(o,()=>aO(t,e),r?.defaultValue,r?.debugName,r?.parse,r?.equal,c)}}function aO(e,n){let t=typeof e=="function"?e():e;if(t===void 0)return;typeof t=="string"&&(t={url:t});let r=t.headers instanceof Ze?t.headers:new Ze(t.headers),o=t.params instanceof tt?t.params:new tt({fromObject:t.params});return new wo(t.method??"GET",t.url,t.body??null,{headers:r,params:o,reportProgress:t.reportProgress,withCredentials:t.withCredentials,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,responseType:n,context:t.context,transferCache:t.transferCache,credentials:t.credentials,referrer:t.referrer,referrerPolicy:t.referrerPolicy,integrity:t.integrity,timeout:t.timeout})}var Dg=class extends $s{client;_headers=Jn({source:this.extRequest,computation:()=>{}});
5_progress=Jn({source:this.extRequest,computation:()=>{}});_statusCode=Jn({source:this.extRequest,computation:()=>{}});headers=Ke(()=>this.status()==="resolved"||this.status()==="error"?this._headers():void 0);progress=this._progress.asReadonly();statusCode=this._statusCode.asReadonly();constructor(n,t,r,o,i,s,a){super(t,({params:c,abortSignal:l})=>{let u,d=()=>u.unsubscribe();l.addEventListener("abort",d);let p=Y({value:void 0}),h,m=new Promise(D=>h=D),M=D=>{p.set(D),h?.(p),h=void 0};return u=this.client.request(c).subscribe({next:D=>{switch(D.type){case tr.Response:this._headers.set(D.headers),this._statusCode.set(D.status);try{M({value:i?i(D.body):D.body})}catch(N){M({error:Nl(N)})}break;case tr.DownloadProgress:this._progress.set(D);break}},error:D=>{D instanceof nr&&(this._headers.set(D.headers),this._statusCode.set(D.status)),M({error:D}),l.removeEventListener("abort",d)},complete:()=>{h&&M({error:new _(991,!1)}),l.removeEventListener("abort",d)}}),m},r,s,o,n,a),this.client=n.get(Lt)}set(n){super.set(n),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}};var eE=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(k(ve))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var cu=class{get config(){return window.config}};var Ig=class extends cu{constructor(){super(),this.production=!0,this.name="pro"}},ft=new Ig;var $="primary",ha=Symbol("RouteTitle"),_g=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function So(e){return new _g(e)}function Cg(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function cE(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},l=e.slice(0,r.length);return Cg(r,l,c)?{consumed:l,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!Cg(i,e.slice(0,i.length),a)||!Cg(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function pu(e){return new Promise((n,t)=>{e.pipe(Ye()).subscribe({next:r=>n(r),error:r=>t(r)})})}function lO(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!On(e[t],n[t]))return!1;return!0}function On(e,n){let t=e?Sg(e):void 0,r=n?Sg(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!lE(e[o],n[o]))return!1;return!0}function Sg(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function lE(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function uO(e){return e.length>0?e[e.length-1]:null}function To(e){return sc(e)?e:Rr(e)?he(Promise.resolve(e)):P(e)}function uE(e){return sc(e)?pu(e):Promise.resolve(e)}var dO={exact:hE,subset:pE},dE={exact:fO,subset:hO,ignored:()=>!0},fE={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Tg={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function tE(e,n,t){return dO[t.paths](e.root,n.root,t.matrixParams)&&dE[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function fO(e,n){return On(e,n)}function hE(e,n,t){if(!_o(e.segments,n.segments)||!du(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!hE(e.children[r],n.children[r],t))return!1;return!0}function hO(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>lE(e[t],n[t]))}function pE(e,n,t){return gE(e,n,n.segments,t)}function gE(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);
vendor: 10,898 bytes, line 5
5return!(!_o(o,t)||n.hasChildren()||!du(o,t,r))}else if(e.segments.length===t.length){if(!_o(e.segments,t)||!du(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!pE(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!_o(e.segments,o)||!du(e.segments,o,r)||!e.children[$]?!1:gE(e.children[$],n,i,r)}}function du(e,n,t){return n.every((r,o)=>dE[t](e[o].parameters,r.parameters))}var Vt=class{root;queryParams;fragment;_queryParamMap;constructor(n=new le([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=So(this.queryParams),this._queryParamMap}toString(){return mO.serialize(this)}},le=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fu(this)}},Or=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=So(this.parameters),this._parameterMap}toString(){return vE(this)}};function pO(e,n){return _o(e,n)&&e.every((t,r)=>On(t.parameters,n[r].parameters))}function _o(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function gO(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===$&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==$&&(t=t.concat(n(o,r)))}),t}var Fn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>new or,providedIn:"root"})}return e})(),or=class{parse(n){let t=new Ag(n);return new Vt(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${na(n.root,!0)}`,r=DO(n.queryParams),o=typeof n.fragment=="string"?`#${vO(n.fragment)}`:"";return`${t}${r}${o}`}},mO=new or;function fu(e){return e.segments.map(n=>vE(n)).join("/")}function na(e,n){if(!e.hasChildren())return fu(e);if(n){let t=e.children[$]?na(e.children[$],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==$&&r.push(`${o}:${na(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=gO(e,(r,o)=>o===$?[na(e.children[$],!1)]:[`${o}:${na(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[$]!=null?`${fu(e)}/${t[0]}`:`${fu(e)}/(${t.join("//")})`}}function mE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lu(e){return mE(e).replace(/%3B/gi,";")}function vO(e){return encodeURI(e)}function Mg(e){return mE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hu(e){return decodeURIComponent(e)}function nE(e){return hu(e.replace(/\+/g,"%20"))}function vE(e){return`${Mg(e.path)}${yO(e.parameters)}`}function yO(e){return Object.entries(e).map(([n,t])=>`;${Mg(n)}=${Mg(t)}`).join("")}function DO(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${lu(t)}=${lu(o)}`).join("&"):`${lu(t)}=${lu(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var IO=/^[^\/()?;#]+/;function bg(e){let n=e.match(IO);return n?n[0]:""}var CO=/^[^\/()?;=#]+/;function bO(e){let n=e.match(CO);return n?n[0]:""}var EO=/^[^=?&#]+/;function wO(e){let n=e.match(EO);return n?n[0]:""}var _O=/^[^&#]+/;function SO(e){let n=e.match(_O);return n?n[0]:""}var Ag=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new le([],{}):new le([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new _(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(o[$]=new le(t,r)),o}parseSegment(){let n=bg(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new _(4009,!1);return this.capture(n),new Or(hu(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=bO(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=bg(this.remaining);o&&(r=o,this.capture(r))}n[hu(t)]=hu(r)}parseQueryParam(n){let t=wO(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=SO(this.remaining);s&&(r=s,this.capture(r))}let o=nE(t),i=nE(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=bg(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new _(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=$);let a=this.parseChildren(t+1);r[s??$]=Object.keys(a).length===1&&a[$]?a[$]:new le([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new _(4011,!1)}};function yE(e){return e.segments.length>0?new le([],{[$]:e}):e}function DE(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=DE(o);if(r===$&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new le(e.segments,n);return TO(t)}function TO(e){if(e.numberOfChildren===1&&e.children[$]){let n=e.children[$];return new le(e.segments.concat(n.segments),n.children)}return e}function Pr(e){return e instanceof Vt}function IE(e,n,t=null,r=null,o=new or){let i=CE(e);return bE(i,n,t,r,o)}function CE(e){let n;function t(i){let s={};for(let c of i.children){let l=t(c);s[c.outlet]=l}let a=new le(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=yE(r);return n??o}function bE(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return Eg(i,i,i,t,r,o);let s=MO(n);if(s.toRoot())return Eg(i,i,new le([],{}),t,r,o);let a=AO(s,i,e),c=a.processChildren?oa(a.segmentGroup,a.index,s.commands):wE(a.segmentGroup,a.index,s.commands);return Eg(i,a.segmentGroup,c,t,r,o)}function gu(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function sa(e){return typeof e=="object"&&e!=null&&e.outlets}function rE(e,n,t){e||="\u0275";let r=new Vt;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function Eg(e,n,t,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>rE(l,d,i)):rE(l,u,i);let a;e===n?a=t:a=EE(e,n,t);let c=yE(DE(a));return new Vt(c,s,o)}function EE(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=EE(i,n,t)}),new le(e.segments,r)}var mu=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&gu(r[0]))throw new _(4003,!1);let o=r.find(sa);if(o&&o!==uO(r))throw new _(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function MO(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new mu(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new mu(t,n,r)}var wi=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function AO(e,n,t){if(e.isAbsolute)return new wi(n,!0,0);if(!t)return new wi(n,!1,NaN);if(t.parent===null)return new wi(t,!0,0);let r=gu(e.commands[0])?0:1,o=t.segments.length-1+r;return xO(t,o,e.numberOfDoubleDots)}function xO(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new _(4005,!1);o=r.segments.length}return new wi(r,!1,o-i)}function RO(e){return sa(e[0])?e[0].outlets:{[$]:e}}function wE(e,n,t){if(e??=new le([],{}),e.segments.length===0&&e.hasChildren())return oa(e,n,t);let r=NO(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new le(e.segments.slice(0,r.pathIndex),{});return i.children[$]=new le(e.segments.slice(r.pathIndex),e.children),oa(i,0,o)}else return r.match&&o.length===0?new le(e.segments,{}):r.match&&!e.hasChildren()?xg(e,n,t):r.match?oa(e,0,o):xg(e,n,t)}function oa(e,n,t){if(t.length===0)return new le(e.segments,{});{let r=RO(t),o={};if(Object.keys(r).some(i=>i!==$)&&e.children[$]&&e.numberOfChildren===1&&e.children[$].segments.length===0){let i=oa(e.children[$],n,t);return new le(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=wE(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new le(e.segments,o)}}function NO(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(sa(a))break;let c=`${a}`,l=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!iE(c,l,s))return i;r+=2}else{if(!iE(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function xg(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(sa(i)){let c=kO(i.outlets);return new le(r,c)}if(o===0&&gu(t[0])){let c=e.segments[n];r.push(new Or(c.path,oE(t[0]))),o++;continue}let s=sa(i)?i.outlets[$]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&gu(a)?(r.push(new Or(s,oE(a))),o+=2):(r.push(new Or(s,{})),o++)}return new le(r,{})}function kO(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=xg(new le([],{}),0,r))}),n}function oE(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function iE(e,n,t){return e==t.path&&On(n,t.parameters)}var _i="imperative",Qe=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.Re
5solveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Qe||{}),Bt=class{id;url;constructor(n,t){this.id=n,this.url=t}},Xt=class extends Bt{type=Qe.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},en=class extends Bt{urlAfterRedirects;type=Qe.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ht=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(ht||{}),Ti=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Ti||{}),Tt=class extends Bt{reason;code;type=Qe.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function _E(e){return e instanceof Tt&&(e.code===ht.Redirect||e.code===ht.SupersededByNewNavigation)}var Pn=class extends Bt{reason;code;type=Qe.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},ir=class extends Bt{error;target;type=Qe.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},aa=class extends Bt{urlAfterRedirects;state;type=Qe.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vu=class extends Bt{urlAfterRedirects;state;type=Qe.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yu=class extends Bt{urlAfterRedirects;state;shouldActivate;type=Qe.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Du=class extends Bt{urlAfterRedirects;state;type=Qe.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Iu=class extends Bt{urlAfterRedirects;state;type=Qe.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cu=class{route;type=Qe.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bu=class{route;type=Qe.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Eu=class{snapshot;type=Qe.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},wu=class{snapshot;type=Qe.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_u=class{snapshot;type=Qe.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Su=class{snapshot;type=Qe.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mi=class{routerEvent;position;anchor;scrollBehavior;type=Qe.Scroll;constructor(n,t,r,o){this.routerEvent=n,this.position=t,this.anchor=r,this.scrollBehavior=o}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Ai=class{},ca=class{},xi=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function OO(e){return!(e instanceof Ai)&&!(e instanceof xi)&&!(e instanceof ca)}var Tu=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Ln(this.rootInjector)}},Ln=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new Tu(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(k(ce))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mu=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
vendor: 16,302 bytes, line 5
5parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Rg(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Rg(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Ng(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Ng(n,this._root).map(t=>t.value)}};function Rg(e,n){if(e===n.value)return n;for(let t of n.children){let r=Rg(e,t);if(r)return r}return null}function Ng(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Ng(e,t);if(r.length)return r.unshift(n),r}return[]}var jt=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Ei(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var la=class extends Mu{snapshot;constructor(n,t){super(n),this.snapshot=t,Ug(this,n)}toString(){return this.snapshot.toString()}};function SE(e,n){let t=PO(e,n),r=new Ve([new Or("",{})]),o=new Ve({}),i=new Ve({}),s=new Ve({}),a=new Ve(""),c=new nt(r,o,s,a,i,$,e,t.root);return c.snapshot=t.root,new la(new jt(c,[]),t)}function PO(e,n){let t={},r={},o={},s=new Ri([],t,o,"",r,$,e,null,{},n);return new ua("",new jt(s,[]))}var nt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(te(l=>l[ha]))??P(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}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(te(n=>So(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(te(n=>So(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Bg(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:I(I({},n.params),e.params),data:I(I({},n.data),e.data),resolve:I(I(I(I({},e.data),n.data),o?.data),e._resolvedData)}:r={params:I({},e.params),data:I({},e.data),resolve:I(I({},e.data),e._resolvedData??{})},o&&ME(o)&&(r.resolve[ha]=o.title),r}var Ri=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[ha]}constructor(n,t,r,o,i,s,a,c,l,u){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}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??=So(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=So(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},ua=class extends Mu{url;constructor(n,t){super(t),this.url=n,Ug(this,t)}toString(){return TE(this._root)}};function Ug(e,n){n.value._routerState=e,n.children.forEach(t=>Ug(e,t))}function TE(e){let n=e.children.length>0?` { ${e.children.map(TE).join(", ")} } `:"";return`${e.value}${n}`}function wg(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,On(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),On(n.params,t.params)||e.paramsSubject.next(t.params),lO(n.url,t.url)||e.urlSubject.next(t.url),On(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function kg(e,n){let t=On(e.params,n.params)&&pO(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||kg(e.parent,n.parent))}function ME(e){return typeof e.title=="string"||e.title===null}var AE=new R(""),Hg=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;activateEvents=new pe;deactivateEvents=new pe;attachEvents=new pe;detachEvents=new pe;routerOutletData=Co();parentContexts=g(Ln);location=g(kt);changeDetector=g(b);inputBinder=g(pa,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new _(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new _(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new _(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new _(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Og(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=U({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[lt]})}return e})(),Og=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===nt?this.route:n===Ln?this.childContexts:n===AE?this.outletData:this.parent.get(n,t)}},pa=new R(""),$g=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=Yr([r.queryParams,r.params,r.data]).pipe(ze(([i,s,a],c)=>(a=I(I(I({},i),s),a),c===0?P(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=Gp(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),zg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=C({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Al(0,"router-outlet")},dependencies:[Hg],encapsulation:2})}return e})();function Gg(e){let n=e.children&&e.children.map(Gg),t=n?V(I({},e),{children:n}):I({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==$&&(t.component=zg),t}function FO(e,n,t){let r=da(e,n._root,t?t._root:void 0);return new la(r,n)}function da(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=LO(e,n,t);return new jt(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>da(e,a)),s}}let r=jO(n.value),o=n.children.map(i=>da(e,i));return new jt(r,o)}}function LO(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return da(e,r,o);return da(e,r)})}function jO(e){return new nt(new Ve(e.url),new Ve(e.params),new Ve(e.queryParams),new Ve(e.fragment),new Ve(e.data),e.outlet,e.component,e)}var Ni=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},xE="ngNavigationCancelingError";function Au(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=Pr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=RE(!1,ht.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function RE(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[xE]=!0,t.cancellationCode=n,t}function VO(e){return NE(e)&&Pr(e.url)}function NE(e){return!!e&&e[xE]}var Pg=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),wg(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Ei(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Ei(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Ei(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Ei(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Su(i.value.snapshot))}),n.children.length&&this.forwardEvent(new wu(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(wg(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),wg(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},xu=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Si=class{component;route;constructor(n,t){this.component=n,this.route=t}};function BO(e,n,t){let r=e._root,o=n?n._root:null;return ra(r,o,t,[r.value])}function UO(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function Oi(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!pf(e)?e:n.get(e):r}function ra(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ei(n);return e.children.forEach(s=>{HO(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ia(a,t.getContext(s),o)),o}function HO(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=$O(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new xu(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ra(e,n,a?a.children:null,r,o):ra(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Si(a.outlet.component,s))}else s&&ia(n,a,o),o.canActivateChecks.push(new xu(r)),i.component?ra(e,null,a?a.children:null,r,o):ra(e,null,t,r,o);return o}function $O(e,n,t){if(typeof t=="function")return We(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!_o(e.url,n.url);case"pathParamsOrQueryParamsChange":return!_o(e.url,n.url)||!On(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!kg(e,n)||!On(e.queryParams,n.queryParams);default:return!kg(e,n)}}function ia(e,n,t){let r=Ei(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?ia(s,n.children.getContext(i),t):ia(s,null,t):ia(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Si(n.outlet.component,o)):t.canDeactivateChecks.push(new Si(null,o)):t.canDeactivateChecks.push(new Si(null,o))}function ga(e){return typeof e=="function"}function zO(e){return typeof e=="boolean"}function GO(e){return e&&ga(e.canLoad)}function WO(e){return e&&ga(e.canActivate)}function qO(e){return e&&ga(e.canActivateChild)}function ZO(e){return e&&ga(e.canDeactivate)}function QO(e){return e&&ga(e.canMatch)}function kE(e){return e instanceof Bn||e?.name==="EmptyError"}var uu=Symbol("INITIAL_VALUE");function ki(){return ze(e=>Yr(e.map(n=>n.pipe(bt(1),Kd(uu)))).pipe(te(n=>{for(let t of n)if(t!==!0){if(t===uu)return uu;if(t===!1||YO(t))return t}return!0}),Ie(n=>n!==uu),bt(1)))}function YO(e){return Pr(e)||e instanceof Ni}function OE(e){return e.aborted?P(void 0).pipe(bt(1)):new G(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function PE(e){return Go(OE(e))}function KO(e){return Ae(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?P(V(I({},n),{guardsResult:!0})):JO(i,t,r).pipe(Ae(s=>s&&zO(s)?XO(t,o,e):P(s)),te(s=>V(I({},n),{guardsResult:s})))})}function JO(e,n,t){return he(e).pipe(Ae(r=>o1(r.component,r.route,t,n)),Ye(r=>r!==!0,!0))}function XO(e,n,t){return he(n).pipe(vr(r=>mr(t1(r.route.parent,t),e1(r.route,t),r1(e,r.path),n1(e,r.route))),Ye(r=>r!==!0,!0))}function e1(e,n){return e!==null&&n&&n(new _u(e)),P(!0)}function t1(e,n){return e!==null&&n&&n(new Eu(e)),P(!0)}
5function n1(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return P(!0);let r=t.map(o=>Zi(()=>{let i=n._environmentInjector,s=Oi(o,i),a=WO(s)?s.canActivate(n,e):We(i,()=>s(n,e));return To(a).pipe(Ye())}));return P(r).pipe(ki())}function r1(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>UO(i)).filter(i=>i!==null).map(i=>Zi(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=Oi(a,c),u=qO(l)?l.canActivateChild(t,e):We(c,()=>l(t,e));return To(u).pipe(Ye())});return P(s).pipe(ki())}));return P(o).pipe(ki())}function o1(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return P(!0);let i=o.map(s=>{let a=n._environmentInjector,c=Oi(s,a),l=ZO(c)?c.canDeactivate(e,n,t,r):We(a,()=>c(e,n,t,r));return To(l).pipe(Ye())});return P(i).pipe(ki())}function i1(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return P(!0);let s=i.map(a=>{let c=Oi(a,e),l=GO(c)?c.canLoad(n,t):We(e,()=>c(n,t)),u=To(l);return o?u.pipe(PE(o)):u});return P(s).pipe(ki(),FE(r))}function FE(e){return Fd(mt(n=>{if(typeof n!="boolean")throw Au(e,n)}),te(n=>n===!0))}function s1(e,n,t,r,o,i){let s=n.canMatch;if(!s||s.length===0)return P(!0);let a=s.map(c=>{let l=Oi(c,e),u=QO(l)?l.canMatch(n,t,o):We(e,()=>l(n,t,o));return To(u).pipe(PE(i))});return P(a).pipe(ki(),FE(r))}var rr=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},fa=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function a1(e){throw new _(4e3,!1)}function c1(e){throw RE(!1,ht.GuardRejected)}var Fg=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){return Z(this,null,function*(){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[$])throw a1(`${n.redirectTo}`);o=o.children[$]}})}applyRedirectCommands(n,t,r,o,i){return Z(this,null,function*(){let s=yield l1(t,o,i);if(s instanceof Vt)throw new fa(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new fa(a);return a})}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Vt(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new le(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new _(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function l1(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e;return pu(To(We(t,()=>r(n))))}function u1(e,n){return e.providers&&!e._injector&&(e._injector=pi(e.providers,n,`Route: ${e.path}`)),e._injector??n}function yn(e){return e.outlet||$}function d1(e,n){let t=e.filter(r=>yn(r)===n);return t.push(...e.filter(r=>yn(r)!==n)),t}var Lg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LE(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function f1(e,n,t,r,o,i,s){let a=jE(e,n,t);if(!a.matched)return P(a);let c=LE(i(a));return r=u1(n,r),s1(r,n,t,o,c,s).pipe(te(l=>l===!0?a:I({},Lg)))}function jE(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?I({},Lg):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||cE)(t,e,n);if(!o)return I({},Lg);let i={};Object.entries(o.posParams??{}
5).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?I(I({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function sE(e,n,t,r,o){return t.length>0&&g1(e,t,r,o)?{segmentGroup:new le(n,p1(r,new le(t,e.children))),slicedSegments:[]}:t.length===0&&m1(e,t,r)?{segmentGroup:new le(e.segments,h1(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new le(e.segments,e.children),slicedSegments:t}}function h1(e,n,t,r){let o={};for(let i of t)if(Nu(e,n,i)&&!r[yn(i)]){let s=new le([],{});o[yn(i)]=s}return I(I({},r),o)}function p1(e,n){let t={};t[$]=n;for(let r of e)if(r.path===""&&yn(r)!==$){let o=new le([],{});t[yn(r)]=o}return t}function g1(e,n,t,r){return t.some(o=>!Nu(e,n,o)||!(yn(o)!==$)?!1:!(r!==void 0&&yn(o)===r))}function m1(e,n,t){return t.some(r=>Nu(e,n,r))}function Nu(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function v1(e,n,t){return n.length===0&&!e.children[t]}var jg=class{};function y1(e,n,t,r,o,i,s="emptyOnly",a){return Z(this,null,function*(){return new Vg(e,n,t,r,o,s,i,a).recognize()})}var D1=31,Vg=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Fg(this.urlSerializer,this.urlTree)}noMatchError(n){return new _(4002,`'${n.segmentGroup}'`)}recognize(){return Z(this,null,function*(){let n=sE(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=yield this.match(n),o=new jt(r,t),i=new ua("",o),s=IE(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}})}match(n){return Z(this,null,function*(){let t=new Ri([],Object.freeze({}),Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),$,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,n,$,t),rootSnapshot:t}}catch(r){if(r instanceof fa)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof rr?this.noMatchError(r):r}})}processSegmentGroup(n,t,r,o,i){return Z(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=yield this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof jt?[s]:[]})}processChildren(n,t,r,o){return Z(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=d1(t,c),d=yield this.processSegmentGroup(n,u,l,c,o);s.push(...d)}let a=VE(s);return I1(a),a})}processSegment(n,t,r,o,i,s,a){return Z(this,null,function*(){for(let c of t)try{return yield this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(l){if(l instanceof rr||kE(l))continue;throw l}if(v1(r,o,i))return new jg;throw new rr(r)})}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return Z(this,null,function*(){if(yn(r)!==s&&(s===$||!Nu(o,i,r)))throw new rr(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new rr(o)})}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){return Z(this,null,function*(){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=jE(t,o,i);if(!c)throw new rr(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>D1&&(this.allowRedirects=!1));let h=this.createSnapshot(n,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let m=yield this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,LE(h),n),M=yield this.applyRedirects.lineralizeSegments(o,m);return this.processSegment(n,r,t,M.concat(p),s,!1,a)})}createSnapshot(n,t,r,o,i){let s=new Ri(r,o,Object.freeze(I({},this.urlTree.queryParams)),this.urlTree.fragment,b1(t),yn(t),t.component??t._loadedComponent??null,t,E1(t),n),a=Bg(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(n,t,r,o,i,s){return Z(this,null,function*(){if(this.abort
5Signal.aborted)throw new Error(this.abortSignal.reason);let a=ae=>this.createSnapshot(n,r,ae.consumedSegments,ae.parameters,s),c=yield pu(f1(t,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(t.children={}),!c?.matched)throw new rr(t);n=r._injector??n;let{routes:l}=yield this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:d,consumedSegments:p,remainingSegments:h}=c,m=this.createSnapshot(n,r,p,d,s),{segmentGroup:M,slicedSegments:D}=sE(t,p,h,l,i);if(D.length===0&&M.hasChildren()){let ae=yield this.processChildren(u,l,M,m);return new jt(m,ae)}if(l.length===0&&D.length===0)return new jt(m,[]);let N=yn(r)===i,O=yield this.processSegment(u,l,M,D,N?$:i,!0,m);return new jt(m,O instanceof jt?[O]:[])})}getChildConfig(n,t,r){return Z(this,null,function*(){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield pu(i1(n,t,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw c1(t)}return{routes:[],injector:n}})}};function I1(e){e.sort((n,t)=>n.value.outlet===$?-1:t.value.outlet===$?1:n.value.outlet.localeCompare(t.value.outlet))}function C1(e){let n=e.value.routeConfig;return n&&n.path===""}function VE(e){let n=[],t=new Set;for(let r of e){if(!C1(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=VE(r.children);n.push(new jt(r.value,o))}return n.filter(r=>!t.has(r))}function b1(e){return e.data||{}}function E1(e){return e.resolve||{}}function w1(e,n,t,r,o,i,s){return Ae(a=>Z(null,null,function*(){let{state:c,tree:l}=yield y1(e,n,t,r,a.extractedUrl,o,i,s);return V(I({},a),{targetSnapshot:c,urlAfterRedirects:l})}))}function _1(e){return Ae(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return P(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of BE(a))i.add(c);let s=0;return he(i).pipe(vr(a=>o.has(a)?S1(a,t,e):(a.data=Bg(a,a.parent,e).resolve,P(void 0))),mt(()=>s++),dc(1),Ae(a=>s===i.size?P(n):$e))})}function BE(e){let n=e.children.map(t=>BE(t)).flat();return[e,...n]}function S1(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!ME(r)&&(o[ha]=r.title),Zi(()=>(e.data=Bg(e,e.parent,t).resolve,T1(o,e,n).pipe(te(i=>(e._resolvedData=i,e.data=I(I({},e.data),i),null)))))}function T1(e,n,t){let r=Sg(e);if(r.length===0)return P({});let o={};return he(r).pipe(Ae(i=>M1(e[i],n,t).pipe(Ye(),mt(s=>{if(s instanceof Ni)throw Au(new or,s);o[i]=s}))),dc(1),te(()=>o),Mt(i=>kE(i)?$e:Qr(i)))}function M1(e,n,t){let r=n._environmentInjector,o=Oi(e,r),i=o.resolve?o.resolve(n,t):We(r,()=>o(n,t));return To(i)}function aE(e){return ze(n=>{let t=e(n);return t?he(t).pipe(te(()=>n)):P(n)})}var Wg=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===$);return r}getResolvedTitleForRoute(t){return t.data[ha]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(UE),providedIn:"root"})}return e})(),UE=(()=>{class e extends Wg{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(k(eE))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fr=new R("",{factory:()=>({})}),Mo=new R(""),ku=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(Pp);loadComponent(t,r){return Z(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Z(this,null,function*(){try{let i=yield uE(We(t,()=>r.loadComponent())),s=yield zE($E(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=Z(this,null,function*(){try{let i=yield HE(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HE(e,n,t,r){return Z(this,null,function*(){let o=yield uE(We(t,()=>e.loadChildren())),i=yield zE($E(o)),s;i instanceof Sl||Array.isArray(i)?s=i:s=yield n.compileModuleAsync(i),r&&r(e);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(t).injector,u=s,c=a.get(Mo,[],{optional:!0,self:!0}).flat()),{routes:c.map(Gg),injector:a,factory:u}})}function A1(e){return e&&typeof e=="object"&&"default"in e}function $E(e){return A1(e)?e.default:e}function zE(e){return Z(this,null,function*(){return e})}var Ou=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(x1),providedIn:"root"})}return e})(),x1=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qg=new R(""),Zg=new R("");function GE(e,n,t){let r=e.get(Zg),o=e.get(ve);
5if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let i,s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),R1(e)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&We(e,()=>c({transition:a,from:n,to:t})),s}function R1(e){return new Promise(n=>{fi({read:()=>setTimeout(n)},{injector:e})})}var N1=()=>{},Qg=new R(""),Pu=(()=>{class e{currentNavigation=Y(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=Y(null);events=new ue;transitionAbortWithErrorSubject=new ue;configLoader=g(ku);environmentInjector=g(ce);destroyRef=g(ct);urlSerializer=g(Fn);rootContexts=g(Ln);location=g(Ft);inputBindingEnabled=g(pa,{optional:!0})!==null;titleStrategy=g(Wg);options=g(Fr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Ou);createViewTransition=g(qg,{optional:!0});navigationErrorHandler=g(Qg,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>P(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Cu(o)),r=o=>this.events.next(new bu(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;Q(()=>{this.transitions?.next(V(I({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new Ve(null),this.transitions.pipe(Ie(r=>r!==null),ze(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return P(r).pipe(ze(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ht.SupersededByNewNavigation),$e;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?V(I({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new Pn(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ti.IgnoredSameUrlNavigation)),a.resolve(!1),$e;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return P(a).pipe(ze(d=>(this.events.next(new Xt(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?$e:Promise.resolve(d))),w1(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),mt(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(p=>(p.finalUrl=d.urlAfterRedirects,p)),this.events.next(new ca)}),ze(d=>he(r.routesRecognizeHandler.deferredHandle??P(void 0)).pipe(te(()=>d))),mt(()=>{let d=new aa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:p,source:h,restoredState:m,extras:M}=a,D=new Xt(d,this.urlSerializer.serialize(p),h,m);this.events.next(D);let N=SE(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=V(I({},a),{targetSnapshot:N,urlAfterRedirects:p,extras:V(I({},M),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(O=>(O.finalUrl=p,O)),P(r)}else return this.events.next(new Pn(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ti.IgnoredByUrlHandlingStrategy)),a.resolve(!1),$e}),te(a=>{let c=new vu(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=V(I({},a),{guards:BO(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),KO(a=>this.events.next(a)),ze(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Au(this.urlSerializer,a.guardsResult);let c=new yu(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return $e;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",ht.GuardRejected),$e;if(a.guards.canActivateChecks.length===0)return P(a);let l=new Du(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return $e;let u=!1;return P(a).pipe(_1(this.paramsInheritanceStrategy),mt({next:()=>{u=!0;let d=new Iu(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>
5{u||this.cancelNavigationTransition(a,"",ht.NoDataFromResolver)}}))}),aE(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let p=u._environmentInjector;d.push(this.configLoader.loadComponent(p,u.routeConfig).then(h=>{u.component=h}))}for(let p of u.children)d.push(...c(p));return d},l=c(a.targetSnapshot.root);return l.length===0?P(a):he(Promise.all(l).then(()=>a))}),aE(()=>this.afterPreactivation()),ze(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?he(l).pipe(te(()=>r)):P(r)}),bt(1),ze(a=>{let c=FO(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=V(I({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new Ai);let l=r.beforeActivateHandler.deferredHandle;return l?he(l.then(()=>a)):P(a)}),mt(a=>{new Pg(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=N1,c)),this.lastSuccessfulNavigation.set(Q(this.currentNavigation)),this.events.next(new en(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),Go(OE(i.signal).pipe(Ie(()=>!o&&!r.targetRouterState),mt(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",ht.Aborted)}))),mt({complete:()=>{o=!0}}),Go(this.transitionAbortWithErrorSubject.pipe(mt(a=>{throw a}))),zo(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",ht.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Mt(a=>{if(o=!0,this.destroyed)return r.resolve(!1),$e;if(NE(a))this.events.next(new Tt(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),VO(a)?this.events.next(new xi(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new ir(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=We(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Ni){let{message:u,cancellationCode:d}=Au(this.urlSerializer,l);this.events.next(new Tt(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new xi(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return $e}))}))}cancelNavigationTransition(t,r,o){let i=new Tt(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Q(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function k1(e){return e!==_i}var WE=new R("");var qE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(O1),providedIn:"root"})}return e})(),Ru=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},O1=(()=>{class e extends Ru{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Fu=(()=>{class e{urlSerializer=g(Fn);options=g(Fr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(Ft);urlHandlingStrategy=g(Ou);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Vt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof Vt?this.urlSerializer.serialize(s):s}routerUrlState(t){return t?.targetBrowserUrl===void 0||t?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(t.finalUrl)}}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=SE(null,g(ce));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:()=>g(P1),providedIn:"root"})}return e})(),P1=(()=>{class e extends Fu{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,r){t instanceof Xt?this.updateStateMemento():t instanceof Pn?this.commitTransition(r):t instanceof aa?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Ai?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Tt&&!_E(t)?this.restoreHistory(r):t instanceof ir?this.restoreHistory(r,!0):t instanceof en&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(t)||s){let c=this.browserPageId,l=I(I({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(t,"",l)}else{let c=I(I({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(t,"",c)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r,o){return this.canceledNavigationResolution==="computed"?I({navigationId:t,\u0275routerPageId:r},this.routerUrlState(o)):I({navigationId:t},this.routerUrlState(o))}static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lu(e,n){e.events.pipe(Ie(t=>t instanceof en||t instanceof Tt||t instanceof ir||t instanceof Pn
5),te(t=>t instanceof en||t instanceof Pn?0:(t instanceof Tt?t.code===ht.Redirect||t.code===ht.SupersededByNewNavigation:!1)?2:1),Ie(t=>t!==2),bt(1)).subscribe(()=>{n()})}var He=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(Tp);stateManager=g(Fu);options=g(Fr,{optional:!0})||{};pendingTasks=g(An);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Pu);urlSerializer=g(Fn);location=g(Ft);urlHandlingStrategy=g(Ou);injector=g(ce);_events=new ue;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(qE);injectorCleanup=g(WE,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(Mo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(pa,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Me;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Q(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Tt&&r.code!==ht.Redirect&&r.code!==ht.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof en)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof xi){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=I({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||k1(o.source)},s);this.scheduleNavigation(a,_i,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}OO(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),_i,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o,i)=>{this.navigateToSyncWithBrowser(t,o,r,i)})}navigateToSyncWithBrowser(t,r,o,i){let s=o?.navigationId?o:null,a=o?.\u0275routerUrl??t;if(o?.\u0275routerUrl&&(i=V(I({},i),{browserUrl:t})),o){let l=I({},o);delete l.navigationId,delete l.\u0275routerPageId,delete l.\u0275routerUrl,Object.keys(l).length!==0&&(i.state=l)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,i).catch(l=>{this.disposed||this.injector.get(xt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Q(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Gg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=I(I({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=CE(p)}
vendor: 1,367 bytes, line 5
5catch(p){(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return bE(d,t,u,l??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=Pr(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,_i,null,r)}navigate(t,r={skipLocationChange:!1}){return F1(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch(r){return this.console.warn($t(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=I({},fE):r===!1?o=I({},Tg):o=I(I({},Tg),r),Pr(t))return tE(this.currentUrlTree,t,o);let i=this.parseUrl(t);return tE(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return Lu(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
5),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function F1(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new _(4008,!1)}var j1=(()=>{class e{router=g(He);stateManager=g(Fu);fragment=Y("");queryParams=Y({});path=Y("");serializer=g(Fn);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof en&&this.updateState()})}updateState(){let{fragment:t,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(o),this.path.set(this.serializer.serialize(new Vt(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),va=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=g(new Ol("href"),{optional:!0});reactiveHref=Jn(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Q(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return Q(this._target)}_target=Y(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return Q(this._queryParams)}_queryParams=Y(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return Q(this._fragment)}_fragment=Y(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return Q(this._queryParamsHandling)}_queryParamsHandling=Y(void 0);set state(t){this._state.set(t)}get state(){return Q(this._state)}_state=Y(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return Q(this._info)}_info=Y(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return Q(this._relativeTo)}_relativeTo=Y(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return Q(this._preserveFragment)}_preserveFragment=Y(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return Q(this._skipLocationChange)}_skipLocationChange=Y(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return Q(this._replaceUrl)}_replaceUrl=Y(!1);isAnchorElement;onChanges=new ue;applicationErrorHandler=g(xt);options=g(Fr,{optional:!0});reactiveRouterState=g(j1);constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=Y(null);set routerLink(t){t==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Pr(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}_urlTree=Ke(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let t=o=>o==="preserve"||o==="merge";(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Pr(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(t,r)=>this.computeHref(t)===this.computeHref(r)});get urlTree(){return Q(this._urlTree)}computeHref(t){return t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}static \u0275fac=function(r){return new(r||e)(f(He),f(nt),pn("tabindex"),f(Nt),f(y),f(wt))};static \u0275dir=U({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&xe("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&gn("href",o.reactiveHref(),tp)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",bo],skipLocationChange:[2,"skipLocationChange","skipLocationChange",bo],replaceUrl:[2,"replaceUrl","replaceUrl",bo],routerLink:"routerLink"},features:[lt]})}return e})();var ma=class{};var ZE=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(Ie(t=>t instanceof en),vr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=pi(i.providers,t,""));let s=i._injector??t;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return he(o).pipe(gr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{if(t.destroyed)return P(null);let o;r.loadChildren&&r.canLoad===void 0?o=he(this.loader.loadChildren(t,r)):o=P(null);let i=o.pipe(Ae(s=>s===null?P(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(t,r);return he([i,s]).pipe(gr())}else return i})}static \u0275fac=function(r){return new(r||e)(k(He),k(ce),k(ma),k(ku))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),QE=new R(""),V1=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=_i;restoredId=0;store={};isHydrating=g(Yh,{optional:!0})??!1;
5urlSerializer=g(Fn);zone=g(v);viewportScroller=g(rg);transitions=g(Pu);constructor(t){this.options=t,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&g(Ot).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Xt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof en?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Pn&&t.code===Ti.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{if(!(t instanceof Mi)||t.scrollBehavior==="manual")return;let r={behavior:"instant"};t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position,r):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(t,r){if(this.isHydrating)return;let o=Q(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>Z(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Mi(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){yp()};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})();function B1(e,...n){return _n([{provide:Mo,multi:!0,useValue:e},[],{provide:nt,useFactory:YE},{provide:vi,multi:!0,useFactory:KE},n.map(t=>t.\u0275providers)])}function YE(){return g(He).routerState.root}function ya(e,n){return{\u0275kind:e,\u0275providers:n}}function KE(){let e=g(re);return n=>{let t=e.get(Ot);if(n!==t.components[0])return;let r=e.get(He),o=e.get(JE);e.get(Kg)===1&&r.initialNavigation(),e.get(tw,null,{optional:!0})?.setUpPreloading(),e.get(QE,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var JE=new R("",{factory:()=>new ue}),Kg=new R("",{factory:()=>1});function XE(){let e=[{provide:Kh,useValue:!0},{provide:Kg,useValue:0},Ml(()=>{let n=g(re);return n.get(qp,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(He),i=n.get(JE);Lu(o,()=>{r(!0)}),n.get(Pu).afterPreactivation=()=>(r(!0),i.closed?P(void 0):i),o.initialNavigation()}))})];return ya(2,e)}function ew(){let e=[Ml(()=>{g(He).setUpLocationChangeListener()}),{provide:Kg,useValue:2}];return ya(3,e)}var tw=new R("");function nw(e){return ya(0,[{provide:tw,useExisting:ZE},{provide:ma,useExisting:e}])}function rw(){return ya(8,[$g,{provide:pa,useExisting:$g}])}function ow(e){Rt("NgRouterViewTransitions");let n=[{provide:qg,useValue:GE},{provide:Zg,useValue:I({skipNextTransition:!!e?.skipInitialTransition},e)}];return ya(9,n)}var iw=[Ft,{provide:Fn,useClass:or},He,Ln,{provide:nt,useFactory:YE},ku,[]],U1=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[iw,[],{provide:Mo,multi:!0,useValue:t},[],r?.errorHandler?{provide:Qg,useValue:r.errorHandler}:[],{provide:Fr,useValue:r||{}},r?.useHash?$1():z1(),H1(),r?.preloadingStrategy?nw(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?G1(r):[],r?.bindToComponentInputs?rw().\u0275providers:[],r?.enableViewTransitions?ow().\u0275providers:[],W1()]}}static forChild(t){return{ngModule:e,providers:[{provide:Mo,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Dt({type:e});static \u0275inj=st({})}return e})();function H1(){return{provide:QE,useFactory:()=>{let e=g(rg),n=g(Fr);return n.scrollOffset&&e.setOffset(n.scrollOffset),new V1(n)}}}function $1(){return{provide:wt,useClass:eg}}function z1(){return{provide:wt,useClass:Bl}}function G1(e){return[e.initialNavigation==="disabled"?ew().\u0275providers:[],e.initialNavigation==="enabledBlocking"?XE().\u0275providers:[]]}var Yg=new R("");function W1(){return[{provide:Yg,useFactory:KE},{provide:vi,multi:!0,useExisting:Yg}]}var ju=class{validateSignature(n){return Promise.resolve(null)}validateAtHash(n){return Promise.resolve(!0)}},Vu=class{};var Da=class{},q1=(()=>{class e extends Da{now(){return Date.now()}new(){return new Date}static{this.\u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})()}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var Bu=class{},Uu=class{},Z1=(()=>{class e{constructor(){this.data=new Map}getItem(t){return this.data.get(t)}removeItem(t){this.data.delete(t)}setItem(t,r){this.data.set(t,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();var Ia=class{constructor(n){this.type=n}},Ct=class extends Ia{constructor(n,t=null){super(n),this.info=t}},Dn=class extends Ia{constructor(n,t=null){super(n),this.info=t}},Re=class extends Ia{constructor(n,t,r=null){super(n),this.reason=t,this.params=r}};function aw(e){let n=e.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(n).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function cw(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var Pi=class{constructor(n){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=1e3*20,this.silentRefreshTimeout=1e3*20,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefresh
5IFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3*1e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=t=>{location.href=t},n&&Object.assign(this,n)}},Ao=class{encodeKey(n){return encodeURIComponent(n)}encodeValue(n){return encodeURIComponent(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}},Hu=class{};var lw=(()=>{class e{getHashFragmentParams(t){let r=t||window.location.hash;if(r=decodeURIComponent(r),r.indexOf("#")!==0)return{};let o=r.indexOf("?");return o>-1?r=r.substr(o+1):r=r.substr(1),this.parseQueryString(r)}parseQueryString(t){let r={},o,i,s,a,c,l;if(t===null)return r;let u=t.split("&");for(let d=0;d<u.length;d++)o=u[d],i=o.indexOf("="),i===-1?(s=o,a=null):(s=o.substr(0,i),a=o.substr(i+1)),c=decodeURIComponent(s),l=decodeURIComponent(a),c.substr(0,1)==="/"&&(c=c.substr(1)),r[c]=l;return r}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),uw=32,Q1=64,Y1=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function Jg(e,n,t,r,o){let i,s,a,c,l,u,d,p,h,m,M,D,N;for(;o>=64;){for(i=n[0],s=n[1],a=n[2],c=n[3],l=n[4],u=n[5],d=n[6],p=n[7],m=0;m<16;m++)M=r+m*4,e[m]=(t[M]&255)<<24|(t[M+1]&255)<<16|(t[M+2]&255)<<8|t[M+3]&255;for(m=16;m<64;m++)h=e[m-2],D=(h>>>17|h<<15)^(h>>>19|h<<13)^h>>>10,h=e[m-15],N=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,e[m]=(D+e[m-7]|0)+(N+e[m-16]|0);for(m=0;m<64;m++)D=(((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&u^~l&d)|0)+(p+(Y1[m]+e[m]|0)|0)|0,N=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&s^i&a^s&a)|0,p=d,d=u,u=l,l=c+D|0,c=a,a=s,s=i,i=D+N|0;n[0]+=i,n[1]+=s,n[2]+=a,n[3]+=c,n[4]+=l,n[5]+=u,n[6]+=d,n[7]+=p,r+=64,o-=64}return r}var Xg=class{constructor(){this.digestLength=uw,this.blockSize=Q1,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let n=0;n<this.buffer.length;n++)this.buffer[n]=0;for(let n=0;n<this.temp.length;n++)this.temp[n]=0;this.reset()}update(n,t=n.length){if(this.finished)throw new Error("SHA256: can't update because hash was finished.");let r=0;if(this.bytesHashed+=t,this.bufferLength>0){for(;this.bufferLength<64&&t>0;)this.buffer[this.bufferLength++]=n[r++],t--;this.bufferLength===64&&(Jg(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(t>=64&&(r=Jg(this.temp,this.state,n,r,t),t%=64);t>0;)this.buffer[this.bufferLength++]=n[r++],t--;return this}finish(n){if(!this.finished){let t=this.bytesHashed,r=this.bufferLength,o=t/536870912|0,i=t<<3,s=t%64<56?64:128;this.buffer[r]=128;for(let a=r+1;a<s-8;a++)this.buffer[a]=0;this.buffer[s-8]=o>>>24&255,this.buffer[s-7]=o>>>16&255,this.buffer[s-6]=o>>>8&255,this.buffer[s-5]=o>>>0&255,this.buffer[s-4]=i>>>24&255,this.buffer[s-3]=i>>>16&255,this.buffer[s-2]=i>>>8&255,this.buffer[s-1]=i>>>0&255,Jg(this.temp,this.state,this.buffer,0,s),this.finished=!0}for(let t=0;t<8;t++)n[t*4+0]=this.state[t]>>>24&255,n[t*4+1]=this.state[t]>>>16&255,n[t*4+2]=this.state[t]>>>8&255,n[t*4+3]=this.state[t]>>>0&255;return this}
5digest(){let n=new Uint8Array(this.digestLength);return this.finish(n),n}_saveState(n){for(let t=0;t<this.state.length;t++)n[t]=this.state[t]}_restoreState(n,t){for(let r=0;r<this.state.length;r++)this.state[r]=n[r];this.bytesHashed=t,this.finished=!1,this.bufferLength=0}};function K1(e){let n=new Xg().update(e),t=n.digest();return n.clean(),t}var eY=new Uint8Array(uw);var $u=class{};function J1(e){if(typeof e!="string")throw new TypeError("expected string");let n=e,t=new Uint8Array(n.length);for(let r=0;r<n.length;r++)t[r]=n.charCodeAt(r);return t}function X1(e){let n=[];for(let t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return n.join("")}var eP=(()=>{class e{calcHash(t,r){return Z(this,null,function*(){return X1(K1(J1(t)))})}toHashString2(t){let r="";for(let o of t)r+=String.fromCharCode(o);return r}toHashString(t){let r=new Uint8Array(t),o="";for(let i of r)o+=String.fromCharCode(i);return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),Gu=(()=>{class e extends Pi{constructor(t,r,o,i,s,a,c,l,u,d){super(),this.ngZone=t,this.http=r,this.config=s,this.urlHelper=a,this.logger=c,this.crypto=l,this.dateTimeService=d,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new ue,this.discoveryDocumentLoadedSubject=new ue,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=u,s||(s={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),i&&(this.tokenValidationHandler=i),s&&this.configure(s);try{o?this.setStorage(o):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(p){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",p)}if(this.checkLocalStorageAccessable()){let p=window?.navigator?.userAgent;(p?.includes("MSIE ")||p?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;let t="test";try{return typeof window.localStorage>"u"?!1:(localStorage.setItem(t,t),localStorage.removeItem(t),!0)}catch(r){return!1}}configure(t){Object.assign(this,new Pi,t),this.config=Object.assign({},new Pi,t),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe(Ie(t=>t.type==="token_received")).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(t={},r,o=!0){let i=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe(mt(s=>{s.type==="token_received"?i=!0:s.type==="logout"&&(i=!1)}),Ie(s=>s.type==="token_expires"&&(r==null||r==="any"||s.info===r)),Zd(1e3)).subscribe(()=>{i&&this.refreshInternal(t,o).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(t,r){return!this.useSilentRefresh&&this.responseType==="code"?this.refreshToken():this.silentRefresh(t,r)}loadDiscoveryDocumentAndTryLogin(t=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(t))}loadDiscoveryDocumentAndLogin(t=null){return t=t||{},this.loadDiscoveryDocumentAndTryLogin(t).then(()=>{if(!this.hasValidIdToken()||!this.hasValidAccessToken()){let r=typeof t.state=="string"?t.state:"";return this.initLoginFlow(r),!1}else return!0})}debug(...t){this.showDebugInformation&&this.logger.debug(...t)}validateUrlFromDiscoveryDocument(t){let r=[],o=this.validateUrlForHttps(t),i=this.validateUrlAgainstIssuer(t);return o||r.push("https for all urls required. Also for urls received by discovery."),i||r.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),r}validateUrlForHttps(t){if(!t)return!0;let r=t.toLowerCase();return this.requireHttps===!1||(r.match(/^http:\/\/localhost($|[:/])/)||r.match(/^http:\/\/localhost($|[:/])/))&&this.requireHttps==="remoteOnly"?!0:r.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(t,r){if(!t)throw new Error(`'${r}' should not be null`);if(!this.validateUrlForHttps(t))throw new Error(`'${r}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(t){return!this.strictDiscoveryDocumentValidation||!t?!0:t.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){if(typeof window>"u"){this.debug("timer not supported on this plattform");return}(this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe(Ie(t=>t.type==="token_received")).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){let t=this.getAccessTokenExpiration(),r=this.getAccessTokenStoredAt(),o=this.calcTimeout(r,t);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=P(new Dn("token_expires","access_token")).pipe(Qi(o)).subscribe(i=>{this.ngZone.run(()=>{this.eventsSubject.next(i)})})})}setupIdTokenTimer(){let t=this.getIdTokenExpiration(),r=this.getIdTokenStoredAt(),o=this.calcTimeout(r,t);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=P(new Dn("token_expires","id_token")).pipe(Qi(o)).subscribe(i=>{this.ngZone.run(()=>{this.eventsSubject.next(i)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}
5calcTimeout(t,r){let o=this.dateTimeService.now(),i=(r-t)*this.timeoutFactor-(o-t),s=Math.max(0,i),a=2147483647;return s>a?a:s}setStorage(t){this._storage=t,this.configChanged()}loadDiscoveryDocument(t=null){return new Promise((r,o)=>{if(t||(t=this.issuer||"",t.endsWith("/")||(t+="/"),t+=".well-known/openid-configuration"),!this.validateUrlForHttps(t)){o("issuer  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return}this.http.get(t).subscribe(i=>{if(!this.validateDiscoveryDocument(i)){this.eventsSubject.next(new Re("discovery_document_validation_error",null)),o("discovery_document_validation_error");return}this.loginUrl=i.authorization_endpoint,this.logoutUrl=i.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=i.grant_types_supported,this.issuer=i.issuer,this.tokenEndpoint=i.token_endpoint,this.userinfoEndpoint=i.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=i.jwks_uri,this.sessionCheckIFrameUrl=i.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(i),this.revocationEndpoint=i.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(s=>{let a={discoveryDocument:i,jwks:s},c=new Ct("discovery_document_loaded",a);this.eventsSubject.next(c),r(c)}).catch(s=>{this.eventsSubject.next(new Re("discovery_document_load_error",s)),o(s)})},i=>{this.logger.error("error loading discovery document",i),this.eventsSubject.next(new Re("discovery_document_load_error",i)),o(i)})})}loadJwks(){return new Promise((t,r)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(o=>{this.jwks=o,t(o)},o=>{this.logger.error("error loading jwks",o),this.eventsSubject.next(new Re("jwks_load_error",o)),r(o)}):t(null)})}validateDiscoveryDocument(t){let r;return!this.skipIssuerCheck&&t.issuer!==this.issuer?(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+t.issuer),!1):(r=this.validateUrlFromDiscoveryDocument(t.authorization_endpoint),r.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",r),!1):(r=this.validateUrlFromDiscoveryDocument(t.end_session_endpoint),r.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",r),!1):(r=this.validateUrlFromDiscoveryDocument(t.token_endpoint),r.length>0&&this.logger.error("error validating token_endpoint in discovery document",r),r=this.validateUrlFromDiscoveryDocument(t.revocation_endpoint),r.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",r),r=this.validateUrlFromDiscoveryDocument(t.userinfo_endpoint),r.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",r),!1):(r=this.validateUrlFromDiscoveryDocument(t.jwks_uri),r.length>0?(this.logger.error("error validating jwks_uri in discovery document",r),!1):(this.sessionChecksEnabled&&!t.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0)))))}fetchTokenUsingPasswordFlowAndLoadUserProfile(t,r,o=new Ze){return this.fetchTokenUsingPasswordFlow(t,r,o).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((t,r)=>{let o=new Ze().set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:o,observe:"response",responseType:"text"}).subscribe(i=>{if(this.debug("userinfo received",JSON.stringify(i)),i.headers.get("content-type").startsWith("application/json")){let s=JSON.parse(i.body),a=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!a.sub||s.sub!==a.sub)){r(`if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc.
6if you are not using oidc but just oauth2 password flow set oidc to fal
6se`);return}s=Object.assign({},a,s),this._storage.setItem("id_token_claims_obj",JSON.stringify(s)),this.eventsSubject.next(new Ct("user_profile_loaded")),t({info:s})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ct("user_profile_loaded")),t(JSON.parse(i.body))},i=>{this.logger.error("error loading user info",i),this.eventsSubject.next(new Re("user_profile_load_error",i)),r(i)})})}fetchTokenUsingPasswordFlow(t,r,o=new Ze){let i={username:t,password:r};return this.fetchTokenUsingGrant("password",i,o)}fetchTokenUsingGrant(t,r,o=new Ze){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=new tt({encoder:new Ao}).set("grant_type",t).set("scope",this.scope);if(this.useHttpBasicAuth){let s=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let s of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(s,this.customQueryParams[s]);for(let s of Object.keys(r))i=i.set(s,r[s]);return o=o.set("Content-Type","application/x-www-form-urlencoded"),new Promise((s,a)=>{this.http.post(this.tokenEndpoint,i,{headers:o}).subscribe(c=>{this.debug("tokenResponse",c),this.storeAccessTokenResponse(c.access_token,c.refresh_token,c.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c.scope,this.extractRecognizedCustomParameters(c)),this.oidc&&c.id_token&&this.processIdToken(c.id_token,c.access_token).then(l=>{this.storeIdToken(l),s(c)}),this.eventsSubject.next(new Ct("token_received")),s(c)},c=>{this.logger.error("Error performing ${grantType} flow",c),this.eventsSubject.next(new Re("token_error",c)),a(c)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((t,r)=>{let o=new tt({encoder:new Ao}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),i=new Ze().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let s=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let s of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(s,this.customQueryParams[s]);this.http.post(this.tokenEndpoint,o,{headers:i}).pipe(ze(s=>this.oidc&&s.id_token?he(this.processIdToken(s.id_token,s.access_token,!0)).pipe(mt(a=>this.storeIdToken(a)),te(()=>s)):P(s))).subscribe(s=>{this.debug("refresh tokenResponse",s),this.storeAccessTokenResponse(s.access_token,s.refresh_token,s.expires_in||this.fallbackAccessTokenExpirationTimeInSec,s.scope,this.extractRecognizedCustomParameters(s)),this.eventsSubject.next(new Ct("token_received")),this.eventsSubject.next(new Ct("token_refreshed")),t(s)},s=>{this.logger.error("Error refreshing token",s),this.eventsSubject.next(new Re("token_refresh_error",s)),r(s)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=t=>{let r=this.processMessageEventMessage(t);this.checkOrigin&&t.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:r,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(o=>this.debug("tryLogin during silent refresh failed",o))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(t={},r=!0){let o=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(t.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");
6let i=this.document.getElementById(this.silentRefreshIFrameName);i&&this.document.body.removeChild(i),this.silentRefreshSubject=o.sub;let s=this.document.createElement("iframe");s.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener();let a=this.silentRefreshRedirectUri||this.redirectUri;this.createLoginUrl(null,null,a,r,t).then(d=>{s.setAttribute("src",d),this.silentRefreshShowIFrame||(s.style.display="none"),this.document.body.appendChild(s)});let c=this.events.pipe(Ie(d=>d instanceof Re),Ye()),l=this.events.pipe(Ie(d=>d.type==="token_received"),Ye()),u=P(new Re("silent_refresh_timeout",null)).pipe(Qi(this.silentRefreshTimeout));return qd([c,l,u]).pipe(te(d=>{if(d instanceof Re)throw d.type==="silent_refresh_timeout"?this.eventsSubject.next(d):(d=new Re("silent_refresh_error",d),this.eventsSubject.next(d)),d;return d.type==="token_received"&&(d=new Ct("silently_refreshed"),this.eventsSubject.next(d)),d})).toPromise()}initImplicitFlowInPopup(t){return this.initLoginFlowInPopup(t)}initLoginFlowInPopup(t){return t=t||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(r=>new Promise((o,i)=>{let a=null;t.windowRef?t.windowRef&&!t.windowRef.closed&&(a=t.windowRef,a.location.href=r):a=window.open(r,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(t));let c,l=m=>{this.tryLogin({customHashFragment:m,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{d(),o(!0)},M=>{d(),i(M)})},u=()=>{(!a||a.closed)&&(d(),i(new Re("popup_closed",{})))};a?c=window.setInterval(u,500):i(new Re("popup_blocked",{}));let d=()=>{window.clearInterval(c),window.removeEventListener("storage",h),window.removeEventListener("message",p),a!==null&&a.close(),a=null},p=m=>{let M=this.processMessageEventMessage(m);M&&M!==null?(window.removeEventListener("storage",h),l(M)):console.log("false event firing")},h=m=>{m.key==="auth_hash"&&(window.removeEventListener("message",p),l(m.newValue))};window.addEventListener("message",p),window.addEventListener("storage",h)}))}calculatePopupFeatures(t){let r=t.height||470,o=t.width||500,i=window.screenLeft+(window.outerWidth-o)/2,s=window.screenTop+(window.outerHeight-r)/2;return`location=no,toolbar=no,width=${o},height=${r},top=${s},left=${i}`}processMessageEventMessage(t){let r="#";if(this.silentRefreshMessagePrefix&&(r+=this.silentRefreshMessagePrefix),!t||!t.data||typeof t.data!="string")return;let o=t.data;if(o.startsWith(r))return"#"+o.substr(r.length)}canPerformSessionCheck(){return this.sessionChecksEnabled?this.sessionCheckIFrameUrl?this.get
6SessionState()?!(typeof this.document>"u"):(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1):!1}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=t=>{let r=t.origin.toLowerCase(),o=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),!o.startsWith(r)){this.debug("sessionCheckEventListener","wrong origin",r,"expected",o,"event",t);return}switch(t.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()});break}this.debug("got info from session check inframe",t)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new Dn("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new Dn("session_changed")),this.stopSessionCheckTimer(),!this.useSilentRefresh&&this.responseType==="code"?this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new Dn("session_terminated")),this.logOut(!0)}):this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Dn("session_terminated")),this.logOut(!0))}waitForSilentRefreshAfterSessionChange(){this.events.pipe(Ie(t=>t.type==="silently_refreshed"||t.type==="silent_refresh_timeout"||t.type==="silent_refresh_error"),Ye()).subscribe(t=>{t.type!=="silently_refreshed"&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new Dn("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new Dn("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;let t=this.document.getElementById(this.sessionCheckIFrameName);t&&this.document.body.removeChild(t);let r=this.document.createElement("iframe");r.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener();let o=this.sessionCheckIFrameUrl;r.setAttribute("src",o),r.style.display="none",this.document.body.appendChild(r),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){let t=this.document.getElementById(this.sessionCheckIFrameName);t||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);let r=this.getSessionState();r||this.stopSessionCheckTimer();let o=this.clientId+" "+r;t.contentWindow.postMessage(o,this.issuer)}createLoginUrl(){return Z(this,arguments,function*(t="",r="",o="",i=!1,s={}){let a=this,c;o?c=o:c=this.redirectUri;let l=yield this.createAndSaveNonce();if(t?t=l+this.config.nonceStateSeparator+encodeURIComponent(t):t=l,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.config.responseType?this.responseType=this.config.responseType:this.oidc&&this.requestAccessToken?this.responseType="id_token token":this.oidc&&!this.requestAccessToken?this.responseType="id_token":this.responseType="token";let u=a.loginUrl.indexOf("?")>-1?"&":"?",d=a.scope;this.oidc&&!d.match(/(^|\s)openid($|\s)/)&&(d="openid "+d);let p=a.loginUrl+u+"response_type="+encodeURIComponent(a.responseType)+"&client_id="+encodeURIComponent(a.clientId)+"&state="+encodeURIComponent(t)+"&redirect_uri="+encodeURIComponent(c)+"&scope="+encodeURIComponent(d);if(this.responseType.includes("code")&&!this.disablePKCE){let[h,m]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",m):this._storage.setItem("PKCE_verifier",m),p+="&code_challenge="+h,p+="&c
6ode_challenge_method=S256"}r&&(p+="&login_hint="+encodeURIComponent(r)),a.resource&&(p+="&resource="+encodeURIComponent(a.resource)),a.oidc&&(p+="&nonce="+encodeURIComponent(l)),i&&(p+="&prompt=none");for(let h of Object.keys(s))p+="&"+encodeURIComponent(h)+"="+encodeURIComponent(s[h]);if(this.customQueryParams)for(let h of Object.getOwnPropertyNames(this.customQueryParams))p+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return p})}initImplicitFlowInternal(t="",r=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let o={},i=null;typeof r=="string"?i=r:typeof r=="object"&&(o=r),this.createLoginUrl(t,i,null,!1,o).then(this.config.openUri).catch(s=>{console.error("Error in initImplicitFlow",s),this.inImplicitFlow=!1})}initImplicitFlow(t="",r=""){this.loginUrl!==""?this.initImplicitFlowInternal(t,r):this.events.pipe(Ie(o=>o.type==="discovery_document_loaded")).subscribe(()=>this.initImplicitFlowInternal(t,r))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(t){let r=this;if(t.onTokenReceived){let o={idClaims:r.getIdentityClaims(),idToken:r.getIdToken(),accessToken:r.getAccessToken(),state:r.state};t.onTokenReceived(o)}}storeAccessTokenResponse(t,r,o,i,s){if(this._storage.setItem("access_token",t),i&&!Array.isArray(i)?this._storage.setItem("granted_scopes",JSON.stringify(i.split(" "))):i&&Array.isArray(i)&&this._storage.setItem("granted_scopes",JSON.stringify(i)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.n
6ow()),o){let a=o*1e3,l=this.dateTimeService.new().getTime()+a;this._storage.setItem("expires_at",""+l)}r&&this._storage.setItem("refresh_token",r),s&&s.forEach((a,c)=>{this._storage.setItem(c,a)})}tryLogin(t=null){return this.config.responseType==="code"?this.tryLoginCodeFlow(t).then(()=>!0):this.tryLoginImplicitFlow(t)}parseQueryString(t){return!t||t.length===0?{}:(t.charAt(0)==="?"&&(t=t.substr(1)),this.urlHelper.parseQueryString(t))}tryLoginCodeFlow(t=null){return Z(this,null,function*(){t=t||{};let r=t.customHashFragment?t.customHashFragment.substring(1):window.location.search,o=this.getCodePartsFromUrl(r),i=o.code,s=o.state,a=o.session_state;if(!t.preventClearHashAfterLogin){let u=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,u)}let[c,l]=this.parseState(s);if(this.state=l,o.error){this.debug("error trying to login"),this.handleLoginError(t,o);let u=new Re("code_error",{},o);return this.eventsSubject.next(u),Promise.reject(u)}if(!t.disableNonceCheck){if(!c)return this.saveRequestedRoute(),Promise.resolve();if(!t.disableOAuth2StateCheck&&!this.validateNonce(c)){let d=new Re("invalid_nonce_in_state",null);return this.eventsSubject.next(d),Promise.reject(d)}}return this.storeSessionState(a),i&&(yield this.getTokenFromCode(i,t),this.restoreRequestedRoute()),Promise.resolve()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){let t=this._storage.getItem("requested_route");t&&history.replaceState(null,"",window.location.origin+t)}getCodePartsFromUrl(t){return!t||t.length===0?this.urlHelper.getHashFragmentParams():(t.charAt(0)==="?"&&(t=t.substr(1)),this.urlHelper.parseQueryString(t))}getTokenFromCode(t,r){let o=new tt({encoder:new Ao}).set("grant_type","authorization_code").set("code",t).set("redirect_uri",r.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let i;this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?i=localStorage.getItem("PKCE_verifier"):i=this._storage.getItem("PKCE_verifier"),i?o=o.set("code_verifier",i):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(o,r)}fetchAndProcessToken(t,r){r=r||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let o=new Ze().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let i=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+i)}return this.useHttpBasicAuth||(t=t.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(t=t.set("client_secret",this.dummyClientSecret)),new Promise((i,s)=>{if(this.customQueryParams)for(let a of Object.getOwnPropertyNames(this.customQueryParams))t=t.set(a,this.customQueryParams[a]);this.http.post(this.tokenEndpoint,t,{headers:o}).subscribe(a=>{this.debug("refresh tokenResponse",a),this.storeAccessTokenResponse(a.access_token,a.refresh_token,a.expires_in||this.fallbackAccessTokenExpirationTimeInSec,a.scope,this.extractRecognizedCustomParameters(a)),this.oidc&&a.id_token?this.processIdToken(a.id_token,a.access_token,r.disableNonceCheck).then(c=>{this.storeIdToken(c),this.eventsSubject.next(new Ct("token_received")),this.eventsSubject.next(new Ct("token_refreshed")),i(a)}).catch(c=>{this.eventsSubject.next(new Re("token_validation_error",c)),console.error("Error validating tokens"),console.error(c),s(c)}):(this.eventsSubject.next(new Ct("token_received")),this.eventsSubject.next(new Ct("token_refreshed")),i(a))},a=>{console.error("Error getting token",a),this.eventsSubject.next(new Re("token_refresh_error",a)),s(a)})})}tryLoginImplicitFlow(t=null){t=t||{};let r;t.customHashFragment?r=this.urlHelper.getHashFragmentParams(t.customHashFragment):r=this.urlHelper.getHashFragmentParam
6s(),this.debug("parsed url",r);let o=r.state,[i,s]=this.parseState(o);if(this.state=s,r.error){this.debug("error trying to login"),this.handleLoginError(t,r);let d=new Re("token_error",{},r);return this.eventsSubject.next(d),Promise.reject(d)}let a=r.access_token,c=r.id_token,l=r.session_state,u=r.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!a||this.requestAccessToken&&!t.disableOAuth2StateCheck&&!o||this.oidc&&!c)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!l&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!t.disableNonceCheck&&!this.validateNonce(i)){let p=new Re("invalid_nonce_in_state",null);return this.eventsSubject.next(p),Promise.reject(p)}return this.requestAccessToken&&this.storeAccessTokenResponse(a,null,r.expires_in||this.fallbackAccessTokenExpirationTimeInSec,u),this.oidc?this.processIdToken(c,a,t.disableNonceCheck).then(d=>t.validationHandler?t.validationHandler({accessToken:a,idClaims:d.idTokenClaims,idToken:d.idToken,state:o}).then(()=>d):d).then(d=>(this.storeIdToken(d),this.storeSessionState(l),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ct("token_received")),this.callOnTokenReceivedIfExists(t),this.inImplicitFlow=!1,!0)).catch(d=>(this.eventsSubject.next(new Re("token_validation_error",d)),this.logger.error("Error validating tokens"),this.logger.error(d),Promise.reject(d))):(this.eventsSubject.next(new Ct("token_received")),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(t),Promise.resolve(!0))}parseState(t){let r=t,o="";if(t){let i=t.indexOf(this.config.nonceStateSeparator);i>-1&&(r=t.substr(0,i),o=t.substr(i+this.config.nonceStateSeparator.length))}return[r,o]}validateNonce(t){let r;return this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?r=localStorage.getItem("nonce"):r=this._storage.getItem("nonce"),r!==t?(console.error("Validating access_token failed, wrong state/nonce.",r,t),!1):!0}storeIdToken(t){this._storage.setItem("id_token",t.idToken),this._storage.setItem("id_token_claims_obj",t.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+t.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.n
6ow())}storeSessionState(t){this._storage.setItem("session_state",t)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(t,r){t.onLoginError&&t.onLoginError(r),this.clearHashAfterLogin&&!t.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(t=6e5){return!this.clockSkewInSec&&this.clockSkewInSec!==0?t:this.clockSkewInSec*1e3}processIdToken(t,r,o=!1){let i=t.split("."),s=this.padBase64(i[0]),a=aw(s),c=JSON.parse(a),l=this.padBase64(i[1]),u=aw(l),d=JSON.parse(u),p;if(this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?p=localStorage.getItem("nonce"):p=this._storage.getItem("nonce"),Array.isArray(d.aud)){if(d.aud.every(O=>O!==this.clientId)){let O="Wrong audience: "+d.aud.join(",");return this.logger.warn(O),Promise.reject(O)}}else if(d.aud!==this.clientId){let O="Wrong audience: "+d.aud;return this.logger.warn(O),Promise.reject(O)}if(!d.sub){let O="No sub claim in id_token";return this.logger.warn(O),Promise.reject(O)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==d.sub){let O=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${d.sub}`;return this.logger.warn(O),Promise.reject(O)}if(!d.iat){let O="No iat claim in id_token";return this.logger.warn(O),Promise.reject(O)}if(!this.skipIssuerCheck&&d.iss!==this.issuer){let O="Wrong issuer: "+d.iss;return this.logger.warn(O),Promise.reject(O)}if(!o&&d.nonce!==p){let O="Wrong nonce: "+d.nonce;return this.logger.warn(O),Promise.reject(O)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&(this.responseType==="code"||this.responseType==="id_token")&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!d.at_hash){let O="An at_hash is needed!";return this.logger.warn(O),Promise.reject(O)}
6let h=this.dateTimeService.now(),m=d.iat*1e3,M=d.exp*1e3,D=this.getClockSkewInMsec();if(m-D>=h||M+D-this.decreaseExpirationBySec<=h){let O="Token has expired";return console.error(O),console.error({now:h,issuedAtMSec:m,expiresAtMSec:M}),Promise.reject(O)}let N={accessToken:r,idToken:t,jwks:this.jwks,idTokenClaims:d,idTokenHeader:c,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(N).then(()=>({idToken:t,idTokenClaims:d,idTokenClaimsJson:u,idTokenHeader:c,idTokenHeaderJson:a,idTokenExpiresAt:M})):this.checkAtHash(N).then(O=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!O){let ae="Wrong at_hash";return this.logger.warn(ae),Promise.reject(ae)}return this.checkSignature(N).then(()=>{let ae=!this.disableAtHashCheck,ee={idToken:t,idTokenClaims:d,idTokenClaimsJson:u,idTokenHeader:c,idTokenHeaderJson:a,idTokenExpiresAt:M};return ae?this.checkAtHash(N).then(Je=>{if(this.requestAccessToken&&!Je){let De="Wrong at_hash";return this.logger.warn(De),Promise.reject(De)}else return ee}):ee})})}getIdentityClaims(){let t=this._storage.getItem("id_token_claims_obj");return t?JSON.parse(t):null}getGrantedScopes(){let t=this._storage.getItem("granted_scopes");return t?JSON.parse(t):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(t){for(;t.length%4!==0;)t+="=";return t}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){let t=this._storage.getItem("expires_at"),r=this.dateTimeService.new();return!(t&&parseInt(t,10)-this.decreaseExpirationBySec<r.getTime()-this.getClockSkewInMsec())}return!1}hasValidIdToken(){if(this.getIdToken()){let t=this._storage.getItem("id_token_expires_at"),r=this.dateTimeService.new();return!(t&&parseInt(t,10)-this.decreaseExpirationBySec<r.getTime()-this.getClockSkewInMsec())}return!1}getCustomTokenResponseProperty(t){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(t)>=0&&this._storage.getItem(t)!==null?JSON.parse(this._storage.getItem(t)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(t={},r=""){let o=!1;typeof t=="boolean"&&(o=t,t={});let i=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(a=>this._storage.removeItem(a)),this.silentRefreshSubject=null,this.eventsSubject.next(new Dn("logout")),!this.logoutUrl||o)return;let s;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)s=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(i)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let a=new tt({encoder:new Ao});i&&(a=a.set("id_token_hint",i));let c=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";c&&(a=a.set("post_logout_redirect_uri",c),r&&(a=a.set("state",r)));for(let l in t)a=a.set(l,t[l]);s=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+a.toString()}this.config.openUri(s)}createAndSaveNonce(){let t=this;return this.createNonce().then(function(r){return t.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",r):t._storage.setItem("nonce",r),r})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();
6let t=this.document.getElementById(this.silentRefreshIFrameName);t&&t.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();let r=this.document.getElementById(this.sessionCheckIFrameName);r&&r.remove()}createNonce(){return new Promise(t=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",o=45,i="",s=typeof self>"u"?null:self.crypto||self.msCrypto;if(s){let a=new Uint8Array(o);s.getRandomValues(a),a.map||(a.map=Array.prototype.map),a=a.map(c=>r.charCodeAt(c%r.length)),i=String.fromCharCode.apply(null,a)}else for(;0<o--;)i+=r[Math.random()*r.length|0];t(cw(i))})}checkAtHash(t){return Z(this,null,function*(){return this.tokenValidationHandler?this.tokenValidationHandler.validateAtHash(t):(this.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)})}checkSignature(t){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(t):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(t="",r={}){return this.responseType==="code"?this.initCodeFlow(t,r):this.initImplicitFlow(t,r)}initCodeFlow(t="",r={}){this.loginUrl!==""?this.initCodeFlowInternal(t,r):this.events.pipe(Ie(o=>o.type==="discovery_document_loaded")).subscribe(()=>this.initCodeFlowInternal(t,r))}initCodeFlowInternal(t="",r={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl  must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let o={},i=null;typeof r=="string"?i=r:typeof r=="object"&&(o=r),this.createLoginUrl(t,i,null,!1,o).then(this.config.openUri).catch(s=>{console.error("Error in initAuthorizationCodeFlow"),console.error(s)})}createChallangeVerifierPairForPKCE(){return Z(this,null,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");let t=yield this.createNonce(),r=yield this.crypto.calcHash(t,"sha-256");return[cw(r),t]})}extractRecognizedCustomParameters(t){let r=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(o=>{t[o]&&r.set(o,JSON.stringify(t[o]))}),r}revokeTokenAndLogout(t={},r=!1){let o=this.revocationEndpoint,i=this.getAccessToken(),s=this.getRefreshToken();if(!i)return Promise.resolve();let a=new tt({encoder:new Ao}),c=new Ze().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let l=btoa(`${this.clientId}:${this.dummyClientSecret}`);c=c.set("Authorization","Basic "+l)}if(this.useHttpBasicAuth||(a=a.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(a=a.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let l of Object.getOwnPropertyNames(this.customQueryParams))a=a.set(l,this.customQueryParams[l]);return new Promise((l,u)=>{let d,p;if(i){let h=a.set("token",i).set("token_type_hint","access_token");d=this.http.post(o,h,{headers:c})}else d=P(null);if(s){let h=a.set("token",s).set("token_type_hint","refresh_token");p=this.http.post(o,h,{headers:c})}else p=P(null);r&&(d=d.pipe(Mt(h=>h.status===0?P(null):Qr(h))),p=p.pipe(Mt(h=>h.status===0?P(null):Qr(h)))),Yr([d,p]).subscribe(h=>{this.logOut(t),l(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new Re("token_revoke_error",h)),u(h)})})}clearLocationHash(){location.hash!=""&&(location.hash="")}static{this.\u0275fac=function(r){return new(r||e)(k(v),k(Lt),k(Uu,8),k(Hu,8),k(Pi,8),k(lw),k(Bu),k($u,8),k(ve),k(Da))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})(),zu=class{},em=class{handleError(n){return Qr(n)}},tP=(()=>{class e{constructor(t,r,o){this.oAuthService=t,this.errorHandler=r,this.moduleConfig=o}checkUrl(t){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(t):this.moduleConfig.resourceServer.allowedUrls?!!this.moduleConfig.resourceServer.allowedUrls.find(r=>t.toLowerCase().startsWith(r.toLowerCase())):!0}intercept(t,r){let o=t.url.toLowerCase();return!this.moduleConfig||!this.moduleConfig.resourceServer||!this.checkUrl(o)?r.handle(t):this.moduleConfig.resourceServer.sendAccessToken?Wd(P(this.oAuthService.getAccessToken()).pipe(Ie(s=>!!s)),this.oAuthService.events.pipe(Ie(s=>s.type==="token_received"),zd(this.oAuthService.waitForTokenInMsec||0),Mt(()=>P(null)),te(()=>this.oAuthService.getAccessToken()))).pipe(bt(1),Ae(s=>
6{if(s){let a="Bearer "+s,c=t.headers.set("Authorization",a);t=t.clone({headers:c})}return r.handle(t).pipe(Mt(a=>this.errorHandler.handleError(a)))})):r.handle(t).pipe(Mt(s=>this.errorHandler.handleError(s)))}static{this.\u0275fac=function(r){return new(r||e)(k(Gu),k(zu),k(Vu,8))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac})}}return e})();function nP(){return console}function rP(){return typeof sessionStorage<"u"?sessionStorage:new Z1}function oP(e=null,n=ju){return _n([Gu,lw,{provide:Bu,useFactory:nP},{provide:Uu,useFactory:rP},{provide:Hu,useClass:n},{provide:$u,useClass:eP},{provide:zu,useClass:em},{provide:Vu,useValue:e},{provide:pg,useClass:tP,multi:!0},{provide:Da,useClass:q1}])}var tY=(()=>{class e{static forRoot(t=null,r=ju){return{ngModule:e,providers:[oP(t,r)]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Dt({type:e})}static{this.\u0275inj=st({imports:[Yl]})}}return e})();function iP(e,n){if(e&1&&Le(0,"i"),e&2){let t=ge();Di("bi "+t.icon()+" ps-3 pe-2 me-2")}}var Wu=class e{constructor(){this.label=Co();this.cssClass=Co();this.btnClicked=Ll();this.disabled=Co(!1);this.icon=Co()}btnClickedEmit(){this.btnClicked.emit()}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-custom-button"]],inputs:{label:[1,"label"],cssClass:[1,"cssClass"],disabled:[1,"disabled"],icon:[1,"icon"]},outputs:{btnClicked:"btnClicked"},decls:3,vars:5,consts:[["type","button",3,"click","disabled"],[3,"class"]],template:function(t,r){t&1&&(oe(0,"button",0),Zt("click",function(){return r.btnClickedEmit()}),Ce(1),Oe(2,iP,1,2,"i",1),X()),t&2&&(Di("btn "+r.cssClass()),Kn("disabled",r.disabled()),K(),Pt(" ",r.label()," "),K(),Pe(r.icon()?2:-1))},styles:[".btn-rounded[_ngcontent-%COMP%]{border-radius:25px;background:#fff;color:#04335d;font-weight:700}.btn-rounded[_ngcontent-%COMP%]:hover{background-color:#467396;color:#fff}.btn-danger-custom[_ngcontent-%COMP%]{border-radius:25px;background:#f99;color:maroon;font-weight:700;position:relative;right:2px}.btn-danger-custom[_ngcontent-%COMP%]:hover{background-color:#fab6b6;color:maroon}"]})}};var dw=class e extends Wu{static{this.\u0275fac=(()=>{let n;return function(r){return(n||(n=be(e)))(r||e)}})()}static{this.\u0275cmp=C({type:e,selectors:[["app-custom-button-voltar"]],features:[J],decls:2,vars:0,consts:[["type","button","title","Voltar",1,"btn","btn-rounded",3,"click"]],template:function(t,r){t&1&&(oe(0,"button",0),Zt("click",function(){return r.btnClickedEmit()}),Ce(1,` Voltar
7`),X())},styles:[".btn-rounded[_ngcontent-%COMP%]{border-radius:25px;background:#fff;color:#04335d;font-weight:700}.btn-rounded[_ngcontent-%COMP%]:hover{background-color:#467396;color:#fff}.btn-danger-custom[_ngcontent-%COMP%]{border-radius:25px;background:#f99;color:maroon;font-weight:700;position:relative;right:2px}.btn-danger-custom[_ngcontent-%COMP%]:hover{background-color:#fab6b6;color:maroon}"]})}};var fw=class e{constructor(){this.usuarioEstaLogado=Y(!1);this.pictureDefault="assets/userav.png";this.fotoUrl=Y(this.pictureDefault);this.oauthService=g(Gu);this.http=g(Lt)}login(){localStorage.setItem("redirectUrl",globalThis.location.href),this.oauthService.initCodeFlow()}logOut(){let n=this.oauthService.getIdToken();localStorage.clear(),this.oauthService.logOut({id_token_hint:n})}nome(){let n=this.oauthService.getIdentityClaims();return n?n.full_name:null}foto(){return this.fotoUrl()}inicializarFotoPerfil(){let n=this.oauthService.getIdentityClaims();if(!n?.picture){this.fotoUrl.set(this.pictureDefault);return}let t=`${ft?.config?.govBr?.loginCidadaoIssuer}${n.picture}`;this.carregarImagemPerfil(t)}carregarImagemPerfil(n){let t={Authorization:`Bearer ${this.oauthService.getAccessToken()}`};this.http.get(n,{responseType:"text",headers:t}).subscribe({next:r=>{let o;try{o=JSON.parse(r).replace(/^data:\s+/,"data:")}catch(i){o=`data:${r.startsWith("/9j/")?"image/jpeg":"image/png"};base64,${r}`}this.fotoUrl.set(o)},error:()=>{this.fotoUrl.set(this.pictureDefault)}})}cpf(){let n=this.oauthService?.getIdentityClaims();return n?n?.cpf:""}telefone(){let n=this.oauthService?.getIdentityClaims();return n?n?.mobile:""}email(){let n=this.oauthService?.getIdentityClaims();return n?n?.email:""}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};var qu=(r=>(r.SIM="Sim",r.NAO="N\xE3o",r.OK="Ok",r))(qu||{});var tm=(r=>
7(r[r.ALERTA=0]="ALERTA",r[r.SUCESSO=1]="SUCESSO",r[r.ERRO=2]="ERRO",r))(tm||{});function sP(e,n){if(e&1&&(oe(0,"div",6)(1,"h5",9),Ce(2),Le(3,"i",10),X(),Le(4,"button",11),X()),e&2){let t=ge(2);K(2),Pt(" ",t.title.titulo," \xA0 ")}}function aP(e,n){if(e&1&&(oe(0,"div",7)(1,"h5",9),Ce(2),Le(3,"i",12),X(),Le(4,"button",11),X()),e&2){let t=ge(2);K(2),Pt(" ",t.title.titulo," \xA0 ")}}function cP(e,n){if(e&1&&(oe(0,"div",8)(1,"h5",9),Ce(2),Le(3,"i",10),X(),Le(4,"button",11),X()),e&2){let t=ge(2);K(2),Pt(" ",t.title.titulo," \xA0 ")}}function lP(e,n){if(e&1&&(Oe(0,sP,5,1,"div",6),Oe(1,aP,5,1,"div",7),Oe(2,cP,5,1,"div",8)),e&2){let t=ge();Pe(t.title.tipoTitulo==t.titleType.ALERTA?0:-1),K(),Pe(t.title.tipoTitulo==t.titleType.SUCESSO?1:-1),K(),Pe(t.title.tipoTitulo==t.titleType.ERRO?2:-1)}}function uP(e,n){if(e&1&&Le(0,"img",4),e&2){let t=ge();Kn("src",t.imageUrl,di)}}function dP(e,n){if(e&1){let t=yi();oe(0,"div",5)(1,"button",13),Zt("click",function(){Wn(t);let o=ge();return qn(o.confirm(o.tipoRespostaEnumModal.SIM))}),Ce(2," Sim "),X(),oe(3,"button",14),Zt("click",function(){Wn(t);let o=ge();return qn(o.close(o.tipoRespostaEnumModal.NAO))}),Ce(4," N\xE3o "),X()()}}function fP(e,n){if(e&1){let t=yi();oe(0,"div",5)(1,"button",14),Zt("click",function(){Wn(t);let o=ge();return qn(o.close(o.tipoRespostaEnumModal.OK))}),Ce(2," Ok "),X()()}}var xo=class e{constructor(){this.titleType=tm;this.closeEvent=Ll();this.tipoRespostaEnumModal=qu}confirm(n){this.closeEvent.emit(n)}close(n){this.closeEvent.emit(n)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-custom-messages"]],outputs:{closeEvent:"closeEvent"},decls:9,vars:6,consts:[["tabindex","-1",1,"modal","d-block","align-content-center",2,"background-color","rgba(0, 0, 0, 0.5)"],[1,"modal-dialog"],[1,"modal-content"],[1,"modal-confirm-text",3,"innerHTML"],["alt","Imagem de Certid\xE3o Atualizada",1,"dialog-imagem","mb-2",3,"src"],[1,"d-flex","flex-row","align-items-center"],[1,"modal-header","text-warning"],[1,"modal-header","text-success"],[1,"modal-header","text-danger"],[1,"modal-title"],[1,"bi","bi-exclamation-triangle-fill"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"bi","bi-check-circle-fill"],["type","button",1,"btn","btn-primary-custom","me-4",3,"click"],["type","button",1,"btn","btn-primary-custom",3,"click"]],template:function(t,r){t&1&&(oe(0,"div",0)(1,"div",1)(2,"div",2),Oe(3,lP,3,3),oe(4,"div"),Le(5,"p",3),Oe(6,uP,1,1,"img",4),Oe(7,dP,5,0,"div",5)(8,fP,3,0,"div",5),X()()()()),t&2&&(K(3),Pe(r.title?3:-1),K(),Di(r.confirmationModal?"modal-body d-flex flex-column align-items-center":"modal-body d-flex flex-column align-items-end"),K(),Kn("innerHTML",r.message,ep),K(),Pe(r.imageUrl?6:-1),K(),Pe(r.confirmationModal?7:8))},styles:[".igp-input[_ngcontent-%COMP%]:hover{background:#1a9847}.modal-confirm-text[_ngcontent-%COMP%]{color:#04335d;font-weight:700}.dialog-imagem[_ngcontent-%COMP%]{max-width:100%;height:auto}"]})}};function hP(e,n){if(e&1&&(oe(0,"div",8)(1,"h5",11),Ce(2),Le(3,"i",12),X(),Le(4,"button",13),X()),e&2){let t=ge(2);K(2),Pt(" ",t.title.titulo," \xA0 ")}}function pP(e,n){if(e&1&&(oe(0,"div",9)(1,"h5",11),Ce(2),Le(3,"i",14),X(),Le(4,"button",13),X()),e&2){let t=ge(2);K(2),Pt(" ",t.title.titulo," \xA0 ")}}function gP(e,n){if(e&1&&(oe(0,"div",10)(1,"h5",11),Ce(2),Le(3,"i",12),X(),Le(4,"button",13),X()),e&2){let t=ge(2);K(2),Pt(" ",t.title.titulo," \xA0 ")}}function mP(e,n){if(e&1&&(Oe(0,hP,5,1,"div",8),Oe(1,pP,5,1,"div",9),Oe(2,gP,5,1,"div",10)),e&2){let t=ge();Pe(t.title.tipoTitulo==t.titleType.ALERTA?0:-1),K(),Pe(t.title.tipoTitulo==t.titleType.SUCESSO?1:-1),K(),Pe(t.title.tipoTitulo==t.titleType.ERRO?2:-1)}}function vP(e,n){if(e&1&&(oe(0,"div",15)(1,"h2",16)(2,"button",17),Ce(3," Parecer \xA0 "),X()(),oe(4,"div",18)(5,"div",19),Ce(6),X()()()),e&2){let t=ge(2);K(6),kr(t.data.parecer)}}function yP(e,n){if(e&1&&(oe(0,"div",15)(1,"h2",16)(2,"button",20),Ce(3," Principais Informa\xE7\xF5es \xA0 "),X()(),oe(4,"div",21)(5,"div",19),Ce(6),X()()()),e&2){let t=ge(2);K(6),kr(t.data.principaisInformacoes)}}function DP(e,n){if(e&1&&(oe(0,"div",15)(1,"h2",16)(2,"button",22),Ce(3," Integridade do Documento \xA0 "),X()(),oe(4,"div",23)(5,"div",19),Ce(6),X()()()),e&2){let t=ge(2);K(6),kr(t.data.integridadeDocumento)}}function IP(e,n){if(e&1&&(oe(0,"div",15)(1,"h2",16)(2,"button",24),Ce(3," Observa\xE7\xF5es de Autenticidade \xA0 "),X()(),oe(4,"div",25)(5,"div",19),Ce(6),X()()()),e&2){let t=ge(2);K(6),kr(t.data.observacoesAutenticidade)}}function CP(e,n){if(e&1&&(oe(0,"div",15)(1,"h2",16)(2,"button",26),Ce(3," Resumo de Quali
7dade \xA0 "),X()(),oe(4,"div",27)(5,"div",19),Ce(6),X()()()),e&2){let t=ge(2);K(6),kr(t.data.resumoQualidade)}}function bP(e,n){if(e&1&&(oe(0,"div",4),Oe(1,vP,7,1,"div",15),Oe(2,yP,7,1,"div",15),Oe(3,DP,7,1,"div",15),Oe(4,IP,7,1,"div",15),Oe(5,CP,7,1,"div",15),X()),e&2){let t=ge();K(),Pe(t.data.parecer?1:-1),K(),Pe(t.data.principaisInformacoes?2:-1),K(),Pe(t.data.integridadeDocumento?3:-1),K(),Pe(t.data.observacoesAutenticidade?4:-1),K(),Pe(t.data.resumoQualidade?5:-1)}}function EP(e,n){if(e&1&&Le(0,"img",5),e&2){let t=ge();Kn("src",t.imageUrl,di)}}var Zu=class e extends xo{constructor(){super()}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=C({type:e,selectors:[["app-custom-messages-accordion-modal"]],features:[J],decls:10,vars:3,consts:[["tabindex","-1",1,"modal","d-block","align-content-center",2,"background-color","rgba(0, 0, 0, 0.5)"],[1,"modal-dialog"],[1,"modal-content"],[1,"modal-body","d-flex","flex-column"],["id","accordionError",1,"accordion"],["alt","Imagem de Certid\xE3o Atualizada",1,"dialog-imagem","mb-2",3,"src"],[1,"d-flex","justify-content-end","px-3","pb-3"],["type","button",1,"btn","btn-primary-custom",3,"click"],[1,"modal-header","text-warning"],[1,"modal-header","text-success"],[1,"modal-header","text-danger"],[1,"modal-title"],[1,"bi","bi-exclamation-triangle-fill"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close"],[1,"bi","bi-check-circle-fill"],[1,"accordion-item","bg-accordion-custom"],[1,"accordion-header"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseParecer","aria-expanded","true","aria-controls","collapseParecer",1,"accordion-button","bg-accordion-button-custom","fw-bold"],["id","collapseParecer","data-bs-parent","#accordionError",1,"accordion-collapse","collapse","show"],[1,"accordion-body"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapsePrincipaisInformacoes","aria-expanded","false","aria-controls","collapsePrincipaisInformacoes",1,"accordion-button","bg-accordion-button-custom","fw-bold","collapsed"],["id","collapsePrincipaisInformacoes","data-bs-parent","#accordionError",1,"accordion-collapse","collapse"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseIntegridadeDocumento","aria-expanded","false","aria-controls","collapseIntegridadeDocumento",1,"accordion-button","bg-accordion-button-custom","fw-bold","collapsed"],["id","collapseIntegridadeDocumento","data-bs-parent","#accordionError",1,"accordion-collapse","collapse"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseObservacoesAutenticidade","aria-expanded","false","aria-controls","collapseObservacoesAutenticidade",1,"accordion-button","bg-accordion-button-custom","fw-bold","collapsed"],["id","collapseObservacoesAutenticidade","data-bs-parent","#accordionError",1,"accordion-collapse","collapse"],["type","button","data-bs-toggle","collapse","data-bs-target","#collapseResumoQualidade","aria-expanded","false","aria-controls","collapseResumoQualidade",1,"accordion-button","bg-accordion-button-custom","fw-bold","collapsed"],["id","collapseResumoQualidade","data-bs-parent","#accordionError",1,"accordion-collapse","collapse"]],template:function(t,r){t&1&&(oe(0,"div",0)(1,"div",1)(2,"div",2),Oe(3,mP,3,3),oe(4,"div",3),Oe(5,bP,6,5,"div",4),Oe(6,EP,1,1,"img",5),X(),oe(7,"div",6)(8,"button",7),Zt("click",function(){return r.close(r.tipoRespostaEnumModal.OK)}),Ce(9," Ok "),X()()()()()),t&2&&(K(3),Pe(r.title?3:-1),K(2),Pe(r.data?5:-1),K(),Pe(r.imageUrl?6:-1))},encapsulation:2})}};var Qu=class e{openModal(n,t,r,o){t&&(this.componentRef=t.createComponent(xo),n&&(this.componentRef.instance.message=n),this.componentRef.instance.confirmationModal=!1,r&&(this.componentRef.instance.imageUrl=r),o&&(this.componentRef.instance.title=o),this.componentRef.instance.closeEvent.subscribe(i=>{i==="Ok"&&t.clear()}))}openModalConfirmation(n,t,r){t.clear();let o=t.createComponent(xo);o.instance.message=n,o.instance.confirmationModal=!0,o.instance.closeEvent.subscribe(i=>{o.destroy(),r(i)})}openModalAccordion(n,t,r,o){t&&(this.componentAccordionRef=t.createComponent(Zu),n&&(this.componentAccordionRef.instance.data=n),this.componentAccordionRef.instance.confirmationModal=!1,r&&(this.componentAccordionRef.instance.imageUrl=r),o&&(this.componentAccordionRef.instance.title=o),this.componentAccordionRef.instance.closeEvent.
7subscribe(i=>{i==="Ok"&&t.clear()}))}closeDialog(n){n.clear()}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};var hw=class e{constructor(){this.possuiCIN=!1}setProtocolo(n){this.protocolo=n}getProtocolo(){return this.protocolo}deleteProtocolo(){this.protocolo=null}setTipoDocumentoOrigem(n){this.tipoDocumentoOrigem=n}getTipoDocumentoOrigem(){return this.tipoDocumentoOrigem}setDadoGeral(n){this.dadoGeral=n}getDadoGeral(){return this.dadoGeral}setFiliacao(n){this.filiacaoGeralModel=n}getFiliacao(){return this.filiacaoGeralModel}setDadoDeclarado(n){this.dadoDeclaradoModel=n}getDadoDeclarado(){return this.dadoDeclaradoModel}setDocumentoOrigem(n){this.documentoOrigem=n}getDocumentoOrigem(){return this.documentoOrigem}setDadoCertidao(n){this.dadoCertidaoModel=n}getDadoCertidao(){return this.dadoCertidaoModel}setEndereco(n){this.dadoEnderecoModel=n}getEndereco(){return this.dadoEnderecoModel}setInformacaoDocumento(n){this.informacoesDocumento=n}getInformacoesDocumentos(){return this.informacoesDocumento}setDadoIdentidadeProfissional(n){this.dadoIdentidadeProfissional=n}getDadoIdentidadeProfissional(){return this.dadoIdentidadeProfissional}setDadoCID(n){this.dadoCIDModel=n}getDadoCID(){return this.dadoCIDModel}setAgendamento(n){this.agendamentoModel=n}getAgendamento(){return this.agendamentoModel}deleteAgendamento(){this.agendamentoModel=null}setSelecaoDocumento(n){this.selecaoDocumentoModel=n}getSelecaoDocumento(){return this.selecaoDocumentoModel}setResumo(n){this.resumoModel=n}getResumo(){return this.resumoModel}setPossuiCIN(n){this.possuiCIN=n}getPossuiCIN(){return this.possuiCIN}setDataValidadeCIN(n){this.dataValidadeCIN=n}getDataValidadeCIN(){return this.dataValidadeCIN}setLocalRetiradaCIN(n){this.localRetiradaCIN=n}getLocalRetiradaCIN(){return this.localRetiradaCIN}setRespostaSegundaViaOnlineSolicitar(n){this.respostaSegundaViaOnlineSolicitarModel=n}getRespostaSegundaViaOnlineSolicitar(){return this.respostaSegundaViaOnlineSolicitarModel}setImagemReconhecimentoFacial(n){this.imagemReconhecimentoFacial=n}getImagemReconhecimentoFacial(){return this.imagemReconhecimentoFacial}setCidadao(n){this.cidadao=n}getCidadao(){return this.cidadao}setSegundaViaOnline(n){this.segundaViaOnlineModel=n}getSegundaViaOnline(){return this.segundaViaOnlineModel}setUsuarioPerfil(n){this.usuarioPerfil=n}getUsuarioPerfil(){return this.usuarioPerfil}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};var pw=class e{constructor(n){this.http=n}getParametroSistema(n){return this.http.get(`${ft.config.serverUrlRemota}/parametro-sistema/${n}`)}static{this.\u0275fac=function(t){return new(t||e)(k(Lt))}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};var gw=class e{constructor(){this.http=g(Lt)}getProtocolo(n){let t=ft.config.serverUrlRemota+"/pre-cadastro/";return this.http.get(t+n)}gravarProtocolo(n){let t=ft.config.serverUrlRemota+"/pre-cadastro";return this.http.post(t,n)}deleteProtocolo(n){let t=ft.config.serverUrlRemota+"/pre-cadastro/";return this.http.delete(t+n,{responseType:"text"})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};var mw=class e{constructor(){this.messagesServiceModal=g(Qu);this.http=g(Lt)}getAgendamento(n){let t=ft.config.serverUrlRemota+"/pre-cadastro/agendamento/";return this.http.get(t+n)}getMunicipios(n){return Z(this,null,function*(){let t=ft.config.serverUrlRemota+"/agendamento/lista/municipios";try{return{error:null,data:yield $d(this.http.get(t))}}catch(r){return r instanceof nr?(this.messagesServiceModal.openModal(r.error,n),{error:r,data:null}):(this.messagesServiceModal.openModal("Erro desconhecido",n),{error:new Error("Erro desconhecido"),data:null})}})}getLocais(n){let t=ft.config.serverUrlRemota+"/agendamento/lista/local/";return this.http.get(t+n).pipe(Ye())}getDias(n){let t=ft.config.serverUrlRemota+"/agendamento/lista/dias/";return this.http.get(t+n).pipe(Ye())}getHorarios(n,t){let r=ft.config.serverUrlRemota+"/agendamento/lista/horarios/";return t=t.replaceAll("/","-"),this.http.get(r+n+"/"+t).pipe(Ye())}gravaAgendamento(n){let t=ft.config.serverUrlRemota+"/pre-cadastro/agendamento";return this.http.post(t,n,{responseType:"text"})}deleteAgendamento(n){let t=ft.config.serverUrlRemota+"/pre-cadastro/agendamento/";return this.http.delete(t+n,{responseType:"text"})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};var Sw=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(f(Nt),f(y))};static \u0275dir=U({type:e})}return e})(),Ta=(()=>{class e extends Sw{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,features:[J]})}return e}
vendor: 11,499 bytes, line 7
7)(),Ut=new R(""),wP={provide:Ut,useExisting:Be(()=>_P),multi:!0},_P=(()=>{class e extends Ta{writeValue(t){this.setProperty("checked",t)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){r&1&&xe("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},standalone:!1,features:[je([wP]),J]})}return e})(),SP={provide:Ut,useExisting:Be(()=>Tw),multi:!0};function TP(){let e=Kt()?Kt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var MP=new R(""),Tw=(()=>{class e extends Sw{_compositionMode;_composing=!1;constructor(t,r,o){super(t,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!TP())}writeValue(t){let r=t??"";this.setProperty("value",r)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(f(Nt),f(y),f(MP,8))};static \u0275dir=U({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&&xe("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[je([SP]),J]})}return e})();function sm(e){return e==null||am(e)===0}function am(e){return e==null?null:Array.isArray(e)||typeof e=="string"?e.length:e instanceof Set?e.size:null}var jn=new R(""),ad=new R(""),AP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,vw=class{static min(n){return Mw(n)}static max(n){return Aw(n)}static required(n){return xP(n)}static requiredTrue(n){return RP(n)}static email(n){return NP(n)}static minLength(n){return kP(n)}static maxLength(n){return xw(n)}static pattern(n){return OP(n)}static nullValidator(n){return Ku()}static compose(n){return Fw(n)}static composeAsync(n){return jw(n)}};function Mw(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}function Aw(e){return n=>{if(n.value==null||e==null)return null;let t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}function xP(e){return sm(e.value)?{required:!0}:null}function RP(e){return e.value===!0?null:{required:!0}}function NP(e){return sm(e.value)||AP.test(e.value)?null:{email:!0}}function kP(e){return n=>{let t=n.value?.length??am(n.value);return t===null||t===0?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}function xw(e){return n=>{let t=n.value?.length??am(n.value);return t!==null&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}function OP(e){if(!e)return Ku;let n,t;return typeof e=="string"?(t="",e.charAt(0)!=="^"&&(t+="^"),t+=e,e.charAt(e.length-1)!=="$"&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(sm(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}function Ku(e){return null}function Rw(e){return e!=null}function Nw(e){return Rr(e)?he(e):e}function kw(e){let n={};return e.forEach(t=>{n=t!=null?I(I({},n),t):n}),Object.keys(n).length===0?null:n}function Ow(e,n){return n.map(t=>t(e))}function PP(e){return!e.validate}function Pw(e){return e.map(n=>PP(n)?n:t=>n.validate(t))}function Fw(e){if(!e)return null;let n=e.filter(Rw);return n.length==0?null:function(t){return kw(Ow(t,n))}}function Lw(e){return e!=null?Fw(Pw(e)):null}function jw(e){if(!e)return null;let n=e.filter(Rw);return n.length==0?null:function(t){let r=Ow(t,n).map(Nw);return Gd(r).pipe(te(kw))}}function Vw(e){return e!=null?jw(Pw(e)):null}function yw(e,n){return e===null?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Bw(e){return e._rawValidators}function Uw(e){return e._rawAsyncValidators}function nm(e){return e?Array.isArray(e)?e:[e]:[]}function Ju(e,n){return Array.isArray(e)?e.includes(n):e===n}function Dw(e,n){let t=nm(n);return nm(e).forEach(o=>{Ju(t,o)||t.push(o)}),t}function Iw(e,n){return nm(n).filter(t=>!Ju(e,t))}var Xu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Lw(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Vw(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,t){return this.control?this.control.hasError(n,t):!1}getError(n,t){return this.control?this.control.getError(n,t):null}},Ro=class extends Xu{name;get formDirective(){return null}get path(){return null}},tn=class extends Xu{_parent=null;name=null;valueAccessor=null},ed=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var lK=(()=>{class e extends ed{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(f(tn,2))};static \u0275dir=U({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Us("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)},standalone:!1,features:[J]})}return e})(),uK=(()=>{class e extends ed{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(f(Ro,10))};static \u0275dir=U({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Us("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)("ng-submitted",o.isSubmitted)},standalone:!1,features:[J]})}return e})();var Ca="VALID",Yu="INVALID",Fi="PENDING",ba="DISABLED",Lr=class{},td=class extends Lr{value;source;constructor(n,t){super(),this.value=n,this.source=t}},Ea=class extends Lr{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}},wa=class extends Lr{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}},Li=class extends Lr{status;source;constructor(n,t){super(),this.status=n,this.source=t}},rm=class extends Lr{source;constructor(n){super(),this.source=n}},Sa=class extends Lr{source;constructor(n){super(),this.source=n}};function cm(e){return(cd(e)?e.validators:e)||null}function FP(e){return Array.isArray(e)?Lw(e):e||null}function lm(e,n){return(cd(n)?n.asyncValidators:e)||null}function LP(e){return Array.isArray(e)?Vw(e):e||null}function cd(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function Hw(e,n,t){let r=e.controls;if(!(n?Object.keys(r):r).length)throw new _(1e3,"");if(!r[t])throw new _(1001,"")}function $w(e,n,t){e._forEachChild((r,o)=>{if(t[o]===void 0)throw new _(-1002,"")})}var ji=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Q(this.statusReactive)}set status(n){Q(()=>this.statusReactive.set(n))}_status=Ke(()=>this.statusReactive());statusReactive=Y(void 0);get valid(){return this.status===Ca}get invalid(){return this.status===Yu}get pending(){return this.status===Fi}get disabled(){return this.status===ba}get enabled(){return this.status!==ba}errors;get pristine(){return Q(this.pristineReactive)}set pristine(n){Q(()=>this.pristineReactive.set(n))}_pristine=Ke(()=>this.pristineReactive());pristineReactive=Y(!0);get dirty(){return!this.pristine}get touched(){return Q(this.touchedReactive)}set touched(n){Q(()=>this.touchedReactive.set(n))}_touched=Ke(()=>this.touchedReactive());touchedReactive=Y(!1);get untouched(){return!this.touched}_events=new ue;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Dw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Dw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Iw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Iw(n,this._rawAsyncValidators))}hasValidator(n){return Ju(this._rawValidators,n)}hasAsyncValidator(n){return Ju(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let t=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(V(I({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new wa(!0,r))}
7markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),t&&n.emitEvent!==!1&&this._events.next(new wa(!1,r))}markAsDirty(n={}){let t=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(V(I({},n),{sourceControl:r})),t&&n.emitEvent!==!1&&this._events.next(new Ea(!1,r))}markAsPristine(n={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),t&&n.emitEvent!==!1&&this._events.next(new Ea(!0,r))}markAsPending(n={}){this.status=Fi;let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Li(this.status,t)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(V(I({},n),{sourceControl:t}))}disable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=ba,this.errors=null,this._forEachChild(o=>{o.disable(V(I({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new td(this.value,r)),this._events.next(new Li(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(V(I({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let t=this._parentMarkedDirty(n.onlySelf);this.status=Ca,this._forEachChild(r=>{r.enable(V(I({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(V(I({},n),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},t),this._parent?._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ca||this.status===Fi)&&this._runAsyncValidator(r,n.emitEvent)}let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new td(this.value,t)),this._events.next(new Li(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(V(I({},n),{sourceControl:t}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ba:Ca}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Fi,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:n!==!1};let r=Nw(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(n){let t=n;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){let r=t?this.get(t):this;return r?.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new Li(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new pe,this.statusChanges=new pe}_calculateStatus(){return this._allControlsDisabled()?ba:this.errors?Yu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Fi)?Fi:this._anyControlsHaveStatus(Yu)?Yu:Ca}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,t),o&&this._events.next(new Ea(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new wa(this.touched,t)),n.onlySelf||this._parent?._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){cd(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}
vendor: 10,404 bytes, line 7
7_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=FP(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=LP(this._rawAsyncValidators)}},nd=class extends ji{constructor(n,t,r){super(cm(t),lm(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){$w(this,!0,n),Object.keys(n).forEach(r=>{Hw(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,V(I({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Sa(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var om=class extends nd{};var Vi=new R("",{factory:()=>Ma}),Ma="always";function zw(e,n){return[...n.path,e]}function rd(e,n,t=Ma){um(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||t==="always")&&n.valueAccessor.setDisabledState?.(e.disabled),VP(e,n),UP(e,n),BP(e,n),jP(e,n)}function od(e,n,t=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),sd(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function id(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function jP(e,n){if(n.valueAccessor.setDisabledState){let t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}function um(e,n){let t=Bw(e);n.validator!==null?e.setValidators(yw(t,n.validator)):typeof t=="function"&&e.setValidators([t]);let r=Uw(e);n.asyncValidator!==null?e.setAsyncValidators(yw(r,n.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();id(n._rawValidators,o),id(n._rawAsyncValidators,o)}function sd(e,n){let t=!1;if(e!==null){if(n.validator!==null){let o=Bw(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(n.asyncValidator!==null){let o=Uw(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}let r=()=>{};return id(n._rawValidators,r),id(n._rawAsyncValidators,r),t}function VP(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Gw(e,n)})}function BP(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Gw(e,n),e.updateOn!=="submit"&&e.markAsTouched()})}function Gw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function UP(e,n){let t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}function HP(e,n){e==null,um(e,n)}function $P(e,n){return sd(e,n)}function dm(e,n){if(!e.hasOwnProperty("model"))return!1;let t=e.model;return t.isFirstChange()?!0:!Object.is(n,t.currentValue)}function zP(e){return Object.getPrototypeOf(e.constructor)===Ta}function GP(e,n){e._syncPendingControls(),n.forEach(t=>{let r=t.control;r.updateOn==="submit"&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function fm(e,n){if(!n)return null;Array.isArray(n);let t,r,o;return n.forEach(i=>{i.constructor===Tw?t=i:zP(i)?r=i:o=i}),o||r||t||null}function WP(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Cw(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function bw(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var _a=class extends ji{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(cm(t),lm(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),cd(t)&&(t.nonNullable||t.initialValueIsDefault)&&(bw(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),t.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,t?.emitEvent!==!1&&this._events.next(new Sa(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Cw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Cw(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){bw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var qP=e=>e instanceof _a;var ZP={provide:tn,useExisting:Be(()=>QP)},Ew=Promise.resolve(),QP=(()=>{class e extends tn{_changeDetectorRef;callSetDisabledState;control=new _a;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new pe;constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=fm(this,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),dm(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){rd(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){Ew.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let r=t.isDisabled.currentValue,o=r!==0&&bo(r);Ew.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?zw(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(f(Ro,9),f(jn,10),f(ad,10),f(Ut,10),f(b,8),f(Vi,8))};static \u0275dir=U({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[je([ZP]),J,lt]})}return e})();var fK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=U({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return e})();var YP={provide:Ut,useExisting:Be(()=>JP),multi:!0};var KP=(()=>{class e{_accessors=[];add(t,r){this._accessors.push([t,r])}remove(t){for(let r=this._accessors.length-1;r>=0;--r)if(this._accessors[r][1]===t){this._accessors.splice(r,1);return}}
7select(t){this._accessors.forEach(r=>{this._isSameGroup(r,t)&&r[1]!==t&&r[1].fireUncheck(t.value)})}_isSameGroup(t,r){return t[0].control?t[0]._parent===r._control._parent&&t[1].name===r.name:!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JP=(()=>{class e extends Ta{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=g(Vi,{optional:!0})??Ma;constructor(t,r,o,i){super(t,r),this._registry=o,this._injector=i}ngOnInit(){this._control=this._injector.get(tn),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||this.callSetDisabledState==="whenDisabledForLegacyCode")&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(r){return new(r||e)(f(Nt),f(y),f(KP),f(re))};static \u0275dir=U({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(r,o){r&1&&xe("change",function(){return o.onChange()})("blur",function(){return o.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[je([YP]),J]})}return e})();var im=class extends ji{constructor(n,t,r){super(cm(t),lm(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){Array.isArray(n)?n.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){$w(this,!1,n),n.forEach((r,o)=>{Hw(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){n!=null&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,o)=>{r.reset(n[o],V(I({},t),{onlySelf:!0}))}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),t?.emitEvent!==!1&&this._events.next(new Sa(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>r._syncPendingControls()?!0:t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};var XP=(()=>{class e extends Ro{callSetDisabledState;get submitted(){return Q(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Ke(()=>this._submittedReactive());_submittedReactive=Y(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(t,r,o){super(),this.callSetDisabledState=o,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this.onChanges(t)}ngOnDestroy(){this.onDestroy()}onChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateV
vendor: 5,021 bytes, line 7
7alidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(sd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(t){let r=this.form.get(t.path);return rd(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){od(t.control||null,t,!1),WP(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}getFormArray(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}updateModel(t,r){this.form.get(t.path).setValue(r)}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}onSubmit(t){return this.submitted=!0,GP(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new rm(this.control)),t?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(t=>{let r=t.control,o=this.form.get(t.path);r!==o&&(od(r||null,t),qP(o)&&(rd(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let r=this.form.get(t.path);HP(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){let r=this.form?.get(t.path);r&&$P(r,t)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){um(this.form,this),this._oldForm&&sd(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||e)(f(jn,10),f(ad,10),f(Vi,8))};static \u0275dir=U({type:e,features:[J,lt]})}return e})();var hm=new R(""),eF={provide:tn,useExisting:Be(()=>tF)},tF=(()=>{class e extends tn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new pe;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=fm(this,o)}ngOnChanges(t){if(this._isControlChanged(t)){let r=t.form.previousValue;r&&od(r,this,!1),rd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}dm(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&od(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||e)(f(jn,10),f(ad,10),f(Ut,10),f(hm,8),f(Vi,8))};static \u0275dir=U({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[je([eF]),J,lt]})}return e})();var nF={provide:tn,useExisting:Be(()=>rF)},rF=(()=>{class e extends tn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new pe;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=fm(this,i)}ngOnChanges(t){this._added||this._setUpControl(),dm(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return zw(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||e)(f(Ro,13),f(jn,10),f(ad,10),f(Ut,10),f(hm,8))};static \u0275dir=U({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[je([nF]),J,lt]})}return e})();var oF={provide:Ro,useExisting:Be(()=>iF)},iF=(()=>{class e extends XP{form=null;ngSubmit=new pe;get control(){return this.form}static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&xe("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[je([oF]),J]})}return e})(),sF={provide:Ut,useExisting:Be(()=>qw),multi:!0};function Ww(e,n){return e==null?`${n}
7`:(n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function aF(e){return e.split(":")[0]}var qw=(()=>{class e extends Ta{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;appRefInjector=g(Ot).injector;destroyRef=g(ct);cdr=g(b);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,fi({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(t){this.cdr.markForCheck(),this.value=t;let r=this._getOptionId(t),o=Ww(r,t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){let r=aF(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&xe("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[je([sF]),J]})}return e})(),hK=(()=>{class e{_element;_renderer;_select;id;constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){this._select!=null&&(this._select._optionMap.set(this.id,t),this._setElementValue(Ww(this.id,t)),this._select._writeValueAfterRender())}set value(t){this._setElementValue(t),this._select?._writeValueAfterRender()}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||e)(f(y),f(Nt),f(qw,9))};static \u0275dir=U({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})(),cF={provide:Ut,useExisting:Be(()=>Zw),multi:!0};function ww(e,n){return e==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${e}: ${n}`.slice(0,50))}function lF(e){return e.split(":")[0]}var Zw=(()=>{class e extends Ta{value;_optionMap=new Map;_idCounter=0;set compareWith(t){this._compareWith=t}_compareWith=Object.is;writeValue(t){this.value=t;let r;if(Array.isArray(t)){let o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s)>-1)}}else r=o=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{let o=[],i=r.selectedOptions;if(i!==void 0){let s=i;for(let a=0;a<s.length;a++){let c=s[a],l=this._getOptionValue(c.value);o.push(l)}}else{let s=r.options;for(let a=0;a<s.length;a++){let c=s[a];if(c.selected){let l=this._getOptionValue(c.value);o.push(l)}}}this.value=o,t(o)}}_registerOption(t){let r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){let r=lF(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&xe("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[je([cF]),J]})}return e})(),pK=(()=>{class e{_element;_renderer;_select;id;_value;constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){this._select!=null&&(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id
7),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||e)(f(y),f(Nt),f(Zw,9))};static \u0275dir=U({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return e})();function uF(e){return typeof e=="number"?e:parseInt(e,10)}function Qw(e){return typeof e=="number"?e:parseFloat(e)}var pm=(()=>{class e{_validator=Ku;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Ku,this._onChange?.()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=U({type:e,features:[lt]})}return e})(),dF={provide:jn,useExisting:Be(()=>gm),multi:!0},gm=(()=>{class e extends pm{max;inputName="max";normalizeInput=t=>Qw(t);createValidator=t=>Aw(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&gn("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[je([dF]),J]})}return e})(),fF={provide:jn,useExisting:Be(()=>mm),multi:!0},mm=(()=>{class e extends pm{min;inputName="min";normalizeInput=t=>Qw(t);createValidator=t=>Mw(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({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&&gn("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[je([fF]),J]})}return e})();var hF={provide:jn,useExisting:Be(()=>pF),multi:!0},pF=(()=>{class e extends pm{maxlength;inputName="maxlength";normalizeInput=t=>uF(t);createValidator=t=>xw(t);static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&gn("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[je([hF]),J]})}return e})();var Yw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Dt({type:e});static \u0275inj=st({})}return e})();function _w(e){return!!e&&(e.asyncValidators!==void 0||e.validators!==void 0||e.updateOn!==void 0)}var gK=(()=>{class e{useNonNullable=!1;get nonNullable(){let t=new e;return t.useNonNullable=!0,t}group(t,r=null){let o=this._reduceControls(t),i={};return _w(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new nd(o,i)}record(t,r=null){let o=this._reduceControls(t);return new om(o,r)}control(t,r,o){let i={};return this.useNonNullable?(_w(r)?i=r:(i.validators=r,i.asyncValidators=o),new _a(t,V(I({},i),{nonNullable:!0}))):new _a(t,r,o)}array(t,r,o){let i=t.map(s=>this._createControl(s));return new im(i,r,o)}_reduceControls(t){let r={};return Object.keys(t).forEach(o=>{r[o]=this._createControl(t[o])}),r}_createControl(t){if(t instanceof _a)return t;if(t instanceof ji)return t;if(Array.isArray(t)){let r=t[0],o=t.length>1?t[1]:null,i=t.length>2?t[2]:null;return this.control(r,o,i)}else return this.control(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mK=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Vi,useValue:t.callSetDisabledState??Ma}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Dt({type:e});static \u0275inj=st({imports:[Yw]})}return e})(),vK=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:hm,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Vi,useValue:t.callSetDisabledState??Ma}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Dt({type:e});static \u0275inj=st({imports:[Yw]})}return e})();var ld=class{constructor(n,t,r="fixed-top"){this.alertType=n;this.message=t;this.position=r;this.alertType=n,this.message=t,this.position=this.getAlertClass(n)}getAlertClass(n){let t="alert";switch(n){case"INFO":t=t+" alert-primary fixed-top text-center";break;case"DANGER":t=t+" alert-danger fixed-top text-center";break;case"SUCCESS":t=t+" alert-success fixed-top text-center";break;case"WARNING":t=t+" alert-warning fixed-top text-center";break}return t}};var dd=e=>gF(e),ym=(e,n)=>(typeof e=="string"&&(n=e,e=void 0),dd(e).includes(n)),gF=(e=window)=>
7{if(e===void 0)return[];e.Ionic=e.Ionic||{};let n=e.Ionic.platforms;return n==null&&(n=e.Ionic.platforms=mF(e),n.forEach(t=>e.document.documentElement.classList.add(`plt-${t}`))),n},mF=e=>{let n=fy.get("platform");return Object.keys(Xw).filter(t=>{let r=n?.[t];return typeof r=="function"?r(e):Xw[t](e)})},vm=e=>!!No(e,/iPad/i)||!(!No(e,/Macintosh/i)||!ud(e)),Kw=e=>No(e,/android|sink/i),ud=e=>vF(e,"(any-pointer:coarse)"),Jw=e=>e_(e)||t_(e),e_=e=>!!(e.cordova||e.phonegap||e.PhoneGap),t_=e=>{let n=e.Capacitor;return!!(n?.isNative||n?.isNativePlatform&&n.isNativePlatform())},No=(e,n)=>n.test(e.navigator.userAgent),vF=(e,n)=>{var t;return(t=e.matchMedia)===null||t===void 0?void 0:t.call(e,n).matches},Xw={ipad:vm,iphone:e=>No(e,/iPhone/i),ios:e=>No(e,/iPhone|iPod/i)||vm(e),android:Kw,phablet:e=>{let n=e.innerWidth,t=e.innerHeight,r=Math.min(n,t),o=Math.max(n,t);return r>390&&r<520&&o>620&&o<800},tablet:e=>{let n=e.innerWidth,t=e.innerHeight,r=Math.min(n,t),o=Math.max(n,t);return vm(e)||(i=>Kw(i)&&!No(i,/mobile/i))(e)||r>460&&r<820&&o>780&&o<1400},cordova:e_,capacitor:t_,electron:e=>No(e,/electron/i),pwa:e=>{var n;return!(!(!((n=e.matchMedia)===null||n===void 0)&&n.call(e,"(display-mode: standalone)").matches)&&!e.navigator.standalone)},mobile:ud,mobileweb:e=>ud(e)&&!Jw(e),desktop:e=>!ud(e),hybrid:Jw};var yF=["tabsInner"];var r_=(()=>{class e{doc;_readyPromise;win;backButton=new ue;keyboardDidShow=new ue;keyboardDidHide=new ue;pause=new ue;resume=new ue;resize=new ue;constructor(t,r){this.doc=t,r.run(()=>{this.win=t.defaultView,this.backButton.subscribeWithPriority=function(i,s){return this.subscribe(a=>a.register(i,c=>r.run(()=>s(c))))},Bi(this.pause,t,"pause",r),Bi(this.resume,t,"resume",r),Bi(this.backButton,t,"ionBackButton",r),Bi(this.resize,this.win,"resize",r),Bi(this.keyboardDidShow,this.win,"ionKeyboardDidShow",r),Bi(this.keyboardDidHide,this.win,"ionKeyboardDidHide",r);let o;this._readyPromise=new Promise(i=>{o=i}),this.win?.cordova?t.addEventListener("deviceready",()=>{o("cordova")},{once:!0}):o("dom")})}is(t){return ym(this.win,t)}platforms(){return dd(this.win)}ready(){return this._readyPromise}get isRTL(){return this.doc.dir==="rtl"}getQueryParam(t){return DF(this.win.location.href,t)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(t){let r=this.win.navigator;return!!(r?.userAgent&&r.userAgent.indexOf(t)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}static \u0275fac=function(r){return new(r||e)(k(ve),k(v))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),DF=(e,n)=>{n=n.replace(/[[\]\\]/g,"\\$&");let r=new RegExp("[\\?&]"+n+"=([^&#]*)").exec(e);return r?decodeURIComponent(r[1].replace(/\+/g," ")):null},Bi=(e,n,t,r)=>{n&&n.addEventListener(t,o=>{r.run(()=>{let i=o?.detail;e.next(i)})})},jr=(()=>{class e{location;serializer;router;topOutlet;direction=Dm;animated=Im;animationBuilder;guessDirection="forward";guessAnimation;lastNavId=-1;constructor(t,r,o,i){this.location=r,this.serializer=o,this.router=i,i&&i.events.subscribe(s=>{if(s instanceof Xt){let a=s.restoredState?s.restoredState.navigationId:s.id;this.guessDirection=this.guessAnimation=a<this.lastNavId?"back":"forward",this.lastNavId=this.guessDirection==="forward"?s.id:a}(s instanceof Tt||s instanceof ir)&&(this.direction=Dm,this.animated=Im,this.animationBuilder=void 0)}),t.backButton.subscribeWithPriority(0,s=>{this.pop(),s()})}navigateForward(t,r={}){return this.setDirection("forward",r.animated,r.animationDirection,r.animation),this.navigate(t,r)}navigateBack(t,r={}){return this.setDirection("back",r.animated,r.animationDirection,r.animation),this.navigate(t,r)}navigateRoot(t,r={}){return this.setDirection("root",r.animated,r.animationDirection,r.animation),this.navigate(t,r)}back(t={animated:!0,animationDirection:"back"}){return this.setDirection("back",t.animated,t.animationDirection,t.animation),this.location.back()}pop(){return Z(this,null,function*(){let t=this.topOutlet;for(;t;){if(yield t.pop())return!0;t=t.parentOutlet}return!1})}setDirection(t,r,o,i){this.direction=t,this.animated=IF(t,r,o),this.animationBuilder=i}setTopOutlet(t){this.topOutlet=t}consumeTransition(){let t="root",r,o=this.animationBuilder;return this.direction==="auto"?(t=this.guessDirection,r=this.guessAnimation):(r=this.animated,t=this.direction),this.direction=Dm,this.animated=Im,this.animationBuilder=void 0,{direction:t,animation:r,animationBuilder:o}}navigate(t,r){if(Array.isArray(t))return this.router.navigate(t,r);{let o=this.serializer.parse(t.toString());return r.queryParams!==void 0&&(o.queryParams=I({},r.queryParams)),r.fragment!==void 0&&(o.fragment=r.fragment),this.router.navigateByUrl(o,r)}}static \u0275fac=function(r){return new(r||e)(k(r_),k(Ft),k(Fn),k(He,8))};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),IF=(e,n,t)=>{if(n!==!1){if(t!==void 0)return t;if(e==="forward"||e==="back")return e;if(e==="root"&&n===!0)return"forward"}},Dm="auto",Im=void 0,xa=(()=>{class e{get(t,r){let o=Cm();return o?o.get(t,r):null}getBoolean(t,r){let o=Cm();return o?o.getBoolean(t,r):!1}getNumber(t,r){let o=Cm();return o?o.getNumber(t,r):0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),o_=new R("USERCONFIG"),Cm=()=>{if(typeof window<"u"){let e=window.Ionic;if(e?.config)return e.config}return null},Aa=class{data;constructor(n={}){this.data=n,console.warn("[Ionic Warning]: NavParams has been deprecated 
7in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.")}get(n){return this.data[n]}},i_=new R("IonModalToken"),Ra=(()=>{class e{zone=g(v);applicationRef=g(Ot);config=g(o_);create(t,r,o,i){return new Em(t,r,this.applicationRef,this.zone,o,this.config.useSetInputAPI??!1,i)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=E({token:e,factory:e.\u0275fac})}return e})(),Em=class{environmentInjector;injector;applicationRef;zone;elementReferenceKey;enableSignalsSupport;customInjector;elRefMap=new WeakMap;elEventsMap=new WeakMap;constructor(n,t,r,o,i,s,a){this.environmentInjector=n,this.injector=t,this.applicationRef=r,this.zone=o,this.elementReferenceKey=i,this.enableSignalsSupport=s,this.customInjector=a}attachViewToDom(n,t,r,o){return this.zone.run(()=>new Promise(i=>{let s=I({},r);this.elementReferenceKey!==void 0&&(s[this.elementReferenceKey]=n);let a=CF(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,n,t,s,o,this.elementReferenceKey,this.enableSignalsSupport,this.customInjector);i(a)}))}removeViewFromDom(n,t){return this.zone.run(()=>new Promise(r=>{let o=this.elRefMap.get(t);if(o){o.destroy(),this.elRefMap.delete(t);let i=this.elEventsMap.get(t);i&&(i(),this.elEventsMap.delete(t))}r()}))}},CF=(e,n,t,r,o,i,s,a,c,l,u,d,p)=>{let h=EF(c);s.tagName.toLowerCase()==="ion-modal"&&h.push({provide:i_,useValue:s});let m=re.create({providers:h,parent:p??t}),M=n0(a,{environmentInjector:n,elementInjector:m}),D=M.instance,N=M.location.nativeElement;if(c)if(u&&D[u]!==void 0&&console.error(`[Ionic Error]: ${u} is a reserved property when using ${s.tagName.toLowerCase()}. Rename or remove the "${u}" property from ${a.name}.`),d===!0&&M.setInput!==void 0){let ae=c,{modal:ee,popover:Je}=ae,De=Ui(ae,["modal","popover"]);for(let pt in De)M.setInput(pt,De[pt]);ee!==void 0&&Object.assign(D,{modal:ee}),Je!==void 0&&Object.assign(D,{popover:Je})}else Object.assign(D,c);if(l)for(let ee of l)N.classList.add(ee);let O=s_(e,D,N);return s.appendChild(N),r.attachView(M.hostView),M.changeDetectorRef.detectChanges(),o.set(N,M),i.set(N,O),N},bF=[yd,Dd,Id,Cd,bd],s_=(e,n,t)=>e.run(()=>{let r=bF.filter(o=>typeof n[o]=="function").map(o=>{let i=s=>n[o](s.detail);return t.addEventListener(o,i),()=>t.removeEventListener(o,i)});return()=>r.forEach(o=>o())}),n_=new R("NavParamsToken"),EF=e=>[{provide:n_,useValue:e},{provide:Aa,useFactory:wF,deps:[n_]}],wF=e=>new Aa(e),_F=(e,n)=>{let t=e.prototype;n.forEach(r=>{Object.defineProperty(t,r,{get(){return this.el[r]},set(o){this.z.runOutsideAngular(()=>this.el[r]=o)}})})},SF=(e,n)=>{let t=e.prototype;n.forEach(r=>{t[r]=function(){let o=arguments;return this.z.runOutsideAngular(()=>this.el[r].apply(this.el,o))}})},Rm=(e,n,t)=>{t.forEach(r=>e[r]=Kr(n,r))};function fd(e){return function(t){let{defineCustomElementFn:r,inputs:o,methods:i}=e;return r!==void 0&&r(),o&&_F(t,o),i&&SF(t,i),t}}var TF=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","expandToScroll","event","focusTrap","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],MF=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"],a_=(()=>{let e=class wm{z;template;isCmpOpen=!1;el;constructor(t,r,o){this.z=o,this.el=r.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,t.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,t.detectChanges()}),Rm(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss","ionDragStart","ionDragMove","ionDragEnd"])}static \u0275fac=function(r){return new(r||wm)(f(b),f(y),f(v))};static \u0275dir=U({type:wm,selectors:[["ion-modal"]],contentQueries:function(r,o,i){if
7(r&1&&Nr(i,Rn,5),r&2){let s;Qt(s=Yt())&&(o.template=s.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",expandToScroll:"expandToScroll",event:"event",focusTrap:"focusTrap",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"},standalone:!1})};return e=S([fd({inputs:TF,methods:MF})],e),e})(),AF=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","focusTrap","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],xF=["present","dismiss","onDidDismiss","onWillDismiss"],c_=(()=>{let e=class _m{z;template;isCmpOpen=!1;el;constructor(t,r,o){this.z=o,this.el=r.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,t.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,t.detectChanges()}),Rm(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(r){return new(r||_m)(f(b),f(y),f(v))};static \u0275dir=U({type:_m,selectors:[["ion-popover"]],contentQueries:function(r,o,i){if
7(r&1&&Nr(i,Rn,5),r&2){let s;Qt(s=Yt())&&(o.template=s.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",focusTrap:"focusTrap",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"},standalone:!1})};return e=S([fd({inputs:AF,methods:xF})],e),e})(),RF=(e,n,t)=>t==="root"?l_(e,n):t==="forward"?NF(e,n):kF(e,n),l_=(e,n)=>(e=e.filter(t=>t.stackId!==n.stackId),e.push(n),e),NF=(e,n)=>(e.indexOf(n)>=0?e=e.filter(r=>r.stackId!==n.stackId||r.id<=n.id):e.push(n),e),kF=(e,n)=>e.indexOf(n)>=0?e.filter(r=>r.stackId!==n.stackId||r.id<=n.id):l_(e,n),Sm=(e,n)=>{let t=e.createUrlTree(["."],{relativeTo:n});return e.serializeUrl(t)},u_=(e,n)=>n?e.stackId!==n.stackId:!0,OF=(e,n)=>{if(!e)return;let t=d_(n);for(let r=0;r<t.length;r++){if(r>=e.length)return t[r];if(t[r]!==e[r])return}},d_=e=>e.split("/").map(n=>n.trim()).filter(n=>n!==""),f_=e=>{e&&(e.ref.destroy(),e.unlistenEvents())},Tm=class{containerEl;router;navCtrl;zone;location;views=[];runningTask;skipTransition=!1;tabsPrefix;activeView;nextId=0;constructor(n,t,r,o,i,s){this.containerEl=t,this.router=r,this.navCtrl=o,this.zone=i,this.location=s,this.tabsPrefix=n!==void 0?d_(n):void 0}createView(n,t){let r=Sm(this.router,t),o=n?.location?.nativeElement,i=s_(this.zone,n.instance,o);return{id:this.nextId++,stackId:OF(this.tabsPrefix,r),unlistenEvents:i,element:o,ref:n,url:r}}getExistingView(n){let t=Sm(this.router,n),r=this.views.find(o=>o.url===t);return r&&r.ref.changeDetectorRef.reattach(),r}setActive(n){let t=this.navCtrl.consumeTransition(),{direction:r,animation:o,animationBuilder:i}=t,s=this.activeView,a=u_(n,s);a&&(r="back",o=void 0);let c=this.views.slice(),l,u=this.router;u.getCurrentNavigation?l=u.getCurrentNavigation():u.navigations?.value&&(l=u.navigations.value),l?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);let d=this.views.includes(n),p=this.insertView(n,r);d||n.ref.changeDetectorRef.detectChanges();let h=n.animationBuilder;return i===void 0&&r==="back"&&!a&&h!==void 0&&(i=h),s&&(s.animationBuilder=i),this.zone.runOutsideAngular(()=>this.wait(()=>(s&&s.ref.changeDetectorRef.detach(),n.ref.changeDetectorRef.reattach(),this.transition(n,s,o,this.canGoBack(1),!1,i).then(()=>PF(n,p,c,this.location,this.zone)).then(()=>({enteringView:n,direction:r,animation:o,tabSwitch:a})))))}canGoBack(n,t=this.getActiveStackId()){return this.getStack(t).length>n}pop(n,t=this.getActiveStackId()){return this.zone.run(()=>{let r=this.getStack(t);if(r.length<=n)return Promise.resolve(!1);let o=r[r.length-n-1],i=o.url,s=o.savedData;if(s){let c=s.get("primary");c?.route?._routerState?.snapshot.url&&(i=c.route._routerState.snapshot.url)}let{animationBuilder:a}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(i,V(I({},o.savedExtras),{animation:a})).then(()=>!0)})}startBackTransition(){let n=this.activeView;if(n){let t=this.getStack(n.stackId),r=t[t.length-2],o=r.animationBuilder;return this.wait(()=>this.transition(r,n,"back",this.canGoBack(2),!0,o))}return Promise.resolve()}endBackTransition(n){n?(this.skipTransition=!0,this.pop(1)):this.activeView&&h_(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(n){let t=this.getStack(n);return t.length>0?t[t.length-1]:void 0}getRootUrl(n){let t=this.getStack(n);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return this.runningTask!==void 0}destroy(){this.containerEl=void 0,this.views.forEach(f_),this.activeView=void 0,this.views=[]}getStack(n){return this.views.filter(t=>t.stackId===n)}insertView(n,t){return this.activeView=n,this.views=RF(this.views,n,t),this.views.slice()}transition(n,t,r,o,i,s){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===n)return Promise.resolve(!1);
7let a=n?n.element:void 0,c=t?t.element:void 0,l=this.containerEl;return a&&a!==c&&(a.classList.add("ion-page"),a.classList.add("ion-page-invisible"),l?.commit)?l.commit(a,c,{duration:r===void 0?0:void 0,direction:r,showGoBack:o,progressAnimation:i,animationBuilder:s}):Promise.resolve(!1)}wait(n){return Z(this,null,function*(){this.runningTask!==void 0&&(yield this.runningTask,this.runningTask=void 0);let t=this.runningTask=n();return t.finally(()=>this.runningTask=void 0),t})}},PF=(e,n,t,r,o)=>typeof requestAnimationFrame=="function"?new Promise(i=>{requestAnimationFrame(()=>{h_(e,n,t,r,o),i()})}):Promise.resolve(),h_=(e,n,t,r,o)=>{o.run(()=>t.filter(i=>!n.includes(i)).forEach(f_)),n.forEach(i=>{let a=r.path().split("?")[0].split("#")[0];if(i!==e&&i.url!==a){let c=i.element;c.setAttribute("aria-hidden","true"),c.classList.add("ion-page-hidden"),i.ref.changeDetectorRef.detach()}})},Nm=(()=>{class e{parentOutlet;nativeEl;activatedView=null;tabsPrefix;_swipeGesture;stackCtrl;proxyMap=new WeakMap;currentActivatedRoute$=new Ve(null);activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=$;stackWillChange=new pe;stackDidChange=new pe;activateEvents=new pe;deactivateEvents=new pe;parentContexts=g(Ln);location=g(kt);environmentInjector=g(ce);inputBinder=g(FF,{optional:!0});supportsBindingToComponentInputs=!0;config=g(xa);navCtrl=g(jr);set animation(t){this.nativeEl.animation=t}set animated(t){this.nativeEl.animated=t}set swipeGesture(t){this._swipeGesture=t,this.nativeEl.swipeHandler=t?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:r=>this.stackCtrl.endBackTransition(r)}:void 0}constructor(t,r,o,i,s,a,c,l){this.parentOutlet=l,this.nativeEl=i.nativeElement,this.name=t||$,this.tabsPrefix=r==="true"?Sm(s,c):void 0,this.stackCtrl=new Tm(this.tabsPrefix,this.nativeEl,s,this.navCtrl,a,o),this.parentContexts.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){let t=this.getContext();t?.route&&this.activateWith(t.route,t.injector)}new Promise(t=>vd(this.nativeEl,t)).then(()=>{this._swipeGesture===void 0&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled",this.nativeEl.mode==="ios"))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(t,r){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){let r=this.getContext();this.activatedView.savedData=new Map(r.children.contexts);let o=this.activatedView.savedData.get("primary");if(o&&r.route&&(o.route=I({},r.route)),this.activatedView.savedExtras={},r.route){let i=r.route.snapshot;this.activatedView.savedExtras.queryParams=i.queryParams,this.activatedView.savedExtras.fragment=i.fragment}}let t=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;let o,i=this.stackCtrl.getExistingView(t);if(i){o=this.activated=i.ref;let a=i.savedData;if(a){let c=this.getContext();c.children.contexts=a}this.updateActivatedRouteProxy(o.instance,t)}else{let a=t._futureSnapshot,c=this.parentContexts.getOrCreateContext(this.name).children,l=new Ve(null),u=this.createActivatedRouteProxy(l,t),d=new Mm(u,c,this.location.injector),p=a.routeConfig.component??a.component;o=this.activated=this.outletContent.createComponent(p,{index:this.outletContent.length,injector:d,environmentInjector:r??this.environmentInjector}),l.next(o.instance),i=this.stackCtrl.createView(this.activated,t),this.proxyMap.set(o.instance,u),this.currentActivatedRoute$.next({component:o.instance,activatedRoute:t})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=i,this.navCtrl.setTopOutlet(this);let s=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:i,tabSwitch:u_(i,s)}),this.stackCtrl.setActive(i).then(a=>{this.activateEvents.emit(o.instance),this.stackDidChange.emit(a)})}canGoBack(t=1,r){return this.stackCtrl.canGoBack(t,r)}pop(t=1,r){return this.stackCtrl.pop(t,r)}getLastUrl(t){let r=this.stackCtrl.getLastUrl(t);return r?r.url:void 0}getLastRouteView(t){return this.stackCtrl.getLastUrl(t)}getRootView(t){return this.stackCtrl.getRootUrl(t)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(t,r){let o=new nt;return o._futureSnapshot=r._futureSnapshot,o._routerState=r._routerState,o.snapshot=r.snapshot,o.outlet=r.outlet,o.component=r.component,o._paramMap=this.proxyObservable(t,"paramMap"),o._queryParamMap=this.proxyObservable(t,"queryParamMap"),o.url=this.proxyObservable(t,"url"),o.params=this.proxyObservable(t,"params"),o.queryParams=this.proxyObservable(t,"queryParams"),o.fragment=this.proxyObservable(t,"fragment"),o.data=this.proxyObservable(t,"data"),o}proxyObservable(t,r){return t.pipe(Ie(o=>!!o),ze(o=>this.currentActivatedRoute$.pipe(Ie(i=>i!==null&&i.component===o),ze(i=>i&&i.activatedRoute[r]),Yd())))}updateActivatedRouteProxy(t,r){let o=this.proxyMap.get(t);if(!o)throw new Error("Could not find activated route proxy for view");o._futureSnapshot=r._futureSnapshot,o._routerState=r._routerState,o.snapshot=r.snapshot,o.outlet=r.outlet,o.component=r.component,this.currentActivatedRoute$.next({component:t,activatedRoute:r})}static \u0275fac=function(r){return new(r||e)(pn("name"),pn("tabs"),f(Ft),f(y),f(He),f(v),f(nt),f(e,12))};static \u0275dir=U({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"],standalone:!1})}return e})(),Mm=class{route;childContexts;parent;constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===nt?this.route:n===Ln?this.childContexts:this.parent.get(n,t)}},FF=new R("");var p_=e=>typeof __zone_symbol__requestAnimationFrame=="function"?__zone_symbol__requestAnimationFrame(e):typeof requestAnimationFrame=="function"?requestAnimationFrame(e):setTimeout(e),Na=(()=>{class e{injector;elementRef;onChange=()=>{};onTouched=()=>{};lastValue;statusChanges;constructor(t,r){this.injector=t,this.elementRef=r}writeValue(t){this.elementRef.nativeElement.value=this.lastValue=t,ko(this.elementRef)}handleValueChange(t,r){t===this.elementRef.nativeElement&&(r!==this.lastValue&&(this.lastValue=r,this.onChange(r)),ko(this.elementRef))}_handleBlurEvent(t){t===this.elementRef.nativeElement?(this.onTouched(),ko(this.elementRef)):t.closest("ion-radio-group")===this.elementRef.nativeElement&&this.onTouched()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.elementRef.nativeElement.disabled=t}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let t;try{t=this.injector.get(tn)}catch(o){}if(!t)return;t.statusChanges&&(this.statusChanges=t.statusChanges.subscribe(()=>ko(this.elementRef)));let r=t.control;r&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(i=>
7{if(typeof r[i]<"u"){let s=r[i].bind(r);r[i]=(...a)=>{s(...a),ko(this.elementRef)}}})}static \u0275fac=function(r){return new(r||e)(f(re),f(y))};static \u0275dir=U({type:e,hostBindings:function(r,o){r&1&&xe("ionBlur",function(s){return o._handleBlurEvent(s.target)})},standalone:!1})}return e})(),ko=e=>{p_(()=>{let n=e.nativeElement,t=n.value!=null&&n.value.toString().length>0,r=LF(n);bm(n,r);let o=n.closest("ion-item");o&&(t?bm(o,[...r,"item-has-value"]):bm(o,r))})},LF=e=>{let n=e.classList,t=[];for(let r=0;r<n.length;r++){let o=n.item(r);o!==null&&jF(o,"ng-")&&t.push(`ion-${o.substring(3)}`)}return t},bm=(e,n)=>{let t=e.classList;t.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),t.add(...n)},jF=(e,n)=>e.substring(0,n.length)===n,VF=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"],g_=(()=>{let e=class Am{routerOutlet;navCtrl;config;r;z;el;constructor(t,r,o,i,s,a){this.routerOutlet=t,this.navCtrl=r,this.config=o,this.r=i,this.z=s,a.detach(),this.el=this.r.nativeElement}onClick(t){let r=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),t.preventDefault()):r!=null&&(this.navCtrl.navigateBack(r,{animation:this.routerAnimation}),t.preventDefault())}static \u0275fac=function(r){return new(r||Am)(f(Nm,8),f(jr),f(xa),f(y),f(v),f(b))};static \u0275dir=U({type:Am,hostBindings:function(r,o){r&1&&xe("click",function(s){return o.onClick(s)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"},standalone:!1})};return e=S([fd({inputs:VF})],e),e})(),BF=["animated","animation","root","rootParams","swipeGesture"],UF=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"],m_=(()=>{let e=class xm{z;el;constructor(t,r,o,i,s,a){this.z=s,a.detach(),this.el=t.nativeElement,t.nativeElement.delegate=i.create(r,o),Rm(this,this.el,["ionNavDidChange","ionNavWillChange"])}static \u0275fac=function(r){return new(r||xm)(f(y),f(ce),f(re),f(Ra),f(v),f(b))};static \u0275dir=U({type:xm,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"},standalone:!1})};return e=S([fd({inputs:BF,methods:UF})],e),e})(),v_=(()=>{class e{locationStrategy;navCtrl;elementRef;router;routerLink;routerDirection="forward";routerAnimation;constructor(t,r,o,i,s){this.locationStrategy=t,this.navCtrl=r,this.elementRef=o,this.router=i,this.routerLink=s}ngOnInit(){this.updateTargetUrlAndHref(),this.updateTabindex(),this.elementRef.nativeElement.addEventListener("click",this.onCaptureClick,{capture:!0})}ngOnChanges(){this.updateTargetUrlAndHref()}ngOnDestroy(){this.elementRef.nativeElement.removeEventListener("click",this.onCaptureClick,{capture:!0})}onCaptureClick=t=>{this.opensNatively(t)&&t.stopImmediatePropagation()};opensNatively(t){if(t instanceof MouseEvent&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey))return!0;let r=this.elementRef.nativeElement.target;return r!=null&&r!==""&&r!=="_self"}updateTabindex(){let t=["ION-BACK-BUTTON","ION-BREADCRUMB","ION-BUTTON","ION-CARD","ION-FAB-BUTTON","ION-ITEM","ION-ITEM-OPTION","ION-MENU-BUTTON","ION-SEGMENT-BUTTON","ION-TAB-BUTTON"],r=this.elementRef.nativeElement;t.includes(r.tagName)&&r.getAttribute("tabindex")==="0"&&r.removeAttribute("tabindex")}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){let t=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=t}}onClick(t){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),t.preventDefault()}static \u0275fac=function(r){return new(r||e)(f(wt),f(jr),f(y),f(He),f(va,8))};static \u0275dir=U({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(r,o){r&1&&xe("click",function(s){return o.onClick(s)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},standalone:!1,features:[lt]})}return e})(),y_=(()=>{class e{locationStrategy;navCtrl;elementRef;router;routerLink;routerDirection="forward";routerAnimation;constructor(t,r,o,i,s){this.locationStrategy=t,this.navCtrl=r,this.elementRef=o,this.router=i,this.routerLink=s}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}
7updateTargetUrlAndHref(){if(this.routerLink?.urlTree){let t=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=t}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}static \u0275fac=function(r){return new(r||e)(f(wt),f(jr),f(y),f(He),f(va,8))};static \u0275dir=U({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(r,o){r&1&&xe("click",function(){return o.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},standalone:!1,features:[lt]})}return e})(),HF=e=>{if(!e)return;let n=e.indexOf("#"),t=n>=0&&n<e.length-1?e.slice(n+1):void 0,r=n>=0?e.slice(0,n):e,o=r.indexOf("?"),i=o>=0?r.slice(o+1):"",s;if(i){let c=new URLSearchParams(i);s={};for(let l of new Set(c.keys())){let u=c.getAll(l);s[l]=u.length>1?u:u[0]}}if(!s&&t===void 0)return;let a={};return s&&(a.queryParams=s),t!==void 0&&(a.fragment=t),a},D_=(()=>{class e{navCtrl;tabsInner;ionTabsWillChange=new pe;ionTabsDidChange=new pe;tabBarSlot="bottom";hasTab=!1;selectedTab;leavingTab;constructor(t){this.navCtrl=t}ngAfterViewInit(){let t=this.tabs.length>0?this.tabs.first:void 0;t&&(this.hasTab=!0,this.setActiveTab(t.tab),this.tabSwitch())}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:t,tabSwitch:r}){let o=t.stackId;r&&o!==void 0&&this.ionTabsWillChange.emit({tab:o})}onStackDidChange({enteringView:t,tabSwitch:r}){let o=t.stackId;r&&o!==void 0&&(this.tabBar&&(this.tabBar.selectedTab=o),this.ionTabsDidChange.emit({tab:o}))}select(t){let r=typeof t=="string",o=r?t:t.detail.tab,i=r?void 0:t.detail.href;if(this.hasTab){this.setActiveTab(o),this.tabSwitch();return}let s=this.outlet.getActiveStackId()===o,a=`${this.outlet.tabsPrefix}/${o}`,c=HF(i);if(r||t.stopPropagation(),s){let l=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(l)?.url===a)return;let d=this.outlet.getRootView(o),p=d&&a===d.url&&d.savedExtras;return this.navCtrl.navigateRoot(a,V(I(I({},p),c),{animated:!0,animationDirection:"back"}))}else{let l=this.outlet.getLastRouteView(o),u=l?.url||a,d=l?.savedExtras??(u===a?c:void 0);return this.navCtrl.navigateRoot(u,V(I({},d),{animated:!0,animationDirection:"back"}))}}setActiveTab(t){let o=this.tabs.find(i=>i.tab===t);if(!o){console.error(`[Ionic Error]: Tab with id: "${t}" does not exist`);return}this.leavingTab=this.selectedTab,this.selectedTab=o,this.ionTabsWillChange.emit({tab:t}),o.el.active=!0}tabSwitch(){let{selectedTab:t,leavingTab:r}=this;this.tabBar&&t&&(this.tabBar.selectedTab=t.tab),r?.tab!==t?.tab&&r?.el&&(r.el.active=!1),t&&this.ionTabsDidChange.emit({tab:t.tab})}getSelected(){return this.hasTab?this.selectedTab?.tab:this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(t=>{let r=t.el.getAttribute("slot");r!==this.tabBarSlot&&(this.tabBarSlot=r,this.relocateTabBar())})}relocateTabBar(){let t=this.tabBar.el;this.tabBarSlot==="top"?this.tabsInner.nativeElement.before(t):this.tabsInner.nativeElement.after(t)}static \u0275fac=function(r){return new(r||e)(f(jr))};static \u0275dir=U({type:e,selectors:[["ion-tabs"]],viewQuery:function(r,o){if(r&1&&Io(yF,7,y),r&2){let i;Qt(i=Yt())&&(o.tabsInner=i.first)}},hostBindings:function(r,o){r&1&&xe("ionTabButtonClick",function(s){return o.select(s)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"},standalone:!1})}return e})();(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();var A=["*"],aL=["outletContent"],cL=["outlet"],lL=[[["","slot","top"]],"*",[["ion-tab"]]],uL=["[slot=top]","*","ion-tab"],dL=["*ngIf","tabs.length > 0"];function fL(e,n){if(e&1){let t=yi();xr(0,"ion-router-outlet",5,1),xe("stackWillChange",function(o){Wn(t);let i=ge();return qn(i.onStackWillChange(o))})("stackDidChange",function(o){Wn(t);let i=ge();return qn(i.onStackDidChange(o))}),Do()}}function hL(e,n){e&1&&w(0,2,dL)}function pL(e,n){if(e&1&&(xr(0,"div",1),Vs(1,2),Do()),e&2){let t=ge();K(),Yn("ngTemplateOutlet",t.template)}}function gL(e,n){if(e&1&&Vs(0,1),e&2){let t=ge();Yn("ngTemplateOutlet",t.template)}}var mL=(()=>{class e extends Na{constructor(t,r){super(t,r)}writeValue(t){this.elementRef.nativeElement.checked=this.lastValue=t,ko(this.elementRef)}_handleIonChange(t){this.handleValueChange(t,t.checked)}static \u0275fac=function(r){return new(r||e)(f(re),f(y))};static \u0275dir=U({type:e,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(r,o){r&1&&xe("ionChange",function(s){return o._handleIonChange(s.target)})},standalone:!1,features:[je([{provide:Ut,useExisting:e,multi:!0}]),J]})}return e})(),vL=(()=>{class e extends Na{el;constructor(t,r){super(t,r),this.el=r}handleInputEvent(t){this.handleValueChange(t,t.value)}registerOnChange(t){this.el.nativeElement.tagName==="ION-INPUT"||this.el.nativeElement.tagName==="ION-INPUT
7-OTP"?super.registerOnChange(r=>{t(r===""?null:parseFloat(r))}):super.registerOnChange(t)}static \u0275fac=function(r){return new(r||e)(f(re),f(y))};static \u0275dir=U({type:e,selectors:[["ion-input","type","number"],["ion-input-otp",3,"type","text"],["ion-range"]],hostBindings:function(r,o){r&1&&xe("ionInput",function(s){return o.handleInputEvent(s.target)})},standalone:!1,features:[je([{provide:Ut,useExisting:e,multi:!0}]),J]})}return e})(),yL=(()=>{class e extends Na{constructor(t,r){super(t,r)}_handleChangeEvent(t){this.handleValueChange(t,t.value)}static \u0275fac=function(r){return new(r||e)(f(re),f(y))};static \u0275dir=U({type:e,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(r,o){r&1&&xe("ionChange",function(s){return o._handleChangeEvent(s.target)})},standalone:!1,features:[je([{provide:Ut,useExisting:e,multi:!0}]),J]})}return e})(),DL=(()=>{class e extends Na{constructor(t,r){super(t,r)}_handleInputEvent(t){this.handleValueChange(t,t.value)}static \u0275fac=function(r){return new(r||e)(f(re),f(y))};static \u0275dir=U({type:e,selectors:[["ion-input",3,"type","number"],["ion-input-otp","type","text"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(r,o){r&1&&xe("ionInput",function(s){return o._handleInputEvent(s.target)})},standalone:!1,features:[je([{provide:Ut,useExisting:e,multi:!0}]),J]})}return e})(),IL=(e,n)=>{let t=e.prototype;n.forEach(r=>{Object.defineProperty(t,r,{get(){return this.el[r]},set(o){this.z.runOutsideAngular(()=>this.el[r]=o)},configurable:!0})})},CL=(e,n)=>{let t=e.prototype;n.forEach(r=>{t[r]=function(){let o=arguments;return this.z.runOutsideAngular(()=>this.el[r].apply(this.el,o))}})},ie=(e,n,t)=>{t.forEach(r=>e[r]=Kr(n,r))};function x(e){return function(t){let{defineCustomElementFn:r,inputs:o,methods:i}=e;return r!==void 0&&r(),o&&IL(t,o),i&&CL(t,i),t}}var bL=(()=>{let e=class km{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||km)(f(b),f(y),f(v))};static \u0275cmp=C({type:km,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],e),e})(),EL=(()=>{let e=class Om{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||Om)(f(b),f(y),f(v))};static \u0275cmp=C({type:Om,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],e),e})(),wL=(()=>{let e=class Pm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(r){return new(r||Pm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Pm,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDid
7Dismiss","onWillDismiss"]})],e),e})(),_L=(()=>{let e=class Fm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(r){return new(r||Fm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Fm,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],e),e})(),SL=(()=>{let e=class Lm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Lm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Lm,selectors:[["ion-app"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({methods:["setFocus"]})],e),e})(),TL=(()=>{let e=class jm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||jm)(f(b),f(y),f(v))};static \u0275cmp=C({type:jm,selectors:[["ion-avatar"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({})],e),e})(),ML=(()=>{let e=class Vm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionBackdropTap"])}static \u0275fac=function(r){return new(r||Vm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Vm,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["stopPropagation","tappable","visible"]})],e),e})(),AL=(()=>{let e=class Bm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Bm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Bm,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode"]})],e),e})(),xL=(()=>{let e=class Um{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||Um)(f(b),f(y),f(v))};static \u0275cmp=C({type:Um,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],e),e})(),RL=(()=>{let e=class Hm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionCollapsedClick"])}static \u0275fac=function(r){return new(r||Hm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Hm,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],e),e})(),NL=(()=>{let e=class $m{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||$m)(f(b),f(y),f(v))};static \u0275cmp=C({type:$m,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],e),e})(),kL=(()=>{let e=class zm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||zm)(f(b),f(y),f(v))};static \u0275cmp=C({type:zm,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["collapse"]})],e),e})(),OL=(()=>{let e=class Gm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Gm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Gm,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),PL=(()=>{let e=class Wm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Wm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Wm,selectors:[["ion-card-content"]],inputs:{mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["mode"]})],e),e})(),FL=(()=>{let e=class qm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||qm)(f(b),f(y),f(v))};static \u0275cmp=C({type:qm,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode","translucent"]})],e),e})(),LL=(()=>{let e=class Zm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Zm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Zm,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode"]})],e),e})(),jL=(()=>{let e=class Qm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Qm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Qm,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode"]})],e),e})(),VL=(()=>{let e=class Ym{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||Ym)(f(b),f(y),f(v))};static \u0275cmp=C({type:Ym,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",errorText:"errorText",helperText:"helperText",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",required:"required",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["alignment","checked","color","disabled","errorText","helperText","indeterminate","justify","labelPlacement","mode","name","required","value"]})],e),e})(),BL=(()=>{let e=class Km{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Km)(f(b),f(y),f(v))};static \u0275cmp=C({type:Km,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","disabled","mode","outline"]})],e),e})(),UL=(()=>{let e=class Jm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Jm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Jm,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],e),e})(),HL=(()=>{let e=class Xm{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}static \u0275fac=function(r){return new(r||Xm)(f(b),f(y),f(v))};static \u0275cmp=C({type:Xm,selectors:[["ion-content"]],inputs:{color:"color",fixedSlotPlacement:"fixedSlotPlacement",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","fixedSlotPlacement","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],e),e})(),$L=(()=>{let e=class ev{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||ev)(f(b),f(y),f(v))};static \u0275cmp=C({type:ev,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",formatOptions:"formatOptions",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showAdjacentDays:"showAdjacentDays",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","formatOptions","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showAdjacentDays","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],e),e})(),zL=(()=>{let e=class tv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||tv)(f(b),f(y),f(v))};static \u0275cmp=C({type:tv,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["color","datetime","disabled","mode"]})],e),e})(),GL=(()=>{let e=class nv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||nv)(f(b),f(y),f(v))};static \u0275cmp=C({type:nv,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],e),e})(),WL=(()=>{let e=class rv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||rv)(f(b),f(y),f(v))};static \u0275cmp=C({type:rv,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["activated","closeIcon","color","disabled","download","form","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],e),e})(),qL=(()=>{let e=class ov{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||ov)(f(b),f(y),f(v))};static \u0275cmp=C({type:ov,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["activated","side"]})],e),e})(),ZL=(()=>{let e=class iv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||iv)(f(b),f(y),f(v))};static \u0275cmp=C({type:iv,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["collapse","mode","translucent"]})],e),e})(),QL=(()=>{let e=class sv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||sv)(f(b),f(y),f(v))};static \u0275cmp=C({type:sv,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["fixed"]})],e),e})(),YL=(()=>{let e=class av{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||av)(f(b),f(y),f(v))};static \u0275cmp=C({type:av,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["collapse","mode","translucent"]})],e),e})(),KL=(()=>{let e=class cv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||cv)(f(b),f(y),f(v))};static \u0275cmp=C({type:cv,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],e),e})(),JL=(()=>{let e=class lv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}static \u0275fac=function(r){return new(r||lv)(f(b),f(y),f(v))};static \u0275cmp=C({type:lv,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["alt","src"]})],e),e})(),XL=(()=>{let e=class uv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionInfinite"])}static \u0275fac=function(r){return new(r||uv)(f(b),f(y),f(v))};static \u0275cmp=C({type:uv,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled","position","threshold"],methods:["complete"]})],e),e})(),ej=(()=>{let e=class dv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||dv)(f(b),f(y),f(v))};static \u0275cmp=C({type:dv,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["loadingSpinner","loadingText"]})],e),e})(),tj=(()=>{let e=class fv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||fv)(f(b),f(y),f(v))};static \u0275cmp=C({type:fv,selectors:[["ion-input"]],inputs:{autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearInputIcon:"clearInputIcon",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearInputIcon","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),nj=(()=>{let e=class hv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionInput","ionChange","ionComplete","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||hv)(f(b),f(y),f(v))};static \u0275cmp=C({type:hv,selectors:[["ion-input-otp"]],inputs:{autocapitalize:"autocapitalize",color:"color",disabled:"disabled",fill:"fill",inputmode:"inputmode",length:"length",pattern:"pattern",readonly:"readonly",separators:"separators",shape:"shape",size:"size",type:"type",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["autocapitalize","color","disabled","fill","inputmode","length","pattern","readonly","separators","shape","size","type","value"],methods:["setFocus"]})],e),e})(),rj=(()=>{let e=class pv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||pv)(f(b),f(y),f(v))};static \u0275cmp=C({type:pv,selectors:[["ion-input-password-toggle"]],inputs:{color:"color",hideIcon:"hideIcon",mode:"mode",showIcon:"showIcon"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","hideIcon","mode","showIcon"]})],e),e})(),oj=(()=>{let e=class gv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||gv)(f(b),f(y),f(v))};static \u0275cmp=C({type:gv,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerAnimation","routerDirection","target","type"]})],e),e})(),ij=(()=>{let e=class mv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||mv)(f(b),f(y),f(v))};static \u0275cmp=C({type:mv,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode","sticky"]})],e),e})(),sj=(()=>{let e=class vv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||vv)(f(b),f(y),f(v))};static \u0275cmp=C({type:vv,selectors:[["ion-item-group"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({})],e),e})(),aj=(()=>{let e=class yv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||yv)(f(b),f(y),f(v))};static \u0275cmp=C({type:yv,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],e),e})(),cj=(()=>{let e=class Dv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionSwipe"])}static \u0275fac=function(r){return new(r||Dv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Dv,selectors:[["ion-item-options"]],inputs:{side:"side"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["side"]})],e),e})(),lj=(()=>{let e=class Iv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionDrag"])}static \u0275fac=function(r){return new(r||Iv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Iv,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],e),e})(),uj=(()=>{let e=class Cv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Cv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Cv,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode","position"]})],e),e})(),dj=(()=>{let e=class bv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||bv)(f(b),f(y),f(v))};static \u0275cmp=C({type:bv,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],e),e})(),fj=(()=>{let e=class Ev{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Ev)(f(b),f(y),f(v))};static \u0275cmp=C({type:Ev,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","lines","mode"]})],e),e})(),hj=(()=>{let e=class wv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(r){return new(r||wv)(f(b),f(y),f(v))};static \u0275cmp=C({type:wv,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],e),e})(),pj=(()=>{let e=class _v{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}static \u0275fac=function(r){return new(r||_v)(f(b),f(y),f(v))};static \u0275cmp=C({type:_v,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],e),e})(),gj=(()=>{let e=class Sv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Sv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Sv,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["autoHide","color","disabled","menu","mode","type"]})],e),e})(),mj=(()=>{let e=class Tv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Tv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Tv,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["autoHide","menu"]})],e),e})(),vj=(()=>{let e=class Mv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Mv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Mv,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["component","componentProps","routerAnimation","routerDirection"]})],e),e})(),yj=(()=>{let e=class Av{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Av)(f(b),f(y),f(v))};static \u0275cmp=C({type:Av,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode"]})],e),e})(),Dj=(()=>{let e=class xv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||xv)(f(b),f(y),f(v))};static \u0275cmp=C({type:xv,selectors:[["ion-picker"]],inputs:{mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["mode"]})],e),e})(),Ij=(()=>{let e=class Rv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||Rv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Rv,selectors:[["ion-picker-column"]],inputs:{color:"color",disabled:"disabled",mode:"mode",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","disabled","mode","value"],methods:["setFocus"]})],e),e})(),Cj=(()=>{let e=class Nv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Nv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Nv,selectors:[["ion-picker-column-option"]],inputs:{color:"color",disabled:"disabled",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["color","disabled","value"]})],e),e})(),bj=(()=>{let e=class kv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(r){return new(r||kv)(f(b),f(y),f(v))};static \u0275cmp=C({type:kv,selectors:[["ion-picker-legacy"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],e),e})(),Ej=(()=>{let e=class Ov{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Ov)(f(b),f(y),f(v))};static \u0275cmp=C({type:Ov,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["buffer","color","mode","reversed","type","value"]})],e),e})(),wj=(()=>{let e=class Pv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||Pv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Pv,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["alignment","color","disabled","justify","labelPlacement","mode","name","value"]})],e),e})(),_j=(()=>{let e=class Fv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||Fv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Fv,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",errorText:"errorText",helperText:"helperText",name:"name",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["allowEmptySelection","compareWith","errorText","helperText","name","value"]})],e),e})(),Sj=(()=>{let e=class Lv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}static \u0275fac=function(r){return new(r||Lv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Lv,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],e),e})(),Tj=(()=>{let e=class jv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionRefresh","ionPull","ionStart","ionPullStart","ionPullEnd"])}static \u0275fac=function(r){return new(r||jv)(f(b),f(y),f(v))};static \u0275cmp=C({type:jv,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],e),e})(),Mj=(()=>{let e=class Vv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Vv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Vv,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],e),e})(),Aj=(()=>{let e=class Bv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Bv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Bv,selectors:[["ion-reorder"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({})],e),e})(),xj=(()=>{let e=class Uv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionItemReorder","ionReorderStart","ionReorderMove","ionReorderEnd"])}static \u0275fac=function(r){return new(r||Uv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Uv,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled"],methods:["complete"]})],e),e})(),Rj=(()=>{let e=class Hv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Hv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Hv,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["type"],methods:["addRipple"]})],e),e})(),Nj=(()=>{let e=class $v{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||$v)(f(b),f(y),f(v))};static \u0275cmp=C({type:$v,selectors:[["ion-row"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({})],e),e})(),kj=(()=>{let e=class zv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||zv)(f(b),f(y),f(v))};static \u0275cmp=C({type:zv,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["animated","autocapitalize","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","maxlength","minlength","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),Oj=(()=>{let e=class Gv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange"])}static \u0275fac=function(r){return new(r||Gv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Gv,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],e),e})(),Pj=(()=>{let e=class Wv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Wv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Wv,selectors:[["ion-segment-button"]],inputs:{contentId:"contentId",disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["contentId","disabled","layout","mode","type","value"]})],e),e})(),Fj=(()=>{let e=class qv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||qv)(f(b),f(y),f(v))};static \u0275cmp=C({type:qv,selectors:[["ion-segment-content"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({})],e),e})(),Lj=(()=>{let e=class Zv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionSegmentViewScroll"])}static \u0275fac=function(r){return new(r||Zv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Zv,selectors:[["ion-segment-view"]],inputs:{disabled:"disabled",swipeGesture:"swipeGesture"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled","swipeGesture"]})],e),e})(),jj=(()=>{let e=class Qv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||Qv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Qv,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",errorText:"errorText",expandedIcon:"expandedIcon",fill:"fill",helperText:"helperText",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",required:"required",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["cancelText","color","compareWith","disabled","errorText","expandedIcon","fill","helperText","interface","interfaceOptions","justify","label","labelPlacement","mode","multiple","name","okText","placeholder","required","selectedText","shape","toggleIcon","value"],methods:["open"]})],e),e})(),Vj=(()=>{let e=class Yv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Yv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Yv,selectors:[["ion-select-modal"]],inputs:{cancelText:"cancelText",header:"header",multiple:"multiple",options:"options"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["cancelText","header","multiple","options"]})],e),e})(),Bj=(()=>{let e=class Kv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Kv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Kv,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled","value"]})],e),e})(),Uj=(()=>{let e=class Jv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Jv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Jv,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};
7return e=S([x({inputs:["animated"]})],e),e})(),Hj=(()=>{let e=class Xv{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||Xv)(f(b),f(y),f(v))};static \u0275cmp=C({type:Xv,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","duration","name","paused"]})],e),e})(),$j=(()=>{let e=class ey{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionSplitPaneVisible"])}static \u0275fac=function(r){return new(r||ey)(f(b),f(y),f(v))};static \u0275cmp=C({type:ey,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["contentId","disabled","when"]})],e),e})(),E_=(()=>{let e=class ty{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||ty)(f(b),f(y),f(v))};static \u0275cmp=C({type:ty,selectors:[["ion-tab"]],inputs:{component:"component",tab:"tab"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["component","tab"],methods:["setActive"]})],e),e})(),ny=(()=>{let e=class ry{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||ry)(f(b),f(y),f(v))};static \u0275cmp=C({type:ry,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode","selectedTab","translucent"]})],e),e})(),zj=(()=>{let e=class oy{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||oy)(f(b),f(y),f(v))};static \u0275cmp=C({type:oy,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],e),e})(),Gj=(()=>{let e=class iy{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||iy)(f(b),f(y),f(v))};static \u0275cmp=C({type:iy,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode"]})],e),e})(),Wj=(()=>{let e=class sy{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}static \u0275fac=function(r){return new(r||sy)(f(b),f(y),f(v))};static \u0275cmp=C({type:sy,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getIn
7putElement"]})],e),e})(),qj=(()=>{let e=class ay{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||ay)(f(b),f(y),f(v))};static \u0275cmp=C({type:ay,selectors:[["ion-thumbnail"]],standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({})],e),e})(),Zj=(()=>{let e=class cy{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||cy)(f(b),f(y),f(v))};static \u0275cmp=C({type:cy,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","size"]})],e),e})(),Qj=(()=>{let e=class ly{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}static \u0275fac=function(r){return new(r||ly)(f(b),f(y),f(v))};static \u0275cmp=C({type:ly,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],e),e})(),Yj=(()=>{let e=class uy{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement,ie(this,this.el,["ionChange","ionFocus","ionBlur"])}static \u0275fac=function(r){return new(r||uy)(f(b),f(y),f(v))};static \u0275cmp=C({type:uy,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",errorText:"errorText",helperText:"helperText",justify:"justify",labelPlacement:"labelPlacement",mode:"mode",name:"name",required:"required",value:"value"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["alignment","checked","color","disabled","enableOnOffLabels","errorText","helperText","justify","labelPlacement","mode","name","required","value"]})],e),e})(),Kj=(()=>{let e=class dy{z;el;constructor(t,r,o){this.z=o,t.detach(),this.el=r.nativeElement}static \u0275fac=function(r){return new(r||dy)(f(b),f(y),f(v))};static \u0275cmp=C({type:dy,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},standalone:!1,ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})};return e=S([x({inputs:["color","mode"]})],e),e})(),hd=(()=>{class e extends Nm{parentOutlet;outletContent;constructor(t,r,o,i,s,a,c,l){super(t,r,o,i,s,a,c,l),this.parentOutlet=l}static \u0275fac=function(r){return new(r||e)(pn("name"),pn("tabs"),f(Ft),f(y),f(He),f(v),f(nt),f(e,12))};static \u0275cmp=C({type:e,selectors:[["ion-router-outlet"]],viewQuery:function(r,o){if(r&1&&Io(aL,7,kt),r&2){let i;Qt(i=Yt())&&(o.outletContent=i.first)}},standalone:!1,features:[J],ngContentSelectors:A,decls:3,vars:0,consts:[["outletContent",""]],template:function(r,o){r&1&&(T(),Ls(0,null,0),w(2),js())},encapsulation:2})}return e})(),Jj=(()=>{class e extends D_{outlet;tabBar;tabBars;tabs;static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275cmp=C({type:e,selectors:[["ion-tabs"]],contentQueries:function(r,o,i){if
7(r&1&&Nr(i,ny,5)(i,ny,4)(i,E_,4),r&2){let s;Qt(s=Yt())&&(o.tabBar=s.first),Qt(s=Yt())&&(o.tabBars=s),Qt(s=Yt())&&(o.tabs=s)}},viewQuery:function(r,o){if(r&1&&Io(cL,5,hd),r&2){let i;Qt(i=Yt())&&(o.outlet=i.first)}},standalone:!1,features:[J],ngContentSelectors:uL,decls:6,vars:2,consts:[["tabsInner",""],["outlet",""],[1,"tabs-inner"],["tabs","true",3,"stackWillChange","stackDidChange",4,"ngIf"],[4,"ngIf"],["tabs","true",3,"stackWillChange","stackDidChange"]],template:function(r,o){r&1&&(T(lL),w(0),xr(1,"div",2,0),mi(3,fL,2,0,"ion-router-outlet",3)(4,hL,1,0,"ng-content",4),Do(),w(5,1)),r&2&&(K(3),Yn("ngIf",o.tabs.length===0),K(),Yn("ngIf",o.tabs.length>0))},dependencies:[Ys,hd],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]})}return e})(),Xj=(()=>{class e extends g_{constructor(t,r,o,i,s,a){super(t,r,o,i,s,a)}static \u0275fac=function(r){return new(r||e)(f(hd,8),f(jr),f(xa),f(y),f(v),f(b))};static \u0275cmp=C({type:e,selectors:[["ion-back-button"]],standalone:!1,features:[J],ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})}return e})(),eV=(()=>{class e extends m_{constructor(t,r,o,i,s,a){super(t,r,o,i,s,a)}static \u0275fac=function(r){return new(r||e)(f(y),f(ce),f(re),f(Ra),f(v),f(b))};static \u0275cmp=C({type:e,selectors:[["ion-nav"]],standalone:!1,features:[J],ngContentSelectors:A,decls:1,vars:0,template:function(r,o){r&1&&(T(),w(0))},encapsulation:2,changeDetection:0})}return e})(),tV=(()=>{class e extends v_{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],standalone:!1,features:[J]})}return e})(),nV=(()=>{class e extends y_{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],standalone:!1,features:[J]})}return e})(),rV=(()=>{class e extends a_{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275cmp=C({type:e,selectors:[["ion-modal"]],standalone:!1,features:[J],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&mi(0,pL,2,1,"div",0),r&2&&Yn("ngIf",o.isCmpOpen||o.keepContentsMounted)},dependencies:[Ys,Ql],encapsulation:2,changeDetection:0})}return e})(),oV=(()=>{class e extends c_{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275cmp=C({type:e,selectors:[["ion-popover"]],standalone:!1,features:[J],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&mi(0,gL,1,1,"ng-container",0),r&2&&Yn("ngIf",o.isCmpOpen||o.keepContentsMounted)},dependencies:[Ys,Ql],encapsulation:2,changeDetection:0})}return e})(),iV={provide:jn,useExisting:Be(()=>w_),multi:!0},w_=(()=>{class e extends gm{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&gn("max",o._enabled?o.max:null)},standalone:!1,features:[je([iV]),J]})}return e})(),sV={provide:jn,useExisting:Be(()=>__),multi:!0},__=(()=>{class e extends mm{static \u0275fac=(()=>{let t;return function(o){return(t||(t=be(e)))(o||e)}})();static \u0275dir=U({type:e,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&gn("min",o._enabled?o.min:null)},standalone:!1,features:[je([sV]),J]})}return e})();var aV=[bL,EL,wL,_L,SL,TL,ML,AL,xL,RL,NL,kL,OL,PL,FL,LL,jL,VL,BL,UL,HL,$L,zL,GL,WL,qL,ZL,QL,YL,KL,JL,XL,ej,tj,nj,rj,oj,ij,sj,aj,cj,lj,uj,dj,fj,hj,pj,gj,mj,vj,yj,Dj,Ij,Cj,bj,Ej,wj,_j,Sj,Tj,Mj,Aj,xj,Rj,Nj,kj,Oj,Pj,Fj,Lj,jj,Vj,Bj,Uj,Hj,$j,E_,ny,zj,Gj,Wj,qj,Zj,Qj,Yj,Kj],fX=[...aV,rV,oV,mL,vL,yL,DL,Jj,hd,Xj,eV,tV,nV,__,w_];var S_=class e{transform(n){if(!n)return"";let t=n.indexOf(" ");return t!==-1?n.substring(0,t):n}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275pipe=gi({name:"cutString",type:e,pure:!0})}};var T_=class e{constructor(){this.alert=Y(null);this.alertError=Y(null);this.router=g(He);this.router.events.subscribe(n=>{n instanceof Xt&&n.url!=="/pagina-erro"&&this.clear()})}setMessage(n,t,r="fixed-top"){this.alert.set(new ld(n,t,r)),setTimeout(()=>{this.clear()},4e3)}clear(){this.alert.set(null)}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=E({token:e,factory:e.\u0275fac,providedIn:"root"})}};export{G as a,ue as b,Ve as c,W_ as d,q_ as e,P as f,$d as g,te as h,Gd as i,Kr as j,Wd as k,vS as l,Ie as m,qd as n,IS as o,Mt as p,Zd as q,bt as r,Qi as s,zo as t,Ye as u,ze as v,Go as w,mt as x,ES as y,_ as z,$t as A,Be as B,E as C,st as D,R as E,k as F,g as G,_n as H,gD as I,Wn as J,qn as K,UD as 
7L,HD as M,re as N,ve as O,ct as P,pe as Q,v as R,Ht as S,Y as T,rh as U,lt as V,be as W,y as X,di as Y,pM as Z,vM as _,K as $,FM as aa,fi as ba,Rn as ca,Nt as da,f as ea,kt as fa,C as ga,Dt as ha,U as ia,gi as ja,J as ka,mi as la,Ml as ma,Ot as na,gn as oa,Nx as pa,Oe as qa,Pe as ra,Ox as sa,Px as ta,Fx as ua,Lx as va,Yn as wa,xr as xa,Do as ya,Al as za,oe as Aa,X as Ba,Le as Ca,Ls as Da,js as Ea,Vs as Fa,yi as Ga,Kn as Ha,xe as Ia,Zt as Ja,ge as Ka,T as La,w as Ma,Nr as Na,Io as Oa,Qt as Pa,Yt as Qa,wb as Ra,_b as Sa,Yx as Ta,Kx as Ua,Us as Va,Di as Wa,Ce as Xa,kr as Ya,Pt as Za,Nb as _a,Ob as $a,bR as ab,Pb as bb,ER as cb,je as db,TR as eb,MR as fb,AR as gb,xR as hb,RR as ib,PR as jb,LR as kb,VR as lb,Ii as mb,Fp as nb,Ke as ob,Jn as pb,Ol as qb,Ll as rb,Co as sb,f9 as tb,h9 as ub,p9 as vb,g9 as wb,m9 as xb,v9 as yb,b as zb,bo as Ab,yN as Bb,w0 as Cb,WN as Db,qN as Eb,Ql as Fb,QN as Gb,YN as Hb,Yl as Ib,P7 as Jb,hk as Kb,tt as Lb,nr as Mb,Lt as Nb,Bk as Ob,Uk as Pb,FZ as Qb,en as Rb,nt as Sb,Hg as Tb,He as Ub,va as Vb,B1 as Wb,U1 as Xb,Ia as Yb,Gu as Zb,tY as _b,Wu as $b,dw as ac,ft as bc,fw as cc,Qu as dc,hw as ec,pw as fc,gw as gc,mw as hc,Ut as ic,_P as jc,Tw as kc,jn as lc,vw as mc,lK as nc,uK as oc,nd as pc,_a as qc,QP as rc,fK as sc,JP as tc,im as uc,tF as vc,rF as wc,iF as xc,qw as yc,hK as zc,pK as Ac,pF as Bc,gK as Cc,mK as Dc,vK as Ec,T_ as Fc,r_ as Gc,S_ as Hc};

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.