"use strict";(self.webpackChunkimage_list=self.webpackChunkimage_list||[]).push([[429],{932:()=>{}},e=>{e(e.s=932)}]);(()=>{"use strict";var e,v={},_={};function n(e){var f=_[e];if(void 0!==f)return f.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(f,r,o,l)=>{if(!r){var i=1/0;for(a=0;a<e.length;a++){for(var[r,o,l]=e[a],t=!0,s=0;s<r.length;s++)(!1&l||i>=l)&&Object.keys(n.O).every(p=>n.O[p](r[s]))?r.splice(s--,1):(t=!1,l<i&&(i=l));if(t){e.splice(a--,1);var u=o();void 0!==u&&(f=u)}}return f}l=l||0;for(var a=e.length;a>0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,o,l]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={666:0};n.O.j=o=>0===e[o];var f=(o,l)=>{var s,u,[a,i,t]=l,c=0;if(a.some(h=>0!==e[h])){for(s in i)n.o(i,s)&&(n.m[s]=i[s]);if(t)var d=t(n)}for(o&&o(l);c<a.length;c++)n.o(e,u=a[c])&&e[u]&&e[u][0](),e[u]=0;return n.O(d)},r=self.webpackChunkimage_list=self.webpackChunkimage_list||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkimage_list=self.webpackChunkimage_list||[]).push([[179],{521:()=>{function X(e){return"function"==typeof e}function Xo(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Ko=Xo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Jn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Xe{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const r of n)r.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(X(i))try{i()}catch(r){t=r instanceof Ko?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{pd(r)}catch(s){t=t??[],s instanceof Ko?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ko(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pd(t);else{if(t instanceof Xe){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Jn(n,t)}remove(t){const{_finalizers:n}=this;n&&Jn(n,t),t instanceof Xe&&t._removeParent(this)}}Xe.EMPTY=(()=>{const e=new Xe;return e.closed=!0,e})();const fd=Xe.EMPTY;function hd(e){return e instanceof Xe||e&&"closed"in e&&X(e.remove)&&X(e.add)&&X(e.unsubscribe)}function pd(e){X(e)?e():e.unsubscribe()}const Tn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qo={setTimeout(e,t,...n){const{delegate:i}=Qo;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Qo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function gd(e){Qo.setTimeout(()=>{const{onUnhandledError:t}=Tn;if(!t)throw e;t(e)})}function Xs(){}const tC=Ks("C",void 0,void 0);function Ks(e,t,n){return{kind:e,value:t,error:n}}let An=null;function Jo(e){if(Tn.useDeprecatedSynchronousErrorHandling){const t=!An;if(t&&(An={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=An;if(An=null,n)throw i}}else e()}class Qs extends Xe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,hd(t)&&t.add(this)):this.destination=lC}static create(t,n,i){return new qi(t,n,i)}next(t){this.isStopped?ea(function iC(e){return Ks("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?ea(function nC(e){return Ks("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ea(tC,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const rC=Function.prototype.bind;function Js(e,t){return rC.call(e,t)}class sC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){er(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){er(i)}else er(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){er(n)}}}class qi extends Qs{constructor(t,n,i){let o;if(super(),X(t)||!t)o={next:t??void 0,error:n??void 0,complete:i??void 0};else{let r;this&&Tn.useDeprecatedNextContext?(r=Object.create(t),r.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Js(t.next,r),error:t.error&&Js(t.error,r),complete:t.complete&&Js(t.complete,r)}):o=t}this.destination=new sC(o)}}function er(e){Tn.useDeprecatedSynchronousErrorHandling?function oC(e){Tn.useDeprecatedSynchronousErrorHandling&&An&&(An.errorThrown=!0,An.error=e)}(e):gd(e)}function ea(e,t){const{onStoppedNotification:n}=Tn;n&&Qo.setTimeout(()=>n(e,t))}const lC={closed:!0,next:Xs,error:function aC(e){throw e},complete:Xs},ta="function"==typeof Symbol&&Symbol.observable||"@@observable";function md(e){return e}let Fe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,o){const r=function uC(e){return e&&e instanceof Qs||function cC(e){return e&&X(e.next)&&X(e.error)&&X(e.complete)}(e)&&hd(e)}(n)?n:new qi(n,i,o);return Jo(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=yd(i))((o,r)=>{const s=new qi({next:a=>{try{n(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[ta](){return this}pipe(...n){return function _d(e){return 0===e.length?md:1===e.length?e[0]:function(n){return e.reduce((i,o)=>o(i),n)}}(n)(this)}toPromise(n){return new(n=yd(n))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=t=>new e(t),e})();function yd(e){var t;return null!==(t=e??Tn.Promise)&&void 0!==t?t:Promise}const dC=Xo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let it=(()=>{class e extends Fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new vd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new dC}next(n){Jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){Jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:o,observers:r}=this;return i||o?fd:(this.currentObservers=null,r.push(n),new Xe(()=>{this.currentObservers=null,Jn(r,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:o,isStopped:r}=this;i?n.error(o):r&&n.complete()}asObservable(){const n=new Fe;return n.source=this,n}}return e.create=(t,n)=>new vd(t,n),e})();class vd extends it{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:fd}}function Bt(e){return t=>{if(function fC(e){return X(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function pt(e,t,n,i,o){return new hC(e,t,n,i,o)}class hC extends Qs{constructor(t,n,i,o,r,s){super(t),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function ei(e,t){return Bt((n,i)=>{let o=0;n.subscribe(pt(i,r=>{i.next(e.call(t,r,o++))}))})}function dn(e){return this instanceof dn?(this.v=e,this):new dn(e)}function wd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=n.apply(e,t||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){i[f]&&(o[f]=function(h){return new Promise(function(p,m){r.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof dn?Promise.resolve(f.value.v).then(c,u):d(r[0][2],f)}(i[f](h))}catch(p){d(r[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),r.shift(),r.length&&a(r[0][0],r[0][1])}}function Ed(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function ra(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(r){n[r]=e[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=e[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const sa=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function bd(e){return X(e?.then)}function Sd(e){return X(e[ta])}function Md(e){return Symbol.asyncIterator&&X(e?.[Symbol.asyncIterator])}function Id(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const xd=function kC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Td(e){return X(e?.[xd])}function Ad(e){return wd(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:o}=yield dn(n.read());if(o)return yield dn(void 0);yield yield dn(i)}}finally{n.releaseLock()}})}function Fd(e){return X(e?.getReader)}function gt(e){if(e instanceof Fe)return e;if(null!=e){if(Sd(e))return function NC(e){return new Fe(t=>{const n=e[ta]();if(X(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(sa(e))return function VC(e){return new Fe(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(bd(e))return function LC(e){return new Fe(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,gd)})}(e);if(Md(e))return Od(e);if(Td(e))return function BC(e){return new Fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Fd(e))return function jC(e){return Od(Ad(e))}(e)}throw Id(e)}function Od(e){return new Fe(t=>{(function HC(e,t){var n,i,o,r;return function Cd(e,t,n,i){return new(n||(n=Promise))(function(r,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?r(u.value):function o(r){return r instanceof n?r:new n(function(s){s(r)})}(u.value).then(a,l)}c((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Ed(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function fn(e,t,n,i=0,o=!1){const r=t.schedule(function(){n(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function aa(e,t,n=1/0){return X(t)?aa((i,o)=>ei((r,s)=>t(i,r,o,s))(gt(e(i,o))),n):("number"==typeof t&&(n=t),Bt((i,o)=>function $C(e,t,n,i,o,r,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=m=>c<i?p(m):l.push(m),p=m=>{r&&t.next(m),c++;let y=!1;gt(n(m,u++)).subscribe(pt(t,C=>{o?.(C),r?h(C):t.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&c<i;){const C=l.shift();s?fn(t,s,()=>p(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(pt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,o,e,n)))}const la=new Fe(e=>e.complete());function Rd(e){return e&&X(e.schedule)}function ca(e){return e[e.length-1]}function Pd(e){return Rd(ca(e))?e.pop():void 0}function kd(e,t=0){return Bt((n,i)=>{n.subscribe(pt(i,o=>fn(i,e,()=>i.next(o),t),()=>fn(i,e,()=>i.complete(),t),o=>fn(i,e,()=>i.error(o),t)))})}function Nd(e,t=0){return Bt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Vd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fe(n=>{fn(n,t,()=>{const i=e[Symbol.asyncIterator]();fn(n,t,()=>{i.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function ua(e,t){return t?function QC(e,t){if(null!=e){if(Sd(e))return function qC(e,t){return gt(e).pipe(Nd(t),kd(t))}(e,t);if(sa(e))return function ZC(e,t){return new Fe(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(bd(e))return function YC(e,t){return gt(e).pipe(Nd(t),kd(t))}(e,t);if(Md(e))return Vd(e,t);if(Td(e))return function XC(e,t){return new Fe(n=>{let i;return fn(n,t,()=>{i=e[xd](),fn(n,t,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void n.error(s)}r?n.complete():n.next(o)},0,!0)}),()=>X(i?.return)&&i.return()})}(e,t);if(Fd(e))return function KC(e,t){return Vd(Ad(e),t)}(e,t)}throw Id(e)}(e,t):gt(e)}function da(...e){const t=Pd(e),n=function WC(e,t){return"number"==typeof ca(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?gt(i[0]):function UC(e=1/0){return aa(md,e)}(n)(ua(i,t)):la}function fa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new qi({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function ne(e){for(let t in e)if(e[t]===ne)return t;throw Error("Could not find renamed property on target object.")}function ha(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ie).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function pa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const eD=ne({__forward_ref__:ne});function W(e){return e.__forward_ref__=W,e.toString=function(){return ie(this())},e}function T(e){return ga(e)?e():e}function ga(e){return"function"==typeof e&&e.hasOwnProperty(eD)&&e.__forward_ref__===W}class S extends Error{constructor(t,n){super(function tr(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function nr(e,t){throw new S(-201,!1)}function rt(e,t){null==e&&function K(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function me(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return Ld(e,or)||Ld(e,jd)}function Ld(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bd(e){return e&&(e.hasOwnProperty(ma)||e.hasOwnProperty(lD))?e[ma]:null}const or=ne({\u0275prov:ne}),ma=ne({\u0275inj:ne}),jd=ne({ngInjectableDef:ne}),lD=ne({ngInjectorDef:ne});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let _a;function mt(e){const t=_a;return _a=e,t}function Hd(e,t,n){const i=ir(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&F.Optional?null:void 0!==t?t:void nr(ie(e))}function hn(e){return{toString:e}.toString()}var St=(()=>((St=St||{})[St.OnPush=0]="OnPush",St[St.Default=1]="Default",St))(),jt=(()=>{return(e=jt||(jt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",jt;var e})();const oe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ti={},Z=[],rr=ne({\u0275cmp:ne}),ya=ne({\u0275dir:ne}),va=ne({\u0275pipe:ne}),$d=ne({\u0275mod:ne}),Jt=ne({\u0275fac:ne}),Yi=ne({__NG_ELEMENT_ID__:ne});let uD=0;function Pe(e){return hn(()=>{const n=!0===e.standalone,i={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===St.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||jt.Emulated,id:"c"+uD++,styles:e.styles||Z,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.dependencies,s=e.features;return o.inputs=Gd(e.inputs,i),o.outputs=Gd(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=r?()=>("function"==typeof r?r():r).map(Ud).filter(zd):null,o.pipeDefs=r?()=>("function"==typeof r?r():r).map($e).filter(zd):null,o})}function Ud(e){return ee(e)||He(e)}function zd(e){return null!==e}function Ce(e){return hn(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Gd(e,t){if(null==e)return ti;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),n[o]=i,t&&(t[o]=r)}return n}const O=Pe;function ee(e){return e[rr]||null}function He(e){return e[ya]||null}function $e(e){return e[va]||null}const L=11;function Qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function It(e){return Array.isArray(e)&&!0===e[1]}function wa(e){return 0!=(8&e.flags)}function cr(e){return 2==(2&e.flags)}function ur(e){return 1==(1&e.flags)}function xt(e){return null!==e.template}function mD(e){return 0!=(256&e[2])}function kn(e,t){return e.hasOwnProperty(Jt)?e[Jt]:null}class Yd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function yt(){return Zd}function Zd(e){return e.type.prototype.ngOnChanges&&(e.setInput=CD),vD}function vD(){const e=Kd(this),t=e?.current;if(t){const n=e.previous;if(n===ti)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function CD(e,t,n,i){const o=Kd(e)||function DD(e,t){return e[Xd]=t}(e,{previous:ti,current:null}),r=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];r[a]=new Yd(l&&l.currentValue,t,s===ti),e[i]=t}yt.ngInherit=!0;const Xd="__ngSimpleChanges__";function Kd(e){return e[Xd]||null}function De(e){for(;Array.isArray(e);)e=e[0];return e}function dr(e,t){return De(t[e])}function lt(e,t){return De(t[e.index])}function Ia(e,t){return e.data[t]}function ct(e,t){const n=t[e];return Qe(n)?n:n[0]}function fr(e){return 64==(64&e[2])}function pn(e,t){return null==t?null:e[t]}function Qd(e){e[18]=0}function xa(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const R={lFrame:uf(null),bindingsEnabled:!0};function ef(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function U(){return R.lFrame.tView}function Ie(){let e=tf();for(;null!==e&&64===e.type;)e=e.parent;return e}function tf(){return R.lFrame.currentTNode}function Ht(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function Fa(){return R.lFrame.isParent}function Oa(){R.lFrame.isParent=!1}function si(){return R.lFrame.bindingIndex++}function tn(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ND(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ra(t)}function Ra(e){R.lFrame.currentDirectiveIndex=e}function af(){return R.lFrame.currentQueryIndex}function ka(e){R.lFrame.currentQueryIndex=e}function LD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function lf(e,t,n){if(n&F.SkipSelf){let o=t,r=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=LD(r),null===o||(r=r[15],10&o.type))););if(null===o)return!1;t=o,e=r}const i=R.lFrame=cf();return i.currentTNode=t,i.lView=e,!0}function Na(e){const t=cf(),n=e[1];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function cf(){const e=R.lFrame,t=null===e?null:e.child;return null===t?uf(e):t}function uf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function df(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ff=df;function Va(){const e=df();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ze(){return R.lFrame.selectedIndex}function gn(e){R.lFrame.selectedIndex=e}function de(){const e=R.lFrame;return Ia(e.tView,e.selectedIndex)}function hr(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const r=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks||(e.viewHooks=[])).push(n,c),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,c)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function pr(e,t,n){pf(e,t,3,n)}function gr(e,t,n,i){(3&e[2])===n&&pf(e,t,n,i)}function La(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pf(e,t,n,i){const r=i??-1,s=t.length-1;let a=0;for(let l=void 0!==i?65535&e[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(e[18]+=65536),(a<r||-1==r)&&(WD(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function WD(e,t,n,i){const o=n[i]<0,r=n[i+1],a=e[o?-n[i]:n[i]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{r.call(a)}finally{}}}else try{r.call(a)}finally{}}class to{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function mr(e,t,n){let i=0;for(;i<n.length;){const o=n[i];if("number"==typeof o){if(0!==o)break;i++;const r=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,r)}else{const r=o,s=n[++i];mf(r)?e.setProperty(t,r,s):e.setAttribute(t,r,s),i++}}return i}function gf(e){return 3===e||4===e||6===e}function mf(e){return 64===e.charCodeAt(0)}function _r(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?n=o:0===n||_f(e,n,o,null,-1===n||2===n?t[++i]:null)}}return e}function _f(e,t,n,i,o){let r=0,s=e.length;if(-1===t)s=-1;else for(;r<e.length;){const a=e[r++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=r-1;break}}}for(;r<e.length;){const a=e[r];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==o&&(e[r+1]=o));if(i===e[r+1])return void(e[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(e.splice(s,0,t),r=s+1),e.splice(r++,0,n),null!==i&&e.splice(r++,0,i),null!==o&&e.splice(r++,0,o)}function yf(e){return-1!==e}function ai(e){return 32767&e}function li(e,t){let n=function KD(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let ja=!0;function yr(e){const t=ja;return ja=e,t}let QD=0;const $t={};function io(e,t){const n=$a(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ha(i.data,e),Ha(t,null),Ha(i.blueprint,null));const o=vr(e,t),r=e.injectorIndex;if(yf(o)){const s=ai(o),a=li(o,t),l=a[1].data;for(let c=0;c<8;c++)t[r+c]=a[s+c]|l[s+c]}return t[r+8]=o,r}function Ha(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $a(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function vr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=If(o),null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Cr(e,t,n){!function JD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Yi)&&(i=n[Yi]),null==i&&(i=n[Yi]=QD++);const o=255&i;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Df(e,t,n){if(n&F.Optional||void 0!==e)return e;nr()}function wf(e,t,n,i){if(n&F.Optional&&void 0===i&&(i=null),0==(n&(F.Self|F.Host))){const o=e[9],r=mt(void 0);try{return o?o.get(t,i,n&F.Optional):Hd(t,i,n&F.Optional)}finally{mt(r)}}return Df(i,0,n)}function Ef(e,t,n,i=F.Default,o){if(null!==e){if(1024&t[2]){const s=function ow(e,t,n,i,o){let r=e,s=t;for(;null!==r&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=bf(r,s,n,i|F.Self,$t);if(a!==$t)return a;let l=r.parent;if(!l){const c=s[21];if(c){const u=c.get(n,$t,i);if(u!==$t)return u}l=If(s),s=s[15]}r=l}return o}(e,t,n,i,$t);if(s!==$t)return s}const r=bf(e,t,n,i,$t);if(r!==$t)return r}return wf(t,n,i,o)}function bf(e,t,n,i,o){const r=function nw(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Yi)?e[Yi]:void 0;return"number"==typeof t?t>=0?255&t:iw:t}(n);if("function"==typeof r){if(!lf(t,e,i))return i&F.Host?Df(o,0,i):wf(t,n,i,o);try{const s=r(i);if(null!=s||i&F.Optional)return s;nr()}finally{ff()}}else if("number"==typeof r){let s=null,a=$a(e,t),l=-1,c=i&F.Host?t[16][6]:null;for((-1===a||i&F.SkipSelf)&&(l=-1===a?vr(e,t):t[a+8],-1!==l&&Mf(i,!1)?(s=t[1],a=ai(l),t=li(l,t)):a=-1);-1!==a;){const u=t[1];if(Sf(r,a,u.data)){const d=tw(a,t,n,s,i,c);if(d!==$t)return d}l=t[a+8],-1!==l&&Mf(i,t[1].data[a+8]===c)&&Sf(r,a,t)?(s=u,a=ai(l),t=li(l,t)):a=-1}}return o}function tw(e,t,n,i,o,r){const s=t[1],a=s.data[e+8],u=Dr(a,s,n,null==i?cr(a)&&ja:i!=s&&0!=(3&a.type),o&F.Host&&r===a);return null!==u?oo(t,s,u,a):$t}function Dr(e,t,n,i,o){const r=e.providerIndexes,s=t.data,a=1048575&r,l=e.directiveStart,u=r>>20,f=o?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(o){const h=s[l];if(h&&xt(h)&&h.type===n)return l}return null}function oo(e,t,n,i){let o=e[n];const r=t.data;if(function qD(e){return e instanceof to}(o)){const s=o;s.resolving&&function tD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(r[n]));const a=yr(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?mt(s.injectImpl):null;lf(e,i,F.Default);try{o=e[n]=s.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function GD(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const s=Zd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{null!==l&&mt(l),yr(a),s.resolving=!1,ff()}}return o}function Sf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Mf(e,t){return!(e&F.Self||e&F.Host&&t)}class ci{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return Ef(this._tNode,this._lView,t,i,n)}}function iw(){return new ci(Ie(),v())}function Ua(e){return ga(e)?()=>{const t=Ua(T(e));return t&&t()}:kn(e)}function If(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const di="__parameters__";function hi(e,t,n){return hn(()=>{const i=function Ga(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);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,u){const d=l.hasOwnProperty(di)?l[di]:Object.defineProperty(l,di,{value:[]})[di];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class A{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ut(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ut(i,t)):t!==e&&t.push(i)}return t}function nn(e,t){e.forEach(n=>Array.isArray(n)?nn(n,t):t(n))}function Tf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ao(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function dt(e,t,n){let i=pi(e,t);return i>=0?e[1|i]=n:(i=~i,function lw(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function qa(e,t){const n=pi(e,t);if(n>=0)return e[1|n]}function pi(e,t){return function Of(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const r=i+(o-i>>1),s=e[r<<n];if(t===s)return r<<n;s>t?o=r:i=r+1}return~(o<<n)}(e,t,1)}const lo={},Za="__NG_DI_FLAG__",br="ngTempTokenPath",mw=/\n/gm,Rf="__source";let co;function gi(e){const t=co;return co=e,t}function yw(e,t=F.Default){if(void 0===co)throw new S(-203,!1);return null===co?Hd(e,void 0,t):co.get(e,t&F.Optional?null:void 0,t)}function w(e,t=F.Default){return(function cD(){return _a}()||yw)(T(e),t)}function Sr(e,t=F.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),w(e,t)}function Xa(e){const t=[];for(let n=0;n<e.length;n++){const i=T(e[n]);if(Array.isArray(i)){if(0===i.length)throw new S(900,!1);let o,r=F.Default;for(let s=0;s<i.length;s++){const a=i[s],l=vw(a);"number"==typeof l?-1===l?o=a.token:r|=l:o=a}t.push(w(o,r))}else t.push(w(i))}return t}function uo(e,t){return e[Za]=t,e.prototype[Za]=t,e}function vw(e){return e[Za]}const Mr=uo(hi("Optional"),8),Ir=uo(hi("SkipSelf"),4);var Je=(()=>((Je=Je||{})[Je.Important=1]="Important",Je[Je.DashCase=2]="DashCase",Je))();const tl=new Map;let Vw=0;const il="__ngContext__";function Ve(e,t){Qe(t)?(e[il]=t[20],function Bw(e){tl.set(e[20],e)}(t)):e[il]=t}function rl(e,t){return undefined(e,t)}function go(e){const t=e[3];return It(t)?t[3]:t}function sl(e){return eh(e[13])}function al(e){return eh(e[4])}function eh(e){for(;null!==e&&!It(e);)e=e[4];return e}function _i(e,t,n,i,o){if(null!=i){let r,s=!1;It(i)?r=i:Qe(i)&&(s=!0,i=i[0]);const a=De(i);0===e&&null!==n?null==o?sh(t,n,a):Nn(t,n,a,o||null,!0):1===e&&null!==n?Nn(t,n,a,o||null,!0):2===e?function pl(e,t,n){const i=Ar(e,t);i&&function aE(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=r&&function uE(e,t,n,i,o){const r=n[7];r!==De(n)&&_i(t,e,i,r,o);for(let a=10;a<n.length;a++){const l=n[a];mo(l[1],l,e,t,i,r)}}(t,e,r,n,o)}}function cl(e,t,n){return e.createElement(t,n)}function nh(e,t){const n=e[9],i=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,xa(o,-1)),n.splice(i,1)}function ul(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const o=i[17];null!==o&&o!==e&&nh(o,i),t>0&&(e[n-1][4]=i[4]);const r=wr(e,10+t);!function Jw(e,t){mo(e,t,t[L],2,null,null),t[0]=null,t[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 ih(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&mo(e,t,n,3,null,null),function nE(e){let t=e[13];if(!t)return dl(e[1],e);for(;t;){let n=null;if(Qe(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Qe(t)&&dl(t[1],t),t=t[3];null===t&&(t=e),Qe(t)&&dl(t[1],t),n=t&&t[4]}t=n}}(t)}}function dl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function sE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const o=t[n[i]];if(!(o instanceof to)){const r=n[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{}}}}(e,t),function rE(e,t){const n=e.cleanup,i=t[7];let o=-1;if(null!==n)for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const s=n[r+1],a="function"==typeof s?s(t):De(t[s]),l=i[o=n[r+2]],c=n[r+3];"boolean"==typeof c?a.removeEventListener(n[r],l,c):c>=0?i[o=c]():i[o=-c].unsubscribe(),r+=2}else{const s=i[o=n[r+1]];n[r].call(s)}if(null!==i){for(let r=o+1;r<i.length;r++)(0,i[r])();t[7]=null}}(e,t),1===t[1].type&&t[L].destroy();const n=t[17];if(null!==n&&It(t[3])){n!==t[3]&&nh(n,t);const i=t[19];null!==i&&i.detachView(e)}!function jw(e){tl.delete(e[20])}(t)}}function oh(e,t,n){return function rh(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const o=e.data[i.directiveStart].encapsulation;if(o===jt.None||o===jt.Emulated)return null}return lt(i,n)}(e,t.parent,n)}function Nn(e,t,n,i,o){e.insertBefore(t,n,i,o)}function sh(e,t,n){e.appendChild(t,n)}function ah(e,t,n,i,o){null!==i?Nn(e,t,n,i,o):sh(e,t,n)}function Ar(e,t){return e.parentNode(t)}function lh(e,t,n){return uh(e,t,n)}let yl,uh=function ch(e,t,n){return 40&e.type?lt(e,n):null};function Fr(e,t,n,i){const o=oh(e,i,t),r=t[L],a=lh(i.parent||t[6],i,t);if(null!=o)if(Array.isArray(n))for(let l=0;l<n.length;l++)ah(r,o,n[l],a,!1);else ah(r,o,n,a,!1)}function Or(e,t){if(null!==t){const n=t.type;if(3&n)return lt(t,e);if(4&n)return hl(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Or(e,i);{const o=e[t.index];return It(o)?hl(-1,o):De(o)}}if(32&n)return rl(t,e)()||De(e[t.index]);{const i=fh(e,t);return null!==i?Array.isArray(i)?i[0]:Or(go(e[16]),i):Or(e,t.next)}}return null}function fh(e,t){return null!==t?e[16][6].projection[t.projection]:null}function hl(e,t){const n=10+e+1;if(n<t.length){const i=t[n],o=i[1].firstChild;if(null!==o)return Or(i,o)}return t[7]}function gl(e,t,n,i,o,r,s){for(;null!=n;){const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Ve(De(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)gl(e,t,n.child,i,o,r,!1),_i(t,e,o,a,r);else if(32&l){const c=rl(n,i);let u;for(;u=c();)_i(t,e,o,u,r);_i(t,e,o,a,r)}else 16&l?hh(e,t,i,n,o,r):_i(t,e,o,a,r);n=s?n.projectionNext:n.next}}function mo(e,t,n,i,o,r){gl(n,i,e.firstChild,t,o,r,!1)}function hh(e,t,n,i,o,r){const s=n[16],l=s[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)_i(t,e,o,l[c],r);else gl(e,t,l,s[3],o,r,!0)}function ph(e,t,n){e.setAttribute(t,"style",n)}function ml(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function _n(e){return e instanceof class vh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}const xh=new A("ENVIRONMENT_INITIALIZER"),Th=new A("INJECTOR",-1),Ah=new A("INJECTOR_DEF_TYPES");class Fh{get(t,n=lo){if(n===lo){const i=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw i.name="NullInjectorError",i}return n}}function BE(...e){return{\u0275providers:Oh(0,e)}}function Oh(e,...t){const n=[],i=new Set;let o;return nn(t,r=>{const s=r;bl(s,n,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Rh(o,n),n}function Rh(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];nn(o,r=>{t.push(r)})}}function bl(e,t,n,i){if(!(e=T(e)))return!1;let o=null,r=Bd(e);const s=!r&&ee(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(r=Bd(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)bl(c,t,n,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{nn(r.imports,u=>{bl(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Rh(c,t)}if(!a){const c=kn(o)||(()=>new o);t.push({provide:o,useFactory:c,deps:Z},{provide:Ah,useValue:o,multi:!0},{provide:xh,useValue:()=>w(o),multi:!0})}const l=r.providers;null==l||a||nn(l,u=>{t.push(u)})}}return o!==e&&void 0!==e.providers}const jE=ne({provide:String,useValue:ne});function Sl(e){return null!==e&&"object"==typeof e&&jE in e}function Ln(e){return"function"==typeof e}const Ml=new A("Set Injector scope."),Nr={},$E={};let Il;function Vr(){return void 0===Il&&(Il=new Fh),Il}class yi{}class Nh extends yi{constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tl(t,s=>this.processProvider(s)),this.records.set(Th,vi(void 0,this)),o.has("environment")&&this.records.set(yi,vi(void 0,this));const r=this.records.get(Ml);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Ah.multi,Z,F.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=gi(this),i=mt(void 0);try{return t()}finally{gi(n),mt(i)}}get(t,n=lo,i=F.Default){this.assertNotDestroyed();const o=gi(this),r=mt(void 0);try{if(!(i&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function qE(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(t)&&ir(t);a=l&&this.injectableDefInScope(l)?vi(xl(t),Nr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&F.Self?Vr():this.parent).get(t,n=i&F.Optional&&n===lo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[br]=s[br]||[]).unshift(ie(t)),o)throw s;return function Cw(e,t,n,i){const o=e[br];throw t[Rf]&&o.unshift(t[Rf]),e.message=function Dw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ie(t);if(Array.isArray(t))o=t.map(ie).join(" -> ");else if("object"==typeof t){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):ie(a)))}o=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(mw,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[br]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{mt(r),gi(o)}}resolveInjectorInitializers(){const t=gi(this),n=mt(void 0);try{const i=this.get(xh.multi,Z,F.Self);for(const o of i)o()}finally{gi(t),mt(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(ie(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Ln(t=T(t))?t:T(t&&t.provide);const i=function zE(e){return Sl(e)?vi(void 0,e.useValue):vi(Vh(e),Nr)}(t);if(Ln(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=vi(void 0,Nr,!0),o.factory=()=>Xa(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Nr&&(n.value=$E,n.value=n.factory()),"object"==typeof n.value&&n.value&&function WE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=T(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function xl(e){const t=ir(e),n=null!==t?t.factory:kn(e);if(null!==n)return n;if(e instanceof A)throw new S(204,!1);if(e instanceof Function)return function UE(e){const t=e.length;if(t>0)throw ao(t,"?"),new S(204,!1);const n=function sD(e){const t=e&&(e[or]||e[jd]);if(t){const n=function aD(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" 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 "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new S(204,!1)}function Vh(e,t,n){let i;if(Ln(e)){const o=T(e);return kn(o)||xl(o)}if(Sl(e))i=()=>T(e.useValue);else if(function kh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Xa(e.deps||[]));else if(function Ph(e){return!(!e||!e.useExisting)}(e))i=()=>w(T(e.useExisting));else{const o=T(e&&(e.useClass||e.provide));if(!function GE(e){return!!e.deps}(e))return kn(o)||xl(o);i=()=>new o(...Xa(e.deps))}return i}function vi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function YE(e){return!!e.\u0275providers}function Tl(e,t){for(const n of e)Array.isArray(n)?Tl(n,t):YE(n)?Tl(n.\u0275providers,t):t(n)}class Lh{}class KE{resolveComponentFactory(t){throw function XE(e){const t=Error(`No component factory found for ${ie(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Bn=(()=>{class e{}return e.NULL=new KE,e})();function QE(){return Ci(Ie(),v())}function Ci(e,t){return new Ee(lt(e,t))}let Ee=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=QE,e})();function JE(e){return e instanceof Ee?e.nativeElement:e}class jh{}let jn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function eb(){const e=v(),n=ct(Ie().index,e);return(Qe(n)?n:e)[L]}(),e})(),tb=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class Co{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const nb=new Co("14.3.0"),Al={};function Ol(e){return e.ngOriginalError}class Di{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ol(t);for(;n&&Ol(n);)n=Ol(n);return n||null}}function zh(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}n=o+1}}const Gh="ng-template";function db(e,t,n){let i=0;for(;i<e.length;){let o=e[i++];if(n&&"class"===o){if(o=e[i],-1!==zh(o.toLowerCase(),t,0))return!0}else if(1===o){for(;i<e.length&&"string"==typeof(o=e[i++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Wh(e){return 4===e.type&&e.value!==Gh}function fb(e,t,n){return t===(4!==e.type||n?e.value:Gh)}function hb(e,t,n){let i=4;const o=e.attrs||[],r=function mb(e){for(let t=0;t<e.length;t++)if(gf(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!fb(e,l,n)||""===l&&1===t.length){if(Tt(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!db(e.attrs,c,n)){if(Tt(i))return!1;s=!0}continue}const d=pb(8&i?"class":l,o,Wh(e),n);if(-1===d){if(Tt(i))return!1;s=!0;continue}if(""!==c){let f;f=d>r?"":o[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==zh(h,c,0)||2&i&&c!==f){if(Tt(i))return!1;s=!0}}}}else{if(!s&&!Tt(i)&&!Tt(l))return!1;if(s&&Tt(l))continue;s=!1,i=l|1&i}}return Tt(i)||s}function Tt(e){return 0==(1&e)}function pb(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let r=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function _b(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function qh(e,t,n=!1){for(let i=0;i<t.length;i++)if(hb(e,t[i],n))return!0;return!1}function yb(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function Yh(e,t){return e?":not("+t.trim()+")":t}function vb(e){let t=e[0],n=1,i=2,o="",r=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!Tt(s)&&(t+=Yh(r,o),o=""),i=s,r=r||!Tt(i);n++}return""!==o&&(t+=Yh(r,o)),t}const k={};function H(e){Zh(U(),v(),ze()+e,!1)}function Zh(e,t,n,i){if(!i)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&pr(t,r,n)}else{const r=e.preOrderHooks;null!==r&&gr(t,r,0,n)}gn(n)}function Jh(e,t=null,n=null,i){const o=ep(e,t,n,i);return o.resolveInjectorInitializers(),o}function ep(e,t=null,n=null,i,o=new Set){const r=[n||Z,BE(e)];return i=i||("object"==typeof e?void 0:ie(e)),new Nh(r,t||Vr(),i||null,o)}let Ct=(()=>{class e{static create(n,i){if(Array.isArray(n))return Jh({name:""},i,n,"");{const o=n.name??"";return Jh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=lo,e.NULL=new Fh,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>w(Th)}),e.__NG_ELEMENT_ID__=-1,e})();function g(e,t=F.Default){const n=v();return null===n?w(e,t):Ef(Ie(),n,T(e),t)}function Br(e,t){return e<<17|t<<2}function At(e){return e>>17&32767}function Vl(e){return 2|e}function sn(e){return(131068&e)>>2}function Ll(e,t){return-131069&e|t<<2}function Bl(e){return 1|e}function _p(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const o=n[i],r=n[i+1];if(-1!==r){const s=e.data[r];ka(o),s.contentQueries(2,t[r],r)}}}function $r(e,t,n,i,o,r,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=o,d[2]=76|i,(null!==u||e&&1024&e[2])&&(d[2]|=1024),Qd(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[L]=a||e&&e[L],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=r,d[20]=function Lw(){return Vw++}(),d[21]=u,d[16]=2==t.type?e[16]:d,d}function bi(e,t,n,i,o){let r=e.data[t];if(null===r)r=function ql(e,t,n,i,o){const r=tf(),s=Fa(),l=e.data[t]=function n0(e,t,n,i,o,r){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.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:t,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,n,t,i,o);return null===e.firstChild&&(e.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l)),l}(e,t,n,i,o),function kD(){return R.lFrame.inI18n}()&&(r.flags|=64);else if(64&r.type){r.type=n,r.value=i,r.attrs=o;const s=function eo(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return Ht(r,!0),r}function Si(e,t,n,i){if(0===n)return-1;const o=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return o}function Yl(e,t,n){Na(t);try{const i=e.viewQuery;null!==i&&nc(1,i,n);const o=e.template;null!==o&&yp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&_p(e,t),e.staticViewQueries&&nc(2,e.viewQuery,n);const r=e.components;null!==r&&function Jb(e,t){for(let n=0;n<t.length;n++)v0(e,t[n])}(t,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Va()}}function Ur(e,t,n,i){const o=t[2];if(128!=(128&o)){Na(t);try{Qd(t),function rf(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&yp(e,t,n,2,i);const s=3==(3&o);if(s){const c=e.preOrderCheckHooks;null!==c&&pr(t,c,null)}else{const c=e.preOrderHooks;null!==c&&gr(t,c,0,null),La(t,0)}if(function _0(e){for(let t=sl(e);null!==t;t=al(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const o=n[i],r=o[3];0==(512&o[2])&&xa(r,1),o[2]|=512}}}(t),function m0(e){for(let t=sl(e);null!==t;t=al(t))for(let n=10;n<t.length;n++){const i=t[n],o=i[1];fr(i)&&Ur(o,i,o.template,i[8])}}(t),null!==e.contentQueries&&_p(e,t),s){const c=e.contentCheckHooks;null!==c&&pr(t,c)}else{const c=e.contentHooks;null!==c&&gr(t,c,1),La(t,1)}!function Kb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let i=0;i<n.length;i++){const o=n[i];if(o<0)gn(~o);else{const r=o,s=n[++i],a=n[++i];ND(s,r),a(2,t[r])}}}finally{gn(-1)}}(e,t);const a=e.components;null!==a&&function Qb(e,t){for(let n=0;n<t.length;n++)y0(e,t[n])}(t,a);const l=e.viewQuery;if(null!==l&&nc(2,l,i),s){const c=e.viewCheckHooks;null!==c&&pr(t,c)}else{const c=e.viewHooks;null!==c&&gr(t,c,2),La(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,xa(t[3],-1))}finally{Va()}}}function yp(e,t,n,i,o){const r=ze(),s=2&i;try{gn(-1),s&&t.length>22&&Zh(e,t,22,!1),n(i,o)}finally{gn(r)}}function vp(e,t,n){if(wa(t)){const o=t.directiveEnd;for(let r=t.directiveStart;r<o;r++){const s=e.data[r];s.contentQueries&&s.contentQueries(1,n[r],r)}}}function Zl(e,t,n){!ef()||(function l0(e,t,n,i){const o=n.directiveStart,r=n.directiveEnd;e.firstCreatePass||io(n,t),Ve(i,t);const s=n.initialInputs;for(let a=o;a<r;a++){const l=e.data[a],c=xt(l);c&&h0(t,n,l);const u=oo(t,e,a,n);Ve(u,t),null!==s&&p0(0,a-o,u,l,0,s),c&&(ct(n.index,t)[8]=u)}}(e,t,n,lt(n,t)),128==(128&n.flags)&&function c0(e,t,n){const i=n.directiveStart,o=n.directiveEnd,r=n.index,s=function VD(){return R.lFrame.currentDirectiveIndex}();try{gn(r);for(let a=i;a<o;a++){const l=e.data[a],c=t[a];Ra(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Mp(l,c)}}finally{gn(-1),Ra(s)}}(e,t,n))}function Xl(e,t,n=lt){const i=t.localNames;if(null!==i){let o=t.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Cp(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Kl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Kl(e,t,n,i,o,r,s,a,l,c){const u=22+i,d=u+o,f=function e0(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:k);return n}(u,d),h="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:d,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:h,incompleteFirstPass:!1}}function Dp(e,t,n,i){const o=Fp(t);null===n?o.push(i):(o.push(n),e.firstCreatePass&&Op(e).push(i,o.length-1))}function wp(e,t,n){for(let i in e)if(e.hasOwnProperty(i)){const o=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,o):n[i]=[t,o]}return n}function Ep(e,t){const i=t.directiveEnd,o=e.data,r=t.attrs,s=[];let a=null,l=null;for(let c=t.directiveStart;c<i;c++){const u=o[c],d=u.inputs,f=null===r||Wh(t)?null:g0(d,r);s.push(f),a=wp(d,c,a),l=wp(u.outputs,c,l)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=l}function bp(e,t){const n=ct(t,e);16&n[2]||(n[2]|=32)}function Ql(e,t,n,i){let o=!1;if(ef()){const r=function u0(e,t,n){const i=e.directiveRegistry;let o=null;if(i)for(let r=0;r<i.length;r++){const s=i[r];qh(n,s.selectors,!1)&&(o||(o=[]),Cr(io(n,t),e,s.type),xt(s)?(Ip(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===i?null:{"":-1};if(null!==r){o=!0,xp(n,e.data.length,r.length);for(let u=0;u<r.length;u++){const d=r[u];d.providersResolver&&d.providersResolver(d)}let a=!1,l=!1,c=Si(e,t,r.length,null);for(let u=0;u<r.length;u++){const d=r[u];n.mergedAttrs=_r(n.mergedAttrs,d.hostAttrs),Tp(e,n,t,c,d),f0(c,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),l=!0),c++}Ep(e,n)}s&&function d0(e,t,n){if(t){const i=e.localNames=[];for(let o=0;o<t.length;o+=2){const r=n[t[o+1]];if(null==r)throw new S(-301,!1);i.push(t[o],r)}}}(n,i,s)}return n.mergedAttrs=_r(n.mergedAttrs,n.attrs),o}function Sp(e,t,n,i,o,r){const s=r.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const l=~t.index;(function a0(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(i,o,s)}}function Mp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ip(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function f0(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;xt(t)&&(n[""]=e)}}function xp(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Tp(e,t,n,i,o){e.data[i]=o;const r=o.factory||(o.factory=kn(o.type)),s=new to(r,xt(o),g);e.blueprint[i]=s,n[i]=s,Sp(e,t,0,i,Si(e,n,o.hostVars,k),o)}function h0(e,t,n){const i=lt(t,e),o=Cp(n),r=e[10],s=zr(e,$r(e,o,null,n.onPush?32:16,i,t,r,r.createRenderer(i,n),null,null,null));e[t.index]=s}function Ut(e,t,n,i,o,r){const s=lt(e,t);!function Jl(e,t,n,i,o,r,s){if(null==r)e.removeAttribute(t,o,n);else{const a=null==s?P(r):s(r,i||"",o);e.setAttribute(t,o,a,n)}}(t[L],s,r,e.value,n,i,o)}function p0(e,t,n,i,o,r){const s=r[t];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const c=s[l++],u=s[l++],d=s[l++];null!==a?i.setInput(n,d,c,u):n[u]=d}}}function g0(e,t){let n=null,i=0;for(;i<t.length;){const o=t[i];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[i+1])),i+=2}else i+=2;else i+=4}return n}function Ap(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function y0(e,t){const n=ct(t,e);if(fr(n)){const i=n[1];48&n[2]?Ur(i,n,i.template,n[8]):n[5]>0&&ec(n)}}function ec(e){for(let i=sl(e);null!==i;i=al(i))for(let o=10;o<i.length;o++){const r=i[o];if(fr(r))if(512&r[2]){const s=r[1];Ur(s,r,s.template,r[8])}else r[5]>0&&ec(r)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const o=ct(n[i],e);fr(o)&&o[5]>0&&ec(o)}}function v0(e,t){const n=ct(t,e),i=n[1];(function C0(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(i,n),Yl(i,n,n[8])}function zr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function tc(e){for(;e;){e[2]|=32;const t=go(e);if(mD(e)&&!t)return e;e=t}return null}function Gr(e,t,n,i=!0){const o=t[10];o.begin&&o.begin();try{Ur(e,t,e.template,n)}catch(s){throw i&&Pp(t,s),s}finally{o.end&&o.end()}}function nc(e,t,n){ka(0),t(e,n)}function Fp(e){return e[7]||(e[7]=[])}function Op(e){return e.cleanup||(e.cleanup=[])}function Pp(e,t){const n=e[9],i=n?n.get(Di,null):null;i&&i.handleError(t)}function ic(e,t,n,i,o){for(let r=0;r<n.length;){const s=n[r++],a=n[r++],l=t[s],c=e.data[s];null!==c.setInput?c.setInput(l,o,i,a):l[a]=o}}function Wr(e,t,n){let i=n?e.styles:null,o=n?e.classes:null,r=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?r=a:1==r?o=pa(o,a):2==r&&(i=pa(i,a+": "+t[++s]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=o:e.classesWithoutHost=o}function qr(e,t,n,i,o=!1){for(;null!==n;){const r=t[n.index];if(null!==r&&i.push(De(r)),It(r))for(let a=10;a<r.length;a++){const l=r[a],c=l[1].firstChild;null!==c&&qr(l[1],l,c,i)}const s=n.type;if(8&s)qr(e,t,n.child,i);else if(32&s){const a=rl(n,t);let l;for(;l=a();)i.push(l)}else if(16&s){const a=fh(t,n);if(Array.isArray(a))i.push(...a);else{const l=go(t[16]);qr(l[1],l,a,i,!0)}}n=o?n.projectionNext:n.next}return i}class Do{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return qr(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(It(t)){const n=t[8],i=n?n.indexOf(this):-1;i>-1&&(ul(t,i),wr(n,i))}this._attachedToViewContainer=!1}ih(this._lView[1],this._lView)}onDestroy(t){Dp(this._lView[1],this._lView,null,t)}markForCheck(){tc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Gr(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function tE(e,t){mo(e,t,t[L],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class D0 extends Do{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Gr(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class oc extends Bn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ee(t);return new wo(n,this.ngModule)}}function kp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class E0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const o=this.injector.get(t,Al,i);return o!==Al||n===Al?o:this.parentInjector.get(t,n,i)}}class wo extends Lh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Cb(e){return e.map(vb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return kp(this.componentDef.inputs)}get outputs(){return kp(this.componentDef.outputs)}create(t,n,i,o){let r=(o=o||this.ngModule)instanceof yi?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new E0(t,r):t,a=s.get(jh,null);if(null===a)throw new S(407,!1);const l=s.get(tb,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function t0(e,t,n){return e.selectRootElement(t,n===jt.ShadowDom)}(c,i,this.componentDef.encapsulation):cl(c,u,function w0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=Kl(0,null,null,1,0,null,null,null,null,null),p=$r(null,h,null,f,null,null,a,c,l,s,null);let m,y;Na(p);try{const C=function M0(e,t,n,i,o,r){const s=n[1];n[22]=e;const l=bi(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(Wr(l,c,!0),null!==e&&(mr(o,e,c),null!==l.classes&&ml(o,e,l.classes),null!==l.styles&&ph(o,e,l.styles)));const u=i.createRenderer(e,t),d=$r(n,Cp(t),null,t.onPush?32:16,n[22],l,i,u,r||null,null,null);return s.firstCreatePass&&(Cr(io(l,n),s,t.type),Ip(s,l),xp(l,n.length,1)),zr(n,d),n[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)mr(c,d,["ng-version",nb.full]);else{const{attrs:b,classes:_}=function Db(e){const t=[],n=[];let i=1,o=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===o?""!==r&&t.push(r,e[++i]):8===o&&n.push(r);else{if(!Tt(o))break;o=r}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);b&&mr(c,d,b),_&&_.length>0&&ml(c,d,_.join(" "))}if(y=Ia(h,22),void 0!==n){const b=y.projection=[];for(let _=0;_<this.ngContentSelectors.length;_++){const M=n[_];b.push(null!=M?Array.from(M):null)}}m=function I0(e,t,n,i){const o=n[1],r=function s0(e,t,n){const i=Ie();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Tp(e,i,t,Si(e,t,1,null),n),Ep(e,i));const o=oo(t,e,i.directiveStart,i);Ve(o,t);const r=lt(i,t);return r&&Ve(r,t),o}(o,n,t);if(e[8]=n[8]=r,null!==i)for(const a of i)a(r,t);if(t.contentQueries){const a=Ie();t.contentQueries(1,r,a.directiveStart)}const s=Ie();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(gn(s.index),Sp(n[1],s,0,s.directiveStart,s.directiveEnd,t),Mp(t,r)),r}(C,this.componentDef,p,[x0]),Yl(h,p,null)}finally{Va()}return new S0(this.componentType,m,Ci(y,p),p,y)}}class S0 extends class ZE{}{constructor(t,n,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.instance=n,this.hostView=this.changeDetectorRef=new D0(o),this.componentType=t}setInput(t,n){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[t])){const r=this._rootLView;ic(r[1],r,o,t,n),bp(r,this._tNode.index)}}get injector(){return new ci(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function x0(){const e=Ie();hr(v()[1],e)}function j(e){let t=function Np(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const i=[e];for(;t;){let o;if(xt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){i.push(o);const s=e;s.inputs=rc(e.inputs),s.declaredInputs=rc(e.declaredInputs),s.outputs=rc(e.outputs);const a=o.hostBindings;a&&O0(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&A0(e,l),c&&F0(e,c),ha(e.inputs,o.inputs),ha(e.declaredInputs,o.declaredInputs),ha(e.outputs,o.outputs),xt(o)&&o.data.animation){const u=e.data;u.animation=(u.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(e),a===j&&(n=!1)}}t=Object.getPrototypeOf(t)}!function T0(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=_r(o.hostAttrs,n=_r(n,o.hostAttrs))}}(i)}function rc(e){return e===ti?{}:e===Z?[]:e}function A0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function F0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,r)=>{t(i,o,r),n(i,o,r)}:t}function O0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let Yr=null;function Hn(){if(!Yr){const e=oe.Symbol;if(e&&e.iterator)Yr=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Yr=i)}}}return Yr}function Eo(e){return!!sc(e)&&(Array.isArray(e)||!(e instanceof Map)&&Hn()in e)}function sc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Le(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Zr(e,t,n,i,o){const r=function $n(e,t,n,i){const o=Le(e,t,n);return Le(e,t+1,i)||o}(e,t,n,i);return Le(e,t+2,o)||r}function Ft(e,t,n,i){const o=v();return Le(o,si(),t)&&(U(),Ut(de(),o,e,t,n,i)),Ft}function Ii(e,t,n,i){return Le(e,si(),n)?t+P(n)+i:k}function Ti(e,t,n,i,o,r,s,a){const c=Zr(e,function en(){return R.lFrame.bindingIndex}(),n,o,s);return tn(3),c?t+P(n)+i+P(o)+r+P(s)+a:k}function et(e,t,n,i,o,r,s,a){const l=v(),c=U(),u=e+22,d=c.firstCreatePass?function j0(e,t,n,i,o,r,s,a,l){const c=t.consts,u=bi(t,e,4,s||null,pn(c,a));Ql(t,n,u,pn(c,l)),hr(t,u);const d=u.tViews=Kl(2,u,i,o,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,i,o,r,s):c.data[u];Ht(d,!1);const f=l[L].createComment("");Fr(c,l,f,d),Ve(f,l),zr(l,l[u]=Ap(f,l,f,d)),ur(d)&&Zl(c,l,d),null!=s&&Xl(l,d,a)}function Q(e,t,n){const i=v();return Le(i,si(),t)&&function ft(e,t,n,i,o,r,s,a){const l=lt(t,n);let u,c=t.inputs;!a&&null!=c&&(u=c[i])?(ic(e,n,u,i,o),cr(t)&&bp(n,t.index)):3&t.type&&(i=function o0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=s?s(o,t.value||"",i):o,r.setProperty(l,i,o))}(U(),de(),i,e,t,i[L],n,!1),Q}function ac(e,t,n,i,o){const s=o?"class":"style";ic(e,n,t.inputs[s],s,i)}function z(e,t,n,i){const o=v(),r=U(),s=22+e,a=o[L],l=o[s]=cl(a,t,function zD(){return R.lFrame.currentNamespace}()),c=r.firstCreatePass?function $0(e,t,n,i,o,r,s){const a=t.consts,c=bi(t,e,2,o,pn(a,r));return Ql(t,n,c,pn(a,s)),null!==c.attrs&&Wr(c,c.attrs,!1),null!==c.mergedAttrs&&Wr(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(s,r,o,0,t,n,i):r.data[s];Ht(c,!0);const u=c.mergedAttrs;null!==u&&mr(a,l,u);const d=c.classes;null!==d&&ml(a,l,d);const f=c.styles;return null!==f&&ph(a,l,f),64!=(64&c.flags)&&Fr(r,o,l,c),0===function TD(){return R.lFrame.elementDepthCount}()&&Ve(l,o),function AD(){R.lFrame.elementDepthCount++}(),ur(c)&&(Zl(r,o,c),vp(r,c,o)),null!==i&&Xl(o,c),z}function q(){let e=Ie();Fa()?Oa():(e=e.parent,Ht(e,!1));const t=e;!function FD(){R.lFrame.elementDepthCount--}();const n=U();return n.firstCreatePass&&(hr(n,e),wa(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ZD(e){return 0!=(16&e.flags)}(t)&&ac(n,t,v(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function XD(e){return 0!=(32&e.flags)}(t)&&ac(n,t,v(),t.stylesWithoutHost,!1),q}function Gt(e,t,n,i){return z(e,t,n,i),q(),Gt}function Xr(e,t,n){const i=v(),o=U(),r=e+22,s=o.firstCreatePass?function U0(e,t,n,i,o){const r=t.consts,s=pn(r,i),a=bi(t,e,8,"ng-container",s);return null!==s&&Wr(a,s,!0),Ql(t,n,a,pn(r,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(r,o,i,t,n):o.data[r];Ht(s,!0);const a=i[r]=i[L].createComment("");return Fr(o,i,a,s),Ve(a,i),ur(s)&&(Zl(o,i,s),vp(o,s,i)),null!=n&&Xl(i,s),Xr}function Kr(){let e=Ie();const t=U();return Fa()?Oa():(e=e.parent,Ht(e,!1)),t.firstCreatePass&&(hr(t,e),wa(e)&&t.queries.elementEnd(e)),Kr}function ki(e,t,n){return Xr(e,t,n),Kr(),ki}function Qr(e){return!!e&&"function"==typeof e.then}const Yp=function qp(e){return!!e&&"function"==typeof e.subscribe};function ce(e,t,n,i){const o=v(),r=U(),s=Ie();return function Xp(e,t,n,i,o,r,s,a){const l=ur(i),u=e.firstCreatePass&&Op(e),d=t[8],f=Fp(t);let h=!0;if(3&i.type||a){const y=lt(i,t),C=a?a(y):y,b=f.length,_=a?G=>a(De(G[i.index])):i.index;let M=null;if(!a&&l&&(M=function z0(e,t,n,i){const o=e.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===n&&o[r+1]===i){const a=t[7],l=o[r+2];return a.length>l?a[l]:null}"string"==typeof s&&(r+=2)}return null}(e,t,o,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=r,M.__ngLastListenerFn__=r,h=!1;else{r=Qp(i,t,d,r,!1);const G=n.listen(C,o,r);f.push(r,G),u&&u.push(o,_,b,b+1)}}else r=Qp(i,t,d,r,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[o])){const y=m.length;if(y)for(let C=0;C<y;C+=2){const ue=t[m[C]][m[C+1]].subscribe(r),Qn=f.length;f.push(r,ue),u&&u.push(o,i.index,Qn,-(Qn+1))}}}(r,o,o[L],s,e,t,0,i),ce}function Kp(e,t,n,i){try{return!1!==n(i)}catch(o){return Pp(e,o),!1}}function Qp(e,t,n,i,o){return function r(s){if(s===Function)return i;tc(2&e.flags?ct(e.index,t):t);let l=Kp(t,0,i,s),c=r.__ngNextListenerFn__;for(;c;)l=Kp(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function wt(e=1){return function BD(e){return(R.lFrame.contextLView=function jD(e,t){for(;e>0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function G0(e,t){let n=null;const i=function gb(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let o=0;o<t.length;o++){const r=t[o];if("*"!==r){if(null===i?qh(e,r,!0):yb(i,r))return o}else n=o}return n}function lg(e,t,n,i,o){const r=e[n+1],s=null===t;let a=i?At(r):sn(r),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];Y0(e[a],t)&&(l=!0,e[a+1]=i?Bl(u):Vl(u)),a=i?At(u):sn(u)}l&&(e[n+1]=i?Vl(r):Bl(r))}function Y0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&pi(e,t)>=0}const Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function cg(e){return e.substring(Te.key,Te.keyEnd)}function Z0(e){return e.substring(Te.value,Te.valueEnd)}function ug(e,t){const n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=function Q0(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Te.key=t,n),Ni(e,t,n))}function dg(e,t){const n=Te.textEnd;let i=Te.key=Ni(e,t,n);return n===i?-1:(i=Te.keyEnd=function J0(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=hg(e,i,n),i=Te.value=Ni(e,i,n),i=Te.valueEnd=function eS(e,t,n){let i=-1,o=-1,r=-1,s=t,a=s;for(;s<n;){const l=e.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=pg(e,l,s,n):t===s-4&&85===r&&82===o&&76===i&&40===l?a=s=pg(e,41,s,n):l>32&&(a=s),r=o,o=i,i=-33&l}return a}(e,i,n),hg(e,i,n))}function fg(e){Te.key=0,Te.keyEnd=0,Te.value=0,Te.valueEnd=0,Te.textEnd=e.length}function Ni(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function hg(e,t,n,i){return(t=Ni(e,t,n))<n&&t++,t}function pg(e,t,n,i){let o=-1,r=n;for(;r<i;){const s=e.charCodeAt(r++);if(s==t&&92!==o)return r;o=92==s&&92===o?0:s}throw new Error}function uc(e,t,n){return Rt(e,t,n,!1),uc}function Jr(e,t){return Rt(e,t,null,!0),Jr}function tS(e,t){for(let n=function K0(e){return fg(e),dg(e,Ni(e,0,Te.textEnd))}(t);n>=0;n=dg(t,n))_g(e,cg(t),Z0(t))}function Yt(e,t){for(let n=function X0(e){return fg(e),ug(e,Ni(e,0,Te.textEnd))}(t);n>=0;n=ug(t,n))dt(e,cg(t),!0)}function Rt(e,t,n,i){const o=v(),r=U(),s=tn(2);r.firstUpdatePass&&mg(r,e,s,i),t!==k&&Le(o,s,t)&&yg(r,r.data[ze()],o,o[L],e,o[s+1]=function lS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ie(_n(e)))),e}(t,n),i,s)}function Pt(e,t,n,i){const o=U(),r=tn(2);o.firstUpdatePass&&mg(o,null,r,i);const s=v();if(n!==k&&Le(s,r,n)){const a=o.data[ze()];if(Cg(a,i)&&!gg(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=pa(l,n||"")),ac(o,a,s,n,i)}else!function aS(e,t,n,i,o,r,s,a){o===k&&(o=Z);let l=0,c=0,u=0<o.length?o[0]:null,d=0<r.length?r[0]:null;for(;null!==u||null!==d;){const f=l<o.length?o[l+1]:void 0,h=c<r.length?r[c+1]:void 0;let m,p=null;u===d?(l+=2,c+=2,f!==h&&(p=d,m=h)):null===d||null!==u&&u<d?(l+=2,p=u):(c+=2,p=d,m=h),null!==p&&yg(e,t,n,i,p,m,s,a),u=l<o.length?o[l]:null,d=c<r.length?r[c]:null}}(o,a,s,s[L],s[r+1],s[r+1]=function sS(e,t,n){if(null==n||""===n)return Z;const i=[],o=_n(n);if(Array.isArray(o))for(let r=0;r<o.length;r++)e(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&e(i,r,o[r]);else"string"==typeof o&&t(i,o);return i}(e,t,n),i,r)}}function gg(e,t){return t>=e.expandoStartIndex}function mg(e,t,n,i){const o=e.data;if(null===o[n+1]){const r=o[ze()],s=gg(e,n);Cg(r,i)&&null===t&&!s&&(t=!1),t=function nS(e,t,n,i){const o=function Pa(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=So(n=fc(null,e,t,n,i),t.attrs,i),r=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=fc(o,e,t,n,i),null===r){let l=function iS(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==sn(i))return e[At(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=fc(null,e,t,l[1],i),l=So(l,t.attrs,i),function oS(e,t,n,i){e[At(n?t.classBindings:t.styleBindings)]=i}(e,t,i,l))}else r=function rS(e,t,n){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<o;r++)i=So(i,e[r].hostAttrs,n);return So(i,t.attrs,n)}(e,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),n}(o,r,t,i),function W0(e,t,n,i,o,r){let s=r?t.classBindings:t.styleBindings,a=At(s),l=sn(s);e[i]=n;let u,c=!1;if(Array.isArray(n)){const d=n;u=d[1],(null===u||pi(d,u)>0)&&(c=!0)}else u=n;if(o)if(0!==l){const f=At(e[a+1]);e[i+1]=Br(f,a),0!==f&&(e[f+1]=Ll(e[f+1],i)),e[a+1]=function Hb(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Br(a,0),0!==a&&(e[a+1]=Ll(e[a+1],i)),a=i;else e[i+1]=Br(l,0),0===a?a=i:e[l+1]=Ll(e[l+1],i),l=i;c&&(e[i+1]=Vl(e[i+1])),lg(e,u,i,!0),lg(e,u,i,!1),function q0(e,t,n,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&pi(r,t)>=0&&(n[i+1]=Bl(n[i+1]))}(t,u,e,i,r),s=Br(a,l),r?t.classBindings=s:t.styleBindings=s}(o,r,t,n,s,i)}}function fc(e,t,n,i,o){let r=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(r=t[a],i=So(i,r.hostAttrs,o),r!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function So(e,t,n){const i=n?1:2;let o=-1;if(null!==t)for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?o=s:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),dt(e,s,!!n||t[++r]))}return void 0===e?null:e}function _g(e,t,n){dt(e,t,_n(n))}function yg(e,t,n,i,o,r,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];es(function cp(e){return 1==(1&e)}(c)?vg(l,t,n,o,sn(c),s):void 0)||(es(r)||function lp(e){return 2==(2&e)}(c)&&(r=vg(l,null,n,o,a,s)),function dE(e,t,n,i,o){if(t)o?e.addClass(n,i):e.removeClass(n,i);else{let r=-1===i.indexOf("-")?void 0:Je.DashCase;null==o?e.removeStyle(n,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Je.Important),e.setStyle(n,i,o,r))}}(i,s,dr(ze(),n),o,r))}function vg(e,t,n,i,o,r){const s=null===t;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===k&&(f=d?Z:void 0);let h=d?qa(f,i):u===i?f:void 0;if(c&&!es(h)&&(h=qa(l,i)),es(h)&&(a=h,s))return a;const p=e[o+1];o=s?At(p):sn(p)}if(null!==t){let l=r?t.residualClasses:t.residualStyles;null!=l&&(a=qa(l,i))}return a}function es(e){return void 0!==e}function Cg(e,t){return 0!=(e.flags&(t?16:32))}function Cn(e,t=""){const n=v(),i=U(),o=e+22,r=i.firstCreatePass?bi(i,o,1,t,null):i.data[o],s=n[o]=function ll(e,t){return e.createText(t)}(n[L],t);Fr(i,n,s,r),Ht(r,!1)}function Un(e){return ts("",e,""),Un}function ts(e,t,n){const i=v(),o=Ii(i,e,t,n);return o!==k&&function an(e,t,n){const i=dr(t,e);!function th(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,ze(),o),ts}function te(e,t,n){Pt(dt,Yt,Ii(v(),e,t,n),!0)}const Li="en-US";let Ug=Li;function gc(e,t,n,i,o){if(e=T(e),Array.isArray(e))for(let r=0;r<e.length;r++)gc(e[r],t,n,i,o);else{const r=U(),s=v();let a=Ln(e)?e:T(e.provide),l=Vh(e);const c=Ie(),u=1048575&c.providerIndexes,d=c.directiveStart,f=c.providerIndexes>>20;if(Ln(e)||!e.multi){const h=new to(l,o,g),p=_c(a,t,o?u:u+f,d);-1===p?(Cr(io(c,s),r,a),mc(r,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=_c(a,t,u+f,d),p=_c(a,t,u,u+f),m=h>=0&&n[h],y=p>=0&&n[p];if(o&&!y||!o&&!m){Cr(io(c,s),r,a);const C=function EM(e,t,n,i,o){const r=new to(e,n,g);return r.multi=[],r.index=t,r.componentProviders=0,pm(r,o,i&&!n),r}(o?wM:DM,n.length,o,i,l);!o&&y&&(n[p].providerFactory=C),mc(r,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else mc(r,e,h>-1?h:p,pm(n[o?p:h],l,!o&&i));!o&&i&&y&&n[p].componentProviders++}}}function mc(e,t,n,i){const o=Ln(t),r=function HE(e){return!!e.useClass}(t);if(o||r){const l=(r?T(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[i,l]):c[u+1].push(i,l)}else c.push(n,l)}}}function pm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function _c(e,t,n,i){for(let o=n;o<i;o++)if(t[o]===e)return o;return-1}function DM(e,t,n,i){return yc(this.multi,[])}function wM(e,t,n,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=oo(n,n[1],this.providerFactory.index,i);r=a.slice(0,s),yc(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],yc(o,r);return r}function yc(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function J(e,t=[]){return n=>{n.providersResolver=(i,o)=>function CM(e,t,n){const i=U();if(i.firstCreatePass){const o=xt(e);gc(n,i.data,i.blueprint,o,!0),gc(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class Bi{}class gm extends Bi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new oc(this);const i=function st(e,t){const n=e[$d]||null;if(!n&&!0===t)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function rn(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=ep(t,n,[{provide:Bi,useValue:this},{provide:Bn,useValue:this.componentFactoryResolver}],ie(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vc extends class bM{}{constructor(t){super(),this.moduleType=t}create(t){return new gm(this.moduleType,t)}}function Dc(e){return t=>{setTimeout(e,void 0,t)}}const se=class eI extends it{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,r=n||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=Dc(r),o&&(o=Dc(o)),s&&(s=Dc(s)));const a=super.subscribe({next:o,error:r,complete:s});return t instanceof Xe&&t.add(a),a}};function tI(){return this._results[Hn()]()}class wc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Hn(),i=wc.prototype;i[n]||(i[n]=tI)}get changes(){return this._changes||(this._changes=new se)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const o=ut(t);(this._changesDetected=!function sw(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=t[i];if(n&&(o=n(o),r=n(r)),r!==o)return!1}return!0}(i._results,o,n))&&(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 Zt=(()=>{class e{}return e.__NG_ELEMENT_ID__=oI,e})();const nI=Zt,iI=class extends nI{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,o=$r(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),Yl(i,o,t),new Do(o)}};function oI(){return as(Ie(),v())}function as(e,t){return 4&e.type?new iI(t,e,Ci(e,t)):null}let ht=(()=>{class e{}return e.__NG_ELEMENT_ID__=rI,e})();function rI(){return Am(Ie(),v())}const sI=ht,xm=class extends sI{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return Ci(this._hostTNode,this._hostLView)}get injector(){return new ci(this._hostTNode,this._hostLView)}get parentInjector(){const t=vr(this._hostTNode,this._hostLView);if(yf(t)){const n=li(t,this._hostLView),i=ai(t);return new ci(n[1].data[i+8],n)}return new ci(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Tm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=t.createEmbeddedView(n||{},r);return this.insert(s,o),s}createComponent(t,n,i,o,r){const s=t&&!function so(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,i=d.injector,o=d.projectableNodes,r=d.environmentInjector||d.ngModuleRef}const l=s?t:new wo(ee(t)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const f=(s?c:this.parentInjector).get(yi,null);f&&(r=f)}const u=l.create(c,o,void 0,r);return this.insert(u.hostView,a),u}insert(t,n){const i=t._lView,o=i[1];if(function xD(e){return It(e[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],f=new xm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const r=this._adjustIndex(n),s=this._lContainer;!function iE(e,t,n,i){const o=10+i,r=n.length;i>0&&(n[o-1][4]=t),i<r-10?(t[4]=n[o],Tf(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function oE(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(o,i,s,r);const a=hl(r,s),l=i[L],c=Ar(l,s[7]);return null!==c&&function eE(e,t,n,i,o,r){i[0]=o,i[6]=t,mo(e,i,n,1,o,r)}(o,s[6],l,i,c,a),t.attachToViewContainerRef(),Tf(Ec(s),r,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Tm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),i=ul(this._lContainer,n);i&&(wr(Ec(this._lContainer),n),ih(i[1],i))}detach(t){const n=this._adjustIndex(t,-1),i=ul(this._lContainer,n);return i&&null!=wr(Ec(this._lContainer),n)?new Do(i):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tm(e){return e[8]}function Ec(e){return e[8]||(e[8]=[])}function Am(e,t){let n;const i=t[e.index];if(It(i))n=i;else{let o;if(8&e.type)o=De(i);else{const r=t[L];o=r.createComment("");const s=lt(e,t);Nn(r,Ar(r,s),o,function lE(e,t){return e.nextSibling(t)}(r,s),!1)}t[e.index]=n=Ap(i,t,o,e),zr(t,n)}return new xm(n,e,t)}class bc{constructor(t){this.queryList=t,this.matches=null}clone(){return new bc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Sc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const i=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let r=0;r<i;r++){const s=n.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new Sc(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==km(t,n).matches&&this.queries[n].setDirty()}}class Fm{constructor(t,n,i=null){this.predicate=t,this.flags=n,this.read=i}}class Mc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let i=0;i<this.length;i++){const o=null!==n?n.length:0,r=this.getByIndex(i).embeddedTView(t,o);r&&(r.indexInDeclarationView=i,null!==n?n.push(r):n=[r])}return null!==n?new Mc(n):null}template(t,n){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ic{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Ic(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==n;)i=i.parent;return n===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const i=this.metadata.predicate;if(Array.isArray(i))for(let o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(t,n,cI(n,r)),this.matchTNodeWithReadOption(t,n,Dr(n,t,r,!1,!1))}else i===Zt?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Dr(n,t,i,!1,!1))}matchTNodeWithReadOption(t,n,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===Ee||o===ht||o===Zt&&4&n.type)this.addMatch(n.index,-2);else{const r=Dr(n,t,o,!1,!1);null!==r&&this.addMatch(n.index,r)}else this.addMatch(n.index,i)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function cI(e,t){const n=e.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function dI(e,t,n,i){return-1===n?function uI(e,t){return 11&e.type?Ci(e,t):4&e.type?as(e,t):null}(t,e):-2===n?function fI(e,t,n){return n===Ee?Ci(t,e):n===Zt?as(t,e):n===ht?Am(t,e):void 0}(e,t,i):oo(e,e[1],n,t)}function Om(e,t,n,i){const o=t[19].queries[i];if(null===o.matches){const r=e.data,s=n.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];a.push(c<0?null:dI(t,r[c],s[l+1],n.metadata.read))}o.matches=a}return o.matches}function xc(e,t,n,i){const o=e.queries.getByIndex(n),r=o.matches;if(null!==r){const s=Om(e,t,o,n);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],u=t[-l];for(let d=10;d<u.length;d++){const f=u[d];f[17]===f[3]&&xc(f[1],f,c,i)}if(null!==u[9]){const d=u[9];for(let f=0;f<d.length;f++){const h=d[f];xc(h[1],h,c,i)}}}}}return i}function Dn(e){const t=v(),n=U(),i=af();ka(i+1);const o=km(n,i);if(e.dirty&&function ID(e){return 4==(4&e[2])}(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const r=o.crossesNgTemplate?xc(n,t,i,[]):Om(n,t,o,i);e.reset(r,JE),e.notifyOnChanges()}return!0}return!1}function ji(e,t,n){const i=U();i.firstCreatePass&&(function Pm(e,t,n){null===e.queries&&(e.queries=new Mc),e.queries.track(new Ic(t,n))}(i,new Fm(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),function Rm(e,t,n){const i=new wc(4==(4&n));Dp(e,t,i,i.destroy),null===t[19]&&(t[19]=new Sc),t[19].queries.push(new bc(i))}(i,v(),t)}function wn(){return function hI(e,t){return e[19].queries[t].queryList}(v(),af())}function km(e,t){return e.queries.getByIndex(t)}function Ac(e,t){return as(e,t)}function cs(...e){}const e_=new A("Application Initializer");let us=(()=>{class e{constructor(n){this.appInits=n,this.resolve=cs,this.reject=cs,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const r=this.appInits[o]();if(Qr(r))n.push(r);else if(Yp(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(w(e_,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Po=new A("AppId",{providedIn:"root",factory:function t_(){return`${kc()}${kc()}${kc()}`}});function kc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const n_=new A("Platform Initializer"),Nc=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),PI=new A("appBootstrapListener"),ln=new A("LocaleId",{providedIn:"root",factory:()=>Sr(ln,F.Optional|F.SkipSelf)||function kI(){return typeof $localize<"u"&&$localize.locale||Li}()}),jI=(()=>Promise.resolve(0))();function Vc(e){typeof Zone>"u"?jI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class fe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new se(!1),this.onMicrotaskEmpty=new se(!1),this.onStable=new se(!1),this.onError=new se(!1),typeof Zone>"u")throw new S(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)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function HI(){let e=oe.requestAnimationFrame,t=oe.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function zI(e){const t=()=>{!function UI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(oe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bc(e),e.isCheckStableRunning=!0,Lc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,r,s,a)=>{try{return r_(e),n.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),s_(e)}},onInvoke:(n,i,o,r,s,a,l)=>{try{return r_(e),n.invoke(o,r,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),s_(e)}},onHasTask:(n,i,o,r)=>{n.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Bc(e),Lc(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,o,r)=>(n.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fe.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(fe.isInAngularZone())throw new S(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,t,$I,cs,cs);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const $I={};function Lc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Bc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function r_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function s_(e){e._nesting--,Lc(e)}class GI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new se,this.onMicrotaskEmpty=new se,this.onStable=new se,this.onError=new se}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,o){return t.apply(n,i)}}const a_=new A(""),ds=new A("");let $c,jc=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$c||(function WI(e){$c=e}(o),o.addToWindow(i)),this._watchAngularEvents(),n.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:()=>{fe.assertNotInAngularZone(),Vc(()=>{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())Vc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:o})}whenStable(n,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(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(w(fe),w(Hc),w(ds))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Hc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return $c?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),En=null;const l_=new A("AllowMultipleToken"),Uc=new A("PlatformDestroyListeners");function u_(e,t,n=[]){const i=`Platform: ${t}`,o=new A(i);return(r=[])=>{let s=zc();if(!s||s.injector.get(l_,!1)){const a=[...n,...r,{provide:o,useValue:!0}];e?e(a):function ZI(e){if(En&&!En.get(l_,!1))throw new S(400,!1);En=e;const t=e.get(f_);(function c_(e){const t=e.get(n_,null);t&&t.forEach(n=>n())})(e)}(function d_(e=[],t){return Ct.create({name:t,providers:[{provide:Ml,useValue:"platform"},{provide:Uc,useValue:new Set([()=>En=null])},...e]})}(a,i))}return function KI(e){const t=zc();if(!t)throw new S(401,!1);return t}()}}function zc(){return En?.get(f_)??null}let f_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=function p_(e,t){let n;return n="noop"===e?new GI:("zone.js"===e?void 0:e)||new fe(t),n}(i?.ngZone,function h_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:fe,useValue:o}];return o.run(()=>{const s=Ct.create({providers:r,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(Di,null);if(!l)throw new S(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{fs(this._modules,a),c.unsubscribe()})}),function g_(e,t,n){try{const i=n();return Qr(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(l,o,()=>{const c=a.injector.get(us);return c.runInitializers(),c.donePromise.then(()=>(function zg(e){rt(e,"Expected localeId to be defined"),"string"==typeof e&&(Ug=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(ln,Li)||Li),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const o=m_({},i);return function qI(e,t,n){const i=new vc(n);return Promise.resolve(i)}(0,0,n).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(n){const i=n.injector.get(Nt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new S(403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Uc,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(w(Ct))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function m_(e,t){return Array.isArray(t)?t.reduce(m_,e):{...e,...t}}let Nt=(()=>{class e{constructor(n,i,o){this._zone=n,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 Fe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Fe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),Vc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=da(r,s.pipe(function JC(e={}){const{connector:t=(()=>new it),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return r=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return Bt((m,y)=>{c++,!d&&!u&&f();const C=l=l??t();y.add(()=>{c--,0===c&&!d&&!u&&(a=fa(p,o))}),C.subscribe(y),!s&&c>0&&(s=new qi({next:b=>C.next(b),error:b=>{d=!0,f(),a=fa(h,n,b),C.error(b)},complete:()=>{u=!0,f(),a=fa(h,i),C.complete()}}),gt(m).subscribe(s))})(r)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof Lh;if(!this._injector.get(us).done)throw!o&&function Zi(e){const t=ee(e)||He(e)||$e(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=o?n:this._injector.get(Bn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function YI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Bi),c=s.create(Ct.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(a_,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),fs(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;fs(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(PI,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>fs(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(w(fe),w(yi),w(Di))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function fs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let y_=!0,Xt=(()=>{class e{}return e.__NG_ELEMENT_ID__=ex,e})();function ex(e){return function tx(e,t,n){if(cr(e)&&!n){const i=ct(e.index,t);return new Do(i,i)}return 47&e.type?new Do(t[16],t):null}(Ie(),v(),16==(16&e))}class E_{constructor(){}supports(t){return Eo(t)}create(t){return new ax(t)}}const sx=(e,t)=>t;class ax{constructor(t){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=t||sx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,r=null;for(;n||i;){const s=!i||n&&n.currentIndex<S_(i,o,r)?n:i,a=S_(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{r||(r=[]);const c=a-o,u=l-o;if(c!=u){for(let f=0;f<c;f++){const h=f<r.length?r[f]:r[f]=0,p=h+f;u<=p&&p<c&&(r[f]=h+1)}r[s.previousIndex]=u-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Eo(t))throw new S(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,r,s,n=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)r=t[a],s=this._trackByFn(a,r),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,r,s,a)),Object.is(n.item,r)||this._addIdentityChange(n,r)):(n=this._mismatch(n,r,s,a),i=!0),n=n._next}else o=0,function V0(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Hn()]();let i;for(;!(i=n.next()).done;)t(i.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),i=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,o){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,o)):t=this._addAfter(new lx(n,i),r,o),t}_verifyReinsertion(t,n,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new b_),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new b_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class lx{constructor(t,n){this.item=t,this.trackById=n,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 cx{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class b_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new cx,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function S_(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i<n.length&&(o=n[i]),i+t+o}class M_{constructor(){}supports(t){return t instanceof Map||sc(t)}create(){return new ux}}class ux{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(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||sc(t)))throw new S(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(i,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const r=this._getOrCreateRecordForKey(o,i);n=this._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;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(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);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 dx(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class dx{constructor(t){this.key=t,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 I_(){return new gs([new E_])}let gs=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||I_()),deps:[[e,new Ir,new Mr]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:I_}),e})();function x_(){return new ko([new M_])}let ko=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||x_()),deps:[[e,new Ir,new Mr]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:x_}),e})();const px=u_(null,"core",[]);let gx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(w(Nt))},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})();let ms=null;function Kt(){return ms}const _e=new A("DocumentToken");let T_=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:function(){return function vx(){return w(A_)}()},providedIn:"platform"}),e})(),A_=(()=>{class e extends T_{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Kt().getBaseHref(this._doc)}onPopState(n){const i=Kt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Kt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(n){this.location.pathname=n}pushState(n,i,o){F_()?this._history.pushState(n,i,o):this.location.hash=o}replaceState(n,i,o){F_()?this._history.replaceState(n,i,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:function(){return function Cx(){return new A_(w(_e))}()},providedIn:"platform"}),e})();function F_(){return!!window.history.pushState}function O_(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function R_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Wn(e){return e&&"?"!==e[0]?"?"+e:e}let Xc=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:function(){return Sr(wx)},providedIn:"root"}),e})();const Dx=new A("appBaseHref");let wx=(()=>{class e extends Xc{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Sr(_e).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return O_(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+Wn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,r){const s=this.prepareExternalUrl(o+Wn(r));this._platformLocation.pushState(n,i,s)}replaceState(n,i,o,r){const s=this.prepareExternalUrl(o+Wn(r));this._platformLocation.replaceState(n,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(w(T_),w(Dx,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),P_=(()=>{class e{constructor(n){this._subject=new se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._baseHref=R_(k_(i)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Wn(i))}normalize(n){return e.stripTrailingSlash(function bx(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,k_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Wn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Wn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}}return e.normalizeQueryParams=Wn,e.joinWithSlash=O_,e.stripTrailingSlash=R_,e.\u0275fac=function(n){return new(n||e)(w(Xc))},e.\u0275prov=N({token:e,factory:function(){return function Ex(){return new P_(w(Xc))}()},providedIn:"root"}),e})();function k_(e){return e.replace(/\/index.html$/,"")}let qn=(()=>{class e{constructor(n,i,o,r){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=o,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Eo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),n.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),n.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${ie(i.item)}`);this._toggleClass(i.item,!0)}),n.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(i=>this._toggleClass(i,!0)):Object.keys(n).forEach(i=>this._toggleClass(i,!!n[i])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(i=>this._toggleClass(i,!1)):Object.keys(n).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(n,i){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(g(gs),g(ko),g(Ee),g(jn))},e.\u0275dir=O({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class cT{constructor(t,n,i,o){this.$implicit=t,this.ngForOf=n,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 su=(()=>{class e{constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new cT(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),W_(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}n.forEachIdentityChange(o=>{W_(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(g(ht),g(Zt),g(gs))},e.\u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function W_(e,t){e.context.$implicit=t.item}let Lo=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new dT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){q_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){q_("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(g(ht),g(Zt))},e.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class dT{constructor(){this.$implicit=null,this.ngIf=null}}function q_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ie(t)}'.`)}let bn=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})();const K_="browser";class hu extends class gA extends class yx{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function _x(e){ms||(ms=e)}(new hu)}onAndCancel(t,n,i){return t.addEventListener(n,i,!1),()=>{t.removeEventListener(n,i,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function mA(){return jo=jo||document.querySelector("base"),jo?jo.getAttribute("href"):null}();return null==n?null:function _A(e){xs=xs||document.createElement("a"),xs.setAttribute("href",e);const t=xs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function aT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[o,r]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(o.trim()===t)return decodeURIComponent(r)}return null}(document.cookie,t)}}let xs,jo=null;const iy=new A("TRANSITION_ID"),vA=[{provide:e_,useFactory:function yA(e,t,n){return()=>{n.get(us).donePromise.then(()=>{const i=Kt(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let r=0;r<o.length;r++)i.remove(o[r])})}},deps:[iy,_e,Ct],multi:!0}];let DA=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const Ts=new A("EventManagerPlugins");let As=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}addGlobalEventListener(n,i,o){return this._findPluginFor(i).addGlobalEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){const i=this._eventNameToPlugin.get(n);if(i)return i;const o=this._plugins;for(let r=0;r<o.length;r++){const s=o[r];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(w(Ts),w(fe))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class oy{constructor(t){this._doc=t}addGlobalEventListener(t,n,i){const o=Kt().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,i)}}let ry=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const i=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Ho=(()=>{class e extends ry{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,i,o){n.forEach(r=>{const s=this._doc.createElement("style");s.textContent=r,o.push(i.appendChild(s))})}addHost(n){const i=[];this._addStylesToHost(this._stylesSet,n,i),this._hostNodes.set(n,i)}removeHost(n){const i=this._hostNodes.get(n);i&&i.forEach(sy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(n,o,i)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(sy))}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();function sy(e){Kt().remove(e)}const pu={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/"},gu=/%COMP%/g;function Fs(e,t,n){for(let i=0;i<t.length;i++){let o=t[i];Array.isArray(o)?Fs(e,o,n):(o=o.replace(gu,e),n.push(o))}return n}function cy(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let mu=(()=>{class e{constructor(n,i,o){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new _u(n)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;switch(i.encapsulation){case jt.Emulated:{let o=this.rendererByCompId.get(i.id);return o||(o=new IA(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,o)),o.applyToHost(n),o}case 1:case jt.ShadowDom:return new xA(this.eventManager,this.sharedStylesHost,n,i);default:if(!this.rendererByCompId.has(i.id)){const o=Fs(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(w(As),w(Ho),w(Po))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class _u{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(pu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(dy(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(dy(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,o){if(o){n=o+":"+n;const r=pu[o];r?t.setAttributeNS(r,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const o=pu[i];o?t.removeAttributeNS(o,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,o){o&(Je.DashCase|Je.Important)?t.style.setProperty(n,i,o&Je.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Je.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,cy(i)):this.eventManager.addEventListener(t,n,cy(i))}}function dy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class IA extends _u{constructor(t,n,i,o){super(t),this.component=i;const r=Fs(o+"-"+i.id,i.styles,[]);n.addStyles(r),this.contentAttr=function bA(e){return"_ngcontent-%COMP%".replace(gu,e)}(o+"-"+i.id),this.hostAttr=function SA(e){return"_nghost-%COMP%".replace(gu,e)}(o+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}class xA extends _u{constructor(t,n,i,o){super(t),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=Fs(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(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,i){return super.insertBefore(this.nodeOrShadowRoot(t),n,i)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let TA=(()=>{class e extends oy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const fy=["alt","control","meta","shift"],AA={"\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"},FA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OA=(()=>{class e extends oy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Kt().onAndCancel(n,r.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),fy.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,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(n,i){let o=AA[n.key]||n.key,r="";return i.indexOf("code.")>-1&&(o=n.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),fy.forEach(s=>{s!==o&&(0,FA[s])(n)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(n,i,o){return r=>{e.matchEventFullKeyCode(r,n)&&o.runGuarded(()=>i(r))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const NA=u_(px,"browser",[{provide:Nc,useValue:K_},{provide:n_,useValue:function RA(){hu.makeCurrent()},multi:!0},{provide:_e,useFactory:function kA(){return function gE(e){yl=e}(document),document},deps:[]}]),gy=new A(""),my=[{provide:ds,useClass:class CA{addToWindow(t){oe.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},oe.getAllAngularTestabilities=()=>t.getAllTestabilities(),oe.getAllAngularRootElements=()=>t.getAllRootElements(),oe.frameworkStabilizers||(oe.frameworkStabilizers=[]),oe.frameworkStabilizers.push(i=>{const o=oe.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(t,n,i){return null==n?null:t.getTestability(n)??(i?Kt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:a_,useClass:jc,deps:[fe,Hc,ds]},{provide:jc,useClass:jc,deps:[fe,Hc,ds]}],_y=[{provide:Ml,useValue:"root"},{provide:Di,useFactory:function PA(){return new Di},deps:[]},{provide:Ts,useClass:TA,multi:!0,deps:[_e,fe,Nc]},{provide:Ts,useClass:OA,multi:!0,deps:[_e]},{provide:mu,useClass:mu,deps:[As,Ho,Po]},{provide:jh,useExisting:mu},{provide:ry,useExisting:Ho},{provide:Ho,useClass:Ho,deps:[_e]},{provide:As,useClass:As,deps:[Ts,fe]},{provide:class $T{},useClass:DA,deps:[]},[]];let VA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Po,useValue:n.appId},{provide:iy,useExisting:Po},vA]}}}return e.\u0275fac=function(n){return new(n||e)(w(gy,12))},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[..._y,...my],imports:[bn,gx]}),e})();function Cy(e){return Array.isArray(e)?e:[e]}function Me(e){return null==e?"":"string"==typeof e?e:`${e}px`}typeof window<"u"&&window;const{isArray:XA}=Array;function Dy(e){return ei(t=>function KA(e,t){return XA(t)?e(...t):e(t)}(e,t))}const QA=["addListener","removeListener"],JA=["addEventListener","removeEventListener"],eF=["on","off"];function Cu(e,t,n,i){if(X(n)&&(i=n,n=void 0),i)return Cu(e,t,n).pipe(Dy(i));const[o,r]=function iF(e){return X(e.addEventListener)&&X(e.removeEventListener)}(e)?JA.map(s=>a=>e[s](t,a,n)):function tF(e){return X(e.addListener)&&X(e.removeListener)}(e)?QA.map(wy(e,t)):function nF(e){return X(e.on)&&X(e.off)}(e)?eF.map(wy(e,t)):[];if(!o&&sa(e))return aa(s=>Cu(s,t,n))(gt(e));if(!o)throw new TypeError("Invalid event target");return new Fe(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function wy(e,t){return n=>i=>e[n](t,i)}class oF extends Xe{constructor(t,n){super()}schedule(t,n=0){return this}}const Os={setInterval(e,t,...n){const{delegate:i}=Os;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Os;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class Du extends oF{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var i;if(this.closed)return this;this.state=t;const o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,n),this}requestAsyncId(t,n,i=0){return Os.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&Os.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,i=!1;try{this.work(t)}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:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Jn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const $o={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=$o;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);const o=t(r=>{n=void 0,e(r)});return new Xe(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=$o;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=$o;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},wu={now:()=>(wu.delegate||Date).now(),delegate:void 0};class Uo{constructor(t,n=Uo.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}Uo.now=wu.now;class Eu extends Uo{constructor(t,n=Uo.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}new class sF extends Eu{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}}}(class rF extends Du{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=$o.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:r}=t;null!=n&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==n&&($o.cancelAnimationFrame(n),t._scheduled=void 0)}});let bu,lF=1;const Rs={};function Ey(e){return e in Rs&&(delete Rs[e],!0)}const cF={setImmediate(e){const t=lF++;return Rs[t]=!0,bu||(bu=Promise.resolve()),bu.then(()=>Ey(t)&&e()),t},clearImmediate(e){Ey(e)}},{setImmediate:uF,clearImmediate:dF}=cF,Ps={setImmediate(...e){const{delegate:t}=Ps;return(t?.setImmediate||uF)(...e)},clearImmediate(e){const{delegate:t}=Ps;return(t?.clearImmediate||dF)(e)},delegate:void 0},by=(new class hF extends Eu{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}}}(class fF extends Du{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Ps.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:r}=t;null!=n&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==n&&(Ps.clearImmediate(n),t._scheduled=void 0)}}),new Eu(Du)),gF=by;function Sy(e,t=by){return function mF(e){return Bt((t,n)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,n.next(c)}s&&n.complete()},l=()=>{r=null,s&&n.complete()};t.subscribe(pt(n,c=>{i=!0,o=c,r||gt(e(c)).subscribe(r=pt(n,a,l))},()=>{s=!0,(!i||!r||r.closed)&&n.complete()}))})}(()=>function yF(e=0,t,n=gF){let i=-1;return null!=t&&(Rd(t)?n=t:i=t),new Fe(o=>{let r=function _F(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}(e,t))}function ks(e,t){return Bt((n,i)=>{let o=0;n.subscribe(pt(i,r=>e.call(t,r,o++)&&i.next(r)))})}let Su;try{Su=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Su=!1}let Yn,Ui=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function jT(e){return e===K_}(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&&!Su)&&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 e.\u0275fac=function(n){return new(n||e)(w(Nc))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function CF(){if(null==Yn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Yn=!1,Yn;if("scrollBehavior"in document.documentElement.style)Yn=!0;else{const e=Element.prototype.scrollTo;Yn=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Yn}function Iy(e){return e.composedPath?e.composedPath()[0]:e.target}function xy(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const wF=new A("cdk-dir-doc",{providedIn:"root",factory:function EF(){return Sr(_e)}}),bF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let MF=(()=>{class e{constructor(n){if(this.value="ltr",this.change=new se,n){const o=n.documentElement?n.documentElement.dir:null;this.value=function SF(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?bF.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(n){return new(n||e)(w(wF,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Iu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})(),xF=(()=>{class e{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new it,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new Fe(i=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(Sy(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):function ZA(...e){return ua(e,Pd(e))}()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){const o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(ks(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(n){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,n)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=function YA(e){return e instanceof Ee?e.nativeElement:e}(i),r=n.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Cu(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(n){return new(n||e)(w(fe),w(Ui),w(_e,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ty=(()=>{class e{constructor(n,i,o){this._platform=n,this._change=new it,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(n.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 n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,i=this._getWindow(),o=n.documentElement,r=o.getBoundingClientRect();return{top:-r.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(Sy(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(n){return new(n||e)(w(Ui),w(fe),w(_e,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ay=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})(),Fy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({imports:[[Iu,Ay],Iu,Ay]}),e})();class xu{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class AF extends xu{constructor(t,n,i,o){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=o}}class Tu extends xu{constructor(t,n,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class FF extends xu{constructor(t){super(),this.element=t instanceof Ee?t.nativeElement:t}}class RF extends class OF{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof AF?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Tu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof FF?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,n,i,o,r){super(),this.outletElement=t,this._componentFactoryResolver=n,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(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=i.create(t.injector||this._defaultInjector||Ct.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=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(i);-1!==o&&n.remove(o)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Oy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})();const Ry=CF();class NF{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Me(-this._previousScrollPosition.left),t.style.top=Me(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.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,t.classList.remove("cdk-global-scrollblock"),Ry&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ry&&(i.scrollBehavior=r,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}}class VF{constructor(t,n,i,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Py{enable(){}disable(){}attach(){}}function Au(e,t){return t.some(n=>e.bottom<n.top||e.top>n.bottom||e.right<n.left||e.left>n.right)}function ky(e,t){return t.some(n=>e.top<n.top||e.bottom>n.bottom||e.left<n.left||e.right>n.right)}class LF{constructor(t,n,i,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(t){this._overlayRef=t}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 n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();Au(n,[{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 BF=(()=>{class e{constructor(n,i,o,r){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Py,this.close=s=>new VF(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new NF(this._viewportRuler,this._document),this.reposition=s=>new LF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return e.\u0275fac=function(n){return new(n||e)(w(xF),w(Ty),w(fe),w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Fu{constructor(t){if(this.scrollStrategy=new Py,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const i of n)void 0!==t[i]&&(this[i]=t[i])}}}class nt{constructor(t,n,i,o,r){this.offsetX=i,this.offsetY=o,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}}class jF{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Ny=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),HF=(()=>{class e extends Ny{constructor(n,i){super(n),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(n){super.add(n),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 e.\u0275fac=function(n){return new(n||e)(w(_e),w(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),$F=(()=>{class e extends Ny{constructor(n,i,o){super(n),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Iy(r)},this._clickListener=r=>{const s=Iy(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 u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(r)):d.next(r)}}}add(n){if(super.add(n),!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 n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(n){return new(n||e)(w(_e),w(Ui),w(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Vy=(()=>{class e{constructor(n,i){this._platform=i,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||xy()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let r=0;r<o.length;r++)o[r].remove()}const i=this._document.createElement("div");i.classList.add(n),xy()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return e.\u0275fac=function(n){return new(n||e)(w(_e),w(Ui))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class UF{constructor(t,n,i,o,r,s,a,l,c){this._portalOutlet=t,this._host=n,this._pane=i,this._config=o,this._ngZone=r,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._backdropElement=null,this._backdropClick=new it,this._attachments=new it,this._detachments=new it,this._locationChanges=Xe.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new it,this._outsidePointerEvents=new it,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(function PF(e){return e<=0?()=>la:Bt((t,n)=>{let i=0;t.subscribe(pt(n,o=>{++i<=e&&(n.next(o),e<=i&&n.complete())}))})}(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),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Me(this._config.width),t.height=Me(this._config.height),t.minWidth=Me(this._config.minWidth),t.minHeight=Me(this._config.minHeight),t.maxWidth=Me(this._config.maxWidth),t.maxHeight=Me(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;!t||(t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500)))}_toggleClasses(t,n,i){const o=Cy(n||[]).filter(r=>!!r);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(function kF(e){return Bt((t,n)=>{gt(e).subscribe(pt(n,()=>n.complete(),Xs)),!n.closed&&t.subscribe(n)})}(da(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()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Ly="cdk-overlay-connected-position-bounding-box",zF=/([A-Za-z%]+)$/;class GF{constructor(t,n,i,o,r){this._viewportRuler=n,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 it,this._resizeSubscription=Xe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Ly),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,n=this._overlayRect,i=this._viewportRect,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,o,a),c=this._getOverlayPoint(l,n,a),u=this._getOverlayFit(c,n,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?r.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:c,originPoint:l,position:a,overlayRect:n})}if(r.length){let a=null,l=-1;for(const c of r){const u=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);u>l&&(l=u,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&&Zn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ly),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,i){let o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==i.originX?s:a}return n.left<0&&(o-=n.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,n.top<0&&(r-=n.top),{x:o,y:r}}_getOverlayPoint(t,n,i){let o,r;return o="center"==i.overlayX?-n.width/2:"start"===i.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,r="center"==i.overlayY?-n.height/2:"top"==i.overlayY?0:-n.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,n,i,o){const r=jy(n);let{x:s,y:a}=t,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+r.height-i.height,p=this._subtractOverflows(r.width,0-s,s+r.width-i.width),m=this._subtractOverflows(r.height,f,h),y=p*m;return{visibleArea:y,isCompletelyWithinViewport:r.width*r.height===y,fitsInViewportVertically:m===r.height,fitsInViewportHorizontally:p==r.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){const o=i.bottom-n.y,r=i.right-n.x,s=By(this._overlayRef.getConfig().minHeight),a=By(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=s&&s<=o)&&c}return!1}_pushOverlayOnScreen(t,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const o=jy(n),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),a=Math.max(t.y+o.height-r.height,0),l=Math.max(r.top-i.top-t.y,0),c=Math.max(r.left-i.left-t.x,0);let u=0,d=0;return u=o.width<=r.width?c||-s:t.x<this._viewportMargin?r.left-i.left-t.x:0,d=o.height<=r.height?l||-a:t.y<this._viewportMargin?r.top-i.top-t.y:0,this._previousPushAmount={x:u,y:d},{x:t.x+u,y:t.y+d}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const i=this._getScrollVisibility(),o=new jF(t,i);this._positionChanges.next(o)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const n=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,o=t.overlayY;i="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let r=0;r<n.length;r++)n[r].style.transformOrigin=`${i} ${o}`}_calculateBoundingBoxRect(t,n){const i=this._viewportRect,o=this._isRtl();let r,s,a,u,d,f;if("top"===n.overlayY)s=t.y,r=i.height-s+this._viewportMargin;else if("bottom"===n.overlayY)a=i.height-t.y+2*this._viewportMargin,r=i.height-a+this._viewportMargin;else{const h=Math.min(i.bottom-t.y+i.top,t.y),p=this._lastBoundingBoxSize.height;r=2*h,s=t.y-h,r>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)f=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)d=t.x,u=i.right-t.x;else{const h=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;u=2*h,d=t.x-h,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:r}}_setBoundingBoxStyles(t,n){const i=this._calculateBoundingBoxRect(t,n);!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=Me(i.height),o.top=Me(i.top),o.bottom=Me(i.bottom),o.width=Me(i.width),o.left=Me(i.left),o.right=Me(i.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Me(r)),s&&(o.maxWidth=Me(s))}this._lastBoundingBoxSize=i,Zn(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Zn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Zn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();Zn(i,this._getExactOverlayY(n,t,u)),Zn(i,this._getExactOverlayX(n,t,u))}else i.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(o?i.maxHeight=Me(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Me(s.maxWidth):r&&(i.maxWidth="")),Zn(this._pane.style,i)}_getExactOverlayY(t,n,i){let o={top:"",bottom:""},r=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Me(r.y),o}_getExactOverlayX(t,n,i){let s,o={left:"",right:""},r=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Me(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ky(t,i),isOriginOutsideView:Au(t,i),isOverlayClipped:ky(n,i),isOverlayOutsideView:Au(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,o)=>i-Math.max(o,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&Cy(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Ee)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+n,height:i,width:n}}}function Zn(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function By(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(zF);return n&&"px"!==n?null:parseFloat(t)}return e||null}function jy(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const Hy="cdk-global-overlay-wrapper";class WF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Hy),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=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);t.position=this._cssPosition,t.marginLeft=l?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,l?n.justifyContent="flex-start":"center"===this._justifyContent?n.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?n.justifyContent="flex-end":"flex-end"===this._justifyContent&&(n.justifyContent="flex-start"):n.justifyContent=this._justifyContent,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(Hy),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let qF=(()=>{class e{constructor(n,i,o,r){this._viewportRuler=n,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new WF}flexibleConnectedTo(n){return new GF(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(n){return new(n||e)(w(Ty),w(_e),w(Ui),w(Vy))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),YF=0,Vs=(()=>{class e{constructor(n,i,o,r,s,a,l,c,u,d,f){this.scrollStrategies=n,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f}create(n){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new Fu(n);return s.direction=s.direction||this._directionality.value,new UF(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(n){const i=this._document.createElement("div");return i.id="cdk-overlay-"+YF++,i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Nt)),new RF(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(n){return new(n||e)(w(BF),w(Vy),w(Bn),w(qF),w(HF),w(Ct),w(fe),w(_e),w(MF),w(P_),w($F))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const KF={provide:new A("cdk-connected-overlay-scroll-strategy"),deps:[Vs],useFactory:function XF(e){return()=>e.scrollStrategies.reposition()}};let $y=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[Vs,KF],imports:[[Iu,Oy,Fy],Fy]}),e})();class Ls extends it{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}const Ou=new A("SPRITE_URL"),QF={provide:Ou,useValue:"/assets/sprite.svg"};let Bs=(()=>{class e{constructor(n,i){this._spriteUrl=n,this.host=i,this._svgSize=24}set size(n){this._svgSize=n,this.updateHost(n)}get size(){return this._svgSize}get spriteHref(){return`${this._spriteUrl}#${this.icon}`}ngOnInit(){this.updateHost(this._svgSize)}updateHost(n){this.host.nativeElement.style.width=`${n}px`,this.host.nativeElement.style.height=`${n}px`}}return e.\u0275fac=function(n){return new(n||e)(g(Ou),g(Ee))},e.\u0275cmp=Pe({type:e,selectors:[["eui-svg-icon"]],inputs:{size:"size",icon:"icon"},decls:2,vars:5,template:function(n,i){1&n&&(function hf(){R.lFrame.currentNamespace="svg"}(),z(0,"svg"),Gt(1,"use"),q()),2&n&&(uc("height",i.size,"px")("width",i.size,"px"),H(1),Ft("href",i.spriteHref,null,"xlink"))},styles:["[_nghost-%COMP%]{margin:0 auto;padding:0;display:flex;align-items:center;justify-content:center;fill:none;fill:currentColor}"]}),e})(),Ru=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[QF],imports:[bn]}),e})();const{isArray:JF}=Array,{getPrototypeOf:eO,prototype:tO,keys:nO}=Object;function rO(e,t){return e.reduce((n,i,o)=>(n[i]=t[o],n),{})}function sO(...e){const t=function GC(e){return X(ca(e))?e.pop():void 0}(e),{args:n,keys:i}=function iO(e){if(1===e.length){const t=e[0];if(JF(t))return{args:t,keys:null};if(function oO(e){return e&&"object"==typeof e&&eO(e)===tO}(t)){const n=nO(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}(e),o=new Fe(r=>{const{length:s}=n;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;gt(n[u]).subscribe(pt(r,f=>{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||r.next(i?rO(i,a):a),r.complete())}))}});return t?o.pipe(Dy(t)):o}let Uy=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(g(jn),g(Ee))},e.\u0275dir=O({type:e}),e})(),Xn=(()=>{class e extends Uy{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=function Re(e){return hn(()=>{const t=e.prototype.constructor,n=t[Jt]||Ua(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[Jt]||Ua(o);if(r&&r!==n)return r;o=Object.getPrototypeOf(o)}return r=>new r})}(e)))(i||e)}}(),e.\u0275dir=O({type:e,features:[j]}),e})();const Be=new A("NgValueAccessor"),lO={provide:Be,useExisting:W(()=>Pu),multi:!0},uO=new A("CompositionEventMode");let Pu=(()=>{class e extends Uy{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function cO(){const e=Kt()?Kt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(g(jn),g(Ee),g(uO,8))},e.\u0275dir=O({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,i){1&n&&ce("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:[J([lO]),j]}),e})();const je=new A("NgValidators"),In=new A("NgAsyncValidators");function ev(e){return null!=e}function tv(e){return Qr(e)?ua(e):e}function nv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function iv(e,t){return t.map(n=>n(e))}function ov(e){return e.map(t=>function hO(e){return!e.validate}(t)?t:n=>t.validate(n))}function ku(e){return null!=e?function rv(e){if(!e)return null;const t=e.filter(ev);return 0==t.length?null:function(n){return nv(iv(n,t))}}(ov(e)):null}function Nu(e){return null!=e?function sv(e){if(!e)return null;const t=e.filter(ev);return 0==t.length?null:function(n){return sO(iv(n,t).map(tv)).pipe(ei(nv))}}(ov(e)):null}function av(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Vu(e){return e?Array.isArray(e)?e:[e]:[]}function Hs(e,t){return Array.isArray(e)?e.includes(t):e===t}function uv(e,t){const n=Vu(t);return Vu(e).forEach(o=>{Hs(n,o)||n.push(o)}),n}function dv(e,t){return Vu(t).filter(n=>!Hs(e,n))}class fv{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(t){this._rawValidators=t||[],this._composedValidatorFn=ku(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Nu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ye extends fv{get formDirective(){return null}get path(){return null}}class xn extends fv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let pv=(()=>{class e extends class hv{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(g(xn,2))},e.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,i){2&n&&Jr("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]}),e})();const Go="VALID",Us="INVALID",Gi="PENDING",Wo="DISABLED";function mv(e){return Array.isArray(e)?ku(e):e||null}function _v(e){return Array.isArray(e)?Nu(e):e||null}function zs(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function qo(e,t){(function zu(e,t){const n=function lv(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(av(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function cv(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(av(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();qs(t._rawValidators,o),qs(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function EO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Dv(e,t)})}(e,t),function SO(e,t){const n=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function bO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Dv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function wO(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function qs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Dv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Sv(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function Mv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const RO={provide:xn,useExisting:W(()=>Yu)},Av=(()=>Promise.resolve())();let Yu=(()=>{class e extends xn{constructor(n,i,o,r,s){super(),this._changeDetectorRef=s,this.control=new class extends class Cv{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=mv(this._rawValidators),this._composedAsyncValidatorFn=_v(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Go}get invalid(){return this.status===Us}get pending(){return this.status==Gi}get disabled(){return this.status===Wo}get enabled(){return this.status!==Wo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=mv(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=_v(t)}addValidators(t){this.setValidators(uv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(uv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(dv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(dv(t,this._rawAsyncValidators))}hasValidator(t){return Hs(this._rawValidators,t)}hasAsyncValidator(t){return Hs(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Gi,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Wo,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Go,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Go||this.status===Gi)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wo:Go}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Gi,this._hasOwnPendingAsyncValidator=!0;const n=tv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,o)=>i&&i._find(o),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new se,this.statusChanges=new se}_calculateStatus(){return this._allControlsDisabled()?Wo:this.errors?Us:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gi)?Gi:this._anyControlsHaveStatus(Us)?Us:Go}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){zs(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}{constructor(t=null,n,i){super(function Hu(e){return(zs(e)?e.validators:e)||null}(n),function $u(e,t){return(zs(t)?t.asyncValidators:e)||null}(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zs(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=Mv(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Sv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Sv(this._onDisabledChange,t)}_forEachChild(t){}_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(t){Mv(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},this._registered=!1,this.update=new se,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function Wu(e,t){if(!t)return null;let n,i,o;return Array.isArray(t),t.forEach(r=>{r.constructor===Pu?n=r:function xO(e){return Object.getPrototypeOf(e.constructor)===Xn}(r)?i=r:o=r}),o||i||n||null}(0,r)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Gu(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){qo(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(n){Av.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,o=0!==i&&function Zc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);Av.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Gs(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(g(Ye,9),g(je,10),g(In,10),g(Be,10),g(Xt,8))},e.\u0275dir=O({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[J([RO]),j,yt]}),e})(),Ov=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})(),o1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({imports:[Ov]}),e})(),r1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({imports:[o1]}),e})();const Xv=["*"];let Ze=(()=>{class e{constructor(){this.disabled=!1,this.order=[],this._multiselect=!1,this._distributor=new Ls({isSelect:!1,notify:!1,value:void 0}),this._focusSubject=new Ls(null)}get isMultiselect(){return this._multiselect}get value(){return this._distributor.value}get value$(){return this._distributor.asObservable()}get focused(){return this._focusSubject.value}get focused$(){return this._focusSubject.asObservable()}changeValue(n,i,o=!0){this.disabled||this._distributor.next({value:n,notify:o,isSelect:i})}setFocused(n){this._focusSubject.next(n)}blur(){this._focusSubject.next(null)}checkPrev(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue();this.changeValue(this.order[0===n?this.order.length-1:n-1],!0)}checkNext(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue();this.changeValue(this.order[n===this.order.length-1?0:n+1],!0)}handleFocus(n,i){switch(n){case"ArrowUp":case"ArrowLeft":this.setFocused(this.order[0===i?this.order.length-1:i-1]);break;case"ArrowDown":case"ArrowRight":this.setFocused(this.order[i===this.order.length-1?0:i+1]);break;case"Enter":case"Space":case" ":this.setFocused(this.order[0])}}multiSelectMode(){this._multiselect=!0}_getIndexOfCurrentValue(){const n=this.order.indexOf(this._distributor.value.value);return-1===n?0:n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Kv=(()=>{class e{constructor(){this.disabled=!1,this.choose=new se,this.onChange=n=>{},this.onTouched=()=>{}}get disabledCssClass(){return this.disabled?`${this.prefix}-disabled`:""}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}writeValue(n){this._selectionSrv.changeValue(n,!1)}setDisabledState(n){this.disabled=n,this._selectionSrv.disabled=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Pe({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(n,i){2&n&&function dc(e){Pt(dt,Yt,e,!0)}(i.disabledCssClass)},inputs:{disabled:"disabled"},outputs:{choose:"choose"},decls:0,vars:0,template:function(n,i){},encapsulation:2,changeDetection:0}),e})(),td=(()=>{class e extends Kv{constructor(n,i,o){super(),this.prefix=n,this._selectionSrv=i,this._hostElement=o,this.focused=!1,this.tabindex=0,this._valueSubs=this._selectionSrv.value$.pipe(ks(r=>r.notify),ei(r=>r.value)).subscribe(r=>{this.choose.emit(r),this.onChange(r),this.onTouched()})}setFocus(){this.disabled||(this.focused=!0,this.focused?this._hostElement.nativeElement.classList.add(`${this.prefix}-focused`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-focused`))}blur(){this.focused=!1,this.focused?this._hostElement.nativeElement.classList.add(`${this.prefix}-focused`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-focused`)}onKeyPress(n){if("ArrowUp"===n.key||"ArrowLeft"===n.key)return n.preventDefault(),void this._selectionSrv.checkPrev();("ArrowDown"===n.key||"ArrowRight"===n.key)&&(n.preventDefault(),this._selectionSrv.checkNext())}ngOnChanges(n){var i;this._selectionSrv.disabled=!0===(null===(i=n.disabled)||void 0===i?void 0:i.currentValue),this.tabindex=this.disabled?-1:0}ngOnDestroy(){var n;null===(n=this._valueSubs)||void 0===n||n.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(g("EUI_PREFIX"),g(Ze),g(Ee))},e.\u0275cmp=Pe({type:e,selectors:[["eui-selection"]],hostVars:1,hostBindings:function(n,i){1&n&&ce("keyup",function(){return i.setFocus()})("click",function(){return i.blur()})("blur",function(){return i.blur()})("keydown",function(r){return i.onKeyPress(r)}),2&n&&Ft("tabindex",i.tabindex)},features:[J([Ze,{provide:Be,useExisting:W(()=>e),multi:!0}]),j,yt],ngContentSelectors:Xv,decls:1,vars:0,template:function(n,i){1&n&&(function Wt(e){const t=v()[16][6];if(!t.projection){const i=t.projection=ao(e?e.length:1,null),o=i.slice();let r=t.child;for(;null!==r;){const s=e?G0(r,e):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}(),function qt(e,t=0,n){const i=v(),o=U(),r=bi(o,22+e,16,null,n||null);null===r.projection&&(r.projection=t),Oa(),64!=(64&r.flags)&&function cE(e,t,n){hh(t[L],0,t,n,oh(e,n,t),lh(n.parent||t[6],n,t))}(o,i,r)}(0))},styles:["[_nghost-%COMP%]:focus, [_nghost-%COMP%]:focus-visible, [_nghost-%COMP%]:focus-within{outline: none}"],changeDetection:0}),e})(),Wi=(()=>{class e{get selectionIsAllowed(){return null!==this._selectionSrv&&this.selectable}ngOnInit(){var n,i;null!=this._selectionSrv&&(null!=this.value&&!(null!==(i=null===(n=this._selectionSrv)||void 0===n?void 0:n.order)&&void 0!==i&&i.includes(this.value))&&this._selectionSrv.order.push(this.value),this.selected=this.checked,this.selectionIsAllowed&&(this._valueSubscription=this._selectionSrv.value$.subscribe(o=>this._switchSelectable(o)),this.checked&&this._selectionSrv.changeValue(this.value,!0,!1)))}ngOnDestroy(){var n;null===(n=this._valueSubscription)||void 0===n||n.unsubscribe()}_switchSelectable(n){this._selectionSrv.isMultiselect?n.value===this.value&&(this.selected=n.isSelect):this.selected=this.value===n.value,this._cdr.detectChanges()}_applySelect(){var n;null!=this._selectionSrv&&this.selectable&&(this._selectionSrv.changeValue(this.value,!this.selected,!0),null===(n=this._appRef)||void 0===n||n.tick())}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=O({type:e}),e})(),a1=(()=>{class e extends Wi{constructor(n,i,o,r,s){super(),this.prefix=n,this._hostElement=i,this._appRef=o,this._selectionSrv=r,this._cdr=s,this.selectable=!0}ngOnInit(){this._toggleSelected(this.checked),null!=this._selectionSrv&&(this._selectionSrv.order.push(this.value),this._valueSubscription=this._selectionSrv.value$.subscribe(n=>{this._switchSelectable(n),this._toggleSelected(this.selected)}),this.checked&&this._selectionSrv.changeValue(this.value,!0,!1))}handleClick(){this._applySelect()}_toggleSelected(n){n?this._hostElement.nativeElement.classList.add(`${this.prefix}-selected`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-selected`)}}return e.\u0275fac=function(n){return new(n||e)(g("EUI_PREFIX"),g(Ee),g(Nt),g(Ze,8),g(Xt))},e.\u0275dir=O({type:e,selectors:[["","euiSelection",""]],hostBindings:function(n,i){1&n&&ce("click",function(){return i.handleClick()})("keyup.enter",function(){return i.handleClick()})},inputs:{checked:"checked",value:"value"},features:[j]}),e})(),Zo=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[bn]}),e})(),l1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[bn,Zo]}),e})(),u1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[bn,Zo,Ru]}),e})(),h1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[bn,Zo]}),e})();new nt({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,2),new nt({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,2);let b1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[Zo,bn,Ru,$y,Oy]}),e})();const S1=["overlayContainer"],M1=["overlay"],I1=["tooltipRef"];function x1(e,t){if(1&e&&(z(0,"p"),Cn(1," : "),z(2,"span"),Cn(3),q()()),2&e){const n=wt();te("",n.prefix,"-header__value"),H(3),Un(n.value)}}function T1(e,t){if(1&e&&(z(0,"div"),Cn(1),q()),2&e){const n=wt(2);te("",n.prefix,"-header__tooltip-text"),H(1),Un(n.tooltip)}}function A1(e,t){if(1&e){const n=function lc(){return v()}();z(0,"div",2,3),ce("click",function(){return function Ta(e){return R.lFrame.contextLView=e,e[8]}(n),function Aa(e){return R.lFrame.contextLView=null,e}(wt().clickOverlay())}),Gt(2,"eui-svg-icon",4),ki(3,null,5),et(5,T1,2,4,"ng-template",null,6,Ac),q()}if(2&e){const n=wt();te("",n.prefix,"-header__tooltip"),H(2),Q("icon",n.iconName)("size",16)}}function F1(e,t){if(1&e&&(z(0,"div"),Cn(1),q()),2&e){const n=wt();te("",n.prefix,"-header__description"),H(1),Un(n.description)}}function O1(e,t){1&e&&Gt(0,"eui-svg-icon",2),2&e&&Q("icon","au-alert")}function P1(e,t){if(1&e&&(z(0,"div"),Cn(1),q()),2&e){const n=wt().$implicit;te("",wt().prefix,"-content__value-text"),H(1),ts(" ",n.additionalText," ")}}function k1(e,t){if(1&e&&(z(0,"div",3)(1,"div"),Gt(2,"mdo-swatch",4),q(),z(3,"div")(4,"div"),Cn(5),q(),et(6,P1,2,4,"div",5),q()()),2&e){const n=t.$implicit,i=wt();te("",i.prefix,"-content__item"),Q("value",n),H(1),te("",i.prefix,"-content__preview"),H(1),Q("color",n.color)("url",n.imageUrl)("type",i.swatchType),H(1),te("",i.prefix,"-content__value"),H(1),te("",i.prefix,"-content__value-name"),H(1),Un(n.name),H(1),Q("ngIf",null!=n.additionalText&&!1!==i.option.showValueAdditionalText)}}const U1=[new nt({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,0,"mdo-header__tooltip_tc"),new nt({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,0,"mdo-header__tooltip_tl"),new nt({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,0,"mdo-header__tooltip_tr"),new nt({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,0,"mdo-header__tooltip_bc"),new nt({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,0,"mdo-header__tooltip_bl"),new nt({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,0,"mdo-header__tooltip_br")];let z1=(()=>{class e{constructor(n,i,o,r,s){this.prefix=n,this._overlay=i,this._viewRef=o,this._hostElement=r,this._platform=s,this.positions=U1,this.name="",this.showValueInTitle=!1,this.useCustomTooltip=!1,this.byToggleTooltip=new se,this.iconName="au-uif-tooltip",this.showTooltip=new Ls(!1),this.showTooltip.subscribe(()=>{this.useCustomTooltip||this.toggleOverlay(),this.byToggleTooltip.emit(this.showTooltip)})}set icon(n){null!=n&&(this.iconName=n)}get isIOS(){return this._platform.IOS}clickOverlay(){this.showTooltip.next(!this.showTooltip.value)}clickedOutside(){this.showTooltip.next(!1)}toggleOverlay(){if(this.showTooltip.value){const n=window.innerHeight>document.documentElement.clientHeight,i=window.innerWidth==document.documentElement.clientWidth,o=this.isIOS&&n&&i?window.innerHeight-document.documentElement.clientHeight:0,r=new Fu({positionStrategy:this._overlay.position().flexibleConnectedTo(this.tooltipRef).setOrigin(this.tooltipRef).withPositions([new nt({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-o,"mdo-header__tooltip_tc"),new nt({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,-o,"mdo-header__tooltip_tl"),new nt({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,-o,"mdo-header__tooltip_tr"),new nt({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,-o,"mdo-header__tooltip_bc"),new nt({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,-o,"mdo-header__tooltip_bl"),new nt({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,-o,"mdo-header__tooltip_br")]).withPush(!1).withFlexibleDimensions(!0),scrollStrategy:this._overlay.scrollStrategies.close()});this._overlayRef=this._overlay.create(r),this._overlayRef.outsidePointerEvents().subscribe(s=>{!Array.from(this._hostElement.nativeElement.children).includes(s.target)&&this.showTooltip.next(!1)}),this._overlayRef.attach(new Tu(this._overlayTemplate,this._overlayContainer)),this._overlayRef.updatePosition()}else!this.showTooltip.value&&this._overlayRef&&this._overlayRef.dispose()}}return e.\u0275fac=function(n){return new(n||e)(g("EUI_PREFIX"),g(Vs),g(ht),g(Ee),g(Ui))},e.\u0275cmp=Pe({type:e,selectors:[["mdo-header"]],viewQuery:function(n,i){if(1&n&&(ji(S1,5,ht),ji(M1,5),ji(I1,5,Ee)),2&n){let o;Dn(o=wn())&&(i._overlayContainer=o.first),Dn(o=wn())&&(i._overlayTemplate=o.first),Dn(o=wn())&&(i.tooltipRef=o.first)}},inputs:{name:"name",value:"value",tooltip:"tooltip",description:"description",showValueInTitle:"showValueInTitle",useCustomTooltip:"useCustomTooltip",icon:"icon"},outputs:{byToggleTooltip:"byToggleTooltip"},decls:7,vars:13,consts:[[3,"class",4,"ngIf"],[3,"class","click",4,"ngIf"],[3,"click"],["tooltipRef",""],[3,"icon","size"],["overlayContainer",""],["overlay",""]],template:function(n,i){1&n&&(z(0,"div")(1,"div")(2,"p"),Cn(3),q(),et(4,x1,4,4,"p",0),et(5,A1,7,5,"div",1),q(),et(6,F1,2,4,"div",0),q()),2&n&&(te("",i.prefix,"-header"),H(1),te("",i.prefix,"-header__group"),H(1),te("",i.prefix,"-header__title"),H(1),Un(i.name),H(1),Q("ngIf",i.showValueInTitle&&null!=i.value),H(1),Q("ngIf",null!=i.tooltip),H(1),Q("ngIf",null!=i.description))},dependencies:[Lo,Bs]}),e})(),W1=(()=>{class e extends Wi{constructor(n,i,o,r){super(),this._cdr=n,this.prefix=i,this._selectionSrv=o,this._appRef=r,this.type="image",this.alt="",this.checked=!1,this.selectable=!0,this.width=136,this.height=136}get classes(){return{[`${this.prefix}-selected`]:this.selected,[`${this.prefix}-swatch__image`]:"image"===this.type,[`${this.prefix}-swatch_empty`]:this.isEmpty,[`${this.prefix}-swatch__color`]:"color"===this.type}}get showImage(){return null!=this.url}get isEmpty(){return null==this.url&&null==this.color||"empty"===this.type}get showColor(){return null==this.url&&null!=this.color}getStyles(){return function G1(e){return e.imageUrl?{background:`url(${e.imageUrl})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}:e.color?{background:e.color}:null}({imageUrl:this.url,color:this.color})}handleClick(){null!=this.value&&this._applySelect()}}return e.\u0275fac=function(n){return new(n||e)(g(Xt),g("EUI_PREFIX"),g(Ze,8),g(Nt))},e.\u0275cmp=Pe({type:e,selectors:[["mdo-swatch"]],inputs:{url:"url",type:"type",alt:"alt",checked:"checked",color:"color",selectable:"selectable",value:"value",width:"width",height:"height"},features:[j],decls:3,vars:7,consts:[[3,"ngClass","click"],[3,"icon",4,"ngIf"],[3,"icon"]],template:function(n,i){1&n&&(z(0,"div",0),ce("click",function(){return i.handleClick()}),z(1,"div"),et(2,O1,1,1,"eui-svg-icon",1),q()()),2&n&&(te("",i.prefix,"-swatch"),Q("ngClass",i.classes),H(1),function Ot(e){Pt(_g,tS,e,!1)}(i.getStyles()),H(1),Q("ngIf",i.isEmpty))},dependencies:[qn,Lo,Bs],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]}),e})(),Y1=(()=>{class e extends class q1{get swatchType(){return this.config?.swatchType||"image"}}{constructor(n){super(),this.prefix=n,this.changed=new se,this.toggleTooltip=new se}get swatchType(){return this.config?.swatchType??"image"}}return e.\u0275fac=function(n){return new(n||e)(g("EUI_PREFIX"))},e.\u0275cmp=Pe({type:e,selectors:[["mdo-image-list"]],inputs:{option:"option",config:"config"},outputs:{changed:"changed",toggleTooltip:"toggleTooltip"},features:[j],decls:4,vars:15,consts:[[3,"showValueInTitle","useCustomTooltip","name","value","tooltip","description","icon","byToggleTooltip"],[3,"disabled","ngModel","ngModelChange"],["euiSelection","",3,"class","value",4,"ngFor","ngForOf"],["euiSelection","",3,"value"],[3,"color","url","type"],[3,"class",4,"ngIf"]],template:function(n,i){1&n&&(z(0,"mdo-header",0),ce("byToggleTooltip",function(r){return i.toggleTooltip.emit(r)}),q(),z(1,"eui-selection",1),ce("ngModelChange",function(r){return i.changed.emit(r)}),z(2,"div"),et(3,k1,7,18,"div",2),q()()),2&n&&(Q("showValueInTitle",null==i.config?null:i.config.showValueInTitle)("useCustomTooltip",null==i.config?null:i.config.useCustomTooltip)("name",null==i.option?null:i.option.name)("value",null==i.option||null==i.option.selected?null:i.option.selected.name)("tooltip",null==i.option?null:i.option.tooltip)("description",null==i.option?null:i.option.description)("icon",null==i.config?null:i.config.tooltipIcon),H(1),Q("disabled",null==i.config?null:i.config.disabled)("ngModel",null==i.option?null:i.option.selected),H(1),function Tg(e,t,n,i,o,r,s){Pt(dt,Yt,Ti(v(),e,t,n,i,o,r,s),!0)}("",i.prefix,"-content ",i.prefix,"-content_list ",i.prefix,"-content_image-list"),H(1),Q("ngForOf",null==i.option?null:i.option.values))},dependencies:[su,Lo,td,a1,pv,Yu,z1,W1],encapsulation:2,changeDetection:0}),e})(),Z1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"mdo"}],imports:[bn,Ru,Zo,r1,$y,u1,l1,h1,b1]}),e})();class X1 extends it{constructor(t=1/0,n=1/0,i=wu){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:o,_timestampProvider:r,_windowTime:s}=this;n||(i.push(t),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;s<r.length&&!t.closed;s+=i?1:2)t.next(r[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:i,_infiniteTimeWindow:o}=this,r=(o?1:2)*t;if(t<1/0&&r<i.length&&i.splice(0,i.length-r),!o){const s=n.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}const Zs={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return Zs.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Zs.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let nd;function sR(e,t,n){let i=n;return function J1(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,r)=>!("*"===o||!function tR(e,t){if(!nd){const n=Element.prototype;nd=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&nd.call(e,t)}(e,o)||(i=r,0))),i}class lR{constructor(t,n){this.componentFactory=n.get(Bn).resolveComponentFactory(t)}create(t){return new cR(this.componentFactory,t)}}class cR{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new X1(1),this.events=this.eventEmitters.pipe(function K1(e,t){return Bt((n,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();n.subscribe(pt(i,l=>{o?.unsubscribe();let c=0;const u=r++;gt(e(l,u)).subscribe(o=pt(i,d=>i.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(i=>da(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(fe),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Zs.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){this.runInZone(()=>{null!==this.componentRef?function nR(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=Ct.create({providers:[],parent:this.injector}),i=function rR(e,t){const n=e.childNodes,i=t.map(()=>[]);let o=-1;t.some((r,s)=>"*"===r&&(o=s,!0));for(let r=0,s=n.length;r<s;++r){const a=n[r],l=sR(a,t,o);-1!==l&&i[l].push(a)}return i}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,i,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Xt),this.implementsOnChanges=function eR(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Nt).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:i,templateName:o})=>t.instance[i].pipe(ei(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Zs.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=n);const o=this.unchangedInputs.has(t),r=o?void 0:this.getInputValue(t);this.inputChanges[t]=new Yd(r,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class uR extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let fR=(()=>{class e{constructor(n){this._injector=n}ngDoBootstrap(){const n=function dR(e,t){const n=function oR(e,t){return t.get(Bn).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new lR(e,t.injector),o=function iR(e){const t={};return e.forEach(({propName:n,templateName:i})=>{t[function Q1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=n}),t}(n);class r extends uR{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(o[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return r.observedAttributes=Object.keys(o),n.forEach(({propName:s})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),r}(Y1,{injector:this._injector});customElements.define("au-image-list",n)}}return e.\u0275fac=function(n){return new(n||e)(w(Ct))},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:Ou,useValue:""}],imports:[VA,Z1]}),e})();(function JI(){y_=!1})(),NA().bootstrapModule(fR,{ngZone:"noop"}).catch(e=>console.error(e))}},X=>{X(X.s=521)}]);