roadrecon 1.6.0__py3-none-any.whl → 1.6.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (self.webpackChunkroadrecon=self.webpackChunkroadrecon||[]).push([[179],{435:(La,ms,jo)=>{"use strict";function Re(t){return"function"==typeof t}function gs(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const _s=gs(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Vt(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class ye{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const r of e)r.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Re(i))try{i()}catch(r){n=r instanceof _s?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Ec(r)}catch(s){n=n??[],s instanceof _s?n=[...n,...s.errors]:n.push(s)}}if(n)throw new _s(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Ec(n);else{if(n instanceof ye){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Vt(e,n)}remove(n){const{_finalizers:e}=this;e&&Vt(e,n),n instanceof ye&&n._removeParent(this)}}ye.EMPTY=(()=>{const t=new ye;return t.closed=!0,t})();const Tc=ye.EMPTY;function xc(t){return t instanceof ye||t&&"closed"in t&&Re(t.remove)&&Re(t.add)&&Re(t.unsubscribe)}function Ec(t){Re(t)?t():t.unsubscribe()}const ei={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ri={setTimeout(t,n,...e){const{delegate:i}=Ri;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Ri;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function X(t){Ri.setTimeout(()=>{const{onUnhandledError:n}=ei;if(!n)throw t;n(t)})}function re(){}const De=_n("C",void 0,void 0);function _n(t,n,e){return{kind:t,value:n,error:e}}let vn=null;function gi(t){if(ei.useDeprecatedSynchronousErrorHandling){const n=!vn;if(n&&(vn={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=vn;if(vn=null,e)throw i}}else t()}class zh extends ye{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,xc(n)&&n.add(this)):this.destination=MA}static create(n,e,i){return new Ba(n,e,i)}next(n){this.isStopped?Wh(function gn(t){return _n("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Wh(function _t(t){return _n("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Wh(De,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const wA=Function.prototype.bind;function Gh(t,n){return wA.call(t,n)}class DA{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Ac(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Ac(i)}else Ac(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Ac(e)}}}class Ba extends zh{constructor(n,e,i){let o;if(super(),Re(n)||!n)o={next:n??void 0,error:e??void 0,complete:i??void 0};else{let r;this&&ei.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Gh(n.next,r),error:n.error&&Gh(n.error,r),complete:n.complete&&Gh(n.complete,r)}):o=n}this.destination=new DA(o)}}function Ac(t){ei.useDeprecatedSynchronousErrorHandling?function vs(t){ei.useDeprecatedSynchronousErrorHandling&&vn&&(vn.errorThrown=!0,vn.error=t)}(t):X(t)}function Wh(t,n){const{onStoppedNotification:e}=ei;e&&Ri.setTimeout(()=>e(t,n))}const MA={closed:!0,next:re,error:function SA(t){throw t},complete:re},qh="function"==typeof Symbol&&Symbol.observable||"@@observable";function $o(t){return t}function xv(t){return 0===t.length?$o:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let Ge=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const r=function EA(t){return t&&t instanceof zh||function xA(t){return t&&Re(t.next)&&Re(t.error)&&Re(t.complete)}(t)&&xc(t)}(e)?e:new Ba(e,i,o);return gi(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Ev(i))((o,r)=>{const s=new Ba({next:a=>{try{e(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[qh](){return this}pipe(...e){return xv(e)(this)}toPromise(e){return new(e=Ev(e))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return t.create=n=>new t(n),t})();function Ev(t){var n;return null!==(n=t??ei.Promise)&&void 0!==n?n:Promise}const AA=gs(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let W=(()=>{class t extends Ge{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Av(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new AA}next(e){gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){gi(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:o,observers:r}=this;return i||o?Tc:(this.currentObservers=null,r.push(e),new ye(()=>{this.currentObservers=null,Vt(r,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:r}=this;i?e.error(o):r&&e.complete()}asObservable(){const e=new Ge;return e.source=this,e}}return t.create=(n,e)=>new Av(n,e),t})();class Av extends W{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Tc}}function Iv(t){return Re(t?.lift)}function vt(t){return n=>{if(Iv(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ht(t,n,e,i,o){return new IA(t,n,e,i,o)}class IA extends zh{constructor(n,e,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function oe(t,n){return vt((e,i)=>{let o=0;e.subscribe(ht(i,r=>{i.next(t.call(n,r,o++))}))})}function Kh(t,n,e,i){var s,o=arguments.length,r=o<3?n:null===i?i=Object.getOwnPropertyDescriptor(n,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,n,e,i);else for(var a=t.length-1;a>=0;a--)(s=t[a])&&(r=(o<3?s(r):o>3?s(n,e,r):s(n,e))||r);return o>3&&r&&Object.defineProperty(n,e,r),r}function yr(t){return this instanceof yr?(this.v=t,this):new yr(t)}function OA(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(v){i[v]&&(o[v]=function(b){return new Promise(function(C,w){r.push([v,b,C,w])>1||a(v,b)})})}function a(v,b){try{!function l(v){v.value instanceof yr?Promise.resolve(v.value.v).then(c,h):g(r[0][2],v)}(i[v](b))}catch(C){g(r[0][3],C)}}function c(v){a("next",v)}function h(v){a("throw",v)}function g(v,b){v(b),r.shift(),r.length&&a(r[0][0],r[0][1])}}function PA(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Ov(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=t[r](s)).done,s.value)})}}}const Qh=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function Pv(t){return Re(t?.then)}function Fv(t){return Re(t[qh])}function Nv(t){return Symbol.asyncIterator&&Re(t?.[Symbol.asyncIterator])}function Lv(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Bv=function NA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Vv(t){return Re(t?.[Bv])}function Hv(t){return OA(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield yr(e.read());if(o)return yield yr(void 0);yield yield yr(i)}}finally{e.releaseLock()}})}function jv(t){return Re(t?.getReader)}function In(t){if(t instanceof Ge)return t;if(null!=t){if(Fv(t))return function LA(t){return new Ge(n=>{const e=t[qh]();if(Re(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Qh(t))return function BA(t){return new Ge(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}(t);if(Pv(t))return function VA(t){return new Ge(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,X)})}(t);if(Nv(t))return $v(t);if(Vv(t))return function HA(t){return new Ge(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(jv(t))return function jA(t){return $v(Hv(t))}(t)}throw Lv(t)}function $v(t){return new Ge(n=>{(function $A(t,n){var e,i,o,r;return function kA(t,n,e,i){return new(e||(e=Promise))(function(r,s){function a(h){try{c(i.next(h))}catch(g){s(g)}}function l(h){try{c(i.throw(h))}catch(g){s(g)}}function c(h){h.done?r(h.value):function o(r){return r instanceof e?r:new e(function(s){s(r)})}(h.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=PA(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=e.return)&&(yield r.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function no(t,n,e,i=0,o=!1){const r=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(r),!o)return r}function lt(t,n,e=1/0){return Re(n)?lt((i,o)=>oe((r,s)=>n(i,r,o,s))(In(t(i,o))),e):("number"==typeof n&&(e=n),vt((i,o)=>function UA(t,n,e,i,o,r,s,a){const l=[];let c=0,h=0,g=!1;const v=()=>{g&&!l.length&&!c&&n.complete()},b=w=>c<i?C(w):l.push(w),C=w=>{r&&n.next(w),c++;let x=!1;In(e(w,h++)).subscribe(ht(n,E=>{o?.(E),r?b(E):n.next(E)},()=>{x=!0},void 0,()=>{if(x)try{for(c--;l.length&&c<i;){const E=l.shift();s?no(n,s,()=>C(E)):C(E)}v()}catch(E){n.error(E)}}))};return t.subscribe(ht(n,b,()=>{g=!0,v()})),()=>{a?.()}}(i,o,t,e)))}function ys(t=1/0){return lt($o,t)}const It=new Ge(t=>t.complete());function Uv(t){return t&&Re(t.schedule)}function Zh(t){return t[t.length-1]}function zv(t){return Re(Zh(t))?t.pop():void 0}function Va(t){return Uv(Zh(t))?t.pop():void 0}function Gv(t,n=0){return vt((e,i)=>{e.subscribe(ht(i,o=>no(i,t,()=>i.next(o),n),()=>no(i,t,()=>i.complete(),n),o=>no(i,t,()=>i.error(o),n)))})}function Wv(t,n=0){return vt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function qv(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ge(e=>{no(e,n,()=>{const i=t[Symbol.asyncIterator]();no(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function xt(t,n){return n?function ZA(t,n){if(null!=t){if(Fv(t))return function WA(t,n){return In(t).pipe(Wv(n),Gv(n))}(t,n);if(Qh(t))return function YA(t,n){return new Ge(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(Pv(t))return function qA(t,n){return In(t).pipe(Wv(n),Gv(n))}(t,n);if(Nv(t))return qv(t,n);if(Vv(t))return function KA(t,n){return new Ge(e=>{let i;return no(e,n,()=>{i=t[Bv](),no(e,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void e.error(s)}r?e.complete():e.next(o)},0,!0)}),()=>Re(i?.return)&&i.return()})}(t,n);if(jv(t))return function QA(t,n){return qv(Hv(t),n)}(t,n)}throw Lv(t)}(t,n):In(t)}function yn(...t){const n=Va(t),e=function GA(t,n){return"number"==typeof Zh(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?In(i[0]):ys(e)(xt(i,n)):It}function Xh(t={}){const{connector:n=(()=>new W),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return r=>{let s,a,l,c=0,h=!1,g=!1;const v=()=>{a?.unsubscribe(),a=void 0},b=()=>{v(),s=l=void 0,h=g=!1},C=()=>{const w=s;b(),w?.unsubscribe()};return vt((w,x)=>{c++,!g&&!h&&v();const E=l=l??n();x.add(()=>{c--,0===c&&!g&&!h&&(a=Jh(C,o))}),E.subscribe(x),!s&&c>0&&(s=new Ba({next:B=>E.next(B),error:B=>{g=!0,v(),a=Jh(b,e,B),E.error(B)},complete:()=>{h=!0,v(),a=Jh(b,i),E.complete()}}),In(w).subscribe(s))})(r)}}function Jh(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Ba({next:()=>{i.unsubscribe(),t()}});return n(...e).subscribe(i)}function Je(t){for(let n in t)if(t[n]===Je)return n;throw Error("Could not find renamed property on target object.")}function ef(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function et(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(et).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function tf(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const XA=Je({__forward_ref__:Je});function Be(t){return t.__forward_ref__=Be,t.toString=function(){return et(this())},t}function _e(t){return nf(t)?t():t}function nf(t){return"function"==typeof t&&t.hasOwnProperty(XA)&&t.__forward_ref__===Be}class P extends Error{constructor(n,e){super(function Ic(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function Ce(t){return"string"==typeof t?t:null==t?"":String(t)}function kc(t,n){throw new P(-201,!1)}function Vn(t,n){null==t&&function We(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function V(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function se(t){return{providers:t.providers||[],imports:t.imports||[]}}function Rc(t){return Yv(t,Oc)||Yv(t,Qv)}function Yv(t,n){return t.hasOwnProperty(n)?t[n]:null}function Kv(t){return t&&(t.hasOwnProperty(rf)||t.hasOwnProperty(aI))?t[rf]:null}const Oc=Je({\u0275prov:Je}),rf=Je({\u0275inj:Je}),Qv=Je({ngInjectableDef:Je}),aI=Je({ngInjectorDef:Je});var ce=(()=>((ce=ce||{})[ce.Default=0]="Default",ce[ce.Host=1]="Host",ce[ce.Self=2]="Self",ce[ce.SkipSelf=4]="SkipSelf",ce[ce.Optional=8]="Optional",ce))();let sf;function ti(t){const n=sf;return sf=t,n}function Zv(t,n,e){const i=Rc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&ce.Optional?null:void 0!==n?n:void kc(et(t))}function Uo(t){return{toString:t}.toString()}var _i=(()=>((_i=_i||{})[_i.OnPush=0]="OnPush",_i[_i.Default=1]="Default",_i))(),vi=(()=>{return(t=vi||(vi={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",vi;var t})();const it=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),bs={},$e=[],Pc=Je({\u0275cmp:Je}),af=Je({\u0275dir:Je}),lf=Je({\u0275pipe:Je}),Xv=Je({\u0275mod:Je}),oo=Je({\u0275fac:Je}),Ha=Je({__NG_ELEMENT_ID__:Je});let cI=0;function U(t){return Uo(()=>{const e=!0===t.standalone,i={},o={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===_i.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||$e,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||vi.Emulated,id:"c"+cI++,styles:t.styles||$e,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.dependencies,s=t.features;return o.inputs=ty(t.inputs,i),o.outputs=ty(t.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=r?()=>("function"==typeof r?r():r).map(Jv).filter(ey):null,o.pipeDefs=r?()=>("function"==typeof r?r():r).map(Cn).filter(ey):null,o})}function Jv(t){return Qe(t)||bn(t)}function ey(t){return null!==t}function ae(t){return Uo(()=>({type:t.type,bootstrap:t.bootstrap||$e,declarations:t.declarations||$e,imports:t.imports||$e,exports:t.exports||$e,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ty(t,n){if(null==t)return bs;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),e[o]=i,n&&(n[o]=r)}return e}const R=U;function kn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Qe(t){return t[Pc]||null}function bn(t){return t[af]||null}function Cn(t){return t[lf]||null}function Hn(t,n){const e=t[Xv]||null;if(!e&&!0===n)throw new Error(`Type ${et(t)} does not have '\u0275mod' property.`);return e}function Rn(t){return Array.isArray(t)&&"object"==typeof t[1]}function bi(t){return Array.isArray(t)&&!0===t[1]}function uf(t){return 0!=(8&t.flags)}function Bc(t){return 2==(2&t.flags)}function Vc(t){return 1==(1&t.flags)}function Ci(t){return null!==t.template}function mI(t){return 0!=(256&t[2])}function Sr(t,n){return t.hasOwnProperty(oo)?t[oo]:null}class vI{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ct(){return oy}function oy(t){return t.type.prototype.ngOnChanges&&(t.setInput=bI),yI}function yI(){const t=sy(this),n=t?.current;if(n){const e=t.previous;if(e===bs)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function bI(t,n,e,i){const o=sy(t)||function CI(t,n){return t[ry]=n}(t,{previous:bs,current:null}),r=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[e],l=s[a];r[a]=new vI(l&&l.currentValue,n,s===bs),t[i]=n}ct.ngInherit=!0;const ry="__ngSimpleChanges__";function sy(t){return t[ry]||null}function kt(t){for(;Array.isArray(t);)t=t[0];return t}function Hc(t,n){return kt(n[t])}function oi(t,n){return kt(n[t.index])}function gf(t,n){return t.data[n]}function Ms(t,n){return t[n]}function $n(t,n){const e=n[t];return Rn(e)?e:e[0]}function jc(t){return 64==(64&t[2])}function zo(t,n){return null==n?null:t[n]}function ay(t){t[18]=0}function _f(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const be={lFrame:_y(null),bindingsEnabled:!0};function cy(){return be.bindingsEnabled}function L(){return be.lFrame.lView}function Le(){return be.lFrame.tView}function Zt(t){return be.lFrame.contextLView=t,t[8]}function Xt(t){return be.lFrame.contextLView=null,t}function Ht(){let t=dy();for(;null!==t&&64===t.type;)t=t.parent;return t}function dy(){return be.lFrame.currentTNode}function Oi(t,n){const e=be.lFrame;e.currentTNode=t,e.isParent=n}function vf(){return be.lFrame.isParent}function yf(){be.lFrame.isParent=!1}function wn(){const t=be.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Ts(){return be.lFrame.bindingIndex++}function so(t){const n=be.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function NI(t,n){const e=be.lFrame;e.bindingIndex=e.bindingRootIndex=t,bf(n)}function bf(t){be.lFrame.currentDirectiveIndex=t}function Cf(t){const n=be.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function py(){return be.lFrame.currentQueryIndex}function wf(t){be.lFrame.currentQueryIndex=t}function BI(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function my(t,n,e){if(e&ce.SkipSelf){let o=n,r=t;for(;!(o=o.parent,null!==o||e&ce.Host||(o=BI(r),null===o||(r=r[15],10&o.type))););if(null===o)return!1;n=o,t=r}const i=be.lFrame=gy();return i.currentTNode=n,i.lView=t,!0}function Df(t){const n=gy(),e=t[1];be.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function gy(){const t=be.lFrame,n=null===t?null:t.child;return null===n?_y(t):n}function _y(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function vy(){const t=be.lFrame;return be.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const yy=vy;function Sf(){const t=vy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Dn(){return be.lFrame.selectedIndex}function Go(t){be.lFrame.selectedIndex=t}function bt(){const t=be.lFrame;return gf(t.tView,t.selectedIndex)}function xs(){be.lFrame.currentNamespace="svg"}function Mf(){!function $I(){be.lFrame.currentNamespace=null}()}function $c(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const r=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:h}=r;s&&(t.contentHooks||(t.contentHooks=[])).push(-e,s),a&&((t.contentHooks||(t.contentHooks=[])).push(e,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(e,a)),l&&(t.viewHooks||(t.viewHooks=[])).push(-e,l),c&&((t.viewHooks||(t.viewHooks=[])).push(e,c),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(e,c)),null!=h&&(t.destroyHooks||(t.destroyHooks=[])).push(e,h)}}function Uc(t,n,e){by(t,n,3,e)}function zc(t,n,e,i){(3&t[2])===e&&by(t,n,e,i)}function Tf(t,n){let e=t[2];(3&e)===n&&(e&=2047,e+=1,t[2]=e)}function by(t,n,e,i){const r=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&t[18]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(t[18]+=65536),(a<r||-1==r)&&(GI(t,e,n,l),t[18]=(4294901760&t[18])+l+2),l++}function GI(t,n,e,i){const o=e[i]<0,r=e[i+1],a=t[o?-e[i]:e[i]];if(o){if(t[2]>>11<t[18]>>16&&(3&t[2])===n){t[2]+=2048;try{r.call(a)}finally{}}}else try{r.call(a)}finally{}}class Wa{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Gc(t,n,e){let i=0;for(;i<e.length;){const o=e[i];if("number"==typeof o){if(0!==o)break;i++;const r=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,r)}else{const r=o,s=e[++i];wy(r)?t.setProperty(n,r,s):t.setAttribute(n,r,s),i++}}return i}function Cy(t){return 3===t||4===t||6===t}function wy(t){return 64===t.charCodeAt(0)}function Wc(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const o=n[i];"number"==typeof o?e=o:0===e||Dy(t,e,o,null,-1===e||2===e?n[++i]:null)}}return t}function Dy(t,n,e,i,o){let r=0,s=t.length;if(-1===n)s=-1;else for(;r<t.length;){const a=t[r++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=r-1;break}}}for(;r<t.length;){const a=t[r];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==o&&(t[r+1]=o));if(i===t[r+1])return void(t[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(t.splice(s,0,n),r=s+1),t.splice(r++,0,e),null!==i&&t.splice(r++,0,i),null!==o&&t.splice(r++,0,o)}function Sy(t){return-1!==t}function Es(t){return 32767&t}function As(t,n){let e=function QI(t){return t>>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let Ef=!0;function qc(t){const n=Ef;return Ef=t,n}let ZI=0;const Pi={};function Ya(t,n){const e=If(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,Af(i.data,t),Af(n,null),Af(i.blueprint,null));const o=Yc(t,n),r=t.injectorIndex;if(Sy(o)){const s=Es(o),a=As(o,n),l=a[1].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function Af(t,n){t.push(0,0,0,0,0,0,0,0,n)}function If(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Yc(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=Oy(o),null===i)return-1;if(e++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Kc(t,n,e){!function XI(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Ha)&&(i=e[Ha]),null==i&&(i=e[Ha]=ZI++);const o=255&i;n.data[t+(o>>5)]|=1<<o}(t,n,e)}function xy(t,n,e){if(e&ce.Optional||void 0!==t)return t;kc()}function Ey(t,n,e,i){if(e&ce.Optional&&void 0===i&&(i=null),0==(e&(ce.Self|ce.Host))){const o=t[9],r=ti(void 0);try{return o?o.get(n,i,e&ce.Optional):Zv(n,i,e&ce.Optional)}finally{ti(r)}}return xy(i,0,e)}function Ay(t,n,e,i=ce.Default,o){if(null!==t){if(1024&n[2]){const s=function ik(t,n,e,i,o){let r=t,s=n;for(;null!==r&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=Iy(r,s,e,i|ce.Self,Pi);if(a!==Pi)return a;let l=r.parent;if(!l){const c=s[21];if(c){const h=c.get(e,Pi,i);if(h!==Pi)return h}l=Oy(s),s=s[15]}r=l}return o}(t,n,e,i,Pi);if(s!==Pi)return s}const r=Iy(t,n,e,i,Pi);if(r!==Pi)return r}return Ey(n,e,i,o)}function Iy(t,n,e,i,o){const r=function tk(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(Ha)?t[Ha]:void 0;return"number"==typeof n?n>=0?255&n:nk:n}(e);if("function"==typeof r){if(!my(n,t,i))return i&ce.Host?xy(o,0,i):Ey(n,e,i,o);try{const s=r(i);if(null!=s||i&ce.Optional)return s;kc()}finally{yy()}}else if("number"==typeof r){let s=null,a=If(t,n),l=-1,c=i&ce.Host?n[16][6]:null;for((-1===a||i&ce.SkipSelf)&&(l=-1===a?Yc(t,n):n[a+8],-1!==l&&Ry(i,!1)?(s=n[1],a=Es(l),n=As(l,n)):a=-1);-1!==a;){const h=n[1];if(ky(r,a,h.data)){const g=ek(a,n,e,s,i,c);if(g!==Pi)return g}l=n[a+8],-1!==l&&Ry(i,n[1].data[a+8]===c)&&ky(r,a,n)?(s=h,a=Es(l),n=As(l,n)):a=-1}}return o}function ek(t,n,e,i,o,r){const s=n[1],a=s.data[t+8],h=Qc(a,s,e,null==i?Bc(a)&&Ef:i!=s&&0!=(3&a.type),o&ce.Host&&r===a);return null!==h?Ka(n,s,h,a):Pi}function Qc(t,n,e,i,o){const r=t.providerIndexes,s=n.data,a=1048575&r,l=t.directiveStart,h=r>>20,v=o?a+h:t.directiveEnd;for(let b=i?a:a+h;b<v;b++){const C=s[b];if(b<l&&e===C||b>=l&&C.type===e)return b}if(o){const b=s[l];if(b&&Ci(b)&&b.type===e)return l}return null}function Ka(t,n,e,i){let o=t[e];const r=n.data;if(function WI(t){return t instanceof Wa}(o)){const s=o;s.resolving&&function JA(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new P(-200,`Circular dependency in DI detected for ${t}${e}`)}(function je(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Ce(t)}(r[e]));const a=qc(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ti(s.injectImpl):null;my(t,i,ce.Default);try{o=t[e]=s.factory(void 0,r,t,i),n.firstCreatePass&&e>=i.directiveStart&&function zI(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=oy(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,o),r&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,r))}(e,r[e],n)}finally{null!==l&&ti(l),qc(a),s.resolving=!1,yy()}}return o}function ky(t,n,e){return!!(e[n+(t>>5)]&1<<t)}function Ry(t,n){return!(t&ce.Self||t&ce.Host&&n)}class Is{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Ay(this._tNode,this._lView,n,i,e)}}function nk(){return new Is(Ht(),L())}function Oe(t){return Uo(()=>{const n=t.prototype.constructor,e=n[oo]||kf(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const r=o[oo]||kf(o);if(r&&r!==e)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function kf(t){return nf(t)?()=>{const n=kf(_e(t));return n&&n()}:Sr(t)}function Oy(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function Fi(t){return function JI(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o<i;){const r=e[o];if(Cy(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof e[o];)o++;else{if(r===n)return e[o+1];o+=2}}}return null}(Ht(),t)}const Rs="__parameters__";function Ps(t,n,e){return Uo(()=>{const i=function Rf(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,h){const g=l.hasOwnProperty(Rs)?l[Rs]:Object.defineProperty(l,Rs,{value:[]})[Rs];for(;g.length<=h;)g.push(null);return(g[h]=g[h]||[]).push(s),l}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class O{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=V({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Un(t,n){void 0===n&&(n=t);for(let e=0;e<t.length;e++){let i=t[e];Array.isArray(i)?(n===t&&(n=t.slice(0,e)),Un(i,n)):n!==t&&n.push(i)}return n}function ao(t,n){t.forEach(e=>Array.isArray(e)?ao(e,n):n(e))}function Fy(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Zc(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Xa(t,n){const e=[];for(let i=0;i<t;i++)e.push(n);return e}function zn(t,n,e){let i=Fs(t,n);return i>=0?t[1|i]=e:(i=~i,function ak(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Pf(t,n){const e=Fs(t,n);if(e>=0)return t[1|e]}function Fs(t,n){return function By(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const r=i+(o-i>>1),s=t[r<<e];if(n===s)return r<<e;s>n?o=r:i=r+1}return~(o<<e)}(t,n,1)}const Ja={},Nf="__NG_DI_FLAG__",Jc="ngTempTokenPath",mk=/\n/gm,Vy="__source";let el;function Ns(t){const n=el;return el=t,n}function _k(t,n=ce.Default){if(void 0===el)throw new P(-203,!1);return null===el?Zv(t,void 0,n):el.get(t,n&ce.Optional?null:void 0,n)}function T(t,n=ce.Default){return(function lI(){return sf}()||_k)(_e(t),n)}function rt(t,n=ce.Default){return"number"!=typeof n&&(n=0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)),T(t,n)}function Lf(t){const n=[];for(let e=0;e<t.length;e++){const i=_e(t[e]);if(Array.isArray(i)){if(0===i.length)throw new P(900,!1);let o,r=ce.Default;for(let s=0;s<i.length;s++){const a=i[s],l=vk(a);"number"==typeof l?-1===l?o=a.token:r|=l:o=a}n.push(T(o,r))}else n.push(T(i))}return n}function tl(t,n){return t[Nf]=n,t.prototype[Nf]=n,t}function vk(t){return t[Nf]}const Ni=tl(Ps("Optional"),8),qo=tl(Ps("SkipSelf"),4);let Vf,nd;function Bs(t){var n;return(null===(n=function Hf(){if(void 0===nd&&(nd=null,it.trustedTypes))try{nd=it.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return nd}())||void 0===n?void 0:n.createHTML(t))||t}class Mr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Ok extends Mr{getTypeName(){return"HTML"}}class Pk extends Mr{getTypeName(){return"Style"}}class Fk extends Mr{getTypeName(){return"Script"}}class Nk extends Mr{getTypeName(){return"URL"}}class Lk extends Mr{getTypeName(){return"ResourceURL"}}function Gn(t){return t instanceof Mr?t.changingThisBreaksApplicationSecurity:t}function Li(t,n){const e=function Bk(t){return t instanceof Mr&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}class zk{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const e=(new window.DOMParser).parseFromString(Bs(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class Gk{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Bs(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Bs(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let o=e.length-1;0<o;o--){const s=e.item(o).name;("xmlns:ns1"===s||0===s.indexOf("ns1:"))&&n.removeAttribute(s)}let i=n.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const qk=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function od(t){return(t=String(t)).match(qk)?t:"unsafe:"+t}function lo(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function ol(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Jy=lo("area,br,col,hr,img,wbr"),eb=lo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tb=lo("rp,rt"),$f=ol(Jy,ol(eb,lo("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")),ol(tb,lo("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")),ol(tb,eb)),Uf=lo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nb=ol(Uf,lo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lo("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")),Yk=lo("script,style,template");class Kk{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!$f.hasOwnProperty(e))return this.sanitizedSomething=!0,!Yk.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o<i.length;o++){const r=i.item(o),s=r.name,a=s.toLowerCase();if(!nb.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;Uf[a]&&(l=od(l)),this.buf.push(" ",s,'="',ib(l),'"')}return this.buf.push(">"),!0}endElement(n){const e=n.nodeName.toLowerCase();$f.hasOwnProperty(e)&&!Jy.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(ib(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const Qk=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zk=/([^\#-~ |!])/g;function ib(t){return t.replace(/&/g,"&amp;").replace(Qk,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(Zk,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let rd;function ob(t,n){let e=null;try{rd=rd||function Xy(t){const n=new Gk(t);return function Wk(){try{return!!(new window.DOMParser).parseFromString(Bs(""),"text/html")}catch{return!1}}()?new zk(n):n}(t);let i=n?String(n):"";e=rd.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=e.innerHTML,e=rd.getInertBodyElement(i)}while(i!==r);return Bs((new Kk).sanitizeChildren(zf(e)||e))}finally{if(e){const i=zf(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function zf(t){return"content"in t&&function Xk(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ue=(()=>((Ue=Ue||{})[Ue.NONE=0]="NONE",Ue[Ue.HTML=1]="HTML",Ue[Ue.STYLE=2]="STYLE",Ue[Ue.SCRIPT=3]="SCRIPT",Ue[Ue.URL=4]="URL",Ue[Ue.RESOURCE_URL=5]="RESOURCE_URL",Ue))();function Tr(t){const n=function rl(){const t=L();return t&&t[12]}();return n?n.sanitize(Ue.URL,t)||"":Li(t,"URL")?Gn(t):od(Ce(t))}const Gf=new O("ENVIRONMENT_INITIALIZER"),sb=new O("INJECTOR",-1),ab=new O("INJECTOR_DEF_TYPES");class lb{get(n,e=Ja){if(e===Ja){const i=new Error(`NullInjectorError: No provider for ${et(n)}!`);throw i.name="NullInjectorError",i}return e}}function sR(...t){return{\u0275providers:cb(0,t)}}function cb(t,...n){const e=[],i=new Set;let o;return ao(n,r=>{const s=r;Wf(s,e,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&db(o,e),e}function db(t,n){for(let e=0;e<t.length;e++){const{providers:o}=t[e];ao(o,r=>{n.push(r)})}}function Wf(t,n,e,i){if(!(t=_e(t)))return!1;let o=null,r=Kv(t);const s=!r&&Qe(t);if(r||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(r=Kv(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Wf(c,n,e,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{ao(r.imports,h=>{Wf(h,n,e,i)&&(c||(c=[]),c.push(h))})}finally{}void 0!==c&&db(c,n)}if(!a){const c=Sr(o)||(()=>new o);n.push({provide:o,useFactory:c,deps:$e},{provide:ab,useValue:o,multi:!0},{provide:Gf,useValue:()=>T(o),multi:!0})}const l=r.providers;null==l||a||ao(l,h=>{n.push(h)})}}return o!==t&&void 0!==t.providers}const aR=Je({provide:String,useValue:Je});function qf(t){return null!==t&&"object"==typeof t&&aR in t}function xr(t){return"function"==typeof t}const Yf=new O("Set Injector scope."),sd={},cR={};let Kf;function ad(){return void 0===Kf&&(Kf=new lb),Kf}class Yo{}class fb extends Yo{constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zf(n,s=>this.processProvider(s)),this.records.set(sb,Vs(void 0,this)),o.has("environment")&&this.records.set(Yo,Vs(void 0,this));const r=this.records.get(Yf);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(ab.multi,$e,ce.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=Ns(this),i=ti(void 0);try{return n()}finally{Ns(e),ti(i)}}get(n,e=Ja,i=ce.Default){this.assertNotDestroyed();const o=Ns(this),r=ti(void 0);try{if(!(i&ce.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function pR(t){return"function"==typeof t||"object"==typeof t&&t instanceof O}(n)&&Rc(n);a=l&&this.injectableDefInScope(l)?Vs(Qf(n),sd):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&ce.Self?ad():this.parent).get(n,e=i&ce.Optional&&e===Ja?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Jc]=s[Jc]||[]).unshift(et(n)),o)throw s;return function yk(t,n,e,i){const o=t[Jc];throw n[Vy]&&o.unshift(n[Vy]),t.message=function bk(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=et(n);if(Array.isArray(n))o=n.map(et).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):et(a)))}o=`{${r.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(mk,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[Jc]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{ti(r),Ns(o)}}resolveInjectorInitializers(){const n=Ns(this),e=ti(void 0);try{const i=this.get(Gf.multi,$e,ce.Self);for(const o of i)o()}finally{Ns(n),ti(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(et(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new P(205,!1)}processProvider(n){let e=xr(n=_e(n))?n:_e(n&&n.provide);const i=function uR(t){return qf(t)?Vs(void 0,t.useValue):Vs(pb(t),sd)}(n);if(xr(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=Vs(void 0,sd,!0),o.factory=()=>Lf(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===sd&&(e.value=cR,e.value=e.factory()),"object"==typeof e.value&&e.value&&function fR(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=_e(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function Qf(t){const n=Rc(t),e=null!==n?n.factory:Sr(t);if(null!==e)return e;if(t instanceof O)throw new P(204,!1);if(t instanceof Function)return function dR(t){const n=t.length;if(n>0)throw Xa(n,"?"),new P(204,!1);const e=function rI(t){const n=t&&(t[Oc]||t[Qv]);if(n){const e=function sI(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new P(204,!1)}function pb(t,n,e){let i;if(xr(t)){const o=_e(t);return Sr(o)||Qf(o)}if(qf(t))i=()=>_e(t.useValue);else if(function hb(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Lf(t.deps||[]));else if(function ub(t){return!(!t||!t.useExisting)}(t))i=()=>T(_e(t.useExisting));else{const o=_e(t&&(t.useClass||t.provide));if(!function hR(t){return!!t.deps}(t))return Sr(o)||Qf(o);i=()=>new o(...Lf(t.deps))}return i}function Vs(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function mR(t){return!!t.\u0275providers}function Zf(t,n){for(const e of t)Array.isArray(e)?Zf(e,n):mR(e)?Zf(e.\u0275providers,n):n(e)}class mb{}class vR{resolveComponentFactory(n){throw function _R(t){const n=Error(`No component factory found for ${et(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Ko=(()=>{class t{}return t.NULL=new vR,t})();function yR(){return Hs(Ht(),L())}function Hs(t,n){return new Z(oi(t,n))}let Z=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=yR,t})();function bR(t){return t instanceof Z?t.nativeElement:t}class sl{}let co=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function CR(){const t=L(),e=$n(Ht().index,t);return(Rn(e)?e:t)[11]}(),t})(),wR=(()=>{class t{}return t.\u0275prov=V({token:t,providedIn:"root",factory:()=>null}),t})();class Er{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const DR=new Er("14.2.10"),Xf={};function ip(t){return t.ngOriginalError}class uo{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&ip(n);for(;e&&ip(e);)e=ip(e);return e||null}}const op=new Map;let FR=0;const sp="__ngContext__";function cn(t,n){Rn(n)?(t[sp]=n[20],function LR(t){op.set(t[20],t)}(n)):t[sp]=n}function ho(t){return t instanceof Function?t():t}var On=(()=>((On=On||{})[On.Important=1]="Important",On[On.DashCase=2]="DashCase",On))();function lp(t,n){return undefined(t,n)}function ll(t){const n=t[3];return bi(n)?n[3]:n}function cp(t){return Ib(t[13])}function dp(t){return Ib(t[4])}function Ib(t){for(;null!==t&&!bi(t);)t=t[4];return t}function $s(t,n,e,i,o){if(null!=i){let r,s=!1;bi(i)?r=i:Rn(i)&&(s=!0,i=i[0]);const a=kt(i);0===t&&null!==e?null==o?Nb(n,e,a):Ar(n,e,a,o||null,!0):1===t&&null!==e?Ar(n,e,a,o||null,!0):2===t?function Ub(t,n,e){const i=ld(t,n);i&&function u2(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=r&&function p2(t,n,e,i,o){const r=e[7];r!==kt(e)&&$s(n,t,i,r,o);for(let a=10;a<e.length;a++){const l=e[a];cl(l[1],l,t,n,i,r)}}(n,t,r,e,o)}}function hp(t,n,e){return t.createElement(n,e)}function Rb(t,n){const e=t[9],i=e.indexOf(n),o=n[3];512&n[2]&&(n[2]&=-513,_f(o,-1)),e.splice(i,1)}function fp(t,n){if(t.length<=10)return;const e=10+n,i=t[e];if(i){const o=i[17];null!==o&&o!==t&&Rb(o,i),n>0&&(t[e-1][4]=i[4]);const r=Zc(t,10+n);!function n2(t,n){cl(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const s=r[19];null!==s&&s.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Ob(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&cl(t,n,e,3,null,null),function s2(t){let n=t[13];if(!n)return pp(t[1],t);for(;n;){let e=null;if(Rn(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)Rn(n)&&pp(n[1],n),n=n[3];null===n&&(n=t),Rn(n)&&pp(n[1],n),e=n&&n[4]}n=e}}(n)}}function pp(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function d2(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i<e.length;i+=2){const o=n[e[i]];if(!(o instanceof Wa)){const r=e[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const a=o[r[s]],l=r[s+1];try{l.call(a)}finally{}}else try{r.call(o)}finally{}}}}(t,n),function c2(t,n){const e=t.cleanup,i=n[7];let o=-1;if(null!==e)for(let r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){const s=e[r+1],a="function"==typeof s?s(n):kt(n[s]),l=i[o=e[r+2]],c=e[r+3];"boolean"==typeof c?a.removeEventListener(e[r],l,c):c>=0?i[o=c]():i[o=-c].unsubscribe(),r+=2}else{const s=i[o=e[r+1]];e[r].call(s)}if(null!==i){for(let r=o+1;r<i.length;r++)(0,i[r])();n[7]=null}}(t,n),1===n[1].type&&n[11].destroy();const e=n[17];if(null!==e&&bi(n[3])){e!==n[3]&&Rb(e,n);const i=n[19];null!==i&&i.detachView(t)}!function BR(t){op.delete(t[20])}(n)}}function Pb(t,n,e){return function Fb(t,n,e){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return e[0];if(2&i.flags){const o=t.data[i.directiveStart].encapsulation;if(o===vi.None||o===vi.Emulated)return null}return oi(i,e)}(t,n.parent,e)}function Ar(t,n,e,i,o){t.insertBefore(n,e,i,o)}function Nb(t,n,e){t.appendChild(n,e)}function Lb(t,n,e,i,o){null!==i?Ar(t,n,e,i,o):Nb(t,n,e)}function ld(t,n){return t.parentNode(n)}function Bb(t,n,e){return Hb(t,n,e)}let Hb=function Vb(t,n,e){return 40&t.type?oi(t,e):null};function cd(t,n,e,i){const o=Pb(t,i,n),r=n[11],a=Bb(i.parent||n[6],i,n);if(null!=o)if(Array.isArray(e))for(let l=0;l<e.length;l++)Lb(r,o,e[l],a,!1);else Lb(r,o,e,a,!1)}function dd(t,n){if(null!==n){const e=n.type;if(3&e)return oi(n,t);if(4&e)return gp(-1,t[n.index]);if(8&e){const i=n.child;if(null!==i)return dd(t,i);{const o=t[n.index];return bi(o)?gp(-1,o):kt(o)}}if(32&e)return lp(n,t)()||kt(t[n.index]);{const i=$b(t,n);return null!==i?Array.isArray(i)?i[0]:dd(ll(t[16]),i):dd(t,n.next)}}return null}function $b(t,n){return null!==n?t[16][6].projection[n.projection]:null}function gp(t,n){const e=10+t+1;if(e<n.length){const i=n[e],o=i[1].firstChild;if(null!==o)return dd(i,o)}return n[7]}function _p(t,n,e,i,o,r,s){for(;null!=e;){const a=i[e.index],l=e.type;if(s&&0===n&&(a&&cn(kt(a),i),e.flags|=4),64!=(64&e.flags))if(8&l)_p(t,n,e.child,i,o,r,!1),$s(n,t,o,a,r);else if(32&l){const c=lp(e,i);let h;for(;h=c();)$s(n,t,o,h,r);$s(n,t,o,a,r)}else 16&l?zb(t,n,i,e,o,r):$s(n,t,o,a,r);e=s?e.projectionNext:e.next}}function cl(t,n,e,i,o,r){_p(e,i,t.firstChild,n,o,r,!1)}function zb(t,n,e,i,o,r){const s=e[16],l=s[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)$s(n,t,o,l[c],r);else _p(t,n,l,s[3],o,r,!0)}function Gb(t,n,e){t.setAttribute(n,"style",e)}function vp(t,n,e){""===e?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function Wb(t,n,e){let i=t.length;for(;;){const o=t.indexOf(n,e);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||t.charCodeAt(o+r)<=32)return o}e=o+1}}const qb="ng-template";function g2(t,n,e){let i=0;for(;i<t.length;){let o=t[i++];if(e&&"class"===o){if(o=t[i],-1!==Wb(o.toLowerCase(),n,0))return!0}else if(1===o){for(;i<t.length&&"string"==typeof(o=t[i++]);)if(o.toLowerCase()===n)return!0;return!1}}return!1}function Yb(t){return 4===t.type&&t.value!==qb}function _2(t,n,e){return n===(4!==t.type||e?t.value:qb)}function v2(t,n,e){let i=4;const o=t.attrs||[],r=function C2(t){for(let n=0;n<t.length;n++)if(Cy(t[n]))return n;return t.length}(o);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!_2(t,l,e)||""===l&&1===n.length){if(wi(i))return!1;s=!0}}else{const c=8&i?l:n[++a];if(8&i&&null!==t.attrs){if(!g2(t.attrs,c,e)){if(wi(i))return!1;s=!0}continue}const g=y2(8&i?"class":l,o,Yb(t),e);if(-1===g){if(wi(i))return!1;s=!0;continue}if(""!==c){let v;v=g>r?"":o[g+1].toLowerCase();const b=8&i?v:null;if(b&&-1!==Wb(b,c,0)||2&i&&c!==v){if(wi(i))return!1;s=!0}}}}else{if(!s&&!wi(i)&&!wi(l))return!1;if(s&&wi(l))continue;s=!1,i=l|1&i}}return wi(i)||s}function wi(t){return 0==(1&t)}function y2(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let r=!1;for(;o<n.length;){const s=n[o];if(s===t)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function w2(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===n)return e;e++}return-1}(n,t)}function Kb(t,n,e=!1){for(let i=0;i<n.length;i++)if(v2(t,n[i],e))return!0;return!1}function D2(t,n){e:for(let e=0;e<n.length;e++){const i=n[e];if(t.length===i.length){for(let o=0;o<t.length;o++)if(t[o]!==i[o])continue e;return!0}}return!1}function Qb(t,n){return t?":not("+n.trim()+")":n}function S2(t){let n=t[0],e=1,i=2,o="",r=!1;for(;e<t.length;){let s=t[e];if("string"==typeof s)if(2&i){const a=t[++e];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!wi(s)&&(n+=Qb(r,o),o=""),i=s,r=r||!wi(i);e++}return""!==o&&(n+=Qb(r,o)),n}const we={};function p(t){Zb(Le(),L(),Dn()+t,!1)}function Zb(t,n,e,i){if(!i)if(3==(3&n[2])){const r=t.preOrderCheckHooks;null!==r&&Uc(n,r,e)}else{const r=t.preOrderHooks;null!==r&&zc(n,r,0,e)}Go(e)}function tC(t,n=null,e=null,i){const o=nC(t,n,e,i);return o.resolveInjectorInitializers(),o}function nC(t,n=null,e=null,i,o=new Set){const r=[e||$e,sR(t)];return i=i||("object"==typeof t?void 0:et(t)),new fb(r,n||ad(),i||null,o)}let Rt=(()=>{class t{static create(e,i){if(Array.isArray(e))return tC({name:""},i,e,"");{var o;const r=null!==(o=e.name)&&void 0!==o?o:"";return tC({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=Ja,t.NULL=new lb,t.\u0275prov=V({token:t,providedIn:"any",factory:()=>T(sb)}),t.__NG_ELEMENT_ID__=-1,t})();function _(t,n=ce.Default){const e=L();return null===e?T(t,n):Ay(Ht(),e,_e(t),n)}function Qo(){throw new Error("invalid")}function hd(t,n){return t<<17|n<<2}function Di(t){return t>>17&32767}function Dp(t){return 2|t}function fo(t){return(131068&t)>>2}function Sp(t,n){return-131069&t|n<<2}function Mp(t){return 1|t}function yC(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const o=e[i],r=e[i+1];if(-1!==r){const s=t.data[r];wf(o),s.contentQueries(2,n[r],r)}}}function md(t,n,e,i,o,r,s,a,l,c,h){const g=n.blueprint.slice();return g[0]=o,g[2]=76|i,(null!==h||t&&1024&t[2])&&(g[2]|=1024),ay(g),g[3]=g[15]=t,g[8]=e,g[10]=s||t&&t[10],g[11]=a||t&&t[11],g[12]=l||t&&t[12]||null,g[9]=c||t&&t[9]||null,g[6]=r,g[20]=function NR(){return FR++}(),g[21]=h,g[16]=2==n.type?t[16]:g,g}function zs(t,n,e,i,o){let r=t.data[n];if(null===r)r=function Op(t,n,e,i,o){const r=dy(),s=vf(),l=t.data[n]=function sO(t,n,e,i,o,r){return{type:e,index:i,insertBeforeIndex:null,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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}}(0,s?r:r&&r.parent,e,n,i,o);return null===t.firstChild&&(t.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l)),l}(t,n,e,i,o),function FI(){return be.lFrame.inI18n}()&&(r.flags|=64);else if(64&r.type){r.type=e,r.value=i,r.attrs=o;const s=function Ga(){const t=be.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return Oi(r,!0),r}function Gs(t,n,e,i){if(0===e)return-1;const o=n.length;for(let r=0;r<e;r++)n.push(i),t.blueprint.push(i),t.data.push(null);return o}function Pp(t,n,e){Df(n);try{const i=t.viewQuery;null!==i&&$p(1,i,e);const o=t.template;null!==o&&bC(t,n,o,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&yC(t,n),t.staticViewQueries&&$p(2,t.viewQuery,e);const r=t.components;null!==r&&function iO(t,n){for(let e=0;e<n.length;e++)wO(t,n[e])}(n,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[2]&=-5,Sf()}}function gd(t,n,e,i){const o=n[2];if(128!=(128&o)){Df(n);try{ay(n),function hy(t){return be.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&bC(t,n,e,2,i);const s=3==(3&o);if(s){const c=t.preOrderCheckHooks;null!==c&&Uc(n,c,null)}else{const c=t.preOrderHooks;null!==c&&zc(n,c,0,null),Tf(n,0)}if(function bO(t){for(let n=cp(t);null!==n;n=dp(n)){if(!n[2])continue;const e=n[9];for(let i=0;i<e.length;i++){const o=e[i],r=o[3];0==(512&o[2])&&_f(r,1),o[2]|=512}}}(n),function yO(t){for(let n=cp(t);null!==n;n=dp(n))for(let e=10;e<n.length;e++){const i=n[e],o=i[1];jc(i)&&gd(o,i,o.template,i[8])}}(n),null!==t.contentQueries&&yC(t,n),s){const c=t.contentCheckHooks;null!==c&&Uc(n,c)}else{const c=t.contentHooks;null!==c&&zc(n,c,1),Tf(n,1)}!function tO(t,n){const e=t.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const o=e[i];if(o<0)Go(~o);else{const r=o,s=e[++i],a=e[++i];NI(s,r),a(2,n[r])}}}finally{Go(-1)}}(t,n);const a=t.components;null!==a&&function nO(t,n){for(let e=0;e<n.length;e++)CO(t,n[e])}(n,a);const l=t.viewQuery;if(null!==l&&$p(2,l,i),s){const c=t.viewCheckHooks;null!==c&&Uc(n,c)}else{const c=t.viewHooks;null!==c&&zc(n,c,2),Tf(n,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[2]&=-41,512&n[2]&&(n[2]&=-513,_f(n[3],-1))}finally{Sf()}}}function bC(t,n,e,i,o){const r=Dn(),s=2&i;try{Go(-1),s&&n.length>22&&Zb(t,n,22,!1),e(i,o)}finally{Go(r)}}function CC(t,n,e){if(uf(n)){const o=n.directiveEnd;for(let r=n.directiveStart;r<o;r++){const s=t.data[r];s.contentQueries&&s.contentQueries(1,e[r],r)}}}function Fp(t,n,e){!cy()||(function uO(t,n,e,i){const o=e.directiveStart,r=e.directiveEnd;t.firstCreatePass||Ya(e,n),cn(i,n);const s=e.initialInputs;for(let a=o;a<r;a++){const l=t.data[a],c=Ci(l);c&&gO(n,e,l);const h=Ka(n,t,a,e);cn(h,n),null!==s&&_O(0,a-o,h,l,0,s),c&&($n(e.index,n)[8]=h)}}(t,n,e,oi(e,n)),128==(128&e.flags)&&function hO(t,n,e){const i=e.directiveStart,o=e.directiveEnd,r=e.index,s=function LI(){return be.lFrame.currentDirectiveIndex}();try{Go(r);for(let a=i;a<o;a++){const l=t.data[a],c=n[a];bf(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&EC(l,c)}}finally{Go(-1),bf(s)}}(t,n,e))}function Np(t,n,e=oi){const i=n.localNames;if(null!==i){let o=n.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?e(n,t):t[s];t[o++]=a}}}function wC(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=Lp(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):n}function Lp(t,n,e,i,o,r,s,a,l,c){const h=22+i,g=h+o,v=function oO(t,n){const e=[];for(let i=0;i<n;i++)e.push(i<t?null:we);return e}(h,g),b="function"==typeof c?c():c;return v[1]={type:t,blueprint:v,template:e,queries:null,viewQuery:a,declTNode:n,data:v.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:g,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:b,incompleteFirstPass:!1}}function DC(t,n,e,i){const o=OC(n);null===e?o.push(i):(o.push(e),t.firstCreatePass&&PC(t).push(i,o.length-1))}function SC(t,n,e){for(let i in t)if(t.hasOwnProperty(i)){const o=t[i];(e=null===e?{}:e).hasOwnProperty(i)?e[i].push(n,o):e[i]=[n,o]}return e}function MC(t,n){const i=n.directiveEnd,o=t.data,r=n.attrs,s=[];let a=null,l=null;for(let c=n.directiveStart;c<i;c++){const h=o[c],g=h.inputs,v=null===r||Yb(n)?null:vO(g,r);s.push(v),a=SC(g,c,a),l=SC(h.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(n.flags|=16),a.hasOwnProperty("style")&&(n.flags|=32)),n.initialInputs=s,n.inputs=a,n.outputs=l}function Wn(t,n,e,i,o,r,s,a){const l=oi(n,e);let h,c=n.inputs;!a&&null!=c&&(h=c[i])?(Up(t,e,h,i,o),Bc(n)&&TC(e,n.index)):3&n.type&&(i=function aO(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function TC(t,n){const e=$n(n,t);16&e[2]||(e[2]|=32)}function Bp(t,n,e,i){let o=!1;if(cy()){const r=function fO(t,n,e){const i=t.directiveRegistry;let o=null;if(i)for(let r=0;r<i.length;r++){const s=i[r];Kb(e,s.selectors,!1)&&(o||(o=[]),Kc(Ya(e,n),t,s.type),Ci(s)?(AC(t,e),o.unshift(s)):o.push(s))}return o}(t,n,e),s=null===i?null:{"":-1};if(null!==r){o=!0,IC(e,t.data.length,r.length);for(let h=0;h<r.length;h++){const g=r[h];g.providersResolver&&g.providersResolver(g)}let a=!1,l=!1,c=Gs(t,n,r.length,null);for(let h=0;h<r.length;h++){const g=r[h];e.mergedAttrs=Wc(e.mergedAttrs,g.hostAttrs),kC(t,e,n,c,g),mO(c,g,s),null!==g.contentQueries&&(e.flags|=8),(null!==g.hostBindings||null!==g.hostAttrs||0!==g.hostVars)&&(e.flags|=128);const v=g.type.prototype;!a&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e.index),a=!0),!l&&(v.ngOnChanges||v.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e.index),l=!0),c++}MC(t,e)}s&&function pO(t,n,e){if(n){const i=t.localNames=[];for(let o=0;o<n.length;o+=2){const r=e[n[o+1]];if(null==r)throw new P(-301,!1);i.push(n[o],r)}}}(e,i,s)}return e.mergedAttrs=Wc(e.mergedAttrs,e.attrs),o}function xC(t,n,e,i,o,r){const s=r.hostBindings;if(s){let a=t.hostBindingOpCodes;null===a&&(a=t.hostBindingOpCodes=[]);const l=~n.index;(function dO(t){let n=t.length;for(;n>0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,o,s)}}function EC(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function AC(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function mO(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Ci(n)&&(e[""]=t)}}function IC(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function kC(t,n,e,i,o){t.data[i]=o;const r=o.factory||(o.factory=Sr(o.type)),s=new Wa(r,Ci(o),_);t.blueprint[i]=s,e[i]=s,xC(t,n,0,i,Gs(t,e,o.hostVars,we),o)}function gO(t,n,e){const i=oi(n,t),o=wC(e),r=t[10],s=_d(t,md(t,o,null,e.onPush?32:16,i,n,r,r.createRenderer(i,e),null,null,null));t[n.index]=s}function Bi(t,n,e,i,o,r){const s=oi(t,n);!function Vp(t,n,e,i,o,r,s){if(null==r)t.removeAttribute(n,o,e);else{const a=null==s?Ce(r):s(r,i||"",o);t.setAttribute(n,o,a,e)}}(n[11],s,r,t.value,e,i,o)}function _O(t,n,e,i,o,r){const s=r[n];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const c=s[l++],h=s[l++],g=s[l++];null!==a?i.setInput(e,g,c,h):e[h]=g}}}function vO(t,n){let e=null,i=0;for(;i<n.length;){const o=n[i];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===e&&(e=[]),e.push(o,t[o],n[i+1])),i+=2}else i+=2;else i+=4}return e}function RC(t,n,e,i){return new Array(t,!0,!1,n,null,0,i,e,null,null)}function CO(t,n){const e=$n(n,t);if(jc(e)){const i=e[1];48&e[2]?gd(i,e,i.template,e[8]):e[5]>0&&Hp(e)}}function Hp(t){for(let i=cp(t);null!==i;i=dp(i))for(let o=10;o<i.length;o++){const r=i[o];if(jc(r))if(512&r[2]){const s=r[1];gd(s,r,s.template,r[8])}else r[5]>0&&Hp(r)}const e=t[1].components;if(null!==e)for(let i=0;i<e.length;i++){const o=$n(e[i],t);jc(o)&&o[5]>0&&Hp(o)}}function wO(t,n){const e=$n(n,t),i=e[1];(function DO(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])})(i,e),Pp(i,e,e[8])}function _d(t,n){return t[13]?t[14][4]=n:t[13]=n,t[14]=n,n}function jp(t){for(;t;){t[2]|=32;const n=ll(t);if(mI(t)&&!n)return t;t=n}return null}function vd(t,n,e,i=!0){const o=n[10];o.begin&&o.begin();try{gd(t,n,t.template,e)}catch(s){throw i&&NC(n,s),s}finally{o.end&&o.end()}}function $p(t,n,e){wf(0),n(t,e)}function OC(t){return t[7]||(t[7]=[])}function PC(t){return t.cleanup||(t.cleanup=[])}function FC(t,n,e){return(null===t||Ci(t))&&(e=function MI(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(e[n.index])),e[11]}function NC(t,n){const e=t[9],i=e?e.get(uo,null):null;i&&i.handleError(n)}function Up(t,n,e,i,o){for(let r=0;r<e.length;){const s=e[r++],a=e[r++],l=n[s],c=t.data[s];null!==c.setInput?c.setInput(l,o,i,a):l[a]=o}}function po(t,n,e){const i=Hc(n,t);!function kb(t,n,e){t.setValue(n,e)}(t[11],i,e)}function yd(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,r=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?r=a:1==r?o=tf(o,a):2==r&&(i=tf(i,a+": "+n[++s]+";"))}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=o:t.classesWithoutHost=o}function bd(t,n,e,i,o=!1){for(;null!==e;){const r=n[e.index];if(null!==r&&i.push(kt(r)),bi(r))for(let a=10;a<r.length;a++){const l=r[a],c=l[1].firstChild;null!==c&&bd(l[1],l,c,i)}const s=e.type;if(8&s)bd(t,n,e.child,i);else if(32&s){const a=lp(e,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=$b(n,e);if(Array.isArray(a))i.push(...a);else{const l=ll(n[16]);bd(l[1],l,a,i,!0)}}e=o?e.projectionNext:e.next}return i}class dl{constructor(n,e){this._lView=n,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const n=this._lView,e=n[1];return bd(e,n,e.firstChild,[])}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(bi(n)){const e=n[8],i=e?e.indexOf(this):-1;i>-1&&(fp(n,i),Zc(e,i))}this._attachedToViewContainer=!1}Ob(this._lView[1],this._lView)}onDestroy(n){DC(this._lView[1],this._lView,null,n)}markForCheck(){jp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){vd(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new P(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function r2(t,n){cl(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new P(902,!1);this._appRef=n}}class SO extends dl{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;vd(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class zp extends Ko{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Qe(n);return new ul(e,this.ngModule)}}function LC(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class TO{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){const o=this.injector.get(n,Xf,i);return o!==Xf||e===Xf?o:this.parentInjector.get(n,e,i)}}class ul extends mb{constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function M2(t){return t.map(S2).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return LC(this.componentDef.inputs)}get outputs(){return LC(this.componentDef.outputs)}create(n,e,i,o){var r;let s=(o=o||this.ngModule)instanceof Yo?o:null===(r=o)||void 0===r?void 0:r.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new TO(n,s):n,l=a.get(sl,null);if(null===l)throw new P(407,!1);const c=a.get(wR,null),h=l.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",v=i?function rO(t,n,e){return t.selectRootElement(n,e===vi.ShadowDom)}(h,i,this.componentDef.encapsulation):hp(h,g,function MO(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(g)),b=this.componentDef.onPush?288:272,C=Lp(0,null,null,1,0,null,null,null,null,null),w=md(null,C,null,b,null,null,l,h,c,a,null);let x,E;Df(w);try{const B=function AO(t,n,e,i,o,r){const s=e[1];e[22]=t;const l=zs(s,22,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(yd(l,c,!0),null!==t&&(Gc(o,t,c),null!==l.classes&&vp(o,t,l.classes),null!==l.styles&&Gb(o,t,l.styles)));const h=i.createRenderer(t,n),g=md(e,wC(n),null,n.onPush?32:16,e[22],l,i,h,r||null,null,null);return s.firstCreatePass&&(Kc(Ya(l,e),s,n.type),AC(s,l),IC(l,e.length,1)),_d(e,g),e[22]=g}(v,this.componentDef,w,l,h);if(v)if(i)Gc(h,v,["ng-version",DR.full]);else{const{attrs:k,classes:H}=function T2(t){const n=[],e=[];let i=1,o=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===o?""!==r&&n.push(r,t[++i]):8===o&&e.push(r);else{if(!wi(o))break;o=r}i++}return{attrs:n,classes:e}}(this.componentDef.selectors[0]);k&&Gc(h,v,k),H&&H.length>0&&vp(h,v,H.join(" "))}if(E=gf(C,22),void 0!==e){const k=E.projection=[];for(let H=0;H<this.ngContentSelectors.length;H++){const fe=e[H];k.push(null!=fe?Array.from(fe):null)}}x=function IO(t,n,e,i){const o=e[1],r=function cO(t,n,e){const i=Ht();t.firstCreatePass&&(e.providersResolver&&e.providersResolver(e),kC(t,i,n,Gs(t,n,1,null),e),MC(t,i));const o=Ka(n,t,i.directiveStart,i);cn(o,n);const r=oi(i,n);return r&&cn(r,n),o}(o,e,n);if(t[8]=e[8]=r,null!==i)for(const a of i)a(r,n);if(n.contentQueries){const a=Ht();n.contentQueries(1,r,a.directiveStart)}const s=Ht();return!o.firstCreatePass||null===n.hostBindings&&null===n.hostAttrs||(Go(s.index),xC(e[1],s,0,s.directiveStart,s.directiveEnd,n),EC(n,r)),r}(B,this.componentDef,w,[kO]),Pp(C,w,null)}finally{Sf()}return new EO(this.componentType,x,Hs(E,w),w,E)}}class EO extends class gR{}{constructor(n,e,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new SO(o),this.componentType=n}setInput(n,e){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[n])){const r=this._rootLView;Up(r[1],r,o,n,e),TC(r,this._tNode.index)}}get injector(){return new Is(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function kO(){const t=Ht();$c(L()[1],t)}function j(t){let n=function BC(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let o;if(Ci(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new P(903,!1);o=n.\u0275dir}if(o){if(e){i.push(o);const s=t;s.inputs=Gp(t.inputs),s.declaredInputs=Gp(t.declaredInputs),s.outputs=Gp(t.outputs);const a=o.hostBindings;a&&FO(t,a);const l=o.viewQuery,c=o.contentQueries;if(l&&OO(t,l),c&&PO(t,c),ef(t.inputs,o.inputs),ef(t.declaredInputs,o.declaredInputs),ef(t.outputs,o.outputs),Ci(o)&&o.data.animation){const h=t.data;h.animation=(h.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const a=r[s];a&&a.ngInherit&&a(t),a===j&&(e=!1)}}n=Object.getPrototypeOf(n)}!function RO(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Wc(o.hostAttrs,e=Wc(e,o.hostAttrs))}}(i)}function Gp(t){return t===bs?{}:t===$e?[]:t}function OO(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function PO(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,r)=>{n(i,o,r),e(i,o,r)}:n}function FO(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}let Cd=null;function Ir(){if(!Cd){const t=it.Symbol;if(t&&t.iterator)Cd=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<n.length;++e){const i=n[e];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Cd=i)}}}return Cd}function hl(t){return!!Wp(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ir()in t)}function Wp(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Vi(t,n,e){return t[n]=e}function dn(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function kr(t,n,e,i){const o=dn(t,n,e);return dn(t,n+1,i)||o}function Me(t,n,e,i){const o=L();return dn(o,Ts(),n)&&(Le(),Bi(bt(),o,t,n,e,i)),Me}function qs(t,n,e,i){return dn(t,Ts(),e)?n+Ce(e)+i:we}function Ys(t,n,e,i,o,r){const a=kr(t,function ro(){return be.lFrame.bindingIndex}(),e,o);return so(2),a?n+Ce(e)+i+Ce(o)+r:we}function f(t,n,e,i,o,r,s,a){const l=L(),c=Le(),h=t+22,g=c.firstCreatePass?function UO(t,n,e,i,o,r,s,a,l){const c=n.consts,h=zs(n,t,4,s||null,zo(c,a));Bp(n,e,h,zo(c,l)),$c(n,h);const g=h.tViews=Lp(2,h,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c);return null!==n.queries&&(n.queries.template(n,h),g.queries=n.queries.embeddedTView(h)),h}(h,c,l,n,e,i,o,r,s):c.data[h];Oi(g,!1);const v=l[11].createComment("");cd(c,l,v,g),cn(v,l),_d(l,l[h]=RC(v,l,v,g)),Vc(g)&&Fp(c,l,g),null!=s&&Np(l,g,a)}function mo(t){return Ms(function PI(){return be.lFrame.contextLView}(),22+t)}function y(t,n,e){const i=L();return dn(i,Ts(),n)&&Wn(Le(),bt(),i,t,n,i[11],e,!1),y}function qp(t,n,e,i,o){const s=o?"class":"style";Up(t,e,n.inputs[s],s,i)}function u(t,n,e,i){const o=L(),r=Le(),s=22+t,a=o[11],l=o[s]=hp(a,n,function UI(){return be.lFrame.currentNamespace}()),c=r.firstCreatePass?function GO(t,n,e,i,o,r,s){const a=n.consts,c=zs(n,t,2,o,zo(a,r));return Bp(n,e,c,zo(a,s)),null!==c.attrs&&yd(c,c.attrs,!1),null!==c.mergedAttrs&&yd(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,r,o,0,n,e,i):r.data[s];Oi(c,!0);const h=c.mergedAttrs;null!==h&&Gc(a,l,h);const g=c.classes;null!==g&&vp(a,l,g);const v=c.styles;return null!==v&&Gb(a,l,v),64!=(64&c.flags)&&cd(r,o,l,c),0===function AI(){return be.lFrame.elementDepthCount}()&&cn(l,o),function II(){be.lFrame.elementDepthCount++}(),Vc(c)&&(Fp(r,o,c),CC(r,c,o)),null!==i&&Np(o,c),u}function d(){let t=Ht();vf()?yf():(t=t.parent,Oi(t,!1));const n=t;!function kI(){be.lFrame.elementDepthCount--}();const e=Le();return e.firstCreatePass&&($c(e,t),uf(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function YI(t){return 0!=(16&t.flags)}(n)&&qp(e,n,L(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function KI(t){return 0!=(32&t.flags)}(n)&&qp(e,n,L(),n.stylesWithoutHost,!1),d}function A(t,n,e,i){return u(t,n,e,i),d(),A}function S(t,n,e){const i=L(),o=Le(),r=t+22,s=o.firstCreatePass?function WO(t,n,e,i,o){const r=n.consts,s=zo(r,i),a=zs(n,t,8,"ng-container",s);return null!==s&&yd(a,s,!0),Bp(n,e,a,zo(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,e):o.data[r];Oi(s,!0);const a=i[r]=i[11].createComment("");return cd(o,i,a,s),cn(a,i),Vc(s)&&(Fp(o,i,s),CC(o,s,i)),null!=e&&Np(i,s),S}function M(){let t=Ht();const n=Le();return vf()?yf():(t=t.parent,Oi(t,!1)),n.firstCreatePass&&($c(n,t),uf(t)&&n.queries.elementEnd(t)),M}function Hi(t,n,e){return S(t,n,e),M(),Hi}function Pn(){return L()}function pl(t){return!!t&&"function"==typeof t.then}function YC(t){return!!t&&"function"==typeof t.subscribe}const Yp=YC;function J(t,n,e,i){const o=L(),r=Le(),s=Ht();return KC(r,o,o[11],s,t,n,0,i),J}function Dd(t,n){const e=Ht(),i=L(),o=Le();return KC(o,i,FC(Cf(o.data),e,i),e,t,n),Dd}function KC(t,n,e,i,o,r,s,a){const l=Vc(i),h=t.firstCreatePass&&PC(t),g=n[8],v=OC(n);let b=!0;if(3&i.type||a){const x=oi(i,n),E=a?a(x):x,B=v.length,k=a?fe=>a(kt(fe[i.index])):i.index;let H=null;if(!a&&l&&(H=function qO(t,n,e,i){const o=t.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===e&&o[r+1]===i){const a=n[7],l=o[r+2];return a.length>l?a[l]:null}"string"==typeof s&&(r+=2)}return null}(t,n,o,i.index)),null!==H)(H.__ngLastListenerFn__||H).__ngNextListenerFn__=r,H.__ngLastListenerFn__=r,b=!1;else{r=ZC(i,n,g,r,!1);const fe=e.listen(E,o,r);v.push(r,fe),h&&h.push(o,k,B,B+1)}}else r=ZC(i,n,g,r,!1);const C=i.outputs;let w;if(b&&null!==C&&(w=C[o])){const x=w.length;if(x)for(let E=0;E<x;E+=2){const Ve=n[w[E]][w[E+1]].subscribe(r),Mt=v.length;v.push(r,Ve),h&&h.push(o,i.index,Mt,-(Mt+1))}}}function QC(t,n,e,i){try{return!1!==e(i)}catch(o){return NC(t,o),!1}}function ZC(t,n,e,i,o){return function r(s){if(s===Function)return i;jp(2&t.flags?$n(t.index,n):n);let l=QC(n,0,i,s),c=r.__ngNextListenerFn__;for(;c;)l=QC(n,0,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function I(t=1){return function VI(t){return(be.lFrame.contextLView=function HI(t,n){for(;t>0;)n=n[15],t--;return n}(t,be.lFrame.contextLView))[8]}(t)}function YO(t,n){let e=null;const i=function b2(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let o=0;o<n.length;o++){const r=n[o];if("*"!==r){if(null===i?Kb(t,r,!0):D2(i,r))return o}else e=o}return e}function tt(t){const n=L()[16][6];if(!n.projection){const i=n.projection=Xa(t?t.length:1,null),o=i.slice();let r=n.child;for(;null!==r;){const s=t?YO(r,t):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function he(t,n=0,e){const i=L(),o=Le(),r=zs(o,22+t,16,null,e||null);null===r.projection&&(r.projection=n),yf(),64!=(64&r.flags)&&function f2(t,n,e){zb(n[11],0,n,e,Pb(t,e,n),Bb(e.parent||n[6],e,n))}(o,i,r)}function Rr(t,n,e,i,o){const r=L(),s=qs(r,n,e,i);return s!==we&&Wn(Le(),bt(),r,t,s,r[11],o,!1),Rr}function l0(t,n,e,i,o){const r=t[e+1],s=null===n;let a=i?Di(r):fo(r),l=!1;for(;0!==a&&(!1===l||s);){const h=t[a+1];ZO(t[a],n)&&(l=!0,t[a+1]=i?Mp(h):Dp(h)),a=i?Di(h):fo(h)}l&&(t[e+1]=i?Dp(r):Mp(r))}function ZO(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Fs(t,n)>=0}const $t={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function c0(t){return t.substring($t.key,$t.keyEnd)}function d0(t,n){const e=$t.textEnd;return e===n?-1:(n=$t.keyEnd=function tP(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}(t,$t.key=n,e),ta(t,n,e))}function ta(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function si(t,n,e){return Si(t,n,e,!1),si}function ee(t,n){return Si(t,n,null,!0),ee}function $i(t,n){for(let e=function JO(t){return function h0(t){$t.key=0,$t.keyEnd=0,$t.value=0,$t.valueEnd=0,$t.textEnd=t.length}(t),d0(t,ta(t,0,$t.textEnd))}(n);e>=0;e=d0(n,e))zn(t,c0(n),!0)}function Si(t,n,e,i){const o=L(),r=Le(),s=so(2);r.firstUpdatePass&&g0(r,t,s,i),n!==we&&dn(o,s,n)&&v0(r,r.data[Dn()],o,o[11],t,o[s+1]=function hP(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=et(Gn(t)))),t}(n,e),i,s)}function m0(t,n){return n>=t.expandoStartIndex}function g0(t,n,e,i){const o=t.data;if(null===o[e+1]){const r=o[Dn()],s=m0(t,e);b0(r,i)&&null===n&&!s&&(n=!1),n=function sP(t,n,e,i){const o=Cf(t);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=ml(e=Kp(null,t,n,e,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==o)if(e=Kp(o,t,n,e,i),null===r){let l=function aP(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==fo(i))return t[Di(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=Kp(null,t,n,l[1],i),l=ml(l,n.attrs,i),function lP(t,n,e,i){t[Di(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else r=function cP(t,n,e){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++)i=ml(i,t[r].hostAttrs,e);return ml(i,n.attrs,e)}(t,n,i)}return void 0!==r&&(i?n.residualClasses=r:n.residualStyles=r),e}(o,r,n,i),function KO(t,n,e,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Di(s),l=fo(s);t[i]=e;let h,c=!1;if(Array.isArray(e)){const g=e;h=g[1],(null===h||Fs(g,h)>0)&&(c=!0)}else h=e;if(o)if(0!==l){const v=Di(t[a+1]);t[i+1]=hd(v,a),0!==v&&(t[v+1]=Sp(t[v+1],i)),t[a+1]=function G2(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=hd(a,0),0!==a&&(t[a+1]=Sp(t[a+1],i)),a=i;else t[i+1]=hd(l,0),0===a?a=i:t[l+1]=Sp(t[l+1],i),l=i;c&&(t[i+1]=Dp(t[i+1])),l0(t,h,i,!0),l0(t,h,i,!1),function QO(t,n,e,i,o){const r=o?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof n&&Fs(r,n)>=0&&(e[i+1]=Mp(e[i+1]))}(n,h,t,i,r),s=hd(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,e,s,i)}}function Kp(t,n,e,i,o){let r=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(r=n[a],i=ml(i,r.hostAttrs,o),r!==t);)a++;return null!==t&&(e.directiveStylingLast=a),i}function ml(t,n,e){const i=e?1:2;let o=-1;if(null!==n)for(let r=0;r<n.length;r++){const s=n[r];"number"==typeof s?o=s:o===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),zn(t,s,!!e||n[++r]))}return void 0===t?null:t}function v0(t,n,e,i,o,r,s,a){if(!(3&n.type))return;const l=t.data,c=l[a+1];Sd(function uC(t){return 1==(1&t)}(c)?y0(l,n,e,o,fo(c),s):void 0)||(Sd(r)||function dC(t){return 2==(2&t)}(c)&&(r=y0(l,null,e,o,a,s)),function m2(t,n,e,i,o){if(n)o?t.addClass(e,i):t.removeClass(e,i);else{let r=-1===i.indexOf("-")?void 0:On.DashCase;null==o?t.removeStyle(e,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=On.Important),t.setStyle(e,i,o,r))}}(i,s,Hc(Dn(),e),o,r))}function y0(t,n,e,i,o,r){const s=null===n;let a;for(;o>0;){const l=t[o],c=Array.isArray(l),h=c?l[1]:l,g=null===h;let v=e[o+1];v===we&&(v=g?$e:void 0);let b=g?Pf(v,i):h===i?v:void 0;if(c&&!Sd(b)&&(b=Pf(l,i)),Sd(b)&&(a=b,s))return a;const C=t[o+1];o=s?Di(C):fo(C)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=Pf(l,i))}return a}function Sd(t){return void 0!==t}function b0(t,n){return 0!=(t.flags&(n?16:32))}function m(t,n=""){const e=L(),i=Le(),o=t+22,r=i.firstCreatePass?zs(i,o,1,n,null):i.data[o],s=e[o]=function up(t,n){return t.createText(n)}(e[11],n);cd(i,e,s,r),Oi(r,!1)}function D(t){return te("",t,""),D}function te(t,n,e){const i=L(),o=qs(i,t,n,e);return o!==we&&po(i,Dn(),o),te}function gl(t,n,e,i,o){const r=L(),s=Ys(r,t,n,e,i,o);return s!==we&&po(r,Dn(),s),gl}function E0(t,n,e){!function Mi(t,n,e,i){const o=Le(),r=so(2);o.firstUpdatePass&&g0(o,null,r,i);const s=L();if(e!==we&&dn(s,r,e)){const a=o.data[Dn()];if(b0(a,i)&&!m0(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=tf(l,e||"")),qp(o,a,s,e,i)}else!function uP(t,n,e,i,o,r,s,a){o===we&&(o=$e);let l=0,c=0,h=0<o.length?o[0]:null,g=0<r.length?r[0]:null;for(;null!==h||null!==g;){const v=l<o.length?o[l+1]:void 0,b=c<r.length?r[c+1]:void 0;let w,C=null;h===g?(l+=2,c+=2,v!==b&&(C=g,w=b)):null===g||null!==h&&h<g?(l+=2,C=h):(c+=2,C=g,w=b),null!==C&&v0(t,n,e,i,C,w,s,a),h=l<o.length?o[l]:null,g=c<r.length?r[c]:null}}(o,a,s,s[11],s[r+1],s[r+1]=function dP(t,n,e){if(null==e||""===e)return $e;const i=[],o=Gn(e);if(Array.isArray(o))for(let r=0;r<o.length;r++)t(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&t(i,r,o[r]);else"string"==typeof o&&n(i,o);return i}(t,n,e),i,r)}}(zn,$i,qs(L(),t,n,e),!0)}function Or(t,n,e){const i=L();return dn(i,Ts(),n)&&Wn(Le(),bt(),i,t,n,i[11],e,!0),Or}function Md(t,n,e){const i=L();if(dn(i,Ts(),n)){const r=Le(),s=bt();Wn(r,s,i,t,n,FC(Cf(r.data),s,i),e,!0)}return Md}const ia="en-US";let H0=ia;function Xp(t,n,e,i,o){if(t=_e(t),Array.isArray(t))for(let r=0;r<t.length;r++)Xp(t[r],n,e,i,o);else{const r=Le(),s=L();let a=xr(t)?t:_e(t.provide),l=pb(t);const c=Ht(),h=1048575&c.providerIndexes,g=c.directiveStart,v=c.providerIndexes>>20;if(xr(t)||!t.multi){const b=new Wa(l,o,_),C=em(a,n,o?h:h+v,g);-1===C?(Kc(Ya(c,s),r,a),Jp(r,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),e.push(b),s.push(b)):(e[C]=b,s[C]=b)}else{const b=em(a,n,h+v,g),C=em(a,n,h,h+v),w=b>=0&&e[b],x=C>=0&&e[C];if(o&&!x||!o&&!w){Kc(Ya(c,s),r,a);const E=function AF(t,n,e,i,o){const r=new Wa(t,e,_);return r.multi=[],r.index=n,r.componentProviders=0,uw(r,o,i&&!e),r}(o?EF:xF,e.length,o,i,l);!o&&x&&(e[C].providerFactory=E),Jp(r,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),e.push(E),s.push(E)}else Jp(r,t,b>-1?b:C,uw(e[o?C:b],l,!o&&i));!o&&i&&x&&e[C].componentProviders++}}}function Jp(t,n,e,i){const o=xr(n),r=function lR(t){return!!t.useClass}(n);if(o||r){const l=(r?_e(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const h=c.indexOf(e);-1===h?c.push(e,[i,l]):c[h+1].push(i,l)}else c.push(e,l)}}}function uw(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function em(t,n,e,i){for(let o=e;o<i;o++)if(n[o]===t)return o;return-1}function xF(t,n,e,i){return tm(this.multi,[])}function EF(t,n,e,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Ka(e,e[1],this.providerFactory.index,i);r=a.slice(0,s),tm(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],tm(o,r);return r}function tm(t,n){for(let e=0;e<t.length;e++)n.push((0,t[e])());return n}function q(t,n=[]){return e=>{e.providersResolver=(i,o)=>function TF(t,n,e){const i=Le();if(i.firstCreatePass){const o=Ci(t);Xp(e,i.data,i.blueprint,o,!0),Xp(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class Fr{}class hw{}class fw extends Fr{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zp(this);const i=Hn(n);this._bootstrapComponents=ho(i.bootstrap),this._r3Injector=nC(n,e,[{provide:Fr,useValue:this},{provide:Ko,useValue:this.componentFactoryResolver}],et(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class nm extends hw{constructor(n){super(),this.moduleType=n}create(n){return new fw(this.moduleType,n)}}class kF extends Fr{constructor(n,e,i){super(),this.componentFactoryResolver=new zp(this),this.instance=null;const o=new fb([...n,{provide:Fr,useValue:this},{provide:Ko,useValue:this.componentFactoryResolver}],e||ad(),i,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Id(t,n,e=null){return new kF(t,n,e).injector}let RF=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=cb(0,e.type),o=i.length>0?Id([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,o)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=V({token:t,providedIn:"environment",factory:()=>new t(T(Yo))}),t})();function pw(t){t.getStandaloneInjector=n=>n.get(RF).getOrCreateStandaloneInjector(t)}function Ui(t,n,e){const i=wn()+t,o=L();return o[i]===we?Vi(o,i,e?n.call(e):n()):function fl(t,n){return t[n]}(o,i)}function Ne(t,n,e,i){return Cw(L(),wn(),t,n,e,i)}function Jo(t,n,e,i,o){return function ww(t,n,e,i,o,r,s){const a=n+e;return kr(t,a,o,r)?Vi(t,a+2,s?i.call(s,o,r):i(o,r)):wl(t,a+2)}(L(),wn(),t,n,e,i,o)}function wl(t,n){const e=t[n];return e===we?void 0:e}function Cw(t,n,e,i,o,r){const s=n+e;return dn(t,s,o)?Vi(t,s+1,r?i.call(r,o):i(o)):wl(t,s+1)}function Nr(t,n){const e=Le();let i;const o=t+22;e.firstCreatePass?(i=function YF(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(o,i.onDestroy)):i=e.data[o];const r=i.factory||(i.factory=Sr(i.type)),s=ti(_);try{const a=qc(!1),l=r();return qc(a),function zO(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,L(),o,l),l}finally{ti(s)}}function Lr(t,n,e){const i=t+22,o=L(),r=Ms(o,i);return function Dl(t,n){return t[1].data[n].pure}(o,i)?Cw(o,wn(),n,r.transform,e,r):r.transform(e)}function om(t){return n=>{setTimeout(t,void 0,n)}}const Q=class JF extends W{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,r=e||(()=>null),s=i;if(n&&"object"==typeof n){var a,l,c;const g=n;o=null===(a=g.next)||void 0===a?void 0:a.bind(g),r=null===(l=g.error)||void 0===l?void 0:l.bind(g),s=null===(c=g.complete)||void 0===c?void 0:c.bind(g)}this.__isAsync&&(r=om(r),o&&(o=om(o)),s&&(s=om(s)));const h=super.subscribe({next:o,error:r,complete:s});return n instanceof ye&&n.add(h),h}};function eN(){return this._results[Ir()]()}class Br{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Ir(),i=Br.prototype;i[e]||(i[e]=eN)}get changes(){return this._changes||(this._changes=new Q)}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,e){return this._results.reduce(n,e)}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,e){const i=this;i.dirty=!1;const o=Un(n);(this._changesDetected=!function rk(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let o=t[i],r=n[i];if(e&&(o=e(o),r=e(r)),r!==o)return!1}return!0}(i._results,o,e))&&(i._results=o,i.length=o.length,i.last=o[this.length-1],i.first=o[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let wt=(()=>{class t{}return t.__NG_ELEMENT_ID__=iN,t})();const tN=wt,nN=class extends tN{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,o=md(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),Pp(i,o,n),new dl(o)}};function iN(){return kd(Ht(),L())}function kd(t,n){return 4&t.type?new nN(n,t,Hs(t,n)):null}let Dt=(()=>{class t{}return t.__NG_ELEMENT_ID__=oN,t})();function oN(){return Ew(Ht(),L())}const rN=Dt,Tw=class extends rN{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Hs(this._hostTNode,this._hostLView)}get injector(){return new Is(this._hostTNode,this._hostLView)}get parentInjector(){const n=Yc(this._hostTNode,this._hostLView);if(Sy(n)){const e=As(n,this._hostLView),i=Es(n);return new Is(e[1].data[i+8],e)}return new Is(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=xw(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=n.createEmbeddedView(e||{},r);return this.insert(s,o),s}createComponent(n,e,i,o,r){const s=n&&!function Za(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const g=e||{};a=g.index,i=g.injector,o=g.projectableNodes,r=g.environmentInjector||g.ngModuleRef}const l=s?n:new ul(Qe(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const v=(s?c:this.parentInjector).get(Yo,null);v&&(r=v)}const h=l.create(c,o,void 0,r);return this.insert(h.hostView,a),h}insert(n,e){const i=n._lView,o=i[1];if(function EI(t){return bi(t[3])}(i)){const h=this.indexOf(n);if(-1!==h)this.detach(h);else{const g=i[3],v=new Tw(g,g[6],g[3]);v.detach(v.indexOf(n))}}const r=this._adjustIndex(e),s=this._lContainer;!function a2(t,n,e,i){const o=10+i,r=e.length;i>0&&(e[o-1][4]=n),i<r-10?(n[4]=e[o],Fy(e,10+i,n)):(e.push(n),n[4]=null),n[3]=e;const s=n[17];null!==s&&e!==s&&function l2(t,n){const e=t[9];n[16]!==n[3][3][16]&&(t[2]=!0),null===e?t[9]=[n]:e.push(n)}(s,n);const a=n[19];null!==a&&a.insertView(t),n[2]|=64}(o,i,s,r);const a=gp(r,s),l=i[11],c=ld(l,s[7]);return null!==c&&function o2(t,n,e,i,o,r){i[0]=o,i[6]=n,cl(t,i,e,1,o,r)}(o,s[6],l,i,c,a),n.attachToViewContainerRef(),Fy(rm(s),r,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=xw(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=fp(this._lContainer,e);i&&(Zc(rm(this._lContainer),e),Ob(i[1],i))}detach(n){const e=this._adjustIndex(n,-1),i=fp(this._lContainer,e);return i&&null!=Zc(rm(this._lContainer),e)?new dl(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function xw(t){return t[8]}function rm(t){return t[8]||(t[8]=[])}function Ew(t,n){let e;const i=n[t.index];if(bi(i))e=i;else{let o;if(8&t.type)o=kt(i);else{const r=n[11];o=r.createComment("");const s=oi(t,n);Ar(r,ld(r,s),o,function h2(t,n){return t.nextSibling(n)}(r,s),!1)}n[t.index]=e=RC(i,n,o,t),_d(n,e)}return new Tw(e,t,n)}class sm{constructor(n){this.queryList=n,this.matches=null}clone(){return new sm(this.queryList)}setDirty(){this.queryList.setDirty()}}class am{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,o=[];for(let r=0;r<i;r++){const s=e.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new am(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)null!==Ow(n,e).matches&&this.queries[e].setDirty()}}class Aw{constructor(n,e,i=null){this.predicate=n,this.flags=e,this.read=i}}class lm{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){const o=null!==e?e.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,null!==e?e.push(r):e=[r])}return null!==e?new lm(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class cm{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new cm(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(n,e,lN(e,r)),this.matchTNodeWithReadOption(n,e,Qc(e,n,r,!1,!1))}else i===wt?4&e.type&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,Qc(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Z||o===Dt||o===wt&&4&e.type)this.addMatch(e.index,-2);else{const r=Qc(e,n,o,!1,!1);null!==r&&this.addMatch(e.index,r)}else this.addMatch(e.index,i)}}addMatch(n,e){null===this.matches?this.matches=[n,e]:this.matches.push(n,e)}}function lN(t,n){const e=t.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1];return null}function dN(t,n,e,i){return-1===e?function cN(t,n){return 11&t.type?Hs(t,n):4&t.type?kd(t,n):null}(n,t):-2===e?function uN(t,n,e){return e===Z?Hs(n,t):e===wt?kd(n,t):e===Dt?Ew(n,t):void 0}(t,n,i):Ka(t,t[1],e,n)}function Iw(t,n,e,i){const o=n[19].queries[i];if(null===o.matches){const r=t.data,s=e.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:dN(n,r[c],s[l+1],e.metadata.read))}o.matches=a}return o.matches}function dm(t,n,e,i){const o=t.queries.getByIndex(e),r=o.matches;if(null!==r){const s=Iw(t,n,o,e);for(let a=0;a<r.length;a+=2){const l=r[a];if(l>0)i.push(s[a/2]);else{const c=r[a+1],h=n[-l];for(let g=10;g<h.length;g++){const v=h[g];v[17]===v[3]&&dm(v[1],v,c,i)}if(null!==h[9]){const g=h[9];for(let v=0;v<g.length;v++){const b=g[v];dm(b[1],b,c,i)}}}}}return i}function F(t){const n=L(),e=Le(),i=py();wf(i+1);const o=Ow(e,i);if(t.dirty&&function xI(t){return 4==(4&t[2])}(n)===(2==(2&o.metadata.flags))){if(null===o.matches)t.reset([]);else{const r=o.crossesNgTemplate?dm(e,n,i,[]):Iw(e,n,o,i);t.reset(r,bR),t.notifyOnChanges()}return!0}return!1}function Y(t,n,e){const i=Le();i.firstCreatePass&&(Rw(i,new Aw(t,n,e),-1),2==(2&n)&&(i.staticViewQueries=!0)),kw(i,L(),n)}function Ee(t,n,e,i){const o=Le();if(o.firstCreatePass){const r=Ht();Rw(o,new Aw(n,e,i),r.index),function fN(t,n){const e=t.contentQueries||(t.contentQueries=[]);n!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,n)}(o,t),2==(2&e)&&(o.staticContentQueries=!0)}kw(o,L(),e)}function N(){return function hN(t,n){return t[19].queries[n].queryList}(L(),py())}function kw(t,n,e){const i=new Br(4==(4&e));DC(t,n,i,i.destroy),null===n[19]&&(n[19]=new am),n[19].queries.push(new sm(i))}function Rw(t,n,e){null===t.queries&&(t.queries=new lm),t.queries.track(new cm(n,e))}function Ow(t,n){return t.queries.getByIndex(n)}function Rd(t,n){return kd(t,n)}function Pd(...t){}const Ml=new O("Application Initializer");let Fd=(()=>{class t{constructor(e){this.appInits=e,this.resolve=Pd,this.reject=Pd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const r=this.appInits[o]();if(pl(r))e.push(r);else if(Yp(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(T(Ml,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const sa=new O("AppId",{providedIn:"root",factory:function Xw(){return`${mm()}${mm()}${mm()}`}});function mm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Jw=new O("Platform Initializer"),aa=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),e1=new O("appBootstrapListener"),Et=new O("AnimationModuleType");let ON=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const zi=new O("LocaleId",{providedIn:"root",factory:()=>rt(zi,ce.Optional|ce.SkipSelf)||function PN(){return typeof $localize<"u"&&$localize.locale||ia}()});class NN{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let gm=(()=>{class t{compileModuleSync(e){return new nm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),r=ho(Hn(e).declarations).reduce((s,a)=>{const l=Qe(a);return l&&s.push(new ul(l)),s},[]);return new NN(i,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const VN=(()=>Promise.resolve(0))();function _m(t){typeof Zone>"u"?VN.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ne{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new P(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function HN(){let t=it.requestAnimationFrame,n=it.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function UN(t){const n=()=>{!function $N(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(it,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ym(t),t.isCheckStableRunning=!0,vm(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ym(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,r,s,a)=>{try{return o1(t),e.invokeTask(o,r,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||t.shouldCoalesceRunChangeDetection)&&n(),r1(t)}},onInvoke:(e,i,o,r,s,a,l)=>{try{return o1(t),e.invoke(o,r,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),r1(t)}},onHasTask:(e,i,o,r)=>{e.hasTask(o,r),i===o&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,ym(t),vm(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,i,o,r)=>(e.handleError(o,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ne.isInAngularZone())throw new P(909,!1)}static assertNotInAngularZone(){if(ne.isInAngularZone())throw new P(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,jN,Pd,Pd);try{return r.runTask(s,e,i)}finally{r.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const jN={};function vm(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ym(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function o1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function r1(t){t._nesting--,vm(t)}class zN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Q,this.onMicrotaskEmpty=new Q,this.onStable=new Q,this.onError=new Q}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const s1=new O(""),Nd=new O("");let wm,bm=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,wm||(function GN(t){wm=t}(o),o.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ne.assertNotInAngularZone(),_m(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())_m(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:o})}whenStable(e,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return t.\u0275fac=function(e){return new(e||t)(T(ne),T(Cm),T(Nd))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),Cm=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){var o,r;return null!==(o=null===(r=wm)||void 0===r?void 0:r.findTestabilityInTree(this,e,i))&&void 0!==o?o:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),er=null;const a1=new O("AllowMultipleToken"),Dm=new O("PlatformDestroyListeners");class l1{constructor(n,e){this.name=n,this.token=e}}function d1(t,n,e=[]){const i=`Platform: ${n}`,o=new O(i);return(r=[])=>{let s=Sm();if(!s||s.injector.get(a1,!1)){const a=[...e,...r,{provide:o,useValue:!0}];t?t(a):function YN(t){if(er&&!er.get(a1,!1))throw new P(400,!1);er=t;const n=t.get(h1);(function c1(t){const n=t.get(Jw,null);n&&n.forEach(e=>e())})(t)}(function u1(t=[],n){return Rt.create({name:n,providers:[{provide:Yf,useValue:"platform"},{provide:Dm,useValue:new Set([()=>er=null])},...t]})}(a,i))}return function QN(t){const n=Sm();if(!n)throw new P(401,!1);return n}()}}function Sm(){var t,n;return null!==(t=null===(n=er)||void 0===n?void 0:n.get(h1))&&void 0!==t?t:null}let h1=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function p1(t,n){let e;return e="noop"===t?new zN:("zone.js"===t?void 0:t)||new ne(n),e}(i?.ngZone,function f1(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:ne,useValue:o}];return o.run(()=>{const s=Rt.create({providers:r,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(uo,null);if(!l)throw new P(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:h=>{l.handleError(h)}});a.onDestroy(()=>{Ld(this._modules,a),c.unsubscribe()})}),function m1(t,n,e){try{const i=e();return pl(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,o,()=>{const c=a.injector.get(Fd);return c.runInitializers(),c.donePromise.then(()=>(function j0(t){Vn(t,"Expected localeId to be defined"),"string"==typeof t&&(H0=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(zi,ia)||ia),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const o=g1({},i);return function WN(t,n,e){const i=new nm(e);return Promise.resolve(i)}(0,0,e).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(e){const i=e.injector.get(la);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new P(403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new P(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Dm,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(T(Rt))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function g1(t,n){return Array.isArray(n)?n.reduce(g1,t):{...t,...n}}let la=(()=>{class t{constructor(e,i,o){this._zone=e,this._injector=i,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new Ge(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ge(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ne.assertNotInAngularZone(),_m(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=yn(r,s.pipe(Xh()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof mb;if(!this._injector.get(Fd).done)throw!o&&function Cs(t){const n=Qe(t)||bn(t)||Cn(t);return null!==n&&n.standalone}(e),new P(405,false);let s;s=o?e:this._injector.get(Ko).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function qN(t){return t.isBoundToModule}(s)?void 0:this._injector.get(Fr),c=s.create(Rt.NULL,[],i||s.selector,a),h=c.location.nativeElement,g=c.injector.get(s1,null);return g?.registerApplication(h),c.onDestroy(()=>{this.detachView(c.hostView),Ld(this.components,c),g?.unregisterApplication(h)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new P(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;Ld(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(e1,[]).concat(this._bootstrapListeners).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ld(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new P(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(T(ne),T(Yo),T(uo))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Ld(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let v1=!0,qe=(()=>{class t{}return t.__NG_ELEMENT_ID__=JN,t})();function JN(t){return function eL(t,n,e){if(Bc(t)&&!e){const i=$n(t.index,n);return new dl(i,i)}return 47&t.type?new dl(n[16],n):null}(Ht(),L(),16==(16&t))}class D1{constructor(){}supports(n){return hl(n)}create(n){return new sL(n)}}const rL=(t,n)=>n;class sL{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||rL}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,r=null;for(;e||i;){const s=!i||e&&e.currentIndex<M1(i,o,r)?e:i,a=M1(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)o++;else{r||(r=[]);const c=a-o,h=l-o;if(c!=h){for(let v=0;v<c;v++){const b=v<r.length?r[v]:r[v]=0,C=b+v;h<=C&&C<c&&(r[v]=b+1)}r[s.previousIndex]=h-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)}diff(n){if(null==n&&(n=[]),!hl(n))throw new P(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o,r,s,e=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,r,s,a)),Object.is(e.item,r)||this._addIdentityChange(e,r)):(e=this._mismatch(e,r,s,a),i=!0),e=e._next}else o=0,function HO(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{const e=t[Ir()]();let i;for(;!(i=e.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(o,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let r;return null===n?r=this._itTail:(r=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,r,o)):n=this._addAfter(new aL(e,i),r,o),n}_verifyReinsertion(n,e,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new S1),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new S1),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class aL{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class lL{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class S1{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new lL,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function M1(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i<e.length&&(o=e[i]),i+n+o}class T1{constructor(){}supports(n){return n instanceof Map||Wp(n)}create(){return new cL}}class cL{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let e;for(e=this._mapHead;null!==e;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}diff(n){if(n){if(!(n instanceof Map||Wp(n)))throw new P(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,o)=>{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const r=o._prev,s=o._next;return r&&(r._next=s),s&&(s._prev=r),o._next=null,o._prev=null,o}const i=new dL(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class dL{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function x1(){return new _o([new D1])}let _o=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||x1()),deps:[[t,new qo,new Ni]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new P(901,!1)}}return t.\u0275prov=V({token:t,providedIn:"root",factory:x1}),t})();function E1(){return new Tl([new T1])}let Tl=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||E1()),deps:[[t,new qo,new Ni]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new P(901,!1)}}return t.\u0275prov=V({token:t,providedIn:"root",factory:E1}),t})();const fL=d1(null,"core",[]);let pL=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(T(la))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();function vo(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let Hd=null;function Gi(){return Hd}const pe=new O("DocumentToken");let Am=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:function(){return function vL(){return T(A1)}()},providedIn:"platform"}),t})();const yL=new O("Location Initialized");let A1=(()=>{class t extends Am{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gi().getBaseHref(this._doc)}onPopState(e){const i=Gi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Gi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}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(e){this.location.pathname=e}pushState(e,i,o){I1()?this._history.pushState(e,i,o):this.location.hash=o}replaceState(e,i,o){I1()?this._history.replaceState(e,i,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:function(){return function bL(){return new A1(T(pe))}()},providedIn:"platform"}),t})();function I1(){return!!window.history.pushState}function Im(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function k1(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function yo(t){return t&&"?"!==t[0]?"?"+t:t}let Hr=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:function(){return rt(O1)},providedIn:"root"}),t})();const R1=new O("appBaseHref");let O1=(()=>{class t extends Hr{constructor(e,i){var o,r,s;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(o=null!==(r=i??this._platformLocation.getBaseHrefFromDOM())&&void 0!==r?r:null===(s=rt(pe).location)||void 0===s?void 0:s.origin)&&void 0!==o?o:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Im(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+yo(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,r){const s=this.prepareExternalUrl(o+yo(r));this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){const s=this.prepareExternalUrl(o+yo(r));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,o;null===(i=(o=this._platformLocation).historyGo)||void 0===i||i.call(o,e)}}return t.\u0275fac=function(e){return new(e||t)(T(Am),T(R1,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),CL=(()=>{class t extends Hr{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=Im(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,r){let s=this.prepareExternalUrl(o+yo(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,o,r){let s=this.prepareExternalUrl(o+yo(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var i,o;null===(i=(o=this._platformLocation).historyGo)||void 0===i||i.call(o,e)}}return t.\u0275fac=function(e){return new(e||t)(T(Am),T(R1,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),xi=(()=>{class t{constructor(e){this._subject=new Q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=k1(P1(i)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+yo(i))}normalize(e){return t.stripTrailingSlash(function DL(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,P1(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+yo(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+yo(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var i,o;null===(i=(o=this._locationStrategy).historyGo)||void 0===i||i.call(o,e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);var o;this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(null===(o=this._urlChangeSubscription)||void 0===o||o.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return t.normalizeQueryParams=yo,t.joinWithSlash=Im,t.stripTrailingSlash=k1,t.\u0275fac=function(e){return new(e||t)(T(Hr))},t.\u0275prov=V({token:t,factory:function(){return function wL(){return new xi(T(Hr))}()},providedIn:"root"}),t})();function P1(t){return t.replace(/\/index.html$/,"")}function U1(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,r]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}let Qd=(()=>{class t{constructor(e,i,o,r){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(hl(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${et(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(_(_o),_(Tl),_(Z),_(co))},t.\u0275dir=R({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class l3{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Wi=(()=>{class t{constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new l3(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),W1(a,o)}});for(let o=0,r=i.length;o<r;o++){const a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}e.forEachIdentityChange(o=>{W1(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(wt),_(_o))},t.\u0275dir=R({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function W1(t,n){t.context.$implicit=n.item}let at=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new d3,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){q1("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){q1("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(wt))},t.\u0275dir=R({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class d3{constructor(){this.$implicit=null,this.ngIf=null}}function q1(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${et(n)}'.`)}class Hm{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let ca=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i<this._defaultViews.length;i++)this._defaultViews[i].enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),Zd=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new Hm(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(wt),_(ca,9))},t.\u0275dir=R({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),jm=(()=>{class t{constructor(e,i,o){o._addDefault(new Hm(e,i))}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(wt),_(ca,9))},t.\u0275dir=R({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})();class p3{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}}class m3{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const g3=new m3,_3=new p3;let $m=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(pl(e))return g3;if(YC(e))return _3;throw function Ai(t,n){return new P(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(_(qe,16))},t.\u0275pipe=kn({name:"async",type:t,pure:!1,standalone:!0}),t})(),K1=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=Q1}transform(e,i=Q1){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const o=this.differ.diff(e),r=i!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(function E3(t,n){return{key:t,value:n}}(s.key,s.currentValue))})),(o||r)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(_(Tl,16))},t.\u0275pipe=kn({name:"keyvalue",type:t,pure:!1,standalone:!0}),t})();function Q1(t,n){const e=t.key,i=n.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e<i?-1:1;if("number"==typeof e&&"number"==typeof i)return e-i;if("boolean"==typeof e&&"boolean"==typeof i)return e<i?-1:1;const o=String(e),r=String(i);return o==r?0:o<r?-1:1}let qn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();const Z1="browser";function Gm(t){return t===Z1}let N3=(()=>{class t{}return t.\u0275prov=V({token:t,providedIn:"root",factory:()=>new L3(T(pe),window)}),t})();class L3{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function B3(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const r=o.shadowRoot;if(r){const s=r.getElementById(n)||r.querySelector(`[name="${n}"]`);if(s)return s}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(i-r[0],o-r[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=X1(this.window.history)||X1(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function X1(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class J1{}class Ym extends class nB extends class _L{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function gL(t){Hd||(Hd=t)}(new Ym)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).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,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function iB(){return Il=Il||document.querySelector("base"),Il?Il.getAttribute("href"):null}();return null==e?null:function oB(t){Jd=Jd||document.createElement("a"),Jd.setAttribute("href",t);const n=Jd.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Il=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return U1(document.cookie,n)}}let Jd,Il=null;const iD=new O("TRANSITION_ID"),sB=[{provide:Ml,useFactory:function rB(t,n,e){return()=>{e.get(Fd).donePromise.then(()=>{const i=Gi(),o=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let r=0;r<o.length;r++)i.remove(o[r])})}},deps:[iD,pe,Rt],multi:!0}];let lB=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();const eu=new O("EventManagerPlugins");let tu=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}addGlobalEventListener(e,i,o){return this._findPluginFor(i).addGlobalEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const o=this._plugins;for(let r=0;r<o.length;r++){const s=o[r];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return t.\u0275fac=function(e){return new(e||t)(T(eu),T(ne))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();class oD{constructor(n){this._doc=n}addGlobalEventListener(n,e,i){const o=Gi().getGlobalEventTarget(this._doc,n);if(!o)throw new Error(`Unsupported event target ${o} for event ${e}`);return this.addEventListener(o,e,i)}}let rD=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),kl=(()=>{class t extends rD{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,o){e.forEach(r=>{const s=this._doc.createElement("style");s.textContent=r,o.push(i.appendChild(s))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(sD),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(e,o,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(sD))}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();function sD(t){Gi().remove(t)}const Km={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Qm=/%COMP%/g;function nu(t,n,e){for(let i=0;i<n.length;i++){let o=n[i];Array.isArray(o)?nu(t,o,e):(o=o.replace(Qm,t),e.push(o))}return e}function cD(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let iu=(()=>{class t{constructor(e,i,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Zm(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case vi.Emulated:{let o=this.rendererByCompId.get(i.id);return o||(o=new pB(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,o)),o.applyToHost(e),o}case 1:case vi.ShadowDom:return new mB(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const o=nu(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(T(tu),T(kl),T(sa))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();class Zm{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(Km[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(uD(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(uD(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const r=Km[o];r?n.setAttributeNS(r,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=Km[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(On.DashCase|On.Important)?n.style.setProperty(e,i,o&On.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&On.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,cD(i)):this.eventManager.addEventListener(n,e,cD(i))}}function uD(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class pB extends Zm{constructor(n,e,i,o){super(n),this.component=i;const r=nu(o+"-"+i.id,i.styles,[]);e.addStyles(r),this.contentAttr=function uB(t){return"_ngcontent-%COMP%".replace(Qm,t)}(o+"-"+i.id),this.hostAttr=function hB(t){return"_nghost-%COMP%".replace(Qm,t)}(o+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class mB extends Zm{constructor(n,e,i,o){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=nu(o.id,o.styles,[]);for(let s=0;s<r.length;s++){const a=document.createElement("style");a.textContent=r[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}}let gB=(()=>{class t extends oD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();const hD=["alt","control","meta","shift"],_B={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},vB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let yB=(()=>{class t extends oD{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const r=t.parseEventName(i),s=t.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gi().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),hD.forEach(c=>{const h=i.indexOf(c);h>-1&&(i.splice(h,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let o=_B[e.key]||e.key,r="";return i.indexOf("code.")>-1&&(o=e.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),hD.forEach(s=>{s!==o&&(0,vB[s])(e)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(e,i,o){return r=>{t.matchEventFullKeyCode(r,e)&&o.runGuarded(()=>i(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();const DB=d1(fL,"browser",[{provide:aa,useValue:Z1},{provide:Jw,useValue:function bB(){Ym.makeCurrent()},multi:!0},{provide:pe,useFactory:function wB(){return function Ik(t){Vf=t}(document),document},deps:[]}]),mD=new O(""),gD=[{provide:Nd,useClass:class aB{addToWindow(n){it.getAngularTestability=(i,o=!0)=>{const r=n.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},it.getAllAngularTestabilities=()=>n.getAllTestabilities(),it.getAllAngularRootElements=()=>n.getAllRootElements(),it.frameworkStabilizers||(it.frameworkStabilizers=[]),it.frameworkStabilizers.push(i=>{const o=it.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(l){s=s||l,r--,0==r&&i(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Gi().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:s1,useClass:bm,deps:[ne,Cm,Nd]},{provide:bm,useClass:bm,deps:[ne,Cm,Nd]}],_D=[{provide:Yf,useValue:"root"},{provide:uo,useFactory:function CB(){return new uo},deps:[]},{provide:eu,useClass:gB,multi:!0,deps:[pe,ne,aa]},{provide:eu,useClass:yB,multi:!0,deps:[pe]},{provide:iu,useClass:iu,deps:[tu,kl,sa]},{provide:sl,useExisting:iu},{provide:rD,useExisting:kl},{provide:kl,useClass:kl,deps:[pe]},{provide:tu,useClass:tu,deps:[eu,ne]},{provide:J1,useClass:lB,deps:[]},[]];let vD=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:sa,useValue:e.appId},{provide:iD,useExisting:sa},sB]}}}return t.\u0275fac=function(e){return new(e||t)(T(mD,12))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[..._D,...gD],imports:[qn,pL]}),t})(),yD=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:function(e){let i=null;return i=e?new e:function MB(){return new yD(T(pe))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let eg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:function(e){let i=null;return i=e?new(e||t):T(wD),i},providedIn:"root"}),t})(),wD=(()=>{class t extends eg{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Ue.NONE:return i;case Ue.HTML:return Li(i,"HTML")?Gn(i):ob(this._doc,String(i)).toString();case Ue.STYLE:return Li(i,"Style")?Gn(i):i;case Ue.SCRIPT:if(Li(i,"Script"))return Gn(i);throw new Error("unsafe value used in a script context");case Ue.URL:return Li(i,"URL")?Gn(i):od(String(i));case Ue.RESOURCE_URL:if(Li(i,"ResourceURL"))return Gn(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function Vk(t){return new Ok(t)}(e)}bypassSecurityTrustStyle(e){return function Hk(t){return new Pk(t)}(e)}bypassSecurityTrustScript(e){return function jk(t){return new Fk(t)}(e)}bypassSecurityTrustUrl(e){return function $k(t){return new Nk(t)}(e)}bypassSecurityTrustResourceUrl(e){return function Uk(t){return new Lk(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:function(e){let i=null;return i=e?new e:function RB(t){return new wD(t.get(pe))}(T(Rt)),i},providedIn:"root"}),t})();const OB=new O("cdk-dir-doc",{providedIn:"root",factory:function PB(){return rt(pe)}}),FB=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let xn=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new Q,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function NB(t){var n;const e=t?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&null!==(n=navigator)&&void 0!==n&&n.language?FB.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(T(OB,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Rl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();function ge(t){return null!=t&&"false"!=`${t}`}function Nn(t,n=0){return DD(t)?Number(t):n}function DD(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ou(t){return Array.isArray(t)?t:[t]}function Ft(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Co(t){return t instanceof Z?t.nativeElement:t}function tg(){return vt((t,n)=>{let e=null;t._refCount++;const i=ht(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,r=e;e=null,o&&(!r||o===r)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class ng extends Ge{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Iv(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new ye;const e=this.getSubject();n.add(this.source.subscribe(ht(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=ye.EMPTY)}return n}refCount(){return tg()(this)}}function ig(t){return t&&"function"==typeof t.connect&&!(t instanceof ng)}class SD{applyChanges(n,e,i,o,r){n.forEachOperation((s,a,l)=>{let c,h;if(null==s.previousIndex){const v=i(s,a,l);c=e.createEmbeddedView(v.templateRef,v.context,v.index),h=1}else null==l?(e.remove(a),h=3):(c=e.get(a),e.move(c,l),h=2);var g;r&&r({context:null===(g=c)||void 0===g?void 0:g.context,operation:h,record:s})})}detach(){}}class og{constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new W,e&&e.length&&(n?e.forEach(r=>this._markSelected(r)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(r=>this._markSelected(r)),e.filter(r=>!i.has(r)).forEach(r=>this._unmarkSelected(r));const o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,n))return!0;return!1}return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let TD=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let o of this._listeners)o(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ol=new O("_ViewRepeater");let rg;try{rg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{rg=!1}let da,St=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Gm(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!rg)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(T(aa))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ED(){if(da)return da;if("object"!=typeof document||!document)return da=new Set(xD),da;let t=document.createElement("input");return da=new Set(xD.filter(n=>(t.setAttribute("type",n),t.type===n))),da}let Pl,ru,jr,sg;function ua(t){return function BB(){if(null==Pl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Pl=!0}))}finally{Pl=Pl||!1}return Pl}()?t:!!t.capture}function AD(){if(null==jr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return jr=!1,jr;if("scrollBehavior"in document.documentElement.style)jr=!0;else{const t=Element.prototype.scrollTo;jr=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return jr}function Fl(){if("object"!=typeof document||!document)return 0;if(null==ru){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),ru=0,0===t.scrollLeft&&(t.scrollLeft=1,ru=0===t.scrollLeft?1:2),t.remove()}return ru}function ag(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function $r(t){return t.composedPath?t.composedPath()[0]:t.target}function lg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function $(...t){return xt(t,Va(t))}const{isArray:jB}=Array;function cg(t){return oe(n=>function $B(t,n){return jB(n)?t(...n):t(n)}(t,n))}const UB=["addListener","removeListener"],zB=["addEventListener","removeEventListener"],GB=["on","off"];function wo(t,n,e,i){if(Re(e)&&(i=e,e=void 0),i)return wo(t,n,e).pipe(cg(i));const[o,r]=function YB(t){return Re(t.addEventListener)&&Re(t.removeEventListener)}(t)?zB.map(s=>a=>t[s](n,a,e)):function WB(t){return Re(t.addListener)&&Re(t.removeListener)}(t)?UB.map(ID(t,n)):function qB(t){return Re(t.on)&&Re(t.off)}(t)?GB.map(ID(t,n)):[];if(!o&&Qh(t))return lt(s=>wo(s,n,e))(In(t));if(!o)throw new TypeError("Invalid event target");return new Ge(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function ID(t,n){return e=>i=>t[e](n,i)}class KB extends ye{constructor(n,e){super()}schedule(n,e=0){return this}}const su={setInterval(t,n,...e){const{delegate:i}=su;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=su;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class dg extends KB{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,e),this}requestAsyncId(n,e,i=0){return su.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&su.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Vt(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const Nl={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Nl;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(r=>{e=void 0,t(r)});return new ye(()=>e?.(o))},requestAnimationFrame(...t){const{delegate:n}=Nl;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=Nl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0},ug={now:()=>(ug.delegate||Date).now(),delegate:void 0};class Ll{constructor(n,e=Ll.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}Ll.now=ug.now;class hg extends Ll{constructor(n,e=Ll.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}new class ZB extends hg{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class QB extends dg{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Nl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(Nl.cancelAnimationFrame(e),n._scheduled=void 0)}});let fg,JB=1;const au={};function kD(t){return t in au&&(delete au[t],!0)}const eV={setImmediate(t){const n=JB++;return au[n]=!0,fg||(fg=Promise.resolve()),fg.then(()=>kD(n)&&t()),n},clearImmediate(t){kD(t)}},{setImmediate:tV,clearImmediate:nV}=eV,lu={setImmediate(...t){const{delegate:n}=lu;return(n?.setImmediate||tV)(...t)},clearImmediate(t){const{delegate:n}=lu;return(n?.clearImmediate||nV)(t)},delegate:void 0},pg=(new class oV extends hg{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class iV extends dg{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=lu.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:r}=n;null!=e&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==e&&(lu.clearImmediate(e),n._scheduled=void 0)}}),new hg(dg)),sV=pg;function RD(t=0,n,e=sV){let i=-1;return null!=n&&(Uv(n)?e=n:i=n),new Ge(o=>{let r=function lV(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;r<0&&(r=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}function OD(t,n=pg){return function aV(t){return vt((n,e)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,e.next(c)}s&&e.complete()},l=()=>{r=null,s&&e.complete()};n.subscribe(ht(e,c=>{i=!0,o=c,r||In(t(c)).subscribe(r=ht(e,a,l))},()=>{s=!0,(!i||!r||r.closed)&&e.complete()}))})}(()=>RD(t,n))}function Ye(t,n){return vt((e,i)=>{let o=0;e.subscribe(ht(i,r=>t.call(n,r,o++)&&i.next(r)))})}function ve(t){return vt((n,e)=>{In(t).subscribe(ht(e,()=>e.complete(),re)),!e.closed&&n.subscribe(e)})}let Bl=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new W,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Ge(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(OD(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):$()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ye(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=Co(i),r=e.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>wo(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(T(ne),T(St),T(pe,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Vl=(()=>{class t{constructor(e,i,o,r){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=o,this.dir=r,this._destroyed=new W,this._elementScrolled=new Ge(s=>this.ngZone.runOutsideAngular(()=>wo(this.elementRef.nativeElement,"scroll").pipe(ve(this._destroyed)).subscribe(s)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const i=this.elementRef.nativeElement,o=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=o?e.end:e.start),null==e.right&&(e.right=o?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),o&&0!=Fl()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Fl()?e.left=e.right:1==Fl()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;AD()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",o="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?o:i:"end"==e&&(e=s?i:o),s&&2==Fl()?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&1==Fl()?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Bl),_(ne),_(xn,8))},t.\u0275dir=R({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),nr=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new W,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,r=o.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(OD(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(T(St),T(ne),T(pe,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ha=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})(),mg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Rl,ha,Rl,ha]}),t})();class hn extends W{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function pt(t){return t<=0?()=>It:vt((n,e)=>{let i=0;n.subscribe(ht(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}const hV=[[["caption"]],[["colgroup"],["col"]]],fV=["caption","colgroup, col"];function pV(t,n){if(1&t&&(u(0,"th",3),m(1),d()),2&t){const e=I();si("text-align",e.justify),p(1),te(" ",e.headerText," ")}}function mV(t,n){if(1&t&&(u(0,"td",4),m(1),d()),2&t){const e=n.$implicit,i=I();si("text-align",i.justify),p(1),te(" ",i.dataAccessor(e,i.name)," ")}}function gg(t){return class extends t{constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=ge(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}}}const fa=new O("CDK_TABLE"),gV=new O("text-column-options");let pa=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(wt))},t.\u0275dir=R({type:t,selectors:[["","cdkCellDef",""]]}),t})(),ma=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(wt))},t.\u0275dir=R({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),cu=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(wt))},t.\u0275dir=R({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class _V{}const vV=gg(_V);let Do=(()=>{class t extends vV{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=ge(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(_(fa,8))},t.\u0275dir=R({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,pa,5),Ee(o,ma,5),Ee(o,cu,5)),2&e){let r;F(r=N())&&(i.cell=r.first),F(r=N())&&(i.headerCell=r.first),F(r=N())&&(i.footerCell=r.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[q([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),j]}),t})();class _g{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let vg=(()=>{class t extends _g{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Z))},t.\u0275dir=R({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[j]}),t})(),yg=(()=>{class t extends _g{constructor(e,i){var o;if(super(e,i),1===(null===(o=e._table)||void 0===o?void 0:o._elementRef.nativeElement.nodeType)){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Z))},t.\u0275dir=R({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[j]}),t})();class FD{constructor(){this.tasks=[],this.endTasks=[]}}const bg=new O("_COALESCED_STYLE_SCHEDULER");let ND=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new W}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new FD,this._getScheduleObservable().pipe(ve(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new FD;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?xt(Promise.resolve(void 0)):this._ngZone.onStable.pipe(pt(1))}}return t.\u0275fac=function(e){return new(e||t)(T(ne))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),Cg=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Hl?e.headerCell.template:this instanceof jl?e.footerCell.template:e.cell.template}}return t.\u0275fac=function(e){return new(e||t)(_(wt),_(_o))},t.\u0275dir=R({type:t,features:[ct]}),t})();class yV extends Cg{}const bV=gg(yV);let Hl=(()=>{class t extends bV{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(_(wt),_(_o),_(fa,8))},t.\u0275dir=R({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[j,ct]}),t})();class CV extends Cg{}const wV=gg(CV);let jl=(()=>{class t extends wV{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(_(wt),_(_o),_(fa,8))},t.\u0275dir=R({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[j,ct]}),t})(),du=(()=>{class t extends Cg{constructor(e,i,o){super(e,i),this._table=o}}return t.\u0275fac=function(e){return new(e||t)(_(wt),_(_o),_(fa,8))},t.\u0275dir=R({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[j]}),t})(),So=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t.\u0275fac=function(e){return new(e||t)(_(Dt))},t.\u0275dir=R({type:t,selectors:[["","cdkCellOutlet",""]]}),t})(),wg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=U({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[So],encapsulation:2}),t})(),Sg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=U({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[So],encapsulation:2}),t})(),uu=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return t.\u0275fac=function(e){return new(e||t)(_(wt))},t.\u0275dir=R({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const LD=["top","bottom","left","right"];class DV{constructor(n,e,i,o,r=!0,s=!0,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=o,this._isBrowser=r,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const o of n)if(o.nodeType===o.ELEMENT_NODE){i.push(o);for(let r=0;r<o.children.length;r++)i.push(o.children[r])}this._coalescedStyleScheduler.schedule(()=>{for(const o of i)this._removeStickyStyle(o,e)})}updateStickyColumns(n,e,i,o=!0){if(!n.length||!this._isBrowser||!e.some(v=>v)&&!i.some(v=>v))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const r=n[0],s=r.children.length,a=this._getCellWidths(r,o),l=this._getStickyStartColumnPositions(a,e),c=this._getStickyEndColumnPositions(a,i),h=e.lastIndexOf(!0),g=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const v="rtl"===this.direction,b=v?"right":"left",C=v?"left":"right";for(const w of n)for(let x=0;x<s;x++){const E=w.children[x];e[x]&&this._addStickyStyle(E,b,l[x],x===h),i[x]&&this._addStickyStyle(E,C,c[x],x===g)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===h?[]:a.slice(0,h+1).map((w,x)=>e[x]?w:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===g?[]:a.slice(g).map((w,x)=>i[x+g]?w:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const o="bottom"===i?n.slice().reverse():n,r="bottom"===i?e.slice().reverse():e,s=[],a=[],l=[];for(let h=0,g=0;h<o.length;h++){if(!r[h])continue;s[h]=g;const v=o[h];l[h]=this._isNativeHtmlTable?Array.from(v.children):[v];const b=v.getBoundingClientRect().height;g+=b,a[h]=b}const c=r.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let v=0;v<o.length;v++){if(!r[v])continue;const b=s[v],C=v===c;for(const w of l[v])this._addStickyStyle(w,i,b,C)}var h,g;"top"===i?null===(h=this._positionListener)||void 0===h||h.stickyHeaderRowsUpdated({sizes:a,offsets:s,elements:l}):null===(g=this._positionListener)||void 0===g||g.stickyFooterRowsUpdated({sizes:a,offsets:s,elements:l})})}updateStickyFooterContainer(n,e){if(!this._isNativeHtmlTable)return;const i=n.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{e.some(o=>!o)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const o of e)n.style[o]="",n.classList.remove(this._borderCellCss[o]);LD.some(o=>-1===e.indexOf(o)&&n.style[o])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,o){n.classList.add(this._stickCellCss),o&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const o of LD)n.style[o]&&(i+=e[o]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],o=n.children;for(let r=0;r<o.length;r++)i.push(o[r].getBoundingClientRect().width);return this._cachedCellWidths=i,i}_getStickyStartColumnPositions(n,e){const i=[];let o=0;for(let r=0;r<n.length;r++)e[r]&&(i[r]=o,o+=n[r]);return i}_getStickyEndColumnPositions(n,e){const i=[];let o=0;for(let r=n.length;r>0;r--)e[r]&&(i[r]=o,o+=n[r]);return i}}const Mg=new O("CDK_SPL");let hu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(Z))},t.\u0275dir=R({type:t,selectors:[["","rowOutlet",""]]}),t})(),fu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(Z))},t.\u0275dir=R({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),pu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(Z))},t.\u0275dir=R({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),mu=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(Z))},t.\u0275dir=R({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),gu=(()=>{class t{constructor(e,i,o,r,s,a,l,c,h,g,v,b){this._differs=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=h,this._viewportRuler=g,this._stickyPositioningListener=v,this._ngZone=b,this._onDestroy=new W,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Q,this.viewChange=new hn({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=ge(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=ge(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(ve(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ig(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(o,r,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{1===o.operation&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{i.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&ne.isInAngularZone()?this._ngZone.onStable.pipe(pt(1),ve(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=e.length?"":"none");const r=this._headerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,r,"top"),this._headerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=e.length?"":"none");const r=this._footerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,s)=>{this._addStickyColumnStyles([r],this._headerRowDefs[s])}),this._rowDefs.forEach(r=>{const s=[];for(let a=0;a<i.length;a++)this._renderRows[a].rowDef===r&&s.push(i[a]);this._addStickyColumnStyles(s,r)}),o.forEach((r,s)=>{this._addStickyColumnStyles([r],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o<this._data.length;o++){let r=this._data[o];const s=this._getRenderRowsForData(r,o,i.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(let a=0;a<s.length;a++){let l=s[a];const c=this._cachedRenderRowsMap.get(l.data);c.has(l.rowDef)?c.get(l.rowDef).push(l):c.set(l.rowDef,[l]),e.push(l)}}return e}_getRenderRowsForData(e,i,o){return this._getRowDefs(e,i).map(s=>{const a=o&&o.has(s)?o.get(s):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),_u(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=_u(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=_u(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=_u(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(s,a)=>s||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),i||o||r}_switchDataSource(e){this._data=[],ig(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ig(this.dataSource)?e=this.dataSource.connect(this):function uV(t){return!!t&&(t instanceof Ge||Re(t.lift)&&Re(t.subscribe))}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=$(this.dataSource)),this._renderChangeSubscription=e.pipe(ve(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const o=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),r=o.map(a=>a.sticky),s=o.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let o=0;o<e.viewContainer.length;o++){const r=e.viewContainer.get(o);i.push(r.rootNodes[0])}return i}_getRowDefs(e,i){if(1==this._rowDefs.length)return[this._rowDefs[0]];let o=[];if(this.multiTemplateDataRows)o=this._rowDefs.filter(r=>!r.when||r.when(i,e));else{let r=this._rowDefs.find(s=>s.when&&s.when(i,e))||this._defaultRowDef;r&&o.push(r)}return o}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,o,r={}){const s=e.viewContainer.createEmbeddedView(i.template,r,o);return this._renderCellTemplateForItem(i,r),s}_renderCellTemplateForItem(e,i){for(let o of this._getCellTemplates(e))So.mostRecentCellOutlet&&So.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,o=e.length;i<o;i++){const s=e.get(i).context;s.count=o,s.first=0===i,s.last=i===o-1,s.even=i%2==0,s.odd=!s.even,this.multiTemplateDataRows?(s.dataIndex=this._renderRows[i].dataIndex,s.renderIndex=i):s.index=this._renderRows[i].dataIndex}}_getCellTemplates(e){return e&&e.columns?Array.from(e.columns,i=>{const o=this._columnDefsByName.get(i);return e.extractCellTemplate(o)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const o of i){const r=this._document.createElement(o.tag);r.setAttribute("role","rowgroup");for(const s of o.outlets)r.appendChild(s.elementRef.nativeElement);e.appendChild(r)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new DV(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:$()).pipe(ve(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const o=this._noDataRowOutlet.viewContainer;if(i){const r=o.createEmbeddedView(e.templateRef),s=r.rootNodes[0];1===r.rootNodes.length&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=i}}return t.\u0275fac=function(e){return new(e||t)(_(_o),_(qe),_(Z),Fi("role"),_(xn,8),_(pe),_(St),_(Ol),_(bg),_(nr),_(Mg,12),_(ne,8))},t.\u0275cmp=U({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,uu,5),Ee(o,Do,5),Ee(o,du,5),Ee(o,Hl,5),Ee(o,jl,5)),2&e){let r;F(r=N())&&(i._noDataRow=r.first),F(r=N())&&(i._contentColumnDefs=r),F(r=N())&&(i._contentRowDefs=r),F(r=N())&&(i._contentHeaderRowDefs=r),F(r=N())&&(i._contentFooterRowDefs=r)}},viewQuery:function(e,i){if(1&e&&(Y(hu,7),Y(fu,7),Y(pu,7),Y(mu,7)),2&e){let o;F(o=N())&&(i._rowOutlet=o.first),F(o=N())&&(i._headerRowOutlet=o.first),F(o=N())&&(i._footerRowOutlet=o.first),F(o=N())&&(i._noDataRowOutlet=o.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&ee("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[q([{provide:fa,useExisting:t},{provide:Ol,useClass:SD},{provide:bg,useClass:ND},{provide:Mg,useValue:null}])],ngContentSelectors:fV,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(tt(hV),he(0),he(1,1),Hi(2,0)(3,1)(4,2)(5,3))},dependencies:[hu,fu,pu,mu],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})();function _u(t,n){return t.concat(Array.from(n))}let BD=(()=>{class t{constructor(e,i){this._table=e,this._options=i,this.justify="start",this._options=i||{}}get name(){return this._name}set name(e){this._name=e,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((e,i)=>e[i])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const e=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(e):e[0].toUpperCase()+e.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return t.\u0275fac=function(e){return new(e||t)(_(gu,8),_(gV,8))},t.\u0275cmp=U({type:t,selectors:[["cdk-text-column"]],viewQuery:function(e,i){if(1&e&&(Y(Do,7),Y(pa,7),Y(ma,7)),2&e){let o;F(o=N())&&(i.columnDef=o.first),F(o=N())&&(i.cell=o.first),F(o=N())&&(i.headerCell=o.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(e,i){1&e&&(S(0,0),f(1,pV,2,3,"th",1),f(2,mV,2,3,"td",2),M())},dependencies:[pa,ma,Do,yg,vg],encapsulation:2}),t})(),MV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[mg]}),t})();function Yn(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Nt(t,n,e){const i=Re(t)||n||e?{next:t,error:n,complete:e}:t;return i?vt((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(ht(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):$o}function bu(t,n=pg){return vt((e,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+t,h=n.now();if(h<c)return o=this.schedule(void 0,c-h),void i.add(o);a()}e.subscribe(ht(i,c=>{r=c,s=n.now(),o||(o=n.schedule(l,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function xg(t){return Ye((n,e)=>t<=e)}function ga(t,n=$o){return t=t??LV,vt((e,i)=>{let o,r=!0;e.subscribe(ht(i,s=>{const a=n(s);(r||!t(o,a))&&(r=!1,o=a,i.next(s))}))})}function LV(t,n){return t===n}let jD=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),BV=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Co(e);return new Ge(o=>{const s=this._observeElement(i).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new W,o=this._mutationObserverFactory.create(r=>i.next(r));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(T(jD))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Eg=(()=>{class t{constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new Q,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=ge(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Nn(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(bu(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(BV),_(Z),_(ne))},t.\u0275dir=R({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Cu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[jD]}),t})();const{isArray:VV}=Array,{getPrototypeOf:HV,prototype:jV,keys:$V}=Object;function $D(t){if(1===t.length){const n=t[0];if(VV(n))return{args:n,keys:null};if(function UV(t){return t&&"object"==typeof t&&HV(t)===jV}(n)){const e=$V(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function UD(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function _a(...t){const n=Va(t),e=zv(t),{args:i,keys:o}=$D(t);if(0===i.length)return xt([],n);const r=new Ge(function zV(t,n,e=$o){return i=>{zD(n,()=>{const{length:o}=t,r=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)zD(n,()=>{const c=xt(t[l],n);let h=!1;c.subscribe(ht(i,g=>{r[l]=g,h||(h=!0,a--),a||i.next(e(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,o?s=>UD(o,s):$o));return e?r.pipe(cg(e)):r}function zD(t,n,e){t?no(e,t,n):n()}function wu(...t){return function GV(){return ys(1)}()(xt(t,Va(t)))}function on(...t){const n=Va(t);return vt((e,i)=>{(n?wu(t,e,n):wu(t,e)).subscribe(i)})}let WV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();const GD=new Set;let va,qV=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):KV}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function YV(t){if(!GD.has(t))try{va||(va=document.createElement("style"),va.setAttribute("type","text/css"),document.head.appendChild(va)),va.sheet&&(va.sheet.insertRule(`@media ${t} {body{ }}`,0),GD.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(T(St))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function KV(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Ag=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new W}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return WD(ou(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let r=_a(WD(ou(e)).map(s=>this._registerQuery(s).observable));return r=wu(r.pipe(pt(1)),r.pipe(xg(1),bu(0))),r.pipe(oe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),r={observable:new Ge(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(on(i),oe(({matches:s})=>({query:e,matches:s})),ve(this._destroySubject)),mql:i};return this._queries.set(e,r),r}}return t.\u0275fac=function(e){return new(e||t)(T(qV),T(ne))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function WD(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const qD_Handset="(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)";function Du(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const KD="cdk-describedby-message",Su="cdk-describedby-host";let Ig=0,QD=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Ig++,this._document=e,this._id=rt(sa)+"-"+Ig++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const r=kg(i,o);"string"!=typeof i?(ZD(i,this._id),this._messageRegistry.set(r,{messageElement:i,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,i,o){var r;if(!i||!this._isElementNode(e))return;const s=kg(i,o);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof i){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===(null===(r=this._messagesContainer)||void 0===r?void 0:r.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${Su}="${this._id}"]`);for(let o=0;o<i.length;o++)this._removeCdkDescribedByReferenceIds(i[o]),i[o].removeAttribute(Su);null===(e=this._messagesContainer)||void 0===e||e.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){const o=this._document.createElement("div");ZD(o,this._id),o.textContent=e,i&&o.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(kg(e,i),{messageElement:o,referenceCount:0})}_deleteMessageElement(e){var i,o;null===(i=this._messageRegistry.get(e))||void 0===i||null===(o=i.messageElement)||void 0===o||o.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let r=0;r<i.length;r++)i[r].remove();const o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(e),o.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(e){const i=Du(e,"aria-describedby").filter(o=>0!=o.indexOf(KD));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);(function QV(t,n,e){const i=Du(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(Su,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,function ZV(t,n,e){const o=Du(t,n).filter(r=>r!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Su)}_isElementDescribedByMessage(e,i){const o=Du(e,"aria-describedby"),r=this._messageRegistry.get(i),s=r&&r.messageElement.id;return!!s&&-1!=o.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),r=e.getAttribute("aria-label");return!(!o||r&&r.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(T(pe),T(St))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function kg(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function ZD(t,n){t.id||(t.id=`${KD}-${n}-${Ig++}`)}class XD{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new W,this._typeaheadSubscription=ye.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new W,this.change=new W,n instanceof Br&&n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Nt(e=>this._pressedLetters.push(e)),bu(n),Ye(()=>this._pressedLetters.length>0),oe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o<i.length+1;o++){const r=(this._activeItemIndex+o)%i.length,s=i[r];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(r);break}}this._pressedLetters=[]}),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}setActiveItem(n){const e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){const e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(r=>!n[r]||this._allowedModifierKeys.indexOf(r)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;default:return void((o||Yn(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Br?this._items.toArray():this._items}}class XV extends XD{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class JD extends XD{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Ul=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function e4(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function JV(t){try{return t.frameElement}catch{return null}}(function c4(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===tS(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),r=tS(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function a4(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==r:"video"===o?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function l4(t){return!function n4(t){return function r4(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function t4(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function o4(t){return function s4(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||eS(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(T(St))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function eS(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function tS(t){if(!eS(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class d4{constructor(n,e,i,o,r=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i<e.length;i++){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=e.length-1;i>=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(pt(1)).subscribe(n)}}let Mu=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new d4(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(T(Ul),T(ne),T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function nS(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function iS(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const u4=new O("cdk-input-modality-detector-options"),h4={ignoreKeys:[18,17,224,91,16]},ya=ua({passive:!0,capture:!0});let f4=(()=>{class t{constructor(e,i,o,r){this._platform=e,this._mostRecentTarget=null,this._modality=new hn(null),this._lastTouchMs=0,this._onKeydown=s=>{var a,l;null!==(a=this._options)&&void 0!==a&&null!==(l=a.ignoreKeys)&&void 0!==l&&l.some(c=>c===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=$r(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(nS(s)?"keyboard":"mouse"),this._mostRecentTarget=$r(s))},this._onTouchstart=s=>{iS(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=$r(s))},this._options={...h4,...r},this.modalityDetected=this._modality.pipe(xg(1)),this.modalityChanged=this.modalityDetected.pipe(ga()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ya),o.addEventListener("mousedown",this._onMousedown,ya),o.addEventListener("touchstart",this._onTouchstart,ya)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ya),document.removeEventListener("mousedown",this._onMousedown,ya),document.removeEventListener("touchstart",this._onTouchstart,ya))}}return t.\u0275fac=function(e){return new(e||t)(T(St),T(ne),T(pe),T(u4,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const p4=new O("liveAnnouncerElement",{providedIn:"root",factory:function m4(){return null}}),g4=new O("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let _4=(()=>{class t{constructor(e,i,o,r){this._ngZone=i,this._defaultOptions=r,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let r,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[r,s]=i,this.clear(),clearTimeout(this._previousTimeout),r||(r=o&&o.politeness?o.politeness:"polite"),null==s&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",r),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let r=0;r<i.length;r++)i[r].remove();return o.classList.add(e),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),this._document.body.appendChild(o),o}}return t.\u0275fac=function(e){return new(e||t)(T(p4,8),T(ne),T(pe),T(g4,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const v4=new O("cdk-focus-monitor-default-options"),Tu=ua({passive:!0,capture:!0});let Ii=(()=>{class t{constructor(e,i,o,r,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new W,this._rootNodeFocusAndBlurListener=a=>{for(let c=$r(a);c;c=c.parentElement)"focus"===a.type?this._onFocus(a,c):this._onBlur(a,c)},this._document=r,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const o=Co(e);if(!this._platform.isBrowser||1!==o.nodeType)return $(null);const r=function HB(t){if(function VB(){if(null==sg){const t=typeof document<"u"?document.head:null;sg=!(!t||!t.createShadowRoot&&!t.attachShadow)}return sg}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new W,rootNode:r};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Co(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const r=Co(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof r.focus&&r.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!(null==e||!e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),r=$r(e);!o||!o.checkChildren&&i!==r||this._originChanged(i,this._getFocusOrigin(r),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Tu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Tu)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ve(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Tu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Tu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,r)=>{(r===e||o.checkChildren&&r.contains(e))&&i.push([r,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let s=0;s<r.length;s++)if(r[s].contains(i))return!0;return!1}}return t.\u0275fac=function(e){return new(e||t)(T(ne),T(St),T(f4),T(pe,8),T(v4,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),y4=(()=>{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Q}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Ii))},t.\u0275dir=R({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const rS="cdk-high-contrast-black-on-white",sS="cdk-high-contrast-white-on-black",Rg="cdk-high-contrast-active";let aS=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=rt(Ag).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,r=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(Rg,rS,sS),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(Rg,rS):2===i&&e.add(Rg,sS)}}}return t.\u0275fac=function(e){return new(e||t)(T(St),T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Og=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(T(aS))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Cu]}),t})();function b4(t,n){if(1&t&&A(0,"mat-pseudo-checkbox",4),2&t){const e=I();y("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function C4(t,n){if(1&t&&(u(0,"span",5),m(1),d()),2&t){const e=I();p(1),te("(",e.group.label,")")}}const w4=["*"];let D4=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),S4=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const T4=new O("mat-sanity-checks",{providedIn:"root",factory:function M4(){return!0}});let Ae=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!lg()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(T(aS),T(T4,8),T(pe))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Rl,Rl]}),t})();function Mo(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=ge(n)}}}function ba(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function ir(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=ge(n)}}}function Pg(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Nn(e):this.defaultTabIndex}}}function dS(t){return class extends t{constructor(...n){super(...n),this.errorState=!1}updateErrorState(){const n=this.errorState,r=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);r!==n&&(this.errorState=r,this.stateChanges.next())}}}function uS(t){return class extends t{constructor(...n){super(...n),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Ge(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(n){n.next(),n.complete()}}}let Fg=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),hS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function zl(t,n,e){t.nativeElement.classList.toggle(n,e)}let pS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae,Ae]}),t})();class E4{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const mS={enterDuration:225,exitDuration:150},Ng=ua({passive:!0}),gS=["mousedown","touchstart"],_S=["mouseup","mouseleave","touchend","touchcancel"];class I4{constructor(n,e,i,o){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=Co(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r={...mS,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const s=i.radius||function k4(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),a=n-o.left,l=e-o.top,c=r.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=a-s+"px",h.style.top=l-s+"px",h.style.height=2*s+"px",h.style.width=2*s+"px",null!=i.color&&(h.style.backgroundColor=i.color),h.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(h);const g=window.getComputedStyle(h),b=g.transitionDuration,C="none"===g.transitionProperty||"0s"===b||"0s, 0s"===b,w=new E4(this,h,i,C);h.style.transform="scale3d(1, 1, 1)",w.state=0,i.persistent||(this._mostRecentTransientRipple=w);let x=null;return!C&&(c||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const E=()=>this._finishRippleTransition(w),B=()=>this._destroyRipple(w);h.addEventListener("transitionend",E),h.addEventListener("transitioncancel",B),x={onTransitionEnd:E,onTransitionCancel:B}}),this._activeRipples.set(w,x),(C||!c)&&this._finishRippleTransition(w),w}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...mS,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Co(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(gS))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(_S),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){var e;const i=null!==(e=this._activeRipples.get(n))&&void 0!==e?e:null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==i&&(n.element.removeEventListener("transitionend",i.onTransitionEnd),n.element.removeEventListener("transitioncancel",i.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=nS(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!iS(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=n.changedTouches;for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,Ng)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(gS.forEach(n=>{this._triggerElement.removeEventListener(n,this,Ng)}),this._pointerUpEventsRegistered&&_S.forEach(n=>{this._triggerElement.removeEventListener(n,this,Ng)}))}}const R4=new O("mat-ripple-global-options");let or=(()=>{class t{constructor(e,i,o,r,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new I4(this,i,e,o)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(ne),_(St),_(R4,8),_(Et,8))},t.\u0275dir=R({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&ee("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Gl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae,Ae]}),t})(),vS=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&ee("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),t})(),Lg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae]}),t})();const yS=new O("MAT_OPTION_PARENT_COMPONENT"),bS=new O("MatOptgroup");let O4=0;class P4{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let F4=(()=>{class t{constructor(e,i,o,r){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+O4++,this.onSelectionChange=new Q,this._stateChanges=new W}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=ge(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Yn(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new P4(this,e))}}return t.\u0275fac=function(e){Qo()},t.\u0275dir=R({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),CS=(()=>{class t extends F4{constructor(e,i,o,r){super(e,i,o,r)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(yS,8),_(bS,8))},t.\u0275cmp=U({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&J("click",function(){return i._selectViaInteraction()})("keydown",function(r){return i._handleKeydown(r)}),2&e&&(Or("id",i.id),Me("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),ee("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[j],ngContentSelectors:w4,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(tt(),f(0,b4,1,2,"mat-pseudo-checkbox",0),u(1,"span",1),he(2),d(),f(3,C4,2,1,"span",2),A(4,"div",3)),2&e&&(y("ngIf",i.multiple),p(3),y("ngIf",i.group&&i.group._inert),p(1),y("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[or,at,vS],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),t})();function wS(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),r=0;for(let s=0;s<t+1;s++)i[s].group&&i[s].group===o[r]&&r++;return r}return 0}let DS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Gl,qn,Ae,Lg]}),t})();const L4=[[["caption"]],[["colgroup"],["col"]]],B4=["caption","colgroup, col"];function V4(t,n){if(1&t&&(u(0,"th",3),m(1),d()),2&t){const e=I();si("text-align",e.justify),p(1),te(" ",e.headerText," ")}}function H4(t,n){if(1&t&&(u(0,"td",4),m(1),d()),2&t){const e=n.$implicit,i=I();si("text-align",i.justify),p(1),te(" ",i.dataAccessor(e,i.name)," ")}}let Xe=(()=>{class t extends gu{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&ee("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[q([{provide:Ol,useClass:SD},{provide:gu,useExisting:t},{provide:fa,useExisting:t},{provide:bg,useClass:ND},{provide:Mg,useValue:null}]),j],ngContentSelectors:B4,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(tt(L4),he(0),he(1,1),Hi(2,0)(3,1)(4,2)(5,3))},dependencies:[hu,fu,pu,mu],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})(),zt=(()=>{class t extends pa{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["","matCellDef",""]],features:[q([{provide:pa,useExisting:t}]),j]}),t})(),Gt=(()=>{class t extends ma{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["","matHeaderCellDef",""]],features:[q([{provide:ma,useExisting:t}]),j]}),t})(),Wt=(()=>{class t extends Do{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[q([{provide:Do,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),j]}),t})(),qt=(()=>{class t extends vg{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[j]}),t})(),Yt=(()=>{class t extends yg{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[j]}),t})(),Jt=(()=>{class t extends Hl{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[q([{provide:Hl,useExisting:t}]),j]}),t})(),en=(()=>{class t extends du{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[q([{provide:du,useExisting:t}]),j]}),t})(),tn=(()=>{class t extends wg{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[q([{provide:wg,useExisting:t}]),j],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[So],encapsulation:2}),t})(),nn=(()=>{class t extends Sg{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[q([{provide:Sg,useExisting:t}]),j],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Hi(0,0)},dependencies:[So],encapsulation:2}),t})(),SS=(()=>{class t extends BD{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-text-column"]],features:[j],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(e,i){1&e&&(S(0,0),f(1,V4,2,3,"th",1),f(2,H4,2,3,"td",2),M())},dependencies:[Gt,Wt,zt,qt,Yt],encapsulation:2}),t})(),q4=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[MV,Ae,Ae]}),t})();class qi extends class K4 extends class LB{}{constructor(n=[]){super(),this._renderData=new hn([]),this._filter=new hn(""),this._internalPageChanges=new W,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const o=e[i];if(DD(o)){const r=Number(o);return r<9007199254740991?r:o}return o},this.sortData=(e,i)=>{const o=i.active,r=i.direction;return o&&""!=r?e.sort((s,a)=>{let l=this.sortingDataAccessor(s,o),c=this.sortingDataAccessor(a,o);const h=typeof l,g=typeof c;h!==g&&("number"===h&&(l+=""),"number"===g&&(c+=""));let v=0;return null!=l&&null!=c?l>c?v=1:l<c&&(v=-1):null!=l?v=1:null!=c&&(v=-1),v*("asc"==r?1:-1)}):e},this.filterPredicate=(e,i)=>{const o=Object.keys(e).reduce((s,a)=>s+e[a]+"\u25ec","").toLowerCase(),r=i.trim().toLowerCase();return-1!=o.indexOf(r)},this._data=new hn(n),this._updateChangeSubscription()}get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}_updateChangeSubscription(){var n;const e=this._sort?yn(this._sort.sortChange,this._sort.initialized):$(null),i=this._paginator?yn(this._paginator.page,this._internalPageChanges,this._paginator.initialized):$(null),r=_a([this._data,this._filter]).pipe(oe(([l])=>this._filterData(l))),s=_a([r,e]).pipe(oe(([l])=>this._orderData(l))),a=_a([s,i]).pipe(oe(([l])=>this._pageData(l)));null===(n=this._renderChangesSubscription)||void 0===n||n.unsubscribe(),this._renderChangesSubscription=a.subscribe(l=>this._renderData.next(l))}_filterData(n){return this.filteredData=null==this.filter||""===this.filter?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;const e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,i);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var n;null===(n=this._renderChangesSubscription)||void 0===n||n.unsubscribe(),this._renderChangesSubscription=null}}{}const Q4=["mat-button",""],Z4=["*"],J4=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],eH=ba(Mo(ir(class{constructor(t){this._elementRef=t}})));let Bg=(()=>{class t extends eH{constructor(e,i,o){super(e),this._focusMonitor=i,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const r of J4)this._hasHostAttributes(r)&&this._getHostElement().classList.add(r);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Ii),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&Y(or,5),2&e){let o;F(o=N())&&(i.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Me("disabled",i.disabled||null),ee("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[j],attrs:Q4,ngContentSelectors:Z4,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(tt(),u(0,"span",0),he(1),d(),A(2,"span",1)(3,"span",2)),2&e&&(p(2),ee("mat-button-ripple-round",i.isRoundButton||i.isIconButton),y("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[or],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),t})(),xu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Gl,Ae,Ae]}),t})();class Vg{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Eu extends Vg{constructor(n,e,i,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o}}class Wl extends Vg{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class tH extends Vg{constructor(n){super(),this.element=n instanceof Z?n.nativeElement:n}}class Hg{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Eu?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Wl?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof tH?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class nH extends Hg{constructor(n,e,i,o,r){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=r}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||Rt.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Gr=(()=>{class t extends Hg{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Q,this.attachDomPortal=r=>{const s=r.element,a=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(r,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(_(Ko),_(Dt),_(pe))},t.\u0275dir=R({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[j]}),t})(),Wr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();function MS(t,n=!1){return vt((e,i)=>{let o=0;e.subscribe(ht(i,r=>{const s=t(r,o++);(s||n)&&i.next(r),!s&&i.complete()}))})}const TS=AD();class iH{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ft(-this._previousScrollPosition.left),n.style.top=Ft(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),TS&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),TS&&(i.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class oH{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class xS{enable(){}disable(){}attach(){}}function jg(t,n){return n.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function ES(t,n){return n.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class rH{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();jg(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let sH=(()=>{class t{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new xS,this.close=s=>new oH(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new iH(this._viewportRuler,this._document),this.reposition=s=>new rH(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return t.\u0275fac=function(e){return new(e||t)(T(Bl),T(nr),T(ne),T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class $g{constructor(n){if(this.scrollStrategy=new xS,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class aH{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let AS=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lH=(()=>{class t extends AS{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(T(pe),T(ne,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cH=(()=>{class t extends AS{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=$r(r)},this._clickListener=r=>{const s=$r(r),a="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const h=l[c];if(h._outsidePointerEvents.observers.length<1||!h.hasAttached())continue;if(h.overlayElement.contains(s)||h.overlayElement.contains(a))break;const g=h._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(T(pe),T(St),T(ne,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Au=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||lg()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(e),lg()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return t.\u0275fac=function(e){return new(e||t)(T(pe),T(St))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class ql{constructor(n,e,i,o,r,s,a,l,c,h=!1){this._portalOutlet=n,this._host=e,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=h,this._backdropElement=null,this._backdropClick=new W,this._attachments=new W,this._detachments=new W,this._locationChanges=ye.EMPTY,this._backdropClickHandler=g=>this._backdropClick.next(g),this._backdropTransitionendHandler=g=>{this._disposeBackdrop(g.target)},this._keydownEvents=new W,this._outsidePointerEvents=new W,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(pt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ft(this._config.width),n.height=Ft(this._config.height),n.minWidth=Ft(this._config.minWidth),n.minHeight=Ft(this._config.minHeight),n.maxWidth=Ft(this._config.maxWidth),n.maxHeight=Ft(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=ou(e||[]).filter(r=>!!r);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(ve(yn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const IS="cdk-overlay-connected-position-bounding-box",dH=/([A-Za-z%]+)$/;class uH{constructor(n,e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new W,this._resizeSubscription=ye.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}attach(n){this._validatePositions(),n.hostElement.classList.add(IS),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,o,a),c=this._getOverlayPoint(l,e,a),h=this._getOverlayFit(c,e,i,a);if(h.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(h,c,i)?r.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<h.visibleArea)&&(s={overlayFit:h,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(r.length){let a=null,l=-1;for(const c of r){const h=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);h>l&&(l=h,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&qr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(IS),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,r;if("center"==i.originX)o=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?s:a}return e.left<0&&(o-=e.left),r="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(r-=e.top),{x:o,y:r}}_getOverlayPoint(n,e,i){let o,r;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+r}}_getOverlayFit(n,e,i,o){const r=RS(e);let{x:s,y:a}=n,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let v=0-a,b=a+r.height-i.height,C=this._subtractOverflows(r.width,0-s,s+r.width-i.width),w=this._subtractOverflows(r.height,v,b),x=C*w;return{visibleArea:x,isCompletelyWithinViewport:r.width*r.height===x,fitsInViewportVertically:w===r.height,fitsInViewportHorizontally:C==r.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,r=i.right-e.x,s=kS(this._overlayRef.getConfig().minHeight),a=kS(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportHorizontally||null!=a&&a<=r;return(n.fitsInViewportVertically||null!=s&&s<=o)&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=RS(e),r=this._viewportRect,s=Math.max(n.x+o.width-r.width,0),a=Math.max(n.y+o.height-r.height,0),l=Math.max(r.top-i.top-n.y,0),c=Math.max(r.left-i.left-n.x,0);let h=0,g=0;return h=o.width<=r.width?c||-s:n.x<this._viewportMargin?r.left-i.left-n.x:0,g=o.height<=r.height?l||-a:n.y<this._viewportMargin?r.top-i.top-n.y:0,this._previousPushAmount={x:h,y:g},{x:n.x+h,y:n.y+g}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new aH(n,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let r=0;r<e.length;r++)e[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(n,e){const i=this._viewportRect,o=this._isRtl();let r,s,a,h,g,v;if("top"===e.overlayY)s=n.y,r=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-n.y+2*this._viewportMargin,r=i.height-a+this._viewportMargin;else{const b=Math.min(i.bottom-n.y+i.top,n.y),C=this._lastBoundingBoxSize.height;r=2*b,s=n.y-b,r>C&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-C/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)v=i.width-n.x+this._viewportMargin,h=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)g=n.x,h=i.right-n.x;else{const b=Math.min(i.right-n.x+i.left,n.x),C=this._lastBoundingBoxSize.width;h=2*b,g=n.x-b,h>C&&!this._isInitialRender&&!this._growAfterOpen&&(g=n.x-C/2)}return{top:s,left:g,bottom:a,right:v,width:h,height:r}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Ft(i.height),o.top=Ft(i.top),o.bottom=Ft(i.bottom),o.width=Ft(i.width),o.left=Ft(i.left),o.right=Ft(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Ft(r)),s&&(o.maxWidth=Ft(s))}this._lastBoundingBoxSize=i,qr(this._boundingBox.style,o)}_resetBoundingBoxStyles(){qr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){qr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const h=this._viewportRuler.getViewportScrollPosition();qr(i,this._getExactOverlayY(e,n,h)),qr(i,this._getExactOverlayX(e,n,h))}else i.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=Ft(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Ft(s.maxWidth):r&&(i.maxWidth="")),qr(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Ft(r.y),o}_getExactOverlayX(n,e,i){let s,o={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Ft(r.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ES(n,i),isOriginOutsideView:jg(n,i),isOverlayClipped:ES(e,i),isOverlayOutsideView:jg(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&ou(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Z)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function qr(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function kS(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(dH);return e&&"px"!==e?null:parseFloat(n)}return t||null}function RS(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const OS="cdk-global-overlay-wrapper";class hH{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(OS),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a),h=this._xPosition,g=this._xOffset,v="rtl"===this._overlayRef.getConfig().direction;let b="",C="",w="";l?w="flex-start":"center"===h?(w="center",v?C=g:b=g):v?"left"===h||"end"===h?(w="flex-end",b=g):("right"===h||"start"===h)&&(w="flex-start",C=g):"left"===h||"start"===h?(w="flex-start",b=g):("right"===h||"end"===h)&&(w="flex-end",C=g),n.position=this._cssPosition,n.marginLeft=l?"0":b,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":C,e.justifyContent=w,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(OS),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let fH=(()=>{class t{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new hH}flexibleConnectedTo(e){return new uH(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(T(nr),T(pe),T(St),T(Au))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),pH=0,Yi=(()=>{class t{constructor(e,i,o,r,s,a,l,c,h,g,v,b){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=h,this._location=g,this._outsideClickDispatcher=v,this._animationsModuleType=b}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new $g(e);return s.direction=s.direction||this._directionality.value,new ql(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+pH++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(la)),new nH(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(T(sH),T(Au),T(Ko),T(fH),T(lH),T(Rt),T(ne),T(pe),T(xn),T(xi),T(cH),T(Et,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();const mH=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],PS=new O("cdk-connected-overlay-scroll-strategy");let FS=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(_(Z))},t.\u0275dir=R({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),NS=(()=>{class t{constructor(e,i,o,r,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=ye.EMPTY,this._attachSubscription=ye.EMPTY,this._detachSubscription=ye.EMPTY,this._positionSubscription=ye.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Q,this.positionChange=new Q,this.attach=new Q,this.detach=new Q,this.overlayKeydown=new Q,this.overlayOutsideClick=new Q,this._templatePortal=new Wl(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=ge(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=ge(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=ge(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=ge(e)}get push(){return this._push}set push(e){this._push=ge(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=mH);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Yn(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new $g({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof FS?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(MS(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(Yi),_(wt),_(Dt),_(PS),_(xn,8))},t.\u0275dir=R({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ct]}),t})();const _H={provide:PS,deps:[Yi],useFactory:function gH(t){return()=>t.scrollStrategies.reposition()}};let Yl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[Yi,_H],imports:[Rl,Wr,mg,mg]}),t})();class LS{}const To="*";function fn(t,n){return{type:7,name:t,definitions:n,options:{}}}function dt(t,n=null){return{type:4,styles:n,timings:t}}function BS(t,n=null){return{type:3,steps:t,options:n}}function VS(t,n=null){return{type:2,steps:t,options:n}}function le(t){return{type:6,styles:t,offset:null}}function ze(t,n,e){return{type:0,name:t,styles:n,options:e}}function Kl(t){return{type:5,steps:t}}function nt(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Iu(t=null){return{type:9,options:t}}function ku(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function HS(t){Promise.resolve().then(t)}class Ql{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){HS(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class jS{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const r=this.players.length;0==r?HS(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++i==r&&this._onDestroy()}),s.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const yH=["connectionContainer"],bH=["inputContainer"],CH=["label"];function wH(t,n){1&t&&(S(0),u(1,"div",14),A(2,"div",15)(3,"div",16)(4,"div",17),d(),u(5,"div",18),A(6,"div",15)(7,"div",16)(8,"div",17),d(),M())}function DH(t,n){if(1&t){const e=Pn();u(0,"div",19),J("cdkObserveContent",function(){return Zt(e),Xt(I().updateOutlineGap())}),he(1,1),d()}2&t&&y("cdkObserveContentDisabled","outline"!=I().appearance)}function SH(t,n){if(1&t&&(S(0),he(1,2),u(2,"span"),m(3),d(),M()),2&t){const e=I(2);p(3),D(e._control.placeholder)}}function MH(t,n){1&t&&he(0,3,["*ngSwitchCase","true"])}function TH(t,n){1&t&&(u(0,"span",23),m(1," *"),d())}function xH(t,n){if(1&t){const e=Pn();u(0,"label",20,21),J("cdkObserveContent",function(){return Zt(e),Xt(I().updateOutlineGap())}),f(2,SH,4,1,"ng-container",12),f(3,MH,1,0,"ng-content",12),f(4,TH,2,0,"span",22),d()}if(2&t){const e=I();ee("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),y("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Me("for",e._control.id)("aria-owns",e._control.id),p(2),y("ngSwitchCase",!1),p(1),y("ngSwitchCase",!0),p(1),y("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function EH(t,n){1&t&&(u(0,"div",24),he(1,4),d())}function AH(t,n){if(1&t&&(u(0,"div",25),A(1,"span",26),d()),2&t){const e=I();p(1),ee("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function IH(t,n){1&t&&(u(0,"div"),he(1,5),d()),2&t&&y("@transitionMessages",I()._subscriptAnimationState)}function kH(t,n){if(1&t&&(u(0,"div",30),m(1),d()),2&t){const e=I(2);y("id",e._hintLabelId),p(1),D(e.hintLabel)}}function RH(t,n){if(1&t&&(u(0,"div",27),f(1,kH,2,2,"div",28),he(2,6),A(3,"div",29),he(4,7),d()),2&t){const e=I();y("@transitionMessages",e._subscriptAnimationState),p(1),y("ngIf",e.hintLabel)}}const OH=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],PH=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],FH=new O("MatError"),NH={transitionMessages:fn("transitionMessages",[ze("enter",le({opacity:1,transform:"translateY(0%)"})),nt("void => enter",[le({opacity:0,transform:"translateY(-5px)"}),dt("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ru=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t}),t})();const LH=new O("MatHint");let $S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-label"]]}),t})(),BH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-placeholder"]]}),t})();const VH=new O("MatPrefix"),HH=new O("MatSuffix");let US=0;const $H=ba(class{constructor(t){this._elementRef=t}},"primary"),UH=new O("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zg=new O("MatFormField");let Ki=(()=>{class t extends $H{constructor(e,i,o,r,s,a,l){super(e),this._changeDetectorRef=i,this._dir=o,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new W,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+US++,this._labelId="mat-form-field-label-"+US++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=r?.appearance||"legacy",r&&(this._hideRequiredMarker=Boolean(r.hideRequiredMarker),r.color&&(this.color=this.defaultColor=r.color))}get appearance(){return this._appearance}set appearance(e){var i;const o=this._appearance;this._appearance=e||(null===(i=this._defaults)||void 0===i?void 0:i.appearance)||"legacy","outline"===this._appearance&&o!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ge(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(on(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ve(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ve(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),yn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(on(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(on(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ve(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,wo(this._label.nativeElement,"transitionend").pipe(pt(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,o=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,o=".mat-form-field-outline-start",r=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const h=i.querySelectorAll(`${o}, ${r}`);for(let g=0;g<h.length;g++)h[g].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let s=0,a=0;const l=i.querySelectorAll(o),c=i.querySelectorAll(r);if(this._label&&this._label.nativeElement.children.length){const h=i.getBoundingClientRect();if(0===h.width&&0===h.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const g=this._getStartEnd(h),v=e.children,b=this._getStartEnd(v[0].getBoundingClientRect());let C=0;for(let w=0;w<v.length;w++)C+=v[w].offsetWidth;s=Math.abs(b-g)-5,a=C>0?.75*C+10:0}for(let h=0;h<l.length;h++)l[h].style.width=`${s}px`;for(let h=0;h<c.length;h++)c[h].style.width=`${a}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(xn,8),_(UH,8),_(St),_(ne),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-form-field"]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,Ru,5),Ee(o,Ru,7),Ee(o,$S,5),Ee(o,$S,7),Ee(o,BH,5),Ee(o,FH,5),Ee(o,LH,5),Ee(o,VH,5),Ee(o,HH,5)),2&e){let r;F(r=N())&&(i._controlNonStatic=r.first),F(r=N())&&(i._controlStatic=r.first),F(r=N())&&(i._labelChildNonStatic=r.first),F(r=N())&&(i._labelChildStatic=r.first),F(r=N())&&(i._placeholderChild=r.first),F(r=N())&&(i._errorChildren=r),F(r=N())&&(i._hintChildren=r),F(r=N())&&(i._prefixChildren=r),F(r=N())&&(i._suffixChildren=r)}},viewQuery:function(e,i){if(1&e&&(Y(yH,7),Y(bH,5),Y(CH,5)),2&e){let o;F(o=N())&&(i._connectionContainerRef=o.first),F(o=N())&&(i._inputContainerRef=o.first),F(o=N())&&(i._label=o.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,i){2&e&&ee("mat-form-field-appearance-standard","standard"==i.appearance)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-appearance-legacy","legacy"==i.appearance)("mat-form-field-invalid",i._control.errorState)("mat-form-field-can-float",i._canLabelFloat())("mat-form-field-should-float",i._shouldLabelFloat())("mat-form-field-has-label",i._hasFloatingLabel())("mat-form-field-hide-placeholder",i._hideControlPlaceholder())("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-focused",i._control.focused)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))("_mat-animation-noopable",!i._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[q([{provide:zg,useExisting:t}]),j],ngContentSelectors:PH,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,i){1&e&&(tt(OH),u(0,"div",0)(1,"div",1,2),J("click",function(r){return i._control.onContainerClick&&i._control.onContainerClick(r)}),f(3,wH,9,0,"ng-container",3),f(4,DH,2,1,"div",4),u(5,"div",5,6),he(7),u(8,"span",7),f(9,xH,5,16,"label",8),d()(),f(10,EH,2,0,"div",9),d(),f(11,AH,2,4,"div",10),u(12,"div",11),f(13,IH,2,1,"div",12),f(14,RH,5,2,"div",13),d()()),2&e&&(p(3),y("ngIf","outline"==i.appearance),p(1),y("ngIf",i._prefixChildren.length),p(5),y("ngIf",i._hasFloatingLabel()),p(1),y("ngIf",i._suffixChildren.length),p(1),y("ngIf","outline"!=i.appearance),p(1),y("ngSwitch",i._getDisplayedMessages()),p(1),y("ngSwitchCase","error"),p(1),y("ngSwitchCase","hint"))},dependencies:[at,ca,Zd,Eg],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[NH.transitionMessages]},changeDetection:0}),t})(),Gg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[qn,Ae,Cu,Ae]}),t})();function GS(...t){const n=zv(t),{args:e,keys:i}=$D(t),o=new Ge(r=>{const{length:s}=e;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let h=0;h<s;h++){let g=!1;In(e[h]).subscribe(ht(r,v=>{g||(g=!0,c--),a[h]=v},()=>l--,void 0,()=>{(!l||!g)&&(c||r.next(i?UD(i,a):a),r.complete())}))}});return n?o.pipe(cg(n)):o}let WS=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(_(co),_(Z))},t.\u0275dir=R({type:t}),t})(),Yr=(()=>{class t extends WS{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275dir=R({type:t,features:[j]}),t})();const ci=new O("NgValueAccessor"),GH={provide:ci,useExisting:Be(()=>Wg),multi:!0},qH=new O("CompositionEventMode");let Wg=(()=>{class t extends WS{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function WH(){const t=Gi()?Gi().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(_(co),_(Z),_(qH,8))},t.\u0275dir=R({type:t,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(e,i){1&e&&J("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},features:[q([GH]),j]}),t})();function rr(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function YS(t){return null!=t&&"number"==typeof t.length}const rn=new O("NgValidators"),sr=new O("NgAsyncValidators"),KH=/^(?=.{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])?)*$/;class KS{static min(n){return function QS(t){return n=>{if(rr(n.value)||rr(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}(n)}static max(n){return function ZS(t){return n=>{if(rr(n.value)||rr(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function XS(t){return rr(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function JS(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function eM(t){return rr(t.value)||KH.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function tM(t){return n=>rr(n.value)||!YS(n.value)?null:n.value.length<t?{minlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static maxLength(n){return function nM(t){return n=>YS(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return function iM(t){if(!t)return Ou;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(rr(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return cM(n)}static composeAsync(n){return dM(n)}}function Ou(t){return null}function oM(t){return null!=t}function rM(t){return pl(t)?xt(t):t}function sM(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function aM(t,n){return n.map(e=>e(t))}function lM(t){return t.map(n=>function QH(t){return!t.validate}(n)?n:e=>n.validate(e))}function cM(t){if(!t)return null;const n=t.filter(oM);return 0==n.length?null:function(e){return sM(aM(e,n))}}function qg(t){return null!=t?cM(lM(t)):null}function dM(t){if(!t)return null;const n=t.filter(oM);return 0==n.length?null:function(e){return GS(aM(e,n).map(rM)).pipe(oe(sM))}}function Yg(t){return null!=t?dM(lM(t)):null}function uM(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function hM(t){return t._rawValidators}function fM(t){return t._rawAsyncValidators}function Kg(t){return t?Array.isArray(t)?t:[t]:[]}function Pu(t,n){return Array.isArray(t)?t.includes(n):t===n}function pM(t,n){const e=Kg(n);return Kg(t).forEach(o=>{Pu(e,o)||e.push(o)}),e}function mM(t,n){return Kg(n).filter(e=>!Pu(t,e))}class gM{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=qg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Yg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class En extends gM{get formDirective(){return null}get path(){return null}}class Qi extends gM{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let vM=(()=>{class t extends class _M{constructor(n){this._cd=n}get isTouched(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.touched)}get isUntouched(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.untouched)}get isPristine(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.pristine)}get isDirty(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.dirty)}get isValid(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.valid)}get isInvalid(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.invalid)}get isPending(){var n,e;return!(null===(n=this._cd)||void 0===n||null===(e=n.control)||void 0===e||!e.pending)}get isSubmitted(){var n;return!(null===(n=this._cd)||void 0===n||!n.submitted)}}{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(_(Qi,2))},t.\u0275dir=R({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&ee("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[j]}),t})();const Zl="VALID",Nu="INVALID",Ca="PENDING",Xl="DISABLED";function Jg(t){return(Lu(t)?t.validators:t)||null}function bM(t){return Array.isArray(t)?qg(t):t||null}function e_(t,n){return(Lu(n)?n.asyncValidators:t)||null}function CM(t){return Array.isArray(t)?Yg(t):t||null}function Lu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class SM{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=bM(this._rawValidators),this._composedAsyncValidatorFn=CM(this._rawAsyncValidators)}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 valid(){return this.status===Zl}get invalid(){return this.status===Nu}get pending(){return this.status==Ca}get disabled(){return this.status===Xl}get enabled(){return this.status!==Xl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=bM(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=CM(n)}addValidators(n){this.setValidators(pM(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(pM(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(mM(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(mM(n,this._rawAsyncValidators))}hasValidator(n){return Pu(this._rawValidators,n)}hasAsyncValidator(n){return Pu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ca,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Xl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Zl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Zl||this.status===Ca)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xl:Zl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ca,this._hasOwnPendingAsyncValidator=!0;const e=rM(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?Xl:this.errors?Nu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ca)?Ca:this._anyControlsHaveStatus(Nu)?Nu:Zl}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Lu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class t_ extends SM{constructor(n,e,i){super(Jg(e),e_(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){(function DM(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new P(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function wM(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new P(1e3,"");if(!i[e])throw new P(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,r)=>{i=e(i,o,r)}),i}_allControlsDisabled(){for(const 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}}function Jl(t,n){var e,i;n_(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&(null===(e=(i=n.valueAccessor).setDisabledState)||void 0===e||e.call(i,!0)),function sj(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&MM(t,n)})}(t,n),function lj(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function aj(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&MM(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function rj(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Vu(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),ju(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Hu(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function n_(t,n){const e=hM(t);null!==n.validator?t.setValidators(uM(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=fM(t);null!==n.asyncValidator?t.setAsyncValidators(uM(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();Hu(n._rawValidators,o),Hu(n._rawAsyncValidators,o)}function ju(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=hM(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(e=!0,t.setValidators(r))}}if(null!==n.asyncValidator){const o=fM(t);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(e=!0,t.setAsyncValidators(r))}}}const i=()=>{};return Hu(n._rawValidators,i),Hu(n._rawAsyncValidators,i),e}function MM(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function TM(t,n){n_(t,n)}function EM(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const fj={provide:En,useExisting:Be(()=>tc)},ec=(()=>Promise.resolve())();let tc=(()=>{class t extends En{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Q,this.form=new t_({},qg(e),Yg(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ec.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Jl(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ec.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ec.then(()=>{const i=this._findContainer(e.path),o=new t_({});TM(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ec.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){ec.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){var i;return this.submitted=!0,EM(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(i=e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(_(rn,10),_(sr,10))},t.\u0275dir=R({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&J("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[q([fj]),j]}),t})();function AM(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function IM(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const kM=class extends SM{constructor(n=null,e,i){super(Jg(e),e_(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Lu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=IM(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){AM(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){AM(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){IM(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}},gj={provide:Qi,useExisting:Be(()=>r_)},PM=(()=>Promise.resolve())();let r_=(()=>{class t extends Qi{constructor(e,i,o,r,s){super(),this._changeDetectorRef=s,this.control=new kM,this._registered=!1,this.update=new Q,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function o_(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===Wg?e=r:function uj(t){return Object.getPrototypeOf(t.constructor)===Yr}(r)?i=r:o=r}),o||i||e||null}(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function i_(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Jl(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){PM.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=0!==i&&vo(i);PM.then(()=>{var r;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_getPath(e){return this._parent?function Bu(t,n){return[...n.path,t]}(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(_(En,9),_(rn,10),_(sr,10),_(ci,10),_(qe,8))},t.\u0275dir=R({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[q([gj]),j,ct]}),t})(),NM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();const Dj={provide:En,useExisting:Be(()=>nc)};let nc=(()=>{class t extends En{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Q,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ju(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Jl(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Vu(e.control||null,e,!1),function hj(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){var i;return this.submitted=!0,EM(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===(null==e||null===(i=e.target)||void 0===i?void 0:i.method)}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(Vu(i||null,e),(t=>t instanceof kM)(o)&&(Jl(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);TM(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function cj(t,n){return ju(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){n_(this.form,this),this._oldForm&&ju(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(_(rn,10),_(sr,10))},t.\u0275dir=R({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&J("submit",function(r){return i.onSubmit(r)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[q([Dj]),j,ct]}),t})(),jj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[NM]}),t})(),$j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[jj]}),t})();function ic(t){return new Ge(n=>{In(t()).subscribe(n)})}function Ln(t,n){return vt((e,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();e.subscribe(ht(i,l=>{o?.unsubscribe();let c=0;const h=r++;In(t(l,h)).subscribe(o=ht(i,g=>i.next(n?n(l,g,h,c++):g),()=>{o=null,a()}))},()=>{s=!0,a()}))})}const zj=["trigger"],Gj=["panel"];function Wj(t,n){if(1&t&&(u(0,"span",8),m(1),d()),2&t){const e=I();p(1),D(e.placeholder)}}function qj(t,n){if(1&t&&(u(0,"span",12),m(1),d()),2&t){const e=I(2);p(1),D(e.triggerValue)}}function Yj(t,n){1&t&&he(0,0,["*ngSwitchCase","true"])}function Kj(t,n){1&t&&(u(0,"span",9),f(1,qj,2,1,"span",10),f(2,Yj,1,0,"ng-content",11),d()),2&t&&(y("ngSwitch",!!I().customTrigger),p(2),y("ngSwitchCase",!0))}function Qj(t,n){if(1&t){const e=Pn();u(0,"div",13)(1,"div",14,15),J("@transformPanel.done",function(o){return Zt(e),Xt(I()._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){return Zt(e),Xt(I()._handleKeydown(o))}),he(3,1),d()()}if(2&t){const e=I();y("@transformPanelWrap",void 0),p(1),E0("mat-select-panel ",e._getPanelTheme(),""),si("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),y("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Me("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Zj=[[["mat-select-trigger"]],"*"],Xj=["mat-select-trigger","*"],JM={transformPanelWrap:fn("transformPanelWrap",[nt("* => void",ku("@transformPanel",[Iu()],{optional:!0}))]),transformPanel:fn("transformPanel",[ze("void",le({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),ze("showing",le({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),ze("showing-multiple",le({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),nt("void => *",dt("120ms cubic-bezier(0, 0, 0.2, 1)")),nt("* => void",dt("100ms 25ms linear",le({opacity:0})))])};let eT=0;const nT=new O("mat-select-scroll-strategy"),n5=new O("MAT_SELECT_CONFIG"),o5={provide:nT,deps:[Yi],useFactory:function t5(t){return()=>t.scrollStrategies.reposition()}};class r5{constructor(n,e){this.source=n,this.value=e}}const s5=ir(Pg(Mo(dS(class{constructor(t,n,e,i,o){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=o,this.stateChanges=new W}})))),a5=new O("MatSelectTrigger");let l5=(()=>{class t extends s5{constructor(e,i,o,r,s,a,l,c,h,g,v,b,C,w){var x,E,B;super(s,r,l,c,g),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._parentFormField=h,this._liveAnnouncer=C,this._defaultOptions=w,this._panelOpen=!1,this._compareWith=(k,H)=>k===H,this._uid="mat-select-"+eT++,this._triggerAriaLabelledBy=null,this._destroy=new W,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+eT++,this._panelDoneAnimatingStream=new W,this._overlayPanelClass=(null===(x=this._defaultOptions)||void 0===x?void 0:x.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(E=null===(B=this._defaultOptions)||void 0===B?void 0:B.disableOptionCentering)&&void 0!==E&&E,this.ariaLabel="",this.optionSelectionChanges=ic(()=>{const k=this.options;return k?k.changes.pipe(on(k),Ln(()=>yn(...k.map(H=>H.onSelectionChange)))):this._ngZone.onStable.pipe(pt(1),Ln(()=>this.optionSelectionChanges))}),this.openedChange=new Q,this._openedStream=this.openedChange.pipe(Ye(k=>k),oe(()=>{})),this._closedStream=this.openedChange.pipe(Ye(k=>!k),oe(()=>{})),this.selectionChange=new Q,this.valueChange=new Q,this.ngControl&&(this.ngControl.valueAccessor=this),null!=w?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=w.typeaheadDebounceInterval),this._scrollStrategyFactory=b,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(v)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,o,r;return null!==(e=null!==(i=this._required)&&void 0!==i?i:null===(o=this.ngControl)||void 0===o||null===(r=o.control)||void 0===r?void 0:r.hasValidator(KS.required))&&void 0!==e&&e}set required(e){this._required=ge(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=ge(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=ge(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Nn(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new og(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ga(),ve(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ve(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(on(null),ve(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,o=40===i||38===i||37===i||39===i,r=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&r&&!Yn(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,o=e.keyCode,r=40===o||38===o,s=i.isTyping();if(r&&e.altKey)e.preventDefault(),this.close();else if(s||13!==o&&32!==o||!i.activeItem||Yn(e))if(!s&&this._multiple&&65===o&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&r&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(pt(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new XV(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ve(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(ve(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=yn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ve(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),yn(...this.options.map(i=>i._stateChanges)).pipe(ve(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const o=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let o=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(o+=" "+this.ariaLabelledby),o}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(_(nr),_(qe),_(ne),_(Fg),_(Z),_(xn,8),_(tc,8),_(nc,8),_(zg,8),_(Qi,10),Fi("tabindex"),_(nT),_(_4),_(n5,8))},t.\u0275dir=R({type:t,viewQuery:function(e,i){if(1&e&&(Y(zj,5),Y(Gj,5),Y(NS,5)),2&e){let o;F(o=N())&&(i.trigger=o.first),F(o=N())&&(i.panel=o.first),F(o=N())&&(i._overlayDir=o.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[j,ct]}),t})(),c5=(()=>{class t extends l5{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,o){const r=this._getItemHeight();return Math.min(Math.max(0,r*e-i+r/2),o)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ve(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(pt(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=wS(e,this.options,this.optionGroups),o=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function N4(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}((e+i)*o,o,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new r5(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),o=this._isRtl(),r=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}o||(s*=-1);const a=0-(e.left+s-(o?r:0)),l=e.right+s-i.width+(o?0:r);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,o){const r=this._getItemHeight(),s=(r-this._triggerRect.height)/2,a=Math.floor(256/r);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*r:this._scrollTop===o?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):i-r/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),o=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,s=o.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>r?this._adjustPanelDown(a,r,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const o=Math.round(e-i);this._scrollTop-=o,this._offsetY-=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,o){const r=Math.round(e-i);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=o)return this._scrollTop=o,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),o=Math.min(i*e,256),s=i*e-o;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=wS(a,this.options,this.optionGroups);const l=o/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,a5,5),Ee(o,CS,5),Ee(o,bS,5)),2&e){let r;F(r=N())&&(i.customTrigger=r.first),F(r=N())&&(i.options=r),F(r=N())&&(i.optionGroups=r)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&J("keydown",function(r){return i._handleKeydown(r)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Me("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),ee("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[q([{provide:Ru,useExisting:t},{provide:yS,useExisting:t}]),j],ngContentSelectors:Xj,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(tt(Zj),u(0,"div",0,1),J("click",function(){return i.toggle()}),u(3,"div",2),f(4,Wj,2,1,"span",3),f(5,Kj,3,2,"span",4),d(),u(6,"div",5),A(7,"div",6),d()(),f(8,Qj,4,14,"ng-template",7),J("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const o=mo(1);Me("aria-owns",i.panelOpen?i.id+"-panel":null),p(3),y("ngSwitch",i.empty),Me("id",i._valueId),p(1),y("ngSwitchCase",!0),p(1),y("ngSwitchCase",!1),p(3),y("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Qd,ca,Zd,jm,NS,FS],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[JM.transformPanelWrap,JM.transformPanel]},changeDetection:0}),t})(),d5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[o5],imports:[qn,Yl,DS,Ae,ha,Gg,DS,Ae]}),t})();const u5=["tooltip"],iT="tooltip-panel",oT=ua({passive:!0}),rT=new O("mat-tooltip-scroll-strategy"),m5={provide:rT,deps:[Yi],useFactory:function p5(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},g5=new O("mat-tooltip-default-options",{providedIn:"root",factory:function _5(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let v5=(()=>{class t{constructor(e,i,o,r,s,a,l,c,h,g,v,b){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=r,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=g,this._defaultOptions=v,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new W,this._scrollStrategy=h,this._document=b,v&&(v.position&&(this.position=v.position),v.touchGestures&&(this.touchGestures=v.touchGestures)),g.change.pipe(ve(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef)&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition())}get disabled(){return this._disabled}set disabled(e){this._disabled=ge(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Nn(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Nn(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ve(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,oT)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){var i;if(this.disabled||!this.message||this._isTooltipVisible())return void(null===(i=this._tooltipInstance)||void 0===i||i._cancelPendingAnimations());const o=this._createOverlay();this._detach(),this._portal=this._portal||new Eu(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=o.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(ve(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(ve(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${iT}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ve(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ve(this._destroyed)).subscribe(()=>{var r;return null===(r=this._tooltipInstance)||void 0===r?void 0:r._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(ve(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!Yn(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),null!==(e=this._defaultOptions)&&void 0!==e&&e.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),r=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...r.main}),this._addOffset({...o.fallback,...r.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:r,y:s}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:r,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:r,y:s}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:r,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(pt(1),ve(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:r}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===r?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${iT}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var o;const r=i.relatedTarget;(!r||null===(o=this._overlayRef)||void 0===o||!o.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,oT)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){Qo()},t.\u0275dir=R({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),rc=(()=>{class t extends v5{constructor(e,i,o,r,s,a,l,c,h,g,v,b){super(e,i,o,r,s,a,l,c,h,g,v,b),this._tooltipComponent=b5}}return t.\u0275fac=function(e){return new(e||t)(_(Yi),_(Z),_(Bl),_(Dt),_(ne),_(St),_(QD),_(Ii),_(rT),_(xn,8),_(g5,8),_(pe))},t.\u0275dir=R({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[j]}),t})(),y5=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new W,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,r=this._hideAnimation;if(i.classList.remove(e?r:o),i.classList.add(e?o:r),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(_(qe),_(Et,8))},t.\u0275dir=R({type:t}),t})(),b5=(()=>{class t extends y5{constructor(e,i,o){super(e,o),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe(qD_Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(_(qe),_(Ag),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Y(u5,7),2&e){let o;F(o=N())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&J("mouseleave",function(r){return i._handleMouseLeave(r)}),2&e&&si("zoom",i.isVisible()?1:null)},features:[j],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(u(0,"div",0,1),J("animationend",function(r){return i._handleAnimationEnd(r)}),Nr(2,"async"),m(3),d()),2&e){let o;ee("mat-tooltip-handset",null==(o=Lr(2,4,i._isHandset))?null:o.matches),y("ngClass",i.tooltipClass),p(3),D(i.message)}},dependencies:[Qd,$m],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),t})(),sT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[m5],imports:[Og,qn,Yl,Ae,Ae,ha]}),t})();function C5(t,n){if(1&t&&(u(0,"mat-option",19),m(1),d()),2&t){const e=n.$implicit;y("value",e),p(1),te(" ",e," ")}}function w5(t,n){if(1&t){const e=Pn();u(0,"mat-form-field",16)(1,"mat-select",17),J("selectionChange",function(o){return Zt(e),Xt(I(2)._changePageSize(o.value))}),f(2,C5,2,2,"mat-option",18),d()()}if(2&t){const e=I(2);y("appearance",e._formFieldAppearance)("color",e.color),p(1),y("value",e.pageSize)("disabled",e.disabled)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering)("aria-label",e._intl.itemsPerPageLabel),p(1),y("ngForOf",e._displayedPageSizeOptions)}}function D5(t,n){if(1&t&&(u(0,"div",20),m(1),d()),2&t){const e=I(2);p(1),D(e.pageSize)}}function S5(t,n){if(1&t&&(u(0,"div",12)(1,"div",13),m(2),d(),f(3,w5,3,8,"mat-form-field",14),f(4,D5,2,1,"div",15),d()),2&t){const e=I();p(2),te(" ",e._intl.itemsPerPageLabel," "),p(1),y("ngIf",e._displayedPageSizeOptions.length>1),p(1),y("ngIf",e._displayedPageSizeOptions.length<=1)}}function M5(t,n){if(1&t){const e=Pn();u(0,"button",21),J("click",function(){return Zt(e),Xt(I().firstPage())}),xs(),u(1,"svg",7),A(2,"path",22),d()()}if(2&t){const e=I();y("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Me("aria-label",e._intl.firstPageLabel)}}function T5(t,n){if(1&t){const e=Pn();xs(),Mf(),u(0,"button",23),J("click",function(){return Zt(e),Xt(I().lastPage())}),xs(),u(1,"svg",7),A(2,"path",24),d()()}if(2&t){const e=I();y("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Me("aria-label",e._intl.lastPageLabel)}}let Uu=(()=>{class t{constructor(){this.changes=new W,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,o)=>{if(0==o||0==i)return`0 of ${o}`;const r=e*i;return`${r+1} \u2013 ${r<(o=Math.max(o,0))?Math.min(r+i,o):r+i} of ${o}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const E5={provide:Uu,deps:[[new Ni,new qo,Uu]],useFactory:function x5(t){return t||new Uu}},I5=new O("MAT_PAGINATOR_DEFAULT_OPTIONS"),k5=Mo(uS(class{}));let R5=(()=>{class t extends k5{constructor(e,i,o){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new Q,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){const{pageSize:r,pageSizeOptions:s,hidePageSize:a,showFirstLastButtons:l}=o;null!=r&&(this._pageSize=r),null!=s&&(this._pageSizeOptions=s),null!=a&&(this._hidePageSize=a),null!=l&&(this._showFirstLastButtons=l)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Nn(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Nn(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Nn(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Nn(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=ge(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=ge(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){const o=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(o)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,i)=>e-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){Qo()},t.\u0275dir=R({type:t,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[j]}),t})(),Kt=(()=>{class t extends R5{constructor(e,i,o){super(e,i,o),o&&null!=o.formFieldAppearance&&(this._formFieldAppearance=o.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(_(Uu),_(qe),_(I5,8))},t.\u0275cmp=U({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[j],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(u(0,"div",0)(1,"div",1),f(2,S5,5,3,"div",2),u(3,"div",3)(4,"div",4),m(5),d(),f(6,M5,3,5,"button",5),u(7,"button",6),J("click",function(){return i.previousPage()}),xs(),u(8,"svg",7),A(9,"path",8),d()(),Mf(),u(10,"button",9),J("click",function(){return i.nextPage()}),xs(),u(11,"svg",7),A(12,"path",10),d()(),f(13,T5,3,5,"button",11),d()()()),2&e&&(p(2),y("ngIf",!i.hidePageSize),p(3),te(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),p(1),y("ngIf",i.showFirstLastButtons),p(1),y("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),Me("aria-label",i._intl.previousPageLabel),p(3),y("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),Me("aria-label",i._intl.nextPageLabel),p(3),y("ngIf",i.showFirstLastButtons))},dependencies:[Wi,at,Bg,Ki,c5,CS,rc],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),t})(),O5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[E5],imports:[qn,xu,d5,sT,Ae]}),t})();const P5=["mat-sort-header",""];function F5(t,n){if(1&t){const e=Pn();u(0,"div",3),J("@arrowPosition.start",function(){return Zt(e),Xt(I()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return Zt(e),Xt(I()._disableViewStateAnimation=!1)}),A(1,"div",4),u(2,"div",5),A(3,"div",6)(4,"div",7)(5,"div",8),d()()}if(2&t){const e=I();y("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),p(2),y("@indicator",e._getArrowDirectionState()),p(1),y("@leftPointer",e._getArrowDirectionState()),p(1),y("@rightPointer",e._getArrowDirectionState())}}const N5=["*"],aT=new O("MAT_SORT_DEFAULT_OPTIONS"),L5=uS(Mo(class{}));let Ze=(()=>{class t extends L5{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new W,this.start="asc",this._direction="",this.sortChange=new Q}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=ge(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){var i,o,r;if(!e)return"";const s=null!==(i=null!==(o=e?.disableClear)&&void 0!==o?o:this.disableClear)&&void 0!==i?i:!(null===(r=this._defaultOptions)||void 0===r||!r.disableClear);let a=function B5(t,n){let e=["asc","desc"];return"desc"==t&&e.reverse(),n||e.push(""),e}(e.start||this.start,s),l=a.indexOf(this.direction)+1;return l>=a.length&&(l=0),a[l]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(_(aT,8))},t.\u0275dir=R({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[j,ct]}),t})();const ar=S4.ENTERING+" "+D4.STANDARD_CURVE,Da={indicator:fn("indicator",[ze("active-asc, asc",le({transform:"translateY(0px)"})),ze("active-desc, desc",le({transform:"translateY(10px)"})),nt("active-asc <=> active-desc",dt(ar))]),leftPointer:fn("leftPointer",[ze("active-asc, asc",le({transform:"rotate(-45deg)"})),ze("active-desc, desc",le({transform:"rotate(45deg)"})),nt("active-asc <=> active-desc",dt(ar))]),rightPointer:fn("rightPointer",[ze("active-asc, asc",le({transform:"rotate(45deg)"})),ze("active-desc, desc",le({transform:"rotate(-45deg)"})),nt("active-asc <=> active-desc",dt(ar))]),arrowOpacity:fn("arrowOpacity",[ze("desc-to-active, asc-to-active, active",le({opacity:1})),ze("desc-to-hint, asc-to-hint, hint",le({opacity:.54})),ze("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",le({opacity:0})),nt("* => asc, * => desc, * => active, * => hint, * => void",dt("0ms")),nt("* <=> *",dt(ar))]),arrowPosition:fn("arrowPosition",[nt("* => desc-to-hint, * => desc-to-active",dt(ar,Kl([le({transform:"translateY(-25%)"}),le({transform:"translateY(0)"})]))),nt("* => hint-to-desc, * => active-to-desc",dt(ar,Kl([le({transform:"translateY(0)"}),le({transform:"translateY(25%)"})]))),nt("* => asc-to-hint, * => asc-to-active",dt(ar,Kl([le({transform:"translateY(25%)"}),le({transform:"translateY(0)"})]))),nt("* => hint-to-asc, * => active-to-asc",dt(ar,Kl([le({transform:"translateY(0)"}),le({transform:"translateY(-25%)"})]))),ze("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",le({transform:"translateY(0)"})),ze("hint-to-desc, active-to-desc, desc",le({transform:"translateY(-25%)"})),ze("hint-to-asc, active-to-asc, asc",le({transform:"translateY(25%)"}))]),allowChildren:fn("allowChildren",[nt("* <=> *",[ku("@*",Iu(),{optional:!0})])])};let zu=(()=>{class t{constructor(){this.changes=new W}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const H5={provide:zu,deps:[[new Ni,new qo,zu]],useFactory:function V5(t){return t||new zu}},j5=Mo(class{});let di=(()=>{class t extends j5{constructor(e,i,o,r,s,a,l,c){super(),this._intl=e,this._changeDetectorRef=i,this._sort=o,this._columnDef=r,this._focusMonitor=s,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",null!=c&&c.arrowPosition&&(this.arrowPosition=c?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=ge(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){var i,o;this._sortButton&&(null===(i=this._ariaDescriber)||void 0===i||i.removeDescription(this._sortButton,this._sortActionDescription),null===(o=this._ariaDescriber)||void 0===o||o.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=yn(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(_(zu),_(qe),_(Ze,8),_("MAT_SORT_HEADER_COLUMN_DEF",8),_(Ii),_(Z),_(QD,8),_(aT,8))},t.\u0275cmp=U({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&J("click",function(){return i._handleClick()})("keydown",function(r){return i._handleKeydown(r)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(Me("aria-sort",i._getAriaSortAttribute()),ee("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[j],attrs:P5,ngContentSelectors:N5,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,i){1&e&&(tt(),u(0,"div",0)(1,"div",1),he(2),d(),f(3,F5,6,6,"div",2),d()),2&e&&(ee("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),Me("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),p(3),y("ngIf",i._renderArrow()))},dependencies:[at],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Da.indicator,Da.leftPointer,Da.rightPointer,Da.arrowOpacity,Da.arrowPosition,Da.allowChildren]},changeDetection:0}),t})(),$5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[H5],imports:[qn,Ae]}),t})();function U5(t,n){1&t&&he(0)}const lT=["*"];function z5(t,n){}const G5=function(t){return{animationDuration:t}},W5=function(t,n){return{value:t,params:n}},q5=["tabListContainer"],Y5=["tabList"],K5=["tabListInner"],Q5=["nextPaginator"],Z5=["previousPaginator"],X5=["tabBodyWrapper"],J5=["tabHeader"];function e$(t,n){}function t$(t,n){1&t&&f(0,e$,0,0,"ng-template",10),2&t&&y("cdkPortalOutlet",I().$implicit.templateLabel)}function n$(t,n){1&t&&m(0),2&t&&D(I().$implicit.textLabel)}function i$(t,n){if(1&t){const e=Pn();u(0,"div",6),J("click",function(){const o=Zt(e),r=o.$implicit,s=o.index,a=I(),l=mo(1);return Xt(a._handleClick(r,l,s))})("cdkFocusChange",function(o){const s=Zt(e).index;return Xt(I()._tabFocusChanged(o,s))}),u(1,"div",7),f(2,t$,1,1,"ng-template",8),f(3,n$,1,1,"ng-template",null,9,Rd),d()()}if(2&t){const e=n.$implicit,i=n.index,o=mo(4),r=I();ee("mat-tab-label-active",r.selectedIndex===i),y("id",r._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||r.disableRipple),Me("tabIndex",r._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",r._tabs.length)("aria-controls",r._getTabContentId(i))("aria-selected",r.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),p(2),y("ngIf",e.templateLabel)("ngIfElse",o)}}function o$(t,n){if(1&t){const e=Pn();u(0,"mat-tab-body",11),J("_onCentered",function(){return Zt(e),Xt(I()._removeTabBodyWrapperHeight())})("_onCentering",function(o){return Zt(e),Xt(I()._setTabBodyWrapperHeight(o))}),d()}if(2&t){const e=n.$implicit,i=n.index,o=I();ee("mat-tab-body-active",o.selectedIndex===i),y("id",o._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),Me("tabindex",null!=o.contentTabIndex&&o.selectedIndex===i?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(i))}}const r$=new O("MatInkBarPositioner",{providedIn:"root",factory:function s$(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let cT=(()=>{class t{constructor(e,i,o,r){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=o,this._animationMode=r}alignToElement(e){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe(pt(1)).subscribe(()=>{const i=this._inkBarPositioner(e),o=this._elementRef.nativeElement;o.style.left=i.left,o.style.width=i.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(ne),_(r$),_(Et,8))},t.\u0275dir=R({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&ee("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const a$=new O("MatTabContent"),l$=new O("MatTabLabel"),c$=new O("MAT_TAB"),d$=Mo(class{}),dT=new O("MAT_TAB_GROUP");let Qr=(()=>{class t extends d${constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new W,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Wl(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(_(Dt),_(dT,8))},t.\u0275cmp=U({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,l$,5),Ee(o,a$,7,wt)),2&e){let r;F(r=N())&&(i.templateLabel=r.first),F(r=N())&&(i._explicitContent=r.first)}},viewQuery:function(e,i){if(1&e&&Y(wt,7),2&e){let o;F(o=N())&&(i._implicitContent=o.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[q([{provide:c$,useExisting:t}]),j,ct],ngContentSelectors:lT,decls:1,vars:0,template:function(e,i){1&e&&(tt(),f(0,U5,1,0,"ng-template"))},encapsulation:2}),t})();const u$={translateTab:fn("translateTab",[ze("center, void, left-origin-center, right-origin-center",le({transform:"none"})),ze("left",le({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ze("right",le({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),nt("* => left, * => right, left => center, right => center",dt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),nt("void => left-origin-center",[le({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),dt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),nt("void => right-origin-center",[le({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),dt("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let h$=(()=>{class t extends Gr{constructor(e,i,o,r){super(e,i,r),this._host=o,this._centeringSub=ye.EMPTY,this._leavingSub=ye.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(on(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(Ko),_(Dt),_(Be(()=>uT)),_(pe))},t.\u0275dir=R({type:t,selectors:[["","matTabBodyHost",""]],features:[j]}),t})(),f$=(()=>{class t{constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=ye.EMPTY,this._translateTabComplete=new W,this._onCentering=new Q,this._beforeCentering=new Q,this._afterLeavingCenter=new Q,this._onCentered=new Q(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(r=>{this._computePositionAnimationState(r),o.markForCheck()})),this._translateTabComplete.pipe(ga((r,s)=>r.fromState===s.fromState&&r.toState===s.toState)).subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(xn,8),_(qe))},t.\u0275dir=R({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),uT=(()=>{class t extends f${constructor(e,i,o){super(e,i,o)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(xn,8),_(qe))},t.\u0275cmp=U({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Y(Gr,5),2&e){let o;F(o=N())&&(i._portalHost=o.first)}},hostAttrs:[1,"mat-tab-body"],features:[j],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(u(0,"div",0,1),J("@translateTab.start",function(r){return i._onTranslateTabStarted(r)})("@translateTab.done",function(r){return i._translateTabComplete.next(r)}),f(2,z5,0,0,"ng-template",2),d()),2&e&&y("@translateTab",Jo(3,W5,i._position,Ne(1,G5,i.animationDuration)))},dependencies:[h$],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[u$.translateTab]}}),t})();const hT=new O("MAT_TABS_CONFIG"),p$=Mo(class{});let fT=(()=>{class t extends p${constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(_(Z))},t.\u0275dir=R({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Me("aria-disabled",!!i.disabled),ee("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[j]}),t})();const pT=ua({passive:!0});let _$=(()=>{class t{constructor(e,i,o,r,s,a,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=r,this._ngZone=s,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new W,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new W,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Q,this.indexFocused=new Q,s.runOutsideAngular(()=>{wo(e.nativeElement,"mouseleave").pipe(ve(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=ge(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Nn(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){wo(this._previousPaginator.nativeElement,"touchstart",pT).pipe(ve(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),wo(this._nextPaginator.nativeElement,"touchstart",pT).pipe(ve(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:$("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new JD(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(pt(1)).subscribe(o),yn(e,i,this._items.changes,this._itemsResized()).pipe(ve(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(ve(this._destroyed)).subscribe(r=>{this.indexFocused.emit(r),this._setTabFocus(r)})}_itemsResized(){return"function"!=typeof ResizeObserver?It:this._items.changes.pipe(on(this._items),Ln(e=>new Ge(i=>this._ngZone.runOutsideAngular(()=>{const o=new ResizeObserver(r=>i.next(r));return e.forEach(r=>o.observe(r.elementRef.nativeElement)),()=>{o.disconnect()}}))),xg(1),Ye(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Yn(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:s}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=r,l=a+s):(l=this._tabListInner.nativeElement.offsetWidth-r,a=l-s);const c=this.scrollDistance,h=this.scrollDistance+o;a<c?this.scrollDistance-=c-a+60:l>h&&(this.scrollDistance+=l-h+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),RD(650,100).pipe(ve(yn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:o,distance:r}=this._scrollHeader(e);(0===r||r>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(nr),_(xn,8),_(ne),_(St),_(Et,8))},t.\u0275dir=R({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),v$=(()=>{class t extends _${constructor(e,i,o,r,s,a,l){super(e,i,o,r,s,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=ge(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(nr),_(xn,8),_(ne),_(St),_(Et,8))},t.\u0275dir=R({type:t,inputs:{disableRipple:"disableRipple"},features:[j]}),t})(),y$=(()=>{class t extends v${constructor(e,i,o,r,s,a,l){super(e,i,o,r,s,a,l)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(nr),_(xn,8),_(ne),_(St),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,o){if(1&e&&Ee(o,fT,4),2&e){let r;F(r=N())&&(i._items=r)}},viewQuery:function(e,i){if(1&e&&(Y(cT,7),Y(q5,7),Y(Y5,7),Y(K5,7),Y(Q5,5),Y(Z5,5)),2&e){let o;F(o=N())&&(i._inkBar=o.first),F(o=N())&&(i._tabListContainer=o.first),F(o=N())&&(i._tabList=o.first),F(o=N())&&(i._tabListInner=o.first),F(o=N())&&(i._nextPaginator=o.first),F(o=N())&&(i._previousPaginator=o.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&ee("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[j],ngContentSelectors:lT,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(tt(),u(0,"button",0,1),J("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(r){return i._handlePaginatorPress("before",r)})("touchend",function(){return i._stopInterval()}),A(2,"div",2),d(),u(3,"div",3,4),J("keydown",function(r){return i._handleKeydown(r)}),u(5,"div",5,6),J("cdkObserveContent",function(){return i._onContentChanges()}),u(7,"div",7,8),he(9),d(),A(10,"mat-ink-bar"),d()(),u(11,"button",9,10),J("mousedown",function(r){return i._handlePaginatorPress("after",r)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),A(13,"div",2),d()),2&e&&(ee("mat-tab-header-pagination-disabled",i._disableScrollBefore),y("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),p(5),ee("_mat-animation-noopable","NoopAnimations"===i._animationMode),p(6),ee("mat-tab-header-pagination-disabled",i._disableScrollAfter),y("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[or,Eg,cT],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),t})(),b$=0;class C${}const w$=ba(ir(class{constructor(t){this._elementRef=t}}),"primary");let D$=(()=>{class t extends w${constructor(e,i,o,r){var s;super(e),this._changeDetectorRef=i,this._animationMode=r,this._tabs=new Br,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=ye.EMPTY,this._tabLabelSubscription=ye.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Q,this.focusChange=new Q,this.animationDone=new Q,this.selectedTabChange=new Q(!0),this._groupId=b$++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,this.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,this.contentTabIndex=null!==(s=o?.contentTabIndex)&&void 0!==s?s:null,this.preserveContent=!(null==o||!o.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=ge(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Nn(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Nn(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=ge(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=ge(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,r)=>o.isActive=r===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let o;for(let r=0;r<i.length;r++)if(i[r].isActive){this._indexToSelect=this._selectedIndex=r,this._lastFocusedTabIndex=null,o=i[r];break}!o&&i[e]&&Promise.resolve().then(()=>{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(on(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new C$;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=yn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){e.disabled||(this.selectedIndex=i.focusIndex=o)}_getTabIndex(e,i){var o;return e.disabled?null:i===(null!==(o=this._lastFocusedTabIndex)&&void 0!==o?o:this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(hT,8),_(Et,8))},t.\u0275dir=R({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[j]}),t})(),Sa=(()=>{class t extends D${constructor(e,i,o,r){super(e,i,o,r)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(hT,8),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,o){if(1&e&&Ee(o,Qr,5),2&e){let r;F(r=N())&&(i._allTabs=r)}},viewQuery:function(e,i){if(1&e&&(Y(X5,5),Y(J5,5)),2&e){let o;F(o=N())&&(i._tabBodyWrapper=o.first),F(o=N())&&(i._tabHeader=o.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&ee("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[q([{provide:dT,useExisting:t}]),j],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(u(0,"mat-tab-header",0,1),J("indexFocused",function(r){return i._focusChanged(r)})("selectFocusedIndex",function(r){return i.selectedIndex=r}),f(2,i$,5,15,"div",2),d(),u(3,"div",3,4),f(5,o$,1,11,"mat-tab-body",5),d()),2&e&&(y("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),p(2),y("ngForOf",i._tabs),p(1),ee("_mat-animation-noopable","NoopAnimations"===i._animationMode),p(2),y("ngForOf",i._tabs))},dependencies:[Qd,Wi,at,Gr,or,y4,fT,uT,y$],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),t})(),S$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[qn,Ae,Wr,Gl,Cu,Og,Ae]}),t})();function Ma(t,n){const e=Re(t)?t:()=>t,i=o=>o.error(e());return new Ge(n?o=>n.schedule(i,0,o):i)}function xo(t){return vt((n,e)=>{let r,i=null,o=!1;i=n.subscribe(ht(e,void 0,void 0,s=>{r=In(t(s,xo(t)(n))),i?(i.unsubscribe(),i=null,r.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(e))})}function Gu(t){return vt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function lr(t,n){return Re(n)?lt(t,n,1):lt(t,1)}class gT{}class _T{}class Eo{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),r=o.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const o=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(o,i),this.maybeSetNormalizedName(e,o))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof Eo?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(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new Eo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Eo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===r.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class M${encodeKey(n){return vT(n)}encodeValue(n){return vT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const x$=/%(\d[a-f0-9])/gi,E$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function vT(t){return encodeURIComponent(t).replace(x$,(n,e)=>{var i;return null!==(i=E$[e])&&void 0!==i?i:n})}function Wu(t){return`${t}`}class cr{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new M$,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function T$(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(Wu):[Wu(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(r=>{e.push({param:i,value:r,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new cr({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Wu(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(Wu(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class A${constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function yT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function bT(t){return typeof Blob<"u"&&t instanceof Blob}function CT(t){return typeof FormData<"u"&&t instanceof FormData}class sc{constructor(n,e,i,o){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function I$(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params)),this.headers||(this.headers=new Eo),this.context||(this.context=new A$),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new cr,this.urlWithParams=e}serializeBody(){return null===this.body?null:yT(this.body)||bT(this.body)||CT(this.body)||function k$(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof cr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||CT(this.body)?null:bT(this.body)?this.body.type||null:yT(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof cr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){var e;const i=n.method||this.method,o=n.url||this.url,r=n.responseType||this.responseType,s=void 0!==n.body?n.body:this.body,a=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,l=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let c=n.headers||this.headers,h=n.params||this.params;const g=null!==(e=n.context)&&void 0!==e?e:this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((v,b)=>v.set(b,n.setHeaders[b]),c)),n.setParams&&(h=Object.keys(n.setParams).reduce((v,b)=>v.set(b,n.setParams[b]),h)),new sc(i,o,s,{params:h,headers:c,context:g,reportProgress:l,responseType:r,withCredentials:a})}}var Lt=(()=>((Lt=Lt||{})[Lt.Sent=0]="Sent",Lt[Lt.UploadProgress=1]="UploadProgress",Lt[Lt.ResponseHeader=2]="ResponseHeader",Lt[Lt.DownloadProgress=3]="DownloadProgress",Lt[Lt.Response=4]="Response",Lt[Lt.User=5]="User",Lt))();class h_{constructor(n,e=200,i="OK"){this.headers=n.headers||new Eo,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class f_ extends h_{constructor(n={}){super(n),this.type=Lt.ResponseHeader}clone(n={}){return new f_({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class qu extends h_{constructor(n={}){super(n),this.type=Lt.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new qu({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class wT extends h_{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function p_(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Yu=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let r;if(e instanceof sc)r=e;else{let l,c;l=o.headers instanceof Eo?o.headers:new Eo(o.headers),o.params&&(c=o.params instanceof cr?o.params:new cr({fromObject:o.params})),r=new sc(e,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=$(r).pipe(lr(l=>this.handler.handle(l)));if(e instanceof sc||"events"===o.observe)return s;const a=s.pipe(Ye(l=>l instanceof qu));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(oe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(oe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(oe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(oe(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new cr).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,p_(o,i))}post(e,i,o={}){return this.request("POST",e,p_(o,i))}put(e,i,o={}){return this.request("PUT",e,p_(o,i))}}return t.\u0275fac=function(e){return new(e||t)(T(gT))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();class DT{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const ST=new O("HTTP_INTERCEPTORS");let R$=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();const O$=/^\)\]\}',?\n/;let MT=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Ge(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((b,C)=>o.setRequestHeader(b,C.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const b=e.detectContentTypeHeader();null!==b&&o.setRequestHeader("Content-Type",b)}if(e.responseType){const b=e.responseType.toLowerCase();o.responseType="json"!==b?b:"text"}const r=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const b=o.statusText||"OK",C=new Eo(o.getAllResponseHeaders()),w=function P$(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||e.url;return s=new f_({headers:C,status:o.status,statusText:b,url:w}),s},l=()=>{let{headers:b,status:C,statusText:w,url:x}=a(),E=null;204!==C&&(E=typeof o.response>"u"?o.responseText:o.response),0===C&&(C=E?200:0);let B=C>=200&&C<300;if("json"===e.responseType&&"string"==typeof E){const k=E;E=E.replace(O$,"");try{E=""!==E?JSON.parse(E):null}catch(H){E=k,B&&(B=!1,E={error:H,text:E})}}B?(i.next(new qu({body:E,headers:b,status:C,statusText:w,url:x||void 0})),i.complete()):i.error(new wT({error:E,headers:b,status:C,statusText:w,url:x||void 0}))},c=b=>{const{url:C}=a(),w=new wT({error:b,status:o.status||0,statusText:o.statusText||"Unknown Error",url:C||void 0});i.error(w)};let h=!1;const g=b=>{h||(i.next(a()),h=!0);let C={type:Lt.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(C.total=b.total),"text"===e.responseType&&!!o.responseText&&(C.partialText=o.responseText),i.next(C)},v=b=>{let C={type:Lt.UploadProgress,loaded:b.loaded};b.lengthComputable&&(C.total=b.total),i.next(C)};return o.addEventListener("load",l),o.addEventListener("error",c),o.addEventListener("timeout",c),o.addEventListener("abort",c),e.reportProgress&&(o.addEventListener("progress",g),null!==r&&o.upload&&o.upload.addEventListener("progress",v)),o.send(r),i.next({type:Lt.Sent}),()=>{o.removeEventListener("error",c),o.removeEventListener("abort",c),o.removeEventListener("load",l),o.removeEventListener("timeout",c),e.reportProgress&&(o.removeEventListener("progress",g),null!==r&&o.upload&&o.upload.removeEventListener("progress",v)),o.readyState!==o.DONE&&o.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(T(J1))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();const m_=new O("XSRF_COOKIE_NAME"),g_=new O("XSRF_HEADER_NAME");class TT{}let F$=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=U1(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(T(pe),T(aa),T(m_))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),__=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const o=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||o.startsWith("http://")||o.startsWith("https://"))return i.handle(e);const r=this.tokenService.getToken();return null!==r&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,r)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(T(TT),T(g_))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),N$=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(ST,[]);this.chain=i.reduceRight((o,r)=>new DT(o,r),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(T(_T),T(Rt))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),L$=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:__,useClass:R$}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:m_,useValue:e.cookieName}:[],e.headerName?{provide:g_,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[__,{provide:ST,useExisting:__,multi:!0},{provide:TT,useClass:F$},{provide:m_,useValue:"XSRF-TOKEN"},{provide:g_,useValue:"X-XSRF-TOKEN"}]}),t})(),B$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[Yu,{provide:gT,useClass:N$},MT,{provide:_T,useExisting:MT}],imports:[L$.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})();const V$=["*"];let Ku;function ac(t){var n;return(null===(n=function H$(){if(void 0===Ku&&(Ku=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(Ku=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Ku}())||void 0===n?void 0:n.createHTML(t))||t}function xT(t){return Error(`Unable to find icon with the name "${t}"`)}function ET(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function AT(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Zr{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let lc=(()=>{class t{constructor(e,i,o,r){this._httpClient=e,this._sanitizer=i,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,r){return this._addSvgIconConfig(e,i,new Zr(o,null,r))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,r){const s=this._sanitizer.sanitize(Ue.HTML,o);if(!s)throw AT(o);const a=ac(s);return this._addSvgIconConfig(e,i,new Zr("",a,r))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Zr(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const r=this._sanitizer.sanitize(Ue.HTML,i);if(!r)throw AT(i);const s=ac(r);return this._addSvgIconSetConfig(e,new Zr("",s,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Ue.RESOURCE_URL,e);if(!i)throw ET(e);const o=this._cachedIconsByUrl.get(i);return o?$(Qu(o)):this._loadSvgIconFromConfig(new Zr(e,null)).pipe(Nt(r=>this._cachedIconsByUrl.set(i,r)),oe(r=>Qu(r)))}getNamedSvgIcon(e,i=""){const o=IT(i,e);let r=this._svgIconConfigs.get(o);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(i,e),r)return this._svgIconConfigs.set(o,r),this._getSvgFromConfig(r);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(e,s):Ma(xT(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?$(Qu(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(oe(i=>Qu(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?$(o):GS(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(xo(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(Ue.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),$(null)})))).pipe(oe(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw xT(e);return s}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const r=i[o];if(r.svgText&&r.svgText.toString().indexOf(e)>-1){const s=this._svgElementFromConfig(r),a=this._extractSvgIconFromSet(s,e,r.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Nt(i=>e.svgText=i),oe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?$(null):this._fetchIcon(e).pipe(Nt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const r=e.querySelector(`[id="${i}"]`);if(!r)return null;const s=r.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,o);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),o);const a=this._svgElementFromString(ac("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(ac("<svg></svg>")),o=e.attributes;for(let r=0;r<o.length;r++){const{name:s,value:a}=o[r];"id"!==s&&i.setAttribute(s,a)}for(let r=0;r<e.childNodes.length;r++)e.childNodes[r].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[r].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){var i;const{url:o,options:r}=e,s=null!==(i=r?.withCredentials)&&void 0!==i&&i;if(!this._httpClient)throw function j$(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==o)throw Error(`Cannot fetch icon from URL "${o}".`);const a=this._sanitizer.sanitize(Ue.RESOURCE_URL,o);if(!a)throw ET(o);const l=this._inProgressUrlFetches.get(a);if(l)return l;const c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(oe(h=>ac(h)),Gu(()=>this._inProgressUrlFetches.delete(a)),Xh());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(IT(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;o<this._resolvers.length;o++){const r=this._resolvers[o](i,e);if(r)return U$(r)?new Zr(r.url,null,r.options):new Zr(r,null)}}}return t.\u0275fac=function(e){return new(e||t)(T(Yu,8),T(eg),T(pe,8),T(uo))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Qu(t){return t.cloneNode(!0)}function IT(t,n){return t+":"+n}function U$(t){return!(!t.url||!t.options)}const z$=ba(class{constructor(t){this._elementRef=t}}),G$=new O("MAT_ICON_DEFAULT_OPTIONS"),W$=new O("mat-icon-location",{providedIn:"root",factory:function q$(){const t=rt(pe),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),kT=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Y$=kT.map(t=>`[${t}]`).join(", "),K$=/^url\(['"]?#(.*?)['"]?\)$/;let Kn=(()=>{class t extends z${constructor(e,i,o,r,s,a){super(e),this._iconRegistry=i,this._location=r,this._errorHandler=s,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=ye.EMPTY,a&&(a.color&&(this.color=this.defaultColor=a.color),a.fontSet&&(this.fontSet=a.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=ge(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,r)=>{o.forEach(s=>{r.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(Y$),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let r=0;r<i.length;r++)kT.forEach(s=>{const a=i[r],l=a.getAttribute(s),c=l?l.match(K$):null;if(c){let h=o.get(a);h||(h=[],o.set(a,h)),h.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(pt(1)).subscribe(r=>this._setSvgElement(r),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${r.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(lc),Fi("aria-hidden"),_(W$),_(uo),_(G$,8))},t.\u0275cmp=U({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(Me("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),ee("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[j],ngContentSelectors:V$,decls:1,vars:0,template:function(e,i){1&e&&(tt(),he(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),t})(),RT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae,Ae]}),t})();const Q$=["*",[["mat-card-footer"]]],Z$=["*","mat-card-footer"];let OT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),X$=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),J$=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,i){2&e&&ee("mat-card-actions-align-end","end"===i.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t})(),dr=(()=>{class t{constructor(e){this._animationMode=e}}return t.\u0275fac=function(e){return new(e||t)(_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&ee("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:Z$,decls:2,vars:0,template:function(e,i){1&e&&(tt(Q$),he(0),he(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),t})(),eU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae,Ae]}),t})(),Xr=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ge(e)}get inset(){return this._inset}set inset(e){this._inset=ge(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=U({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(Me("aria-orientation",i.vertical?"vertical":"horizontal"),ee("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),t})(),PT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae,Ae]}),t})();const v_=["*"],tU=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],nU=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],NT=Mo(ir(class{})),aU=ir(class{}),LT=new O("MatList"),BT=new O("MatNavList");let lU=(()=>{class t extends NT{constructor(){super(...arguments),this._stateChanges=new W}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[q([{provide:BT,useExisting:t}]),j,ct],ngContentSelectors:v_,decls:1,vars:0,template:function(e,i){1&e&&(tt(),he(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),t})(),VT=(()=>{class t extends NT{constructor(e){super(),this._elementRef=e,this._stateChanges=new W,"action-list"===this._getListType()&&(e.nativeElement.classList.add("mat-action-list"),e.nativeElement.setAttribute("role","group"))}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(_(Z))},t.\u0275cmp=U({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[q([{provide:LT,useExisting:t}]),j,ct],ngContentSelectors:v_,decls:1,vars:0,template:function(e,i){1&e&&(tt(),he(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),t})(),HT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),jT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),y_=(()=>{class t extends aU{constructor(e,i,o,r){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new W,this._disabled=!1,this._isInteractiveList=!!(o||r&&"action-list"===r._getListType()),this._list=o||r;const s=this._getHostElement();"button"===s.nodeName.toLowerCase()&&!s.hasAttribute("type")&&s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(ve(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=ge(e)}ngAfterContentInit(){!function fS(t,n,e="mat"){t.changes.pipe(on(t)).subscribe(({length:i})=>{zl(n,`${e}-2-line`,!1),zl(n,`${e}-3-line`,!1),zl(n,`${e}-multi-line`,!1),2===i||3===i?zl(n,`${e}-${i}-line`,!0):i>3&&zl(n,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(qe),_(BT,8),_(LT,8))},t.\u0275cmp=U({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,HT,5),Ee(o,jT,5),Ee(o,hS,5)),2&e){let r;F(r=N())&&(i._avatar=r.first),F(r=N())&&(i._icon=r.first),F(r=N())&&(i._lines=r)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(e,i){2&e&&ee("mat-list-item-disabled",i.disabled)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[j],ngContentSelectors:nU,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(tt(tU),u(0,"span",0),A(1,"span",1),he(2),u(3,"span",2),he(4,1),d(),he(5,2),d()),2&e&&(p(1),y("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},dependencies:[or],encapsulation:2,changeDetection:0}),t})(),UT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[pS,Gl,Ae,Lg,qn,pS,Ae,Lg,PT]}),t})();function pU(t,n){}class Zu{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let zT=(()=>{class t extends Hg{constructor(e,i,o,r,s,a,l,c){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=r,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=c,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=h=>{this._portalOutlet.hasAttached();const g=this._portalOutlet.attachDomPortal(h);return this._contentAttached(),g},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=o}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=ag(),r=this._elementRef.nativeElement;(!o||o===this._document.body||o===r||r.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=ag();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ag())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Mu),_(pe,8),_(Zu),_(Ul),_(ne),_(ql),_(Ii))},t.\u0275cmp=U({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&Y(Gr,7),2&e){let o;F(o=N())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Me("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[j],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&f(0,pU,0,0,"ng-template",0)},dependencies:[Gr],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class b_{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new W,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!Yn(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const GT=new O("DialogScrollStrategy"),mU=new O("DialogData"),gU=new O("DefaultDialogConfig"),vU={provide:GT,deps:[Yi],useFactory:function _U(t){return()=>t.scrollStrategies.block()}};let yU=0,WT=(()=>{class t{constructor(e,i,o,r,s,a){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=r,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new W,this._afterOpenedAtThisLevel=new W,this._ariaHiddenElements=new Map,this.afterAllClosed=ic(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(on(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(e,i){(i={...this._defaultOptions||new Zu,...i}).id=i.id||"cdk-dialog-"+yU++,i.id&&this.getDialogById(i.id);const r=this._getOverlayConfig(i),s=this._overlay.create(r),a=new b_(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){C_(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){C_(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),C_(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new $g({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){var r;const s=o.injector||(null===(r=o.viewContainerRef)||void 0===r?void 0:r.injector),a=[{provide:Zu,useValue:o},{provide:b_,useValue:i},{provide:ql,useValue:e}];let l;o.container?"function"==typeof o.container?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=zT;const c=new Eu(l,o.viewContainerRef,Rt.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,o,r){if(e instanceof wt){const s=this._createInjector(r,i,o,void 0);let a={$implicit:r.data,dialogRef:i};r.templateContext&&(a={...a,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),o.attachTemplatePortal(new Wl(e,null,a,s))}else{const s=this._createInjector(r,i,o,this._injector),a=o.attachComponentPortal(new Eu(e,r.viewContainerRef,s,r.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(e,i,o,r){var s;const a=e.injector||(null===(s=e.viewContainerRef)||void 0===s?void 0:s.injector),l=[{provide:mU,useValue:e.data},{provide:b_,useValue:i}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(i,e,o)):l.push(...e.providers)),e.direction&&(!a||!a.get(xn,null,ce.Optional))&&l.push({provide:xn,useValue:{value:e.direction,change:$()}}),Rt.create({parent:a||r,providers:l})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,s)=>{r?s.setAttribute("aria-hidden",r):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){const r=i[o];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(T(Yi),T(Rt),T(gU,8),T(t,12),T(Au),T(GT))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();function C_(t,n){let e=t.length;for(;e--;)n(t[e])}let bU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[WT,vU],imports:[Yl,Wr,Og,Wr]}),t})();function CU(t,n){}const Ta={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},wU={dialogContainer:fn("dialogContainer",[ze("void, exit",le({opacity:0,transform:"scale(0.7)"})),ze("enter",le({transform:"none"})),nt("* => enter",BS([dt("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",le({transform:"none",opacity:1})),ku("@*",Iu(),{optional:!0})]),Ta),nt("* => void, * => exit",BS([dt("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",le({opacity:0})),ku("@*",Iu(),{optional:!0})]),Ta)])};class Xu{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=Ta.params.enterAnimationDuration,this.exitAnimationDuration=Ta.params.exitAnimationDuration}}let DU=(()=>{class t extends zT{constructor(e,i,o,r,s,a,l,c){super(e,i,o,r,s,a,l,c),this._animationStateChanged=new Q}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Mu),_(pe,8),_(Xu),_(Ul),_(ne),_(ql),_(Ii))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],features:[j],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),SU=(()=>{class t extends DU{constructor(e,i,o,r,s,a,l,c,h){super(e,i,o,r,s,a,l,h),this._changeDetectorRef=c,this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?this._openAnimationDone(i):"exit"===e&&this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ta.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ta.params.exitAnimationDuration}}}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Mu),_(pe,8),_(Xu),_(Ul),_(ne),_(ql),_(qe),_(Ii))},t.\u0275cmp=U({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&Dd("@dialogContainer.start",function(r){return i._onAnimationStart(r)})("@dialogContainer.done",function(r){return i._onAnimationDone(r)}),2&e&&(Or("id",i._config.id),Me("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),Md("@dialogContainer",i._getAnimationState()))},features:[j],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&f(0,CU,0,0,"ng-template",0)},dependencies:[Gr],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[wU.dialogContainer]}}),t})();class Ao{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new W,this._beforeClosed=new W,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(Ye(o=>"opened"===o.state),pt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(Ye(o=>"closed"===o.state),pt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),yn(this.backdropClick(),this.keydownEvents().pipe(Ye(o=>27===o.keyCode&&!this.disableClose&&!Yn(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),function MU(t,n,e){t._closeInteractionType=n,t.close(e)}(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(Ye(e=>"closing"===e.state),pt(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const ur=new O("MatDialogData"),TU=new O("mat-dialog-default-options"),qT=new O("mat-dialog-scroll-strategy"),EU={provide:qT,deps:[Yi],useFactory:function xU(t){return()=>t.scrollStrategies.block()}};let AU=0,IU=(()=>{class t{constructor(e,i,o,r,s,a,l,c,h,g){this._overlay=e,this._defaultOptions=o,this._parentDialog=r,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=h,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new W,this._afterOpenedAtThisLevel=new W,this._idPrefix="mat-dialog-",this.afterAllClosed=ic(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(on(void 0))),this._scrollStrategy=a,this._dialog=i.get(WT)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){let o;(i={...this._defaultOptions||new Xu,...i}).id=i.id||`${this._idPrefix}${AU++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:Xu,useValue:i},{provide:Zu,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,a,l)=>{var c;return o=new this._dialogRefConstructor(s,i,l),o.updatePosition(null===(c=i)||void 0===c?void 0:c.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:o}]}});return o.componentInstance=r.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){Qo()},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),Io=(()=>{class t extends IU{constructor(e,i,o,r,s,a,l,c){super(e,i,r,a,l,s,Ao,SU,ur,c)}}return t.\u0275fac=function(e){return new(e||t)(T(Yi),T(Rt),T(xi,8),T(TU,8),T(qT),T(t,12),T(Au),T(Et,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),kU=0,Jr=(()=>{class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o,this.id="mat-dialog-title-"+kU++}ngOnInit(){this._dialogRef||(this._dialogRef=function RU(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(_(Ao,8),_(Z),_(Io))},t.\u0275dir=R({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&Or("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),es=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),OU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[Io,EU],imports:[bU,Yl,Wr,Ae,Ae]}),t})();const YT=new O("CdkAccordion");let PU=0,FU=(()=>{class t{constructor(e,i,o){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=ye.EMPTY,this.closed=new Q,this.opened=new Q,this.destroyed=new Q,this.expandedChange=new Q,this.id="cdk-accordion-child-"+PU++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((r,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==r&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=ge(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=ge(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return t.\u0275fac=function(e){return new(e||t)(_(YT,12),_(qe),_(TD))},t.\u0275dir=R({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[q([{provide:YT,useValue:void 0}])]}),t})(),NU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();const LU=["body"];function BU(t,n){}const VU=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],HU=["mat-expansion-panel-header","*","mat-action-row"];function jU(t,n){1&t&&A(0,"span",2),2&t&&y("@indicatorRotate",I()._getExpandedState())}const $U=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],UU=["mat-panel-title","mat-panel-description","*"],KT=new O("MAT_ACCORDION"),QT="225ms cubic-bezier(0.4,0.0,0.2,1)",ZT={indicatorRotate:fn("indicatorRotate",[ze("collapsed, void",le({transform:"rotate(0deg)"})),ze("expanded",le({transform:"rotate(180deg)"})),nt("expanded <=> collapsed, void => collapsed",dt(QT))]),bodyExpansion:fn("bodyExpansion",[ze("collapsed, void",le({height:"0px",visibility:"hidden"})),ze("expanded",le({height:"*",visibility:"visible"})),nt("expanded <=> collapsed, void => collapsed",dt(QT))])},XT=new O("MAT_EXPANSION_PANEL");let zU=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}}return t.\u0275fac=function(e){return new(e||t)(_(wt),_(XT,8))},t.\u0275dir=R({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),GU=0;const JT=new O("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let hr=(()=>{class t extends FU{constructor(e,i,o,r,s,a,l){super(e,i,o),this._viewContainerRef=r,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new Q,this.afterCollapse=new Q,this._inputChanges=new W,this._headerId="mat-expansion-panel-header-"+GU++,this._bodyAnimationDone=new W,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(ga((c,h)=>c.fromState===h.fromState&&c.toState===h.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=ge(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(on(null),Ye(()=>this.expanded&&!this._portal),pt(1)).subscribe(()=>{this._portal=new Wl(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return t.\u0275fac=function(e){return new(e||t)(_(KT,12),_(qe),_(TD),_(Dt),_(pe),_(Et,8),_(JT,8))},t.\u0275cmp=U({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,o){if(1&e&&Ee(o,zU,5),2&e){let r;F(r=N())&&(i._lazyContent=r.first)}},viewQuery:function(e,i){if(1&e&&Y(LU,5),2&e){let o;F(o=N())&&(i._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&ee("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[q([{provide:KT,useValue:void 0},{provide:XT,useExisting:t}]),j,ct],ngContentSelectors:HU,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(tt(VU),he(0),u(1,"div",0,1),J("@bodyExpansion.done",function(r){return i._bodyAnimationDone.next(r)}),u(3,"div",2),he(4,1),f(5,BU,0,0,"ng-template",3),d(),he(6,2),d()),2&e&&(p(1),y("@bodyExpansion",i._getExpandedState())("id",i.id),Me("aria-labelledby",i._headerId),p(4),y("cdkPortalOutlet",i._portal))},dependencies:[Gr],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[ZT.bodyExpansion]},changeDetection:0}),t})();class WU{}const qU=Pg(WU);let ts=(()=>{class t extends qU{constructor(e,i,o,r,s,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=o,this._changeDetectorRef=r,this._animationMode=a,this._parentChangeSubscription=ye.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe(Ye(h=>!(!h.hideToggle&&!h.togglePosition))):It;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=yn(e.opened,e.closed,c,e._inputChanges.pipe(Ye(h=>!!(h.hideToggle||h.disabled||h.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Ye(()=>e._containsFocus())).subscribe(()=>o.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Yn(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(_(hr,1),_(Z),_(Ii),_(qe),_(JT,8),_(Et,8),Fi("tabindex"))},t.\u0275cmp=U({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&J("click",function(){return i._toggle()})("keydown",function(r){return i._keydown(r)}),2&e&&(Me("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),si("height",i._getHeaderHeight()),ee("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[j],ngContentSelectors:UU,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(tt($U),u(0,"span",0),he(1),he(2,1),he(3,2),d(),f(4,jU,1,1,"span",1)),2&e&&(ee("mat-content-hide-toggle",!i._showToggle()),p(4),y("ngIf",i._showToggle()))},dependencies:[at],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[ZT.indicatorRotate]},changeDetection:0}),t})(),ns=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),YU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[qn,Ae,NU,Wr]}),t})(),ZU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Yl,Wr,qn,xu,Ae,Ae]}),t})();const JU=["input"],e8=function(t){return{enterDuration:t}},t8=["*"],n8=new O("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let i8=0;const o8={provide:ci,useExisting:Be(()=>ex),multi:!0};class r8{constructor(n,e){this.source=n,this.checked=e}}const s8=Pg(ba(ir(Mo(class{constructor(t){this._elementRef=t}}))));let a8=(()=>{class t extends s8{constructor(e,i,o,r,s,a,l){super(e),this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=s,this._onChange=c=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new Q,this.toggleChange=new Q,this.tabIndex=parseInt(r)||0,this.color=this.defaultColor=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId=`${l}${++i8}`}get required(){return this._required}set required(e){this._required=ge(e)}get checked(){return this._checked}set checked(e){this._checked=ge(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._focused=!0:e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return t.\u0275fac=function(e){Qo()},t.\u0275dir=R({type:t,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[j]}),t})(),ex=(()=>{class t extends a8{constructor(e,i,o,r,s,a){super(e,i,o,r,s,a,"mat-slide-toggle-")}_createChangeEvent(e){return new r8(this,e)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Ii),_(qe),Fi("tabindex"),_(n8),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&Y(JU,5),2&e){let o;F(o=N())&&(i._inputElement=o.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(Or("id",i.id),Me("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),ee("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[q([o8]),j],ngContentSelectors:t8,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(tt(),u(0,"label",0,1)(2,"span",2)(3,"input",3,4),J("change",function(r){return i._onChangeEvent(r)})("click",function(r){return i._onInputClick(r)}),d(),u(5,"span",5),A(6,"span",6),u(7,"span",7),A(8,"span",8),d()()(),u(9,"span",9,10),J("cdkObserveContent",function(){return i._onLabelTextChange()}),u(11,"span",11),m(12,"\xa0"),d(),he(13),d()()),2&e){const o=mo(1),r=mo(10);Me("for",i.inputId),p(2),ee("mat-slide-toggle-bar-no-side-margin",!r.textContent||!r.textContent.trim()),p(1),y("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),Me("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),p(4),y("matRippleTrigger",o)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ne(18,e8,i._noopAnimations?0:150))}},dependencies:[or,Eg],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),t})(),tx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})(),d8=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[tx,Gl,Ae,Cu,tx,Ae]}),t})();const Ju=gs(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function eh(t){return vt((n,e)=>{let i=!1;n.subscribe(ht(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function nx(t=u8){return vt((n,e)=>{let i=!1;n.subscribe(ht(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function u8(){return new Ju}function fr(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Ye((o,r)=>t(o,r,i)):$o,pt(1),e?eh(n):nx(()=>new Ju))}function h8(t,n,e,i,o){return(r,s)=>{let a=e,l=n,c=0;r.subscribe(ht(s,h=>{const g=c++;l=a?t(l,h,g):(a=!0,h),i&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function ix(t,n){return vt(h8(t,n,arguments.length>=2,!0))}function w_(t){return t<=0?()=>It:vt((n,e)=>{let i=[];n.subscribe(ht(e,o=>{i.push(o),t<i.length&&i.shift()},()=>{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}function ox(t,n){const e=arguments.length>=2;return i=>i.pipe(t?Ye((o,r)=>t(o,r,i)):$o,w_(1),e?eh(n):nx(()=>new Ju))}function D_(t){return oe(()=>t)}const Ie="primary",cc=Symbol("RouteTitle");class f8{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function xa(t){return new f8(t)}function p8(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.length<t.length))return null;const o={};for(let r=0;r<i.length;r++){const s=i[r],a=t[r];if(s.startsWith(":"))o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:o}}function Zi(t,n){const e=t?Object.keys(t):void 0,i=n?Object.keys(n):void 0;if(!e||!i||e.length!=i.length)return!1;let o;for(let r=0;r<e.length;r++)if(o=e[r],!rx(t[o],n[o]))return!1;return!0}function rx(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;const e=[...t].sort(),i=[...n].sort();return e.every((o,r)=>i[r]===o)}return t===n}function sx(t){return Array.prototype.concat.apply([],t)}function ax(t){return t.length>0?t[t.length-1]:null}function sn(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function pr(t){return Yp(t)?t:pl(t)?xt(Promise.resolve(t)):$(t)}const _8={exact:function dx(t,n,e){if(!os(t.segments,n.segments)||!th(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!dx(t.children[i],n.children[i],e))return!1;return!0},subset:ux},lx={exact:function v8(t,n){return Zi(t,n)},subset:function y8(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>rx(t[e],n[e]))},ignored:()=>!0};function cx(t,n,e){return _8[e.paths](t.root,n.root,e.matrixParams)&&lx[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function ux(t,n,e){return hx(t,n,n.segments,e)}function hx(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!os(o,e)||n.hasChildren()||!th(o,e,i))}if(t.segments.length===e.length){if(!os(t.segments,e)||!th(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!ux(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),r=e.slice(t.segments.length);return!!(os(t.segments,o)&&th(t.segments,o,i)&&t.children[Ie])&&hx(t.children[Ie],n,r,i)}}function th(t,n,e){return n.every((i,o)=>lx[e](t[o].parameters,i.parameters))}class is{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xa(this.queryParams)),this._queryParamMap}toString(){return w8.serialize(this)}}class ke{constructor(n,e){this.segments=n,this.children=e,this.parent=null,sn(e,(i,o)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nh(this)}}class dc{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=xa(this.parameters)),this._parameterMap}toString(){return gx(this)}}function os(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let fx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:function(){return new M_},providedIn:"root"}),t})();class M_{parse(n){const e=new k8(n);return new is(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${uc(n.root,!0)}`,i=function M8(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${ih(e)}=${ih(o)}`).join("&"):`${ih(e)}=${ih(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function D8(t){return encodeURI(t)}(n.fragment)}`:""}`}}const w8=new M_;function nh(t){return t.segments.map(n=>gx(n)).join("/")}function uc(t,n){if(!t.hasChildren())return nh(t);if(n){const e=t.children[Ie]?uc(t.children[Ie],!1):"",i=[];return sn(t.children,(o,r)=>{r!==Ie&&i.push(`${r}:${uc(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function C8(t,n){let e=[];return sn(t.children,(i,o)=>{o===Ie&&(e=e.concat(n(i,o)))}),sn(t.children,(i,o)=>{o!==Ie&&(e=e.concat(n(i,o)))}),e}(t,(i,o)=>o===Ie?[uc(t.children[Ie],!1)]:[`${o}:${uc(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Ie]?`${nh(t)}/${e[0]}`:`${nh(t)}/(${e.join("//")})`}}function px(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ih(t){return px(t).replace(/%3B/gi,";")}function T_(t){return px(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oh(t){return decodeURIComponent(t)}function mx(t){return oh(t.replace(/\+/g,"%20"))}function gx(t){return`${T_(t.path)}${function S8(t){return Object.keys(t).map(n=>`;${T_(n)}=${T_(t[n])}`).join("")}(t.parameters)}`}const T8=/^[^\/()?;=#]+/;function rh(t){const n=t.match(T8);return n?n[0]:""}const x8=/^[^=?&#]+/,A8=/^[^&#]+/;class k8{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ke([],{}):new ke([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Ie]=new ke(n,e)),i}parseSegment(){const n=rh(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new P(4009,!1);return this.capture(n),new dc(oh(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=rh(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=rh(this.remaining);o&&(i=o,this.capture(i))}n[oh(e)]=oh(i)}parseQueryParam(n){const e=function E8(t){const n=t.match(x8);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function I8(t){const n=t.match(A8);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const o=mx(e),r=mx(i);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(r)}else n[o]=r}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=rh(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new P(4010,!1);let r;i.indexOf(":")>-1?(r=i.slice(0,i.indexOf(":")),this.capture(r),this.capture(":")):n&&(r=Ie);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[Ie]:new ke([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new P(4011,!1)}}function x_(t){return t.segments.length>0?new ke([],{[Ie]:t}):t}function sh(t){const n={};for(const i of Object.keys(t.children)){const r=sh(t.children[i]);(r.segments.length>0||r.hasChildren())&&(n[i]=r)}return function R8(t){if(1===t.numberOfChildren&&t.children[Ie]){const n=t.children[Ie];return new ke(t.segments.concat(n.segments),n.children)}return t}(new ke(t.segments,n))}function rs(t){return t instanceof is}function F8(t,n,e,i,o){var r;if(0===e.length)return Ea(n.root,n.root,n.root,i,o);const s=function yx(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new vx(!0,0,t);let n=0,e=!1;const i=t.reduce((o,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const a={};return sn(r.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(r.segmentPath)return[...o,r.segmentPath]}return"string"!=typeof r?[...o,r]:0===s?(r.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,r]},[]);return new vx(e,n,i)}(e);if(s.toRoot())return Ea(n.root,n.root,new ke([],{}),i,o);const l=function a(h){var g;const v=function L8(t,n,e,i){if(t.isAbsolute)return new Aa(n.root,!0,0);if(-1===i)return new Aa(e,e===n.root,0);return function bx(t,n,e){let i=t,o=n,r=e;for(;r>o;){if(r-=o,i=i.parent,!i)throw new P(4005,!1);o=i.segments.length}return new Aa(i,!1,o-r)}(e,i+(hc(t.commands[0])?0:1),t.numberOfDoubleDots)}(s,n,null===(g=t.snapshot)||void 0===g?void 0:g._urlSegment,h),b=v.processChildren?pc(v.segmentGroup,v.index,s.commands):A_(v.segmentGroup,v.index,s.commands);return Ea(n.root,v.segmentGroup,b,i,o)}(null===(r=t.snapshot)||void 0===r?void 0:r._lastPathIndex);return l}function hc(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function fc(t){return"object"==typeof t&&null!=t&&t.outlets}function Ea(t,n,e,i,o){let s,r={};i&&sn(i,(l,c)=>{r[c]=Array.isArray(l)?l.map(h=>`${h}`):`${l}`}),s=t===n?e:_x(t,n,e);const a=x_(sh(s));return new is(a,r,o)}function _x(t,n,e){const i={};return sn(t.children,(o,r)=>{i[r]=o===n?e:_x(o,n,e)}),new ke(t.segments,i)}class vx{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&hc(i[0]))throw new P(4003,!1);const o=i.find(fc);if(o&&o!==ax(i))throw new P(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Aa{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function A_(t,n,e){if(t||(t=new ke([],{})),0===t.segments.length&&t.hasChildren())return pc(t,n,e);const i=function V8(t,n,e){let i=0,o=n;const r={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(i>=e.length)return r;const s=t.segments[o],a=e[i];if(fc(a))break;const l=`${a}`,c=i<e.length-1?e[i+1]:null;if(o>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!wx(l,c,s))return r;i+=2}else{if(!wx(l,{},s))return r;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const r=new ke(t.segments.slice(0,i.pathIndex),{});return r.children[Ie]=new ke(t.segments.slice(i.pathIndex),t.children),pc(r,0,o)}return i.match&&0===o.length?new ke(t.segments,{}):i.match&&!t.hasChildren()?I_(t,n,e):i.match?pc(t,0,o):I_(t,n,e)}function pc(t,n,e){if(0===e.length)return new ke(t.segments,{});{const i=function B8(t){return fc(t[0])?t[0].outlets:{[Ie]:t}}(e),o={};return sn(i,(r,s)=>{"string"==typeof r&&(r=[r]),null!==r&&(o[s]=A_(t.children[s],n,r))}),sn(t.children,(r,s)=>{void 0===i[s]&&(o[s]=r)}),new ke(t.segments,o)}}function I_(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o<e.length;){const r=e[o];if(fc(r)){const l=H8(r.outlets);return new ke(i,l)}if(0===o&&hc(e[0])){i.push(new dc(t.segments[n].path,Cx(e[0]))),o++;continue}const s=fc(r)?r.outlets[Ie]:`${r}`,a=o<e.length-1?e[o+1]:null;s&&a&&hc(a)?(i.push(new dc(s,Cx(a))),o+=2):(i.push(new dc(s,{})),o++)}return new ke(i,{})}function H8(t){const n={};return sn(t,(e,i)=>{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=I_(new ke([],{}),0,e))}),n}function Cx(t){const n={};return sn(t,(e,i)=>n[i]=`${e}`),n}function wx(t,n,e){return t==e.path&&Zi(n,e.parameters)}class ko{constructor(n,e){this.id=n,this.url=e}}class k_ extends ko{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ss extends ko{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ah extends ko{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Dx extends ko{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class j8 extends ko{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $8 extends ko{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class U8 extends ko{constructor(n,e,i,o,r){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class z8 extends ko{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class G8 extends ko{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class W8{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class q8{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Y8{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K8{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q8{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Z8{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sx{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Mx{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=R_(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=R_(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=O_(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return O_(n,this._root).map(e=>e.value)}}function R_(t,n){if(t===n.value)return n;for(const e of n.children){const i=R_(t,e);if(i)return i}return null}function O_(t,n){if(t===n.value)return[n];for(const e of n.children){const i=O_(t,e);if(i.length)return i.unshift(n),i}return[]}class Ro{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function Ia(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class Tx extends Mx{constructor(n,e){super(n),this.snapshot=e,P_(this,n)}toString(){return this.snapshot.toString()}}function xx(t,n){const e=function J8(t,n){const s=new lh([],{},{},"",{},Ie,n,null,t.root,-1,{});return new Ax("",new Ro(s,[]))}(t,n),i=new hn([new dc("",{})]),o=new hn({}),r=new hn({}),s=new hn({}),a=new hn(""),l=new Qn(i,o,s,a,r,Ie,n,e.root);return l.snapshot=e.root,new Tx(new Ro(l,[]),e)}class Qn{constructor(n,e,i,o,r,s,a,l){var c,h;this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.title=null!==(c=null===(h=this.data)||void 0===h?void 0:h.pipe(oe(g=>g[cc])))&&void 0!==c?c:$(void 0),this._futureSnapshot=l}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._paramMap=this.params.pipe(oe(n=>xa(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(oe(n=>xa(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ex(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],r=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(r.component)break;i--}}return function e6(t){return t.reduce((n,e)=>{var i;return{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...null===(i=e.routeConfig)||void 0===i?void 0:i.data,...e._resolvedData}}},{params:{},data:{},resolve:{}})}(e.slice(i))}class lh{constructor(n,e,i,o,r,s,a,l,c,h,g,v){var b;this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=r,this.outlet=s,this.component=a,this.title=null===(b=this.data)||void 0===b?void 0:b[cc],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=h,this._correctedLastPathIndex=v??h,this._resolve=g}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._paramMap=xa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ax extends Mx{constructor(n,e){super(e),this.url=n,P_(this,e)}toString(){return Ix(this._root)}}function P_(t,n){n.value._routerState=t,n.children.forEach(e=>P_(t,e))}function Ix(t){const n=t.children.length>0?` { ${t.children.map(Ix).join(", ")} } `:"";return`${t.value}${n}`}function F_(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Zi(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Zi(n.params,e.params)||t.params.next(e.params),function m8(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!Zi(t[e],n[e]))return!1;return!0}(n.url,e.url)||t.url.next(e.url),Zi(n.data,e.data)||t.data.next(e.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function N_(t,n){const e=Zi(t.params,n.params)&&function b8(t,n){return os(t,n)&&t.every((e,i)=>Zi(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||N_(t.parent,n.parent))}function mc(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function n6(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return mc(t,i,o);return mc(t,i)})}(t,n,e);return new Ro(i,o)}{if(t.shouldAttach(n.value)){const r=t.retrieve(n.value);if(null!==r){const s=r.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>mc(t,a)),s}}const i=function i6(t){return new Qn(new hn(t.url),new hn(t.params),new hn(t.queryParams),new hn(t.fragment),new hn(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(r=>mc(t,r));return new Ro(i,o)}}const L_="ngNavigationCancelingError";function kx(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=rs(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=Rx(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function Rx(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[L_]=!0,i.cancellationCode=n,e&&(i.url=e),i}function Ox(t){return Px(t)&&rs(t.url)}function Px(t){return t&&t[L_]}class o6{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new gc,this.attachRef=null}}let gc=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new o6,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const ch=!1;let ui=(()=>{class t{constructor(e,i,o,r,s){this.parentContexts=e,this.location=i,this.changeDetector=r,this.environmentInjector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.name=o||Ie,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){var e;(null===(e=this.parentContexts.getContext(this.name))||void 0===e?void 0:e.outlet)===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new P(4012,ch);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new P(4012,ch);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new P(4012,ch);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new P(4013,ch);this._activatedRoute=e;const o=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new r6(e,a,o.injector);if(i&&function s6(t){return!!t.resolveComponentFactory}(i)){const c=i.resolveComponentFactory(s);this.activated=o.createComponent(c,o.length,l)}else this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(_(gc),_(Dt),Fi("name"),_(qe),_(Yo))},t.\u0275dir=R({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class r6{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Qn?this.route:n===gc?this.childContexts:this.parent.get(n,e)}}let B_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],standalone:!0,features:[pw],decls:1,vars:0,template:function(e,i){1&e&&A(0,"router-outlet")},dependencies:[ui],encapsulation:2}),t})();function Fx(t,n){var e;return t.providers&&!t._injector&&(t._injector=Id(t.providers,n,`Route: ${t.path}`)),null!==(e=t._injector)&&void 0!==e?e:n}function H_(t){const n=t.children&&t.children.map(H_),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Ie&&(e.component=B_),e}function hi(t){return t.outlet||Ie}function Nx(t,n){const e=t.filter(i=>hi(i)===n);return e.push(...t.filter(i=>hi(i)!==n)),e}function _c(t){var n;if(!t)return null;if(null!==(n=t.routeConfig)&&void 0!==n&&n._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const i=e.routeConfig;if(null!=i&&i._loadedInjector)return i._loadedInjector;if(null!=i&&i._injector)return i._injector}return null}class u6{constructor(n,e,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),F_(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=Ia(e);n.children.forEach(r=>{const s=r.value.outlet;this.deactivateRoutes(r,o[s],i),delete o[s]}),sn(o,(r,s)=>{this.deactivateRouteAndItsChildren(r,i)})}deactivateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(o===r)if(o.component){const s=i.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else r&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=Ia(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,r=Ia(n);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],o);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const o=Ia(e);n.children.forEach(r=>{this.activateRoutes(r,o[r.value.outlet],i),this.forwardEvent(new Z8(r.value.snapshot))}),n.children.length&&this.forwardEvent(new K8(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,r=e?e.value:null;if(F_(o),o===r)if(o.component){const a=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const a=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const l=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),F_(l.route.value),this.activateChildRoutes(n,null,a.children)}else{var s;const l=_c(o.snapshot),c=null!==(s=l?.get(Ko))&&void 0!==s?s:null;a.attachRef=null,a.route=o,a.resolver=c,a.injector=l,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class Lx{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class dh{constructor(n,e){this.component=n,this.route=e}}function h6(t,n,e){const i=t._root;return vc(i,n?n._root:null,e,[i.value])}function ka(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function oI(t){return null!==Rc(t)}(t)?n.get(t):t:i}function vc(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=Ia(n);return t.children.forEach(s=>{(function p6(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const r=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function m6(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!os(t.url,n.url);case"pathParamsOrQueryParamsChange":return!os(t.url,n.url)||!Zi(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!N_(t,n)||!Zi(t.queryParams,n.queryParams);default:return!N_(t,n)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Lx(i)):(r.data=s.data,r._resolvedData=s._resolvedData),vc(t,n,r.component?a?a.children:null:e,i,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new dh(a.outlet.component,s))}else s&&yc(n,a,o),o.canActivateChecks.push(new Lx(i)),vc(t,null,r.component?a?a.children:null:e,i,o)})(s,r[s.value.outlet],e,i.concat([s.value]),o),delete r[s.value.outlet]}),sn(r,(s,a)=>yc(s,e.getContext(a),o)),o}function yc(t,n,e){const i=Ia(t),o=t.value;sn(i,(r,s)=>{yc(r,o.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new dh(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function bc(t){return"function"==typeof t}function j_(t){return t instanceof Ju||"EmptyError"===t?.name}const uh=Symbol("INITIAL_VALUE");function Ra(){return Ln(t=>_a(t.map(n=>n.pipe(pt(1),on(uh)))).pipe(oe(n=>{for(const e of n)if(!0!==e){if(e===uh)return uh;if(!1===e||e instanceof is)return e}return!0}),Ye(n=>n!==uh),pt(1)))}function Bx(t){return function TA(...t){return xv(t)}(Nt(n=>{if(rs(n))throw kx(0,n)}),oe(n=>!0===n))}const $_={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Vx(t,n,e,i,o){const r=U_(t,n,e);return r.matched?function R6(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?$(o.map(s=>{const a=ka(s,t);return pr(function C6(t){return t&&bc(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(Ra(),Bx()):$(!0)}(i=Fx(n,i),n,e).pipe(oe(s=>!0===s?r:{...$_})):$(r)}function U_(t,n,e){var i;if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...$_}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||p8)(e,t,n);if(!r)return{...$_};const s={};sn(r.posParams,(l,c)=>{s[c]=l.path});const a=r.consumed.length>0?{...s,...r.consumed[r.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function hh(t,n,e,i,o="corrected"){if(e.length>0&&function F6(t,n,e){return e.some(i=>fh(t,n,i)&&hi(i)!==Ie)}(t,e,i)){const s=new ke(n,function P6(t,n,e,i){const o={};o[Ie]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const r of e)if(""===r.path&&hi(r)!==Ie){const s=new ke([],{});s._sourceSegment=t,s._segmentIndexShift=n.length,o[hi(r)]=s}return o}(t,n,i,new ke(e,t.children)));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function N6(t,n,e){return e.some(i=>fh(t,n,i))}(t,e,i)){const s=new ke(t.segments,function O6(t,n,e,i,o,r){const s={};for(const a of i)if(fh(t,e,a)&&!o[hi(a)]){const l=new ke([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===r?t.segments.length:n.length,s[hi(a)]=l}return{...o,...s}}(t,n,e,i,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}const r=new ke(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}function fh(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function Hx(t,n,e,i){return!!(hi(t)===i||i!==Ie&&fh(n,e,t))&&("**"===t.path||U_(n,t,e).matched)}function jx(t,n,e){return 0===n.length&&!t.children[e]}const ph=!1;class mh{constructor(n){this.segmentGroup=n||null}}class $x{constructor(n){this.urlTree=n}}function Cc(t){return Ma(new mh(t))}function Ux(t){return Ma(new $x(t))}class H6{constructor(n,e,i,o,r){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=o,this.config=r,this.allowRedirects=!0}apply(){const n=hh(this.urlTree.root,[],[],this.config).segmentGroup,e=new ke(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,Ie).pipe(oe(r=>this.createUrlTree(sh(r),this.urlTree.queryParams,this.urlTree.fragment))).pipe(xo(r=>{if(r instanceof $x)return this.allowRedirects=!1,this.match(r.urlTree);throw r instanceof mh?this.noMatchError(r):r}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,Ie).pipe(oe(o=>this.createUrlTree(sh(o),n.queryParams,n.fragment))).pipe(xo(o=>{throw o instanceof mh?this.noMatchError(o):o}))}noMatchError(n){return new P(4002,ph)}createUrlTree(n,e,i){const o=x_(n);return new is(o,e,i)}expandSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(oe(r=>new ke([],r))):this.expandSegment(n,i,e,i.segments,o,!0)}expandChildren(n,e,i){const o=[];for(const r of Object.keys(i.children))"primary"===r?o.unshift(r):o.push(r);return xt(o).pipe(lr(r=>{const s=i.children[r],a=Nx(e,r);return this.expandSegmentGroup(n,a,s,r).pipe(oe(l=>({segment:l,outlet:r})))}),ix((r,s)=>(r[s.outlet]=s.segment,r),{}),ox())}expandSegment(n,e,i,o,r,s){return xt(i).pipe(lr(a=>this.expandSegmentAgainstRoute(n,e,i,a,o,r,s).pipe(xo(c=>{if(c instanceof mh)return $(null);throw c}))),fr(a=>!!a),xo((a,l)=>{if(j_(a))return jx(e,o,r)?$(new ke([],{})):Cc(e);throw a}))}expandSegmentAgainstRoute(n,e,i,o,r,s,a){return Hx(o,e,r,s)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,r,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s):Cc(e):Cc(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const r=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?Ux(r):this.lineralizeSegments(i,r).pipe(lt(s=>{const a=new ke(s,{});return this.expandSegment(n,a,e,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,r,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:h}=U_(e,o,r);if(!a)return Cc(e);const g=this.applyRedirectCommands(l,o.redirectTo,h);return o.redirectTo.startsWith("/")?Ux(g):this.lineralizeSegments(o,g).pipe(lt(v=>this.expandSegment(n,e,i,v.concat(c),s,!1)))}matchSegmentAgainstRoute(n,e,i,o,r){return"**"===i.path?(n=Fx(i,n),i.loadChildren?(i._loadedRoutes?$({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(oe(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new ke(o,{})))):$(new ke(o,{}))):Vx(e,i,o,n).pipe(Ln(({matched:s,consumedSegments:a,remainingSegments:l})=>{var c;return s?(n=null!==(c=i._injector)&&void 0!==c?c:n,this.getChildConfig(n,i,o).pipe(lt(g=>{var v;const b=null!==(v=g.injector)&&void 0!==v?v:n,C=g.routes,{segmentGroup:w,slicedSegments:x}=hh(e,a,l,C),E=new ke(w.segments,w.children);if(0===x.length&&E.hasChildren())return this.expandChildren(b,C,E).pipe(oe(fe=>new ke(a,fe)));if(0===C.length&&0===x.length)return $(new ke(a,{}));const B=hi(i)===r;return this.expandSegment(b,E,C,x,B?Ie:r,!0).pipe(oe(H=>new ke(a.concat(H.segments),H.children)))}))):Cc(e)}))}getChildConfig(n,e,i){return e.children?$({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?$({routes:e._loadedRoutes,injector:e._loadedInjector}):function k6(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?$(!0):$(o.map(s=>{const a=ka(s,t);return pr(function _6(t){return t&&bc(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(Ra(),Bx())}(n,e,i).pipe(lt(o=>o?this.configLoader.loadChildren(n,e).pipe(Nt(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function B6(t){return Ma(Rx(ph,3))}())):$({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return $(i);if(o.numberOfChildren>1||!o.children[Ie])return Ma(new P(4e3,ph));o=o.children[Ie]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const r=this.createSegmentGroup(n,e.root,i,o);return new is(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return sn(n,(o,r)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[r]=e[a]}else i[r]=o}),i}createSegmentGroup(n,e,i,o){const r=this.createSegments(n,e.segments,i,o);let s={};return sn(e.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,o)}),new ke(r,s)}createSegments(n,e,i,o){return e.map(r=>r.path.startsWith(":")?this.findPosParam(n,r,o):this.findOrReturn(r,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new P(4001,ph);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}class $6{}class G6{constructor(n,e,i,o,r,s,a,l){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=o,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const n=hh(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,Ie).pipe(oe(e=>{if(null===e)return null;const i=new lh([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ie,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Ro(i,e),r=new Ax(this.url,o);return this.inheritParamsAndData(r._root),r}))}inheritParamsAndData(n){const e=n.value,i=Ex(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o)}processChildren(n,e,i){return xt(Object.keys(i.children)).pipe(lr(o=>{const r=i.children[o],s=Nx(e,o);return this.processSegmentGroup(n,s,r,o)}),ix((o,r)=>o&&r?(o.push(...r),o):null),MS(o=>null!==o),eh(null),ox(),oe(o=>{if(null===o)return null;const r=zx(o);return function W6(t){t.sort((n,e)=>n.value.outlet===Ie?-1:e.value.outlet===Ie?1:n.value.outlet.localeCompare(e.value.outlet))}(r),r}))}processSegment(n,e,i,o,r){return xt(e).pipe(lr(s=>{var a;return this.processSegmentAgainstRoute(null!==(a=s._injector)&&void 0!==a?a:n,s,i,o,r)}),fr(s=>!!s),xo(s=>{if(j_(s))return jx(i,o,r)?$([]):$(null);throw s}))}processSegmentAgainstRoute(n,e,i,o,r){if(e.redirectTo||!Hx(e,i,o,r))return $(null);let s;if("**"===e.path){var a,l;const c=o.length>0?ax(o).parameters:{},h=Wx(i)+o.length;s=$({snapshot:new lh(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Yx(e),hi(e),null!==(a=null!==(l=e.component)&&void 0!==l?l:e._loadedComponent)&&void 0!==a?a:null,e,Gx(i),h,Kx(e),h),consumedSegments:[],remainingSegments:[]})}else s=Vx(i,e,o,n).pipe(oe(({matched:c,consumedSegments:h,remainingSegments:g,parameters:v})=>{var b,C;if(!c)return null;const w=Wx(i)+h.length;return{snapshot:new lh(h,v,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Yx(e),hi(e),null!==(b=null!==(C=e.component)&&void 0!==C?C:e._loadedComponent)&&void 0!==b?b:null,e,Gx(i),w,Kx(e),w),consumedSegments:h,remainingSegments:g}}));return s.pipe(Ln(c=>{var h,g;if(null===c)return $(null);const{snapshot:v,consumedSegments:b,remainingSegments:C}=c;n=null!==(h=e._injector)&&void 0!==h?h:n;const w=null!==(g=e._loadedInjector)&&void 0!==g?g:n,x=function q6(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:E,slicedSegments:B}=hh(i,b,C,x.filter(H=>void 0===H.redirectTo),this.relativeLinkResolution);if(0===B.length&&E.hasChildren())return this.processChildren(w,x,E).pipe(oe(H=>null===H?null:[new Ro(v,H)]));if(0===x.length&&0===B.length)return $([new Ro(v,[])]);const k=hi(e)===r;return this.processSegment(w,x,E,B,k?Ie:r).pipe(oe(H=>null===H?null:[new Ro(v,H)]))}))}}function Y6(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function zx(t){const n=[],e=new Set;for(const i of t){if(!Y6(i)){n.push(i);continue}const o=n.find(r=>i.value.routeConfig===r.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=zx(i.children);n.push(new Ro(i.value,o))}return n.filter(i=>!e.has(i))}function Gx(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function Wx(t){var n;let e=t,i=null!==(n=e._segmentIndexShift)&&void 0!==n?n:0;for(;e._sourceSegment;){var o;e=e._sourceSegment,i+=null!==(o=e._segmentIndexShift)&&void 0!==o?o:0}return i-1}function Yx(t){return t.data||{}}function Kx(t){return t.resolve||{}}function Qx(t){return"string"==typeof t.title||null===t.title}function z_(t){return Ln(n=>{const e=t(n);return e?xt(e).pipe(oe(()=>n)):$(n)})}let Zx=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;){var r;i=null!==(r=this.getResolvedTitleForRoute(o))&&void 0!==r?r:i,o=o.children.find(s=>s.outlet===Ie)}return i}getResolvedTitleForRoute(e){return e.data[cc]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:function(){return rt(Xx)},providedIn:"root"}),t})(),Xx=(()=>{class t extends Zx{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(T(yD))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class nz{}class oz extends class iz{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const _h=new O("",{providedIn:"root",factory:()=>({})}),G_=new O("ROUTES");let W_=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return $(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=pr(e.loadComponent()).pipe(Nt(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Gu(()=>{this.componentLoaders.delete(e)})),o=new ng(i,()=>new W).pipe(tg());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return $({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const r=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(oe(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,h=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=sx(l.get(G_,[],ce.Self|ce.Optional)));return{routes:c.map(H_),injector:l}}),Gu(()=>{this.childrenLoaders.delete(i)})),s=new ng(r,()=>new W).pipe(tg());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return pr(e()).pipe(lt(i=>i instanceof hw||Array.isArray(i)?$(i):xt(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(T(Rt),T(gm))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class sz{}class az{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function lz(t){throw t}function cz(t,n,e){return n.parse("/")}const dz={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},uz={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function eE(){var t,n;const e=rt(fx),i=rt(gc),o=rt(xi),r=rt(Rt),s=rt(gm),a=null!==(t=rt(G_,{optional:!0}))&&void 0!==t?t:[],l=null!==(n=rt(_h,{optional:!0}))&&void 0!==n?n:{},c=rt(Xx),h=rt(Zx,{optional:!0}),g=rt(sz,{optional:!0}),v=rt(nz,{optional:!0}),b=new Ke(null,e,i,o,r,s,sx(a));return g&&(b.urlHandlingStrategy=g),v&&(b.routeReuseStrategy=v),b.titleStrategy=h??c,function hz(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(l,b),b}let Ke=(()=>{class t{constructor(e,i,o,r,s,a,l){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=o,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new W,this.errorHandler=lz,this.malformedUriErrorHandler=cz,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>$(void 0),this.urlHandlingStrategy=new az,this.routeReuseStrategy=new oz,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(W_),this.configLoader.onLoadEndListener=v=>this.triggerEvent(new q8(v)),this.configLoader.onLoadStartListener=v=>this.triggerEvent(new W8(v)),this.ngModule=s.get(Fr),this.console=s.get(ON);const g=s.get(ne);this.isNgZoneEnabled=g instanceof ne&&ne.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function g8(){return new is(new ke([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=xx(this.currentUrlTree,this.rootComponentType),this.transitions=new hn({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(Ye(o=>0!==o.id),oe(o=>({...o,extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),Ln(o=>{let r=!1,s=!1;return $(o).pipe(Nt(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Ln(a=>{const l=this.browserUrlTree.toString(),c=!this.navigated||a.extractedUrl.toString()!==l||l!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return tE(a.source)&&(this.browserUrlTree=a.extractedUrl),$(a).pipe(Ln(g=>{const v=this.transitions.getValue();return i.next(new k_(g.id,this.serializeUrl(g.extractedUrl),g.source,g.restoredState)),v!==this.transitions.getValue()?It:Promise.resolve(g)}),function j6(t,n,e,i){return Ln(o=>function V6(t,n,e,i,o){return new H6(t,n,e,i,o).apply()}(t,n,e,o.extractedUrl,i).pipe(oe(r=>({...o,urlAfterRedirects:r}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Nt(g=>{this.currentNavigation={...this.currentNavigation,finalUrl:g.urlAfterRedirects},o.urlAfterRedirects=g.urlAfterRedirects}),function Q6(t,n,e,i,o,r){return lt(s=>function z6(t,n,e,i,o,r,s="emptyOnly",a="legacy"){return new G6(t,n,e,i,o,s,a,r).recognize().pipe(Ln(l=>null===l?function U6(t){return new Ge(n=>n.error(t))}(new $6):$(l)))}(t,n,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,o,r).pipe(oe(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),Nt(g=>{if(o.targetSnapshot=g.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!g.extras.skipLocationChange){const b=this.urlHandlingStrategy.merge(g.urlAfterRedirects,g.rawUrl);this.setBrowserUrl(b,g)}this.browserUrlTree=g.urlAfterRedirects}const v=new j8(g.id,this.serializeUrl(g.extractedUrl),this.serializeUrl(g.urlAfterRedirects),g.targetSnapshot);i.next(v)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:v,extractedUrl:b,source:C,restoredState:w,extras:x}=a,E=new k_(v,this.serializeUrl(b),C,w);i.next(E);const B=xx(b,this.rootComponentType).snapshot;return $(o={...a,targetSnapshot:B,urlAfterRedirects:b,extras:{...x,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),It}),Nt(a=>{const l=new $8(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),oe(a=>o={...a,guards:h6(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function D6(t,n){return lt(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return 0===s.length&&0===r.length?$({...e,guardsResult:!0}):function S6(t,n,e,i){return xt(t).pipe(lt(o=>function I6(t,n,e,i,o){const r=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return r&&0!==r.length?$(r.map(a=>{var l;const c=null!==(l=_c(n))&&void 0!==l?l:o,h=ka(a,c);return pr(function b6(t){return t&&bc(t.canDeactivate)}(h)?h.canDeactivate(t,n,e,i):c.runInContext(()=>h(t,n,e,i))).pipe(fr())})).pipe(Ra()):$(!0)}(o.component,o.route,e,n,i)),fr(o=>!0!==o,!0))}(s,i,o,t).pipe(lt(a=>a&&function g6(t){return"boolean"==typeof t}(a)?function M6(t,n,e,i){return xt(n).pipe(lr(o=>wu(function x6(t,n){return null!==t&&n&&n(new Y8(t)),$(!0)}(o.route.parent,i),function T6(t,n){return null!==t&&n&&n(new Q8(t)),$(!0)}(o.route,i),function A6(t,n,e){const i=n[n.length-1],r=n.slice(0,n.length-1).reverse().map(s=>function f6(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>ic(()=>$(s.guards.map(l=>{var c;const h=null!==(c=_c(s.node))&&void 0!==c?c:e,g=ka(l,h);return pr(function y6(t){return t&&bc(t.canActivateChild)}(g)?g.canActivateChild(i,t):h.runInContext(()=>g(i,t))).pipe(fr())})).pipe(Ra())));return $(r).pipe(Ra())}(t,o.path,e),function E6(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return $(!0);const o=i.map(r=>ic(()=>{var s;const a=null!==(s=_c(n))&&void 0!==s?s:e,l=ka(r,a);return pr(function v6(t){return t&&bc(t.canActivate)}(l)?l.canActivate(n,t):a.runInContext(()=>l(n,t))).pipe(fr())}));return $(o).pipe(Ra())}(t,o.route,e))),fr(o=>!0!==o,!0))}(i,r,t,n):$(a)),oe(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),Nt(a=>{if(o.guardsResult=a.guardsResult,rs(a.guardsResult))throw kx(0,a.guardsResult);const l=new U8(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),Ye(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),z_(a=>{if(a.guards.canActivateChecks.length)return $(a).pipe(Nt(l=>{const c=new z8(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Ln(l=>{let c=!1;return $(l).pipe(function Z6(t,n){return lt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return $(e);let r=0;return xt(o).pipe(lr(s=>function X6(t,n,e,i){const o=t.routeConfig,r=t._resolve;return void 0!==o?.title&&!Qx(o)&&(r[cc]=o.title),function J6(t,n,e,i){const o=function ez(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return $({});const r={};return xt(o).pipe(lt(s=>function tz(t,n,e,i){var o;const r=null!==(o=_c(n))&&void 0!==o?o:i,s=ka(t,r);return pr(s.resolve?s.resolve(n,e):r.runInContext(()=>s(n,e)))}(t[s],n,e,i).pipe(fr(),Nt(a=>{r[s]=a}))),w_(1),D_(r),xo(s=>j_(s)?It:Ma(s)))}(r,t,n,i).pipe(oe(s=>(t._resolvedData=s,t.data=Ex(t,e).resolve,o&&Qx(o)&&(t.data[cc]=o.title),null)))}(s.route,i,t,n)),Nt(()=>r++),w_(1),lt(s=>r===o.length?$(e):It))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Nt({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),Nt(l=>{const c=new G8(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),z_(a=>{const l=c=>{var h;const g=[];null!==(h=c.routeConfig)&&void 0!==h&&h.loadComponent&&!c.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(c.routeConfig).pipe(Nt(v=>{c.component=v}),oe(()=>{})));for(const v of c.children)g.push(...l(v));return g};return _a(l(a.targetSnapshot.root)).pipe(eh(),pt(1))}),z_(()=>this.afterPreactivation()),oe(a=>{const l=function t6(t,n,e){const i=mc(t,n._root,e?e._root:void 0);return new Tx(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return o={...a,targetRouterState:l}}),Nt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((t,n,e)=>oe(i=>(new u6(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),Nt({next(){r=!0},complete(){r=!0}}),Gu(()=>{var a;r||s||this.cancelNavigationTransition(o,"",1),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),xo(a=>{if(s=!0,Px(a)){Ox(a)||(this.navigated=!0,this.restoreHistory(o,!0));const c=new ah(o.id,this.serializeUrl(o.extractedUrl),a.message,a.cancellationCode);if(i.next(c),Ox(a)){const h=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),g={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||tE(o.source)};this.scheduleNavigation(h,"imperative",null,g,{resolve:o.resolve,reject:o.reject,promise:o.promise})}else o.resolve(!1)}else{var l;this.restoreHistory(o,!0);const c=new Dx(o.id,this.serializeUrl(o.extractedUrl),a,null!==(l=o.targetSnapshot)&&void 0!==l?l:void 0);i.next(c);try{o.resolve(this.errorHandler(a))}catch(h){o.reject(h)}}return It}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next({...this.transitions.value,...e})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var o;const r={replaceUrl:!0},s=null!==(o=e.state)&&void 0!==o&&o.navigationId?e.state:null;if(s){const l={...s};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,s,r)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){this.config=e.map(H_),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:o,queryParams:r,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,c=o||this.routerState.root,h=l?this.currentUrlTree.fragment:s;let g=null;switch(a){case"merge":g={...this.currentUrlTree.queryParams,...r};break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=r||null}return null!==g&&(g=this.removeEmptyProps(g)),F8(c,this.currentUrlTree,e,g,h??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=rs(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function fz(t){for(let n=0;n<t.length;n++){if(null==t[n])throw new P(4008,false)}}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let i;try{i=this.urlSerializer.parse(e)}catch(o){i=this.malformedUriErrorHandler(o,this.urlSerializer,e)}return i}isActive(e,i){let o;if(o=!0===i?{...dz}:!1===i?{...uz}:i,rs(e))return cx(this.currentUrlTree,e,o);const r=this.parseUrl(e);return cx(this.currentUrlTree,r,o)}removeEmptyProps(e){return Object.keys(e).reduce((i,o)=>{const r=e[o];return null!=r&&(i[o]=r),i},{})}processNavigations(){this.navigations.subscribe(e=>{var i;this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new ss(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,null===(i=this.titleStrategy)||void 0===i||i.updateTitle(this.routerState.snapshot),e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,o,r,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((C,w)=>{a=C,l=w});const h=++this.navigationId;let g;if("computed"===this.canceledNavigationResolution)if(0===this.currentPageId&&(o=this.location.getState()),o&&o.\u0275routerPageId)g=o.\u0275routerPageId;else if(r.replaceUrl||r.skipLocationChange){var v;g=null!==(v=this.browserPageId)&&void 0!==v?v:0}else{var b;g=(null!==(b=this.browserPageId)&&void 0!==b?b:0)+1}else g=0;return this.setTransition({id:h,targetPageId:g,source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(C=>Promise.reject(C))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e),r={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl?this.location.replaceState(o,"",r):this.location.go(o,"",r)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){var o,r;const s=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===s?this.currentUrlTree===(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(s)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i,o){const r=new ah(e.id,this.serializeUrl(e.extractedUrl),i,o);this.triggerEvent(r),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){Qo()},t.\u0275prov=V({token:t,factory:function(){return eE()},providedIn:"root"}),t})();function tE(t){return"imperative"!==t}let yh=(()=>{class t{constructor(e,i,o,r,s){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=r,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new W,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=vo(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=vo(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=vo(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,o=this.el.nativeElement;null!==e?i.setAttribute(o,"tabindex",e):i.removeAttribute(o,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(_(Ke),_(Qn),Fi("tabindex"),_(co),_(Z))},t.\u0275dir=R({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&J("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[ct]}),t})(),Bt=(()=>{class t{constructor(e,i,o){this.router=e,this.route=i,this.locationStrategy=o,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new W,this.subscription=e.events.subscribe(r=>{r instanceof ss&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=vo(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=vo(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=vo(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,o,r,s){return!!(0!==e||i||o||r||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(_(Ke),_(Qn),_(Hr))},t.\u0275dir=R({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&J("click",function(r){return i.onClick(r.button,r.ctrlKey,r.shiftKey,r.altKey,r.metaKey)}),2&e&&Me("target",i.target)("href",i.href,Tr)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[ct]}),t})();class nE{}let gz=(()=>{class t{constructor(e,i,o,r,s){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Ye(e=>e instanceof ss),lr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const l of i){var r,s;l.providers&&!l._injector&&(l._injector=Id(l.providers,e,`Route: ${l.path}`));const c=null!==(r=l._injector)&&void 0!==r?r:e,h=null!==(s=l._loadedInjector)&&void 0!==s?s:c;if(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)o.push(this.preloadConfig(c,l));else if(l.children||l._loadedRoutes){var a;o.push(this.processRoutes(h,null!==(a=l.children)&&void 0!==a?a:l._loadedRoutes))}}return xt(o).pipe(ys())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):$(null);const r=o.pipe(lt(s=>{var a;return null===s?$(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(null!==(a=s.injector)&&void 0!==a?a:e,s.routes))}));return i.loadComponent&&!i._loadedComponent?xt([r,this.loader.loadComponent(i)]).pipe(ys()):r})}}return t.\u0275fac=function(e){return new(e||t)(T(Ke),T(gm),T(Yo),T(nE),T(W_))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const q_=new O("");let iE=(()=>{class t{constructor(e,i,o={}){this.router=e,this.viewportScroller=i,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof k_?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ss&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Sx&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new Sx(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){Qo()},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();function Oa(t,n){return{\u0275kind:t,\u0275providers:n}}function Y_(t){return[{provide:G_,multi:!0,useValue:t}]}function rE(){const t=rt(Rt);return n=>{var e,i;const o=t.get(la);if(n!==o.components[0])return;const r=t.get(Ke),s=t.get(sE);1===t.get(K_)&&r.initialNavigation(),null===(e=t.get(aE,null,ce.Optional))||void 0===e||e.setUpPreloading(),null===(i=t.get(q_,null,ce.Optional))||void 0===i||i.init(),r.resetRootComponentType(o.componentTypes[0]),s.next(),s.complete()}}const sE=new O("",{factory:()=>new W}),K_=new O("",{providedIn:"root",factory:()=>1});const aE=new O("");function bz(t){return Oa(0,[{provide:aE,useExisting:gz},{provide:nE,useExisting:t}])}const lE=new O("ROUTER_FORROOT_GUARD"),Cz=[xi,{provide:fx,useClass:M_},{provide:Ke,useFactory:eE},gc,{provide:Qn,useFactory:function oE(t){return t.routerState.root},deps:[Ke]},W_];function wz(){return new l1("Router",Ke)}let Q_=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[Cz,[],Y_(e),{provide:lE,useFactory:Tz,deps:[[Ke,new Ni,new qo]]},{provide:_h,useValue:i||{}},null!=i&&i.useHash?{provide:Hr,useClass:CL}:{provide:Hr,useClass:O1},{provide:q_,useFactory:()=>{const t=rt(Ke),n=rt(N3),e=rt(_h);return e.scrollOffset&&n.setOffset(e.scrollOffset),new iE(t,n,e)}},null!=i&&i.preloadingStrategy?bz(i.preloadingStrategy).\u0275providers:[],{provide:l1,multi:!0,useFactory:wz},null!=i&&i.initialNavigation?xz(i):[],[{provide:cE,useFactory:rE},{provide:e1,multi:!0,useExisting:cE}]]}}static forChild(e){return{ngModule:t,providers:[Y_(e)]}}}return t.\u0275fac=function(e){return new(e||t)(T(lE,8))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[B_]}),t})();function Tz(t){return"guarded"}function xz(t){return["disabled"===t.initialNavigation?Oa(3,[{provide:Ml,multi:!0,useFactory:()=>{const n=rt(Ke);return()=>{n.setUpLocationChangeListener()}}},{provide:K_,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Oa(2,[{provide:K_,useValue:0},{provide:Ml,multi:!0,deps:[Rt],useFactory:n=>{const e=n.get(yL,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(r=>{const s=n.get(Ke),a=n.get(sE);(function o(r){n.get(Ke).events.pipe(Ye(a=>a instanceof ss||a instanceof ah||a instanceof Dx),oe(a=>a instanceof ss||a instanceof ah&&(0===a.code||1===a.code)&&null),Ye(a=>null!==a),pt(1)).subscribe(()=>{r()})})(()=>{r(!0),i=!0}),s.afterPreactivation=()=>(r(!0),i||a.closed?$(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const cE=new O("");let He=(()=>{class t{constructor(e){this.http=e}getUsers(){return this.http.get("/api/users")}getUser(e){return this.http.get("/api/users/"+e)}getDevices(){return this.http.get("/api/devices")}getDevice(e){return this.http.get("/api/devices/"+e)}getGroups(){return this.http.get("/api/groups")}getGroup(e){return this.http.get("/api/groups/"+e)}getAdministrativeUnits(){return this.http.get("/api/administrativeunits")}getAdministrativeUnit(e){return this.http.get("/api/administrativeunits/"+e)}getServicePrincipals(){return this.http.get("/api/serviceprincipals")}getServicePrincipal(e){return this.http.get("/api/serviceprincipals/"+e)}getServicePrincipalByAppId(e){return this.http.get("/api/serviceprincipals-by-appid/"+e)}getApplications(){return this.http.get("/api/applications")}getApplication(e){return this.http.get("/api/applications/"+e)}getDirectoryRoles(){return this.http.get("/api/directoryroles")}getRoleDefinitions(){return this.http.get("/api/roledefinitions")}getTenantStats(){return this.http.get("/api/stats")}getTenantDetail(){return this.http.get("/api/tenantdetails")}getDirectorySetting(){return this.http.get("/api/directorysettings")}getAuthorizationPolicies(){return this.http.get("/api/authorizationpolicies")}getAppRoles(){return this.http.get("/api/approles")}getAppRolesByResource(e){return this.http.get("/api/approles_by_resource/"+e)}getAppRolesByPrincipal(e){return this.http.get("/api/approles_by_principal/"+e)}getMfa(){return this.http.get("/api/mfa")}getOAuth2Permissions(){return this.http.get("/api/oauth2permissions")}}return t.\u0275fac=function(e){return new(e||t)(T(Yu))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),dE=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getUser(o).pipe(lt(r=>r?$(r):(this.router.navigate(["/users"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uE=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getDevice(o).pipe(lt(r=>r?$(r):(this.router.navigate(["/users"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),hE=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getGroup(o).pipe(lt(r=>r?$(r):(this.router.navigate(["/groups"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Az=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getAdministrativeUnit(o).pipe(lt(r=>r?$(r):(this.router.navigate(["/administrativeunits"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Iz=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getApplication(o).pipe(lt(r=>r?$(r):(this.router.navigate(["/groups"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fE=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getServicePrincipal(o).pipe(lt(r=>r?$(r):(this.router.navigate(["/serviceprincipals"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),kz=(()=>{class t{constructor(e,i){this.dbservice=e,this.router=i}resolve(e,i){let o=e.paramMap.get("id");return this.dbservice.getServicePrincipalByAppId(o).pipe(lt(r=>r?(this.router.navigate(["/serviceprincipals",r.objectId]),It):(this.router.navigate(["/serviceprincipals"]),It)))}}return t.\u0275fac=function(e){return new(e||t)(T(He),T(Ke))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const pE=ua({passive:!0});let Rz=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return It;const i=Co(e),o=this._monitoredElements.get(i);if(o)return o.subject;const r=new W,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,pE),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:r,unlisten:()=>{i.removeEventListener("animationstart",a,pE)}}),r}stopMonitoring(e){const i=Co(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(T(St),T(ne))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})();const Oz=new O("MAT_INPUT_VALUE_ACCESSOR"),Pz=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Fz=0;const Nz=dS(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new W}});let Oo=(()=>{class t extends Nz{constructor(e,i,o,r,s,a,l,c,h,g){super(a,r,s,o),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=g,this._uid="mat-input-"+Fz++,this.focused=!1,this.stateChanges=new W,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(C=>ED().has(C)),this._iOSKeyupListener=C=>{const w=C.target;!w.value&&0===w.selectionStart&&0===w.selectionEnd&&(w.setSelectionRange(1,1),w.setSelectionRange(0,0))};const v=this._elementRef.nativeElement,b=v.nodeName.toLowerCase();this._inputValueAccessor=l||v,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&h.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===b,this._isTextarea="textarea"===b,this._isInFormField=!!g,this._isNativeSelect&&(this.controlType=v.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=ge(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,o,r;return null!==(e=null!==(i=this._required)&&void 0!==i?i:null===(o=this.ngControl)||void 0===o||null===(r=o.control)||void 0===r?void 0:r.hasValidator(KS.required))&&void 0!==e&&e}set required(e){this._required=ge(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ED().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ge(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e;const i=this._formField,o=!i||"legacy"!==i.appearance||null!==(e=i._hasLabel)&&void 0!==e&&e.call(i)?this.placeholder:null;if(o!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=o,o?r.setAttribute("placeholder",o):r.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){Pz.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(St),_(Qi,10),_(tc,8),_(nc,8),_(Fg),_(Oz,10),_(Rz),_(ne),_(zg,8))},t.\u0275dir=R({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&J("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Or("disabled",i.disabled)("required",i.required),Me("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),ee("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[q([{provide:Ru,useExisting:t}]),j,ct]}),t})(),Lz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[Fg],imports:[mE,Gg,Ae,mE,Gg]}),t})();class Bz extends W{constructor(n=1/0,e=1/0,i=ug){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;e||(i.push(n),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!n.closed;s+=i?1:2)n.next(r[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){const{_bufferSize:n,_timestampProvider:e,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*n;if(n<1/0&&r<i.length&&i.splice(0,i.length-r),!o){const s=e.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}function gE(t,n,e){let i,o=!1;return t&&"object"==typeof t?({bufferSize:i=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t):i=t??1/0,Xh({connector:()=>new Bz(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}var ki=(()=>{return(t=ki||(ki={})).Local="local_strategy",t.Session="session_strategy",t.InMemory="in_memory_strategy",ki;var t})();function wh(){}let Xi=(()=>{class t{static normalize(e){return e=t.isCaseSensitive?e:e.toLowerCase(),`${t.prefix}${t.separator}${e}`}static isNormalizedKey(e){return 0===e.indexOf(t.prefix+t.separator)}static setPrefix(e){t.prefix=e}static setSeparator(e){t.separator=e}static setCaseSensitive(e){t.isCaseSensitive=e}static consumeConfiguration(e){"prefix"in e&&this.setPrefix(e.prefix),"separator"in e&&this.setSeparator(e.separator),"caseSensitive"in e&&this.setCaseSensitive(e.caseSensitive)}}return t.prefix="ngx-webstorage",t.separator="|",t.isCaseSensitive=!1,t})();class Dh{constructor(n){this.strategy=n}retrieve(n){let e;return this.strategy.get(Xi.normalize(n)).subscribe(i=>e=typeof i>"u"?null:i),e}store(n,e){return this.strategy.set(Xi.normalize(n),e).subscribe(wh),e}clear(n){void 0!==n?this.strategy.del(Xi.normalize(n)).subscribe(wh):this.strategy.clear().subscribe(wh)}getStrategyName(){return this.strategy.name}observe(n){return n=Xi.normalize(n),this.strategy.keyChanges.pipe(Ye(e=>null===e||e===n),Ln(()=>this.strategy.get(n)),ga(),gE({refCount:!0,bufferSize:1}))}}let Z_=(()=>{class t{constructor(){this.caches={}}get(e,i){return this.getCacheStore(e)[i]}set(e,i,o){this.getCacheStore(e)[i]=o}del(e,i){delete this.getCacheStore(e)[i]}clear(e){this.caches[e]={}}getCacheStore(e){return e in this.caches?this.caches[e]:this.caches[e]={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const _E=new O("window_local_storage"),zz={provide:_E,useFactory:function Uz(){return typeof window<"u"?window.localStorage:null}},vE=new O("window_session_storage"),Wz={provide:vE,useFactory:function Gz(){return typeof window<"u"?window.sessionStorage:null}};class yE{constructor(n,e){this.storage=n,this.cache=e,this.keyChanges=new W}get isAvailable(){return void 0===this._isAvailable&&(this._isAvailable=class Vz{static isStorageAvailable(n){let e=!0;try{"object"==typeof n?(n.setItem("test-storage","foobar"),n.removeItem("test-storage")):e=!1}catch{e=!1}return e}}.isStorageAvailable(this.storage)),this._isAvailable}get(n){let e=this.cache.get(this.name,n);if(void 0!==e)return $(e);try{const i=this.storage.getItem(n);null!==i&&(e=JSON.parse(i),this.cache.set(this.name,n,e))}catch(i){console.warn(i)}return $(e)}set(n,e){const i=JSON.stringify(e);return this.storage.setItem(n,i),this.cache.set(this.name,n,e),this.keyChanges.next(n),$(e)}del(n){return this.storage.removeItem(n),this.cache.del(this.name,n),this.keyChanges.next(n),$(null)}clear(){return this.storage.clear(),this.cache.clear(this.name),this.keyChanges.next(null),$(null)}}class Po extends yE{constructor(n,e,i,o){super(n,e),this.storage=n,this.cache=e,this.platformId=i,this.zone=o,this.name=Po.strategyName,Gm(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",n=>this.zone.run(()=>{if(n.storageArea!==this.storage)return;const e=n.key;null!==e?this.cache.del(this.name,n.key):this.cache.clear(this.name),this.keyChanges.next(e)}))}}Po.strategyName=ki.Local,Po.\u0275fac=function(n){return new(n||Po)(T(_E),T(Z_),T(aa),T(ne))},Po.\u0275prov=V({token:Po,factory:Po.\u0275fac});class Fo extends yE{constructor(n,e,i,o){super(n,e),this.storage=n,this.cache=e,this.platformId=i,this.zone=o,this.name=Fo.strategyName,Gm(this.platformId)&&this.listenExternalChanges()}listenExternalChanges(){window.addEventListener("storage",n=>this.zone.run(()=>{if(n.storageArea!==this.storage)return;const e=n.key;null!==n.key?this.cache.del(this.name,n.key):this.cache.clear(this.name),this.keyChanges.next(e)}))}}Fo.strategyName=ki.Session,Fo.\u0275fac=function(n){return new(n||Fo)(T(vE),T(Z_),T(aa),T(ne))},Fo.\u0275prov=V({token:Fo,factory:Fo.\u0275fac});class No{constructor(n){this.cache=n,this.keyChanges=new W,this.isAvailable=!0,this.name=No.strategyName}get(n){return $(this.cache.get(this.name,n))}set(n,e){return this.cache.set(this.name,n,e),this.keyChanges.next(n),$(e)}del(n){return this.cache.del(this.name,n),this.keyChanges.next(n),$(null)}clear(){return this.cache.clear(this.name),this.keyChanges.next(null),$(null)}}No.strategyName=ki.InMemory,No.\u0275fac=function(n){return new(n||No)(T(Z_))},No.\u0275prov=V({token:No,factory:No.\u0275fac});const Sh=new O("STORAGE_STRATEGIES"),qz=[{provide:Sh,useClass:No,multi:!0},{provide:Sh,useClass:Po,multi:!0},{provide:Sh,useClass:Fo,multi:!0}],bE="invalid_strategy";let as=(()=>{class t{constructor(e){this.strategies=e,this.registration$=new W,e||(e=[]),this.strategies=e.reverse().map((i,o,r)=>i.name).map((i,o,r)=>r.indexOf(i)===o?o:null).filter(i=>null!==i).map(i=>e[i])}static get(e){if(!this.isStrategyRegistered(e))throw Error(bE);let i=this.index[e];return i.isAvailable||(i=this.index[ki.InMemory]),i}static set(e,i){this.index[e]=i}static clear(e){void 0!==e?delete this.index[e]:this.index={}}static isStrategyRegistered(e){return e in this.index}static hasRegistredStrategies(){return Object.keys(this.index).length>0}getStrategy(e){return t.get(e)}indexStrategies(){this.strategies.forEach(e=>this.register(e.name,e))}indexStrategy(e,i=!1){if(t.isStrategyRegistered(e)&&!i)return t.get(e);const o=this.strategies.find(r=>r.name===e);if(!o)throw new Error(bE);return this.register(e,o,i),o}register(e,i,o=!1){(!t.isStrategyRegistered(e)||o)&&(t.set(e,i),this.registration$.next(e))}}return t.index={},t.\u0275fac=function(e){return new(e||t)(T(Sh,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class ls extends Dh{}const Qz={provide:ls,useFactory:function Kz(t){const n=t.indexStrategy(ki.Local);return new Dh(n)},deps:[as]},Jz={provide:class Zz extends Dh{},useFactory:function Xz(t){const n=t.indexStrategy(ki.Session);return new Dh(n)},deps:[as]};function X_(t,n){return function(e,i){(class CE{static buildSyncStrategyDecorator(n,e,i,o,r=null){const s=o||i;let a;function l(){return void 0!==a?a:a=Xi.normalize(s)}Object.defineProperty(e,i,{get:function(){let c;return as.get(n).get(l()).subscribe(h=>c=h),void 0===c?r:c},set:function(c){as.get(n).set(l(),c).subscribe(wh)}})}}).buildSyncStrategyDecorator(ki.Local,e,i,t,n)}}const e7=[Qz,Jz],wE=new O("ngx_webstorage_config");function t7(t){return t.indexStrategies(),()=>as.index}let DE=(()=>{class t{constructor(e,i){i?Xi.consumeConfiguration(i):console.error("NgxWebstorage : Possible misconfiguration (The forRoot method usage is mandatory since the 3.0.0)")}static forRoot(e={}){return{ngModule:t,providers:[{provide:wE,useValue:e},zz,Wz,...e7,...qz,{provide:Ml,useFactory:t7,deps:[as],multi:!0}]}}}return t.\u0275fac=function(e){return new(e||t)(T(as),T(wE,8))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({}),t})(),n7=(()=>{class t{constructor(e){e.setDefaultFontSetClass("material-symbols-outlined")}}return t.\u0275fac=function(e){return new(e||t)(T(lc))},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:[He,dE,hE,uE,fE],imports:[qn,$j,q4,O5,$5,B$,Q_,S$,RT,OU,PT,eU,Lz,YU,ZU,UT,xu,sT,d8,DE.forRoot({prefix:"RT"})]}),t})();function o7(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}const r7=function(t){return["/users/",t]};function s7(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,r7,e.objectId)),p(1),D(e.displayName)}}function a7(t,n){1&t&&(u(0,"th",19),m(1,"UserPrincipalName"),d())}function l7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function c7(t,n){1&t&&(u(0,"th",19),m(1,"Enabled"),d())}function d7(t,n){1&t&&(u(0,"mat-icon",23),m(1,"check"),d())}function u7(t,n){if(1&t&&(u(0,"td",20),f(1,d7,2,0,"mat-icon",22),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.accountEnabled)}}function h7(t,n){1&t&&(u(0,"th",19),m(1,"Email"),d())}function f7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.mail)}}function p7(t,n){1&t&&(u(0,"th",19),m(1,"Department"),d())}function m7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.department)}}function g7(t,n){1&t&&(u(0,"th",19),m(1,"Last password change"),d())}function _7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.lastPasswordChangeDateTime)}}function v7(t,n){1&t&&(u(0,"th",19),m(1,"Job title"),d())}function y7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.jobTitle)}}function b7(t,n){1&t&&(u(0,"th",19),m(1,"Account source"),d())}function C7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.dirSyncEnabled?"AD":"Cloud")}}function w7(t,n){1&t&&(u(0,"th",19),m(1,"Account type"),d())}function D7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userType)}}function S7(t,n){1&t&&(u(0,"th",19),m(1,"Mobile"),d())}function M7(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.mobile)}}function T7(t,n){1&t&&(u(0,"th",19),m(1,"MFA"),d())}function x7(t,n){1&t&&(u(0,"mat-icon",29),m(1,"phonelink_lock"),d()),2&t&&ee("active",I().$implicit.isDefault)}function E7(t,n){1&t&&(u(0,"mat-icon",30),m(1,"notifications_active"),d()),2&t&&ee("active",I().$implicit.isDefault)}function A7(t,n){1&t&&(u(0,"mat-icon",31),m(1,"sms"),d()),2&t&&ee("active",I().$implicit.isDefault)}function I7(t,n){1&t&&(u(0,"mat-icon",32),m(1,"phone_callback"),d()),2&t&&ee("active",I().$implicit.isDefault)}function k7(t,n){if(1&t&&(u(0,"span"),f(1,x7,2,2,"mat-icon",25),f(2,E7,2,2,"mat-icon",26),f(3,A7,2,2,"mat-icon",27),f(4,I7,2,2,"mat-icon",28),d()),2&t){const e=n.$implicit;p(1),y("ngIf","PhoneAppOTP"==e.methodType),p(1),y("ngIf","PhoneAppNotification"==e.methodType),p(1),y("ngIf","OneWaySms"==e.methodType),p(1),y("ngIf","TwoWayVoiceMobile"==e.methodType)}}function R7(t,n){1&t&&(u(0,"mat-icon",35),m(1,"passkey"),d())}function O7(t,n){1&t&&(u(0,"mat-icon",36),m(1,"passkey"),d())}function P7(t,n){if(1&t&&(u(0,"span"),f(1,R7,2,0,"mat-icon",33),f(2,O7,2,0,"mat-icon",34),d()),2&t){const e=n.$implicit;p(1),y("ngIf","NGC"==e.usage),p(1),y("ngIf","FIDO"==e.usage)}}function F7(t,n){if(1&t&&(u(0,"td",20),f(1,k7,5,4,"span",24),f(2,P7,3,2,"span",24),d()),2&t){const e=n.$implicit;p(1),y("ngForOf",e.strongAuthenticationDetail.methods),p(1),y("ngForOf",e.searchableDeviceKey)}}function N7(t,n){1&t&&A(0,"tr",37)}function L7(t,n){1&t&&A(0,"tr",38)}const B7=function(){return[50,100,500,1e3,5e3]};let V7=(()=>{class t{constructor(e,i){this.service=e,this.localSt=i,this.displayedColumns=["displayName","userPrincipalName","accountEnabled","mail","department","lastPasswordChangeDateTime","jobTitle","mobile","dirSyncEnabled","userType"]}ngOnInit(){this.dataSource=new qi,this.service.getUsers().subscribe(e=>this.dataSource.data=e),this.localSt.observe("mfa").subscribe(e=>{this.updateMfaColumn(e)}),this.updateMfaColumn(this.localSt.retrieve("mfa"))}updateMfaColumn(e){e?this.displayedColumns.includes("strongAuthenticationDetail")||this.displayedColumns.push("strongAuthenticationDetail"):this.displayedColumns.includes("strongAuthenticationDetail")&&this.displayedColumns.splice(this.displayedColumns.indexOf("strongAuthenticationDetail"),1)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He),_(ls))},t.\u0275cmp=U({type:t,selectors:[["app-users"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:41,vars:4,consts:[[1,"mat-elevation-z8"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userPrincipalName"],["matColumnDef","accountEnabled"],["matColumnDef","mail"],["matColumnDef","department"],["matColumnDef","lastPasswordChangeDateTime"],["matColumnDef","jobTitle"],["matColumnDef","dirSyncEnabled"],["matColumnDef","userType"],["matColumnDef","mobile"],["matColumnDef","strongAuthenticationDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[1,"mat-accent",3,"routerLink"],["aria-hidden","false","aria-label","Enabled",4,"ngIf"],["aria-hidden","false","aria-label","Enabled"],[4,"ngFor","ngForOf"],["aria-label","App with OTP","matTooltip","App with OTP",3,"active",4,"ngIf"],["aria-label","Phone notification","matTooltip","App with notification",3,"active",4,"ngIf"],["aria-label","Text message (SMS)","matTooltip","Text message (SMS)",3,"active",4,"ngIf"],["aria-label","Phone call","matTooltip","Phone call",3,"active",4,"ngIf"],["aria-label","App with OTP","matTooltip","App with OTP"],["aria-label","Phone notification","matTooltip","App with notification"],["aria-label","Text message (SMS)","matTooltip","Text message (SMS)"],["aria-label","Phone call","matTooltip","Phone call"],["aria-label","Windows Hello","matTooltip","Windows Hello for Business",4,"ngIf"],["aria-label","FIDO2 key / passkey","matTooltip","FIDO 2 key or passkey",4,"ngIf"],["aria-label","Windows Hello","matTooltip","Windows Hello for Business"],["aria-label","FIDO2 key / passkey","matTooltip","FIDO 2 key or passkey"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-form-field")(2,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(3,"table",2),S(4,3),f(5,o7,2,0,"th",4),f(6,s7,3,4,"td",5),M(),S(7,6),f(8,a7,2,0,"th",4),f(9,l7,2,1,"td",5),M(),S(10,7),f(11,c7,2,0,"th",4),f(12,u7,2,1,"td",5),M(),S(13,8),f(14,h7,2,0,"th",4),f(15,f7,2,1,"td",5),M(),S(16,9),f(17,p7,2,0,"th",4),f(18,m7,2,1,"td",5),M(),S(19,10),f(20,g7,2,0,"th",4),f(21,_7,2,1,"td",5),M(),S(22,11),f(23,v7,2,0,"th",4),f(24,y7,2,1,"td",5),M(),S(25,12),f(26,b7,2,0,"th",4),f(27,C7,2,1,"td",5),M(),S(28,13),f(29,w7,2,0,"th",4),f(30,D7,2,1,"td",5),M(),S(31,14),f(32,S7,2,0,"th",4),f(33,M7,2,1,"td",5),M(),S(34,15),f(35,T7,2,0,"th",4),f(36,F7,3,2,"td",5),M(),f(37,N7,1,0,"tr",16),f(38,L7,1,0,"tr",17),d(),A(39,"mat-paginator",18),d(),A(40,"router-outlet")),2&e&&(p(37),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,B7)))},dependencies:[Wi,at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Kn,Ki,Oo,rc],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}.active[_ngcontent-%COMP%]{color:#00f}"]}),t})();function H7(t,n){1&t&&(u(0,"th",18),m(1,"Name"),d())}const j7=function(t){return["/devices/",t]};function $7(t,n){if(1&t&&(u(0,"td",19)(1,"a",20),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,j7,e.objectId)),p(1),D(e.displayName)}}function U7(t,n){1&t&&(u(0,"th",18),m(1,"Enabled"),d())}function z7(t,n){1&t&&(u(0,"mat-icon",22),m(1,"check"),d())}function G7(t,n){if(1&t&&(u(0,"td",19),f(1,z7,2,0,"mat-icon",21),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.accountEnabled)}}function W7(t,n){1&t&&(u(0,"th",18),m(1,"Manufacturer"),d())}function q7(t,n){if(1&t&&(u(0,"td",19),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceManufacturer)}}function Y7(t,n){1&t&&(u(0,"th",18),m(1,"Model"),d())}function K7(t,n){if(1&t&&(u(0,"td",19),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceModel)}}function Q7(t,n){1&t&&(u(0,"th",18),m(1,"OS"),d())}function Z7(t,n){if(1&t&&(u(0,"td",19),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSType)}}function X7(t,n){1&t&&(u(0,"th",18),m(1,"OS Version"),d())}function J7(t,n){if(1&t&&(u(0,"td",19),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSVersion)}}function eG(t,n){1&t&&(u(0,"th",18),m(1,"Trust type"),d())}function tG(t,n){if(1&t&&(u(0,"td",19),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceTrustType)}}function nG(t,n){1&t&&(u(0,"th",18),m(1,"Compliant"),d())}function iG(t,n){1&t&&(u(0,"mat-icon",24),m(1,"check"),d())}function oG(t,n){if(1&t&&(u(0,"td",19),f(1,iG,2,0,"mat-icon",23),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isCompliant)}}function rG(t,n){1&t&&(u(0,"th",18),m(1,"Managed"),d())}function sG(t,n){1&t&&(u(0,"mat-icon",26),m(1,"check"),d())}function aG(t,n){if(1&t&&(u(0,"td",19),f(1,sG,2,0,"mat-icon",25),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isManaged)}}function lG(t,n){1&t&&(u(0,"th",18),m(1,"Rooted"),d())}function cG(t,n){1&t&&(u(0,"mat-icon",28),m(1,"check"),d())}function dG(t,n){if(1&t&&(u(0,"td",19),f(1,cG,2,0,"mat-icon",27),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isRooted)}}function uG(t,n){1&t&&A(0,"tr",29)}function hG(t,n){1&t&&A(0,"tr",30)}const fG=function(){return[50,100,500,1e3,5e3]};let pG=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","deviceManufacturer","accountEnabled","deviceModel","deviceOSType","deviceOSVersion","deviceTrustType","isCompliant","isManaged","isRooted"]}ngOnInit(){this.dataSource=new qi,this.service.getDevices().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-devices"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:38,vars:4,consts:[[1,"mat-elevation-z8"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","accountEnabled"],["matColumnDef","deviceManufacturer"],["matColumnDef","deviceModel"],["matColumnDef","deviceOSType"],["matColumnDef","deviceOSVersion"],["matColumnDef","deviceTrustType"],["matColumnDef","isCompliant"],["matColumnDef","isManaged"],["matColumnDef","isRooted"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["aria-hidden","false","aria-label","Enabled",4,"ngIf"],["aria-hidden","false","aria-label","Enabled"],["aria-hidden","false","aria-label","Compliant",4,"ngIf"],["aria-hidden","false","aria-label","Compliant"],["aria-hidden","false","aria-label","Managed",4,"ngIf"],["aria-hidden","false","aria-label","Managed"],["aria-hidden","false","aria-label","Rooted",4,"ngIf"],["aria-hidden","false","aria-label","Rooted"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-form-field")(2,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(3,"table",2),S(4,3),f(5,H7,2,0,"th",4),f(6,$7,3,4,"td",5),M(),S(7,6),f(8,U7,2,0,"th",4),f(9,G7,2,1,"td",5),M(),S(10,7),f(11,W7,2,0,"th",4),f(12,q7,2,1,"td",5),M(),S(13,8),f(14,Y7,2,0,"th",4),f(15,K7,2,1,"td",5),M(),S(16,9),f(17,Q7,2,0,"th",4),f(18,Z7,2,1,"td",5),M(),S(19,10),f(20,X7,2,0,"th",4),f(21,J7,2,1,"td",5),M(),S(22,11),f(23,eG,2,0,"th",4),f(24,tG,2,1,"td",5),M(),S(25,12),f(26,nG,2,0,"th",4),f(27,oG,2,1,"td",5),M(),S(28,13),f(29,rG,2,0,"th",4),f(30,aG,2,1,"td",5),M(),S(31,14),f(32,lG,2,0,"th",4),f(33,dG,2,1,"td",5),M(),f(34,uG,1,0,"tr",15),f(35,hG,1,0,"tr",16),d(),A(36,"mat-paginator",17),d(),A(37,"router-outlet")),2&e&&(p(34),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,fG)))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Kn,Ki,Oo],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function mG(t,n){1&t&&(u(0,"th",17),m(1,"Name"),d())}const gG=function(t){return["/groups/",t]};function _G(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,gG,e.objectId)),p(1),D(e.displayName)}}function vG(t,n){1&t&&(u(0,"th",17),m(1,"Description"),d())}function yG(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function bG(t,n){1&t&&(u(0,"th",17),m(1,"Created"),d())}function CG(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.createdDateTime)}}function wG(t,n){1&t&&(u(0,"th",17),m(1,"Group source"),d())}function DG(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.dirSyncEnabled?"Synced with AD":"Cloud-only")}}function SG(t,n){1&t&&(u(0,"th",17),m(1,"Group type"),d())}function MG(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.groupTypes.includes("Unified")?"Microsoft 365":"Security")}}function TG(t,n){1&t&&(u(0,"th",17),m(1,"Mail"),d())}function xG(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.mail)}}function EG(t,n){1&t&&(u(0,"th",17),m(1,"Public?"),d())}function AG(t,n){1&t&&(u(0,"mat-icon",21),m(1,"check"),d())}function IG(t,n){if(1&t&&(u(0,"td",18),f(1,AG,2,0,"mat-icon",20),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isPublic)}}function kG(t,n){1&t&&(u(0,"th",17),m(1,"Role assignable?"),d())}function RG(t,n){1&t&&(u(0,"mat-icon",23),m(1,"check"),d())}function OG(t,n){if(1&t&&(u(0,"td",18),f(1,RG,2,0,"mat-icon",22),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isAssignableToRole)}}function PG(t,n){1&t&&(u(0,"th",17),m(1,"Dynamic membership"),d())}function FG(t,n){1&t&&(u(0,"mat-icon",25),m(1,"check"),d())}function NG(t,n){if(1&t&&(u(0,"td",18),f(1,FG,2,0,"mat-icon",24),d()),2&t){const e=n.$implicit;p(1),y("ngIf",null!=e.membershipRule)}}function LG(t,n){1&t&&A(0,"tr",26)}function BG(t,n){1&t&&A(0,"tr",27)}const VG=function(){return[50,100,500,1e3,5e3]};let HG=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","description","groupTypes","dirSyncEnabled","mail","isPublic","isAssignableToRole","membershipRule"]}ngOnInit(){this.dataSource=new qi,this.service.getGroups().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-groups"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:35,vars:4,consts:[[1,"mat-elevation-z8"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["matColumnDef","created"],["matColumnDef","dirSyncEnabled"],["matColumnDef","groupTypes"],["matColumnDef","mail"],["matColumnDef","isPublic"],["matColumnDef","isAssignableToRole"],["matColumnDef","membershipRule"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["aria-hidden","false","aria-label","Public group",4,"ngIf"],["aria-hidden","false","aria-label","Public group"],["aria-hidden","false","aria-label","Can be assigned to roles",4,"ngIf"],["aria-hidden","false","aria-label","Can be assigned to roles"],["aria-hidden","false","aria-label","Has dynamic membership",4,"ngIf"],["aria-hidden","false","aria-label","Has dynamic membership"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-form-field")(2,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(3,"table",2),S(4,3),f(5,mG,2,0,"th",4),f(6,_G,3,4,"td",5),M(),S(7,6),f(8,vG,2,0,"th",4),f(9,yG,2,1,"td",5),M(),S(10,7),f(11,bG,2,0,"th",4),f(12,CG,2,1,"td",5),M(),S(13,8),f(14,wG,2,0,"th",4),f(15,DG,2,1,"td",5),M(),S(16,9),f(17,SG,2,0,"th",4),f(18,MG,2,1,"td",5),M(),S(19,10),f(20,TG,2,0,"th",4),f(21,xG,2,1,"td",5),M(),S(22,11),f(23,EG,2,0,"th",4),f(24,IG,2,1,"td",5),M(),S(25,12),f(26,kG,2,0,"th",4),f(27,OG,2,1,"td",5),M(),S(28,13),f(29,PG,2,0,"th",4),f(30,NG,2,1,"td",5),M(),f(31,LG,1,0,"tr",14),f(32,BG,1,0,"tr",15),d(),A(33,"mat-paginator",16),d(),A(34,"router-outlet")),2&e&&(p(31),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,VG)))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Kn,Ki,Oo],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function jG(t,n){1&t&&(u(0,"th",11),m(1,"Name"),d())}const $G=function(t){return["/administrativeunits/",t]};function UG(t,n){if(1&t&&(u(0,"td",12)(1,"a",13),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,$G,e.objectId)),p(1),D(e.displayName)}}function zG(t,n){1&t&&(u(0,"th",11),m(1,"Description"),d())}function GG(t,n){if(1&t&&(u(0,"td",12),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function WG(t,n){1&t&&(u(0,"th",11),m(1,"Membership rule"),d())}function qG(t,n){if(1&t&&(u(0,"td",12),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.membershipRule)}}function YG(t,n){1&t&&A(0,"tr",14)}function KG(t,n){1&t&&A(0,"tr",15)}const QG=function(){return[50,100,500,1e3,5e3]};let ZG=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","description","membershipRule"]}ngOnInit(){this.dataSource=new qi,this.service.getAdministrativeUnits().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-administrativeunits"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:17,vars:4,consts:[[1,"mat-elevation-z8"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["matColumnDef","membershipRule"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-form-field")(2,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(3,"table",2),S(4,3),f(5,jG,2,0,"th",4),f(6,UG,3,4,"td",5),M(),S(7,6),f(8,zG,2,0,"th",4),f(9,GG,2,1,"td",5),M(),S(10,7),f(11,WG,2,0,"th",4),f(12,qG,2,1,"td",5),M(),f(13,YG,1,0,"tr",8),f(14,KG,1,0,"tr",9),d(),A(15,"mat-paginator",10),d(),A(16,"router-outlet")),2&e&&(p(13),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,QG)))},dependencies:[Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Ki,Oo],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function XG(t,n){1&t&&(u(0,"th",18),m(1,"Name"),d())}const JG=function(t){return["/applications/",t]};function e9(t,n){if(1&t&&(u(0,"td",19)(1,"a",20),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,JG,e.objectId)),p(1),D(e.displayName)}}function t9(t,n){1&t&&(u(0,"th",18),m(1,"Multitenant"),d())}function n9(t,n){1&t&&(u(0,"mat-icon",22),m(1,"check"),d())}function i9(t,n){if(1&t&&(u(0,"td",19),f(1,n9,2,0,"mat-icon",21),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.availableToOtherTenants)}}function o9(t,n){1&t&&(u(0,"th",18),m(1,"Homepage"),d())}function r9(t,n){if(1&t&&(u(0,"td",19),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.homepage)}}function s9(t,n){1&t&&(u(0,"th",18),m(1,"OAuth2 public client"),d())}function a9(t,n){1&t&&(u(0,"mat-icon",24),m(1,"check"),d())}function l9(t,n){if(1&t&&(u(0,"td",19),f(1,a9,2,0,"mat-icon",23),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.publicClient)}}function c9(t,n){1&t&&(u(0,"th",18),m(1,"OAuth2 implicit flow"),d())}function d9(t,n){1&t&&(u(0,"mat-icon",26),m(1,"check"),d())}function u9(t,n){if(1&t&&(u(0,"td",19),f(1,d9,2,0,"mat-icon",25),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.oauth2AllowImplicitFlow)}}function h9(t,n){1&t&&(u(0,"th",18),m(1,"Passwords"),d())}function f9(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.passwordCredentials.length)}}function p9(t,n){if(1&t&&(u(0,"td",19),f(1,f9,2,1,"span",27),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.passwordCredentials.length>0)}}function m9(t,n){1&t&&(u(0,"th",18),m(1,"Keys"),d())}function g9(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.keyCredentials.length)}}function _9(t,n){if(1&t&&(u(0,"td",19),f(1,g9,2,1,"span",27),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.keyCredentials.length>0)}}function v9(t,n){1&t&&(u(0,"th",18),m(1,"Roles defined"),d())}function y9(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.appRoles.length)}}function b9(t,n){if(1&t&&(u(0,"td",19),f(1,y9,2,1,"span",27),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.appRoles.length>0)}}function C9(t,n){1&t&&(u(0,"th",18),m(1,"OAuth2 Permissions"),d())}function w9(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.oauth2Permissions.length)}}function D9(t,n){if(1&t&&(u(0,"td",19),f(1,w9,2,1,"span",27),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.oauth2Permissions.length>0)}}function S9(t,n){1&t&&(u(0,"th",18),m(1,"Custom owner"),d())}function M9(t,n){1&t&&(u(0,"mat-icon",29),m(1,"check"),d())}function T9(t,n){if(1&t&&(u(0,"td",19),f(1,M9,2,0,"mat-icon",28),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.ownerUsers.length+e.ownerServicePrincipals>0)}}function x9(t,n){1&t&&A(0,"tr",30)}function E9(t,n){1&t&&A(0,"tr",31)}const A9=function(){return[50,100,500,1e3,5e3]};let I9=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","availableToOtherTenants","homepage","publicClient","oauth2AllowImplicitFlow","passwordCredentials","keyCredentials","appRoles","oauth2Permissions","ownerUsers"]}ngOnInit(){this.dataSource=new qi,this.service.getApplications().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-applications"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:38,vars:4,consts:[[1,"mat-elevation-z8"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","availableToOtherTenants"],["matColumnDef","homepage"],["matColumnDef","publicClient"],["matColumnDef","oauth2AllowImplicitFlow"],["matColumnDef","passwordCredentials"],["matColumnDef","keyCredentials"],["matColumnDef","appRoles"],["matColumnDef","oauth2Permissions"],["matColumnDef","ownerUsers"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["aria-hidden","false","aria-label","Available to other tenants",4,"ngIf"],["aria-hidden","false","aria-label","Available to other tenants"],["aria-hidden","false","aria-label","Public client",4,"ngIf"],["aria-hidden","false","aria-label","Public client"],["aria-hidden","false","aria-label","Implicit flow allowed",4,"ngIf"],["aria-hidden","false","aria-label","Implicit flow allowed"],[4,"ngIf"],["aria-hidden","false","aria-label","Yes",4,"ngIf"],["aria-hidden","false","aria-label","Yes"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-form-field")(2,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(3,"table",2),S(4,3),f(5,XG,2,0,"th",4),f(6,e9,3,4,"td",5),M(),S(7,6),f(8,t9,2,0,"th",4),f(9,i9,2,1,"td",5),M(),S(10,7),f(11,o9,2,0,"th",4),f(12,r9,2,1,"td",5),M(),S(13,8),f(14,s9,2,0,"th",4),f(15,l9,2,1,"td",5),M(),S(16,9),f(17,c9,2,0,"th",4),f(18,u9,2,1,"td",5),M(),S(19,10),f(20,h9,2,0,"th",4),f(21,p9,2,1,"td",5),M(),S(22,11),f(23,m9,2,0,"th",4),f(24,_9,2,1,"td",5),M(),S(25,12),f(26,v9,2,0,"th",4),f(27,b9,2,1,"td",5),M(),S(28,13),f(29,C9,2,0,"th",4),f(30,D9,2,1,"td",5),M(),S(31,14),f(32,S9,2,0,"th",4),f(33,T9,2,1,"td",5),M(),f(34,x9,1,0,"tr",15),f(35,E9,1,0,"tr",16),d(),A(36,"mat-paginator",17),d(),A(37,"router-outlet")),2&e&&(p(34),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,A9)))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Kn,Ki,Oo],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function k9(t,n){1&t&&(u(0,"th",14),m(1,"Principal Name"),d())}const R9=function(t,n){return["/",t,n]};function O9(t,n){if(1&t&&(u(0,"td",15)(1,"a",16),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Jo(2,R9,e.ptype.toLowerCase()+"s",e.objid)),p(1),D(e.pname)}}function P9(t,n){1&t&&(u(0,"th",14),m(1,"Principal Type"),d())}function F9(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.ptype," ")}}function N9(t,n){1&t&&(u(0,"th",14),m(1,"Object ID"),d())}function L9(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.objid," ")}}function B9(t,n){1&t&&(u(0,"th",14),m(1,"Application"),d())}const V9=function(t){return["/serviceprincipals",t]};function H9(t,n){if(1&t&&(u(0,"td",15)(1,"a",16),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,V9,e.spid)),p(1),D(e.app)}}function j9(t,n){1&t&&(u(0,"th",14),m(1,"Role"),d())}function $9(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.value," ")}}function U9(t,n){1&t&&(u(0,"th",14),m(1,"Description"),d())}function z9(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.desc," ")}}function G9(t,n){1&t&&A(0,"tr",17)}function W9(t,n){1&t&&A(0,"tr",18)}const q9=function(){return[50,100,500,1e3,5e3]};let Y9=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["pname","ptype","app","value","desc"]}ngOnInit(){this.dataSource=new qi,this.service.getAppRoles().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-roles"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:28,vars:4,consts:[[1,"mat-elevation-z4","pagedescription"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","pname"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","ptype"],["matColumnDef","objid"],["matColumnDef","app"],["matColumnDef","value"],["matColumnDef","desc"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div")(1,"div",0),m(2," This page shows all application roles granted in the tenant. These roles are often used to manage access to applications or APIs. If the role is granted to a user/group, it is often used to grant access to an application or to give the user an (administrative) role in an application. If the role is assigned to a ServicePrincipal, the role is often used to manage API permissions, such as for the Microsoft Graph (the Azure Portal calls this an application permission). "),d(),u(3,"mat-form-field")(4,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(5,"table",2),S(6,3),f(7,k9,2,0,"th",4),f(8,O9,3,5,"td",5),M(),S(9,6),f(10,P9,2,0,"th",4),f(11,F9,2,1,"td",5),M(),S(12,7),f(13,N9,2,0,"th",4),f(14,L9,2,1,"td",5),M(),S(15,8),f(16,B9,2,0,"th",4),f(17,H9,3,4,"td",5),M(),S(18,9),f(19,j9,2,0,"th",4),f(20,$9,2,1,"td",5),M(),S(21,10),f(22,U9,2,0,"th",4),f(23,z9,2,1,"td",5),M(),f(24,G9,1,0,"tr",11),f(25,W9,1,0,"tr",12),d(),A(26,"mat-paginator",13),d(),A(27,"router-outlet")),2&e&&(p(24),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,q9)))},dependencies:[Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Ki,Oo],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}.pagedescription[_ngcontent-%COMP%]{padding:20px;margin:10px}"]}),t})();function K9(t,n){1&t&&(u(0,"mat-header-cell",19),m(1,"Principal Name"),d())}const SE=function(t,n){return["/",t,n]};function Q9(t,n){if(1&t&&(u(0,"mat-cell",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Jo(2,SE,e.principal.objectType.toLowerCase()+"s",e.principal.objectId)),p(1),D(e.principal.displayName)}}function Z9(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"Assignment Type"),d())}function X9(t,n){if(1&t&&(u(0,"mat-cell"),m(1),d()),2&t){const e=n.$implicit;p(1),te("","eligible"==e.type?"Eligible":"Active"," ")}}function J9(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"Scope"),d())}function eW(t,n){if(1&t&&(u(0,"a",21),m(1),d()),2&t){const e=I(),i=e.index,o=e.$implicit,r=I().$implicit;y("routerLink",Jo(2,SE,r.scopeTypes[i].toLowerCase()+"s",r.scopeIds[i])),p(1),D(r.scopeNames[i]?r.scopeNames[i]:o)}}function tW(t,n){if(1&t&&(u(0,"span"),f(1,eW,2,5,"a",24),m(2),d()),2&t){const e=n.$implicit;p(1),y("ngIf","/"!=e),p(1),te("","/"==e?"Directory":""," ")}}function nW(t,n){if(1&t&&(u(0,"mat-cell"),f(1,tW,3,2,"span",23),d()),2&t){const e=n.$implicit;p(1),y("ngForOf",e.scope)}}function iW(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"Principal Type"),d())}function oW(t,n){if(1&t&&(u(0,"mat-cell"),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.principal.objectType," ")}}function rW(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"Object ID"),d())}function sW(t,n){if(1&t&&(u(0,"mat-cell"),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.principal.objectId," ")}}function aW(t,n){1&t&&(u(0,"mat-header-cell",19),m(1,"userPrincipalName"),d())}function lW(t,n){if(1&t&&(u(0,"mat-cell",20),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.principal.userPrincipalName," ")}}function cW(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"Account type"),d())}function dW(t,n){if(1&t&&(u(0,"mat-cell"),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.principal.dirSyncEnabled||e.principal.isDirSyncEnabled?"AD":"Cloud")}}function uW(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"State"),d())}function hW(t,n){if(1&t&&(u(0,"mat-cell"),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.principal.value," ")}}function fW(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"Status"),d())}function pW(t,n){if(1&t&&(u(0,"mat-cell"),m(1),d()),2&t){const e=n.$implicit;p(1),D("Group"==e.principal.objectType||e.principal.accountEnabled?"":"Disabled")}}function mW(t,n){1&t&&(u(0,"mat-header-cell",22),m(1,"MFA"),d())}function gW(t,n){1&t&&(u(0,"mat-icon",30),m(1,"phonelink_lock"),d()),2&t&&ee("active",I().$implicit.isDefault)}function _W(t,n){1&t&&(u(0,"mat-icon",31),m(1,"notifications_active"),d()),2&t&&ee("active",I().$implicit.isDefault)}function vW(t,n){1&t&&(u(0,"mat-icon",32),m(1,"sms"),d()),2&t&&ee("active",I().$implicit.isDefault)}function yW(t,n){1&t&&(u(0,"mat-icon",33),m(1,"phone_callback"),d()),2&t&&ee("active",I().$implicit.isDefault)}function bW(t,n){if(1&t&&(u(0,"span"),f(1,gW,2,2,"mat-icon",26),f(2,_W,2,2,"mat-icon",27),f(3,vW,2,2,"mat-icon",28),f(4,yW,2,2,"mat-icon",29),d()),2&t){const e=n.$implicit;p(1),y("ngIf","PhoneAppOTP"==e.methodType),p(1),y("ngIf","PhoneAppNotification"==e.methodType),p(1),y("ngIf","OneWaySms"==e.methodType),p(1),y("ngIf","TwoWayVoiceMobile"==e.methodType)}}function CW(t,n){if(1&t&&(u(0,"div"),f(1,bW,5,4,"span",23),d()),2&t){const e=I().$implicit;p(1),y("ngForOf",e.principal.strongAuthenticationDetail.methods)}}function wW(t,n){1&t&&(u(0,"mat-icon",36),m(1,"passkey"),d())}function DW(t,n){1&t&&(u(0,"mat-icon",37),m(1,"passkey"),d())}function SW(t,n){if(1&t&&(u(0,"span"),f(1,wW,2,0,"mat-icon",34),f(2,DW,2,0,"mat-icon",35),d()),2&t){const e=n.$implicit;p(1),y("ngIf","NGC"==e.usage),p(1),y("ngIf","FIDO"==e.usage)}}function MW(t,n){if(1&t&&(u(0,"div"),f(1,SW,3,2,"span",23),d()),2&t){const e=I().$implicit;p(1),y("ngForOf",e.principal.searchableDeviceKey)}}function TW(t,n){if(1&t&&(u(0,"mat-cell"),f(1,CW,2,1,"div",25),f(2,MW,2,1,"div",25),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.principal.strongAuthenticationDetail),p(1),y("ngIf",e.principal.searchableDeviceKey)}}function xW(t,n){1&t&&A(0,"mat-header-row")}function EW(t,n){1&t&&A(0,"mat-row")}let AW=(()=>{class t{constructor(e){this.localSt=e,this.displayedColumns=["displayName","scope","type","objectType","userPrincipalName","dirSyncEnabled","accountEnabled"]}ngOnInit(){this.dataSource=new qi,this.dataSource.data=this.role.assignments,this.localSt.observe("mfa").subscribe(e=>{this.updateMfaColumn(e)}),this.updateMfaColumn(this.localSt.retrieve("mfa"))}updateMfaColumn(e){e?this.displayedColumns.includes("strongAuthenticationDetail")||this.displayedColumns.push("strongAuthenticationDetail"):this.displayedColumns.includes("strongAuthenticationDetail")&&this.displayedColumns.splice(this.displayedColumns.indexOf("strongAuthenticationDetail"),1)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(ls))},t.\u0275cmp=U({type:t,selectors:[["role-table"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},inputs:{role:"role"},decls:38,vars:4,consts:[[1,"mat-elevation-z8"],["expanded",""],["matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["class","wider","mat-sort-header","",4,"matHeaderCellDef"],["class","wider",4,"matCellDef"],["matColumnDef","type"],["mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","scope"],["matColumnDef","objectType"],["matColumnDef","objectId"],["matColumnDef","userPrincipalName"],["matColumnDef","dirSyncEnabled"],["matColumnDef","value"],["matColumnDef","accountEnabled"],["matColumnDef","strongAuthenticationDetail"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["mat-sort-header","",1,"wider"],[1,"wider"],[3,"routerLink"],["mat-sort-header",""],[4,"ngFor","ngForOf"],[3,"routerLink",4,"ngIf"],[4,"ngIf"],["aria-label","App with OTP","matTooltip","App with OTP",3,"active",4,"ngIf"],["aria-label","Phone notification","matTooltip","App with notification",3,"active",4,"ngIf"],["aria-label","Text message (SMS)","matTooltip","Text message (SMS)",3,"active",4,"ngIf"],["aria-label","Phone call","matTooltip","Phone call",3,"active",4,"ngIf"],["aria-label","App with OTP","matTooltip","App with OTP"],["aria-label","Phone notification","matTooltip","App with notification"],["aria-label","Text message (SMS)","matTooltip","Text message (SMS)"],["aria-label","Phone call","matTooltip","Phone call"],["aria-label","Windows Hello","matTooltip","Windows Hello for Business",4,"ngIf"],["aria-label","FIDO2 key / passkey","matTooltip","FIDO 2 key or passkey",4,"ngIf"],["aria-label","Windows Hello","matTooltip","Windows Hello for Business"],["aria-label","FIDO2 key / passkey","matTooltip","FIDO 2 key or passkey"]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-expansion-panel",1)(2,"mat-expansion-panel-header")(3,"mat-panel-title"),m(4),d()(),u(5,"mat-table",2),S(6,3),f(7,K9,2,0,"mat-header-cell",4),f(8,Q9,3,5,"mat-cell",5),M(),S(9,6),f(10,Z9,2,0,"mat-header-cell",7),f(11,X9,2,1,"mat-cell",8),M(),S(12,9),f(13,J9,2,0,"mat-header-cell",7),f(14,nW,2,1,"mat-cell",8),M(),S(15,10),f(16,iW,2,0,"mat-header-cell",7),f(17,oW,2,1,"mat-cell",8),M(),S(18,11),f(19,rW,2,0,"mat-header-cell",7),f(20,sW,2,1,"mat-cell",8),M(),S(21,12),f(22,aW,2,0,"mat-header-cell",4),f(23,lW,2,1,"mat-cell",5),M(),S(24,13),f(25,cW,2,0,"mat-header-cell",7),f(26,dW,2,1,"mat-cell",8),M(),S(27,14),f(28,uW,2,0,"mat-header-cell",7),f(29,hW,2,1,"mat-cell",8),M(),S(30,15),f(31,fW,2,0,"mat-header-cell",7),f(32,pW,2,1,"mat-cell",8),M(),S(33,16),f(34,mW,2,0,"mat-header-cell",7),f(35,TW,3,2,"mat-cell",8),M(),f(36,xW,1,0,"mat-header-row",17),f(37,EW,1,0,"mat-row",18),d()()()),2&e&&(p(4),gl(" ",i.role.displayName," (",i.dataSource.data.length,") "),p(32),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns))},dependencies:[Wi,at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Ze,di,Bt,Kn,hr,ts,ns,rc],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}.wider[_ngcontent-%COMP%]{flex-grow:4}.active[_ngcontent-%COMP%]{color:#00f}"]}),t})();function IW(t,n){1&t&&A(0,"role-table",1),2&t&&y("role",n.$implicit)}let kW=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","name","mail","department","lastPasswordChangeDateTime","jobTitle","mobile","dirSyncEnabled"]}ngOnInit(){this.service.getRoleDefinitions().subscribe(e=>{this.roles=e.filter(i=>i.assignments.length>0)})}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-directoryroles"]],features:[q([He])],decls:1,vars:1,consts:[[3,"role",4,"ngFor","ngForOf"],[3,"role"]],template:function(e,i){1&e&&f(0,IW,1,1,"role-table",0),2&e&&y("ngForOf",i.roles)},dependencies:[Wi,AW],styles:[".active[_ngcontent-%COMP%]{color:#00f}"]}),t})();var RW=jo(272),OW=jo.n(RW);let cs=(()=>{class t{constructor(e){this.elRef=e}ngOnChanges(){if(this.json){const e=new(OW())(this.json,3);this.elRef.nativeElement.appendChild(e.render())}}}return t.\u0275fac=function(e){return new(e||t)(_(Z))},t.\u0275dir=R({type:t,selectors:[["","appJsonFormat",""]],inputs:{json:"json"},features:[ct]}),t})();function PW(t,n){if(1&t&&(u(0,"mat-card")(1,"mat-card-title"),m(2,"Database Stats"),d(),u(3,"mat-card-content")(4,"table",1)(5,"tr")(6,"th"),m(7,"Users"),d(),u(8,"td"),m(9),d()(),u(10,"tr")(11,"th"),m(12,"Groups"),d(),u(13,"td"),m(14),d()(),u(15,"tr")(16,"th"),m(17,"Applications"),d(),u(18,"td"),m(19),d()(),u(20,"tr")(21,"th"),m(22,"ServicePrincipals"),d(),u(23,"td"),m(24),d()(),u(25,"tr")(26,"th"),m(27,"Devices"),d(),u(28,"td"),m(29),d()(),u(30,"tr")(31,"th"),m(32,"Administrative Units"),d(),u(33,"td"),m(34),d()()()()()),2&t){const e=I();p(9),D(e.tenantstats.countUsers),p(5),D(e.tenantstats.countGroups),p(5),D(e.tenantstats.countApplications),p(5),D(e.tenantstats.countServicePrincipals),p(5),D(e.tenantstats.countDevices),p(5),D(e.tenantstats.countAdministrativeUnits)}}function FW(t,n){if(1&t&&(S(0),u(1,"th"),m(2,"Lockout Duration"),d(),u(3,"td"),m(4),d(),M()),2&t){const e=I().$implicit;p(4),D(e.value)}}function NW(t,n){if(1&t&&(S(0),u(1,"th"),m(2,"Lockout Threshold"),d(),u(3,"td"),m(4),d(),M()),2&t){const e=I().$implicit;p(4),D(e.value)}}function LW(t,n){if(1&t&&(S(0),u(1,"th"),m(2,"Banned Password Check On-Premises Mode"),d(),u(3,"td"),m(4),d(),M()),2&t){const e=I().$implicit;p(4),D(e.value)}}function BW(t,n){if(1&t&&(S(0),u(1,"th"),m(2,"Enable Banned Password Check On-Premises"),d(),u(3,"td"),m(4),d(),M()),2&t){const e=I().$implicit;p(4),D(e.value)}}function VW(t,n){if(1&t&&(S(0),u(1,"th"),m(2,"Enable Banned Password Check"),d(),u(3,"td"),m(4),d(),M()),2&t){const e=I().$implicit;p(4),D(e.value)}}function HW(t,n){if(1&t&&(S(0),u(1,"th"),m(2,"Banned Password List"),d(),u(3,"td"),m(4),d(),M()),2&t){const e=I().$implicit;p(4),D(e.value)}}function jW(t,n){if(1&t&&(u(0,"tr"),f(1,FW,5,1,"ng-container",0),f(2,NW,5,1,"ng-container",0),f(3,LW,5,1,"ng-container",0),f(4,BW,5,1,"ng-container",0),f(5,VW,5,1,"ng-container",0),f(6,HW,5,1,"ng-container",0),d()),2&t){const e=n.$implicit;p(1),y("ngIf","LockoutDurationInSeconds"===e.name),p(1),y("ngIf","LockoutThreshold"===e.name),p(1),y("ngIf","BannedPasswordCheckOnPremisesMode"===e.name),p(1),y("ngIf","EnableBannedPasswordCheckOnPremises"===e.name),p(1),y("ngIf","EnableBannedPasswordCheck"===e.name),p(1),y("ngIf","BannedPasswordList"===e.name)}}function $W(t,n){if(1&t&&(u(0,"mat-card")(1,"mat-card-title"),m(2,"Directory settings"),d(),u(3,"mat-card-content")(4,"table",1)(5,"tbody"),f(6,jW,7,6,"tr",2),d()()()()),2&t){const e=I();p(6),y("ngForOf",e.directorysettings.values)}}function UW(t,n){if(1&t){const e=Pn();u(0,"mat-card")(1,"mat-card-title"),m(2,"Tenant information"),d(),u(3,"mat-card-content")(4,"table",1)(5,"tr")(6,"th"),m(7,"Name"),d(),u(8,"td"),m(9),d()(),u(10,"tr")(11,"th"),m(12,"Tenant ID"),d(),u(13,"td"),m(14),d()(),u(15,"tr")(16,"th"),m(17,"Syncs from AD"),d(),u(18,"td"),m(19),d()()()(),u(20,"mat-card-actions")(21,"button",3),J("click",function(){return Zt(e),Xt(I().showDetails())}),m(22,"View Raw"),d()()()}if(2&t){const e=I();p(9),D(e.tenantdetails.displayName),p(5),D(e.tenantdetails.objectId),p(5),D(e.tenantdetails.dirSyncEnabled?"Yes":"No")}}function zW(t,n){if(1&t&&(u(0,"span"),m(1),A(2,"br"),d()),2&t){const e=n.$implicit;p(1),gl("",e.key,": ",e.value?"Yes":"No"," ")}}function GW(t,n){1&t&&A(0,"div")}function WW(t,n){1&t&&(u(0,"span"),m(1,"Users can consent to applications (insecure old default)"),d())}function qW(t,n){1&t&&(u(0,"span"),m(1,"Users can consent to limited permissions only (default)"),d())}function YW(t,n){1&t&&(u(0,"span"),m(1,"Resource specific consent for chats: Managed by Microsoft"),d())}function KW(t,n){1&t&&(u(0,"span"),m(1,"Resource specific consent for Teams: Managed by Microsoft"),d())}function QW(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),te("Unknown: ",e,"")}}function ZW(t,n){if(1&t&&(u(0,"div")(1,"div",7),f(2,WW,2,0,"span",8),f(3,qW,2,0,"span",8),f(4,YW,2,0,"span",8),f(5,KW,2,0,"span",8),f(6,QW,2,1,"span",9),d()()),2&t){const e=n.$implicit;p(1),y("ngSwitch",e),p(1),y("ngSwitchCase","ManagePermissionGrantsForSelf.microsoft-user-default-legacy"),p(1),y("ngSwitchCase","ManagePermissionGrantsForSelf.microsoft-user-default-low"),p(1),y("ngSwitchCase","ManagePermissionGrantsForOwnedResource.microsoft-dynamically-managed-permissions-for-chat"),p(1),y("ngSwitchCase","ManagePermissionGrantsForOwnedResource.microsoft-dynamically-managed-permissions-for-team")}}function XW(t,n){1&t&&(u(0,"span"),m(1,"User self-consent is disabled"),d())}function JW(t,n){if(1&t&&(f(0,ZW,7,5,"div",2),f(1,XW,2,0,"span",0)),2&t){const e=I(2);y("ngForOf",e.authorizationPolicy.permissionGrantPolicyIdsAssignedToDefaultUserRole),p(1),y("ngIf",!e.hasSelfConsentPolicy)}}function eq(t,n){1&t&&m(0,"User consent is disabled")}function tq(t,n){1&t&&(u(0,"span"),m(1,"Same as member users"),d())}function nq(t,n){1&t&&(u(0,"span"),m(1,"Limited access (default)"),d())}function iq(t,n){1&t&&(u(0,"span"),m(1,"Restricted access"),d())}function oq(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I(2);p(1),te("Unknown: ",e.authorizationPolicy.guestUserRoleId,"")}}function rq(t,n){if(1&t&&(u(0,"mat-card")(1,"mat-card-title"),m(2,"Authorization Policy"),d(),u(3,"mat-card-content")(4,"table",1)(5,"tr")(6,"th"),m(7,"Self-service password reset enabled"),d(),u(8,"td"),m(9),d()(),u(10,"tr")(11,"th"),m(12,"MSOnline PowerShell blocked"),d(),u(13,"td"),m(14),d()(),u(15,"tr")(16,"th"),m(17,"Default user role permissions"),d(),u(18,"td"),f(19,zW,3,2,"span",2),Nr(20,"keyvalue"),d()(),u(21,"tr")(22,"th"),m(23,"Application consent settings"),d(),u(24,"td"),f(25,GW,1,0,"div",4),f(26,JW,2,2,"ng-template",null,5,Rd),f(28,eq,1,0,"ng-template",null,6,Rd),d()(),u(30,"tr")(31,"th"),m(32,"Guest access settings"),d(),u(33,"td",7),f(34,tq,2,0,"span",8),f(35,nq,2,0,"span",8),f(36,iq,2,0,"span",8),f(37,oq,2,1,"span",9),d()()()()()),2&t){const e=mo(27),i=mo(29),o=I();p(9),D(o.authorizationPolicy.allowedToUseSSPR?"Yes":"No"),p(5),D(o.authorizationPolicy.blockMsolPowerShell?"Yes":"No"),p(5),y("ngForOf",Lr(20,10,o.authorizationPolicy.defaultUserRolePermissions)),p(6),y("ngIf",o.authorizationPolicy.permissionGrantPolicyIdsAssignedToDefaultUserRole.length>0)("ngIfThen",e)("ngIfElse",i),p(8),y("ngSwitch",o.authorizationPolicy.guestUserRoleId),p(1),y("ngSwitchCase","a0b1b346-4d3e-4e8b-98f8-753987be4970"),p(1),y("ngSwitchCase","10dae51f-b6af-4016-8d66-8c2a99b929b3"),p(1),y("ngSwitchCase","2af84b1e-32c8-42b7-82bc-daa82404023b")}}function sq(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}function aq(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.name)}}function lq(t,n){1&t&&(u(0,"th",19),m(1,"Type"),d())}function cq(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.type)}}function dq(t,n){1&t&&(u(0,"th",19),m(1,"Properties"),d())}function uq(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),gl("",e.default?"Default ":"","",e.initial?"Initial":"","")}}function hq(t,n){1&t&&(u(0,"th",19),m(1,"Capabilities"),d())}function fq(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.capabilities)}}function pq(t,n){1&t&&A(0,"tr",21)}function mq(t,n){1&t&&A(0,"tr",22)}function gq(t,n){if(1&t&&(u(0,"mat-card")(1,"mat-card-title"),m(2,"Tenant Domains"),d(),u(3,"table",10),S(4,11),f(5,sq,2,0,"th",12),f(6,aq,2,1,"td",13),M(),S(7,14),f(8,lq,2,0,"th",12),f(9,cq,2,1,"td",13),M(),S(10,15),f(11,dq,2,0,"th",12),f(12,uq,2,2,"td",13),M(),S(13,16),f(14,hq,2,0,"th",12),f(15,fq,2,1,"td",13),M(),f(16,pq,1,0,"tr",17),f(17,mq,1,0,"tr",18),d()()),2&t){const e=I();p(3),y("dataSource",e.tenantdetails.verifiedDomains),p(13),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}let _q=(()=>{class t{constructor(e,i){this.service=e,this.dialog=i,this.hasSelfConsentPolicy=!1,this.displayedColumns=["name","type","capabilities","properties"]}ngOnInit(){this.service.getTenantDetail().subscribe(e=>this.tenantdetails=e),this.service.getDirectorySetting().subscribe(e=>this.directorysettings=e),this.service.getTenantStats().subscribe(e=>this.tenantstats=e),this.service.getAuthorizationPolicies().subscribe(e=>{e.length>0&&(this.authorizationPolicy=e[0],e[0].permissionGrantPolicyIdsAssignedToDefaultUserRole.forEach(i=>{-1!=i.indexOf("ManagePermissionGrantsForSelf")&&(this.hasSelfConsentPolicy=!0)}))})}showDetails(){this.dialog.open(vq,{data:this.tenantdetails})}}return t.\u0275fac=function(e){return new(e||t)(_(He),_(Io))},t.\u0275cmp=U({type:t,selectors:[["app-index"]],features:[q([He])],decls:5,vars:5,consts:[[4,"ngIf"],[1,"userTable"],[4,"ngFor","ngForOf"],["mat-button","",3,"click"],[4,"ngIf","ngIfThen","ngIfElse"],["thenBlock",""],["elseBlock",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","properties"],["matColumnDef","capabilities"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(f(0,PW,35,6,"mat-card",0),f(1,$W,7,1,"mat-card",0),f(2,UW,23,3,"mat-card",0),f(3,rq,38,12,"mat-card",0),f(4,gq,18,3,"mat-card",0)),2&e&&(y("ngIf",i.tenantstats),p(1),y("ngIf",i.directorysettings),p(1),y("ngIf",i.tenantdetails),p(1),y("ngIf",i.authorizationPolicy),p(1),y("ngIf",i.tenantdetails))},dependencies:[Wi,at,ca,Zd,jm,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,dr,OT,X$,J$,Bg,K1],styles:["td.mat-cell[_ngcontent-%COMP%], th.mat-cell[_ngcontent-%COMP%]{padding-right:10px}.userTable[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding-right:10px}mat-card[_ngcontent-%COMP%]{margin:20px;float:left}"]}),t})(),vq=(()=>{class t{constructor(e,i){this.dialogRef=e,this.details=i}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(ur))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:4,vars:1,consts:[["mat-dialog-title",""],["appJsonFormat","",3,"json"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1,"Tenant details"),d(),u(2,"mat-dialog-content"),A(3,"p",1),d()),2&e&&(p(3),y("json",i.details))},dependencies:[Jr,es,cs],encapsulation:2}),t})();function yq(t,n){1&t&&(u(0,"th",17),m(1,"Name"),d())}const bq=function(t){return["/serviceprincipals/",t]};function Cq(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,bq,e.objectId)),p(1),D(e.displayName)}}function wq(t,n){1&t&&(u(0,"th",17),m(1,"Type"),d())}function Dq(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.servicePrincipalType)}}function Sq(t,n){1&t&&(u(0,"th",17),m(1,"Publisher"),d())}function Mq(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.publisherName)}}function Tq(t,n){1&t&&(u(0,"th",17),m(1,"Microsoft app"),d())}function xq(t,n){1&t&&(u(0,"mat-icon",21),m(1,"check"),d())}function Eq(t,n){if(1&t&&(u(0,"td",18),f(1,xq,2,0,"mat-icon",20),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.microsoftFirstParty)}}function Aq(t,n){1&t&&(u(0,"th",17),m(1,"Passwords"),d())}function Iq(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.passwordCredentials.length)}}function kq(t,n){1&t&&(u(0,"mat-icon",24),m(1,"warning"),d())}function Rq(t,n){if(1&t&&(u(0,"td",18),f(1,Iq,2,1,"span",22),f(2,kq,2,0,"mat-icon",23),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.passwordCredentials.length>0),p(1),y("ngIf",e.passwordCredentials.length>0&&e.microsoftFirstParty)}}function Oq(t,n){1&t&&(u(0,"th",17),m(1,"Keys"),d())}function Pq(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.keyCredentials.length)}}function Fq(t,n){if(1&t&&(u(0,"td",18),f(1,Pq,2,1,"span",22),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.keyCredentials.length>0)}}function Nq(t,n){1&t&&(u(0,"th",17),m(1,"Roles defined"),d())}function Lq(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.appRoles.length)}}function Bq(t,n){if(1&t&&(u(0,"td",18),f(1,Lq,2,1,"span",22),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.appRoles.length>0)}}function Vq(t,n){1&t&&(u(0,"th",17),m(1,"OAuth2 Permissions"),d())}function Hq(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.oauth2Permissions.length)}}function jq(t,n){if(1&t&&(u(0,"td",18),f(1,Hq,2,1,"span",22),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.oauth2Permissions.length>0)}}function $q(t,n){1&t&&(u(0,"th",17),m(1,"Custom owner"),d())}function Uq(t,n){1&t&&(u(0,"mat-icon",26),m(1,"check"),d())}function zq(t,n){if(1&t&&(u(0,"td",18),f(1,Uq,2,0,"mat-icon",25),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.ownerUsers.length+e.ownerServicePrincipals.length>0)}}function Gq(t,n){1&t&&A(0,"tr",27)}function Wq(t,n){1&t&&A(0,"tr",28)}const qq=function(){return[50,100,500,1e3,5e3]};let Yq=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","servicePrincipalType","publisherName","microsoftFirstParty","passwordCredentials","keyCredentials","appRoles","oauth2Permissions","owner"]}ngOnInit(){this.dataSource=new qi,this.service.getServicePrincipals().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-serviceprincipals"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:35,vars:4,consts:[[1,"mat-elevation-z8"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","servicePrincipalType"],["matColumnDef","publisherName"],["matColumnDef","microsoftFirstParty"],["matColumnDef","passwordCredentials"],["matColumnDef","keyCredentials"],["matColumnDef","appRoles"],["matColumnDef","oauth2Permissions"],["matColumnDef","owner"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["aria-hidden","false","aria-label","Microsoft app",4,"ngIf"],["aria-hidden","false","aria-label","Microsoft app"],[4,"ngIf"],["matTooltip","Possible backdoor: First party app with credentials",4,"ngIf"],["matTooltip","Possible backdoor: First party app with credentials"],["aria-hidden","false","aria-label","Yes",4,"ngIf"],["aria-hidden","false","aria-label","Yes"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div",0)(1,"mat-form-field")(2,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(3,"table",2),S(4,3),f(5,yq,2,0,"th",4),f(6,Cq,3,4,"td",5),M(),S(7,6),f(8,wq,2,0,"th",4),f(9,Dq,2,1,"td",5),M(),S(10,7),f(11,Sq,2,0,"th",4),f(12,Mq,2,1,"td",5),M(),S(13,8),f(14,Tq,2,0,"th",4),f(15,Eq,2,1,"td",5),M(),S(16,9),f(17,Aq,2,0,"th",4),f(18,Rq,3,2,"td",5),M(),S(19,10),f(20,Oq,2,0,"th",4),f(21,Fq,2,1,"td",5),M(),S(22,11),f(23,Nq,2,0,"th",4),f(24,Bq,2,1,"td",5),M(),S(25,12),f(26,Vq,2,0,"th",4),f(27,jq,2,1,"td",5),M(),S(28,13),f(29,$q,2,0,"th",4),f(30,zq,2,1,"td",5),M(),f(31,Gq,1,0,"tr",14),f(32,Wq,1,0,"tr",15),d(),A(33,"mat-paginator",16),d(),A(34,"router-outlet")),2&e&&(p(31),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,qq)))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Kn,Ki,Oo,rc],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function Kq(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Email"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.user.mail)}}function Qq(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Department"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.user.department)}}function Zq(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Last password change"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.user.lastPasswordChangeDateTime)}}function Xq(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Job Title"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.user.jobTitle)}}function Jq(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Mobile"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.user.mobile)}}function eY(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Manage in Entra portal"),d(),u(3,"td")(4,"a",16)(5,"mat-icon"),m(6,"open_in_new"),d()()()()),2&t){const e=I();p(4),Rr("href","https://entra.microsoft.com/#blade/Microsoft_AAD_UsersAndTenants/UserProfileMenuBlade/userId/",e.user.objectId,"",Tr)}}function tY(t,n){1&t&&(u(0,"th",17),m(1,"Name"),d())}const ME=function(t){return["/groups/",t]};function nY(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,ME,e.objectId)),p(1),D(e.displayName)}}function iY(t,n){1&t&&(u(0,"th",17),m(1,"Description"),d())}function oY(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function rY(t,n){1&t&&A(0,"tr",20)}function sY(t,n){1&t&&A(0,"tr",21)}function aY(t,n){1&t&&A(0,"tr",20)}function lY(t,n){1&t&&A(0,"tr",21)}function cY(t,n){if(1&t&&(u(0,"table",5),A(1,"mat-text-column",22)(2,"mat-text-column",23),f(3,aY,1,0,"tr",10),f(4,lY,1,0,"tr",11),d()),2&t){const e=I();y("dataSource",e.user.memberOfRole),p(3),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function dY(t,n){1&t&&(u(0,"th",37),m(1,"Name"),d())}const uY=function(t){return["/devices/",t]};function hY(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,uY,e.objectId)),p(1),D(e.displayName)}}function fY(t,n){1&t&&(u(0,"th",37),m(1,"Enabled"),d())}function pY(t,n){1&t&&(u(0,"mat-icon",39),m(1,"check"),d())}function mY(t,n){if(1&t&&(u(0,"td",18),f(1,pY,2,0,"mat-icon",38),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.accountEnabled)}}function gY(t,n){1&t&&(u(0,"th",37),m(1,"Manufacturer"),d())}function _Y(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceManufacturer)}}function vY(t,n){1&t&&(u(0,"th",37),m(1,"Model"),d())}function yY(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceModel)}}function bY(t,n){1&t&&(u(0,"th",37),m(1,"OS"),d())}function CY(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSType)}}function wY(t,n){1&t&&(u(0,"th",37),m(1,"OS Version"),d())}function DY(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSVersion)}}function SY(t,n){1&t&&(u(0,"th",37),m(1,"Trust type"),d())}function MY(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceTrustType)}}function TY(t,n){1&t&&(u(0,"th",37),m(1,"Compliant"),d())}function xY(t,n){1&t&&(u(0,"mat-icon",41),m(1,"check"),d())}function EY(t,n){if(1&t&&(u(0,"td",18),f(1,xY,2,0,"mat-icon",40),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isCompliant)}}function AY(t,n){1&t&&(u(0,"th",37),m(1,"Managed"),d())}function IY(t,n){1&t&&(u(0,"mat-icon",43),m(1,"check"),d())}function kY(t,n){if(1&t&&(u(0,"td",18),f(1,IY,2,0,"mat-icon",42),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isManaged)}}function RY(t,n){1&t&&(u(0,"th",37),m(1,"Rooted"),d())}function OY(t,n){1&t&&(u(0,"mat-icon",45),m(1,"check"),d())}function PY(t,n){if(1&t&&(u(0,"td",18),f(1,OY,2,0,"mat-icon",44),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isRooted)}}function FY(t,n){1&t&&A(0,"tr",20)}function NY(t,n){1&t&&A(0,"tr",21)}function LY(t,n){if(1&t&&(u(0,"mat-expansion-panel",4)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",26),S(5,6),f(6,dY,2,0,"th",27),f(7,hY,3,4,"td",8),M(),S(8,28),f(9,fY,2,0,"th",27),f(10,mY,2,1,"td",8),M(),S(11,29),f(12,gY,2,0,"th",27),f(13,_Y,2,1,"td",8),M(),S(14,30),f(15,vY,2,0,"th",27),f(16,yY,2,1,"td",8),M(),S(17,31),f(18,bY,2,0,"th",27),f(19,CY,2,1,"td",8),M(),S(20,32),f(21,wY,2,0,"th",27),f(22,DY,2,1,"td",8),M(),S(23,33),f(24,SY,2,0,"th",27),f(25,MY,2,1,"td",8),M(),S(26,34),f(27,TY,2,0,"th",27),f(28,EY,2,1,"td",8),M(),S(29,35),f(30,AY,2,0,"th",27),f(31,kY,2,1,"td",8),M(),S(32,36),f(33,RY,2,0,"th",27),f(34,PY,2,1,"td",8),M(),f(35,FY,1,0,"tr",10),f(36,NY,1,0,"tr",11),d()()),2&t){const e=I(2);p(3),te(" Devices (",e.user.ownedDevices.length,") "),p(1),y("dataSource",e.user.ownedDevices),p(31),y("matHeaderRowDef",e.displayedColumnsDevices),p(1),y("matRowDefColumns",e.displayedColumnsDevices)}}function BY(t,n){1&t&&(u(0,"th",37),m(1,"Name"),d())}const VY=function(t){return["/serviceprincipals/",t]};function HY(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,VY,e.objectId)),p(1),D(e.displayName)}}function jY(t,n){1&t&&(u(0,"th",37),m(1,"Publisher"),d())}function $Y(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.publisherName)}}function UY(t,n){1&t&&(u(0,"th",37),m(1,"Microsoft app"),d())}function zY(t,n){1&t&&(u(0,"mat-icon",54),m(1,"check"),d())}function GY(t,n){if(1&t&&(u(0,"td",18),f(1,zY,2,0,"mat-icon",53),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.microsoftFirstParty)}}function WY(t,n){1&t&&(u(0,"th",37),m(1,"Passwords"),d())}function qY(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.passwordCredentials.length)}}function YY(t,n){if(1&t&&(u(0,"td",18),f(1,qY,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.passwordCredentials.length>0)}}function KY(t,n){1&t&&(u(0,"th",37),m(1,"Keys"),d())}function QY(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.keyCredentials.length)}}function ZY(t,n){if(1&t&&(u(0,"td",18),f(1,QY,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.keyCredentials.length>0)}}function XY(t,n){1&t&&(u(0,"th",37),m(1,"Roles defined"),d())}function JY(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.appRoles.length)}}function eK(t,n){if(1&t&&(u(0,"td",18),f(1,JY,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.appRoles.length>0)}}function tK(t,n){1&t&&(u(0,"th",37),m(1,"OAuth2 Permissions"),d())}function nK(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.oauth2Permissions.length)}}function iK(t,n){if(1&t&&(u(0,"td",18),f(1,nK,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.oauth2Permissions.length>0)}}function oK(t,n){1&t&&(u(0,"th",37),m(1,"Custom owner"),d())}function rK(t,n){1&t&&(u(0,"mat-icon",56),m(1,"check"),d())}function sK(t,n){if(1&t&&(u(0,"td",18),f(1,rK,2,0,"mat-icon",55),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.ownerUsers.length+e.ownerServiceprincipals.length>0)}}function aK(t,n){1&t&&A(0,"tr",20)}function lK(t,n){1&t&&A(0,"tr",21)}function cK(t,n){if(1&t&&(u(0,"mat-expansion-panel",4)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",26),S(5,6),f(6,BY,2,0,"th",27),f(7,HY,3,4,"td",8),M(),S(8,46),f(9,jY,2,0,"th",27),f(10,$Y,2,1,"td",8),M(),S(11,47),f(12,UY,2,0,"th",27),f(13,GY,2,1,"td",8),M(),S(14,48),f(15,WY,2,0,"th",27),f(16,YY,2,1,"td",8),M(),S(17,49),f(18,KY,2,0,"th",27),f(19,ZY,2,1,"td",8),M(),S(20,50),f(21,XY,2,0,"th",27),f(22,eK,2,1,"td",8),M(),S(23,51),f(24,tK,2,0,"th",27),f(25,iK,2,1,"td",8),M(),S(26,52),f(27,oK,2,0,"th",27),f(28,sK,2,1,"td",8),M(),f(29,aK,1,0,"tr",10),f(30,lK,1,0,"tr",11),d()()),2&t){const e=I(2);p(3),te(" ServicePrincipals (",e.user.ownedServicePrincipals.length,") "),p(1),y("dataSource",e.user.ownedServicePrincipals),p(25),y("matHeaderRowDef",e.displayedColumnsServicePrincipals),p(1),y("matRowDefColumns",e.displayedColumnsServicePrincipals)}}function dK(t,n){1&t&&(u(0,"th",37),m(1,"Name"),d())}const uK=function(t){return["/applications/",t]};function hK(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,uK,e.objectId)),p(1),D(e.displayName)}}function fK(t,n){1&t&&(u(0,"th",37),m(1,"Passwords"),d())}function pK(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.passwordCredentials.length)}}function mK(t,n){if(1&t&&(u(0,"td",18),f(1,pK,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.passwordCredentials.length>0)}}function gK(t,n){1&t&&(u(0,"th",37),m(1,"Keys"),d())}function _K(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.keyCredentials.length)}}function vK(t,n){if(1&t&&(u(0,"td",18),f(1,_K,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.keyCredentials.length>0)}}function yK(t,n){1&t&&(u(0,"th",37),m(1,"Roles defined"),d())}function bK(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.appRoles.length)}}function CK(t,n){if(1&t&&(u(0,"td",18),f(1,bK,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.appRoles.length>0)}}function wK(t,n){1&t&&(u(0,"th",37),m(1,"OAuth2 Permissions"),d())}function DK(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.oauth2Permissions.length)}}function SK(t,n){if(1&t&&(u(0,"td",18),f(1,DK,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.oauth2Permissions.length>0)}}function MK(t,n){1&t&&(u(0,"th",37),m(1,"Custom owner"),d())}function TK(t,n){1&t&&(u(0,"mat-icon",56),m(1,"check"),d())}function xK(t,n){if(1&t&&(u(0,"td",18),f(1,TK,2,0,"mat-icon",55),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.ownerUsers.length+e.ownerServiceprincipals.length>0)}}function EK(t,n){1&t&&A(0,"tr",20)}function AK(t,n){1&t&&A(0,"tr",21)}function IK(t,n){if(1&t&&(u(0,"mat-expansion-panel",4)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",26),S(5,6),f(6,dK,2,0,"th",27),f(7,hK,3,4,"td",8),M(),S(8,48),f(9,fK,2,0,"th",27),f(10,mK,2,1,"td",8),M(),S(11,49),f(12,gK,2,0,"th",27),f(13,vK,2,1,"td",8),M(),S(14,50),f(15,yK,2,0,"th",27),f(16,CK,2,1,"td",8),M(),S(17,51),f(18,wK,2,0,"th",27),f(19,SK,2,1,"td",8),M(),S(20,52),f(21,MK,2,0,"th",27),f(22,xK,2,1,"td",8),M(),f(23,EK,1,0,"tr",10),f(24,AK,1,0,"tr",11),d()()),2&t){const e=I(2);p(3),te(" Applications (",e.user.ownedApplications.length,") "),p(1),y("dataSource",e.user.ownedApplications),p(19),y("matHeaderRowDef",e.displayedColumnsApplications),p(1),y("matRowDefColumns",e.displayedColumnsApplications)}}function kK(t,n){1&t&&(u(0,"th",17),m(1,"Name"),d())}function RK(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,ME,e.objectId)),p(1),D(e.displayName)}}function OK(t,n){1&t&&(u(0,"th",17),m(1,"Description"),d())}function PK(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function FK(t,n){1&t&&A(0,"tr",20)}function NK(t,n){1&t&&A(0,"tr",21)}function LK(t,n){if(1&t&&(u(0,"mat-expansion-panel",4)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",5),S(5,6),f(6,kK,2,0,"th",7),f(7,RK,3,4,"td",8),M(),S(8,9),f(9,OK,2,0,"th",7),f(10,PK,2,1,"td",8),M(),f(11,FK,1,0,"tr",10),f(12,NK,1,0,"tr",11),d()()),2&t){const e=I(2);p(3),te(" Groups (",e.user.ownedGroups.length,") "),p(1),y("dataSource",e.user.ownedGroups),p(7),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function BK(t,n){if(1&t&&(u(0,"mat-tab",24),f(1,LY,37,4,"mat-expansion-panel",25),f(2,cK,31,4,"mat-expansion-panel",25),f(3,IK,25,4,"mat-expansion-panel",25),f(4,LK,13,4,"mat-expansion-panel",25),d()),2&t){const e=I();p(1),y("ngIf",e.user.ownedDevices.length>0),p(1),y("ngIf",e.user.ownedServicePrincipals.length>0),p(1),y("ngIf",e.user.ownedApplications.length>0),p(1),y("ngIf",e.user.ownedGroups.length>0)}}let VK=(()=>{class t{constructor(e,i,o,r,s){this.route=e,this.router=i,this.dialog=o,this.location=r,this.localSt=s,this.myurl=this.router.url,this.showPortalLink=this.localSt.retrieve("portallinks")}ngOnInit(){this.route.data.subscribe(e=>{this.dialog.open(HK,{data:{user:e.user,showPortalLink:this.showPortalLink}}).afterClosed().subscribe(o=>{this.router.url==this.myurl&&this.location.back()})})}}return t.\u0275fac=function(e){return new(e||t)(_(Qn),_(Ke),_(Io),_(xi),_(ls))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),HK=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.displayedColumns=["displayName","description"],this.displayedColumnsServicePrincipals=["displayName","publisherName","microsoftFirstParty","passwordCredentials","keyCredentials","appRoles","oauth2Permissions"],this.displayedColumnsDevices=["displayName","deviceManufacturer","accountEnabled","deviceModel","deviceOSType","deviceOSVersion","deviceTrustType","isCompliant","isManaged","isRooted"],this.displayedColumnsApplications=["displayName","passwordCredentials","keyCredentials","appRoles","oauth2Permissions"],this.user=i.user,this.showPortalLink=i.showPortalLink}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(ur))},t.\u0275cmp=U({type:t,selectors:[["app-usersdialog"]],viewQuery:function(e,i){if(1&e&&Y(Ze,7),2&e){let o;F(o=N())&&(i.sort=o.first)}},decls:65,vars:21,consts:[["mat-dialog-title",""],["label","Overview"],[1,"userTable"],[4,"ngIf"],["expanded",""],["mat-table","",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-table","",3,"dataSource",4,"ngIf"],["label","Owned objects",4,"ngIf"],["label","Raw"],["appJsonFormat","",3,"json"],["target","_blank",3,"href"],["mat-header-cell",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""],["name","displayName"],["name","description"],["label","Owned objects"],["expanded","",4,"ngIf"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table",3,"dataSource"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","accountEnabled"],["matColumnDef","deviceManufacturer"],["matColumnDef","deviceModel"],["matColumnDef","deviceOSType"],["matColumnDef","deviceOSVersion"],["matColumnDef","deviceTrustType"],["matColumnDef","isCompliant"],["matColumnDef","isManaged"],["matColumnDef","isRooted"],["mat-header-cell","","mat-sort-header",""],["aria-hidden","false","aria-label","Enabled",4,"ngIf"],["aria-hidden","false","aria-label","Enabled"],["aria-hidden","false","aria-label","Compliant",4,"ngIf"],["aria-hidden","false","aria-label","Compliant"],["aria-hidden","false","aria-label","Managed",4,"ngIf"],["aria-hidden","false","aria-label","Managed"],["aria-hidden","false","aria-label","Rooted",4,"ngIf"],["aria-hidden","false","aria-label","Rooted"],["matColumnDef","publisherName"],["matColumnDef","microsoftFirstParty"],["matColumnDef","passwordCredentials"],["matColumnDef","keyCredentials"],["matColumnDef","appRoles"],["matColumnDef","oauth2Permissions"],["matColumnDef","ownerUsers"],["aria-hidden","false","aria-label","Microsoft app",4,"ngIf"],["aria-hidden","false","aria-label","Microsoft app"],["aria-hidden","false","aria-label","Yes",4,"ngIf"],["aria-hidden","false","aria-label","Yes"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1),d(),u(2,"mat-dialog-content")(3,"mat-tab-group")(4,"mat-tab",1)(5,"mat-card")(6,"table",2)(7,"tr")(8,"th"),m(9,"Display name"),d(),u(10,"td"),m(11),d()(),u(12,"tr")(13,"th"),m(14,"UserPrincipalName"),d(),u(15,"td"),m(16),d()(),u(17,"tr")(18,"th"),m(19,"ObjectId"),d(),u(20,"td"),m(21),d()(),f(22,Kq,5,1,"tr",3),f(23,Qq,5,1,"tr",3),f(24,Zq,5,1,"tr",3),f(25,Xq,5,1,"tr",3),f(26,Jq,5,1,"tr",3),u(27,"tr")(28,"th"),m(29,"Account source"),d(),u(30,"td"),m(31),d()(),u(32,"tr")(33,"th"),m(34,"Account type"),d(),u(35,"td"),m(36),d()(),u(37,"tr")(38,"th"),m(39,"Status"),d(),u(40,"td"),m(41),d()(),f(42,eY,7,1,"tr",3),d()(),A(43,"mat-divider"),u(44,"mat-expansion-panel",4)(45,"mat-expansion-panel-header")(46,"mat-panel-title"),m(47),d()(),u(48,"table",5),S(49,6),f(50,tY,2,0,"th",7),f(51,nY,3,4,"td",8),M(),S(52,9),f(53,iY,2,0,"th",7),f(54,oY,2,1,"td",8),M(),f(55,rY,1,0,"tr",10),f(56,sY,1,0,"tr",11),d()(),u(57,"mat-expansion-panel",4)(58,"mat-expansion-panel-header")(59,"mat-panel-title"),m(60),d()(),f(61,cY,5,3,"table",12),d()(),f(62,BK,5,4,"mat-tab",13),u(63,"mat-tab",14),A(64,"mat-card",15),d()()()),2&e&&(p(1),D(i.user.displayName),p(10),D(i.user.displayName),p(5),D(i.user.userPrincipalName),p(5),D(i.user.objectId),p(1),y("ngIf",null!=i.user.mail),p(1),y("ngIf",null!=i.user.department),p(1),y("ngIf",null!=i.user.lastPasswordChangeDateTime),p(1),y("ngIf",null!=i.user.jobTitle),p(1),y("ngIf",null!=i.user.mobile),p(5),D(i.user.dirSyncEnabled?"Synced with AD":"Cloud-only"),p(5),D(i.user.userType),p(5),D(i.user.accountEnabled?"Enabled":"Disabled"),p(1),y("ngIf",i.showPortalLink),p(5),te(" Group memberships (",i.user.memberOf.length,") "),p(1),y("dataSource",i.user.memberOf),p(7),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(4),te(" Role memberships (",i.user.memberOfRole.length,") "),p(1),y("ngIf",i.user.memberOfRole.length>0),p(1),y("ngIf",i.user.ownedServicePrincipals.length+i.user.ownedDevices.length+i.user.ownedApplications.length+i.user.ownedGroups.length>0),p(2),y("json",i.user))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,SS,Ze,di,Bt,Sa,Qr,Kn,Jr,es,Xr,dr,hr,ts,ns,cs],styles:["td.mat-cell[_ngcontent-%COMP%], th.mat-cell[_ngcontent-%COMP%]{padding-right:10px}.userTable[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding-right:10px}"]}),t})();function jK(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Manage in Entra portal"),d(),u(3,"td")(4,"a",8)(5,"mat-icon"),m(6,"open_in_new"),d()()()()),2&t){const e=I();p(4),Rr("href","https://entra.microsoft.com/#view/Microsoft_AAD_Devices/DeviceDetailsMenuBlade/~/Properties/objectId/",e.device.objectId,"/deviceId/",Tr)}}function $K(t,n){1&t&&(u(0,"th",17),m(1,"Name"),d())}const UK=function(t){return["/users/",t]};function zK(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,UK,e.objectId)),p(1),D(e.displayName)}}function GK(t,n){1&t&&(u(0,"th",17),m(1,"userPrincipalName"),d())}function WK(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function qK(t,n){1&t&&A(0,"tr",20)}function YK(t,n){1&t&&A(0,"tr",21)}function KK(t,n){if(1&t&&(u(0,"mat-expansion-panel",9)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",10),S(5,11),f(6,$K,2,0,"th",12),f(7,zK,3,4,"td",13),M(),S(8,14),f(9,GK,2,0,"th",12),f(10,WK,2,1,"td",13),M(),f(11,qK,1,0,"tr",15),f(12,YK,1,0,"tr",16),d()()),2&t){const e=I();p(3),te(" Owners (",e.device.owner.length,") "),p(1),y("dataSource",e.device.owner),p(7),y("matHeaderRowDef",e.displayedColumnsOwners),p(1),y("matRowDefColumns",e.displayedColumnsOwners)}}function QK(t,n){1&t&&(u(0,"th",17),m(1,"Identifier"),d())}function ZK(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.keyIdentifier)}}function XK(t,n){1&t&&(u(0,"th",17),m(1,"Recovery key"),d())}function JK(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.keyMaterial)}}function eQ(t,n){1&t&&A(0,"tr",20)}function tQ(t,n){1&t&&A(0,"tr",21)}function nQ(t,n){if(1&t&&(u(0,"mat-tab",22)(1,"table",23),S(2,24),f(3,QK,2,0,"th",12),f(4,ZK,2,1,"td",13),M(),S(5,25),f(6,XK,2,0,"th",12),f(7,JK,2,1,"td",13),M(),f(8,eQ,1,0,"tr",15),f(9,tQ,1,0,"tr",16),d()()),2&t){const e=I();p(1),y("dataSource",e.blkeys),p(7),y("matHeaderRowDef",e.displayedColumnsBLKeys),p(1),y("matRowDefColumns",e.displayedColumnsBLKeys)}}let iQ=(()=>{class t{constructor(e,i,o,r){this.route=e,this.router=i,this.dialog=o,this.location=r,this.myurl=this.router.url}ngOnInit(){this.route.data.subscribe(e=>{this.dialog.open(oQ,{data:e.device}).afterClosed().subscribe(o=>{this.router.url==this.myurl&&this.location.back()})})}}return t.\u0275fac=function(e){return new(e||t)(_(Qn),_(Ke),_(Io),_(xi))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),oQ=(()=>{class t{constructor(e,i,o){if(this.dialogRef=e,this.device=i,this.localSt=o,this.displayedColumns=["displayName","description"],this.displayedColumnsOwners=["displayName","userPrincipalName"],this.displayedColumnsBLKeys=["keyIdentifier","keyMaterial"],this.displayedColumnsDevices=["displayName","deviceManufacturer","accountEnabled","deviceModel","deviceOSType","deviceOSVersion","deviceTrustType","isCompliant","isManaged","isRooted"],this.blkeys=[],this.showPortalLink=this.localSt.retrieve("portallinks"),i.bitLockerKey&&i.bitLockerKey.length>0)for(let r of i.bitLockerKey){let s=r;s.keyMaterial=atob(r.keyMaterial),this.blkeys.push(s)}}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(ur),_(ls))},t.\u0275cmp=U({type:t,selectors:[["app-devicesdialog"]],viewQuery:function(e,i){if(1&e&&Y(Ze,7),2&e){let o;F(o=N())&&(i.sort=o.first)}},decls:28,vars:8,consts:[["mat-dialog-title",""],["label","Overview"],[1,"userTable"],[4,"ngIf"],["expanded","",4,"ngIf"],["label","Bitlocker Keys",4,"ngIf"],["label","Raw"],["appJsonFormat","",3,"json"],["target","_blank",3,"href"],["expanded",""],["mat-table","",1,"full-width-table",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userPrincipalName"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""],["label","Bitlocker Keys"],["mat-table","",3,"dataSource"],["matColumnDef","keyIdentifier"],["matColumnDef","keyMaterial"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1),d(),u(2,"mat-dialog-content")(3,"mat-tab-group")(4,"mat-tab",1)(5,"mat-card")(6,"table",2)(7,"tr")(8,"th"),m(9,"Display name"),d(),u(10,"td"),m(11),d()(),u(12,"tr")(13,"th"),m(14,"ObjectId"),d(),u(15,"td"),m(16),d()(),u(17,"tr")(18,"th"),m(19,"Device ID"),d(),u(20,"td"),m(21),d()(),f(22,jK,7,1,"tr",3),d()(),A(23,"mat-divider"),f(24,KK,13,4,"mat-expansion-panel",4),d(),f(25,nQ,10,3,"mat-tab",5),u(26,"mat-tab",6),A(27,"p",7),d()()()),2&e&&(p(1),D(i.device.displayName),p(10),D(i.device.displayName),p(5),D(i.device.objectId),p(5),D(i.device.deviceId),p(1),y("ngIf",i.showPortalLink),p(2),y("ngIf",i.device.owner.length>0),p(1),y("ngIf",i.blkeys.length>0),p(2),y("json",i.device))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Bt,Sa,Qr,Kn,Jr,es,Xr,dr,hr,ts,ns,cs],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function rQ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Dynamic Membership"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.group.membershipRule)}}function sQ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Email"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.group.mail)}}function aQ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Public group"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.group.isPublic?"Yes":"No")}}function lQ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Can be assigned to roles"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.group.isAssignableToRole?"Yes":"No")}}function cQ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Created"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.group.createdDateTime)}}function dQ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Manage in Entra portal"),d(),u(3,"td")(4,"a",17)(5,"mat-icon"),m(6,"open_in_new"),d()()()()),2&t){const e=I();p(4),Rr("href","https://entra.microsoft.com/#view/Microsoft_AAD_IAM/GroupDetailsMenuBlade/~/Overview/groupId/",e.group.objectId,"",Tr)}}function uQ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}const TE=function(t){return["/groups/",t]};function hQ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,TE,e.objectId)),p(1),D(e.displayName)}}function fQ(t,n){1&t&&(u(0,"th",19),m(1,"Description"),d())}function pQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function mQ(t,n){1&t&&A(0,"tr",22)}function gQ(t,n){1&t&&A(0,"tr",23)}function _Q(t,n){if(1&t&&(u(0,"mat-expansion-panel",5)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",6),S(5,7),f(6,uQ,2,0,"th",8),f(7,hQ,3,4,"td",9),M(),S(8,18),f(9,fQ,2,0,"th",8),f(10,pQ,2,1,"td",9),M(),f(11,mQ,1,0,"tr",12),f(12,gQ,1,0,"tr",13),d()()),2&t){const e=I();p(3),te(" Group memberships (parent groups) (",e.group.memberOf.length,") "),p(1),y("dataSource",e.group.memberOf),p(7),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function vQ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}const xE=function(t){return["/users/",t]};function yQ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,xE,e.objectId)),p(1),D(e.displayName)}}function bQ(t,n){1&t&&(u(0,"th",19),m(1,"userPrincipalName"),d())}function CQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function wQ(t,n){1&t&&A(0,"tr",22)}function DQ(t,n){1&t&&A(0,"tr",23)}function SQ(t,n){if(1&t&&(u(0,"mat-expansion-panel",5)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",24),S(5,7),f(6,vQ,2,0,"th",8),f(7,yQ,3,4,"td",9),M(),S(8,10),f(9,bQ,2,0,"th",8),f(10,CQ,2,1,"td",9),M(),f(11,wQ,1,0,"tr",12),f(12,DQ,1,0,"tr",13),d()()),2&t){const e=I();p(3),te(" Owner users (",e.group.ownerUsers.length,") "),p(1),y("dataSource",e.group.ownerUsers),p(7),y("matHeaderRowDef",e.displayedColumnsOwners),p(1),y("matRowDefColumns",e.displayedColumnsOwners)}}function MQ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}const EE=function(t){return["/serviceprincipals/",t]};function TQ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,EE,e.objectId)),p(1),D(e.displayName)}}function xQ(t,n){1&t&&(u(0,"th",19),m(1,"Type"),d())}function EQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.servicePrincipalType)}}function AQ(t,n){1&t&&A(0,"tr",22)}function IQ(t,n){1&t&&A(0,"tr",23)}function kQ(t,n){if(1&t&&(u(0,"mat-expansion-panel",5)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",24),S(5,7),f(6,MQ,2,0,"th",8),f(7,TQ,3,4,"td",9),M(),S(8,25),f(9,xQ,2,0,"th",8),f(10,EQ,2,1,"td",9),M(),f(11,AQ,1,0,"tr",12),f(12,IQ,1,0,"tr",13),d()()),2&t){const e=I();p(3),te(" Owner service principals (",e.group.ownerServicePrincipals.length,") "),p(1),y("dataSource",e.group.ownerServicePrincipals),p(7),y("matHeaderRowDef",e.displayedColumnsServicePrincipal),p(1),y("matRowDefColumns",e.displayedColumnsServicePrincipal)}}function RQ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}function OQ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,xE,e.objectId)),p(1),D(e.displayName)}}function PQ(t,n){1&t&&(u(0,"th",19),m(1,"User principal name"),d())}function FQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function NQ(t,n){1&t&&(u(0,"th",19),m(1,"Type"),d())}function LQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userType)}}function BQ(t,n){1&t&&A(0,"tr",22)}function VQ(t,n){1&t&&A(0,"tr",23)}function HQ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}function jQ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,TE,e.objectId)),p(1),D(e.displayName)}}function $Q(t,n){1&t&&(u(0,"th",19),m(1,"Description"),d())}function UQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function zQ(t,n){1&t&&A(0,"tr",22)}function GQ(t,n){1&t&&A(0,"tr",23)}function WQ(t,n){if(1&t&&(u(0,"mat-expansion-panel",5)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",6),S(5,7),f(6,HQ,2,0,"th",8),f(7,jQ,3,4,"td",9),M(),S(8,18),f(9,$Q,2,0,"th",8),f(10,UQ,2,1,"td",9),M(),f(11,zQ,1,0,"tr",12),f(12,GQ,1,0,"tr",13),d()()),2&t){const e=I();p(3),te(" Member groups (subgroups) (",e.group.memberGroups.length,") "),p(1),y("dataSource",e.group.memberGroups),p(7),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function qQ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}function YQ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,EE,e.objectId)),p(1),D(e.displayName)}}function KQ(t,n){1&t&&(u(0,"th",19),m(1,"Type"),d())}function QQ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.servicePrincipalType)}}function ZQ(t,n){1&t&&A(0,"tr",22)}function XQ(t,n){1&t&&A(0,"tr",23)}function JQ(t,n){if(1&t&&(u(0,"table",6),S(1,7),f(2,qQ,2,0,"th",8),f(3,YQ,3,4,"td",9),M(),S(4,25),f(5,KQ,2,0,"th",8),f(6,QQ,2,1,"td",9),M(),f(7,ZQ,1,0,"tr",12),f(8,XQ,1,0,"tr",13),d()),2&t){const e=I();y("dataSource",e.group.memberServicePrincipals),p(7),y("matHeaderRowDef",e.displayedColumnsServicePrincipal),p(1),y("matRowDefColumns",e.displayedColumnsServicePrincipal)}}function eZ(t,n){1&t&&(u(0,"th",19),m(1,"Name"),d())}const tZ=function(t){return["/devices/",t]};function nZ(t,n){if(1&t&&(u(0,"td",20)(1,"a",21),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,tZ,e.objectId)),p(1),D(e.displayName)}}function iZ(t,n){1&t&&(u(0,"th",19),m(1,"Enabled"),d())}function oZ(t,n){1&t&&(u(0,"mat-icon",36),m(1,"check"),d())}function rZ(t,n){if(1&t&&(u(0,"td",20),f(1,oZ,2,0,"mat-icon",35),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.accountEnabled)}}function sZ(t,n){1&t&&(u(0,"th",19),m(1,"Manufacturer"),d())}function aZ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceManufacturer)}}function lZ(t,n){1&t&&(u(0,"th",19),m(1,"Model"),d())}function cZ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceModel)}}function dZ(t,n){1&t&&(u(0,"th",19),m(1,"OS"),d())}function uZ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSType)}}function hZ(t,n){1&t&&(u(0,"th",19),m(1,"OS Version"),d())}function fZ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSVersion)}}function pZ(t,n){1&t&&(u(0,"th",19),m(1,"Trust type"),d())}function mZ(t,n){if(1&t&&(u(0,"td",20),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceTrustType)}}function gZ(t,n){1&t&&(u(0,"th",19),m(1,"Compliant"),d())}function _Z(t,n){1&t&&(u(0,"mat-icon",38),m(1,"check"),d())}function vZ(t,n){if(1&t&&(u(0,"td",20),f(1,_Z,2,0,"mat-icon",37),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isCompliant)}}function yZ(t,n){1&t&&(u(0,"th",19),m(1,"Managed"),d())}function bZ(t,n){1&t&&(u(0,"mat-icon",40),m(1,"check"),d())}function CZ(t,n){if(1&t&&(u(0,"td",20),f(1,bZ,2,0,"mat-icon",39),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isManaged)}}function wZ(t,n){1&t&&(u(0,"th",19),m(1,"Rooted"),d())}function DZ(t,n){1&t&&(u(0,"mat-icon",42),m(1,"check"),d())}function SZ(t,n){if(1&t&&(u(0,"td",20),f(1,DZ,2,0,"mat-icon",41),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isRooted)}}function MZ(t,n){1&t&&A(0,"tr",22)}function TZ(t,n){1&t&&A(0,"tr",23)}function xZ(t,n){if(1&t&&(u(0,"table",6),S(1,7),f(2,eZ,2,0,"th",8),f(3,nZ,3,4,"td",9),M(),S(4,26),f(5,iZ,2,0,"th",8),f(6,rZ,2,1,"td",9),M(),S(7,27),f(8,sZ,2,0,"th",8),f(9,aZ,2,1,"td",9),M(),S(10,28),f(11,lZ,2,0,"th",8),f(12,cZ,2,1,"td",9),M(),S(13,29),f(14,dZ,2,0,"th",8),f(15,uZ,2,1,"td",9),M(),S(16,30),f(17,hZ,2,0,"th",8),f(18,fZ,2,1,"td",9),M(),S(19,31),f(20,pZ,2,0,"th",8),f(21,mZ,2,1,"td",9),M(),S(22,32),f(23,gZ,2,0,"th",8),f(24,vZ,2,1,"td",9),M(),S(25,33),f(26,yZ,2,0,"th",8),f(27,CZ,2,1,"td",9),M(),S(28,34),f(29,wZ,2,0,"th",8),f(30,SZ,2,1,"td",9),M(),f(31,MZ,1,0,"tr",12),f(32,TZ,1,0,"tr",13),d()),2&t){const e=I();y("dataSource",e.group.memberDevices),p(31),y("matHeaderRowDef",e.displayedColumnsDevices),p(1),y("matRowDefColumns",e.displayedColumnsDevices)}}let EZ=(()=>{class t{constructor(e,i,o,r){this.route=e,this.router=i,this.dialog=o,this.location=r,this.myurl=this.router.url}ngOnInit(){this.route.data.subscribe(e=>{this.dialog.open(AZ,{data:e.user}).afterClosed().subscribe(o=>{this.router.url==this.myurl&&this.location.back()})})}}return t.\u0275fac=function(e){return new(e||t)(_(Qn),_(Ke),_(Io),_(xi))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),AZ=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this.group=i,this.localSt=o,this.displayedColumns=["displayName","description"],this.displayedColumnsUsers=["displayName","userPrincipalName","userType"],this.displayedColumnsServicePrincipal=["displayName","servicePrincipalType"],this.displayedColumnsOwners=["displayName","userPrincipalName"],this.displayedColumnsDevices=["displayName","deviceModel","deviceOSType","deviceTrustType"],this.showPortalLink=this.localSt.retrieve("portallinks")}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(ur),_(ls))},t.\u0275cmp=U({type:t,selectors:[["app-groupsdialog"]],viewQuery:function(e,i){if(1&e&&Y(Ze,7),2&e){let o;F(o=N())&&(i.sort=o.first)}},decls:66,vars:24,consts:[["mat-dialog-title",""],["label","Overview"],[1,"userTable"],[4,"ngIf"],["expanded","",4,"ngIf"],["expanded",""],["mat-table","",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userPrincipalName"],["matColumnDef","userType"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-table","",3,"dataSource",4,"ngIf"],["label","Raw"],["appJsonFormat","",3,"json"],["target","_blank",3,"href"],["matColumnDef","description"],["mat-header-cell",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""],["mat-table","",1,"full-width-table",3,"dataSource"],["matColumnDef","servicePrincipalType"],["matColumnDef","accountEnabled"],["matColumnDef","deviceManufacturer"],["matColumnDef","deviceModel"],["matColumnDef","deviceOSType"],["matColumnDef","deviceOSVersion"],["matColumnDef","deviceTrustType"],["matColumnDef","isCompliant"],["matColumnDef","isManaged"],["matColumnDef","isRooted"],["aria-hidden","false","aria-label","Enabled",4,"ngIf"],["aria-hidden","false","aria-label","Enabled"],["aria-hidden","false","aria-label","Compliant",4,"ngIf"],["aria-hidden","false","aria-label","Compliant"],["aria-hidden","false","aria-label","Managed",4,"ngIf"],["aria-hidden","false","aria-label","Managed"],["aria-hidden","false","aria-label","Rooted",4,"ngIf"],["aria-hidden","false","aria-label","Rooted"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1),d(),u(2,"mat-dialog-content")(3,"mat-tab-group")(4,"mat-tab",1)(5,"mat-card")(6,"table",2)(7,"tr")(8,"th"),m(9,"Display name"),d(),u(10,"td"),m(11),d()(),u(12,"tr")(13,"th"),m(14,"Description"),d(),u(15,"td"),m(16),d()(),u(17,"tr")(18,"th"),m(19,"ObjectId"),d(),u(20,"td"),m(21),d()(),f(22,rQ,5,1,"tr",3),f(23,sQ,5,1,"tr",3),f(24,aQ,5,1,"tr",3),f(25,lQ,5,1,"tr",3),f(26,cQ,5,1,"tr",3),u(27,"tr")(28,"th"),m(29,"Group source"),d(),u(30,"td"),m(31),d()(),f(32,dQ,7,1,"tr",3),d()(),A(33,"mat-divider"),f(34,_Q,13,4,"mat-expansion-panel",4),f(35,SQ,13,4,"mat-expansion-panel",4),f(36,kQ,13,4,"mat-expansion-panel",4),u(37,"mat-expansion-panel",5)(38,"mat-expansion-panel-header")(39,"mat-panel-title"),m(40),d()(),u(41,"table",6),S(42,7),f(43,RQ,2,0,"th",8),f(44,OQ,3,4,"td",9),M(),S(45,10),f(46,PQ,2,0,"th",8),f(47,FQ,2,1,"td",9),M(),S(48,11),f(49,NQ,2,0,"th",8),f(50,LQ,2,1,"td",9),M(),f(51,BQ,1,0,"tr",12),f(52,VQ,1,0,"tr",13),d()(),f(53,WQ,13,4,"mat-expansion-panel",4),u(54,"mat-expansion-panel",5)(55,"mat-expansion-panel-header")(56,"mat-panel-title"),m(57),d()(),f(58,JQ,9,3,"table",14),d(),u(59,"mat-expansion-panel",5)(60,"mat-expansion-panel-header")(61,"mat-panel-title"),m(62),d()(),f(63,xZ,33,3,"table",14),d()(),u(64,"mat-tab",15),A(65,"p",16),d()()()),2&e&&(p(1),D(i.group.displayName),p(10),D(i.group.displayName),p(5),D(i.group.description),p(5),D(i.group.objectId),p(1),y("ngIf",null!=i.group.membershipRule),p(1),y("ngIf",null!=i.group.mail),p(1),y("ngIf",null!=i.group.isPublic),p(1),y("ngIf",null!=i.group.isAssignableToRole),p(1),y("ngIf",null!=i.group.createdDateTime),p(5),D(i.group.dirSyncEnabled?"Synced with AD":"Cloud-only"),p(1),y("ngIf",i.showPortalLink),p(2),y("ngIf",i.group.memberOf.length>0),p(1),y("ngIf",i.group.ownerUsers.length>0),p(1),y("ngIf",i.group.ownerServicePrincipals.length>0),p(4),te(" Member users (",i.group.memberUsers.length,") "),p(1),y("dataSource",i.group.memberUsers),p(10),y("matHeaderRowDef",i.displayedColumnsUsers),p(1),y("matRowDefColumns",i.displayedColumnsUsers),p(1),y("ngIf",i.group.memberGroups.length>0),p(4),te(" Member ServicePrincipals (",i.group.memberServicePrincipals.length,") "),p(1),y("ngIf",i.group.memberServicePrincipals.length>0),p(4),te(" Member devices (",i.group.memberDevices.length,") "),p(1),y("ngIf",i.group.memberDevices.length>0),p(2),y("json",i.group))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Bt,Sa,Qr,Kn,Jr,es,Xr,dr,hr,ts,ns,cs],styles:["td.mat-cell[_ngcontent-%COMP%], th.mat-cell[_ngcontent-%COMP%], td.mat-header-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{padding-right:10px}.userTable[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding-right:10px}"]}),t})();function IZ(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Dynamic Membership"),d(),u(3,"td"),m(4),d()()),2&t){const e=I();p(4),D(e.administrativeUnit.membershipRule)}}function kZ(t,n){1&t&&(u(0,"th",16),m(1,"Name"),d())}const RZ=function(t){return["/users/",t]};function OZ(t,n){if(1&t&&(u(0,"td",17)(1,"a",18),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,RZ,e.objectId)),p(1),D(e.displayName)}}function PZ(t,n){1&t&&(u(0,"th",16),m(1,"Description"),d())}function FZ(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function NZ(t,n){1&t&&(u(0,"th",16),m(1,"Type"),d())}function LZ(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userType)}}function BZ(t,n){1&t&&A(0,"tr",19)}function VZ(t,n){1&t&&A(0,"tr",20)}function HZ(t,n){if(1&t&&(u(0,"table",8),S(1,9),f(2,kZ,2,0,"th",10),f(3,OZ,3,4,"td",11),M(),S(4,12),f(5,PZ,2,0,"th",10),f(6,FZ,2,1,"td",11),M(),S(7,13),f(8,NZ,2,0,"th",10),f(9,LZ,2,1,"td",11),M(),f(10,BZ,1,0,"tr",14),f(11,VZ,1,0,"tr",15),d()),2&t){const e=I();y("dataSource",e.administrativeUnit.memberUsers),p(10),y("matHeaderRowDef",e.displayedColumnsUsers),p(1),y("matRowDefColumns",e.displayedColumnsUsers)}}function jZ(t,n){1&t&&(u(0,"th",16),m(1,"Name"),d())}const $Z=function(t){return["/groups/",t]};function UZ(t,n){if(1&t&&(u(0,"td",17)(1,"a",18),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,$Z,e.objectId)),p(1),D(e.displayName)}}function zZ(t,n){1&t&&(u(0,"th",16),m(1,"Description"),d())}function GZ(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function WZ(t,n){1&t&&A(0,"tr",19)}function qZ(t,n){1&t&&A(0,"tr",20)}function YZ(t,n){if(1&t&&(u(0,"table",8),S(1,9),f(2,jZ,2,0,"th",10),f(3,UZ,3,4,"td",11),M(),S(4,12),f(5,zZ,2,0,"th",10),f(6,GZ,2,1,"td",11),M(),f(7,WZ,1,0,"tr",14),f(8,qZ,1,0,"tr",15),d()),2&t){const e=I();y("dataSource",e.administrativeUnit.memberGroups),p(7),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function KZ(t,n){1&t&&(u(0,"th",16),m(1,"Name"),d())}const QZ=function(t){return["/devices/",t]};function ZZ(t,n){if(1&t&&(u(0,"td",17)(1,"a",18),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,QZ,e.objectId)),p(1),D(e.displayName)}}function XZ(t,n){1&t&&(u(0,"th",16),m(1,"Enabled"),d())}function JZ(t,n){1&t&&(u(0,"mat-icon",31),m(1,"check"),d())}function eX(t,n){if(1&t&&(u(0,"td",17),f(1,JZ,2,0,"mat-icon",30),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.accountEnabled)}}function tX(t,n){1&t&&(u(0,"th",16),m(1,"Manufacturer"),d())}function nX(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceManufacturer)}}function iX(t,n){1&t&&(u(0,"th",16),m(1,"Model"),d())}function oX(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceModel)}}function rX(t,n){1&t&&(u(0,"th",16),m(1,"OS"),d())}function sX(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSType)}}function aX(t,n){1&t&&(u(0,"th",16),m(1,"OS Version"),d())}function lX(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceOSVersion)}}function cX(t,n){1&t&&(u(0,"th",16),m(1,"Trust type"),d())}function dX(t,n){if(1&t&&(u(0,"td",17),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.deviceTrustType)}}function uX(t,n){1&t&&(u(0,"th",16),m(1,"Compliant"),d())}function hX(t,n){1&t&&(u(0,"mat-icon",33),m(1,"check"),d())}function fX(t,n){if(1&t&&(u(0,"td",17),f(1,hX,2,0,"mat-icon",32),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isCompliant)}}function pX(t,n){1&t&&(u(0,"th",16),m(1,"Managed"),d())}function mX(t,n){1&t&&(u(0,"mat-icon",35),m(1,"check"),d())}function gX(t,n){if(1&t&&(u(0,"td",17),f(1,mX,2,0,"mat-icon",34),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isManaged)}}function _X(t,n){1&t&&(u(0,"th",16),m(1,"Rooted"),d())}function vX(t,n){1&t&&(u(0,"mat-icon",37),m(1,"check"),d())}function yX(t,n){if(1&t&&(u(0,"td",17),f(1,vX,2,0,"mat-icon",36),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.isRooted)}}function bX(t,n){1&t&&A(0,"tr",19)}function CX(t,n){1&t&&A(0,"tr",20)}function wX(t,n){if(1&t&&(u(0,"table",8),S(1,9),f(2,KZ,2,0,"th",10),f(3,ZZ,3,4,"td",11),M(),S(4,21),f(5,XZ,2,0,"th",10),f(6,eX,2,1,"td",11),M(),S(7,22),f(8,tX,2,0,"th",10),f(9,nX,2,1,"td",11),M(),S(10,23),f(11,iX,2,0,"th",10),f(12,oX,2,1,"td",11),M(),S(13,24),f(14,rX,2,0,"th",10),f(15,sX,2,1,"td",11),M(),S(16,25),f(17,aX,2,0,"th",10),f(18,lX,2,1,"td",11),M(),S(19,26),f(20,cX,2,0,"th",10),f(21,dX,2,1,"td",11),M(),S(22,27),f(23,uX,2,0,"th",10),f(24,fX,2,1,"td",11),M(),S(25,28),f(26,pX,2,0,"th",10),f(27,gX,2,1,"td",11),M(),S(28,29),f(29,_X,2,0,"th",10),f(30,yX,2,1,"td",11),M(),f(31,bX,1,0,"tr",14),f(32,CX,1,0,"tr",15),d()),2&t){const e=I();y("dataSource",e.administrativeUnit.memberDevices),p(31),y("matHeaderRowDef",e.displayedColumnsDevices),p(1),y("matRowDefColumns",e.displayedColumnsDevices)}}let DX=(()=>{class t{constructor(e,i,o,r){this.route=e,this.router=i,this.dialog=o,this.location=r,this.myurl=this.router.url}ngOnInit(){this.route.data.subscribe(e=>{this.dialog.open(SX,{data:e.user}).afterClosed().subscribe(o=>{console.log(this.router.url),console.log(this.myurl),this.router.url==this.myurl&&this.location.back()})})}}return t.\u0275fac=function(e){return new(e||t)(_(Qn),_(Ke),_(Io),_(xi))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),SX=(()=>{class t{constructor(e,i){this.dialogRef=e,this.administrativeUnit=i,this.displayedColumns=["displayName","description"],this.displayedColumnsUsers=["displayName","description","userType"],this.displayedColumnsServicePrincipal=["displayName"],this.displayedColumnsOwners=["displayName","userPrincipalName"],this.displayedColumnsDevices=["displayName","deviceModel","deviceOSType","deviceTrustType"]}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(ur))},t.\u0275cmp=U({type:t,selectors:[["app-administrativeunitsdialog"]],viewQuery:function(e,i){if(1&e&&Y(Ze,7),2&e){let o;F(o=N())&&(i.sort=o.first)}},decls:41,vars:12,consts:[["mat-dialog-title",""],["label","Overview"],[1,"userTable"],[4,"ngIf"],["expanded",""],["mat-table","",3,"dataSource",4,"ngIf"],["label","Raw"],["appJsonFormat","",3,"json"],["mat-table","",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","description"],["matColumnDef","userType"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""],["matColumnDef","accountEnabled"],["matColumnDef","deviceManufacturer"],["matColumnDef","deviceModel"],["matColumnDef","deviceOSType"],["matColumnDef","deviceOSVersion"],["matColumnDef","deviceTrustType"],["matColumnDef","isCompliant"],["matColumnDef","isManaged"],["matColumnDef","isRooted"],["aria-hidden","false","aria-label","Enabled",4,"ngIf"],["aria-hidden","false","aria-label","Enabled"],["aria-hidden","false","aria-label","Compliant",4,"ngIf"],["aria-hidden","false","aria-label","Compliant"],["aria-hidden","false","aria-label","Managed",4,"ngIf"],["aria-hidden","false","aria-label","Managed"],["aria-hidden","false","aria-label","Rooted",4,"ngIf"],["aria-hidden","false","aria-label","Rooted"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1),d(),u(2,"mat-dialog-content")(3,"mat-tab-group")(4,"mat-tab",1)(5,"mat-card")(6,"table",2)(7,"tr")(8,"th"),m(9,"Display name"),d(),u(10,"td"),m(11),d()(),u(12,"tr")(13,"th"),m(14,"Description"),d(),u(15,"td"),m(16),d()(),u(17,"tr")(18,"th"),m(19,"ObjectId"),d(),u(20,"td"),m(21),d()(),f(22,IZ,5,1,"tr",3),d()(),A(23,"mat-divider"),u(24,"mat-expansion-panel",4)(25,"mat-expansion-panel-header")(26,"mat-panel-title"),m(27),d()(),f(28,HZ,12,3,"table",5),d(),u(29,"mat-expansion-panel",4)(30,"mat-expansion-panel-header")(31,"mat-panel-title"),m(32),d()(),f(33,YZ,9,3,"table",5),d(),u(34,"mat-expansion-panel",4)(35,"mat-expansion-panel-header")(36,"mat-panel-title"),m(37),d()(),f(38,wX,33,3,"table",5),d()(),u(39,"mat-tab",6),A(40,"p",7),d()()()),2&e&&(p(1),D(i.administrativeUnit.displayName),p(10),D(i.administrativeUnit.displayName),p(5),D(i.administrativeUnit.description),p(5),D(i.administrativeUnit.objectId),p(1),y("ngIf",null!=i.administrativeUnit.membershipRule),p(5),te(" Member users (",i.administrativeUnit.memberUsers.length,") "),p(1),y("ngIf",i.administrativeUnit.memberUsers.length>0),p(4),te(" Member groups (",i.administrativeUnit.memberGroups.length,") "),p(1),y("ngIf",i.administrativeUnit.memberGroups.length>0),p(4),te(" Member devices (",i.administrativeUnit.memberDevices.length,") "),p(1),y("ngIf",i.administrativeUnit.memberDevices.length>0),p(2),y("json",i.administrativeUnit))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Bt,Sa,Qr,Kn,Jr,es,Xr,dr,hr,ts,ns,cs],styles:["td.mat-cell[_ngcontent-%COMP%], th.mat-cell[_ngcontent-%COMP%], td.mat-header-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{padding-right:10px}.userTable[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding-right:10px}"]}),t})();function MX(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2,"Manage in Entra portal"),d(),u(3,"td")(4,"a",11)(5,"mat-icon"),m(6,"open_in_new"),d()()()()),2&t){const e=I();p(4),Rr("href","https://entra.microsoft.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/",e.application.appId,"/isMSAApp~/false",Tr)}}function TX(t,n){if(1&t&&(u(0,"mat-list-item"),m(1),d()),2&t){const e=n.$implicit;p(1),te(" ",e," ")}}function xX(t,n){1&t&&(u(0,"th",20),m(1,"Name"),d())}const EX=function(t){return["/users/",t]};function AX(t,n){if(1&t&&(u(0,"td",21)(1,"a",3),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,EX,e.objectId)),p(1),D(e.displayName)}}function IX(t,n){1&t&&(u(0,"th",20),m(1,"userPrincipalName"),d())}function kX(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function RX(t,n){1&t&&A(0,"tr",22)}function OX(t,n){1&t&&A(0,"tr",23)}function PX(t,n){if(1&t&&(u(0,"mat-expansion-panel",12)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",13),S(5,14),f(6,xX,2,0,"th",15),f(7,AX,3,4,"td",16),M(),S(8,17),f(9,IX,2,0,"th",15),f(10,kX,2,1,"td",16),M(),f(11,RX,1,0,"tr",18),f(12,OX,1,0,"tr",19),d()()),2&t){const e=I();p(3),te(" Owners (",e.application.ownerUsers.length,") "),p(1),y("dataSource",e.application.ownerUsers),p(7),y("matHeaderRowDef",e.displayedColumnsOwners),p(1),y("matRowDefColumns",e.displayedColumnsOwners)}}function FX(t,n){1&t&&(u(0,"h2"),m(1,"Application roles (application permissions)"),d())}function NX(t,n){1&t&&(u(0,"th",20),m(1,"displayName"),d())}function LX(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.displayName)}}function BX(t,n){1&t&&(u(0,"th",20),m(1,"Allowed types"),d())}function VX(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e," ")}}function HX(t,n){if(1&t&&(u(0,"td",21),f(1,VX,2,1,"span",5),d()),2&t){const e=n.$implicit;p(1),y("ngForOf",e.allowedMemberTypes)}}function jX(t,n){1&t&&(u(0,"th",20),m(1,"Description"),d())}function $X(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function UX(t,n){1&t&&(u(0,"th",20),m(1,"Value"),d())}function zX(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.value)}}function GX(t,n){1&t&&(u(0,"th",20),m(1,"ID"),d())}function WX(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.id)}}function qX(t,n){1&t&&A(0,"tr",22)}function YX(t,n){1&t&&A(0,"tr",23)}function KX(t,n){if(1&t&&(u(0,"table",26),S(1,14),f(2,NX,2,0,"th",15),f(3,LX,2,1,"td",16),M(),S(4,27),f(5,BX,2,0,"th",15),f(6,HX,2,1,"td",16),M(),S(7,28),f(8,jX,2,0,"th",15),f(9,$X,2,1,"td",16),M(),S(10,29),f(11,UX,2,0,"th",15),f(12,zX,2,1,"td",16),M(),S(13,30),f(14,GX,2,0,"th",15),f(15,WX,2,1,"td",16),M(),f(16,qX,1,0,"tr",18),f(17,YX,1,0,"tr",19),d()),2&t){const e=I(2);y("dataSource",e.application.appRoles),p(16),y("matHeaderRowDef",e.displayedColumnsAppRoles),p(1),y("matRowDefColumns",e.displayedColumnsAppRoles)}}function QX(t,n){1&t&&(u(0,"h2"),m(1,"OAuth2 permissions (delegated permissions)"),d())}function ZX(t,n){1&t&&(u(0,"th",20),m(1,"User Consent Name"),d())}function XX(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userConsentDisplayName)}}function JX(t,n){1&t&&(u(0,"th",20),m(1,"Allowed types"),d())}function eJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.type)}}function tJ(t,n){1&t&&(u(0,"th",20),m(1,"User Consent Description"),d())}function nJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userConsentDescription)}}function iJ(t,n){1&t&&(u(0,"th",20),m(1,"Admin Consent Name"),d())}function oJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.adminConsentDisplayName)}}function rJ(t,n){1&t&&(u(0,"th",20),m(1,"Admin Consent Description"),d())}function sJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.adminConsentDescription)}}function aJ(t,n){1&t&&(u(0,"th",20),m(1,"Value"),d())}function lJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.value)}}function cJ(t,n){1&t&&(u(0,"th",20),m(1,"ID"),d())}function dJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.id)}}function uJ(t,n){1&t&&A(0,"tr",22)}function hJ(t,n){1&t&&A(0,"tr",23)}function fJ(t,n){if(1&t&&(u(0,"table",26),S(1,31),f(2,ZX,2,0,"th",15),f(3,XX,2,1,"td",16),M(),S(4,32),f(5,JX,2,0,"th",15),f(6,eJ,2,1,"td",16),M(),S(7,33),f(8,tJ,2,0,"th",15),f(9,nJ,2,1,"td",16),M(),S(10,34),f(11,iJ,2,0,"th",15),f(12,oJ,2,1,"td",16),M(),S(13,35),f(14,rJ,2,0,"th",15),f(15,sJ,2,1,"td",16),M(),S(16,29),f(17,aJ,2,0,"th",15),f(18,lJ,2,1,"td",16),M(),S(19,30),f(20,cJ,2,0,"th",15),f(21,dJ,2,1,"td",16),M(),f(22,uJ,1,0,"tr",18),f(23,hJ,1,0,"tr",19),d()),2&t){const e=I(2);y("dataSource",e.application.oauth2Permissions),p(22),y("matHeaderRowDef",e.displayedColumnsOAuth2),p(1),y("matRowDefColumns",e.displayedColumnsOAuth2)}}function pJ(t,n){if(1&t&&(u(0,"mat-tab",24),f(1,FX,2,0,"h2",4),f(2,KX,18,3,"table",25),f(3,QX,2,0,"h2",4),f(4,fJ,24,3,"table",25),d()),2&t){const e=I();p(1),y("ngIf",e.application.appRoles.length>0),p(1),y("ngIf",e.application.appRoles.length>0),p(1),y("ngIf",e.application.oauth2Permissions.length>0),p(1),y("ngIf",e.application.oauth2Permissions.length>0)}}function mJ(t,n){1&t&&A(0,"p",10),2&t&&y("json",I().$implicit.value)}function gJ(t,n){if(1&t&&(u(0,"pre"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.value)}}function _J(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2),d(),u(3,"td"),f(4,mJ,1,1,"p",37),f(5,gJ,2,1,"pre",4),d()()),2&t){const e=n.$implicit;p(2),D(e.key),p(2),y("ngIf",e.isJSON),p(1),y("ngIf",!e.isJSON)}}function vJ(t,n){if(1&t&&(u(0,"mat-tab",36)(1,"table",2),f(2,_J,6,3,"tr",5),d()()),2&t){const e=I();p(2),y("ngForOf",e.metadata)}}const yJ=function(t){return["/serviceprincipals-by-appid/",t]};let bJ=(()=>{class t{constructor(e,i,o,r){this.route=e,this.router=i,this.dialog=o,this.location=r,this.myurl=this.router.url}ngOnInit(){this.route.data.subscribe(e=>{this.dialog.open(CJ,{data:e.application}).afterClosed().subscribe(o=>{this.router.url==this.myurl&&this.location.back()})})}}return t.\u0275fac=function(e){return new(e||t)(_(Qn),_(Ke),_(Io),_(xi))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),CJ=(()=>{class t{constructor(e,i,o){if(this.dialogRef=e,this.application=i,this.localSt=o,this.displayedColumns=["displayName","description"],this.displayedColumnsOwners=["displayName","userPrincipalName"],this.displayedColumnsAppRoles=["value","displayName","description","id","allowedMemberTypes"],this.displayedColumnsOAuth2=["value","userConsentDisplayName","userConsentDescription","adminConsentDisplayName","adminConsentDescription","id","type"],this.metadata=[],this.showPortalLink=this.localSt.retrieve("portallinks"),i.appMetadata&&i.appMetadata.data.length>0)for(let r of i.appMetadata.data){let a,l,s={};try{a=atob(r.value);try{l=JSON.parse(a),s.value=l,s.isJSON=!0}catch{s.value=a,s.isJSON=!1}}catch{a=r.value,s.value=a,s.isJSON=!1}s.key=r.key,console.log(s),this.metadata.push(s)}}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(ur),_(ls))},t.\u0275cmp=U({type:t,selectors:[["app-applicationsdialog"]],viewQuery:function(e,i){if(1&e&&Y(Ze,7),2&e){let o;F(o=N())&&(i.sort=o.first)}},decls:51,vars:16,consts:[["mat-dialog-title",""],["label","Overview"],[1,"userTable"],[3,"routerLink"],[4,"ngIf"],[4,"ngFor","ngForOf"],["expanded","",4,"ngIf"],["label","Defined permissons",4,"ngIf"],["label","Metadata",4,"ngIf"],["label","Raw"],["appJsonFormat","",3,"json"],["target","_blank",3,"href"],["expanded",""],["mat-table","",1,"full-width-table",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userPrincipalName"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""],["label","Defined permissons"],["mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","allowedMemberTypes"],["matColumnDef","description"],["matColumnDef","value"],["matColumnDef","id"],["matColumnDef","userConsentDisplayName"],["matColumnDef","type"],["matColumnDef","userConsentDescription"],["matColumnDef","adminConsentDisplayName"],["matColumnDef","adminConsentDescription"],["label","Metadata"],["appJsonFormat","",3,"json",4,"ngIf"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1),d(),u(2,"mat-dialog-content")(3,"mat-tab-group")(4,"mat-tab",1)(5,"mat-card")(6,"table",2)(7,"tr")(8,"th"),m(9,"Display name"),d(),u(10,"td"),m(11),d()(),u(12,"tr")(13,"th"),m(14,"ObjectId"),d(),u(15,"td"),m(16),d()(),u(17,"tr")(18,"th"),m(19,"Application ID"),d(),u(20,"td"),m(21),d()(),u(22,"tr")(23,"th"),m(24,"Publisher"),d(),u(25,"td"),m(26),d()(),u(27,"tr")(28,"th"),m(29,"Homepage"),d(),u(30,"td"),m(31),d()(),u(32,"tr")(33,"th"),m(34,"Service Principal"),d(),u(35,"td")(36,"a",3),m(37),d()()(),f(38,MX,7,1,"tr",4),u(39,"tr")(40,"th"),m(41,"Reply Urls"),d(),u(42,"td")(43,"mat-list"),f(44,TX,2,1,"mat-list-item",5),d()()()()(),A(45,"mat-divider"),f(46,PX,13,4,"mat-expansion-panel",6),d(),f(47,pJ,5,4,"mat-tab",7),f(48,vJ,3,1,"mat-tab",8),u(49,"mat-tab",9),A(50,"p",10),d()()()),2&e&&(p(1),D(i.application.displayName),p(10),D(i.application.displayName),p(5),D(i.application.objectId),p(5),D(i.application.appId),p(5),D(i.application.publisherName),p(5),D(i.application.homepage),p(5),y("routerLink",Ne(14,yJ,i.application.appId)),p(1),D(i.application.displayName),p(1),y("ngIf",i.showPortalLink),p(6),y("ngForOf",i.application.replyUrls),p(2),y("ngIf",i.application.ownerUsers.length>0),p(1),y("ngIf",i.application.appRoles.length>0||i.application.oauth2Permissions.length>0),p(1),y("ngIf",i.metadata.length>0),p(2),y("json",i.application))},dependencies:[Wi,at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Bt,Sa,Qr,Kn,Jr,es,Xr,dr,hr,ts,ns,VT,y_,cs],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}"]}),t})();function wJ(t,n){if(1&t&&(u(0,"mat-list-item"),m(1),d()),2&t){const e=n.$implicit;p(1),te(" ",e," ")}}function DJ(t,n){1&t&&(u(0,"th",20),m(1,"Name"),d())}const SJ=function(t){return["/users/",t]};function MJ(t,n){if(1&t&&(u(0,"td",21)(1,"a",22),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,SJ,e.objectId)),p(1),D(e.displayName)}}function TJ(t,n){1&t&&(u(0,"th",20),m(1,"userPrincipalName"),d())}function xJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function EJ(t,n){1&t&&A(0,"tr",23)}function AJ(t,n){1&t&&A(0,"tr",24)}function IJ(t,n){if(1&t&&(u(0,"mat-expansion-panel",5)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),m(3),d()(),u(4,"table",13),S(5,14),f(6,DJ,2,0,"th",15),f(7,MJ,3,4,"td",16),M(),S(8,17),f(9,TJ,2,0,"th",15),f(10,xJ,2,1,"td",16),M(),f(11,EJ,1,0,"tr",18),f(12,AJ,1,0,"tr",19),d()()),2&t){const e=I();p(3),te(" Owners (",e.sp.ownerUsers.length,") "),p(1),y("dataSource",e.sp.ownerUsers),p(7),y("matHeaderRowDef",e.displayedColumnsOwners),p(1),y("matRowDefColumns",e.displayedColumnsOwners)}}function kJ(t,n){1&t&&(u(0,"th",20),m(1,"displayName"),d())}function RJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.displayName)}}function OJ(t,n){1&t&&(u(0,"th",20),m(1,"Description"),d())}function PJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function FJ(t,n){1&t&&A(0,"tr",23)}function NJ(t,n){1&t&&A(0,"tr",24)}function LJ(t,n){if(1&t&&(u(0,"table",13),S(1,14),f(2,kJ,2,0,"th",15),f(3,RJ,2,1,"td",16),M(),S(4,25),f(5,OJ,2,0,"th",15),f(6,PJ,2,1,"td",16),M(),f(7,FJ,1,0,"tr",18),f(8,NJ,1,0,"tr",19),d()),2&t){const e=I();y("dataSource",e.sp.memberOfRole),p(7),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function BJ(t,n){1&t&&(u(0,"th",20),m(1,"displayName"),d())}const VJ=function(t){return["/groups/",t]};function HJ(t,n){if(1&t&&(u(0,"td",21)(1,"a",22),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,VJ,e.objectId)),p(1),D(e.displayName)}}function jJ(t,n){1&t&&(u(0,"th",20),m(1,"Description"),d())}function $J(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function UJ(t,n){1&t&&A(0,"tr",23)}function zJ(t,n){1&t&&A(0,"tr",24)}function GJ(t,n){if(1&t&&(u(0,"table",13),S(1,14),f(2,BJ,2,0,"th",15),f(3,HJ,3,4,"td",16),M(),S(4,25),f(5,jJ,2,0,"th",15),f(6,$J,2,1,"td",16),M(),f(7,UJ,1,0,"tr",18),f(8,zJ,1,0,"tr",19),d()),2&t){const e=I();y("dataSource",e.sp.memberOf),p(7),y("matHeaderRowDef",e.displayedColumns),p(1),y("matRowDefColumns",e.displayedColumns)}}function WJ(t,n){1&t&&(u(0,"th",36),m(1,"Principal Name"),d())}const AE=function(t,n){return["/",t,n]};function qJ(t,n){if(1&t&&(u(0,"td",21)(1,"a",22),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Jo(2,AE,e.ptype.toLowerCase()+"s",e.objid)),p(1),D(e.pname)}}function YJ(t,n){1&t&&(u(0,"th",36),m(1,"Principal Type"),d())}function KJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.ptype," ")}}function QJ(t,n){1&t&&(u(0,"th",36),m(1,"Object ID"),d())}function ZJ(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.objid," ")}}function XJ(t,n){1&t&&(u(0,"th",36),m(1,"Application"),d())}const IE=function(t){return["/serviceprincipals",t]};function JJ(t,n){if(1&t&&(u(0,"td",21)(1,"a",22),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,IE,e.spid)),p(1),D(e.app)}}function eee(t,n){1&t&&(u(0,"th",36),m(1,"Role"),d())}function tee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.value," ")}}function nee(t,n){1&t&&(u(0,"th",36),m(1,"Description"),d())}function iee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.desc," ")}}function oee(t,n){1&t&&A(0,"tr",23)}function ree(t,n){1&t&&A(0,"tr",24)}function see(t,n){if(1&t&&(u(0,"table",28),S(1,29),f(2,WJ,2,0,"th",30),f(3,qJ,3,5,"td",16),M(),S(4,31),f(5,YJ,2,0,"th",30),f(6,KJ,2,1,"td",16),M(),S(7,32),f(8,QJ,2,0,"th",30),f(9,ZJ,2,1,"td",16),M(),S(10,33),f(11,XJ,2,0,"th",30),f(12,JJ,3,4,"td",16),M(),S(13,34),f(14,eee,2,0,"th",30),f(15,tee,2,1,"td",16),M(),S(16,35),f(17,nee,2,0,"th",30),f(18,iee,2,1,"td",16),M(),f(19,oee,1,0,"tr",18),f(20,ree,1,0,"tr",19),d()),2&t){const e=I(2);y("dataSource",e.approlesgiven),p(19),y("matHeaderRowDef",e.displayedColumnsAppRolesAssigned),p(1),y("matRowDefColumns",e.displayedColumnsAppRolesAssigned)}}function aee(t,n){if(1&t&&(u(0,"mat-tab",26)(1,"h2"),m(2,"Granted roles"),d(),u(3,"p"),m(4,"This table shows roles that are exposed by this Service Principal, which are granted to other principals. These roles give the principals some form of privileges to the application of this Service Principal, or its data."),d(),f(5,see,21,3,"table",27),d()),2&t){const e=I();p(5),y("ngIf",e.approlesgiven.length>0)}}function lee(t,n){1&t&&(u(0,"th",36),m(1,"Principal Name"),d())}function cee(t,n){if(1&t&&(u(0,"td",21)(1,"a",22),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Jo(2,AE,e.ptype.toLowerCase()+"s",e.objid)),p(1),D(e.pname)}}function dee(t,n){1&t&&(u(0,"th",36),m(1,"Principal Type"),d())}function uee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.ptype," ")}}function hee(t,n){1&t&&(u(0,"th",36),m(1,"Object ID"),d())}function fee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.objid," ")}}function pee(t,n){1&t&&(u(0,"th",36),m(1,"Application"),d())}function mee(t,n){if(1&t&&(u(0,"td",21)(1,"a",22),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,IE,e.spid)),p(1),D(e.app)}}function gee(t,n){1&t&&(u(0,"th",36),m(1,"Role"),d())}function _ee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.value," ")}}function vee(t,n){1&t&&(u(0,"th",36),m(1,"Description"),d())}function yee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.desc," ")}}function bee(t,n){1&t&&A(0,"tr",23)}function Cee(t,n){1&t&&A(0,"tr",24)}function wee(t,n){if(1&t&&(u(0,"table",28),S(1,29),f(2,lee,2,0,"th",30),f(3,cee,3,5,"td",16),M(),S(4,31),f(5,dee,2,0,"th",30),f(6,uee,2,1,"td",16),M(),S(7,32),f(8,hee,2,0,"th",30),f(9,fee,2,1,"td",16),M(),S(10,33),f(11,pee,2,0,"th",30),f(12,mee,3,4,"td",16),M(),S(13,34),f(14,gee,2,0,"th",30),f(15,_ee,2,1,"td",16),M(),S(16,35),f(17,vee,2,0,"th",30),f(18,yee,2,1,"td",16),M(),f(19,bee,1,0,"tr",18),f(20,Cee,1,0,"tr",19),d()),2&t){const e=I(2);y("dataSource",e.approlesgivento),p(19),y("matHeaderRowDef",e.displayedColumnsAppRolesAssignedTo),p(1),y("matRowDefColumns",e.displayedColumnsAppRolesAssignedTo)}}function Dee(t,n){if(1&t&&(u(0,"mat-tab",37)(1,"h2"),m(2,"Granted roles"),d(),u(3,"p"),m(4,"This table shows roles that are exposed by other Service Principals, which are granted to this service principal. These roles give the service principal some rights, usually API rights on a resource."),d(),f(5,wee,21,3,"table",27),d()),2&t){const e=I();p(5),y("ngIf",e.approlesgivento.length>0)}}function See(t,n){1&t&&(u(0,"h2"),m(1,"Application roles (application permissions)"),d())}function Mee(t,n){1&t&&(u(0,"th",20),m(1,"displayName"),d())}function Tee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.displayName)}}function xee(t,n){1&t&&(u(0,"th",20),m(1,"Allowed types"),d())}function Eee(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e," ")}}function Aee(t,n){if(1&t&&(u(0,"td",21),f(1,Eee,2,1,"span",3),d()),2&t){const e=n.$implicit;p(1),y("ngForOf",e.allowedMemberTypes)}}function Iee(t,n){1&t&&(u(0,"th",20),m(1,"Description"),d())}function kee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.description)}}function Ree(t,n){1&t&&(u(0,"th",20),m(1,"Value"),d())}function Oee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.value)}}function Pee(t,n){1&t&&(u(0,"th",20),m(1,"ID"),d())}function Fee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.id)}}function Nee(t,n){1&t&&A(0,"tr",23)}function Lee(t,n){1&t&&A(0,"tr",24)}function Bee(t,n){if(1&t&&(u(0,"table",13),S(1,14),f(2,Mee,2,0,"th",15),f(3,Tee,2,1,"td",16),M(),S(4,40),f(5,xee,2,0,"th",15),f(6,Aee,2,1,"td",16),M(),S(7,25),f(8,Iee,2,0,"th",15),f(9,kee,2,1,"td",16),M(),S(10,34),f(11,Ree,2,0,"th",15),f(12,Oee,2,1,"td",16),M(),S(13,41),f(14,Pee,2,0,"th",15),f(15,Fee,2,1,"td",16),M(),f(16,Nee,1,0,"tr",18),f(17,Lee,1,0,"tr",19),d()),2&t){const e=I(2);y("dataSource",e.sp.appRoles),p(16),y("matHeaderRowDef",e.displayedColumnsAppRoles),p(1),y("matRowDefColumns",e.displayedColumnsAppRoles)}}function Vee(t,n){1&t&&(u(0,"h2"),m(1,"OAuth2 permissions (delegated permissions)"),d())}function Hee(t,n){1&t&&(u(0,"th",20),m(1,"User Consent Name"),d())}function jee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userConsentDisplayName)}}function $ee(t,n){1&t&&(u(0,"th",20),m(1,"Allowed types"),d())}function Uee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.type)}}function zee(t,n){1&t&&(u(0,"th",20),m(1,"User Consent Description"),d())}function Gee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userConsentDescription)}}function Wee(t,n){1&t&&(u(0,"th",20),m(1,"Admin Consent Name"),d())}function qee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.adminConsentDisplayName)}}function Yee(t,n){1&t&&(u(0,"th",20),m(1,"Admin Consent Description"),d())}function Kee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.adminConsentDescription)}}function Qee(t,n){1&t&&(u(0,"th",20),m(1,"Value"),d())}function Zee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.value)}}function Xee(t,n){1&t&&(u(0,"th",20),m(1,"ID"),d())}function Jee(t,n){if(1&t&&(u(0,"td",21),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.id)}}function ete(t,n){1&t&&A(0,"tr",23)}function tte(t,n){1&t&&A(0,"tr",24)}function nte(t,n){if(1&t&&(u(0,"table",13),S(1,42),f(2,Hee,2,0,"th",15),f(3,jee,2,1,"td",16),M(),S(4,43),f(5,$ee,2,0,"th",15),f(6,Uee,2,1,"td",16),M(),S(7,44),f(8,zee,2,0,"th",15),f(9,Gee,2,1,"td",16),M(),S(10,45),f(11,Wee,2,0,"th",15),f(12,qee,2,1,"td",16),M(),S(13,46),f(14,Yee,2,0,"th",15),f(15,Kee,2,1,"td",16),M(),S(16,34),f(17,Qee,2,0,"th",15),f(18,Zee,2,1,"td",16),M(),S(19,41),f(20,Xee,2,0,"th",15),f(21,Jee,2,1,"td",16),M(),f(22,ete,1,0,"tr",18),f(23,tte,1,0,"tr",19),d()),2&t){const e=I(2);y("dataSource",e.sp.oauth2Permissions),p(22),y("matHeaderRowDef",e.displayedColumnsOAuth2),p(1),y("matRowDefColumns",e.displayedColumnsOAuth2)}}function ite(t,n){if(1&t&&(u(0,"mat-tab",38),f(1,See,2,0,"h2",39),f(2,Bee,18,3,"table",6),f(3,Vee,2,0,"h2",39),f(4,nte,24,3,"table",6),d()),2&t){const e=I();p(1),y("ngIf",e.sp.appRoles.length>0),p(1),y("ngIf",e.sp.appRoles.length>0),p(1),y("ngIf",e.sp.oauth2Permissions.length>0),p(1),y("ngIf",e.sp.oauth2Permissions.length>0)}}function ote(t,n){1&t&&A(0,"p",12),2&t&&y("json",I().$implicit.value)}function rte(t,n){if(1&t&&(u(0,"pre"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.value)}}function ste(t,n){if(1&t&&(u(0,"tr")(1,"th"),m(2),d(),u(3,"td"),f(4,ote,1,1,"p",48),f(5,rte,2,1,"pre",39),d()()),2&t){const e=n.$implicit;p(2),D(e.key),p(2),y("ngIf",e.isJSON),p(1),y("ngIf",!e.isJSON)}}function ate(t,n){if(1&t&&(u(0,"mat-tab",47)(1,"table",2),f(2,ste,6,3,"tr",3),d()()),2&t){const e=I();p(2),y("ngForOf",e.metadata)}}let kE=(()=>{class t{constructor(e,i,o,r){this.route=e,this.router=i,this.dialog=o,this.location=r,this.myurl=this.router.url}ngOnInit(){this.route.data.subscribe(e=>{this.dialog.open(lte,{data:e.sp}).afterClosed().subscribe(o=>{this.router.url==this.myurl&&this.location.back()})})}}return t.\u0275fac=function(e){return new(e||t)(_(Qn),_(Ke),_(Io),_(xi))},t.\u0275cmp=U({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),lte=(()=>{class t{constructor(e,i,o){if(this.dialogRef=e,this.service=i,this.sp=o,this.displayedColumns=["displayName","description"],this.displayedColumnsOwners=["displayName","userPrincipalName"],this.displayedColumnsAppRoles=["value","displayName","description","id","allowedMemberTypes"],this.displayedColumnsOAuth2=["value","userConsentDisplayName","userConsentDescription","adminConsentDisplayName","adminConsentDescription","id","type"],this.displayedColumnsAppRolesAssigned=["pname","ptype","value","desc"],this.displayedColumnsAppRolesAssignedTo=["pname","ptype","value","app","desc"],this.metadata=[],this.approlesgiven=[],this.approlesgivento=[],o.appMetadata&&o.appMetadata.data.length>0)for(let r of o.appMetadata.data){let a,l,s={};try{a=atob(r.value);try{l=JSON.parse(a),s.value=l,s.isJSON=!0}catch{s.value=a,s.isJSON=!1}}catch{a=r.value,s.value=a,s.isJSON=!1}s.key=r.key,this.metadata.push(s)}o.appRolesAssigned&&o.appRolesAssigned.length>0&&this.service.getAppRolesByResource(o.objectId).subscribe(r=>this.approlesgiven.push(...r)),o.appRolesAssignedTo&&o.appRolesAssignedTo.length>0&&this.service.getAppRolesByPrincipal(o.objectId).subscribe(r=>this.approlesgivento.push(...r))}}return t.\u0275fac=function(e){return new(e||t)(_(Ao),_(He),_(ur))},t.\u0275cmp=U({type:t,selectors:[["app-serviceprincipalsdialog"]],viewQuery:function(e,i){if(1&e&&Y(Ze,7),2&e){let o;F(o=N())&&(i.sort=o.first)}},features:[q([He])],decls:61,vars:18,consts:[["mat-dialog-title",""],["label","Overview"],[1,"userTable"],[4,"ngFor","ngForOf"],["expanded","",4,"ngIf"],["expanded",""],["mat-table","",3,"dataSource",4,"ngIf"],["label","Application roles assigned to others",4,"ngIf"],["label","Application roles assigned to this principal",4,"ngIf"],["label","Application defined permissons",4,"ngIf"],["label","Metadata",4,"ngIf"],["label","Raw"],["appJsonFormat","",3,"json"],["mat-table","",3,"dataSource"],["matColumnDef","displayName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userPrincipalName"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"routerLink"],["mat-header-row",""],["mat-row",""],["matColumnDef","description"],["label","Application roles assigned to others"],["mat-table","","matSort","",3,"dataSource",4,"ngIf"],["mat-table","","matSort","",3,"dataSource"],["matColumnDef","pname"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["matColumnDef","ptype"],["matColumnDef","objid"],["matColumnDef","app"],["matColumnDef","value"],["matColumnDef","desc"],["mat-header-cell","","mat-sort-header",""],["label","Application roles assigned to this principal"],["label","Application defined permissons"],[4,"ngIf"],["matColumnDef","allowedMemberTypes"],["matColumnDef","id"],["matColumnDef","userConsentDisplayName"],["matColumnDef","type"],["matColumnDef","userConsentDescription"],["matColumnDef","adminConsentDisplayName"],["matColumnDef","adminConsentDescription"],["label","Metadata"],["appJsonFormat","",3,"json",4,"ngIf"]],template:function(e,i){1&e&&(u(0,"h1",0),m(1),d(),u(2,"mat-dialog-content")(3,"mat-tab-group")(4,"mat-tab",1)(5,"mat-card")(6,"table",2)(7,"tr")(8,"th"),m(9,"Display name"),d(),u(10,"td"),m(11),d()(),u(12,"tr")(13,"th"),m(14,"ObjectId"),d(),u(15,"td"),m(16),d()(),u(17,"tr")(18,"th"),m(19,"AppId"),d(),u(20,"td"),m(21),d()(),u(22,"tr")(23,"th"),m(24,"Publisher"),d(),u(25,"td"),m(26),d()(),u(27,"tr")(28,"th"),m(29,"Status"),d(),u(30,"td"),m(31),d()(),u(32,"tr")(33,"th"),m(34,"Assignment required"),d(),u(35,"td"),m(36),d()(),u(37,"tr")(38,"th"),m(39,"Reply Urls"),d(),u(40,"td")(41,"mat-list"),f(42,wJ,2,1,"mat-list-item",3),d()()()()(),A(43,"mat-divider"),f(44,IJ,13,4,"mat-expansion-panel",4),u(45,"mat-expansion-panel",5)(46,"mat-expansion-panel-header")(47,"mat-panel-title"),m(48),d()(),f(49,LJ,9,3,"table",6),d(),u(50,"mat-expansion-panel",5)(51,"mat-expansion-panel-header")(52,"mat-panel-title"),m(53),d()(),f(54,GJ,9,3,"table",6),d()(),f(55,aee,6,1,"mat-tab",7),f(56,Dee,6,1,"mat-tab",8),f(57,ite,5,4,"mat-tab",9),f(58,ate,3,1,"mat-tab",10),u(59,"mat-tab",11),A(60,"p",12),d()()()),2&e&&(p(1),D(i.sp.displayName),p(10),D(i.sp.displayName),p(5),D(i.sp.objectId),p(5),D(i.sp.appId),p(5),D(i.sp.publisherName),p(5),D(i.sp.accountEnabled?"Enabled":"Disabled"),p(5),D(i.sp.appRoleAssignmentRequired?"Yes":"No"),p(6),y("ngForOf",i.sp.replyUrls),p(2),y("ngIf",i.sp.ownerUsers.length>0),p(4),te(" Assigned roles (",i.sp.memberOfRole.length,") "),p(1),y("ngIf",i.sp.memberOfRole.length>0),p(4),te(" Assigned groups (",i.sp.memberOf.length,") "),p(1),y("ngIf",i.sp.memberOf.length>0),p(1),y("ngIf",i.sp.appRolesAssigned.length>0),p(1),y("ngIf",i.sp.appRolesAssignedTo.length>0),p(1),y("ngIf",i.sp.appRoles.length>0||i.sp.oauth2Permissions.length>0),p(1),y("ngIf",i.metadata.length>0),p(2),y("json",i.sp))},dependencies:[Wi,at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Ze,di,Bt,Sa,Qr,Jr,es,Xr,dr,hr,ts,ns,VT,y_,cs],styles:["td.mat-cell[_ngcontent-%COMP%], th.mat-cell[_ngcontent-%COMP%]{padding-right:10px}.userTable[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding-right:10px}"]}),t})();class ds{constructor(){}ngOnInit(){}}function cte(t,n){1&t&&(u(0,"th",17),m(1,"Name"),d())}ds.\u0275fac=function(n){return new(n||ds)},ds.\u0275cmp=U({type:ds,selectors:[["app-config"]],decls:9,vars:4,consts:[[1,"example-h2"],[3,"ngModel","checked","ngModelChange"]],template:function(n,e){1&n&&(u(0,"mat-card")(1,"mat-card-content")(2,"h2",0),m(3,"Configuration"),d(),u(4,"mat-slide-toggle",1),J("ngModelChange",function(o){return e.mfa=o}),m(5," Show MFA columns (only accurate if you collected this data) "),d(),A(6,"br"),u(7,"mat-slide-toggle",1),J("ngModelChange",function(o){return e.portallinks=o}),m(8," Show management links to Entra portal on objects "),d()()()),2&n&&(p(4),y("ngModel",e.mfa)("checked",e.mfa),p(3),y("ngModel",e.portallinks)("checked",e.portallinks))},dependencies:[vM,r_,dr,OT,ex]}),Kh([X_()],ds.prototype,"mfa",void 0),Kh([X_()],ds.prototype,"portallinks",void 0);const dte=function(t){return["/users/",t]};function ute(t,n){if(1&t&&(u(0,"td",18)(1,"a",19),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,dte,e.objectId)),p(1),D(e.displayName)}}function hte(t,n){1&t&&(u(0,"th",17),m(1,"UserPrincipalName"),d())}function fte(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.userPrincipalName)}}function pte(t,n){1&t&&(u(0,"th",17),m(1,"Account Enabled"),d())}function mte(t,n){1&t&&(u(0,"mat-icon",21),m(1,"check"),d())}function gte(t,n){if(1&t&&(u(0,"td",18),f(1,mte,2,0,"mat-icon",20),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.accountEnabled)}}function _te(t,n){1&t&&(u(0,"th",17),m(1,"Per-user MFA"),d())}function vte(t,n){if(1&t&&(u(0,"td",18),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.perusermfa)}}function yte(t,n){1&t&&(u(0,"th",17),m(1,"Authenticator app"),d())}function bte(t,n){1&t&&(u(0,"mat-icon",21),m(1,"check"),d())}function Cte(t,n){if(1&t&&(u(0,"td",18),f(1,bte,2,0,"mat-icon",20),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.has_app)}}function wte(t,n){1&t&&(u(0,"th",17),m(1,"Phone number"),d())}function Dte(t,n){1&t&&(u(0,"mat-icon",21),m(1,"check"),d())}function Ste(t,n){if(1&t&&(u(0,"td",18),f(1,Dte,2,0,"mat-icon",20),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.has_phonenr)}}function Mte(t,n){1&t&&(u(0,"th",17),m(1,"FIDO"),d())}function Tte(t,n){1&t&&(u(0,"mat-icon",21),m(1,"check"),d())}function xte(t,n){if(1&t&&(u(0,"td",18),f(1,Tte,2,0,"mat-icon",20),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.has_fido)}}function Ete(t,n){1&t&&(u(0,"th",17),m(1,"Registered MFA Methods"),d())}function Ate(t,n){if(1&t&&(u(0,"span"),m(1),d()),2&t){const e=I().$implicit;p(1),D(e.mfamethods)}}function Ite(t,n){1&t&&(u(0,"span"),m(1,"None"),d())}function kte(t,n){if(1&t&&(u(0,"td",18),f(1,Ate,2,1,"span",22),f(2,Ite,2,0,"span",22),d()),2&t){const e=n.$implicit;p(1),y("ngIf",e.mfamethods>0),p(1),y("ngIf",0==e.mfamethods)}}function Rte(t,n){1&t&&(u(0,"th",17),m(1,"Methods"),d())}function Ote(t,n){1&t&&(u(0,"mat-icon",28),m(1,"phonelink_lock"),d()),2&t&&ee("active",I().$implicit.isDefault)}function Pte(t,n){1&t&&(u(0,"mat-icon",29),m(1,"notifications_active"),d()),2&t&&ee("active",I().$implicit.isDefault)}function Fte(t,n){1&t&&(u(0,"mat-icon",30),m(1,"sms"),d()),2&t&&ee("active",I().$implicit.isDefault)}function Nte(t,n){1&t&&(u(0,"mat-icon",31),m(1,"phone_callback"),d()),2&t&&ee("active",I().$implicit.isDefault)}function Lte(t,n){if(1&t&&(u(0,"span"),f(1,Ote,2,2,"mat-icon",24),f(2,Pte,2,2,"mat-icon",25),f(3,Fte,2,2,"mat-icon",26),f(4,Nte,2,2,"mat-icon",27),d()),2&t){const e=n.$implicit;p(1),y("ngIf","PhoneAppOTP"==e.methodType),p(1),y("ngIf","PhoneAppNotification"==e.methodType),p(1),y("ngIf","OneWaySms"==e.methodType),p(1),y("ngIf","TwoWayVoiceMobile"==e.methodType)}}function Bte(t,n){1&t&&(u(0,"mat-icon",34),m(1,"passkey"),d())}function Vte(t,n){1&t&&(u(0,"mat-icon",35),m(1,"passkey"),d())}function Hte(t,n){if(1&t&&(u(0,"span"),f(1,Bte,2,0,"mat-icon",32),f(2,Vte,2,0,"mat-icon",33),d()),2&t){const e=n.$implicit;p(1),y("ngIf","NGC"==e.usage),p(1),y("ngIf","FIDO"==e.usage)}}function jte(t,n){if(1&t&&(u(0,"td",18),f(1,Lte,5,4,"span",23),f(2,Hte,3,2,"span",23),d()),2&t){const e=n.$implicit;p(1),y("ngForOf",e.strongAuthenticationDetail.methods),p(1),y("ngForOf",e.searchableDeviceKey)}}function $te(t,n){1&t&&A(0,"tr",36)}function Ute(t,n){1&t&&A(0,"tr",37)}const zte=function(){return[50,100,500,1e3,5e3]};let Gte=(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["displayName","userPrincipalName","accountEnabled","perusermfa","mfamethods","has_fido","has_app","has_phonenr","strongAuthenticationDetail"]}ngOnInit(){this.dataSource=new qi,this.service.getMfa().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource,this.dataSource.sortingDataAccessor=(e,i)=>{switch(i){case"mfamethods":case"strongAuthenticationDetail":return e.strongAuthenticationDetail.methods.length;default:return e[i]}}}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-mfa"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:37,vars:4,consts:[[1,"mat-elevation-z4","pagedescription"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","displayName"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userPrincipalName"],["matColumnDef","accountEnabled"],["matColumnDef","perusermfa"],["matColumnDef","has_app"],["matColumnDef","has_phonenr"],["matColumnDef","has_fido"],["matColumnDef","mfamethods"],["matColumnDef","strongAuthenticationDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[3,"routerLink"],["aria-hidden","false","aria-label","Enabled",4,"ngIf"],["aria-hidden","false","aria-label","Enabled"],[4,"ngIf"],[4,"ngFor","ngForOf"],["aria-label","App with OTP","matTooltip","App with OTP",3,"active",4,"ngIf"],["aria-label","Phone notification","matTooltip","App with notification",3,"active",4,"ngIf"],["aria-label","Text message (SMS)","matTooltip","Text message (SMS)",3,"active",4,"ngIf"],["aria-label","Phone call","matTooltip","Phone call",3,"active",4,"ngIf"],["aria-label","App with OTP","matTooltip","App with OTP"],["aria-label","Phone notification","matTooltip","App with notification"],["aria-label","Text message (SMS)","matTooltip","Text message (SMS)"],["aria-label","Phone call","matTooltip","Phone call"],["aria-label","Windows Hello","matTooltip","Windows Hello for Business",4,"ngIf"],["aria-label","FIDO2 key / passkey","matTooltip","FIDO 2 key or passkey",4,"ngIf"],["aria-label","Windows Hello","matTooltip","Windows Hello for Business"],["aria-label","FIDO2 key / passkey","matTooltip","FIDO 2 key or passkey"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div")(1,"div",0),m(2," This page shows MFA information for all users. The accuracy of this data depends on whether collection was done with a privileged account (Security/Global Reader/Admin) and whether the --mfa flag was specified during data gathering. MFA can be enforced per user or based on conditions via Conditional Access. Per-user MFA can be inferred from the Application Roles page when data collection was done with a limited user, it will only show up as enabled/enforced in this view when collecting data as admin. Whether a FIDO key is added to an account can also be collected using any user account. "),d(),u(3,"mat-form-field")(4,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(5,"table",2),S(6,3),f(7,cte,2,0,"th",4),f(8,ute,3,4,"td",5),M(),S(9,6),f(10,hte,2,0,"th",4),f(11,fte,2,1,"td",5),M(),S(12,7),f(13,pte,2,0,"th",4),f(14,gte,2,1,"td",5),M(),S(15,8),f(16,_te,2,0,"th",4),f(17,vte,2,1,"td",5),M(),S(18,9),f(19,yte,2,0,"th",4),f(20,Cte,2,1,"td",5),M(),S(21,10),f(22,wte,2,0,"th",4),f(23,Ste,2,1,"td",5),M(),S(24,11),f(25,Mte,2,0,"th",4),f(26,xte,2,1,"td",5),M(),S(27,12),f(28,Ete,2,0,"th",4),f(29,kte,3,2,"td",5),M(),S(30,13),f(31,Rte,2,0,"th",4),f(32,jte,3,2,"td",5),M(),f(33,$te,1,0,"tr",14),f(34,Ute,1,0,"tr",15),d(),A(35,"mat-paginator",16),d(),A(36,"router-outlet")),2&e&&(p(33),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,zte)))},dependencies:[Wi,at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Kn,Ki,Oo,rc],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}.active[_ngcontent-%COMP%]{color:#00f}.pagedescription[_ngcontent-%COMP%]{padding:20px;margin:10px}"]}),t})();function Wte(t,n){1&t&&(u(0,"th",14),m(1,"Approval type"),d())}function qte(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),D("all"==e.type?"All users":"Individual user")}}function Yte(t,n){1&t&&(u(0,"th",14),m(1,"Principal Name"),d())}const Kte=function(t,n){return["/",t,n]};function Qte(t,n){if(1&t&&(u(0,"span")(1,"a",17),m(2),d()()),2&t){const e=I().$implicit;p(1),y("routerLink",Jo(2,Kte,e.type.toLowerCase()+"s",e.userid)),p(1),D(e.userdisplayname)}}function Zte(t,n){if(1&t&&(u(0,"td",15),f(1,Qte,3,5,"span",16),d()),2&t){const e=n.$implicit;p(1),y("ngIf","all"!=e.type)}}function Xte(t,n){1&t&&(u(0,"th",14),m(1,"Source Application (permissions recipient)"),d())}const RE=function(t){return["/","serviceprincipals",t]};function Jte(t,n){if(1&t&&(u(0,"td",15)(1,"a",17),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,RE,e.sourcespobjectid)),p(1),D(e.sourceapplication)}}function ene(t,n){1&t&&(u(0,"th",14),m(1,"Target Application (permission to access)"),d())}function tne(t,n){if(1&t&&(u(0,"td",15)(1,"a",18),m(2),d()()),2&t){const e=n.$implicit;p(1),y("routerLink",Ne(2,RE,e.targetspobjectid)),p(1),D(e.targetapplication)}}function nne(t,n){1&t&&(u(0,"th",14),m(1,"Scope (permissions)"),d())}function ine(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),te("",e.scope," ")}}function one(t,n){1&t&&(u(0,"th",14),m(1,"Expiry"),d())}function rne(t,n){if(1&t&&(u(0,"td",15),m(1),d()),2&t){const e=n.$implicit;p(1),D(e.expiry)}}function sne(t,n){1&t&&A(0,"tr",19)}function ane(t,n){1&t&&A(0,"tr",20)}const lne=function(){return[50,100,500,1e3,5e3]},cne=[{path:"",component:_q},{path:"config",component:ds},{path:"oauth2permissions",component:(()=>{class t{constructor(e){this.service=e,this.displayedColumns=["type","userdisplayname","sourceapplication","targetapplication","scope","expiry"]}ngOnInit(){this.dataSource=new qi,this.service.getOAuth2Permissions().subscribe(e=>this.dataSource.data=e)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator,this.table.dataSource=this.dataSource}applyFilter(e){e=(e=e.trim()).toLowerCase(),this.dataSource.filter=e}}return t.\u0275fac=function(e){return new(e||t)(_(He))},t.\u0275cmp=U({type:t,selectors:[["app-roles"]],viewQuery:function(e,i){if(1&e&&(Y(Kt,5),Y(Ze,5),Y(Xe,5)),2&e){let o;F(o=N())&&(i.paginator=o.first),F(o=N())&&(i.sort=o.first),F(o=N())&&(i.table=o.first)}},features:[q([He])],decls:28,vars:4,consts:[[1,"mat-elevation-z4","pagedescription"],["matInput","","placeholder","Filter",3,"keyup"],["mat-table","","matSort","","aria-label","Elements",1,"full-width-table"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","userdisplayname"],["matColumnDef","sourceapplication"],["matColumnDef","targetapplication"],["matColumnDef","scope"],["matColumnDef","expiry"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[4,"ngIf"],[3,"routerLink"],[1,"md-accent",3,"routerLink"],["mat-header-row",""],["mat-row",""]],template:function(e,i){1&e&&(u(0,"div")(1,"div",0),m(2," This page shows all OAuth2permissions granted in the tenant. In the Azure portal and the Microsoft documentation, these permissions are often called Delegated permissions, since they are only active when an app is actively being used by the user. These permissions can be consented to by users individually or by an admin for the whole organisation. "),d(),u(3,"mat-form-field")(4,"input",1),J("keyup",function(r){return i.applyFilter(r.target.value)}),d()(),u(5,"table",2),S(6,3),f(7,Wte,2,0,"th",4),f(8,qte,2,1,"td",5),M(),S(9,6),f(10,Yte,2,0,"th",4),f(11,Zte,2,1,"td",5),M(),S(12,7),f(13,Xte,2,0,"th",4),f(14,Jte,3,4,"td",5),M(),S(15,8),f(16,ene,2,0,"th",4),f(17,tne,3,4,"td",5),M(),S(18,9),f(19,nne,2,0,"th",4),f(20,ine,2,1,"td",5),M(),S(21,10),f(22,one,2,0,"th",4),f(23,rne,2,1,"td",5),M(),f(24,sne,1,0,"tr",11),f(25,ane,1,0,"tr",12),d(),A(26,"mat-paginator",13),d(),A(27,"router-outlet")),2&e&&(p(24),y("matHeaderRowDef",i.displayedColumns),p(1),y("matRowDefColumns",i.displayedColumns),p(1),y("pageSizeOptions",Ui(3,lne)))},dependencies:[at,Xe,Gt,Jt,Wt,zt,en,qt,Yt,tn,nn,Kt,Ze,di,ui,Bt,Ki,Oo],styles:[".full-width-table[_ngcontent-%COMP%]{width:100%}.pagedescription[_ngcontent-%COMP%]{padding:20px;margin:10px}"]}),t})()},{path:"mfa",component:Gte},{path:"users",component:V7,children:[{path:":id",component:VK,resolve:{user:dE}}]},{path:"devices",component:pG,children:[{path:":id",component:iQ,resolve:{device:uE}}]},{path:"groups",component:HG,children:[{path:":id",component:EZ,resolve:{user:hE}}]},{path:"administrativeunits",component:ZG,children:[{path:":id",component:DX,resolve:{user:Az}}]},{path:"serviceprincipals",component:Yq,children:[{path:":id",component:kE,resolve:{sp:fE}}]},{path:"serviceprincipals-by-appid/:id",component:kE,resolve:{sp:kz}},{path:"applications",component:I9,children:[{path:":id",component:bJ,resolve:{application:Iz}}]},{path:"approles",component:Y9},{path:"directoryroles",component:kW}];let dne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Q_.forRoot(cne,{relativeLinkResolution:"legacy"}),Q_]}),t})();const une=["*",[["mat-toolbar-row"]]],hne=["*","mat-toolbar-row"],fne=ba(class{constructor(t){this._elementRef=t}});let pne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=R({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),mne=(()=>{class t extends fne{constructor(e,i,o){super(e),this._platform=i,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(St),_(pe))},t.\u0275cmp=U({type:t,selectors:[["mat-toolbar"]],contentQueries:function(e,i,o){if(1&e&&Ee(o,pne,5),2&e){let r;F(r=N())&&(i._toolbarRows=r)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,i){2&e&&ee("mat-toolbar-multiple-rows",i._toolbarRows.length>0)("mat-toolbar-single-row",0===i._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[j],ngContentSelectors:hne,decls:2,vars:0,template:function(e,i){1&e&&(tt(une),he(0),he(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),t})(),gne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[Ae,Ae]}),t})();const Mh=["*"],_ne=["content"];function vne(t,n){if(1&t){const e=Pn();u(0,"div",2),J("click",function(){return Zt(e),Xt(I()._onBackdropClicked())}),d()}2&t&&ee("mat-drawer-shown",I()._isShowingBackdrop())}function yne(t,n){1&t&&(u(0,"mat-drawer-content"),he(1,2),d())}const bne=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Cne=["mat-drawer","mat-drawer-content","*"];function wne(t,n){if(1&t){const e=Pn();u(0,"div",2),J("click",function(){return Zt(e),Xt(I()._onBackdropClicked())}),d()}2&t&&ee("mat-drawer-shown",I()._isShowingBackdrop())}function Dne(t,n){1&t&&(u(0,"mat-sidenav-content"),he(1,2),d())}const Sne=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Mne=["mat-sidenav","mat-sidenav-content","*"],OE={transformDrawer:fn("transform",[ze("open, open-instant",le({transform:"none",visibility:"visible"})),ze("void",le({"box-shadow":"none",visibility:"hidden"})),nt("void => open-instant",dt("0ms")),nt("void <=> open, open-instant => void",dt("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},xne=new O("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function Ene(){return!1}}),J_=new O("MAT_DRAWER_CONTAINER");let Th=(()=>{class t extends Vl{constructor(e,i,o,r,s){super(o,r,s),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(_(qe),_(Be(()=>FE)),_(Z),_(Bl),_(ne))},t.\u0275cmp=U({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,i){2&e&&si("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[q([{provide:Vl,useExisting:t}]),j],ngContentSelectors:Mh,decls:1,vars:0,template:function(e,i){1&e&&(tt(),he(0))},encapsulation:2,changeDetection:0}),t})(),PE=(()=>{class t{constructor(e,i,o,r,s,a,l,c){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=o,this._platform=r,this._ngZone=s,this._interactivityChecker=a,this._doc=l,this._container=c,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new W,this._animationEnd=new W,this._animationState="void",this.openedChange=new Q(!0),this._openedStream=this.openedChange.pipe(Ye(h=>h),oe(()=>{})),this.openedStart=this._animationStarted.pipe(Ye(h=>h.fromState!==h.toState&&0===h.toState.indexOf("open")),D_(void 0)),this._closedStream=this.openedChange.pipe(Ye(h=>!h),oe(()=>{})),this.closedStart=this._animationStarted.pipe(Ye(h=>h.fromState!==h.toState&&"void"===h.toState),D_(void 0)),this._destroyed=new W,this.onPositionChanged=new Q,this._modeChanged=new W,this.openedChange.subscribe(h=>{h?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{wo(this._elementRef.nativeElement,"keydown").pipe(Ye(h=>27===h.keyCode&&!this.disableClose&&!Yn(h)),ve(this._destroyed)).subscribe(h=>this._ngZone.run(()=>{this.close(),h.stopPropagation(),h.preventDefault()}))}),this._animationEnd.pipe(ga((h,g)=>h.fromState===g.fromState&&h.toState===g.toState)).subscribe(h=>{const{fromState:g,toState:v}=h;(0===v.indexOf("open")&&"void"===g||"void"===v&&0===g.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=ge(e)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(e){("true"===e||"false"===e||null==e)&&(e=ge(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ge(e))}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_takeFocus(){if(!this._focusTrap)return;const e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{!i&&"function"==typeof this._elementRef.nativeElement.focus&&e.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(e){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){var e;this._focusTrap&&this._focusTrap.destroy(),null===(e=this._anchor)||void 0===e||e.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,i){e&&i&&(this._openedVia=i);const o=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),o}_setOpen(e,i,o){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(o)),this._updateFocusTrapState(),new Promise(r=>{this.openedChange.pipe(pt(1)).subscribe(s=>r(s?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(e){const i=this._elementRef.nativeElement,o=i.parentNode;"end"===e?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),o.insertBefore(this._anchor,i)),o.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}}return t.\u0275fac=function(e){return new(e||t)(_(Z),_(Mu),_(Ii),_(St),_(ne),_(Ul),_(pe,8),_(J_,8))},t.\u0275cmp=U({type:t,selectors:[["mat-drawer"]],viewQuery:function(e,i){if(1&e&&Y(_ne,5),2&e){let o;F(o=N())&&(i._content=o.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,i){1&e&&Dd("@transform.start",function(r){return i._animationStarted.next(r)})("@transform.done",function(r){return i._animationEnd.next(r)}),2&e&&(Me("align",null),Md("@transform",i._animationState),ee("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:Mh,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(tt(),u(0,"div",0,1),he(2),d())},dependencies:[Vl],encapsulation:2,data:{animation:[OE.transformDrawer]},changeDetection:0}),t})(),FE=(()=>{class t{constructor(e,i,o,r,s,a=!1,l){this._dir=e,this._element=i,this._ngZone=o,this._changeDetectorRef=r,this._animationMode=l,this._drawers=new Br,this.backdropClick=new Q,this._destroyed=new W,this._doCheckSubject=new W,this._contentMargins={left:null,right:null},this._contentMarginChanges=new W,e&&e.change.pipe(ve(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(ve(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=a}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ge(e)}get hasBackdrop(){return this._backdropOverride??(!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode)}set hasBackdrop(e){this._backdropOverride=null==e?null:ge(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(on(this._allDrawers),ve(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(on(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(bu(10),ve(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,i=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const o=this._left._getWidth();e+=o,i-=o}if(this._right&&this._right.opened)if("side"==this._right.mode)i+=this._right._getWidth();else if("push"==this._right.mode){const o=this._right._getWidth();i+=o,e-=o}e=e||null,i=i||null,(e!==this._contentMargins.left||i!==this._contentMargins.right)&&(this._contentMargins={left:e,right:i},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(Ye(i=>i.fromState!==i.toState),ve(this._drawers.changes)).subscribe(i=>{"open-instant"!==i.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(ve(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){!e||e.onPositionChanged.pipe(ve(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(pt(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(ve(yn(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const i=this._element.nativeElement.classList,o="mat-drawer-container-has-open";e?i.add(o):i.remove(o)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return t.\u0275fac=function(e){return new(e||t)(_(xn,8),_(Z),_(ne),_(qe),_(nr),_(xne),_(Et,8))},t.\u0275cmp=U({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,Th,5),Ee(o,PE,5)),2&e){let r;F(r=N())&&(i._content=r.first),F(r=N())&&(i._allDrawers=r)}},viewQuery:function(e,i){if(1&e&&Y(Th,5),2&e){let o;F(o=N())&&(i._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,i){2&e&&ee("mat-drawer-container-explicit-backdrop",i._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[q([{provide:J_,useExisting:t}])],ngContentSelectors:Cne,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(tt(bne),f(0,vne,1,2,"div",0),he(1),he(2,1),f(3,yne,2,0,"mat-drawer-content",1)),2&e&&(y("ngIf",i.hasBackdrop),p(3),y("ngIf",!i._content))},dependencies:[at,Th],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),t})(),ev=(()=>{class t extends Th{constructor(e,i,o,r,s){super(e,i,o,r,s)}}return t.\u0275fac=function(e){return new(e||t)(_(qe),_(Be(()=>LE)),_(Z),_(Bl),_(ne))},t.\u0275cmp=U({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,i){2&e&&si("margin-left",i._container._contentMargins.left,"px")("margin-right",i._container._contentMargins.right,"px")},features:[q([{provide:Vl,useExisting:t}]),j],ngContentSelectors:Mh,decls:1,vars:0,template:function(e,i){1&e&&(tt(),he(0))},encapsulation:2,changeDetection:0}),t})(),NE=(()=>{class t extends PE{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=ge(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Nn(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Nn(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,i){2&e&&(Me("align",null),si("top",i.fixedInViewport?i.fixedTopGap:null,"px")("bottom",i.fixedInViewport?i.fixedBottomGap:null,"px"),ee("mat-drawer-end","end"===i.position)("mat-drawer-over","over"===i.mode)("mat-drawer-push","push"===i.mode)("mat-drawer-side","side"===i.mode)("mat-drawer-opened",i.opened)("mat-sidenav-fixed",i.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[j],ngContentSelectors:Mh,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(e,i){1&e&&(tt(),u(0,"div",0,1),he(2),d())},dependencies:[Vl],encapsulation:2,data:{animation:[OE.transformDrawer]},changeDetection:0}),t})(),LE=(()=>{class t extends FE{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Oe(t)))(i||t)}}(),t.\u0275cmp=U({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(e,i,o){if(1&e&&(Ee(o,ev,5),Ee(o,NE,5)),2&e){let r;F(r=N())&&(i._content=r.first),F(r=N())&&(i._allDrawers=r)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,i){2&e&&ee("mat-drawer-container-explicit-backdrop",i._backdropOverride)},exportAs:["matSidenavContainer"],features:[q([{provide:J_,useExisting:t}]),j],ngContentSelectors:Mne,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,i){1&e&&(tt(Sne),f(0,wne,1,2,"div",0),he(1),he(2,1),f(3,Dne,2,0,"mat-sidenav-content",1)),2&e&&(y("ngIf",i.hasBackdrop),p(3),y("ngIf",!i._content))},dependencies:[at,ev],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),t})(),Ane=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({imports:[qn,Ae,ha,ha,Ae]}),t})();function Ine(t,n){if(1&t){const e=Pn();u(0,"button",12),J("click",function(){return Zt(e),I(),Xt(mo(13).toggle())}),u(1,"mat-icon",13),m(2,"menu"),d()()}}function kne(t,n){1&t&&(u(0,"a",10),m(1,"MFA"),d()),2&t&&y("routerLink","/mfa")}class Pa{constructor(n){this.breakpointObserver=n,this.isHandset$=this.breakpointObserver.observe(qD_Handset).pipe(oe(e=>e.matches),gE())}}Pa.\u0275fac=function(n){return new(n||Pa)(_(Ag))},Pa.\u0275cmp=U({type:Pa,selectors:[["app-appnav"]],decls:45,vars:26,consts:[["color","primary"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click",4,"ngIf"],[3,"routerLink"],["src","/assets/rt_logoonly_margin.svg",1,"rtlogo"],[1,"filler"],["type","button","aria-label","Settings","mat-icon-button","",3,"routerLink"],["aria-label","Config link icon"],[1,"sidenav-container"],[1,"sidenav",3,"mode","opened"],["drawer",""],["mat-list-item","",3,"routerLink"],["mat-list-item","",3,"routerLink",4,"ngIf"],["type","button","aria-label","Toggle sidenav","mat-icon-button","",3,"click"],["aria-label","Side nav toggle icon"]],template:function(n,e){1&n&&(u(0,"mat-toolbar",0),f(1,Ine,3,0,"button",1),Nr(2,"async"),u(3,"span",2),A(4,"img",3),d(),u(5,"span",2),m(6,"ROADrecon"),d(),A(7,"span",4),u(8,"button",5)(9,"mat-icon",6),m(10,"settings"),d()()(),u(11,"mat-sidenav-container",7)(12,"mat-sidenav",8,9),Nr(14,"async"),Nr(15,"async"),Nr(16,"async"),u(17,"mat-nav-list")(18,"a",10),m(19,"Home"),d(),A(20,"mat-divider"),u(21,"a",10),m(22,"Users"),d(),u(23,"a",10),m(24,"Groups"),d(),u(25,"a",10),m(26,"Devices"),d(),A(27,"mat-divider"),u(28,"a",10),m(29,"Administrative Units"),d(),u(30,"a",10),m(31,"Directory roles"),d(),A(32,"mat-divider"),u(33,"a",10),m(34,"Applications"),d(),u(35,"a",10),m(36,"Service Principals"),d(),u(37,"a",10),m(38,"Application roles"),d(),u(39,"a",10),m(40,"OAuth2 Permissions"),d(),A(41,"mat-divider"),f(42,kne,2,1,"a",11),d()(),u(43,"mat-sidenav-content"),A(44,"router-outlet"),d()()),2&n&&(p(1),y("ngIf",Lr(2,18,e.isHandset$)),p(2),y("routerLink","/"),p(2),y("routerLink","/"),p(3),y("routerLink","/config"),p(4),y("mode",Lr(15,22,e.isHandset$)?"over":"side")("opened",!1===Lr(16,24,e.isHandset$)),Me("role",Lr(14,20,e.isHandset$)?"dialog":"navigation"),p(6),y("routerLink","/"),p(3),y("routerLink","/users"),p(2),y("routerLink","/groups"),p(2),y("routerLink","/devices"),p(3),y("routerLink","/administrativeunits"),p(2),y("routerLink","/directoryroles"),p(3),y("routerLink","/applications"),p(2),y("routerLink","/serviceprincipals"),p(2),y("routerLink","/approles"),p(2),y("routerLink","/oauth2permissions"),p(3),y("ngIf",e.mfa))},dependencies:[at,ui,yh,Bt,mne,Bg,NE,LE,ev,Kn,lU,y_,Xr,$m],styles:["mat-sidenav-container[_ngcontent-%COMP%]{min-height:600px}.filler[_ngcontent-%COMP%]{flex:1 1 auto}img.rtlogo[_ngcontent-%COMP%]{width:50px;margin-top:10px;margin-right:10px}"]}),Kh([X_()],Pa.prototype,"mfa",void 0);let Rne=(()=>{class t{constructor(){this.title="ROADrecon"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=U({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(e,i){1&e&&A(0,"app-appnav")},dependencies:[Pa]}),t})();function BE(t){return new P(3e3,!1)}function fie(){return typeof window<"u"&&typeof window.document<"u"}function tv(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function mr(t){switch(t.length){case 0:return new Ql;case 1:return t[0];default:return new jS(t)}}function VE(t,n,e,i,o=new Map,r=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(h=>{const g=h.get("offset"),v=g==l,b=v&&c||new Map;h.forEach((C,w)=>{let x=w,E=C;if("offset"!==w)switch(x=n.normalizePropertyName(x,s),E){case"!":E=o.get(w);break;case To:E=r.get(w);break;default:E=n.normalizeStyleValue(w,x,E,s)}b.set(x,E)}),v||a.push(b),c=b,l=g}),s.length)throw function tie(t){return new P(3502,!1)}();return a}function nv(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&iv(e,"start",t)));break;case"done":t.onDone(()=>i(e&&iv(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&iv(e,"destroy",t)))}}function iv(t,n,e){const r=ov(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(r._data=s),r}function ov(t,n,e,i,o="",r=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:r,disabled:!!s}}function Zn(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function HE(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let rv=(t,n)=>!1,jE=(t,n,e)=>[],$E=null;function sv(t){const n=t.parentNode||t.host;return n===$E?null:n}(tv()||typeof Element<"u")&&(fie()?($E=(()=>document.documentElement)(),rv=(t,n)=>{for(;n;){if(n===t)return!0;n=sv(n)}return!1}):rv=(t,n)=>t.contains(n),jE=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let us=null,UE=!1;const zE=rv,GE=jE;let WE=(()=>{class t{validateStyleProperty(e){return function mie(t){us||(us=function gie(){return typeof document<"u"?document.body:null}()||{},UE=!!us.style&&"WebkitAppearance"in us.style);let n=!0;return us.style&&!function pie(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in us.style,!n&&UE&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in us.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return zE(e,i)}getParentElement(e){return sv(e)}query(e,i,o){return GE(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,r,s,a=[],l){return new Ql(o,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})(),av=(()=>{class t{}return t.NOOP=new WE,t})();const lv="ng-enter",xh="ng-leave",Eh="ng-trigger",Ah=".ng-trigger",YE="ng-animating",cv=".ng-animating";function Lo(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:dv(parseFloat(n[1]),n[2])}function dv(t,n){return"s"===n?1e3*t:t}function Ih(t,n,e){return t.hasOwnProperty("duration")?t:function yie(t,n,e){let o,r=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(BE()),{duration:0,delay:0,easing:""};o=dv(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(r=dv(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else o=t;if(!e){let a=!1,l=n.length;o<0&&(n.push(function One(){return new P(3100,!1)}()),a=!0),r<0&&(n.push(function Pne(){return new P(3101,!1)}()),a=!0),a&&n.splice(l,0,BE())}return{duration:o,delay:r,easing:s}}(t,n,e)}function wc(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function KE(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function gr(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function ZE(t,n,e){return e?n+":"+e+";":""}function XE(t){let n="";for(let e=0;e<t.style.length;e++){const i=t.style.item(e);n+=ZE(0,i,t.style.getPropertyValue(i))}for(const e in t.style)t.style.hasOwnProperty(e)&&!e.startsWith("_")&&(n+=ZE(0,Die(e),t.style[e]));t.setAttribute("style",n)}function Ji(t,n,e){t.style&&(n.forEach((i,o)=>{const r=hv(o);e&&!e.has(o)&&e.set(o,t.style[r]),t.style[r]=i}),tv()&&XE(t))}function hs(t,n){t.style&&(n.forEach((e,i)=>{const o=hv(i);t.style[o]=""}),tv()&&XE(t))}function Dc(t){return Array.isArray(t)?1==t.length?t[0]:VS(t):t}const uv=new RegExp("{{\\s*(.+?)\\s*}}","g");function JE(t){let n=[];if("string"==typeof t){let e;for(;e=uv.exec(t);)n.push(e[1]);uv.lastIndex=0}return n}function Sc(t,n,e){const i=t.toString(),o=i.replace(uv,(r,s)=>{let a=n[s];return null==a&&(e.push(function Nne(t){return new P(3003,!1)}()),a=""),a.toString()});return o==i?t:o}function kh(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const wie=/-+([a-z0-9])/g;function hv(t){return t.replace(wie,(...n)=>n[1].toUpperCase())}function Die(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Xn(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function Lne(t){return new P(3004,!1)}()}}function eA(t,n){return window.getComputedStyle(t)[n]}function Aie(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function Iie(t,n,e){if(":"==t[0]){const l=function kie(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(function Zne(t){return new P(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Qne(t){return new P(3015,!1)}()),n;const o=i[1],r=i[2],s=i[3];n.push(tA(o,s));"<"==r[0]&&!("*"==o&&"*"==s)&&n.push(tA(s,o))}(i,e,n)):e.push(t),e}const Fh=new Set(["true","1"]),Nh=new Set(["false","0"]);function tA(t,n){const e=Fh.has(t)||Nh.has(t),i=Fh.has(n)||Nh.has(n);return(o,r)=>{let s="*"==t||t==o,a="*"==n||n==r;return!s&&e&&"boolean"==typeof o&&(s=o?Fh.has(t):Nh.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?Fh.has(n):Nh.has(n)),s&&a}}const Rie=new RegExp("s*:selfs*,?","g");function fv(t,n,e,i){return new Oie(t).build(n,e,i)}class Oie{constructor(n){this._driver=n}build(n,e,i){const o=new Nie(e);return this._resetContextStyleTimingState(o),Xn(this,Dc(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const r=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function Vne(){return new P(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,r.push(this.visitState(l,e))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,o+=l.depCount,s.push(l)}else e.errors.push(function Hne(){return new P(3007,!1)}())}),{type:7,name:n.name,states:r,transitions:s,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const r=new Set,s=o||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{JE(l).forEach(c=>{s.hasOwnProperty(c)||r.add(c)})})}),r.size&&(kh(r.values()),e.errors.push(function jne(t,n){return new P(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=Xn(this,Dc(n.animation),e);return{type:1,matchers:Aie(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:fs(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>Xn(this,i,e)),options:fs(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const r=n.steps.map(s=>{e.currentTime=i;const a=Xn(this,s,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:r,options:fs(n.options)}}visitAnimate(n,e){const i=function Bie(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return pv(Ih(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(r=>"{"==r.charAt(0)&&"{"==r.charAt(1))){const r=pv(0,0,"");return r.dynamic=!0,r.strValue=e,r}const o=Ih(e,n);return pv(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,r=n.styles?n.styles:le({});if(5==r.type)o=this.visitKeyframes(r,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=le(c)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,o=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of o)"string"==typeof a?a===To?i.push(a):e.errors.push(new P(3002,!1)):i.push(KE(a));let r=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!r))for(let l of a.values())if(l.toString().indexOf("{{")>=0){r=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,r=e.currentTime;i&&r>0&&(r-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),h=c.get(l);let g=!0;h&&(r!=o&&r>=h.startTime&&o<=h.endTime&&(e.errors.push(function Une(t,n,e,i,o){return new P(3010,!1)}()),g=!1),r=h.startTime),g&&c.set(l,{startTime:r,endTime:o}),e.options&&function Cie(t,n,e){const i=n.params||{},o=JE(t);o.length&&o.forEach(r=>{i.hasOwnProperty(r)||e.push(function Fne(t){return new P(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function zne(){return new P(3011,!1)}()),i;let r=0;const s=[];let a=!1,l=!1,c=0;const h=n.steps.map(E=>{const B=this._makeStyleAst(E,e);let k=null!=B.offset?B.offset:function Lie(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(B.styles),H=0;return null!=k&&(r++,H=B.offset=k),l=l||H<0||H>1,a=a||H<c,c=H,s.push(H),B});l&&e.errors.push(function Gne(){return new P(3012,!1)}()),a&&e.errors.push(function Wne(){return new P(3200,!1)}());const g=n.steps.length;let v=0;r>0&&r<g?e.errors.push(function qne(){return new P(3202,!1)}()):0==r&&(v=1/(g-1));const b=g-1,C=e.currentTime,w=e.currentAnimateTimings,x=w.duration;return h.forEach((E,B)=>{const k=v>0?B==b?1:v*B:s[B],H=k*x;e.currentTime=C+w.delay+H,w.duration=H,this._validateStyleAst(E,e),E.offset=k,i.styles.push(E)}),i}visitReference(n,e){return{type:8,animation:Xn(this,Dc(n.animation),e),options:fs(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:fs(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:fs(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[r,s]=function Pie(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(Rie,"")),t=t.replace(/@\*/g,Ah).replace(/@\w+/g,e=>Ah+"-"+e.slice(1)).replace(/:animating/g,cv),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+r:r,Zn(e.collectedStyles,e.currentQuerySelector,new Map);const a=Xn(this,Dc(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:fs(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function Yne(){return new P(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Ih(n.timings,e.errors,!0);return{type:12,animation:Xn(this,Dc(n.animation),e),timings:i,options:null}}}class Nie{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function fs(t){return t?(t=wc(t)).params&&(t.params=function Fie(t){return t?wc(t):null}(t.params)):t={},t}function pv(t,n,e){return{duration:t,delay:n,easing:e}}function mv(t,n,e,i,o,r,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:r,totalTime:o+r,easing:s,subTimeline:a}}class Lh{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const jie=new RegExp(":enter","g"),Uie=new RegExp(":leave","g");function gv(t,n,e,i,o,r=new Map,s=new Map,a,l,c=[]){return(new zie).buildKeyframes(t,n,e,i,o,r,s,a,l,c)}class zie{buildKeyframes(n,e,i,o,r,s,a,l,c,h=[]){c=c||new Lh;const g=new _v(n,e,c,o,r,h,[]);g.options=l;const v=l.delay?Lo(l.delay):0;g.currentTimeline.delayNextStep(v),g.currentTimeline.setStyles([s],null,g.errors,l),Xn(this,i,g);const b=g.timelines.filter(C=>C.containsAnimation());if(b.length&&a.size){let C;for(let w=b.length-1;w>=0;w--){const x=b[w];if(x.element===e){C=x;break}}C&&!C.allowOnlyTimelineStyles()&&C.setStyles([a],null,g.errors,l)}return b.length?b.map(C=>C.buildKeyframes()):[mv(e,[],[],[],0,v,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,o,o.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const s=r?.delay;if(s){var o;const a="number"==typeof s?s:Lo(Sc(s,null!==(o=r?.params)&&void 0!==o?o:{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let r=e.currentTimeline.currentTime;const s=null!=i.duration?Lo(i.duration):null,a=null!=i.delay?Lo(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);r=Math.max(r,c.duration+c.delay)}),r}visitReference(n,e){e.updateOptions(n.options,!0),Xn(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const r=n.options;if(r&&(r.params||r.delay)&&(o=e.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Bh);const s=Lo(r.delay);o.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Xn(this,s,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const r=n.options&&n.options.delay?Lo(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);r&&a.delayNextStep(r),Xn(this,s,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Ih(e.params?Sc(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const r=n.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(i.duration),this.visitStyle(r,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const r=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(r):i.setStyles(n.styles,r,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,r=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*r),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+r),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},r=o.delay?Lo(o.delay):0;r&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Bh);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,h)=>{e.currentQueryIndex=h;const g=e.createSubContext(n.options,c);r&&g.delayNextStep(r),c===e.element&&(l=g.currentTimeline),Xn(this,n.animation,g),g.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,r=n.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const h=e.currentTimeline;l&&h.delayNextStep(l);const g=h.currentTime;Xn(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-g+(o.startTime-i.currentTimeline.startTime)}}const Bh={};class _v{constructor(n,e,i,o,r,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Vh(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=Lo(i.duration)),null!=i.delay&&(o.delay=Lo(i.delay));const r=i.params;if(r){let s=o.params;s||(s=this.options.params={}),Object.keys(r).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=Sc(r[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,r=new _v(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(n),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(n){return this.previousNode=Bh,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},r=new Gie(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,r,s){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(jie,"."+this._enterClassName)).replace(Uie,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!r&&0==a.length&&s.push(function Kne(t){return new P(3014,!1)}()),a}}class Vh{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Vh(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||To),this._currentKeyframe.set(e,To);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const r=o&&o.params||{},s=function Wie(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let r of i)e.set(r,To)}else gr(o,e)}),e}(n,this._globalTimelineStyles);for(let[l,c]of s){const h=Sc(c,r,i);var a;this._pendingStyles.set(l,h),this._localTimelineStyles.has(l)||this._backFill.set(l,null!==(a=this._globalTimelineStyles.get(l))&&void 0!==a?a:To),this._updateStyle(l,h)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,l)=>{const c=gr(a,new Map,this._backFill);c.forEach((h,g)=>{"!"===h?n.add(g):h===To&&e.add(g)}),i||c.set("offset",l/this.duration),o.push(c)});const r=n.size?kh(n.values()):[],s=e.size?kh(e.values()):[];if(i){const a=o[0],l=new Map(a);a.set("offset",0),l.set("offset",1),o=[a,l]}return mv(this.element,o,r,s,this.duration,this.startTime,this.easing,!1)}}class Gie extends Vh{constructor(n,e,i,o,r,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=i+e,a=e/s,l=gr(n[0]);l.set("offset",0),r.push(l);const c=gr(n[0]);c.set("offset",oA(a)),r.push(c);const h=n.length-1;for(let g=1;g<=h;g++){let v=gr(n[g]);const b=v.get("offset");v.set("offset",oA((e+b*i)/s)),r.push(v)}i=s,e=0,o="",n=r}return mv(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function oA(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class vv{}const qie=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Yie extends vv{normalizePropertyName(n,e){return hv(n)}normalizeStyleValue(n,e,i,o){let r="";const s=i.toString().trim();if(qie.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)r="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function Bne(t,n){return new P(3005,!1)}())}return s+r}}function rA(t,n,e,i,o,r,s,a,l,c,h,g,v){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:r,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:g,errors:v}}const yv={};class sA{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function Kie(t,n,e,i,o){return t.some(r=>r(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,r,s,a,l,c,h){var g;const v=[],b=this.ast.options&&this.ast.options.params||yv,w=this.buildStyles(i,a&&a.params||yv,v),x=l&&l.params||yv,E=this.buildStyles(o,x,v),B=new Set,k=new Map,H=new Map,fe="void"===o,Ve={params:Qie(x,b),delay:null===(g=this.ast.options)||void 0===g?void 0:g.delay},Mt=h?[]:gv(n,e,this.ast.animation,r,s,w,E,Ve,c,v);let pn=0;if(Mt.forEach(An=>{pn=Math.max(An.duration+An.delay,pn)}),v.length)return rA(e,this._triggerName,i,o,fe,w,E,[],[],k,H,pn,v);Mt.forEach(An=>{const Bo=An.element,Vo=Zn(k,Bo,new Set);An.preStyleProps.forEach(eo=>Vo.add(eo));const Ho=Zn(H,Bo,new Set);An.postStyleProps.forEach(eo=>Ho.add(eo)),Bo!==e&&B.add(Bo)});const _r=kh(B.values());return rA(e,this._triggerName,i,o,fe,w,E,Mt,_r,k,H,pn)}}function Qie(t,n){const e=wc(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class Zie{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=wc(this.defaultParams);return Object.keys(n).forEach(r=>{const s=n[r];null!==s&&(o[r]=s)}),this.styles.styles.forEach(r=>{"string"!=typeof r&&r.forEach((s,a)=>{s&&(s=Sc(s,o,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class Jie{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new Zie(o.style,o.options&&o.options.params||{},i))}),aA(this.states,"true","1"),aA(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new sA(n,o,this.states))}),this.fallbackTransition=function eoe(t,n,e){return new sA(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(s=>s.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function aA(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const toe=new Lh;class noe{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],r=fv(this._driver,e,i,[]);if(i.length)throw function nie(t){return new P(3503,!1)}();this._animations.set(n,r)}_buildPlayer(n,e,i){const o=n.element,r=VE(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(o,r,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],r=this._animations.get(n);let s;const a=new Map;if(r?(s=gv(this._driver,e,r,lv,xh,new Map,new Map,i,toe,o),s.forEach(h=>{const g=Zn(a,h.element,new Map);h.postStyleProps.forEach(v=>g.set(v,null))})):(o.push(function iie(){return new P(3300,!1)}()),s=[]),o.length)throw function oie(t){return new P(3504,!1)}();a.forEach((h,g)=>{h.forEach((v,b)=>{h.set(b,this._driver.computeStyle(g,b,To))})});const c=mr(s.map(h=>{const g=a.get(h.element);return this._buildPlayer(h,new Map,g)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function rie(t){return new P(3301,!1)}();return e}listen(n,e,i,o){const r=ov(e,"","","");return nv(this._getPlayer(n),i,r,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const r=this._getPlayer(n);switch(i){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const lA="ng-animate-queued",bv="ng-animate-disabled",aoe=[],cA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},loe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fi="__ng_removed";class Cv{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function hoe(t){return t??null}(i?n.value:n),i){const r=wc(n);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const Mc="void",wv=new Cv(Mc);class coe{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,pi(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function sie(t,n){return new P(3302,!1)}();if(null==i||0==i.length)throw function aie(t){return new P(3303,!1)}();if(!function foe(t){return"start"==t||"done"==t}(i))throw function lie(t,n){return new P(3400,!1)}();const r=Zn(this._elementListeners,n,[]),s={name:e,phase:i,callback:o};r.push(s);const a=Zn(this._engine.statesByElement,n,new Map);return a.has(e)||(pi(n,Eh),pi(n,Eh+"-"+e),a.set(e,wv)),()=>{this._engine.afterFlush(()=>{const l=r.indexOf(s);l>=0&&r.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function cie(t){return new P(3401,!1)}();return e}trigger(n,e,i,o=!0){const r=this._getTrigger(e),s=new Dv(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(pi(n,Eh),pi(n,Eh+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new Cv(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=wv),c.value!==Mc&&l.value===c.value){if(!function goe(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o<e.length;o++){const r=e[o];if(!n.hasOwnProperty(r)||t[r]!==n[r])return!1}return!0}(l.params,c.params)){const w=[],x=r.matchStyles(l.value,l.params,w),E=r.matchStyles(c.value,c.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{hs(n,x),Ji(n,E)})}return}const v=Zn(this._engine.playersByElement,n,[]);v.forEach(w=>{w.namespaceId==this.id&&w.triggerName==e&&w.queued&&w.destroy()});let b=r.matchTransition(l.value,c.value,n,c.params),C=!1;if(!b){if(!o)return;b=r.fallbackTransition,C=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:b,fromState:l,toState:c,player:s,isFallbackTransition:C}),C||(pi(n,lA),s.onStart(()=>{Fa(n,lA)})),s.onDone(()=>{let w=this.players.indexOf(s);w>=0&&this.players.splice(w,1);const x=this._engine.playersByElement.get(n);if(x){let E=x.indexOf(s);E>=0&&x.splice(E,1)}}),this.players.push(s),v.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Ah,!0);i.forEach(o=>{if(o[fi])return;const r=this._engine.fetchNamespacesByElement(o);r.size?r.forEach(s=>s.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const r=this._engine.statesByElement.get(n),s=new Map;if(r){const a=[];if(r.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const h=this.trigger(n,c,Mc,o);h&&a.push(h)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&mr(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(r=>{const s=r.name;if(o.has(s))return;o.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||wv,h=new Cv(Mc),g=new Dv(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:h,player:g,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const r=i.players.length?i.playersByQueriedElement.get(n):[];if(r&&r.length)o=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const r=n[fi];(!r||r===cA)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){pi(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const r=i.element,s=this._elementListeners.get(r);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=ov(r,i.triggerName,i.fromState.value,i.toState.value);l._data=n,nv(i.player,a.phase,l,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const r=i.transition.ast.depCount,s=o.transition.ast.depCount;return 0==r||0==s?r-s:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class doe{constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,r)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new coe(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=o.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const r=this._fetchNamespace(o.namespaceId);r&&e.add(r)}return e}trigger(n,e,i,o){if(Hh(e)){const r=this._fetchNamespace(n);if(r)return r.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!Hh(e))return;const r=e[fi];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),pi(n,bv)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Fa(n,bv))}removeNode(n,e,i,o){if(Hh(e)){const r=n?this._fetchNamespace(n):null;if(r?r.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==n&&s.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,i,o,r){this.collectedLeaveElements.push(e),e[fi]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:r}}listen(n,e,i,o,r){return Hh(e)?this._fetchNamespace(n).listen(e,i,o,r):()=>{}}_buildInstruction(n,e,i,o,r){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,r)}destroyInnerAnimations(n){let e=this.driver.query(n,Ah,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,cv,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return mr(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const i=n[fi];if(i&&i.setForRemoval){if(n[fi]=cA,i.namespaceId){this.destroyInnerAnimations(n);const o=this._fetchNamespace(i.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,i.setForRemoval)}null!==(e=n.classList)&&void 0!==e&&e.contains(bv)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)pi(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,n)}finally{for(let o=0;o<i.length;o++)i[o]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?mr(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function die(t){return new P(3402,!1)}()}_flushAnimations(n,e){const i=new Lh,o=[],r=new Map,s=[],a=new Map,l=new Map,c=new Map,h=new Set;this.disabledNodes.forEach(K=>{h.add(K);const ie=this.driver.query(K,".ng-animate-queued",!0);for(let ue=0;ue<ie.length;ue++)h.add(ie[ue])});const g=this.bodyNode,v=Array.from(this.statesByElement.keys()),b=hA(v,this.collectedEnterElements),C=new Map;let w=0;b.forEach((K,ie)=>{const ue=lv+w++;C.set(ie,ue),K.forEach(Fe=>pi(Fe,ue))});const x=[],E=new Set,B=new Set;for(let K=0;K<this.collectedLeaveElements.length;K++){const ie=this.collectedLeaveElements[K],ue=ie[fi];ue&&ue.setForRemoval&&(x.push(ie),E.add(ie),ue.hasAnimation?this.driver.query(ie,".ng-star-inserted",!0).forEach(Fe=>E.add(Fe)):B.add(ie))}const k=new Map,H=hA(v,Array.from(E));H.forEach((K,ie)=>{const ue=xh+w++;k.set(ie,ue),K.forEach(Fe=>pi(Fe,ue))}),n.push(()=>{b.forEach((K,ie)=>{const ue=C.get(ie);K.forEach(Fe=>Fa(Fe,ue))}),H.forEach((K,ie)=>{const ue=k.get(ie);K.forEach(Fe=>Fa(Fe,ue))}),x.forEach(K=>{this.processLeaveNode(K)})});const fe=[],Ve=[];for(let K=this._namespaceList.length-1;K>=0;K--)this._namespaceList[K].drainQueuedTransitions(e).forEach(ue=>{const Fe=ue.player,Tt=ue.element;if(fe.push(Fe),this.collectedEnterElements.length){const mn=Tt[fi];if(mn&&mn.setForMove){if(mn.previousTriggersValues&&mn.previousTriggersValues.has(ue.triggerName)){const ps=mn.previousTriggersValues.get(ue.triggerName),mi=this.statesByElement.get(ue.element);if(mi&&mi.has(ue.triggerName)){const Uh=mi.get(ue.triggerName);Uh.value=ps,mi.set(ue.triggerName,Uh)}}return void Fe.destroy()}}const to=!g||!this.driver.containsElement(g,Tt),Jn=k.get(Tt),vr=C.get(Tt),gt=this._buildInstruction(ue,i,vr,Jn,to);if(gt.errors&&gt.errors.length)return void Ve.push(gt);if(to)return Fe.onStart(()=>hs(Tt,gt.fromStyles)),Fe.onDestroy(()=>Ji(Tt,gt.toStyles)),void o.push(Fe);if(ue.isFallbackTransition)return Fe.onStart(()=>hs(Tt,gt.fromStyles)),Fe.onDestroy(()=>Ji(Tt,gt.toStyles)),void o.push(Fe);const CA=[];gt.timelines.forEach(mn=>{mn.stretchStartingKeyframe=!0,this.disabledNodes.has(mn.element)||CA.push(mn)}),gt.timelines=CA,i.append(Tt,gt.timelines),s.push({instruction:gt,player:Fe,element:Tt}),gt.queriedElements.forEach(mn=>Zn(a,mn,[]).push(Fe)),gt.preStyleProps.forEach((mn,ps)=>{if(mn.size){let mi=l.get(ps);mi||l.set(ps,mi=new Set),mn.forEach((Uh,Tv)=>mi.add(Tv))}}),gt.postStyleProps.forEach((mn,ps)=>{let mi=c.get(ps);mi||c.set(ps,mi=new Set),mn.forEach((Uh,Tv)=>mi.add(Tv))})});if(Ve.length){const K=[];Ve.forEach(ie=>{K.push(function uie(t,n){return new P(3505,!1)}())}),fe.forEach(ie=>ie.destroy()),this.reportError(K)}const Mt=new Map,pn=new Map;s.forEach(K=>{const ie=K.element;i.has(ie)&&(pn.set(ie,ie),this._beforeAnimationBuild(K.player.namespaceId,K.instruction,Mt))}),o.forEach(K=>{const ie=K.element;this._getPreviousPlayers(ie,!1,K.namespaceId,K.triggerName,null).forEach(Fe=>{Zn(Mt,ie,[]).push(Fe),Fe.destroy()})});const _r=x.filter(K=>pA(K,l,c)),An=new Map;uA(An,this.driver,B,c,To).forEach(K=>{pA(K,l,c)&&_r.push(K)});const Vo=new Map;b.forEach((K,ie)=>{uA(Vo,this.driver,new Set(K),l,"!")}),_r.forEach(K=>{var ie,ue;const Fe=An.get(K),Tt=Vo.get(K);An.set(K,new Map([...Array.from(null!==(ie=Fe?.entries())&&void 0!==ie?ie:[]),...Array.from(null!==(ue=Tt?.entries())&&void 0!==ue?ue:[])]))});const Ho=[],eo=[],Na={};s.forEach(K=>{const{element:ie,player:ue,instruction:Fe}=K;if(i.has(ie)){if(h.has(ie))return ue.onDestroy(()=>Ji(ie,Fe.toStyles)),ue.disabled=!0,ue.overrideTotalTime(Fe.totalTime),void o.push(ue);let Tt=Na;if(pn.size>1){let Jn=ie;const vr=[];for(;Jn=Jn.parentNode;){const gt=pn.get(Jn);if(gt){Tt=gt;break}vr.push(Jn)}vr.forEach(gt=>pn.set(gt,Tt))}const to=this._buildAnimation(ue.namespaceId,Fe,Mt,r,Vo,An);if(ue.setRealPlayer(to),Tt===Na)Ho.push(ue);else{const Jn=this.playersByElement.get(Tt);Jn&&Jn.length&&(ue.parentPlayer=mr(Jn)),o.push(ue)}}else hs(ie,Fe.fromStyles),ue.onDestroy(()=>Ji(ie,Fe.toStyles)),eo.push(ue),h.has(ie)&&o.push(ue)}),eo.forEach(K=>{const ie=r.get(K.element);if(ie&&ie.length){const ue=mr(ie);K.setRealPlayer(ue)}}),o.forEach(K=>{K.parentPlayer?K.syncPlayerEvents(K.parentPlayer):K.destroy()});for(let K=0;K<x.length;K++){const ie=x[K],ue=ie[fi];if(Fa(ie,xh),ue&&ue.hasAnimation)continue;let Fe=[];if(a.size){let to=a.get(ie);to&&to.length&&Fe.push(...to);let Jn=this.driver.query(ie,cv,!0);for(let vr=0;vr<Jn.length;vr++){let gt=a.get(Jn[vr]);gt&&gt.length&&Fe.push(...gt)}}const Tt=Fe.filter(to=>!to.destroyed);Tt.length?poe(this,ie,Tt):this.processLeaveNode(ie)}return x.length=0,Ho.forEach(K=>{this.players.push(K),K.onDone(()=>{K.destroy();const ie=this.players.indexOf(K);this.players.splice(ie,1)}),K.play()}),Ho}elementContainsData(n,e){let i=!1;const o=e[fi];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,r){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!r||r==Mc;a.forEach(c=>{c.queued||!l&&c.triggerName!=o||s.push(c)})}}return(i||o)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const r=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,h=c!==r,g=Zn(i,c,[]);this._getPreviousPlayers(c,h,s,a,e.toState).forEach(b=>{const C=b.getRealPlayer();C.beforeDestroy&&C.beforeDestroy(),b.destroy(),g.push(b)})}hs(r,e.fromStyles)}_buildAnimation(n,e,i,o,r,s){const a=e.triggerName,l=e.element,c=[],h=new Set,g=new Set,v=e.timelines.map(C=>{const w=C.element;h.add(w);const x=w[fi];if(x&&x.removedBeforeQueried)return new Ql(C.duration,C.delay);const E=w!==l,B=function moe(t){const n=[];return fA(t,n),n}((i.get(w)||aoe).map(Mt=>Mt.getRealPlayer())).filter(Mt=>!!Mt.element&&Mt.element===w),k=r.get(w),H=s.get(w),fe=VE(0,this._normalizer,0,C.keyframes,k,H),Ve=this._buildPlayer(C,fe,B);if(C.subTimeline&&o&&g.add(w),E){const Mt=new Dv(n,a,w);Mt.setRealPlayer(Ve),c.push(Mt)}return Ve});c.forEach(C=>{Zn(this.playersByQueriedElement,C.element,[]).push(C),C.onDone(()=>function uoe(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,C.element,C))}),h.forEach(C=>pi(C,YE));const b=mr(v);return b.onDestroy(()=>{h.forEach(C=>Fa(C,YE)),Ji(l,e.toStyles)}),g.forEach(C=>{Zn(o,C,[]).push(b)}),b}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Ql(n.duration,n.delay)}}class Dv{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Ql,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>nv(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Zn(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Hh(t){return t&&1===t.nodeType}function dA(t,n){const e=t.style.display;return t.style.display=n??"none",e}function uA(t,n,e,i,o){const r=[];e.forEach(l=>r.push(dA(l)));const s=[];i.forEach((l,c)=>{const h=new Map;l.forEach(g=>{const v=n.computeStyle(c,g,o);h.set(g,v),(!v||0==v.length)&&(c[fi]=loe,s.push(c))}),t.set(c,h)});let a=0;return e.forEach(l=>dA(l,r[a++])),s}function hA(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),r=new Map;function s(a){if(!a)return 1;let l=r.get(a);if(l)return l;const c=a.parentNode;return l=e.has(c)?c:o.has(c)?1:s(c),r.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function pi(t,n){var e;null===(e=t.classList)||void 0===e||e.add(n)}function Fa(t,n){var e;null===(e=t.classList)||void 0===e||e.remove(n)}function poe(t,n,e){mr(e).onDone(()=>t.processLeaveNode(n))}function fA(t,n){for(let e=0;e<t.length;e++){const i=t[e];i instanceof jS?fA(i.players,n):n.push(i)}}function pA(t,n,e){const i=e.get(t);if(!i)return!1;let o=n.get(t);return o?i.forEach(r=>o.add(r)):n.set(t,i),e.delete(t),!0}class jh{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,r)=>{},this._transitionEngine=new doe(n,e,i),this._timelineEngine=new noe(n,e,i),this._transitionEngine.onRemovalComplete=(o,r)=>this.onRemovalComplete(o,r)}registerTrigger(n,e,i,o,r){const s=n+"-"+o;let a=this._triggerCache[s];if(!a){const l=[],h=fv(this._driver,r,l,[]);if(l.length)throw function eie(t,n){return new P(3404,!1)}();a=function Xie(t,n,e){return new Jie(t,n,e)}(o,h,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i,o){this._transitionEngine.removeNode(n,e,o||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[r,s]=HE(i);this._timelineEngine.command(r,e,s,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,r){if("@"==i.charAt(0)){const[s,a]=HE(i);return this._timelineEngine.listen(s,e,a,r)}return this._transitionEngine.listen(n,e,i,o,r)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let voe=(()=>{class t{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Ji(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ji(this._element,this._initialStyles),this._endStyles&&(Ji(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(hs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(hs(this._element,this._endStyles),this._endStyles=null),Ji(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Sv(t){let n=null;return t.forEach((e,i)=>{(function yoe(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class mA{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:eA(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class boe{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return zE(n,e)}getParentElement(n){return sv(n)}query(n,e,i){return GE(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,r,s=[]){const l={duration:i,delay:o,fill:0==o?"both":"forwards"};r&&(l.easing=r);const c=new Map,h=s.filter(b=>b instanceof mA);(function Sie(t,n){return 0===t||0===n})(i,o)&&h.forEach(b=>{b.currentSnapshot.forEach((C,w)=>c.set(w,C))});let g=function bie(t){return t.length?t[0]instanceof Map?t:t.map(n=>KE(n)):[]}(e).map(b=>gr(b));g=function Mie(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((r,s)=>{i.has(s)||o.push(s),i.set(s,r)}),o.length)for(let r=1;r<n.length;r++){let s=n[r];o.forEach(a=>s.set(a,eA(t,a)))}}return n}(n,g,c);const v=function _oe(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=Sv(n[0]),n.length>1&&(i=Sv(n[n.length-1]))):n instanceof Map&&(e=Sv(n)),e||i?new voe(t,e,i):null}(n,g);return new mA(n,g,l,v)}}let Coe=(()=>{class t extends LS{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:vi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?VS(e):e;return gA(this._renderer,null,i,"register",[o]),new woe(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(T(sl),T(pe))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();class woe extends class vH{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new Doe(this._id,n,e||{},this._renderer)}}class Doe{constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return gA(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){var n,e;return null!==(n=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==n?n:0}}function gA(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const _A="@.disabled";let Soe=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(r,s)=>{const a=s?.parentNode(r);a&&s.removeChild(a,r)}}createRenderer(e,i){const r=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let h=this._rendererCache.get(r);return h||(h=new vA("",r,this.engine,()=>this._rendererCache.delete(r)),this._rendererCache.set(r,h)),h}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=h=>{Array.isArray(h)?h.forEach(l):this.engine.registerTrigger(s,a,e,h.name,h)};return i.data.animation.forEach(l),new Moe(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&e<this._microtaskId?this._zone.run(()=>i(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[s,a]=r;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(T(sl),T(jh),T(ne))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})();class vA{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?r=>e.destroyNode(r):null}get data(){return this.delegate.data}destroy(){var n;this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),null===(n=this._onDestroy)||void 0===n||n.call(this)}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==_A?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class Moe extends vA{constructor(n,e,i,o,r){super(e,i,o,r),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==_A?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function Toe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let r=e.slice(1),s="";return"@"!=r.charAt(0)&&([r,s]=function xoe(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}const yA=[{provide:LS,useClass:Coe},{provide:vv,useFactory:function Aoe(){return new Yie}},{provide:jh,useClass:(()=>{class t extends jh{constructor(e,i,o,r){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(T(pe),T(av),T(vv),T(la))},t.\u0275prov=V({token:t,factory:t.\u0275fac}),t})()},{provide:sl,useFactory:function Ioe(t,n,e){return new Soe(t,n,e)},deps:[iu,jh,ne]}],Mv=[{provide:av,useFactory:()=>new boe},{provide:Et,useValue:"BrowserAnimations"},...yA],bA=[{provide:av,useClass:WE},{provide:Et,useValue:"NoopAnimations"},...yA];let koe=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?bA:Mv}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t}),t.\u0275inj=se({providers:Mv,imports:[vD]}),t})(),Roe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ae({type:t,bootstrap:[Rne]}),t.\u0275inj=se({imports:[vD,dne,koe,WV,gne,xu,Ane,RT,UT,n7,DE.forRoot({prefix:"RT"})]}),t})();(function XN(){v1=!1})(),DB().bootstrapModule(Roe).catch(t=>console.error(t))},272:function(La){La.exports=function(){"use strict";function ms(X){return null===X?"null":typeof X}function jo(X){return!!X&&"object"==typeof X}function Re(X){if(void 0===X)return"";if(null===X||"object"==typeof X&&!X.constructor)return"Object";var re=/function ([^(]*)/.exec(X.constructor.toString());return re&&re.length>1?re[1]:""}function gs(X,re,De){return"null"===X||"undefined"===X?X:("string"!==X&&"stringifiable"!==X||(De='"'+De.replace(/"/g,'\\"')+'"'),"function"===X?re.toString().replace(/[\r\n]/g,"").replace(/\{.*\}/,"")+"{\u2026}":De)}function _s(X){var re="";return jo(X)?(re=Re(X),Array.isArray(X)&&(re+="["+X.length+"]")):re=gs(ms(X),X,X),re}function Vt(X){return"json-formatter-"+X}function ye(X,re,De){var _t=document.createElement(X);return re&&_t.classList.add(Vt(re)),void 0!==De&&(De instanceof Node?_t.appendChild(De):_t.appendChild(document.createTextNode(String(De)))),_t}!function(X){if(typeof window<"u"){var re=document.createElement("style");re.setAttribute("media","screen"),re.innerHTML=X,document.head.appendChild(re)}}('.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: "No properties";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: "[]";\n}\n.json-formatter-row .json-formatter-string,\n.json-formatter-row .json-formatter-stringifiable {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler-link {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: "\u25ba";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: "No properties";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: "[]";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string,\n.json-formatter-dark.json-formatter-row .json-formatter-stringifiable {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler-link {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: "\u25ba";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n');var Tc=/(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[012])\d:[0-5])\d\s*[ap]m)?$/,xc=/\d{2}:\d{2}:\d{2} GMT-\d{4}/,Ec=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,ei=window.requestAnimationFrame||function(X){return X(),0},Ri={hoverPreviewEnabled:!1,hoverPreviewArrayCount:100,hoverPreviewFieldCount:5,animateOpen:!0,animateClose:!0,theme:null,useToJSON:!0,sortPropertiesBy:null};return function(){function X(re,De,_t,gn){void 0===De&&(De=1),void 0===_t&&(_t=Ri),this.json=re,this.open=De,this.config=_t,this.key=gn,this._isOpen=null,void 0===this.config.hoverPreviewEnabled&&(this.config.hoverPreviewEnabled=Ri.hoverPreviewEnabled),void 0===this.config.hoverPreviewArrayCount&&(this.config.hoverPreviewArrayCount=Ri.hoverPreviewArrayCount),void 0===this.config.hoverPreviewFieldCount&&(this.config.hoverPreviewFieldCount=Ri.hoverPreviewFieldCount),void 0===this.config.useToJSON&&(this.config.useToJSON=Ri.useToJSON),""===this.key&&(this.key='""')}return Object.defineProperty(X.prototype,"isOpen",{get:function(){return null!==this._isOpen?this._isOpen:this.open>0},set:function(re){this._isOpen=re},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isDate",{get:function(){return this.json instanceof Date||"string"===this.type&&(Tc.test(this.json)||Ec.test(this.json)||xc.test(this.json))},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isUrl",{get:function(){return"string"===this.type&&0===this.json.indexOf("http")},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isArray",{get:function(){return Array.isArray(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isObject",{get:function(){return jo(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isEmptyObject",{get:function(){return!this.keys.length&&!this.isArray},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"isEmpty",{get:function(){return this.isEmptyObject||this.keys&&!this.keys.length&&this.isArray},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"useToJSON",{get:function(){return this.config.useToJSON&&"stringifiable"===this.type},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"hasKey",{get:function(){return void 0!==this.key},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"constructorName",{get:function(){return Re(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"type",{get:function(){return this.config.useToJSON&&this.json&&this.json.toJSON?"stringifiable":ms(this.json)},enumerable:!0,configurable:!0}),Object.defineProperty(X.prototype,"keys",{get:function(){if(this.isObject){var re=Object.keys(this.json);return!this.isArray&&this.config.sortPropertiesBy?re.sort(this.config.sortPropertiesBy):re}return[]},enumerable:!0,configurable:!0}),X.prototype.toggleOpen=function(){this.isOpen=!this.isOpen,this.element&&(this.isOpen?this.appendChildren(this.config.animateOpen):this.removeChildren(this.config.animateClose),this.element.classList.toggle(Vt("open")))},X.prototype.openAtDepth=function(re){void 0===re&&(re=1),re<0||(this.open=re,this.isOpen=0!==re,this.element&&(this.removeChildren(!1),0===re?this.element.classList.remove(Vt("open")):(this.appendChildren(this.config.animateOpen),this.element.classList.add(Vt("open")))))},X.prototype.getInlinepreview=function(){var re=this;if(this.isArray)return this.json.length>this.config.hoverPreviewArrayCount?"Array["+this.json.length+"]":"["+this.json.map(_s).join(", ")+"]";var De=this.keys,_t=De.slice(0,this.config.hoverPreviewFieldCount).map(function(_n){return _n+":"+_s(re.json[_n])}),gn=De.length>=this.config.hoverPreviewFieldCount?"\u2026":"";return"{"+_t.join(", ")+gn+"}"},X.prototype.render=function(){this.element=ye("div","row");var re=this.isObject?ye("a","toggler-link"):ye("span");if(this.isObject&&!this.useToJSON&&re.appendChild(ye("span","toggler")),this.hasKey&&re.appendChild(ye("span","key",this.key+":")),this.isObject&&!this.useToJSON){var De=ye("span","value"),_t=ye("span"),gn=ye("span","constructor-name",this.constructorName);if(_t.appendChild(gn),this.isArray){var _n=ye("span");_n.appendChild(ye("span","bracket","[")),_n.appendChild(ye("span","number",this.json.length)),_n.appendChild(ye("span","bracket","]")),_t.appendChild(_n)}De.appendChild(_t),re.appendChild(De)}else{(De=ye(this.isUrl?"a":"span")).classList.add(Vt(this.type)),this.isDate&&De.classList.add(Vt("date")),this.isUrl&&(De.classList.add(Vt("url")),De.setAttribute("href",this.json));var vn=gs(this.type,this.json,this.useToJSON?this.json.toJSON():this.json);De.appendChild(document.createTextNode(vn)),re.appendChild(De)}if(this.isObject&&this.config.hoverPreviewEnabled){var gi=ye("span","preview-text");gi.appendChild(document.createTextNode(this.getInlinepreview())),re.appendChild(gi)}var vs=ye("div","children");return this.isObject&&vs.classList.add(Vt("object")),this.isArray&&vs.classList.add(Vt("array")),this.isEmpty&&vs.classList.add(Vt("empty")),this.config&&this.config.theme&&this.element.classList.add(Vt(this.config.theme)),this.isOpen&&this.element.classList.add(Vt("open")),this.element.appendChild(re),this.element.appendChild(vs),this.isObject&&this.isOpen&&this.appendChildren(),this.isObject&&!this.useToJSON&&re.addEventListener("click",this.toggleOpen.bind(this)),this.element},X.prototype.appendChildren=function(re){var De=this;void 0===re&&(re=!1);var _t=this.element.querySelector("div."+Vt("children"));if(_t&&!this.isEmpty)if(re){var gn=0,_n=function(){var vn=De.keys[gn],gi=new X(De.json[vn],De.open-1,De.config,vn);_t.appendChild(gi.render()),(gn+=1)<De.keys.length&&(gn>10?_n():ei(_n))};ei(_n)}else this.keys.forEach(function(vn){var gi=new X(De.json[vn],De.open-1,De.config,vn);_t.appendChild(gi.render())})},X.prototype.removeChildren=function(re){void 0===re&&(re=!1);var De=this.element.querySelector("div."+Vt("children"));if(re){var _t=0,gn=function(){De&&De.children.length&&(De.removeChild(De.children[0]),(_t+=1)>10?gn():ei(gn))};ei(gn)}else De&&(De.innerHTML="")},X}()}()}},La=>{La(La.s=435)}]);