(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{"/uUt":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0EQZ":function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return d}),n.d(e,"d",function(){return p}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return h}),n.d(e,"g",function(){return f}),n.d(e,"h",function(){return l});var i=n("7+OI"),r=n("LRne"),s=n("XNiG"),o=n("fXoL");class a{}function l(t){return t&&"function"==typeof t.connect}class c extends a{constructor(t){super(),this._data=t}connect(){return Object(i.a)(this._data)?this._data:Object(r.a)(this._data)}disconnect(){}}class u{applyChanges(t,e,n,i,r){t.forEachOperation((t,i,s)=>{let o,a;if(null==t.previousIndex){const r=n(t,i,s);o=e.createEmbeddedView(r.templateRef,r.context,r.index),a=1}else null==s?(e.remove(i),a=3):(o=e.get(i),e.move(o,s),a=2);r&&r({context:null==o?void 0:o.context,operation:a,record:t})})}detach(){}}class h{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(t,e,n,i,r){t.forEachOperation((t,s,o)=>{let a,l;null==t.previousIndex?(a=this._insertView(()=>n(t,s,o),o,e,i(t)),l=a?1:0):null==o?(this._detachAndCacheView(s,e),l=3):(a=this._moveView(s,o,e,i(t)),l=2),r&&r({context:null==a?void 0:a.context,operation:l,record:t})})}detach(){for(const t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,e,n,i){const r=this._insertViewFromCache(e,n);if(r)return void(r.context.$implicit=i);const s=t();return n.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(t,e){const n=e.detach(t);this._maybeCacheView(n,e)}_moveView(t,e,n,i){const r=n.get(t);return n.move(r,e),r.context.$implicit=i,r}_maybeCacheView(t,e){if(this._viewCache.lengththis._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let p=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})();const f=new o.InjectionToken("_ViewRepeater")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("bHdf");function r(){return Object(i.a)(1)}},"0Pi8":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("GyhO"),r=n("LRne");function s(...t){return e=>Object(i.a)(e,Object(r.a)(...t))}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.notifier=t}call(t,e){const n=new o(t),r=Object(i.c)(this.notifier,new i.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class o extends i.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1uah":function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return c});var i=n("yCtX"),r=n("DH7j"),s=n("7o/Q"),o=n("Lhse"),a=n("zx2A");function l(...t){const e=t[t.length-1];return"function"==typeof e&&t.pop(),Object(i.a)(t,void 0).lift(new c(e))}class c{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new u(t,this.resultSelector))}}class u extends s.a{constructor(t,e,n=Object.create(null)){super(t),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(t){const e=this.iterators;Object(r.a)(t)?e.push(new d(t)):e.push("function"==typeof t[o.a]?new h(t[o.a]()):new p(this.destination,this,t))}_complete(){const t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(let n=0;nthis.index}hasCompleted(){return this.array.length===this.index}}class p extends a.b{constructor(t,e,n){super(t),this.parent=e,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[o.a](){return this}next(){const t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(t){this.buffer.push(t),this.parent.checkIterators()}subscribe(){return Object(a.c)(this.observable,new a.a(this))}}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("XNiG"),r=n("9ppp");class s extends i.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(t){super.next(this._value=t)}}},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"34QU":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("ofXK"),r=n("fXoL");let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[i.CommonModule]]}),t})()},"3E0/":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("D0XW"),r=n("mlxB"),s=n("7o/Q"),o=n("WMd4");function a(t,e=i.a){const n=Object(r.a)(t)?+t-e.now():Math.abs(t);return t=>t.lift(new l(n,e))}class l{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))}}class c extends s.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new u(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(o.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(o.a.createComplete()),this.unsubscribe()}}class u{constructor(t,e){this.time=t,this.notification=e}}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("quSY");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class s extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(r){i=!0,n=!!r&&r||new Error(r)}if(i)return this.unsubscribe(),n}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3Pt+":function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return Ht}),n.d(e,"c",function(){return f}),n.d(e,"d",function(){return Qt}),n.d(e,"e",function(){return pt}),n.d(e,"f",function(){return It}),n.d(e,"g",function(){return St}),n.d(e,"h",function(){return Gt}),n.d(e,"i",function(){return Wt}),n.d(e,"j",function(){return b}),n.d(e,"k",function(){return c}),n.d(e,"l",function(){return B}),n.d(e,"m",function(){return U}),n.d(e,"n",function(){return q}),n.d(e,"o",function(){return _t}),n.d(e,"p",function(){return Ct}),n.d(e,"q",function(){return jt}),n.d(e,"r",function(){return Ot}),n.d(e,"s",function(){return Yt}),n.d(e,"t",function(){return Zt}),n.d(e,"u",function(){return Bt}),n.d(e,"v",function(){return Dt}),n.d(e,"w",function(){return v}),n.d(e,"x",function(){return wt}),n.d(e,"y",function(){return Vt});var i=n("fXoL"),r=n("ofXK"),s=n("Cfvw"),o=n("cp0P"),a=n("lJxs");class l{}const c=new i.InjectionToken("NgValueAccessor"),u={provide:c,useExisting:Object(i.forwardRef)(()=>h),multi:!0};let h=(()=>{class t extends l{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[i["\u0275\u0275ProvidersFeature"]([u]),i["\u0275\u0275InheritDefinitionFeature"]]}),t})();const d={provide:c,useExisting:Object(i.forwardRef)(()=>f),multi:!0},p=new i.InjectionToken("CompositionEventMode");let f=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(r["\u0275getDOM"])()?Object(r["\u0275getDOM"])().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](p,8))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i["\u0275\u0275ProvidersFeature"]([d])]}),t})();function g(t){return null==t||0===t.length}function m(t){return null!=t&&"number"==typeof t.length}const b=new i.InjectionToken("NgValidators"),_=new i.InjectionToken("NgAsyncValidators"),y=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class v{static min(t){return function(t){return e=>{if(g(e.value)||g(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(g(e.value)||g(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return C(t)}static requiredTrue(t){return w(t)}static email(t){return function(t){return g(t.value)||y.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>g(e.value)||!m(e.value)?null:e.value.lengthm(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function O(t){if(!t)return k;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(g(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function k(t){return null}function E(t){return null!=t}function P(t){const e=Object(i["\u0275isPromise"])(t)?Object(s.a)(t):t;return Object(i["\u0275isObservable"])(e),e}function S(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function M(t,e){return e.map(e=>e(t))}function I(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function A(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){return S(M(t,e))}}function T(t){return null!=t?A(I(t)):null}function D(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){const n=M(t,e).map(P);return Object(o.a)(n).pipe(Object(a.a)(S))}}function j(t){return null!=t?D(I(t)):null}function R(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function N(t){return t._rawValidators}function F(t){return t._rawAsyncValidators}let V=(()=>{class t{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=T(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=j(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,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t}),t})(),L=(()=>{class t extends V{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return z(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,features:[i["\u0275\u0275InheritDefinitionFeature"]]}),t})();const z=i["\u0275\u0275getInheritedFactory"](L);class B extends V{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class H{constructor(t){this._cd=t}is(t){var e,n;return!!(null===(n=null===(e=this._cd)||void 0===e?void 0:e.control)||void 0===n?void 0:n[t])}}let U=(()=>{class t extends H{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](B,2))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i["\u0275\u0275classProp"]("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),t})(),q=(()=>{class t extends H{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](L,10))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i["\u0275\u0275classProp"]("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),t})();function W(t,e){return[...e.path,t]}function K(t,e){G(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Q(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Q(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Y(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Z(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function X(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function G(t,e,n){const i=N(t);null!==e.validator?t.setValidators(R(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const r=F(t);if(null!==e.asyncValidator?t.setAsyncValidators(R(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]),n){const n=()=>t.updateValueAndValidity();X(e._rawValidators,n),X(e._rawAsyncValidators,n)}}function Z(t,e,n){let i=!1;if(null!==t){if(null!==e.validator){const n=N(t);if(Array.isArray(n)&&n.length>0){const r=n.filter(t=>t!==e.validator);r.length!==n.length&&(i=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const n=F(t);if(Array.isArray(n)&&n.length>0){const r=n.filter(t=>t!==e.asyncValidator);r.length!==n.length&&(i=!0,t.setAsyncValidators(r))}}}if(n){const t=()=>{};X(e._rawValidators,t),X(e._rawAsyncValidators,t)}return i}function Q(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function $(t,e){G(t,e,!1)}function J(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function tt(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function et(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach(t=>{t.constructor===f?n=t:Object.getPrototypeOf(t.constructor)===l?i=t:r=t}),r||i||n||null}function nt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const it="VALID",rt="INVALID",st="PENDING",ot="DISABLED";function at(t){return(ht(t)?t.validators:t)||null}function lt(t){return Array.isArray(t)?T(t):t||null}function ct(t,e){return(ht(e)?e.asyncValidators:t)||null}function ut(t){return Array.isArray(t)?j(t):t||null}function ht(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class dt{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=lt(this._rawValidators),this._composedAsyncValidatorFn=ut(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===it}get invalid(){return this.status===rt}get pending(){return this.status==st}get disabled(){return this.status===ot}get enabled(){return this.status!==ot}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=lt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ut(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(t=>{t.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(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=st,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=ot,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=it,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==it&&this.status!==st||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(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ot:it}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=st,this._hasOwnPendingAsyncValidator=!0;const e=P(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof ft?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof gt&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}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 i.EventEmitter,this.statusChanges=new i.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ot:this.errors?rt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(st)?st:this._anyControlsHaveStatus(rt)?rt:it}_anyControlsHaveStatus(t){return this._anyControls(e=>e.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)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ht(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class pt extends dt{constructor(t=null,e,n){super(at(e),ct(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){nt(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){nt(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){this._isBoxedValue(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}}class ft extends dt{constructor(t,e,n){super(at(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof pt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class gt extends dt{constructor(t,e,n){super(at(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof pt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const mt={provide:L,useExisting:Object(i.forwardRef)(()=>_t)},bt=(()=>Promise.resolve(null))();let _t=(()=>{class t extends L{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.EventEmitter,this.form=new ft({},T(t),j(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){bt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),K(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),nt(this._directives,t)})}addFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path),n=new ft({});$(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){bt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,tt(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](b,10),i["\u0275\u0275directiveInject"](_,10))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i["\u0275\u0275ProvidersFeature"]([mt]),i["\u0275\u0275InheritDefinitionFeature"]]}),t})();const yt={provide:B,useExisting:Object(i.forwardRef)(()=>Ct)},vt=(()=>Promise.resolve(null))();let Ct=(()=>{class t extends B{constructor(t,e,n,r){super(),this.control=new pt,this._registered=!1,this.update=new i.EventEmitter,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=et(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),J(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?W(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){K(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(t){vt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;vt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](L,9),i["\u0275\u0275directiveInject"](b,10),i["\u0275\u0275directiveInject"](_,10),i["\u0275\u0275directiveInject"](c,10))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i["\u0275\u0275ProvidersFeature"]([yt]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const xt={provide:c,useExisting:Object(i.forwardRef)(()=>Ot),multi:!0};let Ot=(()=>{class t extends l{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i["\u0275\u0275ProvidersFeature"]([xt]),i["\u0275\u0275InheritDefinitionFeature"]]}),t})(),kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({}),t})();const Et=new i.InjectionToken("NgModelWithFormControlWarning"),Pt={provide:L,useExisting:Object(i.forwardRef)(()=>St)};let St=(()=>{class t extends L{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.EventEmitter,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Z(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return K(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Y(t.control||null,t,!1),nt(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,tt(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(Y(e||null,t),n instanceof pt&&(K(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);$(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return Z(t,e,!1)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){G(this.form,this,!1),this._oldForm&&Z(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](b,10),i["\u0275\u0275directiveInject"](_,10))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i["\u0275\u0275ProvidersFeature"]([Pt]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),t})();const Mt={provide:B,useExisting:Object(i.forwardRef)(()=>It)};let It=(()=>{class t extends B{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.EventEmitter,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=et(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),J(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return W(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](L,13),i["\u0275\u0275directiveInject"](b,10),i["\u0275\u0275directiveInject"](_,10),i["\u0275\u0275directiveInject"](c,10),i["\u0275\u0275directiveInject"](Et,8))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i["\u0275\u0275ProvidersFeature"]([Mt]),i["\u0275\u0275InheritDefinitionFeature"],i["\u0275\u0275NgOnChangesFeature"]]}),t._ngModelWarningSentOnce=!1,t})();const At={provide:c,useExisting:Object(i.forwardRef)(()=>Dt),multi:!0};function Tt(t,e){return null==t?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Dt=(()=>{class t extends l{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=Tt(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i["\u0275\u0275ProvidersFeature"]([At]),i["\u0275\u0275InheritDefinitionFeature"]]}),t})(),jt=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Tt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](Dt,9))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Rt={provide:c,useExisting:Object(i.forwardRef)(()=>Ft),multi:!0};function Nt(t,e){return null==t?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Ft=(()=>{class t extends l{constructor(t,e){super(),this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Nt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Nt(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](Ft,9))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Lt={provide:b,useExisting:Object(i.forwardRef)(()=>Bt),multi:!0},zt={provide:b,useExisting:Object(i.forwardRef)(()=>Ht),multi:!0};let Bt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&"false"!=`${t}`,this._onChange&&this._onChange()}validate(t){return this.required?C(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i["\u0275\u0275attribute"]("required",e.required?"":null)},inputs:{required:"required"},features:[i["\u0275\u0275ProvidersFeature"]([Lt])]}),t})(),Ht=(()=>{class t extends Bt{validate(t){return this.required?w(t):null}}return t.\u0275fac=function(e){return Ut(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i["\u0275\u0275attribute"]("required",e.required?"":null)},features:[i["\u0275\u0275ProvidersFeature"]([zt]),i["\u0275\u0275InheritDefinitionFeature"]]}),t})();const Ut=i["\u0275\u0275getInheritedFactory"](Ht),qt={provide:b,useExisting:Object(i.forwardRef)(()=>Wt),multi:!0};let Wt=(()=>{class t{constructor(){this._validator=k}ngOnChanges(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null!=this.maxlength?this._validator(t):null}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=x("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i["\u0275\u0275attribute"]("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i["\u0275\u0275ProvidersFeature"]([qt]),i["\u0275\u0275NgOnChangesFeature"]]}),t})();const Kt={provide:b,useExisting:Object(i.forwardRef)(()=>Yt),multi:!0};let Yt=(()=>{class t{constructor(){this._validator=k}ngOnChanges(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=O(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i["\u0275\u0275attribute"]("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[i["\u0275\u0275ProvidersFeature"]([Kt]),i["\u0275\u0275NgOnChangesFeature"]]}),t})(),Xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[kt]]}),t})(),Gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[Xt]}),t})(),Zt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Et,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[Xt]}),t})(),Qt=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i,r=null,s=null;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,s=null!=e.asyncValidators?e.asyncValidators:null,i=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new ft(n,{asyncValidators:s,updateOn:i,validators:r})}control(t,e,n){return new pt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new gt(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof pt||t instanceof ft||t instanceof gt?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:Zt}),t})()},"3UWI":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("D0XW"),r=n("tnsW"),s=n("PqYM");function o(t,e=i.a){return Object(r.a)(()=>Object(s.a)(t,e))}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"b",function(){return o}),n.d(e,"a",function(){return c});var i=n("lJxs"),r=n("Cfvw"),s=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(o((n,s)=>Object(r.a)(t(n,s)).pipe(Object(i.a)((t,i)=>e(n,t,s,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const c=o},"5eHb":function(t,e,n){"use strict";n.d(e,"a",function(){return j}),n.d(e,"b",function(){return A});var i=n("fXoL"),r=n("R0Ic"),s=n("XNiG"),o=n("jhN1"),a=n("ofXK");const l=["toast-component",""];function c(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",5),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().remove()}),i["\u0275\u0275elementStart"](1,"span",6),i["\u0275\u0275text"](2,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function u(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275text"](1),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("[",t.duplicatesCount+1,"]")}}function h(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,u,2,1,"ng-container",4),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.options.titleClass),i["\u0275\u0275attribute"]("aria-label",t.title),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",t.title," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.duplicatesCount)}}function d(t,e){if(1&t&&i["\u0275\u0275element"](0,"div",7),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.options.messageClass),i["\u0275\u0275property"]("innerHTML",t.message,i["\u0275\u0275sanitizeHtml"])}}function p(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.options.messageClass),i["\u0275\u0275attribute"]("aria-label",t.message),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",t.message," ")}}function f(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",9),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("width",t.width+"%")}}function g(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",5),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().remove()}),i["\u0275\u0275elementStart"](1,"span",6),i["\u0275\u0275text"](2,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function m(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275text"](1),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("[",t.duplicatesCount+1,"]")}}function b(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,m,2,1,"ng-container",4),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.options.titleClass),i["\u0275\u0275attribute"]("aria-label",t.title),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",t.title," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.duplicatesCount)}}function _(t,e){if(1&t&&i["\u0275\u0275element"](0,"div",7),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.options.messageClass),i["\u0275\u0275property"]("innerHTML",t.message,i["\u0275\u0275sanitizeHtml"])}}function y(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.options.messageClass),i["\u0275\u0275attribute"]("aria-label",t.message),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",t.message," ")}}function v(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",9),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("width",t.width+"%")}}class C{constructor(t,e,n,i,r,o){this.toastId=t,this.config=e,this.message=n,this.title=i,this.toastType=r,this.toastRef=o,this._onTap=new s.a,this._onAction=new s.a,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}}const w={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},x=new i.InjectionToken("ToastConfig");class O{constructor(t,e){this.component=t,this.injector=e}attach(t,e){return this._attachedHost=t,t.attach(this,e)}detach(){const t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class k extends class{attach(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}}{constructor(t,e,n){super(),this._hostDomElement=t,this._componentFactoryResolver=e,this._appRef=n}attachComponentPortal(t,e){const n=this._componentFactoryResolver.resolveComponentFactory(t.component);let i;return i=n.create(t.injector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(i),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(i)),i}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let E=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.createElement("div");t.classList.add("overlay-container"),this._document.body.appendChild(t),this._containerElement=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](a.DOCUMENT))},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(i["\u0275\u0275inject"])(a.DOCUMENT))},token:t,providedIn:"root"}),t})();class P{constructor(t){this._portalHost=t}attach(t,e=!0){return this._portalHost.attach(t,e)}detach(){return this._portalHost.detach()}}let S=(()=>{class t{constructor(t,e,n,i){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._document=i,this._paneElements=new Map}create(t,e){return this._createOverlayRef(this.getPaneElement(t,e))}getPaneElement(t="",e){return this._paneElements.get(e)||this._paneElements.set(e,{}),this._paneElements.get(e)[t]||(this._paneElements.get(e)[t]=this._createPaneElement(t,e)),this._paneElements.get(e)[t]}_createPaneElement(t,e){const n=this._document.createElement("div");return n.id="toast-container",n.classList.add(t),n.classList.add("toast-container"),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(t){return new k(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new P(this._createPortalHost(t))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](E),i["\u0275\u0275inject"](i.ComponentFactoryResolver),i["\u0275\u0275inject"](i.ApplicationRef),i["\u0275\u0275inject"](a.DOCUMENT))},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(i["\u0275\u0275inject"])(E),Object(i["\u0275\u0275inject"])(i.ComponentFactoryResolver),Object(i["\u0275\u0275inject"])(i.ApplicationRef),Object(i["\u0275\u0275inject"])(a.DOCUMENT))},token:t,providedIn:"root"}),t})();class M{constructor(t){this._overlayRef=t,this.duplicatesCount=0,this._afterClosed=new s.a,this._activate=new s.a,this._manualClose=new s.a,this._resetTimeout=new s.a,this._countDuplicate=new s.a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,e){t&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}}class I{constructor(t,e){this._toastPackage=t,this._parentInjector=e}get(t,e,n){return t===C?this._toastPackage:this._parentInjector.get(t,e,n)}}let A=(()=>{class t{constructor(t,e,n,i,r){this.overlay=e,this._injector=n,this.sanitizer=i,this.ngZone=r,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},t.default.iconClasses),t.config.iconClasses))}show(t,e,n={},i=""){return this._preBuildNotification(i,t,e,this.applyConfig(n))}success(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))}error(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))}info(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))}warning(t,e,n={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))}clear(t){for(const e of this.toasts)if(void 0!==t){if(e.toastId===t)return void e.toastRef.manualClose()}else e.toastRef.manualClose()}remove(t){const e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActivethis._buildNotification(t,e,n,i)):this._buildNotification(t,e,n,i)}_buildNotification(t,e,n,r){if(!r.toastComponent)throw new Error("toastComponent required");const s=this.findDuplicate(n,e,this.toastrConfig.resetTimeoutOnDuplicate&&r.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||e)&&this.toastrConfig.preventDuplicates&&null!==s)return s;this.previousToastMessage=e;let o=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(o=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const a=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;let l=e;e&&r.enableHtml&&(l=this.sanitizer.sanitize(i.SecurityContext.HTML,e));const c=new M(a),u=new C(this.index,r,l,n,t,c),h=new I(u,this._injector),d=new O(r.toastComponent,h),p=a.attach(d,this.toastrConfig.newestOnTop);c.componentInstance=p.instance;const f={toastId:this.index,title:n||"",message:e||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:p};return o||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{f.toastRef.activate()})),this.toasts.push(f),f}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](x),i["\u0275\u0275inject"](S),i["\u0275\u0275inject"](i.Injector),i["\u0275\u0275inject"](o.DomSanitizer),i["\u0275\u0275inject"](i.NgZone))},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(i["\u0275\u0275inject"])(x),Object(i["\u0275\u0275inject"])(S),Object(i["\u0275\u0275inject"])(i.INJECTOR),Object(i["\u0275\u0275inject"])(o.DomSanitizer),Object(i["\u0275\u0275inject"])(i.NgZone))},token:t,providedIn:"root"}),t})(),T=(()=>{class t{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.ngZone=n,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state.value&&(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),e)):this.timeout=setTimeout(()=>t(),e)}outsideInterval(t,e){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),e)):this.intervalId=setInterval(()=>t(),e)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](A),i["\u0275\u0275directiveInject"](C),i["\u0275\u0275directiveInject"](i.NgZone))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",function(){return e.tapToast()})("mouseenter",function(){return e.stickAround()})("mouseleave",function(){return e.delayedHideToast()}),2&t&&(i["\u0275\u0275syntheticHostProperty"]("@flyInOut",e.state),i["\u0275\u0275classMap"](e.toastClasses),i["\u0275\u0275styleProp"]("display",e.displayStyle))},attrs:l,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(t,e){1&t&&(i["\u0275\u0275template"](0,c,3,0,"button",0),i["\u0275\u0275template"](1,h,3,5,"div",1),i["\u0275\u0275template"](2,d,1,3,"div",2),i["\u0275\u0275template"](3,p,2,4,"div",3),i["\u0275\u0275template"](4,f,2,2,"div",4)),2&t&&(i["\u0275\u0275property"]("ngIf",e.options.closeButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&!e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.options.progressBar))},directives:[a.NgIf],encapsulation:2,data:{animation:[Object(r.l)("flyInOut",[Object(r.i)("inactive",Object(r.j)({opacity:0})),Object(r.i)("active",Object(r.j)({opacity:1})),Object(r.i)("removed",Object(r.j)({opacity:0})),Object(r.k)("inactive => active",Object(r.e)("{{ easeTime }}ms {{ easing }}")),Object(r.k)("active => removed",Object(r.e)("{{ easeTime }}ms {{ easing }}"))])]}}),t})();const D=Object.assign(Object.assign({},w),{toastComponent:T});let j=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:x,useValue:{default:D,config:e}}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[a.CommonModule]]}),t})(),R=(()=>{class t{constructor(t,e,n){this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.originalTimeout=e.config.timeOut,this.toastClasses=`${e.toastType} ${e.config.toastClass}`,this.sub=e.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=e.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=e.toastRef.countDuplicate().subscribe(t=>{this.duplicatesCount=t})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0!==this.options.disableTimeOut&&"extendedTimeOut"!==this.options.disableTimeOut&&0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](A),i["\u0275\u0275directiveInject"](C),i["\u0275\u0275directiveInject"](i.ApplicationRef))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",function(){return e.tapToast()})("mouseenter",function(){return e.stickAround()})("mouseleave",function(){return e.delayedHideToast()}),2&t&&(i["\u0275\u0275classMap"](e.toastClasses),i["\u0275\u0275styleProp"]("display",e.displayStyle))},attrs:l,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(t,e){1&t&&(i["\u0275\u0275template"](0,g,3,0,"button",0),i["\u0275\u0275template"](1,b,3,5,"div",1),i["\u0275\u0275template"](2,_,1,3,"div",2),i["\u0275\u0275template"](3,y,2,4,"div",3),i["\u0275\u0275template"](4,v,2,2,"div",4)),2&t&&(i["\u0275\u0275property"]("ngIf",e.options.closeButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.message&&!e.options.enableHtml),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.options.progressBar))},directives:[a.NgIf],encapsulation:2}),t})();Object.assign(Object.assign({},w),{toastComponent:R})},"6NWb":function(t,e,n){"use strict";n.d(e,"a",function(){return Pt}),n.d(e,"b",function(){return St});var i=n("fXoL");function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){for(var e=1;e0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function X(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function G(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,": ").concat(t[n],";")},"")}function Z(t){return t.size!==K.size||t.x!==K.x||t.y!==K.y||t.rotate!==K.rotate||t.flipX||t.flipY}function Q(t){var e=t.transform,n=t.iconWidth,i={transform:"translate(".concat(t.containerWidth/2," 256)")},r="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(r," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var $={x:0,y:0,width:"100%",height:"100%"};function J(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function tt(t){var e=t.icons,n=e.main,i=e.mask,r=t.prefix,s=t.iconName,a=t.transform,l=t.symbol,c=t.title,u=t.maskId,h=t.titleId,d=t.extra,p=t.watchable,f=void 0!==p&&p,g=i.found?i:n,m=g.width,b=g.height,_="fak"===r,y=_?"":"fa-w-".concat(Math.ceil(m/b*16)),v=[C.replacementClass,s?"".concat(C.familyPrefix,"-").concat(s):"",y].filter(function(t){return-1===d.classes.indexOf(t)}).filter(function(t){return""!==t||!!t}).concat(d.classes).join(" "),w={children:[],attributes:o({},d.attributes,{"data-prefix":r,"data-icon":s,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(b)})},x=_&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/b*16*.0625,"em")}:{};f&&(w.attributes["data-fa-i2svg"]=""),c&&w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(h||Y())},children:[c]});var O=o({},w,{prefix:r,iconName:s,main:n,mask:i,maskId:u,transform:a,symbol:l,styles:o({},x,d.styles)}),k=i.found&&n.found?function(t){var e,n=t.children,i=t.attributes,r=t.main,s=t.mask,a=t.maskId,l=r.icon,c=s.icon,u=Q({transform:t.transform,containerWidth:s.width,iconWidth:r.width}),h={tag:"rect",attributes:o({},$,{fill:"white"})},d=l.children?{children:l.children.map(J)}:{},p={tag:"g",attributes:o({},u.inner),children:[J(o({tag:l.tag,attributes:o({},l.attributes,u.path)},d))]},f={tag:"g",attributes:o({},u.outer),children:[p]},g="mask-".concat(a||Y()),m="clip-".concat(a||Y()),b={tag:"mask",attributes:o({},$,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,f]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:(e=c,"g"===e.tag?e.children:[e])},b]};return n.push(_,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(g,")")},$)}),{children:n,attributes:i}}(O):function(t){var e=t.children,n=t.attributes,i=t.main,r=t.transform,s=G(t.styles);if(s.length>0&&(n.style=s),Z(r)){var a=Q({transform:r,containerWidth:i.width,iconWidth:i.width});e.push({tag:"g",attributes:o({},a.outer),children:[{tag:"g",attributes:o({},a.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:o({},i.icon.attributes,a.path)}]}]})}else e.push(i.icon);return{children:e,attributes:n}}(O),E=k.attributes;return O.children=k.children,O.attributes=E,l?function(t){var e=t.iconName,n=t.children,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},t.attributes,{id:!0===i?"".concat(t.prefix,"-").concat(C.familyPrefix,"-").concat(e):i}),children:n}]}]}(O):function(t){var e=t.children,n=t.main,i=t.mask,r=t.attributes,s=t.styles,a=t.transform;if(Z(a)&&n.found&&!i.found){var l={x:n.width/n.height/2,y:.5};r.style=G(o({},s,{"transform-origin":"".concat(l.x+a.x/16,"em ").concat(l.y+a.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(O)}var et=function(t,e,n,i){var r,s,o,a=Object.keys(t),l=a.length,c=void 0!==i?function(t,e){return function(n,i,r,s){return t.call(e,n,i,r,s)}}(e,i):e;for(void 0===n?(r=1,o=t[a[0]]):(r=0,o=n);r2&&void 0!==arguments[2]?arguments[2]:{},i=n.skipHooks,r=void 0!==i&&i,s=Object.keys(e).reduce(function(t,n){var i=e[n];return i.icon?t[i.iconName]=i.icon:t[n]=i,t},{});"function"!=typeof x.hooks.addPack||r?x.styles[t]=o({},x.styles[t]||{},s):x.hooks.addPack(t,s),"fas"===t&&nt("fa",e)}var it=x.styles,rt=x.shims,st=function(){var t=function(t){return et(it,function(e,n,i){return e[i]=et(n,t,{}),e},{})};t(function(t,e,n){return e[3]&&(t[e[3]]=n),t}),t(function(t,e,n){var i=e[2];return t[n]=n,i.forEach(function(e){t[e]=n}),t});var e="far"in it;et(rt,function(t,n){var i=n[1];return"far"!==i||e||(i="fas"),t[n[0]]={prefix:i,iconName:n[2]},t},{})};function ot(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function at(t){var e=t.tag,n=t.attributes,i=void 0===n?{}:n,r=t.children,s=void 0===r?[]:r;return"string"==typeof t?X(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce(function(e,n){return e+"".concat(n,'="').concat(X(t[n]),'" ')},"").trim()}(i),">").concat(s.map(at).join(""),"")}function lt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}st(),(lt.prototype=Object.create(Error.prototype)).constructor=lt;var ct={fill:"currentColor"},ut={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ht=(o({},ct,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),o({},ut,{attributeName:"opacity"}));function dt(t){var e=t[0],n=t[1],i=a(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(i)?{tag:"g",attributes:{class:"".concat(C.familyPrefix,"-").concat(_.GROUP)},children:[{tag:"path",attributes:{class:"".concat(C.familyPrefix,"-").concat(_.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(C.familyPrefix,"-").concat(_.PRIMARY),fill:"currentColor",d:i[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:i}}}}function pt(){C.autoAddCss&&!_t&&(function(t){if(t&&f){var e=p.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=p.head.childNodes,i=null,r=n.length-1;r>-1;r--){var s=n[r],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=s)}p.head.insertBefore(e,i)}}(function(){var t="fa",e=g,n=C.familyPrefix,i=C.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if(n!==t||i!==e){var s=new RegExp("\\.".concat(t,"\\-"),"g"),o=new RegExp("\\--".concat(t,"\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(s,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(a,".".concat(i))}return r}()),_t=!0)}function ft(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map(function(t){return at(t)})}}),Object.defineProperty(t,"node",{get:function(){if(f){var e=p.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function gt(t){var e=t.prefix,n=void 0===e?"fa":e,i=t.iconName;if(i)return ot(bt.definitions,n,i)||ot(x.styles,n,i)}o({},ct,{cx:"256",cy:"364",r:"28"}),o({},ut,{attributeName:"r",values:"28;14;28;28;14;28;"}),o({},ht,{values:"1;0;1;1;0;1;"}),o({},ct,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),o({},ht,{values:"1;0;0;0;0;1;"}),o({},ct,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),o({},ht,{values:"0;0;1;1;0;0;"});var mt,bt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,i=void 0===n?K:n,r=e.symbol,s=void 0!==r&&r,a=e.mask,l=void 0===a?null:a,c=e.maskId,u=void 0===c?null:c,h=e.title,d=void 0===h?null:h,p=e.titleId,f=void 0===p?null:p,g=e.classes,m=void 0===g?[]:g,b=e.attributes,_=void 0===b?{}:b,y=e.styles,v=void 0===y?{}:y;if(t){var w=t.prefix,x=t.iconName,O=t.icon;return ft(o({type:"icon"},t),function(){return pt(),C.autoA11y&&(d?_["aria-labelledby"]="".concat(C.replacementClass,"-title-").concat(f||Y()):(_["aria-hidden"]="true",_.focusable="false")),tt({icons:{main:dt(O),mask:l?dt(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:o({},K,i),symbol:s,title:d,maskId:u,titleId:f,extra:{attributes:_,styles:v,classes:m}})})}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:gt(t||{}),i=e.mask;return i&&(i=(i||{}).icon?i:gt(i||{})),mt(n,o({},e,{mask:i}))}),vt=n("jhN1");const Ct=["*"];let wt=(()=>{class t{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})(),xt=(()=>{class t{constructor(){this.definitions={}}addIcons(...t){for(const e of t)e.prefix in this.definitions||(this.definitions[e.prefix]={}),this.definitions[e.prefix][e.iconName]=e}addIconPacks(...t){for(const e of t){const t=Object.keys(e).map(t=>e[t]);this.addIcons(...t)}}getIconDefinition(t,e){return t in this.definitions&&e in this.definitions[t]?this.definitions[t][e]:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Ot=t=>{const e={"fa-spin":t.spin,"fa-pulse":t.pulse,"fa-fw":t.fixedWidth,"fa-border":t.border,"fa-inverse":t.inverse,"fa-layers-counter":t.counter,"fa-flip-horizontal":"horizontal"===t.flip||"both"===t.flip,"fa-flip-vertical":"vertical"===t.flip||"both"===t.flip,[`fa-${t.size}`]:null!==t.size,[`fa-rotate-${t.rotate}`]:null!==t.rotate,[`fa-pull-${t.pull}`]:null!==t.pull,[`fa-stack-${t.stackItemSize}`]:null!=t.stackItemSize};return Object.keys(e).map(t=>e[t]?t:null).filter(t=>t)};let kt=(()=>{class t{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),t})(),Et=(()=>{class t{constructor(t,e){this.renderer=t,this.elementRef=e}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(t){"size"in t&&(null!=t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${t.size.currentValue}`),null!=t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${t.size.previousValue}`))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["fa-stack"]],inputs:{size:"size"},features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:Ct,decls:1,vars:0,template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},encapsulation:2}),t})(),Pt=(()=>{class t{constructor(t,e,n,i,r){this.sanitizer=t,this.config=e,this.iconLibrary=n,this.stackItem=i,this.classes=[],null!=r&&null==i&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(t){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();let e=null;if(e=null==this.icon?this.config.fallbackIcon:this.icon,t){const t=this.findIconDefinition(e);if(null!=t){const e=this.buildParams();this.renderIcon(t,e)}}}render(){this.ngOnChanges({})}findIconDefinition(t){const e=((t,e)=>{return void 0!==(n=t).prefix&&void 0!==n.iconName?t:Array.isArray(t)&&2===t.length?{prefix:t[0],iconName:t[1]}:"string"==typeof t?{prefix:e,iconName:t}:void 0;var n})(t,this.config.defaultPrefix);if("icon"in e)return e;const n=this.iconLibrary.getIconDefinition(e.prefix,e.iconName);if(null!=n)return n;const i=gt(e);if(null!=i){const t="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+t);else if(!this.config.globalLibrary)throw new Error(t);return i}return(t=>{throw new Error(`Could not find icon with iconName=${t.iconName} and prefix=${t.prefix} in the icon library.`)})(e),null}buildParams(){const t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},e="string"==typeof this.transform?function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce(function(t,e){var n=e.toLowerCase().split("-"),i=n[0],r=n.slice(1).join("-");if(i&&"h"===r)return t.flipX=!0,t;if(i&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(i){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t},e):e}(this.transform):this.transform;return{title:this.title,transform:e,classes:[...Ot(t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,e){const n=yt(t,e);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](vt.DomSanitizer),i["\u0275\u0275directiveInject"](wt),i["\u0275\u0275directiveInject"](xt),i["\u0275\u0275directiveInject"](kt,8),i["\u0275\u0275directiveInject"](Et,8))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(t,e){2&t&&(i["\u0275\u0275hostProperty"]("innerHTML",e.renderedIconHTML,i["\u0275\u0275sanitizeHtml"]),i["\u0275\u0275attribute"]("title",e.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[i["\u0275\u0275NgOnChangesFeature"]],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({}),t})()},"7+OI":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t){return!!t&&(t instanceof i.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"7Hc7":function(t,e,n){"use strict";n.d(e,"b",function(){return d}),n.d(e,"a",function(){return p});let i=1;const r=(()=>Promise.resolve())(),s={};function o(t){return t in s&&(delete s[t],!0)}const a={setImmediate(t){const e=i++;return s[e]=!0,r.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var l=n("3N8a");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var u=n("IjjT");class h extends u.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i{class t{constructor(t,e){this.urlParams=t,this.events=e,this.debugMode=!1,this.logHistory=[],this.paramsUpdatedEvent=this.events.subscribe(r.a.PARAMS_UPDATED,()=>{const t=this.urlParams.getParam(s.b.DEBUG);if(this.debugMode="on"===t,this.debugMode){for(const t of this.logHistory)this[t.function]&&this[t.function](...t.data);this.logHistory.length=0}})}get log(){return!i.a.production||this.debugMode?console.log.bind(console):(...t)=>{this.logHistory.push({function:"log",data:t})}}get warn(){return!i.a.production||this.debugMode?console.warn.bind(console):(...t)=>{this.logHistory.push({function:"warn",data:t})}}get error(){return!i.a.production||this.debugMode?console.error.bind(console):(...t)=>{this.logHistory.push({function:"error",data:t})}}get info(){return!i.a.production||this.debugMode?console.info.bind(console):(...t)=>{this.logHistory.push({function:"info",data:t})}}get debug(){return!i.a.production||this.debugMode?console.debug.bind(console):(...t)=>{this.logHistory.push({function:"debug",data:t})}}ngOnDestroy(){this.paramsUpdatedEvent.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(o["\u0275\u0275inject"](a.a),o["\u0275\u0275inject"](l.a))},t.\u0275prov=o["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("n6bG"),r=n("gRHU"),s=n("quSY"),o=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends s.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!t){this.destination=r.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let a=this;Object(i.a)(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==r.a&&(a=Object.create(e),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8LU1":function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return l}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return s});var i=n("fXoL");function r(t){return null!=t&&"false"!=`${t}`}function s(t,e=0){return o(t)?Number(t):e}function o(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function a(t){return Array.isArray(t)?t:[t]}function l(t){return null==t?"":"string"==typeof t?t:`${t}px`}function c(t){return t instanceof i.ElementRef?t.nativeElement:t}},"8W6+":function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("jxm/"),r=n("fq/z"),s=n("fXoL"),o=n("tyNb"),a=n("MWIi");let l=(()=>{class t{constructor(t,e,n){this.route=t,this.events=e,this.router=n,this.isInitialized=!1,this.paramsBeforeLoad={},this.initParamsService()}static getParamFromUrl(t){const e=window.location.href;return-1!==e.indexOf("?")?new URLSearchParams(e.substr(e.indexOf("?")+1)).get(t):null}initParamsService(){const t=window.location.href;-1!==t.indexOf("?")&&new URLSearchParams(t.substr(t.indexOf("?")+1)).forEach((t,e)=>{this.paramsBeforeLoad[e]=t}),this.route.queryParamMap.subscribe(t=>{this.urlParams=t,this.isInitialized?(this.paramsBeforeLoad={},this.events.broadcast(r.a.PARAMS_UPDATED)):this.isInitialized=!0})}getParam(t){return this.urlParams&&this.urlParams.get(t)||this.paramsBeforeLoad[t]}setParam(t,e){if(!this.urlParams)return;const n={};for(const i of this.urlParams.keys)i===t?e&&(n[i]=e):n[i]=this.urlParams.get(i);!this.urlParams.keys.includes(t)&&e&&(n[t]=e),this.router.navigate([],{relativeTo:this.route,queryParams:n})}createParamsObject(...t){const e={};for(const[n,i]of t)e[n]=i;return e}getPersistentParams(){const t={};for(const e of i.a){const n=this.getParam(e);n&&(t[e]=n)}return t}}return t.\u0275fac=function(e){return new(e||t)(s["\u0275\u0275inject"](o.a),s["\u0275\u0275inject"](a.a),s["\u0275\u0275inject"](o.d))},t.\u0275prov=s["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},AytR:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i={production:!1,useHash:!1,keycloak:{url:"https://login.vcf.by-ucentrix.com/auth",realm:"virtual-fair-2021",clientId:"web"},apiHost:"https://server.vcf.by-ucentrix.com",apiPath:"",fairId:"9b5ad6d9-9d4a-44e6-ab73-9eefa85fc75e",jitsiApiLocation:"https://8x8.vc/libs/external_api.min.js",jitsiDomain:"8x8.vc",dacastUrl:"https://player.dacast.com/js/player.js",recaptchaKey:"6LfJdyocAAAAAAz22h6YB8YPb48FbRw0-ILfDPHz",enablePaidButton:!0,fairs:[{name:"O\u0160",uuid:"8fea8ec1-5627-4695-987c-f6d4bdf562dc",slug:"os"},{name:"S\u0160",uuid:"9b5ad6d9-9d4a-44e6-ab73-9eefa85fc75e",slug:"ss"}]}},BFxc:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function o(t){return function(e){return 0===t?Object(s.b)():e.lift(new a(t))}}class a{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;r{const i=new s.a;return i.add(e.schedule(()=>{const r=t[o.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(u.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.a](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}},CqXF:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.value=t}call(t,e){return e.subscribe(new o(t,this.value))}}class o extends i.a{constructor(t,e){super(t),this.value=e}_next(t){this.destination.next(this.value)}}},D0XW:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("3N8a");const r=new(n("IjjT").a)(i.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EQ5u:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return l});var i=n("XNiG"),r=n("HDdC"),s=(n("7o/Q"),n("quSY")),o=n("x+ZX");class a extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new s.a,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.a.EMPTY)),t}refCount(){return Object(o.a)()(this)}}const l=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s});var i=n("HDdC");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},FKr1:function(t,e,n){"use strict";n.d(e,"a",function(){return k}),n.d(e,"b",function(){return H}),n.d(e,"c",function(){return F}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return K}),n.d(e,"f",function(){return G}),n.d(e,"g",function(){return D}),n.d(e,"h",function(){return j}),n.d(e,"i",function(){return Y}),n.d(e,"j",function(){return X}),n.d(e,"k",function(){return C}),n.d(e,"l",function(){return w}),n.d(e,"m",function(){return v}),n.d(e,"n",function(){return O}),n.d(e,"o",function(){return x});var i=n("fXoL"),r=n("u47x"),s=n("cH1L");const o=new i.Version("11.2.10");var a=n("ofXK"),l=n("8LU1"),c=n("XNiG"),u=(n("HDdC"),n("nLfN")),h=(n("JX91"),n("R1ws")),d=n("FtGj");function p(t,e){if(1&t&&i["\u0275\u0275element"](0,"mat-pseudo-checkbox",4),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function f(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"span",5),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("(",t.group.label,")")}}const g=["*"],m=new i.Version("11.2.13"),b=new i.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let _,y=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.isDevMode)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&m.full!==o.full&&console.warn("The Angular Material version ("+m.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](r.e),i["\u0275\u0275inject"](b,8),i["\u0275\u0275inject"](a.DOCUMENT))},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[s.a],s.a]}),t})();function v(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}}}function C(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),e&&this._elementRef.nativeElement.classList.add(`mat-${e}`),this._color=e)}}}function w(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(l.c)(t)}}}function x(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Object(l.f)(t):this.defaultTabIndex}}}function O(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new c.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}try{_="undefined"!=typeof Intl}catch(Z){_=!1}let k=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})();class E{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const P={enterDuration:450,exitDuration:400},S=Object(u.f)({passive:!0}),M=["mousedown","touchstart"],I=["mouseup","mouseleave","touchend","touchcancel"];class A{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(l.e)(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},P),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),o=t-i.left,a=e-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-s+"px",c.style.top=a-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new E(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},P),t.config.animation);n.style.transitionDuration=`${i.exitDuration}ms`,n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const e=Object(l.e)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(M))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(I),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=Object(r.g)(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,S)})})}_removeTriggerEvents(){this._triggerElement&&(M.forEach(t=>{this._triggerElement.removeEventListener(t,this,S)}),this._pointerUpEventsRegistered&&I.forEach(t=>{this._triggerElement.removeEventListener(t,this,S)}))}}const T=new i.InjectionToken("mat-ripple-global-options");let D=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new A(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](u.a),i["\u0275\u0275directiveInject"](T,8),i["\u0275\u0275directiveInject"](h.a,8))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i["\u0275\u0275classProp"]("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[y,u.b],y]}),t})(),R=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](h.a,8))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i["\u0275\u0275classProp"]("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[y]]}),t})();const F=new i.InjectionToken("MAT_OPTION_PARENT_COMPONENT");class V{}const L=v(V);let z=0,B=(()=>{class t extends L{constructor(t){var e;super(),this._labelId="mat-optgroup-label-"+z++,this._inert=null!==(e=null==t?void 0:t.inertGroups)&&void 0!==e&&e}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](F,8))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,inputs:{label:"label"},features:[i["\u0275\u0275InheritDefinitionFeature"]]}),t})();const H=new i.InjectionToken("MatOptgroup");let U=0;class q{constructor(t,e=!1){this.source=t,this.isUserInput=e}}let W=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+U++,this.onSelectionChange=new i.EventEmitter,this._stateChanges=new c.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=Object(l.c)(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==d.d&&t.keyCode!==d.l||Object(d.q)(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new q(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](void 0),i["\u0275\u0275directiveInject"](B))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),K=(()=>{class t extends W{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](F,8),i["\u0275\u0275directiveInject"](H,8))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i["\u0275\u0275hostProperty"]("id",e.id),i["\u0275\u0275attribute"]("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i["\u0275\u0275classProp"]("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:g,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,p,1,2,"mat-pseudo-checkbox",0),i["\u0275\u0275elementStart"](1,"span",1),i["\u0275\u0275projection"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,f,2,1,"span",2),i["\u0275\u0275element"](4,"div",3)),2&t&&(i["\u0275\u0275property"]("ngIf",e.multiple),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.group&&e.group._inert),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[a.NgIf,D,R],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function Y(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;en+i?Math.max(0,t-i+e):n}let G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[j,a.CommonModule,y,N]]}),t})()},FtGj:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return f}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return r}),n.d(e,"e",function(){return s}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return h}),n.d(e,"h",function(){return m}),n.d(e,"i",function(){return l}),n.d(e,"j",function(){return a}),n.d(e,"k",function(){return p}),n.d(e,"l",function(){return o}),n.d(e,"m",function(){return i}),n.d(e,"n",function(){return d}),n.d(e,"o",function(){return _}),n.d(e,"p",function(){return g}),n.d(e,"q",function(){return y});const i=9,r=13,s=27,o=32,a=33,l=34,c=35,u=36,h=37,d=38,p=39,f=40,g=48,m=57,b=65,_=90;function y(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},GJmQ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e=!1){return n=>n.lift(new s(t,e))}class s{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.inclusive))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}},GU7r:function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return h});var i=n("8LU1"),r=n("fXoL"),s=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.e)(t);return new s.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](l))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(l))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.c)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.f)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](c),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.NgZone))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[l]}),t})()},GyhO:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("LRne"),r=n("0EUg");function s(...t){return Object(r.a)()(Object(i.a)(...t))}},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),o=n("kJWO"),a=n("mCNh"),l=n("2fFW");let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function o(t){return e=>0===t?Object(s.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return function(e){const n=new s(t),i=e.lift(n);return n.caught=i}}class s{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new i.a(this);this.add(r);const s=Object(i.c)(n,r);s!==r&&this.add(s)}}}},JX91:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("GyhO"),r=n("z+Ro");function s(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},JqCM:function(t,e,n){"use strict";n.d(e,"a",function(){return v}),n.d(e,"b",function(){return w}),n.d(e,"c",function(){return y});var i=n("fXoL"),r=n("2Vo4"),s=n("XNiG"),o=n("pLZG"),a=n("1G5W"),l=n("R0Ic"),c=n("ofXK"),u=n("jhN1");const h=["overlay"];function d(t,e){1&t&&i["\u0275\u0275element"](0,"div")}function p(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,d,1,0,"div",6),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classMap"](t.spinner.class),i["\u0275\u0275styleProp"]("color",t.spinner.color),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.spinner.divArray)}}function f(t,e){if(1&t&&(i["\u0275\u0275element"](0,"div",7),i["\u0275\u0275pipe"](1,"safeHtml")),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("innerHTML",i["\u0275\u0275pipeBind1"](1,1,t.template),i["\u0275\u0275sanitizeHtml"])}}function g(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",1,2),i["\u0275\u0275template"](2,p,2,5,"div",3),i["\u0275\u0275template"](3,f,2,3,"div",4),i["\u0275\u0275elementStart"](4,"div",5),i["\u0275\u0275projection"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("background-color",t.spinner.bdColor)("z-index",t.spinner.zIndex)("position",t.spinner.fullScreen?"fixed":"absolute"),i["\u0275\u0275property"]("@.disabled",t.disableAnimation)("@fadeIn","in"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.template),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.template),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("z-index",t.spinner.zIndex)}}const m=["*"],b={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1};class _{constructor(t){Object.assign(this,t)}}let y=(()=>{class t{constructor(){this.spinnerObservable=new r.a(null)}getSpinner(t){return this.spinnerObservable.asObservable().pipe(Object(o.a)(e=>e&&e.name===t))}show(t="primary",e){return new Promise((n,i)=>{setTimeout(()=>{e&&Object.keys(e).length?(e.name=t,this.spinnerObservable.next(new _(Object.assign(Object.assign({},e),{show:!0}))),n(!0)):(this.spinnerObservable.next(new _({name:t,show:!0})),n(!0))},10)})}hide(t="primary",e=10){return new Promise((n,i)=>{setTimeout(()=>{this.spinnerObservable.next(new _({name:t,show:!1})),n(!0)},e)})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})(),v=(()=>{class t{constructor(t,e){this.spinnerService=t,this.changeDetector=e,this.disableAnimation=!1,this.spinner=new _,this.ngUnsubscribe=new s.a,this.setDefaultOptions=()=>{this.spinner=new _({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template,showSpinner:this.showSpinner})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.type="ball-scale-multiple",this.size="large",this.fullScreen=!0,this.name="primary",this.template=null,this.showSpinner=!1,this.divArray=[],this.divCount=0,this.show=!1}handleKeyboardEvent(t){this.spinnerDOM&&this.spinnerDOM.nativeElement&&(t.returnValue=!1,t.preventDefault())}ngOnInit(){this.setDefaultOptions(),this.spinnerService.getSpinner(this.name).pipe(Object(a.a)(this.ngUnsubscribe)).subscribe(t=>{this.setDefaultOptions(),Object.assign(this.spinner,t),t.show&&this.onInputChange(),this.changeDetector.detectChanges()})}ngOnChanges(t){for(const e in t)if(e){const n=t[e];if(n.isFirstChange())return;void 0!==n.currentValue&&n.currentValue!==n.previousValue&&""!==n.currentValue&&(this.spinner[e]=n.currentValue,"showSpinner"===e&&(n.currentValue?this.spinnerService.show(this.spinner.name,this.spinner):this.spinnerService.hide(this.spinner.name)))}}getClass(t,e){this.spinner.divCount=b[t],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((t,e)=>e);let n="";switch(e.toLowerCase()){case"small":n="la-sm";break;case"medium":n="la-2x";break;case"large":n="la-3x"}return"la-"+t+" "+n}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](y),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["ngx-spinner"]],viewQuery:function(t,e){if(1&t&&i["\u0275\u0275viewQuery"](h,1),2&t){let t;i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.spinnerDOM=t.first)}},hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("keydown",function(t){return e.handleKeyboardEvent(t)},!1,i["\u0275\u0275resolveDocument"])},inputs:{disableAnimation:"disableAnimation",bdColor:"bdColor",zIndex:"zIndex",color:"color",type:"type",size:"size",fullScreen:"fullScreen",name:"name",template:"template",showSpinner:"showSpinner"},features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:m,decls:1,vars:1,consts:[["class","ngx-spinner-overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"ngx-spinner-overlay"],["overlay",""],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,g,6,12,"div",0)),2&t&&i["\u0275\u0275property"]("ngIf",e.spinner.show)},directives:function(){return[c.NgIf,c.NgForOf]},pipes:function(){return[C]},styles:['.la-ball-8bits[_ngcontent-%COMP%], .la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-8bits[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-8bits.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-8bits[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:0;opacity:0;transform:translate(100%,100%);-webkit-animation:ball-8bits 1s ease 0s infinite;animation:ball-8bits 1s ease 0s infinite}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.9375s;animation-delay:-.9375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8125s;animation-delay:-.8125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.6875s;animation-delay:-.6875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.5625s;animation-delay:-.5625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.4375s;animation-delay:-.4375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){-webkit-animation-delay:-.3125s;animation-delay:-.3125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){-webkit-animation-delay:-.1875s;animation-delay:-.1875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){-webkit-animation-delay:-.0625s;animation-delay:-.0625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:-100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:-100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:-66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:-33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:0;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){top:100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){top:100%;left:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){top:66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){top:33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){top:0;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){top:-33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){top:-66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){top:-100%;left:-33.3333333333%}.la-ball-8bits.la-sm[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-8bits.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:2px}.la-ball-8bits.la-2x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-8bits.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-8bits.la-3x[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-8bits.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:12px}@-webkit-keyframes ball-8bits{0%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes ball-8bits{0%{opacity:1}50%{opacity:1}51%{opacity:0}}.la-ball-atom[_ngcontent-%COMP%], .la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-atom[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-atom.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-atom[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;top:50%;left:50%;z-index:1;width:60%;height:60%;background:#aaa;border-radius:100%;transform:translate(-50%,-50%);-webkit-animation:ball-atom-shrink 4.5s linear infinite;animation:ball-atom-shrink 4.5s linear infinite}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){position:absolute;left:0;z-index:0;width:100%;height:100%;background:none;-webkit-animation:ball-atom-zindex 1.5s steps(2) 0s infinite;animation:ball-atom-zindex 1.5s steps(2) 0s infinite}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{position:absolute;top:0;left:0;width:10px;height:10px;margin-top:-5px;margin-left:-5px;content:"";background:currentColor;border-radius:50%;opacity:.75;-webkit-animation:ball-atom-position 1.5s ease 0s infinite,ball-atom-size 1.5s ease 0s infinite;animation:ball-atom-position 1.5s ease 0s infinite,ball-atom-size 1.5s ease 0s infinite}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:0s,-1.125s;animation-delay:0s,-1.125s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(120deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-1s,-.75s;animation-delay:-1s,-.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(240deg);-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.5s,-.125s;animation-delay:-.5s,-.125s}.la-ball-atom.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-atom.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-atom.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-atom.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-atom.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-atom.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-atom-position{50%{top:100%;left:100%}}@keyframes ball-atom-position{50%{top:100%;left:100%}}@-webkit-keyframes ball-atom-size{50%{transform:scale(.5)}}@keyframes ball-atom-size{50%{transform:scale(.5)}}@-webkit-keyframes ball-atom-zindex{50%{z-index:10}}@keyframes ball-atom-zindex{50%{z-index:10}}@-webkit-keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8)}}@keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8)}}.la-ball-beat[_ngcontent-%COMP%], .la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-beat[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:ball-beat .7s linear -.15s infinite;animation:ball-beat .7s linear -.15s infinite}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-beat.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-beat.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-beat.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-circus[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-circus.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-circus[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:-100%;display:block;width:16px;width:100%;height:16px;height:100%;border-radius:100%;opacity:.5;-webkit-animation:ball-circus-position 2.5s cubic-bezier(.25,0,.75,1) infinite,ball-circus-size 2.5s cubic-bezier(.25,0,.75,1) infinite;animation:ball-circus-position 2.5s cubic-bezier(.25,0,.75,1) infinite,ball-circus-size 2.5s cubic-bezier(.25,0,.75,1) infinite}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s,-.5s;animation-delay:0s,-.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.5s,-1s;animation-delay:-.5s,-1s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s,-1.5s;animation-delay:-1s,-1.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s,-2s;animation-delay:-1.5s,-2s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2s,-2.5s;animation-delay:-2s,-2.5s}.la-ball-circus.la-sm[_ngcontent-%COMP%], .la-ball-circus.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-circus.la-2x[_ngcontent-%COMP%], .la-ball-circus.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-circus.la-3x[_ngcontent-%COMP%], .la-ball-circus.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:48px;height:48px}@-webkit-keyframes ball-circus-position{50%{left:100%}}@keyframes ball-circus-position{50%{left:100%}}@-webkit-keyframes ball-circus-size{50%{transform:scale(.3)}}@keyframes ball-circus-size{50%{transform:scale(.3)}}.la-ball-climbing-dot[_ngcontent-%COMP%], .la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-climbing-dot[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-climbing-dot.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-climbing-dot[_ngcontent-%COMP%]{width:42px;height:32px}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;bottom:32%;left:18%;width:14px;height:14px;border-radius:100%;transform-origin:center bottom;-webkit-animation:ball-climbing-dot-jump .6s ease-in-out infinite;animation:ball-climbing-dot-jump .6s ease-in-out infinite}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){position:absolute;top:0;right:0;width:14px;height:2px;border-radius:0;transform:translate(60%);-webkit-animation:ball-climbing-dot-steps 1.8s linear infinite;animation:ball-climbing-dot-steps 1.8s linear infinite}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(2){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(3){-webkit-animation-delay:-.6s;animation-delay:-.6s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:6px;height:6px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){width:6px;height:1px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%]{width:84px;height:64px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:28px;height:28px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){width:28px;height:4px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%]{width:126px;height:96px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:42px;height:42px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){width:42px;height:6px}@-webkit-keyframes ball-climbing-dot-jump{0%{transform:scaleY(.7)}20%{transform:scale(.7,1.2)}40%{transform:scale(1)}50%{bottom:125%}46%{transform:scale(1)}80%{transform:scale(.7,1.2)}90%{transform:scale(.7,1.2)}to{transform:scaleY(.7)}}@keyframes ball-climbing-dot-jump{0%{transform:scaleY(.7)}20%{transform:scale(.7,1.2)}40%{transform:scale(1)}50%{bottom:125%}46%{transform:scale(1)}80%{transform:scale(.7,1.2)}90%{transform:scale(.7,1.2)}to{transform:scaleY(.7)}}@-webkit-keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}to{top:100%;right:100%;opacity:0}}@keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}to{top:100%;right:100%;opacity:0}}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%], .la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-clip-rotate-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;background:transparent;border-style:solid;border-width:2px;border-radius:100%;-webkit-animation:ball-clip-rotate-multiple-rotate 1s ease-in-out infinite;animation:ball-clip-rotate-multiple-rotate 1s ease-in-out infinite}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;border-right-color:transparent;border-left-color:transparent}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;border-top-color:transparent;border-bottom-color:transparent;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-direction:reverse;animation-direction:reverse}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%], .la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-clip-rotate-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;border-radius:100%}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;background:transparent;border-bottom-style:solid;border-top-style:solid;border-bottom-width:2px;border-top-width:2px;border-right:2px solid transparent;border-left:2px solid transparent;-webkit-animation:ball-clip-rotate-pulse-rotate 1s cubic-bezier(.09,.57,.49,.9) infinite;animation:ball-clip-rotate-pulse-rotate 1s cubic-bezier(.09,.57,.49,.9) infinite}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;-webkit-animation:ball-clip-rotate-pulse-scale 1s cubic-bezier(.09,.57,.49,.9) infinite;animation:ball-clip-rotate-pulse-scale 1s cubic-bezier(.09,.57,.49,.9) infinite}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px;border-width:6px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes ball-clip-rotate-pulse-scale{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}@keyframes ball-clip-rotate-pulse-scale{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}.la-ball-clip-rotate[_ngcontent-%COMP%], .la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-clip-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-clip-rotate[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px;background:transparent;border-width:2px;border-bottom-color:transparent;border-radius:100%;-webkit-animation:ball-clip-rotate .75s linear infinite;animation:ball-clip-rotate .75s linear infinite}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-clip-rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes ball-clip-rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.la-ball-elastic-dots[_ngcontent-%COMP%], .la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-elastic-dots[_ngcontent-%COMP%]{display:block;color:#fff}.la-ball-elastic-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid}.la-ball-elastic-dots[_ngcontent-%COMP%]{width:120px;height:10px;font-size:0;text-align:center}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;width:10px;height:10px;white-space:nowrap;border-radius:100%;-webkit-animation:ball-elastic-dots-anim 1s infinite;animation:ball-elastic-dots-anim 1s infinite}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%]{width:60px;height:4px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%]{width:240px;height:20px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%]{width:360px;height:30px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-elastic-dots-anim{0%,to{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}@keyframes ball-elastic-dots-anim{0%,to{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}.la-ball-fall[_ngcontent-%COMP%], .la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fall[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-fall.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-fall[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;opacity:0;-webkit-animation:ball-fall 1s ease-in-out infinite;animation:ball-fall 1s ease-in-out infinite}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-fall.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-fall.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-fall.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-fall.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-fall.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-fall.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}90%{opacity:.5}to{opacity:0;transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}90%{opacity:.5}to{opacity:0;transform:translateY(145%)}}.la-ball-fussion[_ngcontent-%COMP%], .la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fussion[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-fussion.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-fussion[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:12px;height:12px;border-radius:100%;transform:translate(-50%,-50%);-webkit-animation:ball-fussion-ball1 1s ease 0s infinite;animation:ball-fussion-ball1 1s ease 0s infinite}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:0;left:50%;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:50%;left:100%;z-index:2;-webkit-animation-name:ball-fussion-ball2;animation-name:ball-fussion-ball2}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:100%;left:50%;z-index:1;-webkit-animation-name:ball-fussion-ball3;animation-name:ball-fussion-ball3}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:0;z-index:2;-webkit-animation-name:ball-fussion-ball4;animation-name:ball-fussion-ball4}.la-ball-fussion.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-fussion.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-fussion.la-2x[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-fussion.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-ball-fussion.la-3x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-fussion.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}to{top:50%;left:100%;z-index:2;opacity:.35}}@keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}to{top:50%;left:100%;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}to{top:100%;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}to{top:100%;left:50%;z-index:1;opacity:.35}}@-webkit-keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}to{top:50%;left:0;z-index:2;opacity:.35}}@keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}to{top:50%;left:0;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}to{top:0;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}to{top:0;left:50%;z-index:1;opacity:.35}}.la-ball-grid-beat[_ngcontent-%COMP%], .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-grid-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-grid-beat[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8), .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-beat{0%{opacity:1}50%{opacity:.35}to{opacity:1}}@keyframes ball-grid-beat{0%{opacity:1}50%{opacity:.35}to{opacity:1}}.la-ball-grid-pulse[_ngcontent-%COMP%], .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-grid-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-grid-pulse[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8), .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@keyframes ball-grid-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}to{opacity:1;transform:scale(1)}}.la-ball-newton-cradle[_ngcontent-%COMP%], .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-newton-cradle[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-newton-cradle.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-newton-cradle[_ngcontent-%COMP%]{width:40px;height:10px}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:100%}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-newton-cradle-left 1s ease-out 0s infinite;animation:ball-newton-cradle-left 1s ease-out 0s infinite}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{transform:translateX(0)}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-newton-cradle-right 1s ease-out 0s infinite;animation:ball-newton-cradle-right 1s ease-out 0s infinite}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%]{width:20px;height:4px}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%]{width:80px;height:20px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%]{width:120px;height:30px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-newton-cradle-left{25%{transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{transform:translateX(0)}}@keyframes ball-newton-cradle-left{25%{transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{transform:translateX(0)}}@-webkit-keyframes ball-newton-cradle-right{50%{transform:translateX(0)}75%{transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{transform:translateX(0)}}@keyframes ball-newton-cradle-right{50%{transform:translateX(0)}75%{transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{transform:translateX(0)}}.la-ball-pulse-rise[_ngcontent-%COMP%], .la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-rise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-pulse-rise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-pulse-rise[_ngcontent-%COMP%]{width:70px;height:14px}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:2px;border-radius:100%;-webkit-animation:ball-pulse-rise-even 1s cubic-bezier(.15,.36,.9,.6) 0s infinite;animation:ball-pulse-rise-even 1s cubic-bezier(.15,.36,.9,.6) 0s infinite}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%]{width:34px;height:6px}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%]{width:140px;height:28px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:4px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%]{width:210px;height:42px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:6px}@-webkit-keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}to{opacity:1;transform:translateY(0);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}to{opacity:1;transform:translateY(0);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}to{opacity:.35;transform:translateY(0);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}to{opacity:.35;transform:translateY(0);transform:scale(.75)}}.la-ball-pulse-sync[_ngcontent-%COMP%], .la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-sync[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-pulse-sync.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-pulse-sync[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:ball-pulse-sync .6s ease-in-out infinite;animation:ball-pulse-sync .6s ease-in-out infinite}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.14s;animation-delay:-.14s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.07s;animation-delay:-.07s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}to{transform:translateY(0)}}.la-ball-pulse[_ngcontent-%COMP%], .la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-pulse[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:ball-pulse 1s ease infinite;animation:ball-pulse 1s ease infinite}.la-ball-pulse.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse{0%,60%,to{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}@keyframes ball-pulse{0%,60%,to{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;-webkit-animation:ball-rotate-animation 1s cubic-bezier(.7,-.13,.22,.86) infinite;animation:ball-rotate-animation 1s cubic-bezier(.7,-.13,.22,.86) infinite}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;width:inherit;height:inherit;margin:inherit;content:"";background:currentColor;border-radius:inherit;opacity:.8}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:0;left:-150%}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{top:0;left:150%}.la-ball-rotate.la-sm[_ngcontent-%COMP%], .la-ball-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-rotate.la-2x[_ngcontent-%COMP%], .la-ball-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-rotate.la-3x[_ngcontent-%COMP%], .la-ball-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-rotate-animation{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes ball-rotate-animation{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.la-ball-running-dots[_ngcontent-%COMP%], .la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-running-dots[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-running-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-running-dots[_ngcontent-%COMP%]{width:10px;height:10px}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;margin-left:-25px;border-radius:100%;-webkit-animation:ball-running-dots-animate 2s linear infinite;animation:ball-running-dots-animate 2s linear infinite}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.6s;animation-delay:-1.6s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2.8s;animation-delay:-2.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-3.2s;animation-delay:-3.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-3.6s;animation-delay:-3.6s}.la-ball-running-dots.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-running-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-left:-12px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:-50px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%]{width:30px;height:30px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-left:-75px}@-webkit-keyframes ball-running-dots-animate{0%,to{width:100%;height:100%;transform:translateY(0) translateX(500%)}80%{transform:translateY(0) translateX(0)}85%{width:100%;height:100%;transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;transform:translateY(-100%) translateX(500%)}}@keyframes ball-running-dots-animate{0%,to{width:100%;height:100%;transform:translateY(0) translateX(500%)}80%{transform:translateY(0) translateX(0)}85%{width:100%;height:100%;transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;transform:translateY(-100%) translateX(500%)}}.la-ball-scale-multiple[_ngcontent-%COMP%], .la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-multiple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:ball-scale-multiple 1s linear 0s infinite;animation:ball-scale-multiple 1s linear 0s infinite}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}.la-ball-scale-multiple.la-sm[_ngcontent-%COMP%], .la-ball-scale-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-multiple.la-2x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-multiple.la-3x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}@keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}.la-ball-scale-pulse[_ngcontent-%COMP%], .la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-pulse[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:.5;-webkit-animation:ball-scale-pulse 2s ease-in-out infinite;animation:ball-scale-pulse 2s ease-in-out infinite}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-scale-pulse.la-sm[_ngcontent-%COMP%], .la-ball-scale-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-pulse.la-2x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-pulse.la-3x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-pulse{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-scale-pulse{0%,to{transform:scale(0)}50%{transform:scale(1)}}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%], .la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-ripple-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:32px;height:32px;background:transparent;border-width:2px;border-radius:100%;opacity:0;-webkit-animation:ball-scale-ripple-multiple 1.25s cubic-bezier(.21,.53,.56,.8) 0s infinite;animation:ball-scale-ripple-multiple 1.25s cubic-bezier(.21,.53,.56,.8) 0s infinite}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.5s;animation-delay:.5s}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}.la-ball-scale-ripple[_ngcontent-%COMP%], .la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-ripple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-ripple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px;background:transparent;border-width:2px;border-radius:100%;opacity:0;-webkit-animation:ball-scale-ripple 1s cubic-bezier(.21,.53,.56,.8) 0s infinite;animation:ball-scale-ripple 1s cubic-bezier(.21,.53,.56,.8) 0s infinite}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}to{opacity:0}}@keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}to{opacity:0}}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;opacity:0;-webkit-animation:ball-scale 1s ease-in-out 0s infinite;animation:ball-scale 1s ease-in-out 0s infinite}.la-ball-scale.la-sm[_ngcontent-%COMP%], .la-ball-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale.la-2x[_ngcontent-%COMP%], .la-ball-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale.la-3x[_ngcontent-%COMP%], .la-ball-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale{0%{opacity:1;transform:scale(0)}to{opacity:0;transform:scale(1)}}@keyframes ball-scale{0%{opacity:1;transform:scale(0)}to{opacity:0;transform:scale(1)}}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-clockwise-fade-rotating-rotate 6s linear infinite;animation:ball-spin-clockwise-fade-rotating-rotate 6s linear infinite}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-clockwise-fade-rotating 1s linear infinite;animation:ball-spin-clockwise-fade-rotating 1s linear infinite}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@keyframes ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@-webkit-keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-clockwise-fade 1s linear infinite;animation:ball-spin-clockwise-fade 1s linear infinite}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-clockwise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-clockwise[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-clockwise 1s ease-in-out infinite;animation:ball-spin-clockwise 1s ease-in-out infinite}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-spin-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-fade-rotate 6s linear infinite;animation:ball-spin-fade-rotate 6s linear infinite}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-fade 1s linear infinite;animation:ball-spin-fade 1s linear infinite}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-fade-rotate{to{transform:rotate(1turn)}}.la-ball-spin-fade[_ngcontent-%COMP%], .la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-fade 1s linear infinite;animation:ball-spin-fade 1s linear infinite}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}@keyframes ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}.la-ball-spin-rotate[_ngcontent-%COMP%], .la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-rotate[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-rotate 2s linear infinite;animation:ball-spin-rotate 2s linear infinite}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;width:60%;height:60%;border-radius:100%;-webkit-animation:ball-spin-bounce 2s ease-in-out infinite;animation:ball-spin-bounce 2s ease-in-out infinite}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-spin-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-spin-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes ball-spin-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-spin-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}.la-ball-spin[_ngcontent-%COMP%], .la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin 1s ease-in-out infinite;animation:ball-spin 1s ease-in-out infinite}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-square-clockwise-spin[_ngcontent-%COMP%], .la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-square-clockwise-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{width:26px;height:26px}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:ball-square-clockwise-spin 1s ease-in-out infinite;animation:ball-square-clockwise-spin 1s ease-in-out infinite}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:0;left:0;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-clockwise-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-clockwise-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-square-spin[_ngcontent-%COMP%], .la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-square-spin[_ngcontent-%COMP%]{width:26px;height:26px}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:ball-square-spin 1s ease-in-out infinite;animation:ball-square-spin 1s ease-in-out infinite}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:0;left:0;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-square-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-triangle-path[_ngcontent-%COMP%], .la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-triangle-path[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-triangle-path.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-triangle-path[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:10px;height:10px;border-radius:100%}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-triangle-path-ball-one 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-one 2s ease-in-out 0s infinite}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:ball-triangle-path-ball-two 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-two 2s ease-in-out 0s infinite}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation:ball-triangle-path-ball-tree 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-tree 2s ease-in-out 0s infinite}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-triangle-path-ball-one{0%{transform:translateY(220%)}17%{opacity:.25}33%{opacity:1;transform:translate(110%)}50%{opacity:.25}66%{opacity:1;transform:translate(220%,220%)}83%{opacity:.25}to{opacity:1;transform:translateY(220%)}}@keyframes ball-triangle-path-ball-one{0%{transform:translateY(220%)}17%{opacity:.25}33%{opacity:1;transform:translate(110%)}50%{opacity:.25}66%{opacity:1;transform:translate(220%,220%)}83%{opacity:.25}to{opacity:1;transform:translateY(220%)}}@-webkit-keyframes ball-triangle-path-ball-two{0%{transform:translate(110%)}17%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}50%{opacity:.25}66%{opacity:1;transform:translateY(220%)}83%{opacity:.25}to{opacity:1;transform:translate(110%)}}@keyframes ball-triangle-path-ball-two{0%{transform:translate(110%)}17%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}50%{opacity:.25}66%{opacity:1;transform:translateY(220%)}83%{opacity:.25}to{opacity:1;transform:translate(110%)}}@-webkit-keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%{opacity:.25}33%{opacity:1;transform:translateY(220%)}50%{opacity:.25}66%{opacity:1;transform:translate(110%)}83%{opacity:.25}to{opacity:1;transform:translate(220%,220%)}}@keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%{opacity:.25}33%{opacity:1;transform:translateY(220%)}50%{opacity:.25}66%{opacity:1;transform:translate(110%)}83%{opacity:.25}to{opacity:1;transform:translate(220%,220%)}}.la-ball-zig-zag-deflect[_ngcontent-%COMP%], .la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-zig-zag-deflect.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{position:relative;width:32px;height:32px}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-zig-deflect 1.5s linear 0s infinite;animation:ball-zig-deflect 1.5s linear 0s infinite}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-zag-deflect 1.5s linear 0s infinite;animation:ball-zag-deflect 1.5s linear 0s infinite}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-deflect{17%{transform:translate(-80%,-160%)}34%{transform:translate(80%,-160%)}50%{transform:translate(0)}67%{transform:translate(80%,-160%)}84%{transform:translate(-80%,-160%)}to{transform:translate(0)}}@keyframes ball-zig-deflect{17%{transform:translate(-80%,-160%)}34%{transform:translate(80%,-160%)}50%{transform:translate(0)}67%{transform:translate(80%,-160%)}84%{transform:translate(-80%,-160%)}to{transform:translate(0)}}@-webkit-keyframes ball-zag-deflect{17%{transform:translate(80%,160%)}34%{transform:translate(-80%,160%)}50%{transform:translate(0)}67%{transform:translate(-80%,160%)}84%{transform:translate(80%,160%)}to{transform:translate(0)}}@keyframes ball-zag-deflect{17%{transform:translate(80%,160%)}34%{transform:translate(-80%,160%)}50%{transform:translate(0)}67%{transform:translate(-80%,160%)}84%{transform:translate(80%,160%)}to{transform:translate(0)}}.la-ball-zig-zag[_ngcontent-%COMP%], .la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-zig-zag[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-zig-zag.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-zig-zag[_ngcontent-%COMP%]{position:relative;width:32px;height:32px}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-zig-effect .7s linear 0s infinite;animation:ball-zig-effect .7s linear 0s infinite}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-zag-effect .7s linear 0s infinite;animation:ball-zag-effect .7s linear 0s infinite}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-effect{0%{transform:translate(0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}to{transform:translate(0)}}@keyframes ball-zig-effect{0%{transform:translate(0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}to{transform:translate(0)}}@-webkit-keyframes ball-zag-effect{0%{transform:translate(0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}to{transform:translate(0)}}@keyframes ball-zag-effect{0%{transform:translate(0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}to{transform:translate(0)}}.la-cog[_ngcontent-%COMP%], .la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cog[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-cog.la-dark[_ngcontent-%COMP%]{color:#333}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-cog[_ngcontent-%COMP%]{width:31px;height:31px}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background-color:transparent;border-style:dashed;border-width:2px;border-radius:100%;-webkit-animation:cog-rotate 4s linear infinite;animation:cog-rotate 4s linear infinite}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";border:2px solid;border-radius:100%}.la-cog.la-sm[_ngcontent-%COMP%]{width:15px;height:15px}.la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:1px}.la-cog.la-2x[_ngcontent-%COMP%]{width:61px;height:61px}.la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:4px}.la-cog.la-3x[_ngcontent-%COMP%]{width:91px;height:91px}.la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:6px}@-webkit-keyframes cog-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes cog-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.la-cube-transition[_ngcontent-%COMP%], .la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cube-transition[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-cube-transition.la-dark[_ngcontent-%COMP%]{color:#333}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-cube-transition[_ngcontent-%COMP%]{width:32px;height:32px}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:14px;height:14px;margin-top:-7px;margin-left:-7px;border-radius:0;-webkit-animation:cube-transition 1.6s ease-in-out 0s infinite;animation:cube-transition 1.6s ease-in-out 0s infinite}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-cube-transition.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-cube-transition.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-cube-transition.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-cube-transition.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:28px;height:28px;margin-top:-14px;margin-left:-14px}.la-cube-transition.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-cube-transition.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:42px;height:42px;margin-top:-21px;margin-left:-21px}@-webkit-keyframes cube-transition{25%{top:0;left:100%;transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;transform:scale(.5) rotate(-270deg)}to{top:0;left:0;transform:scale(1) rotate(-1turn)}}@keyframes cube-transition{25%{top:0;left:100%;transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;transform:scale(.5) rotate(-270deg)}to{top:0;left:0;transform:scale(1) rotate(-1turn)}}.la-fire[_ngcontent-%COMP%], .la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-fire[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-fire.la-dark[_ngcontent-%COMP%]{color:#333}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-fire[_ngcontent-%COMP%]{width:32px;height:32px}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;bottom:0;left:50%;width:12px;height:12px;border-radius:0;border-radius:2px;transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);-webkit-animation:fire-diamonds 1.5s linear infinite;animation:fire-diamonds 1.5s linear infinite}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.85s;animation-delay:-.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.85s;animation-delay:-1.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-2.85s;animation-delay:-2.85s}.la-fire.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-fire.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-fire.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-fire.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px}.la-fire.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-fire.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}to{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}@keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}to{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}.la-line-scale-party[_ngcontent-%COMP%], .la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-party[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale-party.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale-party[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.23s;animation-delay:-.23s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:.62s;animation-duration:.62s;-webkit-animation-delay:-.32s;animation-delay:-.32s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.44s;animation-delay:-.44s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-delay:-.31s;animation-delay:-.31s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:.74s;animation-duration:.74s;-webkit-animation-delay:-.24s;animation-delay:-.24s}.la-line-scale-party.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-party.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-party.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-party.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-party.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-party.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-party{0%{transform:scaleY(1)}50%{transform:scaleY(.3)}to{transform:scaleY(1)}}@keyframes line-scale-party{0%{transform:scaleY(1)}50%{transform:scaleY(.3)}to{transform:scaleY(1)}}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%], .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale-pulse-out-rapid.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:line-scale-pulse-out-rapid .9s cubic-bezier(.11,.49,.38,.78) infinite;animation:line-scale-pulse-out-rapid .9s cubic-bezier(.11,.49,.38,.78) infinite}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.65s;animation-delay:-.65s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.3)}90%{transform:scaley(1)}}@keyframes line-scale-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.3)}90%{transform:scaley(1)}}.la-line-scale-pulse-out[_ngcontent-%COMP%], .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale-pulse-out.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale-pulse-out[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:line-scale-pulse-out .9s cubic-bezier(.85,.25,.37,.85) infinite;animation:line-scale-pulse-out .9s cubic-bezier(.85,.25,.37,.85) infinite}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.7s;animation-delay:-.7s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.3)}to{transform:scaley(1)}}@keyframes line-scale-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.3)}to{transform:scaley(1)}}.la-line-scale[_ngcontent-%COMP%], .la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:line-scale 1.2s ease infinite;animation:line-scale 1.2s ease infinite}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-line-scale.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:line-spin-clockwise-fade-rotating-rotate 6s linear infinite;animation:line-spin-clockwise-fade-rotating-rotate 6s linear infinite}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-clockwise-fade-rotating 1s ease-in-out infinite;animation:line-spin-clockwise-fade-rotating 1s ease-in-out infinite}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@keyframes line-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@-webkit-keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}to{opacity:1}}.la-line-spin-clockwise-fade[_ngcontent-%COMP%], .la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-clockwise-fade 1s ease-in-out infinite;animation:line-spin-clockwise-fade 1s ease-in-out infinite}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-clockwise-fade{50%{opacity:.2}to{opacity:1}}.la-line-spin-fade-rotating[_ngcontent-%COMP%], .la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-fade-rotating-rotate 6s linear infinite;animation:ball-spin-fade-rotating-rotate 6s linear infinite}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-fade-rotating 1s ease-in-out infinite;animation:line-spin-fade-rotating 1s ease-in-out infinite}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes ball-spin-fade-rotating-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-fade-rotating-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes line-spin-fade-rotating{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-fade-rotating{50%{opacity:.2}to{opacity:1}}.la-line-spin-fade[_ngcontent-%COMP%], .la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-fade 1s ease-in-out infinite;animation:line-spin-fade 1s ease-in-out infinite}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-fade{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-fade{50%{opacity:.2}to{opacity:1}}.la-pacman[_ngcontent-%COMP%], .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-pacman[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-pacman.la-dark[_ngcontent-%COMP%]{color:#333}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-pacman[_ngcontent-%COMP%]{width:32px;height:32px}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){width:0;height:0;background:transparent;border-style:solid;border-right:solid transparent;border-width:16px;border-radius:100%;-webkit-animation:pacman-rotate-half-up .5s 0s infinite;animation:pacman-rotate-half-up .5s 0s infinite;position:absolute}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-name:pacman-rotate-half-down;animation-name:pacman-rotate-half-down;top:0}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){position:absolute;top:50%;left:200%;width:8px;height:8px;border-radius:100%;opacity:0;-webkit-animation:pacman-balls 2s linear 0s infinite;animation:pacman-balls 2s linear 0s infinite}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.44s;animation-delay:-1.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.94s;animation-delay:-1.94s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2.44s;animation-delay:-2.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2.94s;animation-delay:-2.94s}.la-pacman.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:8px;position:absolute}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:4px;height:4px}.la-pacman.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:32px;position:absolute}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:16px;height:16px}.la-pacman.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:48px;position:absolute}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:24px;height:24px}@-webkit-keyframes pacman-rotate-half-up{0%,to{transform:rotate(270deg)}50%{transform:rotate(1turn)}}@keyframes pacman-rotate-half-up{0%,to{transform:rotate(270deg)}50%{transform:rotate(1turn)}}@-webkit-keyframes pacman-rotate-half-down{0%,to{transform:rotate(90deg)}50%{transform:rotate(0deg)}}@keyframes pacman-rotate-half-down{0%,to{transform:rotate(90deg)}50%{transform:rotate(0deg)}}@-webkit-keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}to{left:0;transform:translateY(-50%)}}@keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}to{left:0;transform:translateY(-50%)}}.la-square-jelly-box[_ngcontent-%COMP%], .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-jelly-box[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-square-jelly-box.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-square-jelly-box[_ngcontent-%COMP%]{width:32px;height:32px}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){position:absolute;left:0;width:100%}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:-25%;z-index:1;height:100%;border-radius:10%;-webkit-animation:square-jelly-box-animate .6s linear -.1s infinite;animation:square-jelly-box-animate .6s linear -.1s infinite}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){bottom:-9%;height:10%;background:#000;border-radius:50%;opacity:.2;-webkit-animation:square-jelly-box-shadow .6s linear -.1s infinite;animation:square-jelly-box-shadow .6s linear -.1s infinite}.la-square-jelly-box.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-jelly-box.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-jelly-box.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@-webkit-keyframes square-jelly-box-shadow{50%{transform:scaleX(1.25)}}@keyframes square-jelly-box-shadow{50%{transform:scaleX(1.25)}}.la-square-loader[_ngcontent-%COMP%], .la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-loader[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-square-loader.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-square-loader[_ngcontent-%COMP%]{width:32px;height:32px}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background:transparent;border-width:2px;border-radius:0;-webkit-animation:square-loader 2s ease infinite;animation:square-loader 2s ease infinite}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:inline-block;width:100%;vertical-align:top;content:"";background-color:currentColor;-webkit-animation:square-loader-inner 2s ease-in infinite;animation:square-loader-inner 2s ease-in infinite}.la-square-loader.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-loader.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-square-loader.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-loader.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-square-loader.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-square-loader.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}@-webkit-keyframes square-loader{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@keyframes square-loader{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@-webkit-keyframes square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}@keyframes square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}.la-square-spin[_ngcontent-%COMP%], .la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-square-spin[_ngcontent-%COMP%]{width:32px;height:32px}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:0;-webkit-animation:square-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;animation:square-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite}.la-square-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}@keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-timer[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-timer.la-dark[_ngcontent-%COMP%]{color:#333}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background:transparent;border-width:2px;border-radius:100%}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;top:14px;left:14px;display:block;width:2px;margin-top:-1px;margin-left:-1px;content:"";background:currentColor;border-radius:2px;transform-origin:1px 1px 0;-webkit-animation:timer-loader 1.25s linear infinite;animation:timer-loader 1.25s linear infinite;-webkit-animation-delay:-625ms;animation-delay:-625ms}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:12px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:8px;-webkit-animation-duration:15s;animation-duration:15s;-webkit-animation-delay:-7.5s;animation-delay:-7.5s}.la-timer.la-sm[_ngcontent-%COMP%], .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:7px;left:7px;width:1px;margin-top:-.5px;margin-left:-.5px;border-radius:1px;transform-origin:.5px .5px 0}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:6px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:4px}.la-timer.la-2x[_ngcontent-%COMP%], .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:28px;left:28px;width:4px;margin-top:-2px;margin-left:-2px;border-radius:4px;transform-origin:2px 2px 0}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:24px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:16px}.la-timer.la-3x[_ngcontent-%COMP%], .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:42px;left:42px;width:6px;margin-top:-3px;margin-left:-3px;border-radius:6px;transform-origin:3px 3px 0}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:36px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:24px}@-webkit-keyframes timer-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes timer-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.la-triangle-skew-spin[_ngcontent-%COMP%], .la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-triangle-skew-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-triangle-skew-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-triangle-skew-spin[_ngcontent-%COMP%]{width:32px;height:16px}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:0;height:0;background:transparent;border-left:none;border-right:none;border-color:currentcolor transparent;border-style:solid;border-width:0 16px 16px;-webkit-animation:triangle-skew-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;animation:triangle-skew-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:8px}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 8px 8px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:32px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 32px 32px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:48px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 48px 48px}@-webkit-keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}@keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}.ngx-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.ngx-spinner-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}'],data:{animation:[Object(l.l)("fadeIn",[Object(l.i)("in",Object(l.j)({opacity:1})),Object(l.k)(":enter",[Object(l.j)({opacity:0}),Object(l.e)(300)]),Object(l.k)(":leave",Object(l.e)(200,Object(l.j)({opacity:0})))])]},changeDetection:0}),t})(),C=(()=>{class t{constructor(t){this._sanitizer=t}transform(t){if(t)return this._sanitizer.bypassSecurityTrustHtml(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](u.DomSanitizer))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"safeHtml",type:t,pure:!0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[c.CommonModule]]}),t})()},Kj3r:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("7o/Q"),r=n("D0XW");function s(t,e=r.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},Kqap:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new s(t,e,n))}}class s{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}class o extends i.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}},KqfI:function(t,e,n){"use strict";function i(){}n.d(e,"a",function(){return i})},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return r});const r=i()},MWIi:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("XNiG"),r=n("pLZG"),s=n("lJxs"),o=n("fXoL");let a=(()=>{class t{constructor(){this.handler=new i.a}broadcast(t,e){this.handler.next({type:t,payload:e})}subscribe(t,e){return this.handler.pipe(Object(r.a)(e=>e.type===t),Object(s.a)(t=>t.payload)).subscribe(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},NFeN:function(t,e,n){"use strict";n.d(e,"a",function(){return D}),n.d(e,"b",function(){return j});var i=n("fXoL"),r=n("FKr1"),s=n("8LU1"),o=n("ofXK"),a=n("LRne"),l=n("z6cu"),c=n("cp0P"),u=n("quSY"),h=n("vkgz"),d=n("lJxs"),p=n("JIr8"),f=n("nYR2"),g=n("w1tV"),m=n("IzEk"),b=n("tk/3"),_=n("jhN1");const y=["*"];function v(t){return Error(`Unable to find icon with the name "${t}"`)}function C(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function w(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class x{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let O=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new x(n,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,e,n,r){const s=this._sanitizer.sanitize(i.SecurityContext.HTML,n);if(!s)throw w(n);return this._addSvgIconConfig(t,e,new x("",s,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new x(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.SecurityContext.HTML,e);if(!r)throw w(e);return this._addSvgIconSetConfig(t,new x("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,t);if(!e)throw C(t);const n=this._cachedIconsByUrl.get(e);return n?Object(a.a)(k(n)):this._loadSvgIconFromConfig(new x(t,null)).pipe(Object(h.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(d.a)(t=>k(t)))}getNamedSvgIcon(t,e=""){const n=E(e,t);let i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(e,t),i)return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(l.a)(v(n))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(a.a)(k(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(d.a)(t=>k(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(a.a)(n);const r=e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(p.a)(e=>{const n=this._sanitizer.sanitize(i.SecurityContext.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(a.a)(null)})));return Object(c.a)(r).pipe(Object(d.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw v(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(h.a)(e=>t.svgText=e),Object(d.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(a.a)(null):this._fetchIcon(t).pipe(Object(h.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString(""),n=t.attributes;for(let i=0;ithis._inProgressUrlFetches.delete(o)),Object(g.a)());return this._inProgressUrlFetches.set(o,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(E(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}_getIconConfigFromResolvers(t,e){for(let i=0;ie?e.pathname+e.search:""}}}),I=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],A=I.map(t=>`[${t}]`).join(", "),T=/^url\(['"]?#(.*?)['"]?\)$/;let D=(()=>{class t extends S{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=u.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(s.c)(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(A),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const r=e[i],s=r.getAttribute(t),o=s?s.match(T):null;if(o){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:o[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(Object(m.a)(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](O),i["\u0275\u0275injectAttribute"]("aria-hidden"),i["\u0275\u0275directiveInject"](M),i["\u0275\u0275directiveInject"](i.ErrorHandler))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i["\u0275\u0275attribute"]("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i["\u0275\u0275classProp"]("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:y,decls:1,vars:0,template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[r.d],r.d]}),t})()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return i})},NJ9Y:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("sVev"),r=n("pLZG"),s=n("BFxc"),o=n("XDbj"),a=n("xbPD"),l=n("SpAZ");function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?Object(r.a)((e,n)=>t(e,n,c)):l.a,Object(s.a)(1),n?Object(a.a)(e):Object(o.a)(()=>new i.a))}},NXyV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("Cfvw"),s=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(r.a)(n):Object(s.b)()).subscribe(e)})}},Nv8m:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("DH7j"),r=n("yCtX"),s=n("l7GE"),o=n("ZUHj");function a(...t){if(1===t.length){if(!Object(i.a)(t[0]))return t[0];t=t[0]}return Object(r.a)(t,void 0).lift(new l)}class l{call(t,e){return e.subscribe(new c(t))}}class c extends s.a{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n{class t extends f{constructor(t){super(),this.http=t}getSvg(t){return this.http.get(t,{responseType:"text"})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](d.HttpClient))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const m=new i.InjectionToken("SERVER_URL");let b=(()=>{class t{constructor(t,e,n,i){this.loader=t,this.platformId=e,this.serverUrl=n,this._document=i,this.iconsByUrl=new Map,this.iconsLoadingByUrl=new Map,this.document=this._document}addSvg(t,e){if(!this.iconsByUrl.has(t)){const n=this.document.createElement("DIV");n.innerHTML=e;const i=n.querySelector("svg");this.iconsByUrl.set(t,i)}}loadSvg(t,e=t){if(this.serverUrl&&null===t.match(/^(http(s)?):/)&&(e=t=this.serverUrl+t),this.iconsByUrl.has(e))return Object(s.a)(this.iconsByUrl.get(e));if(this.iconsLoadingByUrl.has(e))return this.iconsLoadingByUrl.get(e);const n=this.loader.getSvg(t).pipe(Object(a.a)(t=>{const e=this.document.createElement("DIV");return e.innerHTML=t,e.querySelector("svg")}),Object(l.a)(t=>this.iconsByUrl.set(e,t)),Object(c.a)(t=>(console.error(t),Object(o.a)(t))),Object(u.a)(()=>this.iconsLoadingByUrl.delete(e)),Object(h.a)());return this.iconsLoadingByUrl.set(e,n),n}getSvgByName(t){return this.iconsByUrl.has(t)?Object(s.a)(this.iconsByUrl.get(t)):this.iconsLoadingByUrl.has(t)?this.iconsLoadingByUrl.get(t):Object(o.a)(`No svg with name '${t}' has been loaded`)}unloadSvg(t){this.iconsByUrl.has(t)&&this.iconsByUrl.delete(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](f),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](m,8),i["\u0275\u0275inject"](r.DOCUMENT,8))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const _={provide:b,deps:[[new i.Optional,new i.SkipSelf,b],f,[i.PLATFORM_ID],[new i.Optional,m],[new i.Optional,r.DOCUMENT]],useFactory:function(t,e,n,i,r){return t||new b(e,n,i,r)}};class y{constructor(){this.loaded=!1}}let v=(()=>{class t{constructor(t,e,n,i,r){this.element=t,this.differs=e,this.renderer=n,this.iconReg=i,this.cdr=r,this.stretch=!1,this.applyClass=!1,this.applyCss=!1,this.helper=new y,this._svgStyle=null}set svgStyle(t){this._svgStyle=t,!this.helper.differ&&t&&(this.helper.differ=this.differs.find(t).create())}ngOnInit(){this.init()}ngOnDestroy(){this.destroy()}ngOnChanges(t){const e=this.element.nativeElement.firstChild;(t.src||t.name)&&(this.helper.loaded&&this.destroy(),this.init()),t.stretch&&this.stylize(),t.applyClass&&(this.applyClass?this.setClass(e,null,this.klass):this.setClass(e,this.klass,null)),t.svgClass&&this.setClass(e,t.svgClass.previousValue,t.svgClass.currentValue),t.klass&&(this.setClass(this.element.nativeElement,t.klass.previousValue,t.klass.currentValue),this.setClass(e,t.klass.previousValue,this.applyClass?t.klass.currentValue:null)),t.viewBox&&(this.helper.loaded&&this.destroy(),this.init()),t.applyCss&&(console.warn("applyCss deprecated since 9.1.0, will be removed in 10.0.0"),console.warn("use applyClass instead")),t.svgAriaLabel&&this.doAria(t.svgAriaLabel.currentValue)}ngDoCheck(){if(this.helper.svg&&this.helper.differ){const t=this.helper.differ.diff(this._svgStyle);t&&this.applyChanges(t)}}init(){if(this.name){const t=this.iconReg.getSvgByName(this.name);t&&(this.helper.icnSub=t.subscribe(t=>this.initSvg(t)))}else if(this.src){const t=this.iconReg.loadSvg(this.src);t&&(this.helper.icnSub=t.subscribe(t=>this.initSvg(t)))}else this.element.nativeElement.innerHTML="",this.cdr.markForCheck()}initSvg(t){!this.helper.loaded&&t&&(this.setSvg(t),this.resetDiffer())}destroy(){this.helper.icnSub&&this.helper.icnSub.unsubscribe(),this.helper=new y}resetDiffer(){this._svgStyle&&!this.helper.differ&&(this.helper.differ=this.differs.find(this._svgStyle).create())}setSvg(t){if(!this.helper.loaded&&t){this.helper.svg=t;const e=t.cloneNode(!0),n=this.element.nativeElement;if(n.innerHTML="",this.renderer.appendChild(n,e),this.helper.loaded=!0,this.copyNgContentAttribute(n,e),this.klass&&this.applyClass&&this.setClass(n.firstChild,null,this.klass),this.svgClass&&this.setClass(n.firstChild,null,this.svgClass),this.viewBox)if("auto"===this.viewBox){const t=e.getAttribute("width"),n=e.getAttribute("height");n&&t&&(this.renderer.setAttribute(e,"viewBox",`0 0 ${t} ${n}`),this.renderer.removeAttribute(e,"width"),this.renderer.removeAttribute(e,"height"))}else""!==this.viewBox&&(this.renderer.setAttribute(e,"viewBox",this.viewBox),this.renderer.removeAttribute(e,"width"),this.renderer.removeAttribute(e,"height"));this.stylize(),void 0===this.svgAriaLabel&&n.firstChild.hasAttribute("aria-label")||this.doAria(this.svgAriaLabel||""),this.cdr.markForCheck()}}copyNgContentAttribute(t,e){const n=t.attributes,i=n.length;for(let r=0;rthis.setStyle(t.key,null)),t.forEachAddedItem(t=>this.setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this.setStyle(t.key,t.currentValue))}setStyle(t,e){const[n,i]=t.split("."),r=this.element.nativeElement.firstChild;null!==(e=null!==e&&i?`${e}${i}`:e)?this.renderer.setStyle(r,n,e):this.renderer.removeStyle(r,n)}setClass(t,e,n){if(t){if(e){const n=Array.isArray(e)?e:e.split(" ");for(const e of n)this.renderer.removeClass(t,e)}if(n){const e=Array.isArray(n)?n:n.split(" ");for(const n of e)this.renderer.addClass(t,n)}}}doAria(t){const e=this.element.nativeElement.firstChild;e&&(""===t?(this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.removeAttribute(e,"aria-label")):(this.renderer.removeAttribute(e,"aria-hidden"),this.renderer.setAttribute(e,"aria-label",t)))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.KeyValueDiffers),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](b),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["svg-icon"]],inputs:{stretch:"stretch",applyClass:"applyClass",applyCss:"applyCss",svgStyle:"svgStyle",src:"src",name:"name",svgClass:"svgClass",klass:["class","klass"],viewBox:"viewBox",svgAriaLabel:"svgAriaLabel"},features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:p,decls:1,vars:0,template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},encapsulation:2}),t})(),C=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[_,e.loader||{provide:f,useClass:g}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[r.CommonModule]]}),t})()},OjaE:function(t,e,n){"use strict";var i=n("fXoL");n("ofXK"),Object.defineProperty(e,"__esModule",{value:!0}),n("fXoL");var r=n("ofXK"),s=n("kRGQ");!function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n("kRGQ"));var o=function(){function t(){}var e;return e=t,t.forRoot=function(){return{ngModule:e,providers:[s.EmbedVideoService]}},t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.\u0275\u0275defineNgModule({type:t}),t.\u0275inj=i.\u0275\u0275defineInjector({providers:[s.EmbedVideoService],imports:[[r.CommonModule]]}),t}();e.EmbedVideo=o},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PqYM:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("D0XW"),s=n("Y7HM"),o=n("z+Ro");function a(t=0,e,n){let a=-1;return Object(s.a)(e)?a=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=r.a),new i.a(e=>{const i=Object(s.a)(t)?t:+t-n.now();return n.schedule(l,i,{index:0,period:a,subscriber:e})})}function l(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},R0Ic:function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return g}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return d}),n.d(e,"g",function(){return p}),n.d(e,"h",function(){return l}),n.d(e,"i",function(){return u}),n.d(e,"j",function(){return c}),n.d(e,"k",function(){return h}),n.d(e,"l",function(){return o}),n.d(e,"m",function(){return m}),n.d(e,"n",function(){return b});class i{}class r{}const s="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t=null){return{type:9,options:t}}function p(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function f(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class m{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?f(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const b="!"},R1ws:function(t,e,n){"use strict";n.d(e,"a",function(){return Ae}),n.d(e,"b",function(){return De});var i=n("fXoL"),r=n("jhN1"),s=n("R0Ic");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new s.d;case 1:return t[0];default:return new s.m(t)}}function l(t,e,n,i,r={},o={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case s.n:l=r[n];break;case s.a:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&u(n,"start",t)));break;case"done":t.onDone(()=>i(n&&u(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&u(n,"destroy",t)))}}function u(t,e,n){const i=n.totalTime,r=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function h(t,e,n,i,r="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function d(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,g=(t,e)=>!1,m=(t,e,n)=>[];const b=o();(b||"undefined"!=typeof Element)&&(f=(t,e)=>t.contains(e),g=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),m=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,o=[],a){return new s.d(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),E=(()=>{class t{}return t.NOOP=new k,t})();const P="ng-enter",S="ng-leave",M="ng-trigger",I=".ng-trigger",A="ng-animating",T=".ng-animating";function D(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:j(parseFloat(e[1]),e[2])}function j(t,e){switch(e){case"s":return 1e3*t;default:return t}}function R(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=j(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=j(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function N(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function F(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else N(t,n);return n}function V(t,e,n){return n?e+":"+n+";":""}function L(t){let e="";for(let n=0;n{const r=X(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),o()&&L(t))}function B(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=X(e);t.style[n]=""}),o()&&L(t))}function H(t){return Array.isArray(t)?1==t.length?t[0]:Object(s.h)(t):t}const U=new RegExp("{{\\s*(.+?)\\s*}}","g");function q(t){let e=[];if("string"==typeof t){let n;for(;n=U.exec(t);)e.push(n[1]);U.lastIndex=0}return e}function W(t,e,n){const i=t.toString(),r=i.replace(U,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push(`Please provide a value for the animation param ${i}`),r=""),r.toString()});return r==i?t:r}function K(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const Y=/-+([a-z0-9])/g;function X(t){return t.replace(Y,(...t)=>t[1].toUpperCase())}function G(t,e){return 0===t||0===e}function Z(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],o=[];if(i.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var r=1;rfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],o=i[3];e.push(it(r,o)),"<"!=s[0]||r==J&&o==J||e.push(it(o,r))}(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function it(t,e){const n=et.has(t)||nt.has(t),i=et.has(e)||nt.has(e);return(r,s)=>{let o=t==J||t==r,a=e==J||e==s;return!o&&n&&"boolean"==typeof r&&(o=r?et.has(t):nt.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?et.has(e):nt.has(e)),o&&a}}const rt=new RegExp("s*:selfs*,?","g");function st(t,e,n){return new ot(t).build(e,n)}class ot{constructor(t){this._driver=t}build(t,e){const n=new at(e);return this._resetContextStyleTimingState(n),Q(this,H(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(lt(t)){const e=t;Object.keys(e).forEach(t=>{q(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=K(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Q(this,H(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ct(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Q(this,t,e)),options:ct(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Q(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:ct(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ut(R(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ut(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||R(i,e),ut(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(s.j)({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(s.j)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==s.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(lt(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],o=s[n];let a=!0;o&&(r!=i&&r>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),a=!1),r=o.startTime),a&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=q(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,s=s||c0&&i{const s=u>0?i==h?1:u*i:r[i],o=s*f;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Q(this,H(t.animation),e),options:ct(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ct(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ct(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(rt,"")),[t=t.replace(/@\*/g,I).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,T),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,d(e.collectedStyles,e.currentQuerySelector,{});const o=Q(this,H(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:ct(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:R(t.timings,e.errors,!0);return{type:12,animation:Q(this,H(t.animation),e),timings:n,options:null}}}class at{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function lt(t){return!Array.isArray(t)&&"object"==typeof t}function ct(t){var e;return t?(t=N(t)).params&&(t.params=(e=t.params)?N(e):null):t={},t}function ut(t,e,n){return{duration:t,delay:e,easing:n}}function ht(t,e,n,i,r,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}class dt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const pt=new RegExp(":enter","g"),ft=new RegExp(":leave","g");function gt(t,e,n,i,r,s={},o={},a,l,c=[]){return(new mt).buildKeyframes(t,e,n,i,r,s,o,a,l,c)}class mt{buildKeyframes(t,e,n,i,r,s,o,a,l,c=[]){l=l||new dt;const u=new _t(t,e,l,i,r,c,[]);u.options=a,u.currentTimeline.setStyles([s],null,u.errors,a),Q(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ht(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?D(n.duration):null,s=null!=n.delay?D(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),Q(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=bt);const t=D(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Q(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?D(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Q(this,s,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return R(e.params?W(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?D(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=bt);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(a=o.currentTimeline),Q(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;Q(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const bt={};class _t{constructor(t,e,n,i,r,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new yt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=D(n.duration)),null!=n.delay&&(i.delay=D(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=W(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new _t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=bt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new vt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(pt,"."+this._enterClassName)).replace(ft,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class yt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new yt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||s.a,this._currentKeyframe[t]=s.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=s.a})):F(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=W(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:s.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,o)=>{const a=F(r,!0);Object.keys(a).forEach(n=>{const i=a[n];i==s.n?t.add(n):i==s.a&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const r=t.size?K(t.values()):[],o=e.size?K(e.values()):[];if(n){const t=i[0],e=N(t);t.offset=0,e.offset=1,i=[t,e]}return ht(this.element,i,r,o,this.duration,this.startTime,this.easing,!1)}}class vt extends yt{constructor(t,e,n,i,r,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,o=e/s,a=F(t[0],!1);a.offset=0,r.push(a);const l=F(t[0],!1);l.offset=Ct(o),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=F(t[i],!1);o.offset=Ct((e+o.offset*n)/s),r.push(o)}n=s,e=0,i="",t=r}return ht(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Ct(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class wt{}class xt extends wt{normalizePropertyName(t,e){return X(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const Ot=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function kt(t,e,n,i,r,s,o,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Et={};class Pt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,o,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Et,p=this.buildStyles(n,o&&o.params||Et,u),f=a&&a.params||Et,g=this.buildStyles(i,f,u),m=new Set,b=new Map,_=new Map,y="void"===i,v={params:Object.assign(Object.assign({},h),f)},C=c?[]:gt(t,e,this.ast.animation,r,s,p,g,v,l,u);let w=0;if(C.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return kt(e,this._triggerName,n,i,y,p,g,[],[],b,_,w,u);C.forEach(t=>{const n=t.element,i=d(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=d(_,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&m.add(n)});const x=K(m.values());return kt(e,this._triggerName,n,i,y,p,g,C,x,b,_,w)}}class St{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=N(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=W(s,i,e)),n[t]=s})}}),n}}class Mt{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new St(t.style,t.options&&t.options.params||{})}),It(this.states,"true","1"),It(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Pt(t,e,this.states))}),this.fallbackTransition=new Pt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function It(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const At=new dt;class Tt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=st(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let o;const l=new Map;if(r?(o=gt(this._driver,e,r,P,S,{},{},n,At,i),o.forEach(t=>{const e=d(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,s.a)})});const c=a(o.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,i){const r=h(e,"","","");return c(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Dt="ng-animate-queued",jt="ng-animate-disabled",Rt=".ng-animate-disabled",Nt=[],Ft={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Lt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=N(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const zt="void",Bt=new Lt(zt);class Ht{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Gt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=d(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};s.push(o);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Gt(t,M),Gt(t,"ng-trigger-"+e),a[e]=Bt),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(o);t>=0&&s.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new qt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Gt(t,M),Gt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Lt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=Bt),l.value!==zt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{B(t,n),z(t,i)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!i)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Gt(t,Dt),s.onStart(()=>{Zt(t,Dt)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,I,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,zt,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const i=new Set;e.forEach(e=>{const r=e.name;if(i.has(r))return;i.add(r);const s=this._triggers[r].fallbackTransition,o=n[r]||Bt,a=new Lt(zt),l=new qt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Ft||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Gt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=h(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class Ut{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Ht(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Gt(t,jt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Zt(t,jt))}removeNode(t,e,n,i){if(Wt(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return Wt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,I,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,T,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Ft,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Rt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Rt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new dt,i=[],r=new Map,o=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=P+b++;m.set(e,n),t.forEach(t=>Gt(t,n))});const _=[],y=new Set,v=new Set;for(let s=0;sy.add(t)):v.add(t))}const C=new Map,w=Xt(f,Array.from(y));w.forEach((t,e)=>{const n=S+b++;C.set(e,n),t.forEach(t=>Gt(t,n))}),t.push(()=>{g.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Zt(t,n))}),w.forEach((t,e)=>{const n=C.get(e);t.forEach(t=>Zt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],O=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(x.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const s=!p||!this.driver.containsElement(p,r),a=C.get(r),h=m.get(r),f=this._buildInstruction(t,n,h,a,s);if(f.errors&&f.errors.length)O.push(f);else{if(s)return e.onStart(()=>B(r,f.fromStyles)),e.onDestroy(()=>z(r,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>B(r,f.fromStyles)),e.onDestroy(()=>z(r,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,f.timelines),o.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(t=>d(l,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=u.get(e);i||u.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(O.length){const t=[];O.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const k=new Map,E=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(k,e,[]).push(t),t.destroy()})});const M=_.filter(t=>Jt(t,c,u)),I=new Map;Yt(I,this.driver,v,u,s.a).forEach(t=>{Jt(t,c,u)&&M.push(t)});const A=new Map;g.forEach((t,e)=>{Yt(A,this.driver,new Set(t),c,s.n)}),M.forEach(t=>{const e=I.get(t),n=A.get(t);I.set(t,Object.assign(Object.assign({},e),n))});const D=[],j=[],R={};o.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(h.has(e))return s.onDestroy(()=>z(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void i.push(s);let t=R;if(E.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>E.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,k,r,A,I);if(s.setRealPlayer(n),t===R)D.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=a(e)),i.push(s)}}else B(e,o.fromStyles),s.onDestroy(()=>z(e,o.toStyles)),j.push(s),h.has(e)&&i.push(s)}),j.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let s=0;s<_.length;s++){const t=_[s],e=t.__ng_removed;if(Zt(t,S),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,T,!0);for(let t=0;t!t.destroyed);i.length?Qt(this,t,i):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==zt;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=d(n,t,[]);this._getPreviousPlayers(t,a,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}B(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,o){const c=e.triggerName,u=e.element,h=[],p=new Set,f=new Set,g=e.timelines.map(e=>{const a=e.element;p.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new s.d(e.duration,e.delay);const g=a!==u,m=function(t){const e=[];return $t(t,e),e}((n.get(a)||Nt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),b=r.get(a),_=o.get(a),y=l(0,this._normalizer,0,e.keyframes,b,_),v=this._buildPlayer(e,y,m);if(e.subTimeline&&i&&f.add(a),g){const e=new qt(t,c,a);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Gt(t,A));const m=a(g);return m.onDestroy(()=>{p.forEach(t=>Zt(t,A)),z(u,e.toStyles)}),f.forEach(t=>{d(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new s.d(t.duration,t.delay)}}class qt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new s.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Wt(t){return t&&1===t.nodeType}function Kt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Yt(t,e,n,i,r){const s=[];n.forEach(t=>s.push(Kt(t)));const o=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=Vt,o.push(i))}),t.set(i,s)});let a=0;return n.forEach(t=>Kt(t,s[a++])),o}function Xt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function s(t){if(!t)return 1;let e=r.get(t);if(e)return e;const o=t.parentNode;return e=n.has(o)?o:i.has(o)?1:s(o),r.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}function Gt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Zt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Qt(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function $t(t,e){for(let n=0;nr.add(t)):e.set(t,i),n.delete(t),!0}class te{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ut(t,e,n),this._timelineEngine=new Tt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let o=this._triggerCache[s];if(!o){const t=[],e=st(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Mt(t,e)}(i,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=p(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function ee(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=ie(e[0]),e.length>1&&(i=ie(e[e.length-1]))):e&&(n=ie(e)),n||i?new ne(t,n,i):null}let ne=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(B(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function ie(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=pe(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),he(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=pe(t,"").split(","),i=ue(n,e);i>=0&&(n.splice(i,1),de(t,"",n.join(",")))}(this._element,this._name))}}function le(t,e,n){de(t,"PlayState",n,ce(t,e))}function ce(t,e){const n=pe(t,"");return n.indexOf(",")>0?ue(n.split(","),e):ue([n],e)}function ue(t,e){for(let n=0;n=0)return n;return-1}function he(t,e,n){n?t.removeEventListener(oe,e):t.addEventListener(oe,e)}function de(t,e,n,i){const r=se+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function pe(t,e){return t.style[se+e]||""}class fe{constructor(t,e,n,i,r,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ae(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:$(this.element,n))})}this.currentSnapshot=t}}class ge extends s.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=O(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class me{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>O(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=`${r}}\n`}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(t,e,n,i,r,s=[],o){const a=s.filter(t=>t instanceof fe),l={};G(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Z(t,e,l));if(0==n)return new ge(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=ee(t,e),p=new fe(t,e,u,n,i,r,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class be{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:$(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class _e{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ye().toString()),this._cssKeyframesDriver=new me}validateStyleProperty(t){return v(t)}matchesElement(t,e){return C(t,e)}containsElement(t,e){return w(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(a.easing=r);const l={},c=s.filter(t=>t instanceof be);G(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=ee(t,e=Z(t,e=e.map(t=>F(t,!1)),l));return new be(t,e,a,u)}}function ye(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ve=n("ofXK");let Ce=(()=>{class t extends s.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(s.h)(t):t;return Oe(this._renderer,null,e,"register",[n]),new we(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.RendererFactory2),i["\u0275\u0275inject"](ve.DOCUMENT))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();class we extends s.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new xe(this._id,t,e||{},this._renderer)}}class xe{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return Oe(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function Oe(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const ke="@",Ee="@.disabled";let Pe=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Se("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new Me(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.RendererFactory2),i["\u0275\u0275inject"](te),i["\u0275\u0275inject"](i.NgZone))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();class Se{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==ke&&e==Ee?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Me extends Se{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==ke?"."==e.charAt(1)&&e==Ee?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==ke){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=ke&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Ie=(()=>{class t extends te{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](ve.DOCUMENT),i["\u0275\u0275inject"](E),i["\u0275\u0275inject"](wt))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const Ae=new i.InjectionToken("AnimationModuleType"),Te=[{provide:E,useFactory:function(){return"function"==typeof ye()?new _e:new me}},{provide:Ae,useValue:"BrowserAnimations"},{provide:s.b,useClass:Ce},{provide:wt,useFactory:function(){return new xt}},{provide:te,useClass:Ie},{provide:i.RendererFactory2,useFactory:function(t,e,n){return new Pe(t,e,n)},deps:[r["\u0275DomRendererFactory2"],te,i.NgZone]}];let De=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:Te,imports:[r.BrowserModule]}),t})()},R9Cn:function(t,e,n){"use strict";n.d(e,"a",function(){return K}),n.d(e,"b",function(){return Y});var i=n("fXoL"),r=n("ofXK");const s=["dialogPopup"],o=["hueSlider"],a=["alphaSlider"];function l(t,e){if(1&t&&i["\u0275\u0275element"](0,"div"),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMapInterpolate1"]("arrow arrow-",t.cpUsePosition,""),i["\u0275\u0275styleProp"]("top",t.arrowTop,"px")}}function c(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275listener"]("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onColorChange(e)})("dragStart",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onDragStart("saturation-lightness")})("dragEnd",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onDragEnd("saturation-lightness")}),i["\u0275\u0275element"](1,"div",13),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("background-color",t.hueSliderColor),i["\u0275\u0275property"]("rgX",1)("rgY",1),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("top",null==t.slider?null:t.slider.v,"px")("left",null==t.slider?null:t.slider.s,"px")}}function u(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",27),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](t);const n=i["\u0275\u0275nextContext"]();return n.onAddPresetColor(e,n.selectedColor)}),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classMap"](t.cpAddColorButtonClass),i["\u0275\u0275property"]("disabled",t.cpPresetColors&&t.cpPresetColors.length>=t.cpMaxPresetColorsLength),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",t.cpAddColorButtonText," ")}}function h(t,e){1&t&&i["\u0275\u0275element"](0,"div",28)}function d(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",34),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAlphaInput(e)}),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("rg",1)("value",null==t.cmykText?null:t.cmykText.a)}}function p(t,e){1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"A"),i["\u0275\u0275elementEnd"]())}function f(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275elementStart"](1,"div",30),i["\u0275\u0275elementStart"](2,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onCyanInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onMagentaInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onYellowInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onBlackInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,d,1,2,"input",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",30),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275text"](9,"C"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div"),i["\u0275\u0275text"](11,"M"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div"),i["\u0275\u0275text"](13,"Y"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div"),i["\u0275\u0275text"](15,"K"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,p,2,0,"div",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("display",3!==t.format?"none":"block"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("rg",100)("value",null==t.cmykText?null:t.cmykText.c),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",100)("value",null==t.cmykText?null:t.cmykText.m),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",100)("value",null==t.cmykText?null:t.cmykText.y),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",100)("value",null==t.cmykText?null:t.cmykText.k),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel)}}function g(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",34),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAlphaInput(e)}),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("rg",1)("value",null==t.hslaText?null:t.hslaText.a)}}function m(t,e){1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"A"),i["\u0275\u0275elementEnd"]())}function b(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",35),i["\u0275\u0275elementStart"](1,"div",30),i["\u0275\u0275elementStart"](2,"input",36),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onHueInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onSaturationInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onLightnessInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,g,1,2,"input",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",30),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275text"](8,"H"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div"),i["\u0275\u0275text"](10,"S"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div"),i["\u0275\u0275text"](12,"L"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,m,2,0,"div",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("display",2!==t.format?"none":"block"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("rg",360)("value",null==t.hslaText?null:t.hslaText.h),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",100)("value",null==t.hslaText?null:t.hslaText.s),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",100)("value",null==t.hslaText?null:t.hslaText.l),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel)}}function _(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",34),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAlphaInput(e)}),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("rg",1)("value",null==t.rgbaText?null:t.rgbaText.a)}}function y(t,e){1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"A"),i["\u0275\u0275elementEnd"]())}function v(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275elementStart"](1,"div",30),i["\u0275\u0275elementStart"](2,"input",38),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onRedInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"input",38),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onGreenInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",38),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onBlueInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,_,1,2,"input",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",30),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275text"](8,"R"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div"),i["\u0275\u0275text"](10,"G"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div"),i["\u0275\u0275text"](12,"B"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,y,2,0,"div",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("display",1!==t.format?"none":"block"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("rg",255)("value",null==t.rgbaText?null:t.rgbaText.r),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",255)("value",null==t.rgbaText?null:t.rgbaText.g),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("rg",255)("value",null==t.rgbaText?null:t.rgbaText.b),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel)}}function C(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",34),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAlphaInput(e)}),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("rg",1)("value",t.hexAlpha)}}function w(t,e){1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"A"),i["\u0275\u0275elementEnd"]())}function x(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",39),i["\u0275\u0275elementStart"](1,"div",30),i["\u0275\u0275elementStart"](2,"input",40),i["\u0275\u0275listener"]("blur",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onHexInput(null)})("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onHexInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,C,1,2,"input",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275elementStart"](5,"div"),i["\u0275\u0275text"](6,"Hex"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,w,2,0,"div",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("display",0!==t.format?"none":"block"),i["\u0275\u0275classProp"]("hex-alpha","forced"===t.cpAlphaChannel),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",t.hexText),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","forced"===t.cpAlphaChannel),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf","forced"===t.cpAlphaChannel)}}function O(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",34),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAlphaInput(e)}),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("rg",1)("value",null==t.hslaText?null:t.hslaText.a)}}function k(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",41),i["\u0275\u0275elementStart"](1,"div",30),i["\u0275\u0275elementStart"](2,"input",31),i["\u0275\u0275listener"]("keyup.enter",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onAcceptColor(e)})("newValue",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onValueInput(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,O,1,2,"input",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",30),i["\u0275\u0275elementStart"](5,"div"),i["\u0275\u0275text"](6,"V"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275text"](8,"A"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("rg",100)("value",null==t.hslaText?null:t.hslaText.l),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","disabled"!==t.cpAlphaChannel)}}function E(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",42),i["\u0275\u0275elementStart"](1,"span",43),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onFormatToggle(-1)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](2,"span",43),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().onFormatToggle(1)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function P(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"span",50),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](t);const n=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](3).onRemovePresetColor(e,n)}),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](4);i["\u0275\u0275classMap"](t.cpRemoveColorButtonClass)}}function S(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](t);const n=e.$implicit;return i["\u0275\u0275nextContext"](3).setColorFromString(n)}),i["\u0275\u0275template"](1,P,1,3,"span",49),i["\u0275\u0275elementEnd"]()}if(2&t){const t=e.$implicit,n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275styleProp"]("background-color",t),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.cpAddColorButton)}}function M(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,S,2,3,"div",47),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classMap"](t.cpPresetColorsClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.cpPresetColors)}}function I(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classMap"](t.cpPresetEmptyMessageClass),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.cpPresetEmptyMessage)}}function A(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",44),i["\u0275\u0275element"](1,"hr"),i["\u0275\u0275elementStart"](2,"div",45),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,M,2,4,"div",46),i["\u0275\u0275template"](5,I,2,4,"div",46),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](t.cpPresetLabel),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",null==t.cpPresetColors?null:t.cpPresetColors.length),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!(null!=t.cpPresetColors&&t.cpPresetColors.length)&&t.cpAddColorButton)}}function T(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",53),i["\u0275\u0275listener"]("click",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onCancelColor(e)}),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classMap"](t.cpCancelButtonClass),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.cpCancelButtonText)}}function D(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",53),i["\u0275\u0275listener"]("click",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).onAcceptColor(e)}),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classMap"](t.cpOKButtonClass),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.cpOKButtonText)}}function j(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",51),i["\u0275\u0275template"](1,T,2,4,"button",52),i["\u0275\u0275template"](2,D,2,4,"button",52),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.cpCancelButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.cpOKButton)}}var R=function(t){return t[t.HEX=0]="HEX",t[t.RGBA=1]="RGBA",t[t.HSLA=2]="HSLA",t[t.CMYK=3]="CMYK",t}({});class N{constructor(t,e,n,i){this.r=t,this.g=e,this.b=n,this.a=i}}class F{constructor(t,e,n,i){this.h=t,this.s=e,this.v=n,this.a=i}}class V{constructor(t,e,n,i){this.h=t,this.s=e,this.l=n,this.a=i}}class L{constructor(t,e,n,i,r=1){this.c=t,this.m=e,this.y=n,this.k=i,this.a=r}}let z=(()=>{class t{constructor(){this.newValue=new i.EventEmitter}inputChange(t){const e=t.target.value;if(void 0===this.rg)this.newValue.emit(e);else{const t=parseFloat(e);this.newValue.emit({v:t,rg:this.rg})}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","text",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("input",function(t){return e.inputChange(t)})},inputs:{rg:"rg",text:"text"},outputs:{newValue:"newValue"}}),t})(),B=(()=>{class t{constructor(t){this.elRef=t,this.dragEnd=new i.EventEmitter,this.dragStart=new i.EventEmitter,this.newValue=new i.EventEmitter,this.listenerMove=t=>this.move(t),this.listenerStop=()=>this.stop()}mouseDown(t){this.start(t)}touchStart(t){this.start(t)}move(t){t.preventDefault(),this.setCursor(t)}start(t){this.setCursor(t),t.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(t){const e=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-e.left-window.pageXOffset}getY(t){const e=this.elRef.nativeElement.getBoundingClientRect();return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-e.top-window.pageYOffset}setCursor(t){const e=this.elRef.nativeElement.offsetWidth,n=this.elRef.nativeElement.offsetHeight,i=Math.max(0,Math.min(this.getX(t),e)),r=Math.max(0,Math.min(this.getY(t),n));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:i/e,v:1-r/n,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:r/n,rgY:this.rgY}):void 0!==this.rgX&&void 0===this.rgY&&this.newValue.emit({v:i/e,rgX:this.rgX})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","slider",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("mousedown",function(t){return e.mouseDown(t)})("touchstart",function(t){return e.touchStart(t)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),t})();class H{constructor(t,e,n,i){this.h=t,this.s=e,this.v=n,this.a=i}}class U{constructor(t,e,n,i){this.h=t,this.s=e,this.v=n,this.a=i}}let q=(()=>{class t{constructor(){this.active=null}setActive(t){this.active&&this.active!==t&&"inline"!==this.active.cpDialogDisplay&&this.active.closeDialog(),this.active=t}hsva2hsla(t){const e=t.h,n=t.s,i=t.v,r=t.a;if(0===i)return new V(e,0,0,r);if(0===n&&1===i)return new V(e,1,1,r);{const t=i*(2-n)/2;return new V(e,i*n/(1-Math.abs(2*t-1)),t,r)}}hsla2hsva(t){const e=Math.min(t.h,1),n=Math.min(t.s,1),i=Math.min(t.l,1),r=Math.min(t.a,1);if(0===i)return new F(e,0,0,r);{const t=i+n*(1-Math.abs(2*i-1))/2;return new F(e,2*(t-i)/t,t,r)}}hsvaToRgba(t){let e,n,i;const r=t.h,s=t.s,o=t.v,a=t.a,l=Math.floor(6*r),c=6*r-l,u=o*(1-s),h=o*(1-c*s),d=o*(1-(1-c)*s);switch(l%6){case 0:e=o,n=d,i=u;break;case 1:e=h,n=o,i=u;break;case 2:e=u,n=o,i=d;break;case 3:e=u,n=h,i=o;break;case 4:e=d,n=u,i=o;break;case 5:e=o,n=u,i=h;break;default:e=0,n=0,i=0}return new N(e,n,i,a)}cmykToRgb(t){return new N((1-t.c)*(1-t.k),(1-t.m)*(1-t.k),(1-t.y)*(1-t.k),t.a)}rgbaToCmyk(t){const e=1-Math.max(t.r,t.g,t.b);return 1===e?new L(0,0,0,1,t.a):new L((1-t.r-e)/(1-e),(1-t.g-e)/(1-e),(1-t.b-e)/(1-e),e,t.a)}rgbaToHsva(t){let e,n;const i=Math.min(t.r,1),r=Math.min(t.g,1),s=Math.min(t.b,1),o=Math.min(t.a,1),a=Math.max(i,r,s),l=Math.min(i,r,s),c=a,u=a-l;if(n=0===a?0:u/a,a===l)e=0;else{switch(a){case i:e=(r-s)/u+(r{class t{constructor(t,e,n){this.elRef=t,this.cdRef=e,this.service=n,this.isIE10=!1,this.dialogArrowSize=10,this.dialogArrowOffset=15,this.dialogInputFields=[R.HEX,R.RGBA,R.HSLA,R.CMYK],this.useRootViewContainer=!1}handleEsc(t){this.show&&"popup"===this.cpDialogDisplay&&this.onCancelColor(t)}handleEnter(t){this.show&&"popup"===this.cpDialogDisplay&&this.onAcceptColor(t)}ngOnInit(){this.slider=new H(0,0,0,0),this.sliderDimMax=new U(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.format=this.cpCmykEnabled?R.CMYK:"rgba"===this.cpOutputFormat?R.RGBA:"hsla"===this.cpOutputFormat?R.HSLA:R.HEX,this.listenerMouseDown=t=>{this.onMouseDown(t)},this.listenerResize=()=>{this.onResize()},this.openDialog(this.initialColor,!1)}ngOnDestroy(){this.closeDialog()}ngAfterViewInit(){230===this.cpWidth&&"inline"!==this.cpDialogDisplay||(this.sliderDimMax=new U(this.hueSlider.nativeElement.offsetWidth||140,this.cpWidth,130,this.alphaSlider.nativeElement.offsetWidth||140),this.updateColorPicker(!1),this.cdRef.detectChanges())}openDialog(t,e=!0){this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.height||(this.height=320),this.setInitialColor(t),this.setColorFromString(t,e),this.openColorPicker()}closeDialog(){this.closeColorPicker()}setupDialog(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m,b,_,y,v,C,w,x,O,k,E,P,S,M,I,A,T,D,j,R){this.setInitialColor(n),this.setColorMode(a),this.isIE10=10===function(){let t="";"undefined"!=typeof navigator&&(t=navigator.userAgent.toLowerCase());const e=t.indexOf("msie ");return e>0&&parseInt(t.substring(e+5,t.indexOf(".",e)),10)}(),this.directiveInstance=t,this.directiveElementRef=e,this.cpDisableInput=h,this.cpCmykEnabled=l,this.cpAlphaChannel=c,this.cpOutputFormat=u,this.cpDialogDisplay=s,this.cpIgnoredElements=d,this.cpSaveClickOutside=p,this.cpCloseClickOutside=f,this.useRootViewContainer=g,this.width=this.cpWidth=parseInt(i,10),this.height=this.cpHeight=parseInt(r,10),this.cpPosition=m,this.cpPositionOffset=parseInt(b,10),this.cpOKButton=k,this.cpOKButtonText=P,this.cpOKButtonClass=E,this.cpCancelButton=S,this.cpCancelButtonText=I,this.cpCancelButtonClass=M,this.fallbackColor=o||"#fff",this.setPresetConfig(y,v),this.cpPresetColorsClass=C,this.cpMaxPresetColorsLength=w,this.cpPresetEmptyMessage=x,this.cpPresetEmptyMessageClass=O,this.cpAddColorButton=A,this.cpAddColorButtonText=D,this.cpAddColorButtonClass=T,this.cpRemoveColorButtonClass=j,this.cpTriggerElement=R,_||(this.dialogArrowOffset=0),"inline"===s&&(this.dialogArrowSize=0,this.dialogArrowOffset=0),"hex"===u&&"always"!==c&&"forced"!==c&&(this.cpAlphaChannel="disabled")}setColorMode(t){switch(t.toString().toUpperCase()){case"1":case"C":case"COLOR":this.cpColorMode=1;break;case"2":case"G":case"GRAYSCALE":this.cpColorMode=2;break;case"3":case"P":case"PRESETS":this.cpColorMode=3;break;default:this.cpColorMode=1}}setInitialColor(t){this.initialColor=t}setPresetConfig(t,e){this.cpPresetLabel=t,this.cpPresetColors=e}setColorFromString(t,e=!0,n=!0){let i;"always"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel?(i=this.service.stringToHsva(t,!0),i||this.hsva||(i=this.service.stringToHsva(t,!1))):i=this.service.stringToHsva(t,!1),i||this.hsva||(i=this.service.stringToHsva(this.fallbackColor,!1)),i&&(this.hsva=i,this.sliderH=this.hsva.h,"hex"===this.cpOutputFormat&&"disabled"===this.cpAlphaChannel&&(this.hsva.a=1),this.updateColorPicker(e,n))}onResize(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()}onDragEnd(t){this.directiveInstance.sliderDragEnd({slider:t,color:this.outputColor})}onDragStart(t){this.directiveInstance.sliderDragStart({slider:t,color:this.outputColor})}onMouseDown(t){!this.show||this.isIE10||"popup"!==this.cpDialogDisplay||t.target===this.directiveElementRef.nativeElement||this.isDescendant(this.elRef.nativeElement,t.target)||this.isDescendant(this.directiveElementRef.nativeElement,t.target)||0!==this.cpIgnoredElements.filter(e=>e===t.target).length||(this.cpSaveClickOutside?this.directiveInstance.colorSelected(this.outputColor):(this.hsva=null,this.setColorFromString(this.initialColor,!1),this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor),this.directiveInstance.colorCanceled()),this.cpCloseClickOutside&&this.closeColorPicker())}onAcceptColor(t){t.stopPropagation(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor),"popup"===this.cpDialogDisplay&&this.closeColorPicker()}onCancelColor(t){this.hsva=null,t.stopPropagation(),this.directiveInstance.colorCanceled(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())}onFormatToggle(t){const e=this.dialogInputFields.length-(this.cpCmykEnabled?0:1),n=((this.dialogInputFields.indexOf(this.format)+t)%e+e)%e;this.format=this.dialogInputFields[n]}onColorChange(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})}onHueChange(t){this.hsva.h=t.v/t.rgX,this.sliderH=this.hsva.h,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})}onValueChange(t){this.hsva.v=t.v/t.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"value",value:this.hsva.v,color:this.outputColor})}onAlphaChange(t){this.hsva.a=t.v/t.rgX,this.updateColorPicker(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})}onHexInput(t){if(null===t)this.updateColorPicker();else{t&&"#"!==t[0]&&(t="#"+t);let e=/^#([a-f0-9]{3}|[a-f0-9]{6})$/gi;"always"===this.cpAlphaChannel&&(e=/^#([a-f0-9]{3}|[a-f0-9]{6}|[a-f0-9]{8})$/gi);const n=e.test(t);n&&(t.length<5&&(t="#"+t.substring(1).split("").map(t=>t+t).join("")),"forced"===this.cpAlphaChannel&&(t+=Math.round(255*this.hsva.a).toString(16)),this.setColorFromString(t,!0,!1)),this.directiveInstance.inputChanged({input:"hex",valid:n,value:t,color:this.outputColor})}}onRedInput(t){const e=this.service.hsvaToRgba(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.r=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"red",valid:n,value:e.r,color:this.outputColor})}onBlueInput(t){const e=this.service.hsvaToRgba(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.b=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"blue",valid:n,value:e.b,color:this.outputColor})}onGreenInput(t){const e=this.service.hsvaToRgba(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.g=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"green",valid:n,value:e.g,color:this.outputColor})}onHueInput(t){const e=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;e&&(this.hsva.h=t.v/t.rg,this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"hue",valid:e,value:this.hsva.h,color:this.outputColor})}onValueInput(t){const e=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;e&&(this.hsva.v=t.v/t.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"value",valid:e,value:this.hsva.v,color:this.outputColor})}onAlphaInput(t){const e=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;e&&(this.hsva.a=t.v/t.rg,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"alpha",valid:e,value:this.hsva.a,color:this.outputColor})}onLightnessInput(t){const e=this.service.hsva2hsla(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.l=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"lightness",valid:n,value:e.l,color:this.outputColor})}onSaturationInput(t){const e=this.service.hsva2hsla(this.hsva),n=!isNaN(t.v)&&t.v>=0&&t.v<=t.rg;n&&(e.s=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.sliderH=this.hsva.h,this.updateColorPicker()),this.directiveInstance.inputChanged({input:"saturation",valid:n,value:e.s,color:this.outputColor})}onCyanInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.c=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"cyan",valid:!0,value:this.cmyk.c,color:this.outputColor})}onMagentaInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.m=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"magenta",valid:!0,value:this.cmyk.m,color:this.outputColor})}onYellowInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.y=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"yellow",valid:!0,value:this.cmyk.y,color:this.outputColor})}onBlackInput(t){!isNaN(t.v)&&t.v>=0&&t.v<=t.rg&&(this.cmyk.k=t.v,this.updateColorPicker(!1,!0,!0)),this.directiveInstance.inputChanged({input:"black",valid:!0,value:this.cmyk.k,color:this.outputColor})}onAddPresetColor(t,e){t.stopPropagation(),this.cpPresetColors.filter(t=>t===e).length||(this.cpPresetColors=this.cpPresetColors.concat(e),this.directiveInstance.presetColorsChanged(this.cpPresetColors))}onRemovePresetColor(t,e){t.stopPropagation(),this.cpPresetColors=this.cpPresetColors.filter(t=>t!==e),this.directiveInstance.presetColorsChanged(this.cpPresetColors)}openColorPicker(){this.show||(this.show=!0,this.hidden=!0,setTimeout(()=>{this.hidden=!1,this.setDialogPosition(),this.cdRef.detectChanges()},0),this.directiveInstance.stateChanged(!0),this.isIE10||(document.addEventListener("mousedown",this.listenerMouseDown),document.addEventListener("touchstart",this.listenerMouseDown)),window.addEventListener("resize",this.listenerResize))}closeColorPicker(){this.show&&(this.show=!1,this.directiveInstance.stateChanged(!1),this.isIE10||(document.removeEventListener("mousedown",this.listenerMouseDown),document.removeEventListener("touchstart",this.listenerMouseDown)),window.removeEventListener("resize",this.listenerResize),this.cdRef.destroyed||this.cdRef.detectChanges())}updateColorPicker(t=!0,e=!0,n=!1){if(this.sliderDimMax){let i,r,s;2===this.cpColorMode&&(this.hsva.s=0);const o=this.outputColor;if(r=this.service.hsva2hsla(this.hsva),this.cpCmykEnabled?(n?(s=this.service.cmykToRgb(this.service.normalizeCMYK(this.cmyk)),this.hsva=this.service.rgbaToHsva(s)):(s=this.service.hsvaToRgba(this.hsva),this.cmyk=this.service.denormalizeCMYK(this.service.rgbaToCmyk(s))),s=this.service.denormalizeRGBA(s),this.sliderH=this.hsva.h):s=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(new F(this.sliderH||this.hsva.h,1,1,1))),e&&(this.hslaText=new V(Math.round(360*r.h),Math.round(100*r.s),Math.round(100*r.l),Math.round(100*r.a)/100),this.rgbaText=new N(s.r,s.g,s.b,Math.round(100*s.a)/100),this.cpCmykEnabled&&(this.cmykText=new L(this.cmyk.c,this.cmyk.m,this.cmyk.y,this.cmyk.k,Math.round(100*this.cmyk.a)/100)),this.hexText=this.service.rgbaToHex(s,"always"===this.cpAlphaChannel),this.hexAlpha=this.rgbaText.a),"auto"===this.cpOutputFormat&&this.format!==R.RGBA&&this.format!==R.CMYK&&this.hsva.a<1&&(this.format=this.hsva.a<1?R.RGBA:R.HEX),this.hueSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.alphaSliderColor="rgb("+s.r+","+s.g+","+s.b+")",this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.format!==R.CMYK)this.cmykColor="";else if("always"===this.cpAlphaChannel||"enabled"===this.cpAlphaChannel||"forced"===this.cpAlphaChannel){const t=Math.round(100*this.cmyk.a)/100;this.cmykColor=`cmyka(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k},${t})`}else this.cmykColor=`cmyk(${this.cmyk.c},${this.cmyk.m},${this.cmyk.y},${this.cmyk.k})`;this.slider=new H((this.sliderH||this.hsva.h)*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),t&&o!==this.outputColor&&(this.cpCmykEnabled&&this.directiveInstance.cmykChanged(this.cmykColor),this.directiveInstance.colorChanged(this.outputColor))}}setDialogPosition(){if("inline"===this.cpDialogDisplay)this.position="relative";else{let t,e="static",n="",i=null,r=null,s=this.directiveElementRef.nativeElement.parentNode;const o=this.dialogElement.nativeElement.offsetHeight;for(;null!==s&&"HTML"!==s.tagName;){if(t=window.getComputedStyle(s),e=t.getPropertyValue("position"),n=t.getPropertyValue("transform"),"static"!==e&&null===i&&(i=s),n&&"none"!==n&&null===r&&(r=s),"fixed"===e){i=r;break}s=s.parentNode}const a=this.createDialogBox(this.directiveElementRef.nativeElement,"fixed"!==e);if(this.useRootViewContainer||"fixed"===e&&(!i||i instanceof HTMLUnknownElement))this.top=a.top,this.left=a.left;else{null===i&&(i=s);const t=this.createDialogBox(i,"fixed"!==e);this.top=a.top-t.top,this.left=a.left-t.left}"fixed"===e&&(this.position="fixed");let l=this.cpPosition;"auto"===this.cpPosition&&(l=function(t,e){let n="right",i="bottom";const{height:r,width:s}=t,{top:o,left:a}=e,l=o+e.height,c=a+e.width,u=o-r<0,h=l+r>(window.innerHeight||document.documentElement.clientHeight),d=a-s<0,p=c+s>(window.innerWidth||document.documentElement.clientWidth);return h&&(i="top"),u&&(i="bottom"),d&&(n="right"),p&&(n="left"),u&&h&&d&&p?["left","right","top","bottom"].reduce((e,n)=>t[e]>t[n]?e:n):d&&p?u?"bottom":h||o>l?"top":"bottom":u&&h?d?"right":p||a>c?"left":"right":`${i}-${n}`}(this.dialogElement.nativeElement.getBoundingClientRect(),this.cpTriggerElement.nativeElement.getBoundingClientRect())),"top"===l?(this.arrowTop=o-1,this.top-=o+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset):"bottom"===l?(this.top+=a.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset):"top-left"===l||"left-top"===l?(this.top-=o-a.height+a.height*this.cpPositionOffset/100,this.left-=this.cpWidth+this.dialogArrowSize-2-this.dialogArrowOffset):"top-right"===l||"right-top"===l?(this.top-=o-a.height+a.height*this.cpPositionOffset/100,this.left+=a.width+this.dialogArrowSize-2-this.dialogArrowOffset):"left"===l||"bottom-left"===l||"left-bottom"===l?(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=a.width+this.dialogArrowSize-2),this.cpUsePosition=l}}isDescendant(t,e){let n=e.parentNode;for(;null!==n;){if(n===t)return!0;n=n.parentNode}return!1}createDialogBox(t,e){return{top:t.getBoundingClientRect().top+(e?window.pageYOffset:0),left:t.getBoundingClientRect().left+(e?window.pageXOffset:0),width:t.offsetWidth,height:t.offsetHeight}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](q))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["color-picker"]],viewQuery:function(t,e){if(1&t&&(i["\u0275\u0275viewQuery"](s,3),i["\u0275\u0275viewQuery"](o,3),i["\u0275\u0275viewQuery"](a,3)),2&t){let t;i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.dialogElement=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.hueSlider=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.alphaSlider=t.first)}},hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("keyup.esc",function(t){return e.handleEsc(t)},!1,i["\u0275\u0275resolveDocument"])("keyup.enter",function(t){return e.handleEnter(t)},!1,i["\u0275\u0275resolveDocument"])},decls:28,vars:47,consts:[[1,"color-picker",3,"click"],["dialogPopup",""],[3,"class","top",4,"ngIf"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue","dragStart","dragEnd",4,"ngIf"],[1,"hue-alpha","box"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],["type","button",3,"class","disabled","click",4,"ngIf"],[1,"right"],["style","height: 16px;",4,"ngIf"],[1,"hue",3,"slider","rgX","newValue","dragStart","dragEnd"],["hueSlider",""],[1,"cursor"],[1,"value",3,"slider","rgX","newValue","dragStart","dragEnd"],["valueSlider",""],[1,"alpha",3,"slider","rgX","newValue","dragStart","dragEnd"],["alphaSlider",""],["class","cmyk-text",3,"display",4,"ngIf"],["class","hsla-text",3,"display",4,"ngIf"],["class","rgba-text",3,"display",4,"ngIf"],["class","hex-text",3,"hex-alpha","display",4,"ngIf"],["class","value-text",4,"ngIf"],["class","type-policy",4,"ngIf"],["class","preset-area",4,"ngIf"],["class","button-area",4,"ngIf"],[1,"saturation-lightness",3,"slider","rgX","rgY","newValue","dragStart","dragEnd"],["type","button",3,"disabled","click"],[2,"height","16px"],[1,"cmyk-text"],[1,"box"],["type","number","pattern","[0-9]*","min","0","max","100",3,"text","rg","value","keyup.enter","newValue"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue",4,"ngIf"],[4,"ngIf"],["type","number","pattern","[0-9]+([\\.,][0-9]{1,2})?","min","0","max","1","step","0.1",3,"text","rg","value","keyup.enter","newValue"],[1,"hsla-text"],["type","number","pattern","[0-9]*","min","0","max","360",3,"text","rg","value","keyup.enter","newValue"],[1,"rgba-text"],["type","number","pattern","[0-9]*","min","0","max","255",3,"text","rg","value","keyup.enter","newValue"],[1,"hex-text"],[3,"text","value","blur","keyup.enter","newValue"],[1,"value-text"],[1,"type-policy"],[1,"type-policy-arrow",3,"click"],[1,"preset-area"],[1,"preset-label"],[3,"class",4,"ngIf"],["class","preset-color",3,"backgroundColor","click",4,"ngFor","ngForOf"],[1,"preset-color",3,"click"],[3,"class","click",4,"ngIf"],[3,"click"],[1,"button-area"],["type","button",3,"class","click",4,"ngIf"],["type","button",3,"click"]],template:function(t,e){1&t&&(i["\u0275\u0275elementStart"](0,"div",0,1),i["\u0275\u0275listener"]("click",function(t){return t.stopPropagation()}),i["\u0275\u0275template"](2,l,1,5,"div",2),i["\u0275\u0275template"](3,c,2,8,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275element"](6,"div",6),i["\u0275\u0275element"](7,"div",7),i["\u0275\u0275template"](8,u,2,5,"button",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",9),i["\u0275\u0275template"](10,h,1,0,"div",10),i["\u0275\u0275elementStart"](11,"div",11,12),i["\u0275\u0275listener"]("newValue",function(t){return e.onHueChange(t)})("dragStart",function(){return e.onDragStart("hue")})("dragEnd",function(){return e.onDragEnd("hue")}),i["\u0275\u0275element"](13,"div",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",14,15),i["\u0275\u0275listener"]("newValue",function(t){return e.onValueChange(t)})("dragStart",function(){return e.onDragStart("value")})("dragEnd",function(){return e.onDragEnd("value")}),i["\u0275\u0275element"](16,"div",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"div",16,17),i["\u0275\u0275listener"]("newValue",function(t){return e.onAlphaChange(t)})("dragStart",function(){return e.onDragStart("alpha")})("dragEnd",function(){return e.onDragEnd("alpha")}),i["\u0275\u0275element"](19,"div",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,f,17,12,"div",18),i["\u0275\u0275template"](21,b,14,10,"div",19),i["\u0275\u0275template"](22,v,14,10,"div",20),i["\u0275\u0275template"](23,x,8,7,"div",21),i["\u0275\u0275template"](24,k,9,3,"div",22),i["\u0275\u0275template"](25,E,3,0,"div",23),i["\u0275\u0275template"](26,A,6,3,"div",24),i["\u0275\u0275template"](27,j,3,2,"div",25),i["\u0275\u0275elementEnd"]()),2&t&&(i["\u0275\u0275styleProp"]("display",e.show?"block":"none")("visibility",e.hidden?"hidden":"visible")("top",e.top,"px")("left",e.left,"px")("position",e.position)("height",e.cpHeight,"px")("width",e.cpWidth,"px"),i["\u0275\u0275classProp"]("open",e.show),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","popup"==e.cpDialogDisplay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1===(e.cpColorMode||1)),i["\u0275\u0275advance"](4),i["\u0275\u0275styleProp"]("background-color",e.selectedColor),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.cpAddColorButton),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","disabled"===e.cpAlphaChannel),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("display",1===(e.cpColorMode||1)?"block":"none"),i["\u0275\u0275property"]("rgX",1),i["\u0275\u0275advance"](2),i["\u0275\u0275styleProp"]("left",null==e.slider?null:e.slider.h,"px"),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("display",2===(e.cpColorMode||1)?"block":"none"),i["\u0275\u0275property"]("rgX",1),i["\u0275\u0275advance"](2),i["\u0275\u0275styleProp"]("right",null==e.slider?null:e.slider.v,"px"),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("display","disabled"===e.cpAlphaChannel?"none":"block")("background-color",e.alphaSliderColor),i["\u0275\u0275property"]("rgX",1),i["\u0275\u0275advance"](2),i["\u0275\u0275styleProp"]("left",null==e.slider?null:e.slider.a,"px"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.cpDisableInput&&1===(e.cpColorMode||1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.cpDisableInput&&1===(e.cpColorMode||1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.cpDisableInput&&1===(e.cpColorMode||1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.cpDisableInput&&1===(e.cpColorMode||1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.cpDisableInput&&2===(e.cpColorMode||1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!e.cpDisableInput&&1===(e.cpColorMode||1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==e.cpPresetColors?null:e.cpPresetColors.length)||e.cpAddColorButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.cpOKButton||e.cpCancelButton))},directives:[r.NgIf,B,z,r.NgForOf],styles:['.color-picker{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;background-color:#fff;border:1px solid #777;cursor:default;height:auto;position:absolute;user-select:none;width:230px;z-index:1000}.color-picker *{box-sizing:border-box;font-size:11px;margin:0}.color-picker input{color:#000;font-size:13px;height:26px;min-width:0;text-align:center;width:0}.color-picker input:-moz-submit-invalid,.color-picker input:-moz-ui-invalid,.color-picker input:invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.color-picker .arrow{border-style:solid;height:0;position:absolute;width:0;z-index:999999}.color-picker .arrow.arrow-top{border-color:#777 transparent transparent;border-width:10px 5px;left:8px}.color-picker .arrow.arrow-bottom{border-color:transparent transparent #777;border-width:10px 5px;left:8px;top:-20px}.color-picker .arrow.arrow-left-top,.color-picker .arrow.arrow-top-left{border-color:transparent transparent transparent #777;border-width:5px 10px;bottom:8px;right:-21px}.color-picker .arrow.arrow-right-top,.color-picker .arrow.arrow-top-right{border-color:transparent #777 transparent transparent;border-width:5px 10px;bottom:8px;left:-20px}.color-picker .arrow.arrow-bottom-left,.color-picker .arrow.arrow-left,.color-picker .arrow.arrow-left-bottom{border-color:transparent transparent transparent #777;border-width:5px 10px;right:-21px;top:8px}.color-picker .arrow.arrow-bottom-right,.color-picker .arrow.arrow-right,.color-picker .arrow.arrow-right-bottom{border-color:transparent #777 transparent transparent;border-width:5px 10px;left:-20px;top:8px}.color-picker .cursor{border:2px solid #222;border-radius:50%;cursor:default;height:16px;position:relative;width:16px}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{padding:16px 8px;position:relative}.color-picker .right{flex:1 1 auto;padding:12px 8px}.color-picker .button-area{padding:0 16px 16px;text-align:right}.color-picker .button-area button{margin-left:8px}.color-picker .preset-area{padding:4px 15px}.color-picker .preset-area .preset-label{color:#555;font-size:11px;overflow:hidden;padding:4px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.color-picker .preset-area .preset-color{border:1px solid #a9a9a9;border-radius:25%;cursor:pointer;display:inline-block;height:18px;margin:4px 6px 8px;position:relative;width:18px}.color-picker .preset-area .preset-empty-message{font-style:italic;margin-bottom:8px;margin-top:4px;min-height:18px;text-align:center}.color-picker .hex-text{font-size:11px;padding:4px 8px;width:100%}.color-picker .hex-text .box{padding:0 24px 8px 8px}.color-picker .hex-text .box div{clear:left;color:#555;flex:1 1 auto;float:left;text-align:center}.color-picker .hex-text .box input{border:1px solid #a9a9a9;flex:1 1 auto;padding:1px}.color-picker .hex-alpha .box div:first-child,.color-picker .hex-alpha .box input:first-child{flex-grow:3;margin-right:8px}.color-picker .cmyk-text,.color-picker .hsla-text,.color-picker .rgba-text,.color-picker .value-text{font-size:11px;padding:4px 8px;width:100%}.color-picker .cmyk-text .box,.color-picker .hsla-text .box,.color-picker .rgba-text .box{padding:0 24px 8px 8px}.color-picker .value-text .box{padding:0 8px 8px}.color-picker .cmyk-text .box div,.color-picker .hsla-text .box div,.color-picker .rgba-text .box div,.color-picker .value-text .box div{color:#555;flex:1 1 auto;margin-right:8px;text-align:center}.color-picker .cmyk-text .box div:last-child,.color-picker .hsla-text .box div:last-child,.color-picker .rgba-text .box div:last-child,.color-picker .value-text .box div:last-child{margin-right:0}.color-picker .cmyk-text .box input,.color-picker .hsla-text .box input,.color-picker .rgba-text .box input,.color-picker .value-text .box input{border:1px solid #a9a9a9;flex:1;float:left;margin:0 8px 0 0;padding:1px}.color-picker .cmyk-text .box input:last-child,.color-picker .hsla-text .box input:last-child,.color-picker .rgba-text .box input:last-child,.color-picker .value-text .box input:last-child{margin-right:0}.color-picker .hue-alpha{align-items:center;margin-bottom:3px}.color-picker .hue{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC");direction:ltr}.color-picker .hue,.color-picker .value{background-size:100% 100%;border:none;cursor:pointer;height:16px;margin-bottom:16px;width:100%}.color-picker .value{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAACTklEQVR42u3SYUcrABhA4U2SkmRJMmWSJklKJiWZZpKUJJskKUmaTFImKZOUzMySpGRmliRNJilJSpKSJEtmSpIpmWmSdO736/6D+x7OP3gUCoWCv1cqlSQlJZGcnExKSgqpqamkpaWRnp5ORkYGmZmZqFQqsrKyyM7OJicnh9zcXNRqNXl5eeTn56PRaCgoKKCwsJCioiK0Wi3FxcWUlJRQWlpKWVkZ5eXlVFRUUFlZiU6no6qqiurqampqaqitraWurg69Xk99fT0GgwGj0UhDQwONjY00NTXR3NxMS0sLra2ttLW10d7ejslkwmw209HRQWdnJ11dXXR3d9PT00Nvby99fX309/czMDDA4OAgFouFoaEhrFYrw8PDjIyMMDo6ytjYGDabjfHxcSYmJpicnGRqagq73c709DQzMzPMzs4yNzfH/Pw8DocDp9OJy+XC7XazsLDA4uIiS0tLLC8vs7KywurqKmtra3g8HrxeLz6fD7/fz/r6OhsbG2xubrK1tcX29jaBQICdnR2CwSC7u7vs7e2xv7/PwcEBh4eHHB0dcXx8zMnJCaenp5ydnXF+fs7FxQWXl5dcXV1xfX3Nzc0Nt7e33N3dEQqFuL+/5+HhgXA4TCQS4fHxkaenJ56fn3l5eeH19ZVoNMrb2xvv7+98fHwQi8WIx+N8fn6SSCT4+vri+/ubn58ffn9/+VcKgSWwBJbAElgCS2AJLIElsASWwBJYAktgCSyBJbAElsASWAJLYAksgSWwBJbAElgCS2AJLIElsP4/WH8AmJ5Z6jHS4h8AAAAASUVORK5CYII=");direction:rtl}.color-picker .alpha{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==");background-size:100% 100%;border:none;cursor:pointer;direction:ltr;height:16px;width:100%}.color-picker .type-policy{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==");background-position:50%;background-repeat:no-repeat;background-size:8px 16px;height:24px;position:absolute;right:12px;top:218px;width:16px}.color-picker .type-policy .type-policy-arrow{display:block;height:50%;width:100%}.color-picker .selected-color{border:1px solid #a9a9a9;border-radius:50%;height:40px;left:8px;position:absolute;top:16px;width:40px}.color-picker .selected-color-background{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC");border-radius:50%;height:40px;width:40px}.color-picker .saturation-lightness{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAlpBNM85QX+ct6qoSqkPAwuQlBVKqGNFSUOAA3Bmu7gC5hNOd15nSwvAOUW7C4giUCV8Sgn5L9hNFIqTsp0GxI0ysioyjAjkY/tGJVEpz+fz+OWXX+7fv38//f777+Pbt2/j119/HT///PP49ddfx8fHRwrmTjV779EXu2px2xhjwtdJZQcAWQIPLPISsMJaSwiD8gzIKrwSyATE5j5nAbR5c1dBUwBlsEWW0h6LqiYsqFPAQxCyRZ3wOSARxmlXMX5k64pQfvv27f75+dk+Pj5OHx8f4/v37+Pbt2/jt99+G9++fRsfHx/jcrmUFLO31gYDWblxRIs/TqfT7ousxJsAxXA2Gc7TA9XdgfdoHbFsj76X2+1WArgI1ageGwA3qupqoHsmcbI6Fu93quggFa9d7LeDtgKfAFHBJ+NEByIkcJ5KervdTmhhGcgJJSZ5vn//fj+fz+18Pp8+Pz/H5+fnmGD+/vvv4/v37+Pj42N8fn6O2+1Ws7JjjP6wraMI5E4RZ8x2vV5TSwkquotV7/d7Tz6HFWsD/qNcdw0CQ3q/321c686TwDVIdbuy73zNldhSHb8I2klZznm+InBS4U6n0302aBFsLhHDAKJVJVglfI9jhvu53W53sLANYNxAiDA6MCeUHx8f9+v12i6XS7tcLqcZW57P5yeY8/fz83Ocz+fnsSmYUyknWEG85WBst9stzSLyMdfr9Qi08iY15UZ0LlDGLhR3o5zK2j7OPUTD0E+nU3tk7Xb/16NFbhloAMuY1zjLUOO3BKeIDe+Z8s3/J4gFo4TM5jPmuRg28foUKKVSwo16TgA5npywcWLHgYl/Pz8/73/605/ab7/91m63W7tcLie0sZj4mao5gTyfz88E0f1+j8EcYzwTPEG2cqjyfHNF0M8fuqEiaOVnRzZZQNh5fwQyHg/HDGfJo89Q1zb/quu5XC6773I2XKfTqd/v9+d3wuqWva/YTdUdEV3fhIv/Viyps6YE3x3r43K5bJQS66zaxVGFsvd+//j4aF+/fm3fv39vt9utff36tf3+++/tdrudvn37ZuNLBaaCMgUzC+rZRiFowxUuJI8YMqcCp9Opq5vagaYU6lGJA1XQqejchw6Cj0Gw5nYBrGw01A2O206n04BGouNNyTfp/FwElhUey6nXrIKw7QQWddxuN2ldL5fL839gSPF8ahu/JvBO48CPSuqMf8Vp9/P53L58+dLu93s7n8/tfr8/39/v9/b5+TkhPJ3P56mQ436/j+/fv+/iSgbzer0+AZx/5+88bv6OMda6S5z6kd21fYC9dxv7cIJJ2d9AOS30fPMzyHiTM8B4DF6XUlYHp4KQW3W+1t77MNB1vGHxWq7Xa7vf78+y5/N5A+H1et29xuP5dbYtyaRu4AksbPq6936fjRzXRxBbPr/b+b18+fKljTHaBBBfn8/n0/1+H1++fBnn8zm0sB8fH5u4cr5GuBhMVk0EEn9RsctgVhM+ixlJtMA23R8B6yysAstBOgFXIKKCMIgToMqNEu2fYMH7ztc732dQKkCj1ytAZtY0Kx8pIr8GGJ+AT3V+2Hirhl++fBmXy2Wz73w+b17P8p+fn8/tUwGVleVkTyUb68DkfayWY4zxNRihU4EpLJPZVrK+u7J4/mgfKqeLW9X2REWlItL1diynbDDb3+jXgYjQqn0rrxWc+NkILP7F7xIbMvx7vV53x40xnlbWJF12ZSag/N0pW6t+ZzmOMzHjajKwDfond78zYTdfq18up97zr2q8v3IioBprRtBl0EZ9og5WBRGOdOHjIjXF7UotFbgOWnXzIJyzYvjG5IYgsmMOxHkz8OsMSrVNWeq5T8DaOcbEv1Od5rbs9aO7YvMet63EkF++fMExq+MRl4/L5bLZN/+ez+fnZ6KazuMqXSQVO5spJXflHAIzes/xJseckRJiDMog9d6VfRrqXMr6KpVV27jRwJacGovOAM1zMdQMnwK1AubK63kdCChvI1C7g0z9nf/D+Xze2Vj8H7Gx4P9duQlsYCrqyN8XqG3Hm/10Oj3jw/n+crlstuM+jPmmxT2dTuPz83Pzt2pn1XsEHX/bnPaVqVmh0xwOt0o6XLLAHePUU203wHfcrspCwmV3TryB5s0Mseeg97x/BwzCjBlbB+pRAPla0BVQuT6V6QHdBlj3d0KG147b+DqxQeUymDO43W4dQar+TIjwmAd0z8/h65vf0/yLv3Pb5XLpru/ydDo9s7ET0I+Pj6dKK9VUEIeKWQWPAOrJ8LKd4vE+t91Y3e7UFlWatg2VwJnb+HPmtvm/sfK59/OaWF3x/eP1UPHvA5DDYDpYXfb0drv1V2DkBkxtw/tEWVVlXWdC9pFYs5/jfh9dS/16vW7s6lTG+TfqsxSJHxkXXq/Xdr1eu4LsfD6P3vsT3N77DkL+zPm5jSdKL4zR3AxQd6rHkLkYlSowsrq7znzu6wSwdsMJOXmA5fBcjxtgMGBYHlr5zokhtsMCTgXLQOW4XC6dEyEMprL8mAQzXRgduix2yZzorxkYsDn3hB1VeMLGsXsVtgl2pW8S3svk0vw7R4hNaHvv4cACl5HFzwIH0Kc6zu4XjDPR/jpAVxWzO1Xk2DDb3vTcxeGU1iWZHkmIDWziWKvirCJ4Dravs6IJ/GG6cTqWdXDy+fArQDVVkLqkVjAoZIITdmmIqXwqa95N3+MGYoZQdRVNO53Y1xRkhO16vY7eu507Ca9lJnbGpxOemQhSw/AQsmmp5zU9BiU8G6wvX76M6/U6Pj4+do0Bz4CpgiknTUeDqwlKBmg3u4OVjrZ1A+rAcgaejWq6eJCvCYFDONSwOgHX4EQRw8lxbzDOdEK6gZ3Hk1b+8g2o1JFtKXyv/fEdTXuWjWXdAZiBp6ADeDrCFiim7B6ZFneeI7Gvm/PMkUDX67W7xI8b0D7/v8dA9qfN5oaCf74WZjH0mf1cmfY1Y0JUFmVrTWu8uzkNcLtEj7u5FXBTkfC6GOA5q8YMxO8KVvF6sAVGdcrUbsKODcQKkLMOMdmlxum642YrPm26AlhZW1YB1R+rrGswE8TaYAWeUMxdf+WjwSvZ2Ef3ytOyfn5+PpVPAaqOn43MtNBqvmjjxbjM4lZjZY4gqNMI5ktaW/sYKNwS+9lFQzGihmMCKPa7+Z0V6Eb0GRmobtpX8JljWu5FMLN5ja6hG9kwQgZqf5+1NH5UxzkFReCdWhJ8XdlGUkxO7HRlYRm4mVO43W7ter12TPJEw/rmEN3L5SKHIWZg9mz+pUoKOYq5bJTJdX2gme1UcxMZQFaEQIlHct32M+Y1BzGkGuzfiyAN9z+ugplZ1symCrDCYYkGxDTpI9RzBy0rHyeDUC1nWaeUaD9n4xkNyYMBDZtzZ3B++fJlY21XFDOcARJlabOyiS3uCpLI9jrZjCDkaVvcCCjwognKShWdzXZWlZMvVTgD8LpqlCLrqgbcB+qYwrgKYpT0ccCqbKyCValkEabn/FynogCrPKfqf51xJ7sGB2ZXcZmxoSOztjx300DZi7a0/2AIR0UlBag9SuDw6KcAzlaB7vHZvWpjK90dyrq6bKyDUZQbR0B05biLQkHIcSUmgIK+SwuqgHCnoio2RQU1yj+BnBy9pphVKLGyC7ZzFK1pxWK+E8IhVCWLN/uLtnUU4ayoYLoaANz8FdtaSvY4pV0BEW2ls61czqllBKpTyKgMAhrZ1cdc1RROtPmvWNkdcKZ7ZKxaWjiPLJMpp7OZKxA+rqG/oJLjxf0pnJlqLoDZo3gyU0mKGys2taKecj/d1C+rJSplBqlTyAqgR+D8KjKlmRL2gtUcAdCtsL+ijCNT1oqqqkH2OHEbG5sDFnUg5Aa+yLou2VU1ptj1S2ZQqv1ORZN9IWzRfgaRBxKoBE8UWyqlJFtrIc0AxNjSjed99CTY/XDfSzCz5M0IZoVEsWnPFNTsl8ooVC1TzbGgqFZNDSgVwKK+1sGDMKqxZCWGVMDysiEr1jVSQJUYwj5iHOlThdHt44SQg9CN+nl8D90NMIgAdgr46JqRiR9I8vRdFvbr17m/yxUMKjNLMiVUADwu2CWGhhi+F55TWM9M9cogzms1dnM4uOF/LAEYWdcqnM7yFmyq3IfwmOROd7Y1iFWtOjoY8To41mTV5IysgFFuRzsbWFGbNIIJCDv1dOo4lZG7jWBwRFtVTKuWyeCByJKOan8oZ3ep9XddNl0tDuaywLz9cXPYeDAA0SpkBO9sbVcTOVWldPv4uyzEkzxHtjvonHoSkFEWNoo1d8DhcQputd2ppNon4BzoAiJ1hBFQg0dVtdbGHHDQWushmNEQukLM2QO1G2Y8bgTXqFhcBJj7EjPgcPts8US8qPpPB/dXznOh5Z438tzH5ec6QgrOKrRRfKmysBmUDB+PhYabMlVPER+GCSITTzr7am2tArH3bgcEzPJm+cr5jJ4NnHNFDVrFXcI5Le9k5Jnw+bedbV+FfRzZIHaOOaOsLY0/7UGs58DjrGwKMIMFIGzOEW1/jGsdAtCN6hEAI4hBe9YXeRROBSVPAVPAqvIM5bx5hVKWAMP6zBRy3iescridVdFBinBxXDnG2GRY2XbCvp1lhvGtO9Bxu5h908XQu42lnSArMFdizMim8uwRCxPGnnOS8lwpnbOiDqTAjsrRN/PcoAScCbaACqVM40ylnjjTBs+bwWlAG23/UKbdkiwKWIQPGzWaczpoSlxPEj822cNWkpS7FyzsDrqpfgpG3jahw2vgbaSQAxuLWZYt7JzyNe8JoZpNAcvDFOdw0wqYT9AK1rZz/DdbSlLPp0ryIxgQJlK9AZlEq7IOXpohg9PIhrCng88JsOxiV4ZWAYfg4sikx/8ky2Z9l862uqwrfscIH8+ugTmVGyiddeVYUgEMn4GZzg14EwIsh9sx2cKKiWXReuOE5gzGOQgdlRKVVdlevqb279Xq0Qnsts2VDaBO0coezsruWtHApu6sKG4IBhN0aGU2kLrMKGRTN3HmbCDwKV14zvkMEDG4QfZVspVlaNU2mhc5TEZ3N1h/zqTheuLpW05ZWTGVjb3dbnNmxKZBnN8JqidaVLKAOyARNLS+MB54Z2+VaqoMLKroVBlngefnTPAcoHNWCSvlfA8CI0HEmBNBnBlXyMrzU7A7WVm94PPqQ2gmqKx+WDGsnvilmcSOBJqOK1nYyAIzuAyesq3UdSK3KfWcYKD95HmfYOU3qser2CtYEUA+FpfqdNvgPBZUBhDrGONRVlQsh8rLcaUCykHG0OOUwTlLBrsh5soEMGezi1E4HRVt1icp5wZEFXdibCkG8Y8vX75sbO4E0iom9z+hjSiOfy3DhpXItpVhE+UGQdvoWjtChmrGHf4YAzKgBNnGtuJxFCeGdhUAfQLLK8kBYAP6gvFJZajMG3Xkycy8KuC0q4Eyymwtwdxdv2M0mIBtK0LKnf640j00Auq4gUkdWGlhs22qJc6dZCsL19oxnlTJG4SYVRIGpD8TPFBuM6OElbS1pldid4mGAyN6ZIupbC5bXJN9fdpbThSxLUaI8IG1XIYBxW3Tjs6KQosKcxfxcQmdnwRGM10GnFcCy2XYunLMyAkdgk4mePiczsLygthcBut6goOqS7YVFXADLjaosB6s6ofcZWAZSIRYqSUkizYwttYab3vUOQ9w2HRxIIg8WwRVeE68xi4UtL3zRphxplzwuZrcqYCq1I3jPI5dnJIygEohMbPqVJSzrwzxBJTs5zN+ReUSgxikPQVF3JVBeNQxbHENrEMNvEdFZVV9lH9+ORGEsNZQpyTNc4C3AG7XF4ngzq+DrO2zbuaaOXgdaFcdkEotoSFBVX2qJ0C8OWZeG4KGlpghA0XfTOPCqV2qqwQ26QWfF2PMLhI2w1lVAa2aPsYd0za25MQRwgcZN6uQDCi+ZxiD4XEM2kZxOT41FnZnaRlcpZouzlRqqdbQVWopQoSB58RV50lBNrHi/AwXS5LrwDVlpY3Fc3ByiYGc52Trist6kOXdwInAQtJpp5QchyaquYOV7Su+fxVMaV3dc0RE2S6mUY0gLt2pMcYqrKIQ9w2l1gpQUMtQYcmmbt5DTNxdhnUCjQqtbK9SUSzvrC0mmhhE1e2FS2+oxypy/ZASutkmtjx3vcBC24PX65nbqkBCRhfjS9kIYPnee8cMagVOhI/3T1fAmdtAWZsCswTJCkQVNa0qWKSKPOpHAUhD9DrbVcyoYkwqhvh17vYAayXLQyKGYdxlUDFp494rBXRjYgO17DDYetNIUj/ezp6S0lnlpEwsWmJMkOwsKXeZKEAjIHn0EQJISaRBcO6UMINz7p/bEjjnw4ft+xmDvksxX4G2rIris7qaeKwAFMP2Oi7n4criuZwtpSUwpfLxSnORSrIqusc5ZFaXysqRWjiZ2DyAWEIL35tVSoQElFACjOeGGSE7AHEQgdo/LSvCOgGBvkxsmDbvlS3Fp5vhaB2TAGqRKrKKMrhLVpaGzEVjZ0OQxDhaCTA+QyRR1d15aQzrJntL3RibsipjG6jlgL4yqbS0sNYg1e84vhbBVrElK64CUcWYXDfKxhpIuxiVJZUxsbMy/uRBKTNRQ4kQ3LdRYLS0rJjRPlTPqY6gdJsEDc+aQXAn+HgsNUCbRuF0Oj0zwnA7bWDkbhO5Ens00qeQhS1laBMl5M/cAaxsLF8rKyql+Tf7ELLEGu/ixiimdCvo0TjfpjKwaggen4eh5v7LokLKbLuyvHhcZG8dhGrEDx7Hg93ZppJF7qBqO3iVveXEDQNInzeoe8Yq6ePaZBZ2JviM3W2UAGotekRCAGq4EkF1X3DOnR11yRsBL1tRa0PVcZiNFXZ2c34FskvomInQQ6lzpJoZbJxk43NwKJFBquJSsrByHydxKOnTxQASBmS3j+JMnsHSla3Ec6K9VWoJVn9zfjwOM7hqYAAqJQwE2a3nA48J2QGegRkpZNivSY+ys3EkKd4oJIwsvIHl3cWgLt5k4NH6OmtLWdpurOkwEMupYc7eMtDRhOcI2ui5JhVIzXzLyto/GAPuZoyo8wkoduVgJglCt7OhGbgID4Mq4si+63zUS1FuFFXFlqyaj2emHlLMcBqYu0FMuR28BbB7lOxRMSiCQXFhCKuwkhZ+pYDiGSgbsKKV8MiSRsuHSIWM9rklRiIlZZuqXjsQK8ooYJMgq3JKWVkhHbhsVxFUzthOWPkYijcbx54IKsSdT+uLr3crGKyoYgFiGR9iBk4kfloUX+JIlQRQqabmpgnhqtpQpb6RVQ1WH5DnrS4hEoGZqaerQ2dhFbz8XePxShmDbo70eISjoorO2vK8SJXI4SUmEU4zWKDzUDtWTYw7xXlbSTEj4FRg7zKnKoGRALv0Gs9Tgc1BpCywGZRQAtqVz2xrBcAMzEpfZwFSa2G5W0QBFjSMapWAEFa3HcGN7CxDzECyIkJ97qwrqWNTWVo876PPsjPkj2wvgroM5lLZKMETKVql/CvnWVFiFa/SzJUQwkoZsr67Y6vlSRV3/2tmNTOY3vnaxYwMuoPKqdzR1w7IqHymlPxaAThfU7Ko2ZXYj4AYJHL+kNdKwRQYESTRa5fsUZ/rVC1TMTyWVyYoqNtuzaHsMyv2tvoarxdfqwYgU1axFo/cnql1FGsqK+uAROV8BX4GU8WcZTATi2q7Qcyi0O0V+GhWBMNRUkn8H1SsWVE5By3Gi0ECqUeJoBfAtDa4amkdXG37AGP5Ggeb84p7UazpoKRzdFzeQ8HkoHGxprKy/Hpm5t12p47J6xTYDEz7uINEXSuxYXvFskYAc+ySxH9sf5ftKzU6IbwVBcUGg5e5FMCEXSErZR0wGayV19woM9guPjTqJdVTqR4uE4nJnLldWVkECCZLd2VLF+xtamex7IpiriSDUpvrpn9lrwGMCHyppMH+ps6LILsuFGUj1XEOXiqbqSHPUKnClpWV68kqtURVNDY4TNaocykoYeTU5ngGEQa/S1DnnE4AeXMcKjHPAmFVjCBENaeyLVNHfr3px8xUstJ94hIpfH4HKE/eDaArK6lSyVVFbdt1gxTIVk3pppVlFXi4pEhVBTObquohU85MLXn1iahvUkHJjSCMc01tLFveVVBx0DodM6jftCu7DOtIzYxrc0qp1JGP2ayYFz2Gb6HvMrO8cnGtV6Gjm3uImSfD2GpWK6uowbZGMxFKQCo1pOMtcMXFpRst+hXGoAomF3sSTBGgTglbBKWwsQ3tZqaYSp0Z1CimRDWFcCJUPYJ00BI5FkKYNoifuQxmN88SWVXWLMaUqqqgC0BmQJR6sk3u9NCf6jYLXxAfqsYEgVLAhRY2AtgtflZNFmFyhxdrLkAdWlk4D88M2ixHyepIdhMHrG/iR1ZGtq0MGpbDbRPYOXeSY1M6Ny4ZstvGSktK+XbFPATj2D371saPEsAMXhXrsZ0km/XStkhhMyBfsa6uXFZe2VCe+YMr1+GKgwrQyNYq1VRrB+EizAow6NsdNKcyVEkYeM73ys6q4kAHp6BiFklTkIrVC5oYV7uzwOGCz4UJ0Stq2lWMJy4wtb+RetL6tZFicnJmBw5UjCvXXMZVJX2MQkbf+XN5EWd78Vz8/JEsMZTBiKNzsm1inLRUQ74H4NidaqI68j5sAFgxcRveC7ieLJXfQYxjZZ2CsiWFewZXJmBIlZ1tdtrX4hSuateKso/RZOtOKW2nmq1oTzeK6dRWAWu2NRVb4hq0SXm1GvtugHrbr5IXqmSktg5CuDE2MSlPwsY5kNE2Wp3AqiZbWVLAxiBF+2iBZbuNj6MB6rsMLC7FyasaYDyo7KkoPyEtw3pEMXfPvxAJi2jAQQgjrz0rLIZSWZlIoNhwd5xK4AR9mYNjWAaLrnuImJeBVN9zBORObVvbr+mTTfFSEJLSRnHo7hEJoIi8MFqjxmvgmF5URZz4zLFgZZ8Ctu2X7ggVccKm9gVxIsOHqxXgNMKnFWZYnf1dBnOhayXq17QwFlWW09eNKyVJFmXqaONGA5aCegMbJ3UUkGY1ic3nKWgjq8qfVYGQG1gRt6rs62a6HiqqUOqdesK5NmX4nGofJoiE1d0dF9lVVkvT1/kEEaaCoYOwFpcVcoLM+7669PxC9rWqktH0sWUYld0VCpuBZ/stVRcGgy9WX2+U1Qthi9SzAqSxzZsy+OiFzBYnySGV6Gku44rD8BCOZBV3BvD5+AKRHNwMEsB6EzHnJpkTAeiUlEGkcECeB6GDZTp5YEJTlvdrknxYjTllMkfNtXwDjM7uVjK5JXUUn43rrqpK2jytaxHW0M5G8DC8rtHMYs7KSgduVQMGTYFqFvVS6rkD3sDJ46afdYFwoq11AOKCBLhvwoUgc8IGANycR6knZrdJPdsuxnyjfd3FovTlRMdEdtOl5CMV5EHsXQBis7TOwvIDZaGj2Vnpbh7cpK63VwYEMLwqbjzyl699sawFFkF1yqjUU31HfC6sW1ZFVFuXVXVgz9keEaw0ys1lWfm+azQAQSWA+hKYVfsZjPncAcUB9oIayy/UZXRNckDGji77GsWbvBo6tPrWPqOyVkBUq+INeqpzNdYs/u0ifh5qmpqIW+33JVSUcwY70KL4U9lYdU6ljtSls7lmfi9g3YzeQfVkaGFaV3ODCnaD2N8wsEDFklE3RzM3ZghdYkWHsszq70FIecnKkVkt8ezMzRq9bkGuKojRLBVSod3Y1yPqKgYW7JRQTPVyy5xIYLjOgxgT52RKJUY1dOrIiRd4futQx/A5AcSmEjz0vFWrkLzvbWAu9HOWbGgxFk1VNTpnBKk6TgwisI/HcxYXP1uAWO72ULFlBTq+aSu2VTUs6hrxM2CF+hEor1VIA9ZmFUaab1lSSgZsVs4sxzHlVLoJHr9H4DhONTkI1XC0/wiY2NoWAG5RlnHFnq6oLccpQddMuJ/O17JVA5OHLi0BqCztq7Y1++ucCd98qLI8MIHBV/cKjxQTme3hFBS3MyCqnDsuym2o80HjvFFTtrURmNaGJsmVahImjTsUXKtQZTAVs7Mvv8/+fzUrZAXcLJ6M4koe6XP0b6SmWWNDzyUpQ8bl+LtWx4tuqZ36cRYV3yuVxPNwvIiqiQCSmu7srgTzR6nkyhpCarXwFy1vGd5iP2cY06lFr5Njhhg1Y6+NB28ftbK83s8rf7kLJbKwDFPbLg25a0AdZJEiqr5phixKMDlRUtcssq1hriLqGoH+zeNgVm9OemjsETV8JdF0NHnkIFxWY1OB4Yrp7rtWJ7NgAAAPXklEQVQ3oNs5nplyVf8u2FoLu1JrHveaZWQjqAkshtFa2gzsSG3Zpkbvg3HafF9slPPlldjFlK80Gysm8Mr4MPhneNWENPGjAIpmilTPATdTRTXlCBYHYAQuPwA36xIpWtGN4q3Y2MhiGsUpuSSnlEJRD8PorC7CFYVw+F51qThgabxsTxWzCGY0ZSsb3lfqAy0OPNjNy8xiQQKsHYFQ2HBZVvVbBuq3m1oWKajqaonsM6uZUr6CjXWNZ0l5E3h3jURma6kP3MJIiy1Lm+kahQq41N2iZja5sjtlLYNZHZrH6qUGm4vMbDp6Rw2CFmvuyFkrBcCyMtFqBaECmsHoK9BZ2LA/lJcRqSaDqnaWbrZdGaz3DLgIvBln4woGztbyJGqslwxkhhHrTjTYFXCtOoKS8uLdofVdAbOylGU6nlYpXWZts4nXBq6WxJitMNokHUJnbnJplQm+aGpY2a5GMV2QD1hRubBPFKdumf5OHkLHz0F9luE5kjBjRa0nFE5CUGqHw32MmjZ6xkgINVnSnZ1VZStK2qKlRaLlQgK7uTq7JFXJwM+3SOEKyhZNI+tJ0I5qMYy9k2qJD7dVWdqKXa0CKNR0Ccjg+B2IYu2fcBZJZkMFgM11r0X92wilghFGgzVnexlqB7xL9mS29SiYUVY2nXOZjNBRsyDsQPRWW5hrZ4XcdC4HVWRbjgJr4sFofK5SzjQ7rhI1UebdPdEbj6sqIvTZQZ5va08rABsAW0UxeWytAk7A2KJ9ZpxzCioB24XFtYAeXYxr6anSqhLgppEqWbGwLunTgrV+IjWlL29ljaAl4EQMGsErp4apeZiquwRXLXAqOCeru32mmydc6oWTSWpFAGdzeTB8RTHVMEtlM90CbbQCYhPjq3egYr1FGdYIQjiuDGZ5zZ/AzobKGOyLxti6c4Rwtv2anyWlLICnlLhxJRXt6A5ebDBWFNONbxWZ2d02mnu4S9YECpeppV1zSWRBWxHYzVIv1CXSouwqqX3jBBBDZdYQbpTQW4ZQlS8r5kH4suSRmg2++3JN10x1PaAmEkmtYlEdeGpJEM6kOuCqCR22oSujj5IV2HdT0zj5prLKTjXFAPjdQlyq7xIBxAQP5yMczG4VxAKw0n6ilZ2QBce2pLulkuxxqnoIzFfgqyqjil9S1VNwBrFmeyeops8yOjZUybZdfS8CuaTIJumzs5tODaNtLpFDQ/PcJGweLhmeL1nB0KqiUDScsiUVD89Di3HtrKtSULw3RLiygZD+7sF8JTObgYsrGvDNUFRGl1iy0Ll1YkUc2aJYMog920I8qW6YDCg1Mqk0JHJFKXkbgbRreI+qpYNOZHrVcDUba7pjsphSJNtK6upgRNAVoOS0mugBeN4bIZgHhuPZ/s1ENaX6KsVr+YNrh1Nb7ipR0PE5zbNRegCbrHRUw6Yf07dLBJl1f8KB9as2V1nNqAsl62LBBhehwalerkHmB1JFIEZKSEusdl5JQj1nJlHXSCF342gJ9CYGrXelknJIXqVP8sD+qtplCR3XH2qfKq0ygMp+KnVkKxNlZ8m2YkIlVMiCnXUwl7qznBKSvQz3m3Pt6oQbXO5b5FixCh/fHxUQW/AEcK6zCNqKQnL9sywqmKuwvqSYzT/aPVNNpVyhvRW21aqciCsjdWvBwILUvh5VyCzbWoC1pJjJ680CWsl+udKB6T5RwG1mlohnlpbg47iz5U9ha0FGtmRLFYBtO99y97Ap0z+ZDTAog6kSLZsMHg/IFkkgp6CpvU2U0cYVSdnmkjwBdOmXbxTWNWzuIbipMioVxEckZEoahSOiy2M3K0jcC1LhVDwaqG0ZvkcWqCnrG4GIxykrqlbWdw6LQyBaZR8HmLRIhQWsHswD42ZXVLNkf9l+FlW0HVQ2lwFsC/Z1FdzlQR0KaPfo+Fdfu+/dwVRICu1CGR7AEIiAhc+AZUF0kOBaPxmUqg4i64vQnU4nFDYJ9Nz+1fVXveH9qmr+kPILx8oKcRV/BFbxbE0JMT0kSD4w6L/lNY8ocsqagVdU3A3MjxhxcGuqzsPH4irpaow1q6OyrVjvp9Npc59E91LldboYVzJWdimWfAW2SNEKcDaX2FmBLLA/uKxlmhh613Is1URQApbKfttwxL02q6Onx5pQxSbPojAg+v5hAnN6LHVRDXIsvKtRjiS0qJUyZTAXVbAK82ElFJWaQdVoqUC1Unt7BVaTQudM6SuqexjQJN4+0icaxv/utbKv83ETbT8H8gjcOKxOJmbUa6OOVXht3dFY6rHv9XoNzFLceEA1o8+pKm0LAHPHZ2rYKjFq0hfZFixsqHJgD3eD5n+U0kb1mFjXkn2lvMSSOsNE/CdIAKF0Sytq6urOHUN5gwg4GZosgbmggM5ucra2qrS2Ig1cbiBBcxYzgzUDNLCvL8GbZXNp6ORy3LmS+Kk83zRIAK6A1ioKa2I9NapIuiUFdfC9766PFZUtqUr6KbWk+zZU1a/ZrIXEztrjTOfz7hwKziCeXIaraHtbZIMz+2pGgazCmw4qWAFvEdhodYp0Xq0pV7G1YWYWbO4qhGq42+Z8BYtrLWvluNPpZAeaFFS1vubPgbgxsqcpnAaszBovKaFoDQ8BGtjfUOl4NAG2nmQV04feJgumvX2fsrQEWZghL0JnVdYkn3DOZIeRN86RqPWCmsvGVqEMRnwxQAxwS8EMYo3IzmY2+BCcLp4MKiuyuhImamlbZFcNoNl7tp+RHd18ZjQIRKyXdFRhN98/hyKqwXWNo7O1wiaXoHN108REZZWEq6grnIfjzeg8jdRf1XEL4kkXa5bBjKxoKaljBjeHlVxQ4GaycpW4lDOAKtnTxHAtOfzOtZwHAM7sqVXkV6yu6kap1nHkXKqWF/4XHqjenNKqBjpR3l1ch3Ejg1+EsgdQhsdG0B4FM9sWAVWpuAyiwTPleZxt9VyZVS2qXfReWqTAilpr9ApoWTjxymit7NwV4JTriZyOA9B0k7HFfULourmKYHVnRQvqGL5HMHdqFcR2qWpmcK6eTwx2dipWrviDilr+fKWq3OWRWdHKwA4eu8wjchbeRzFilqjjZN3ufCpfkJ0/scVpnYk6L0PI77lxdWCZ87WiWm7B/AGquQSnujGKsB8CJmiJq8q1pKIVWyqOiTK66r18BN8r74/AE71fdC3yPS2MxdOpnE1tlVxD9JmVOoggN+r4PjAXVFPa3Eg5jVJGFVUGNolH20GVrUB7BOySWq6WqYQdWR92pcFMYMwckbSgCKCqD67DiiWu1g8MQC9ByfcFqW1L+jL714qNCuznoSxt0da2gtWN1G8F0BK0NN0nuimelUF9dIdAfjO44UT3CjQLoUeLHJFTO3gmpRuIIOvwBQCbqNeo3qtZ9iF6xVK13GRlo4zqimq+CGdTiR1uRY8oqgE02hZBa79kZXPMquxRHKla2saZWN4mRqZUj0vLCKhkjKnqOQHNuSZVJoKvAqS1wpEquvWDC1B2ypwrCPsRMEPVTODMLJMDv6qeKXwi2JYV5Sq4qKyvgGsHCLiuj2jR59V8gMqSJ2FJZRXEHVRHj3sFPrct6OpqlW1GpatQdt0GvwfM6n63InsGVFhJGaBqgqqIV6IsXllZgySPq4R3bnt3wi5cv+cN2yqQLW1T95KYVsWWtKk4cB9W53WQQflQYR6Wl4HaJZjvVE0D5yvq+RKgZCs5qdBEP5sD94cAvQLlSgNaSMAtHx88BuNQ41zdFsX30zKbcs0MLD/ihkpQzl0wiTqKLTfbKmCmyYICnK0IbaieC4CG9iSyLQ7cIMGQwau6TKoq60Apl3WN40LZpca1CKKK9VQyyIEn8w0F8F6CL2h8o3ixGwC7s7EWzCOqmcApYxYD4jsAzVS0sl2t98pA7vrKophCVSonbYpgH6mvSn24pTBV4sdtV3BtMq5k82y+IADvUJ0uAlkCVTxIaPm+UNu/qkV4F1TzHXCGrXIAqItBKypqK99VtAOVs64O4ObX7pHLVCpYHcRmwvLR7TvYAKBBN58LGVzDuFz+hQbWgncQyCZAk+VbsPSouf93261iZgmfCpwRbAvqmSqriU2PwhjaoOyYqtIegVXViTsmyta6bGySpY3gyRrpIyAeaWDDxtpsXwKyalMDKNP7YBXMqEskUsi2uC8FNAPxAKTVfT1o6VzM0E0jF+1rWcUuHvdyg7vgoFplX8HpvHpMCOMRUPHzZkInsqlFKNX/EIO52E0SxSzOwob2VmRLW5D1XIU0rbgM1AzWgyC7fe8G7xUAK/taEBat7luqtyP7EmsaJQOj5F+mrnZfCuYCfBUAWwShyd6pMY/vAHG1UqOYpbI/gy5T0CMKm+UO3gFuC85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg==");background-size:100% 100%;border:none;cursor:pointer;direction:ltr;height:130px;touch-action:manipulation;width:100%}.color-picker .cp-add-color-button-class{background:transparent;border:0;cursor:pointer;display:inline;margin:3px -3px;padding:0;position:absolute}.color-picker .cp-add-color-button-class:hover{text-decoration:underline}.color-picker .cp-add-color-button-class:disabled{color:#999;cursor:not-allowed}.color-picker .cp-add-color-button-class:disabled:hover{text-decoration:none}.color-picker .cp-remove-color-button-class{background:#fff;border-radius:50%;box-shadow:1px 1px 5px #333;cursor:pointer;display:block;height:10px;position:absolute;right:-5px;text-align:center;top:-5px;width:10px}.color-picker .cp-remove-color-button-class:before{bottom:3.5px;content:"x";display:inline-block;font-size:10px;position:relative}'],encapsulation:2}),t})(),K=(()=>{class t{constructor(t,e,n,r,s,o){this.injector=t,this.cfr=e,this.appRef=n,this.vcRef=r,this.elRef=s,this._service=o,this.dialogCreated=!1,this.ignoreChanges=!1,this.viewAttachedToAppRef=!1,this.cpWidth="230px",this.cpHeight="auto",this.cpToggle=!1,this.cpDisabled=!1,this.cpIgnoredElements=[],this.cpFallbackColor="",this.cpColorMode="color",this.cpCmykEnabled=!1,this.cpOutputFormat="auto",this.cpAlphaChannel="enabled",this.cpDisableInput=!1,this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpCloseClickOutside=!0,this.cpUseRootViewContainer=!1,this.cpPosition="auto",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOKButton=!1,this.cpOKButtonText="OK",this.cpOKButtonClass="cp-ok-button-class",this.cpCancelButton=!1,this.cpCancelButtonText="Cancel",this.cpCancelButtonClass="cp-cancel-button-class",this.cpPresetLabel="Preset colors",this.cpPresetColorsClass="cp-preset-colors-class",this.cpMaxPresetColorsLength=6,this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpAddColorButton=!1,this.cpAddColorButtonText="Add color",this.cpAddColorButtonClass="cp-add-color-button-class",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpInputChange=new i.EventEmitter(!0),this.cpToggleChange=new i.EventEmitter(!0),this.cpSliderChange=new i.EventEmitter(!0),this.cpSliderDragEnd=new i.EventEmitter(!0),this.cpSliderDragStart=new i.EventEmitter(!0),this.colorPickerOpen=new i.EventEmitter(!0),this.colorPickerClose=new i.EventEmitter(!0),this.colorPickerCancel=new i.EventEmitter(!0),this.colorPickerSelect=new i.EventEmitter(!0),this.colorPickerChange=new i.EventEmitter(!1),this.cpCmykColorChange=new i.EventEmitter(!0),this.cpPresetColorsChange=new i.EventEmitter(!0)}handleClick(){this.inputFocus()}handleFocus(){this.inputFocus()}handleInput(t){this.inputChange(t)}ngOnDestroy(){null!=this.cmpRef&&(this.viewAttachedToAppRef&&this.appRef.detachView(this.cmpRef.hostView),this.cmpRef.destroy(),this.cmpRef=null,this.dialog=null)}ngOnChanges(t){t.cpToggle&&!this.cpDisabled&&(t.cpToggle.currentValue?this.openDialog():t.cpToggle.currentValue||this.closeDialog()),t.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(t.colorPicker.currentValue),this.dialog.setColorFromString(t.colorPicker.currentValue,!1),this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay&&this.cmpRef.changeDetectorRef.detectChanges()),this.ignoreChanges=!1),(t.cpPresetLabel||t.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)}openDialog(){if(this.dialogCreated)this.dialog&&this.dialog.openDialog(this.colorPicker);else{let t=this.vcRef;if(this.dialogCreated=!0,this.viewAttachedToAppRef=!1,this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){const e=this.injector.get(this.appRef.componentTypes[0],i.Injector.NULL);e!==i.Injector.NULL?(t=e.vcRef||e.viewContainerRef||this.vcRef,t===this.vcRef&&console.warn("You are using cpUseRootViewContainer, but the root component is not exposing viewContainerRef!Please expose it by adding 'public vcRef: ViewContainerRef' to the constructor.")):this.viewAttachedToAppRef=!0}const e=this.cfr.resolveComponentFactory(W);if(this.viewAttachedToAppRef)this.cmpRef=e.create(this.injector),this.appRef.attachView(this.cmpRef.hostView),document.body.appendChild(this.cmpRef.hostView.rootNodes[0]);else{const n=i.ReflectiveInjector.fromResolvedProviders([],t.parentInjector);this.cmpRef=t.createComponent(e,0,n,[])}this.cmpRef.instance.setupDialog(this,this.elRef,this.colorPicker,this.cpWidth,this.cpHeight,this.cpDialogDisplay,this.cpFallbackColor,this.cpColorMode,this.cpCmykEnabled,this.cpAlphaChannel,this.cpOutputFormat,this.cpDisableInput,this.cpIgnoredElements,this.cpSaveClickOutside,this.cpCloseClickOutside,this.cpUseRootViewContainer,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpPresetLabel,this.cpPresetColors,this.cpPresetColorsClass,this.cpMaxPresetColorsLength,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.elRef),this.dialog=this.cmpRef.instance,this.vcRef!==t&&this.cmpRef.changeDetectorRef.detectChanges()}}closeDialog(){this.dialog&&"popup"===this.cpDialogDisplay&&this.dialog.closeDialog()}cmykChanged(t){this.cpCmykColorChange.emit(t)}stateChanged(t){this.cpToggleChange.emit(t),t?this.colorPickerOpen.emit(this.colorPicker):this.colorPickerClose.emit(this.colorPicker)}colorChanged(t,e=!0){this.ignoreChanges=e,this.colorPickerChange.emit(t)}colorSelected(t){this.colorPickerSelect.emit(t)}colorCanceled(){this.colorPickerCancel.emit()}inputFocus(){const t=this.elRef.nativeElement,e=this.cpIgnoredElements.filter(e=>e===t);this.cpDisabled||e.length||("undefined"!=typeof document&&t===document.activeElement?this.openDialog():this.dialog&&this.dialog.show?this.closeDialog():this.openDialog())}inputChange(t){this.dialog?this.dialog.setColorFromString(t.target.value,!0):(this.colorPicker=t.target.value,this.colorPickerChange.emit(this.colorPicker))}inputChanged(t){this.cpInputChange.emit(t)}sliderChanged(t){this.cpSliderChange.emit(t)}sliderDragEnd(t){this.cpSliderDragEnd.emit(t)}sliderDragStart(t){this.cpSliderDragStart.emit(t)}presetColorsChanged(t){this.cpPresetColorsChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Injector),i["\u0275\u0275directiveInject"](i.ComponentFactoryResolver),i["\u0275\u0275directiveInject"](i.ApplicationRef),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](q))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","colorPicker",""]],hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("click",function(){return e.handleClick()})("focus",function(){return e.handleFocus()})("input",function(t){return e.handleInput(t)})},inputs:{cpWidth:"cpWidth",cpHeight:"cpHeight",cpToggle:"cpToggle",cpDisabled:"cpDisabled",cpIgnoredElements:"cpIgnoredElements",cpFallbackColor:"cpFallbackColor",cpColorMode:"cpColorMode",cpCmykEnabled:"cpCmykEnabled",cpOutputFormat:"cpOutputFormat",cpAlphaChannel:"cpAlphaChannel",cpDisableInput:"cpDisableInput",cpDialogDisplay:"cpDialogDisplay",cpSaveClickOutside:"cpSaveClickOutside",cpCloseClickOutside:"cpCloseClickOutside",cpUseRootViewContainer:"cpUseRootViewContainer",cpPosition:"cpPosition",cpPositionOffset:"cpPositionOffset",cpPositionRelativeToArrow:"cpPositionRelativeToArrow",cpOKButton:"cpOKButton",cpOKButtonText:"cpOKButtonText",cpOKButtonClass:"cpOKButtonClass",cpCancelButton:"cpCancelButton",cpCancelButtonText:"cpCancelButtonText",cpCancelButtonClass:"cpCancelButtonClass",cpPresetLabel:"cpPresetLabel",cpPresetColorsClass:"cpPresetColorsClass",cpMaxPresetColorsLength:"cpMaxPresetColorsLength",cpPresetEmptyMessage:"cpPresetEmptyMessage",cpPresetEmptyMessageClass:"cpPresetEmptyMessageClass",cpAddColorButton:"cpAddColorButton",cpAddColorButtonText:"cpAddColorButtonText",cpAddColorButtonClass:"cpAddColorButtonClass",cpRemoveColorButtonClass:"cpRemoveColorButtonClass",colorPicker:"colorPicker",cpPresetColors:"cpPresetColors"},outputs:{cpInputChange:"cpInputChange",cpToggleChange:"cpToggleChange",cpSliderChange:"cpSliderChange",cpSliderDragEnd:"cpSliderDragEnd",cpSliderDragStart:"cpSliderDragStart",colorPickerOpen:"colorPickerOpen",colorPickerClose:"colorPickerClose",colorPickerCancel:"colorPickerCancel",colorPickerSelect:"colorPickerSelect",colorPickerChange:"colorPickerChange",cpCmykColorChange:"cpCmykColorChange",cpPresetColorsChange:"cpPresetColorsChange"},exportAs:["ngxColorPicker"],features:[i["\u0275\u0275NgOnChangesFeature"]]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[q],imports:[[r.CommonModule]]}),t})()},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),o=n("kJWO"),a=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=t=>{if(t&&"function"==typeof t[o.a])return u=t,t=>{const e=u[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&"function"==typeof t[s.a])return e=t,t=>{const n=e[s.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},SxV6:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("sVev"),r=n("pLZG"),s=n("IzEk"),o=n("xbPD"),a=n("XDbj"),l=n("SpAZ");function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?Object(r.a)((e,n)=>t(e,n,c)):l.a,Object(s.a)(1),n?Object(o.a)(e):Object(a.a)(()=>new i.a))}},UXun:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("jtHE");function r(t,e,n){let r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let s,o,a=0,l=!1,c=!1;return function(u){let h;a++,!s||l?(l=!1,s=new i.a(t,e,r),h=s.subscribe(this),o=u.subscribe({next(t){s.next(t)},error(t){l=!0,s.error(t)},complete(){c=!0,o=void 0,s.complete()}}),c&&(o=void 0)):h=s.subscribe(this),this.add(()=>{a--,h.unsubscribe(),h=void 0,o&&!c&&n&&0===a&&(o.unsubscribe(),o=void 0,s=void 0)})}}(r))}},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("z+Ro"),s=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(r.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(o.a)(t,n))}},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("EY2u"),r=n("LRne"),s=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},XDbj:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("sVev"),r=n("7o/Q");function s(t=l){return e=>e.lift(new o(t))}class o{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends r.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function l(){return new i.a}},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return u});var i=n("HDdC"),r=n("7o/Q"),s=n("quSY"),o=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends r.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;rnew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.a.EMPTY}}},XhcP:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("nLfN"),r=n("vxfF"),s=n("ofXK"),o=n("fXoL"),a=n("FKr1");n("8LU1"),n("FtGj"),n("XNiG"),n("xgIS"),n("VRyK"),n("pLZG"),n("lJxs"),n("CqXF"),n("1G5W"),n("/uUt"),n("IzEk"),n("JX91"),n("Kj3r"),n("R0Ic"),n("R1ws"),n("u47x"),n("cH1L");let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[s.CommonModule,a.d,i.b,r.b],r.b,a.d]}),t})()},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("quSY");class r extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},ZOsW:function(t,e,n){"use strict";n.d(e,"a",function(){return Dt}),n.d(e,"b",function(){return At}),n.d(e,"c",function(){return Nt});var i=n("fXoL"),r=n("3Pt+"),s=n("1G5W"),o=n("3UWI"),a=n("JX91"),l=n("vkgz"),c=n("Kj3r"),u=n("pLZG"),h=n("lJxs"),d=n("eNwd"),p=n("7Hc7"),f=n("XNiG"),g=n("xgIS"),m=n("VRyK"),b=n("ofXK");const _=["content"],y=["scroll"],v=["padding"],C=function(t){return{searchTerm:t}};function w(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275elementContainer"](1,7),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngTemplateOutlet",t.headerTemplate)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,t.filterValue))}}function x(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementContainer"](1,7),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngTemplateOutlet",t.footerTemplate)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,t.filterValue))}}const O=["*"],k=["searchInput"];function E(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"span",15),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](t);const e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).unselect(e)}),i["\u0275\u0275text"](1,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](2,"span",16)}if(2&t){const t=i["\u0275\u0275nextContext"]().$implicit,e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngItemLabel",t.label)("escape",e.escapeHTML)}}function P(t,e){}const S=function(t,e,n){return{item:t,clear:e,label:n}};function M(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275template"](1,E,3,2,"ng-template",null,13,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,P,0,0,"ng-template",14),i["\u0275\u0275elementEnd"]()),2&t){const t=e.$implicit,n=i["\u0275\u0275reference"](2),r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("ng-value-disabled",t.disabled),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",r.labelTemplate||n)("ngTemplateOutletContext",i["\u0275\u0275pureFunction3"](4,S,t.value,r.clearItem,t.label))}}function I(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,M,4,8,"div",11),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.selectedItems)("ngForTrackBy",t.trackByOption)}}function A(t,e){}const T=function(t,e){return{items:t,clear:e}};function D(t,e){if(1&t&&i["\u0275\u0275template"](0,A,0,0,"ng-template",14),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngTemplateOutlet",t.multiLabelTemplate)("ngTemplateOutletContext",i["\u0275\u0275pureFunction2"](2,T,t.selectedValues,t.clearItem))}}function j(t,e){1&t&&i["\u0275\u0275element"](0,"div",19)}function R(t,e){}function N(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,j,1,0,"ng-template",null,17,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,R,0,0,"ng-template",18),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275reference"](2),e=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",e.loadingSpinnerTemplate||t)}}function F(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"span",20),i["\u0275\u0275elementStart"](1,"span",21),i["\u0275\u0275text"](2,"\xd7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275propertyInterpolate"]("title",t.clearAllText)}}function V(t,e){if(1&t&&i["\u0275\u0275element"](0,"span",27),2&t){const t=i["\u0275\u0275nextContext"]().$implicit,e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngItemLabel",t.label)("escape",e.escapeHTML)}}function L(t,e){}const z=function(t,e,n,i){return{item:t,item$:e,index:n,searchTerm:i}};function B(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](t);const n=e.$implicit;return i["\u0275\u0275nextContext"](2).toggleItem(n)})("mouseover",function(){i["\u0275\u0275restoreView"](t);const n=e.$implicit;return i["\u0275\u0275nextContext"](2).onItemHover(n)}),i["\u0275\u0275template"](1,V,1,2,"ng-template",null,26,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,L,0,0,"ng-template",14),i["\u0275\u0275elementEnd"]()}if(2&t){const t=e.$implicit,n=i["\u0275\u0275reference"](2),r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("ng-option-disabled",t.disabled)("ng-option-selected",t.selected)("ng-optgroup",t.children)("ng-option",!t.children)("ng-option-child",!!t.parent)("ng-option-marked",t===r.itemsList.markedItem),i["\u0275\u0275attribute"]("role",t.children?"group":"option")("aria-selected",t.selected)("id",null==t?null:t.htmlId),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",t.children?r.optgroupTemplate||n:r.optionTemplate||n)("ngTemplateOutletContext",i["\u0275\u0275pureFunction4"](17,z,t.value,t,t.index,r.searchTerm))}}function H(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"span",30),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](t.addTagText),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]('"',t.searchTerm,'"')}}function U(t,e){}function q(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",28),i["\u0275\u0275listener"]("mouseover",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).itemsList.unmarkItem()})("click",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"](2).selectTag()}),i["\u0275\u0275template"](1,H,4,2,"ng-template",null,29,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,U,0,0,"ng-template",14),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275reference"](2),e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("ng-option-marked",!e.itemsList.markedItem),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",e.tagTemplate||t)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](4,C,e.searchTerm))}}function W(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.notFoundText)}}function K(t,e){}function Y(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,W,2,1,"ng-template",null,31,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,K,0,0,"ng-template",14),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275reference"](2),e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",e.notFoundTemplate||t)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,e.searchTerm))}}function X(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.typeToSearchText)}}function G(t,e){}function Z(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,X,2,1,"ng-template",null,33,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,G,0,0,"ng-template",18),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275reference"](2),e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",e.typeToSearchTemplate||t)}}function Q(t,e){if(1&t&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&t){const t=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.loadingText)}}function $(t,e){}function J(t,e){if(1&t&&(i["\u0275\u0275elementContainerStart"](0),i["\u0275\u0275template"](1,Q,2,1,"ng-template",null,34,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275template"](3,$,0,0,"ng-template",14),i["\u0275\u0275elementContainerEnd"]()),2&t){const t=i["\u0275\u0275reference"](2),e=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngTemplateOutlet",e.loadingTextTemplate||t)("ngTemplateOutletContext",i["\u0275\u0275pureFunction1"](2,C,e.searchTerm))}}function tt(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"ng-dropdown-panel",22),i["\u0275\u0275listener"]("update",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().viewPortItems=e})("scroll",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().scroll.emit(e)})("scrollToEnd",function(e){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().scrollToEnd.emit(e)})("outsideClick",function(){return i["\u0275\u0275restoreView"](t),i["\u0275\u0275nextContext"]().close()}),i["\u0275\u0275elementContainerStart"](1),i["\u0275\u0275template"](2,B,4,22,"div",23),i["\u0275\u0275template"](3,q,4,6,"div",24),i["\u0275\u0275elementContainerEnd"](),i["\u0275\u0275template"](4,Y,4,4,"ng-container",3),i["\u0275\u0275template"](5,Z,4,1,"ng-container",3),i["\u0275\u0275template"](6,J,4,4,"ng-container",3),i["\u0275\u0275elementEnd"]()}if(2&t){const t=i["\u0275\u0275nextContext"]();i["\u0275\u0275classProp"]("ng-select-multiple",t.multiple),i["\u0275\u0275property"]("virtualScroll",t.virtualScroll)("bufferAmount",t.bufferAmount)("appendTo",t.appendTo)("position",t.dropdownPosition)("headerTemplate",t.headerTemplate)("footerTemplate",t.footerTemplate)("filterValue",t.searchTerm)("items",t.itemsList.filteredItems)("markedItem",t.itemsList.markedItem)("ngClass",t.appendTo?t.classes:null)("id",t.dropdownId),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.viewPortItems)("ngForTrackBy",t.trackByOption),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showAddTag),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showNoItemsFound()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTypeToSearch()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.loading&&0===t.itemsList.filteredItems.length)}}const et=/[&<>"']/g,nt=RegExp(et.source),it={"&":"&","<":"<",">":">",'"':""","'":"'"};function rt(t){return null!=t}function st(t){return"object"==typeof t&&rt(t)}function ot(t){return t instanceof Function}let at=(()=>{class t{constructor(t){this.element=t,this.escape=!0}ngOnChanges(t){var e;this.element.nativeElement.innerHTML=this.escape?(e=this.ngItemLabel)&&nt.test(e)?e.replace(et,t=>it[t]):e:this.ngItemLabel}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngItemLabel",""]],inputs:{escape:"escape",ngItemLabel:"ngItemLabel"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),t})(),lt=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-option-tmp",""]]}),t})(),ct=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-optgroup-tmp",""]]}),t})(),ut=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-label-tmp",""]]}),t})(),ht=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-multi-label-tmp",""]]}),t})(),dt=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-header-tmp",""]]}),t})(),pt=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-footer-tmp",""]]}),t})(),ft=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-notfound-tmp",""]]}),t})(),gt=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-typetosearch-tmp",""]]}),t})(),mt=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-loadingtext-tmp",""]]}),t})(),bt=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-tag-tmp",""]]}),t})(),_t=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ng-loadingspinner-tmp",""]]}),t})(),yt=(()=>{class t{warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})();function vt(){return"axxxxxxxxxxx".replace(/[x]/g,function(t){return(16*Math.random()|0).toString(16)})}const Ct={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};function wt(t){return t.replace(/[^\u0000-\u007E]/g,t=>Ct[t]||t)}class xt{constructor(t,e){this._ngSelect=t,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let t=this.selectedItems.length-1;for(;t>=0;t--){let e=this.selectedItems[t];if(!e.disabled)return e}return null}setItems(t){this._items=t.map((t,e)=>this.mapItem(t,e)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(t){if(t.selected||this.maxItemsSelected)return;const e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(t,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(t)}unselect(t){t.selected&&(this._selectionModel.unselect(t,this._ngSelect.multiple),this._ngSelect.hideSelected&&rt(t.index)&&this._ngSelect.multiple&&this._showSelected(t))}findItem(t){let e;return e=this._ngSelect.compareWith?e=>this._ngSelect.compareWith(e.value,t):this._ngSelect.bindValue?e=>!e.children&&this.resolveNested(e.value,this._ngSelect.bindValue)===t:e=>e.value===t||!e.children&&e.label&&e.label===this.resolveNested(t,this._ngSelect.bindLabel),this._items.find(t=>e(t))}addItem(t){const e=this.mapItem(t,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(t=!1){this._selectionModel.clear(t),this._items.forEach(e=>{e.selected=t&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(t){return t=wt(t).toLocaleLowerCase(),this.filteredItems.find(e=>wt(e.label).toLocaleLowerCase().substr(0,t.length)===t)}filter(t){if(!t)return void this.resetFilteredItems();this._filteredItems=[],t=this._ngSelect.searchFn?t:wt(t).toLocaleLowerCase();const e=this._ngSelect.searchFn||this._defaultSearchFn,n=this._ngSelect.hideSelected;for(const i of Array.from(this._groups.keys())){const r=[];for(const s of this._groups.get(i))n&&(s.parent&&s.parent.selected||s.selected)||e(t,this._ngSelect.searchFn?s.value:s)&&r.push(s);if(r.length>0){const[t]=r.slice(-1);if(t.parent){const e=this._items.find(e=>e===t.parent);this._filteredItems.push(e)}this._filteredItems.push(...r)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(t=>!t.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(t){this._markedIndex=this._filteredItems.indexOf(t)}markSelectedOrDefault(t){if(0===this._filteredItems.length)return;const e=this._getLastMarkedIndex();this._markedIndex=e>-1?e:t?this.filteredItems.findIndex(t=>!t.disabled):-1}resolveNested(t,e){if(!st(t))return t;if(-1===e.indexOf("."))return t[e];{let n=e.split("."),i=t;for(let t=0,e=n.length;t-1===this.selectedItems.indexOf(t)))}_showSelected(t){if(this._filteredItems.push(t),t.parent){const e=t.parent;this._filteredItems.find(t=>t===e)||this._filteredItems.push(e)}else if(t.children)for(const e of t.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((t,e)=>t.index-e.index)]}_hideSelected(t){this._filteredItems=this._filteredItems.filter(e=>e!==t),t.parent?t.parent.children.every(t=>t.selected)&&(this._filteredItems=this._filteredItems.filter(e=>e!==t.parent)):t.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==t))}_defaultSearchFn(t,e){return wt(e.label).toLocaleLowerCase().indexOf(t)>-1}_getNextItemIndex(t){return t>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(t){0===this._filteredItems.length||this._filteredItems.every(t=>t.disabled)||(this._markedIndex=this._getNextItemIndex(t),this.markedItem.disabled&&this._stepToItem(t))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected)return-1;if(this._markedIndex>-1&&void 0===this.markedItem)return-1;const t=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&t<0?-1:Math.max(this.markedIndex,t)}_groupBy(t,e){const n=new Map;if(0===t.length)return n;if(Array.isArray(t[0].value[e])){for(const i of t){const t=(i.value[e]||[]).map((t,e)=>this.mapItem(t,e));n.set(i,t)}return n}const i=ot(this._ngSelect.groupBy),r=t=>{let n=i?e(t.value):t.value[e];return rt(n)?n:void 0};for(const s of t){let t=r(s);const e=n.get(t);e?e.push(s):n.set(t,[s])}return n}_flatten(t){const e=ot(this._ngSelect.groupBy),n=[];for(const i of Array.from(t.keys())){let r=n.length;if(void 0===i){const e=t.get(void 0)||[];n.push(...e.map(t=>(t.index=r++,t)));continue}const s=st(i),o={label:s?"":String(i),children:void 0,parent:null,index:r++,disabled:!this._ngSelect.selectableGroup,htmlId:vt()},a=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,l=this._ngSelect.groupValue||(()=>s?i.value:{[a]:i}),c=t.get(i).map(t=>(t.parent=o,t.children=void 0,t.index=r++,t));o.children=c,o.value=l(i,c.map(t=>t.value)),n.push(o),n.push(...c)}return n}}var Ot=function(t){return t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",t}({});let kt=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(t,e,n){const i=this._dimensions,r=i.itemHeight*e,s=Math.max(0,t)/r*e;let o=Math.min(e,Math.ceil(s)+(i.itemsPerViewport+1));const a=Math.max(0,o-i.itemsPerViewport);let l=Math.min(a,Math.floor(s)),c=i.itemHeight*Math.ceil(l)-i.itemHeight*Math.min(l,n);return c=isNaN(c)?0:c,l=isNaN(l)?-1:l,o=isNaN(o)?-1:o,l-=n,l=Math.max(0,l),o+=n,o=Math.min(e,o),{topPadding:c,scrollHeight:r,start:l,end:o}}setDimensions(t,e){const n=Math.max(1,Math.floor(e/t));this._dimensions={itemHeight:t,panelHeight:e,itemsPerViewport:n}}getScrollTo(t,e,n){const{panelHeight:i}=this.dimensions,r=t+e,s=n+i;return i>=r&&n===t?null:r>s?n+r-s:t<=n?t:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const Et="ng-select-top",Pt="ng-select-bottom",St="undefined"!=typeof requestAnimationFrame?d.a:p.b;let Mt=(()=>{class t{constructor(t,e,n,r,s){this._renderer=t,this._zone=e,this._panelService=n,this._document=s,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new i.EventEmitter,this.scroll=new i.EventEmitter,this.scrollToEnd=new i.EventEmitter,this.outsideClick=new i.EventEmitter,this._destroy$=new f.a,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=r.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(t){t!==this._itemsLength&&(this._itemsLength=t,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:t,panelHeight:e}=this._panelService.dimensions,n=this.markedItem.index*t;return e>n?0:n}return 0}handleMousedown(t){"INPUT"!==t.target.tagName&&t.preventDefault()}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown()}ngOnChanges(t){if(t.items){const e=t.items;this._onItemsChange(e.currentValue,e.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(t,e=!1){if(!t)return;const n=this.items.indexOf(t);if(n<0||n>=this.itemsLength)return;let i;if(this.virtualScroll){const t=this._panelService.dimensions.itemHeight;i=this._panelService.getScrollTo(n*t,t,this._lastScrollPosition)}else{const n=this._dropdown.querySelector(`#${t.htmlId}`);i=this._panelService.getScrollTo(n.offsetTop,n.clientHeight,e?n.offsetTop:this._lastScrollPosition)}rt(i)&&(this._scrollablePanel.scrollTop=i)}scrollToTag(){const t=this._scrollablePanel;t.scrollTop=t.scrollHeight-t.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),"top"===this._currentPosition?(this._renderer.addClass(this._dropdown,Et),this._renderer.removeClass(this._dropdown,Pt),this._renderer.addClass(this._select,Et),this._renderer.removeClass(this._select,Pt)):(this._renderer.addClass(this._dropdown,Pt),this._renderer.removeClass(this._dropdown,Et),this._renderer.addClass(this._select,Pt),this._renderer.removeClass(this._select,Et)),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_handleScroll(){this._zone.runOutsideAngular(()=>{Object(g.a)(this.scrollElementRef.nativeElement,"scroll").pipe(Object(s.a)(this._destroy$),Object(o.a)(0,St)).subscribe(t=>{const e=t.path||t.composedPath&&t.composedPath();this._onContentScrolled(e&&0!==e.length?e[0].scrollTop:t.target.scrollTop)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{Object(m.a)(Object(g.a)(this._document,"touchstart",{capture:!0}),Object(g.a)(this._document,"mousedown",{capture:!0})).pipe(Object(s.a)(this._destroy$)).subscribe(t=>this._checkToClose(t))})}_checkToClose(t){if(this._select.contains(t.target)||this._dropdown.contains(t.target))return;const e=t.path||t.composedPath&&t.composedPath();t.target&&t.target.shadowRoot&&e&&e[0]&&this._select.contains(e[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(t,e){this.items=t||[],this._scrollToEndFired=!1,this.itemsLength=t.length,this.virtualScroll?this._updateItemsRange(e):(this._setVirtualHeight(),this._updateItems(e))}_updateItems(t){this.update.emit(this.items),!1!==t&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,t)})})}_updateItemsRange(t){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{t?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(t){this.virtualScroll&&this._renderItemsRange(t),this._lastScrollPosition=t,this._fireScrollToEnd(t)}_updateVirtualHeight(t){this._updateScrollHeight&&(this._virtualPadding.style.height=`${t}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(t=null){if(t&&this._lastScrollPosition===t)return;const e=this._panelService.calculateItems(t=t||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(e.scrollHeight),this._contentPanel.style.transform=`translateY(${e.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(e.start,e.end)),this.scroll.emit({start:e.start,end:e.end})}),rt(t)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=t,this._lastScrollPosition=t)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[t]=this.items;return this.update.emit([t]),Promise.resolve().then(()=>{const e=this._dropdown.querySelector(`#${t.htmlId}`).clientHeight;return this._virtualPadding.style.height=e*this.itemsLength+"px",this._panelService.setDimensions(e,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(t){this._scrollToEndFired||0===t||t+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(t){if("auto"!==this.position)return this.position;const e=this._select.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop;return e.top+window.pageYOffset+e.height+t.getBoundingClientRect().height>n+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const t=this._select.getBoundingClientRect(),e=this._parent.getBoundingClientRect();this._dropdown.style.left=t.left-e.left+"px",this._dropdown.style.width=t.width+"px",this._dropdown.style.minWidth=t.width+"px"}_updateYPosition(){const t=this._select.getBoundingClientRect(),e=this._parent.getBoundingClientRect(),n=t.height;"top"===this._currentPosition?(this._dropdown.style.bottom=e.bottom-t.bottom+n+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=t.top-e.top+n+"px",this._dropdown.style.bottom="auto")}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](kt),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](b.DOCUMENT,8))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(t,e){if(1&t&&(i["\u0275\u0275viewQuery"](_,3,i.ElementRef),i["\u0275\u0275viewQuery"](y,3,i.ElementRef),i["\u0275\u0275viewQuery"](v,3,i.ElementRef)),2&t){let t;i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.contentElementRef=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.scrollElementRef=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.paddingElementRef=t.first)}},hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("mousedown",function(t){return e.handleMousedown(t)})},inputs:{items:"items",position:"position",virtualScroll:"virtualScroll",filterValue:"filterValue",markedItem:"markedItem",appendTo:"appendTo",bufferAmount:"bufferAmount",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:O,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,w,2,4,"div",0),i["\u0275\u0275elementStart"](1,"div",1,2),i["\u0275\u0275element"](3,"div",null,3),i["\u0275\u0275elementStart"](5,"div",null,4),i["\u0275\u0275projection"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,x,2,4,"div",5)),2&t&&(i["\u0275\u0275property"]("ngIf",e.headerTemplate),i["\u0275\u0275advance"](3),i["\u0275\u0275classProp"]("total-padding",e.virtualScroll),i["\u0275\u0275advance"](2),i["\u0275\u0275classProp"]("scrollable-content",e.virtualScroll&&e.items.length),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.footerTemplate))},directives:[b.NgIf,b.NgTemplateOutlet],encapsulation:2,changeDetection:0}),t})(),It=(()=>{class t{constructor(t){this.elementRef=t,this.stateChange$=new f.a,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=this._isDisabled(t)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(t){t.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(t){return null!=t&&"false"!=`${t}`}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["ng-option"]],inputs:{disabled:"disabled",value:"value"},features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:O,decls:1,vars:0,template:function(t,e){1&t&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},encapsulation:2,changeDetection:0}),t})(),At=(()=>{class t{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Tt=new i.InjectionToken("ng-select-selection-model");let Dt=(()=>{class t{constructor(t,e,n,r,s,o,a){this.classes=t,this.autoFocus=e,this._cd=o,this._console=a,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=t=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new i.EventEmitter,this.focusEvent=new i.EventEmitter,this.changeEvent=new i.EventEmitter,this.openEvent=new i.EventEmitter,this.closeEvent=new i.EventEmitter,this.searchEvent=new i.EventEmitter,this.clearEvent=new i.EventEmitter,this.addEvent=new i.EventEmitter,this.removeEvent=new i.EventEmitter,this.scroll=new i.EventEmitter,this.scrollToEnd=new i.EventEmitter,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=vt(),this.escapeHTML=!0,this.useDefaultClass=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new f.a,this._keyPress$=new f.a,this._onChange=t=>{},this._onTouched=()=>{},this.clearItem=t=>{const e=this.selectedItems.find(e=>e.value===t);this.unselect(e)},this.trackByOption=(t,e)=>this.trackByFn?this.trackByFn(e.value):e,this._mergeGlobalConfig(n),this.itemsList=new xt(this,r()),this.element=s.nativeElement}get items(){return this._items}set items(t){this._itemsAreUsed=!0,this._items=t}get compareWith(){return this._compareWith}set compareWith(t){if(null!=t&&!ot(t))throw Error("`compareWith` must be a function.");this._compareWith=t}get clearSearchOnAdd(){return rt(this._clearSearchOnAdd)?this._clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(t){this._clearSearchOnAdd=t}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(t=>t.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(t){t.multiple&&this.itemsList.clearSelected(),t.items&&this._setItems(t.items.currentValue||[]),t.isOpen&&(this._manualOpen=rt(t.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),rt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(t){if(Ot[t.which]){if(!1===this.keyDownFn(t))return;this.handleKeyCode(t)}else t.key&&1===t.key.length&&this._keyPress$.next(t.key.toLocaleLowerCase())}handleKeyCode(t){switch(t.which){case Ot.ArrowDown:this._handleArrowDown(t);break;case Ot.ArrowUp:this._handleArrowUp(t);break;case Ot.Space:this._handleSpace(t);break;case Ot.Enter:this._handleEnter(t);break;case Ot.Tab:this._handleTab(t);break;case Ot.Esc:this.close(),t.preventDefault();break;case Ot.Backspace:this._handleBackspace()}}handleMousedown(t){const e=t.target;"INPUT"!==e.tagName&&t.preventDefault(),e.classList.contains("ng-clear-wrapper")?this.handleClearClick():e.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():e.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(t){this.itemsList.clearSelected(),this._handleWriteValue(t),this._cd.markForCheck()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._disabled=t,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||(this._isTypeahead||this.addTag||!this.itemsList.noItemsToSelect)&&(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){this.isOpen&&!this._manualOpen&&(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(t){!t||t.disabled||this.disabled||(this.multiple&&t.selected?this.unselect(t):this.select(t),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(t){t.selected||(this.itemsList.select(t),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(t.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(t){t&&(this.itemsList.unselect(t),this.focus(),this._updateNgModel(),this.removeEvent.emit(t))}selectTag(){let t;t=ot(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const e=t=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(t,null):this.itemsList.addItem(t);t instanceof Promise?t.then(t=>this.select(e(t))).catch(()=>{}):t&&this.select(e(t))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const t=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(e=>e.label.toLowerCase()===t)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(e=>e.label.toLowerCase()===t))&&!this.loading}showNoItemsFound(){const t=0===this.itemsList.filteredItems.length;return(t&&!this._isTypeahead&&!this.loading||t&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(t){this._isComposing=!1,this.searchWhileComposing||this.filter(t)}filter(t){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=t,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(t),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:t,items:this.itemsList.filteredItems.map(t=>t.value)}),this.open())}onInputFocus(t){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(t),this.focused=!0)}onInputBlur(t){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(t),this.isOpen||this.disabled||this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(t){t.disabled||this.itemsList.markItem(t)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const t=this.selectedItems&&this.selectedItems[0];this.searchTerm=t&&t.label||null}_setItems(t){const e=t[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=rt(e)?!st(e):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(t),t.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&rt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const t=t=>{this.items=t.map(t=>({$ngOptionValue:t.value,$ngOptionLabel:t.elementRef.nativeElement.innerHTML,disabled:t.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},e=()=>{const t=Object(m.a)(this.ngOptions.changes,this._destroy$);Object(m.a)(...this.ngOptions.map(t=>t.stateChange$)).pipe(Object(s.a)(t)).subscribe(t=>{const e=this.itemsList.findItem(t.value);e.disabled=t.disabled,e.label=t.label||e.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(Object(a.a)(this.ngOptions),Object(s.a)(this._destroy$)).subscribe(n=>{this.bindLabel=this._defaultLabel,t(n),e()})}_isValidWriteValue(t){if(!rt(t)||this.multiple&&""===t||Array.isArray(t)&&0===t.length)return!1;const e=t=>!(!rt(this.compareWith)&&st(t)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(t)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(t)?t.every(t=>e(t)):(this._console.warn("Multiple select ngModel should be array."),!1):e(t)}_handleWriteValue(t){if(!this._isValidWriteValue(t))return;const e=t=>{let e=this.itemsList.findItem(t);if(e)this.itemsList.select(e);else{const n=st(t),i=!n&&!this.bindValue;n||i?this.itemsList.select(this.itemsList.mapItem(t,null)):this.bindValue&&(e={[this.bindLabel]:null,[this.bindValue]:t},this.itemsList.select(this.itemsList.mapItem(e,null)))}};this.multiple?t.forEach(t=>e(t)):e(t)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(Object(s.a)(this._destroy$),Object(l.a)(t=>this._pressedKeys.push(t)),Object(c.a)(200),Object(u.a)(()=>this._pressedKeys.length>0),Object(h.a)(()=>this._pressedKeys.join(""))).subscribe(t=>{const e=this.itemsList.findByLabel(t);e&&(this.isOpen?(this.itemsList.markItem(e),this._scrollToMarked(),this._cd.markForCheck()):this.select(e)),this._pressedKeys=[]})}_setInputAttributes(){const t=this.searchInput.nativeElement,e=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(const n of Object.keys(e))t.setAttribute(n,e[n])}_updateNgModel(){const t=[];for(const n of this.selectedItems)if(this.bindValue){let e=null;e=n.children?n.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(n.value,this.bindValue),t.push(e)}else t.push(n.value);const e=this.selectedItems.map(t=>t.value);this.multiple?(this._onChange(t),this.changeEvent.emit(e)):(this._onChange(rt(t[0])?t[0]:null),this.changeEvent.emit(e[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(t){this.searchTerm=t,this._isTypeahead&&this.typeahead.next(t)}_scrollToMarked(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){this.isOpen&&this.dropdownPanel&&this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(t){(!1!==this.isOpen||this.addTag)&&(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),t.preventDefault()):this.showAddTag?(this.selectTag(),t.preventDefault()):this.close():this.close())}_handleEnter(t){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}t.preventDefault()}_handleSpace(t){this.isOpen||this._manualOpen||(this.open(),t.preventDefault())}_handleArrowDown(t){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),t.preventDefault()}_handleArrowUp(t){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),t.preventDefault())}_nextItemIsTag(t){const e=this.itemsList.markedIndex+t;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(e<0||e===this.itemsList.filteredItems.length)}_handleBackspace(){!this.searchTerm&&this.clearable&&this.clearOnBackspace&&this.hasValue&&(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const t=this.searchTerm&&this.searchTerm.trim();return t&&t.length>=this.minTermLength}_mergeGlobalConfig(t){this.placeholder=this.placeholder||t.placeholder,this.notFoundText=this.notFoundText||t.notFoundText,this.typeToSearchText=this.typeToSearchText||t.typeToSearchText,this.addTagText=this.addTagText||t.addTagText,this.loadingText=this.loadingText||t.loadingText,this.clearAllText=this.clearAllText||t.clearAllText,this.virtualScroll=rt(this.virtualScroll)?this.virtualScroll:!!rt(t.disableVirtualScroll)&&!t.disableVirtualScroll,this.openOnEnter=rt(this.openOnEnter)?this.openOnEnter:t.openOnEnter,this.appendTo=this.appendTo||t.appendTo,this.bindValue=this.bindValue||t.bindValue,this.bindLabel=this.bindLabel||t.bindLabel,this.appearance=this.appearance||t.appearance}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275injectAttribute"]("class"),i["\u0275\u0275injectAttribute"]("autofocus"),i["\u0275\u0275directiveInject"](At),i["\u0275\u0275directiveInject"](Tt),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](yt))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["ng-select"]],contentQueries:function(t,e,n){if(1&t&&(i["\u0275\u0275contentQuery"](n,lt,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ct,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ut,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ht,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,dt,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,pt,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,ft,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,gt,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,mt,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,bt,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,_t,1,i.TemplateRef),i["\u0275\u0275contentQuery"](n,It,1)),2&t){let t;i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.optionTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.optgroupTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.labelTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.multiLabelTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.headerTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.footerTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.notFoundTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.typeToSearchTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.loadingTextTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.tagTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.loadingSpinnerTemplate=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.ngOptions=t)}},viewQuery:function(t,e){if(1&t&&(i["\u0275\u0275viewQuery"](Mt,1),i["\u0275\u0275viewQuery"](k,3)),2&t){let t;i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.dropdownPanel=t.first),i["\u0275\u0275queryRefresh"](t=i["\u0275\u0275loadQuery"]())&&(e.searchInput=t.first)}},hostVars:20,hostBindings:function(t,e){1&t&&i["\u0275\u0275listener"]("keydown",function(t){return e.handleKeyDown(t)}),2&t&&i["\u0275\u0275classProp"]("ng-select",e.useDefaultClass)("ng-select-single",!e.multiple)("ng-select-multiple",e.multiple)("ng-select-taggable",e.addTag)("ng-select-searchable",e.searchable)("ng-select-clearable",e.clearable)("ng-select-opened",e.isOpen)("ng-select-disabled",e.disabled)("ng-select-filtered",e.filtered)("ng-select-typeahead",e.typeahead)},inputs:{markFirst:"markFirst",dropdownPosition:"dropdownPosition",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",bufferAmount:"bufferAmount",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",bindLabel:"bindLabel",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",virtualScroll:"virtualScroll",openOnEnter:"openOnEnter",appendTo:"appendTo",bindValue:"bindValue",appearance:"appearance",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",tabIndex:"tabIndex",typeahead:"typeahead"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[i["\u0275\u0275ProvidersFeature"]([{provide:r.k,useExisting:Object(i.forwardRef)(()=>t),multi:!0},kt]),i["\u0275\u0275NgOnChangesFeature"]],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(t,e){if(1&t){const t=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275listener"]("mousedown",function(t){return e.handleMousedown(t)}),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,I,2,2,"ng-container",3),i["\u0275\u0275template"](5,D,1,5,void 0,3),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"input",5,6),i["\u0275\u0275listener"]("input",function(){i["\u0275\u0275restoreView"](t);const n=i["\u0275\u0275reference"](8);return e.filter(n.value)})("compositionstart",function(){return e.onCompositionStart()})("compositionend",function(){i["\u0275\u0275restoreView"](t);const n=i["\u0275\u0275reference"](8);return e.onCompositionEnd(n.value)})("focus",function(t){return e.onInputFocus(t)})("blur",function(t){return e.onInputBlur(t)})("change",function(t){return t.stopPropagation()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,N,4,1,"ng-container",3),i["\u0275\u0275template"](10,F,3,1,"span",7),i["\u0275\u0275elementStart"](11,"span",8),i["\u0275\u0275element"](12,"span",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,tt,7,19,"ng-dropdown-panel",10)}2&t&&(i["\u0275\u0275classProp"]("ng-appearance-outline","outline"===e.appearance)("ng-has-value",e.hasValue),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](e.placeholder),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(!e.multiLabelTemplate||!e.multiple)&&e.selectedItems.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.multiple&&e.multiLabelTemplate&&e.selectedValues.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-expanded",e.isOpen)("aria-owns",e.isOpen?e.dropdownId:null),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("readOnly",!e.searchable||e.itemsList.maxItemsSelected)("disabled",e.disabled)("value",e.searchTerm?e.searchTerm:""),i["\u0275\u0275attribute"]("id",e.labelForId)("tabindex",e.tabIndex)("aria-activedescendant",e.isOpen?null==e.itemsList||null==e.itemsList.markedItem?null:e.itemsList.markedItem.htmlId:null)("aria-controls",e.isOpen?e.dropdownId:null),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",e.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",e.showClear()),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",e.isOpen))},directives:[b.NgIf,b.NgForOf,b.NgTemplateOutlet,at,Mt,b.NgClass],styles:['.ng-select{display:block;position:relative}.ng-select,.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:default;user-select:none}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{background:none transparent;border:0;box-shadow:none;box-sizing:content-box;cursor:default;outline:none;padding:0;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;padding:0;user-select:none;width:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{left:0;position:absolute;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;position:relative;user-select:none;width:17px}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{-webkit-animation:load8 .8s linear infinite;animation:load8 .8s linear infinite;border:2px solid rgba(66,66,66,.2);border-left-color:#424242;border-radius:50%;font-size:10px;height:17px;margin-right:5px;position:relative;text-indent:-9999em;transform:translateZ(0);width:17px}.ng-select .ng-spinner-loader:after{border-radius:50%;height:17px;width:17px}@-webkit-keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes load8{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ng-select .ng-arrow-wrapper{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;position:relative;text-align:center;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{display:inline-block;height:0;pointer-events:none;position:relative;width:0}.ng-dropdown-panel{-webkit-overflow-scrolling:touch;box-sizing:border-box;opacity:0;position:absolute;width:100%;z-index:1050}.ng-dropdown-panel .ng-dropdown-panel-items{box-sizing:border-box;display:block;height:auto;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup,.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{-webkit-overflow-scrolling:touch;display:block;overflow:hidden;overflow-y:auto;position:relative}.ng-dropdown-panel .scrollable-content{height:100%;left:0;position:absolute;top:0;width:100%}.ng-dropdown-panel .total-padding{opacity:0;width:1px}'],encapsulation:2,changeDetection:0}),t})();class jt{constructor(){this._selected=[]}get value(){return this._selected}select(t,e,n){if(t.selected=!0,(!t.children||!e&&n)&&this._selected.push(t),e)if(t.parent){const e=t.parent.children.length,n=t.parent.children.filter(t=>t.selected).length;t.parent.selected=e===n}else t.children&&(this._setChildrenSelectedState(t.children,!0),this._removeChildren(t),this._selected=n&&this._activeChildren(t)?[...this._selected.filter(e=>e.parent!==t),t]:[...this._selected,...t.children.filter(t=>!t.disabled)])}unselect(t,e){if(this._selected=this._selected.filter(e=>e!==t),t.selected=!1,e)if(t.parent&&t.parent.selected){const e=t.parent.children;this._removeParent(t.parent),this._removeChildren(t.parent),this._selected.push(...e.filter(e=>e!==t&&!e.disabled)),t.parent.selected=!1}else t.children&&(this._setChildrenSelectedState(t.children,!1),this._removeChildren(t))}clear(t){this._selected=t?this._selected.filter(t=>t.disabled):[]}_setChildrenSelectedState(t,e){for(const n of t)n.disabled||(n.selected=e)}_removeChildren(t){this._selected=[...this._selected.filter(e=>e.parent!==t),...t.children.filter(e=>e.parent===t&&e.disabled&&e.selected)]}_removeParent(t){this._selected=this._selected.filter(e=>e!==t)}_activeChildren(t){return t.children.every(t=>!t.disabled||t.selected)}}const Rt=function(){return new jt};let Nt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[{provide:Tt,useValue:Rt}],imports:[[b.CommonModule]]}),t})()},ZUHj:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q");class r extends i.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var s=n("SeVD"),o=n("HDdC");function a(t,e,n,i,a=new r(t,n,i)){if(!a.closed)return e instanceof o.a?e.subscribe(a):Object(s.a)(e)(a)}},Zy1z:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(){return t=>t.lift(new s)}class s{call(t,e){return e.subscribe(new o(t))}}class o extends i.a{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}},aK3z:function(t,e,n){window,t.exports=function(t,e){if("undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var n=!1;function i(){n||(n=!0,console.warn("[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead."))}return function n(r){if(!(this instanceof n))return new n(r);for(var s,o,a=this,l=[],c={enable:!0,callbackList:[],interval:5},u=document.getElementsByTagName("script"),h=0;h=0;--n){var i=e[n];"error"==t.data?i.setError():i.setSuccess("unchanged"==t.data)}}},!1),t.promise}function E(){c.enable&&a.token&&setTimeout(function(){P().then(function(t){t&&E()})},1e3*c.interval)}function P(){var t=O();if(c.iframe&&c.iframeOrigin){var e=a.clientId+" "+(a.sessionId?a.sessionId:"");c.callbackList.push(t),1==c.callbackList.length&&c.iframe.contentWindow.postMessage(e,c.iframeOrigin)}else t.setSuccess();return t.promise}function S(){var t=O();if(c.enable||a.silentCheckSsoRedirectUri){var e=document.createElement("iframe");e.setAttribute("src",a.endpoints.thirdPartyCookiesIframe()),e.setAttribute("title","keycloak-3p-check-iframe"),e.style.display="none",document.body.appendChild(e);var n=function(i){e.contentWindow===i.source&&("supported"!==i.data&&"unsupported"!==i.data?t.setError():"unsupported"===i.data&&(c.enable=!1,a.silentCheckSsoFallback&&(a.silentCheckSsoRedirectUri=!1),f("[KEYCLOAK] 3rd party cookies aren't supported by this browser. checkLoginIframe and silent check-sso are not available.")),document.body.removeChild(e),window.removeEventListener("message",n),t.setSuccess())};window.addEventListener("message",n,!1)}else t.setSuccess();return t.promise}function M(t){if(!t||"default"==t)return{login:function(t){return window.location.replace(a.createLoginUrl(t)),O().promise},logout:function(t){return window.location.replace(a.createLogoutUrl(t)),O().promise},register:function(t){return window.location.replace(a.createRegisterUrl(t)),O().promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";return window.location.href=t,O().promise},redirectUri:function(t,e){return 1==arguments.length&&(e=!0),t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:location.href}};if("cordova"==t){c.enable=!1;var e=function(t,e,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(t,e,n):window.open(t,e,n)},n=function(t){var e=function(t){return t&&t.cordovaOptions?Object.keys(t.cordovaOptions).reduce(function(e,n){return e[n]=t.cordovaOptions[n],e},{}):{}}(t);return e.location="no",t&&"none"==t.prompt&&(e.hidden="yes"),function(t){return Object.keys(t).reduce(function(e,n){return e.push(n+"="+t[n]),e},[]).join(",")}(e)};return{login:function(t){var i=O(),r=n(t),s=a.createLoginUrl(t),o=e(s,"_blank",r),l=!1,c=!1,u=function(){c=!0,o.close()};return o.addEventListener("loadstart",function(t){0==t.url.indexOf("http://localhost")&&(b(w(t.url),i),u(),l=!0)}),o.addEventListener("loaderror",function(t){l||(0==t.url.indexOf("http://localhost")?(b(w(t.url),i),u(),l=!0):(i.setError(),u()))}),o.addEventListener("exit",function(t){c||i.setError({reason:"closed_by_user"})}),i.promise},logout:function(t){var n,i=O(),r=a.createLogoutUrl(t),s=e(r,"_blank","location=no,hidden=yes");return s.addEventListener("loadstart",function(t){0==t.url.indexOf("http://localhost")&&s.close()}),s.addEventListener("loaderror",function(t){0==t.url.indexOf("http://localhost")||(n=!0),s.close()}),s.addEventListener("exit",function(t){n?i.setError():(a.clearToken(),i.setSuccess())}),i.promise},register:function(t){var i=O(),r=a.createRegisterUrl(),s=n(t),o=e(r,"_blank",s);return o.addEventListener("loadstart",function(t){0==t.url.indexOf("http://localhost")&&(o.close(),b(w(t.url),i))}),i.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";var n=e(t,"_blank","location=no");n.addEventListener("loadstart",function(t){0==t.url.indexOf("http://localhost")&&n.close()})},redirectUri:function(t){return"http://localhost"}}}if("cordova-native"==t)return c.enable=!1,{login:function(t){var e=O(),n=a.createLoginUrl(t);return universalLinks.subscribe("keycloak",function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),b(w(t.url),e)}),window.cordova.plugins.browsertab.openUrl(n),e.promise},logout:function(t){var e=O(),n=a.createLogoutUrl(t);return universalLinks.subscribe("keycloak",function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),a.clearToken(),e.setSuccess()}),window.cordova.plugins.browsertab.openUrl(n),e.promise},register:function(t){var e=O(),n=a.createRegisterUrl(t);return universalLinks.subscribe("keycloak",function(t){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),b(w(t.url),e)}),window.cordova.plugins.browsertab.openUrl(n),e.promise},accountManagement:function(){var t=a.createAccountUrl();if(void 0===t)throw"Not supported by the OIDC server";window.cordova.plugins.browsertab.openUrl(t)},redirectUri:function(t){return t&&t.redirectUri?t.redirectUri:a.redirectUri?a.redirectUri:"http://localhost"}};throw"invalid adapter type: "+t}a.init=function(t){if(a.authenticated=!1,o=function(){try{return new I}catch(t){}return new A}(),s=t&&["default","cordova","cordova-native"].indexOf(t.adapter)>-1?M(t.adapter):t&&"object"==typeof t.adapter?t.adapter:window.Cordova||window.cordova?M("cordova"):M(),t){if(void 0!==t.useNonce&&(d=t.useNonce),void 0!==t.checkLoginIframe&&(c.enable=t.checkLoginIframe),t.checkLoginIframeInterval&&(c.interval=t.checkLoginIframeInterval),"login-required"===t.onLoad&&(a.loginRequired=!0),t.responseMode){if("query"!==t.responseMode&&"fragment"!==t.responseMode)throw"Invalid value for responseMode";a.responseMode=t.responseMode}if(t.flow){switch(t.flow){case"standard":a.responseType="code";break;case"implicit":a.responseType="id_token token";break;case"hybrid":a.responseType="code id_token token";break;default:throw"Invalid value for flow"}a.flow=t.flow}if(null!=t.timeSkew&&(a.timeSkew=t.timeSkew),t.redirectUri&&(a.redirectUri=t.redirectUri),t.silentCheckSsoRedirectUri&&(a.silentCheckSsoRedirectUri=t.silentCheckSsoRedirectUri),a.silentCheckSsoFallback="boolean"!=typeof t.silentCheckSsoFallback||t.silentCheckSsoFallback,t.pkceMethod){if("S256"!==t.pkceMethod)throw"Invalid value for pkceMethod";a.pkceMethod=t.pkceMethod}a.enableLogging="boolean"==typeof t.enableLogging&&t.enableLogging}a.responseMode||(a.responseMode="fragment"),a.responseType||(a.responseType="code",a.flow="standard");var e=O(),n=O();n.promise.then(function(){a.onReady&&a.onReady(a.authenticated),e.setSuccess(a.authenticated)}).catch(function(t){e.setError(t)});var i=function(t){var e,n=O();function i(t){a.endpoints=t?{authorize:function(){return t.authorization_endpoint},token:function(){return t.token_endpoint},logout:function(){if(!t.end_session_endpoint)throw"Not supported by the OIDC server";return t.end_session_endpoint},checkSessionIframe:function(){if(!t.check_session_iframe)throw"Not supported by the OIDC server";return t.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!t.userinfo_endpoint)throw"Not supported by the OIDC server";return t.userinfo_endpoint}}:{authorize:function(){return m()+"/protocol/openid-connect/auth"},token:function(){return m()+"/protocol/openid-connect/token"},logout:function(){return m()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var t=m()+"/protocol/openid-connect/login-status-iframe.html";return a.iframeVersion&&(t=t+"?version="+a.iframeVersion),t},thirdPartyCookiesIframe:function(){var t=m()+"/protocol/openid-connect/3p-cookies/step1.html";return a.iframeVersion&&(t=t+"?version="+a.iframeVersion),t},register:function(){return m()+"/protocol/openid-connect/registrations"},userinfo:function(){return m()+"/protocol/openid-connect/userinfo"}}}if(r?"string"==typeof r&&(e=r):e="keycloak.json",e)(l=new XMLHttpRequest).open("GET",e,!0),l.setRequestHeader("Accept","application/json"),l.onreadystatechange=function(){if(4==l.readyState)if(200==l.status||_(l)){var t=JSON.parse(l.responseText);a.authServerUrl=t["auth-server-url"],a.realm=t.realm,a.clientId=t.resource,i(null),n.setSuccess()}else n.setError()},l.send();else{if(!r.clientId)throw"clientId missing";a.clientId=r.clientId;var s=r.oidcProvider;if(s){var o,l;"string"==typeof s?(o="/"==s.charAt(s.length-1)?s+".well-known/openid-configuration":s+"/.well-known/openid-configuration",(l=new XMLHttpRequest).open("GET",o,!0),l.setRequestHeader("Accept","application/json"),l.onreadystatechange=function(){4==l.readyState&&(200==l.status||_(l)?(i(JSON.parse(l.responseText)),n.setSuccess()):n.setError())},l.send()):(i(s),n.setSuccess())}else{if(!r.url)for(var c=document.getElementsByTagName("script"),u=0;u=0},a.hasResourceRole=function(t,e){if(!a.resourceAccess)return!1;var n=a.resourceAccess[e||a.clientId];return!!n&&n.roles.indexOf(t)>=0},a.loadUserProfile=function(){var t=m()+"/account",e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=O();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.profile=JSON.parse(e.responseText),n.setSuccess(a.profile)):n.setError())},e.send(),n.promise},a.loadUserInfo=function(){var t=a.endpoints.userinfo(),e=new XMLHttpRequest;e.open("GET",t,!0),e.setRequestHeader("Accept","application/json"),e.setRequestHeader("Authorization","bearer "+a.token);var n=O();return e.onreadystatechange=function(){4==e.readyState&&(200==e.status?(a.userInfo=JSON.parse(e.responseText),n.setSuccess(a.userInfo)):n.setError())},e.send(),n.promise},a.isTokenExpired=function(t){if(!a.tokenParsed||!a.refreshToken&&"implicit"!=a.flow)throw"Not authenticated";if(null==a.timeSkew)return p("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var e=a.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+a.timeSkew;if(t){if(isNaN(t))throw"Invalid minValidity";e-=t}return e<0},a.updateToken=function(t){var e=O();if(!a.refreshToken)return e.setError(),e.promise;t=t||5;var n=function(){var n=!1;if(-1==t?(n=!0,p("[KEYCLOAK] Refreshing token: forced refresh")):a.tokenParsed&&!a.isTokenExpired(t)||(n=!0,p("[KEYCLOAK] Refreshing token: token expired")),n){var i="grant_type=refresh_token&refresh_token="+a.refreshToken,r=a.endpoints.token();if(l.push(e),1==l.length){var s=new XMLHttpRequest;s.open("POST",r,!0),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.withCredentials=!0,i+="&client_id="+encodeURIComponent(a.clientId);var o=(new Date).getTime();s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status){p("[KEYCLOAK] Token refreshed"),o=(o+(new Date).getTime())/2;var t=JSON.parse(s.responseText);y(t.access_token,t.refresh_token,t.id_token,o),a.onAuthRefreshSuccess&&a.onAuthRefreshSuccess();for(var e=l.pop();null!=e;e=l.pop())e.setSuccess(!0)}else for(f("[KEYCLOAK] Failed to refresh token"),400==s.status&&a.clearToken(),a.onAuthRefreshError&&a.onAuthRefreshError(),e=l.pop();null!=e;e=l.pop())e.setError(!0)},s.send(i)}}else e.setSuccess(!1)};return c.enable?P().then(function(){n()}).catch(function(){e.setError()}):n(),e.promise},a.clearToken=function(){a.token&&(y(null,null,null),a.onAuthLogout&&a.onAuthLogout(),a.loginRequired&&a.login())};var I=function(){if(!(this instanceof I))return new I;function t(){for(var t=(new Date).getTime(),e=0;e{class t{constructor(){this._keycloakEvents$=new s.a}bindsKeycloakEvents(){this._instance.onAuthError=t=>{this._keycloakEvents$.next({args:t,type:d.OnAuthError})},this._instance.onAuthLogout=()=>{this._keycloakEvents$.next({type:d.OnAuthLogout})},this._instance.onAuthRefreshSuccess=()=>{this._keycloakEvents$.next({type:d.OnAuthRefreshSuccess})},this._instance.onAuthRefreshError=()=>{this._keycloakEvents$.next({type:d.OnAuthRefreshError})},this._instance.onAuthSuccess=()=>{this._keycloakEvents$.next({type:d.OnAuthSuccess})},this._instance.onTokenExpired=()=>{this._keycloakEvents$.next({type:d.OnTokenExpired})},this._instance.onReady=t=>{this._keycloakEvents$.next({args:t,type:d.OnReady})}}loadExcludedUrls(t){const e=[];for(const n of t){let t;t="string"==typeof n?{urlPattern:new RegExp(n,"i"),httpMethods:[]}:{urlPattern:new RegExp(n.url,"i"),httpMethods:n.httpMethods},e.push(t)}return e}initServiceValues({enableBearerInterceptor:t=!0,loadUserProfileAtStartUp:e=!1,bearerExcludedUrls:n=[],authorizationHeaderName:i="Authorization",bearerPrefix:r="Bearer",initOptions:s}){this._enableBearerInterceptor=t,this._loadUserProfileAtStartUp=e,this._authorizationHeaderName=i,this._bearerPrefix=r.trim().concat(" "),this._excludedUrls=this.loadExcludedUrls(n),this._silentRefresh=!!s&&"implicit"===s.flow}init(t={}){return Object(i.a)(this,void 0,void 0,function*(){this.initServiceValues(t);const{config:e,initOptions:n}=t;this._instance=p(e),this.bindsKeycloakEvents();const i=yield this._instance.init(n);return i&&this._loadUserProfileAtStartUp&&(yield this.loadUserProfile()),i})}login(t={}){return Object(i.a)(this,void 0,void 0,function*(){yield this._instance.login(t),this._loadUserProfileAtStartUp&&(yield this.loadUserProfile())})}logout(t){return Object(i.a)(this,void 0,void 0,function*(){const e={redirectUri:t};yield this._instance.logout(e),this._userProfile=void 0})}register(t={action:"register"}){return Object(i.a)(this,void 0,void 0,function*(){yield this._instance.register(t)})}isUserInRole(t,e){let n;return n=this._instance.hasResourceRole(t,e),n||(n=this._instance.hasRealmRole(t)),n}getUserRoles(t=!0){let e=[];if(this._instance.resourceAccess)for(const n in this._instance.resourceAccess)this._instance.resourceAccess.hasOwnProperty(n)&&(e=e.concat(this._instance.resourceAccess[n].roles||[]));return t&&this._instance.realmAccess&&e.push(...this._instance.realmAccess.roles||[]),e}isLoggedIn(){return Object(i.a)(this,void 0,void 0,function*(){try{return!!this._instance.authenticated&&(yield this.updateToken(20),!0)}catch(t){return!1}})}isTokenExpired(t=0){return this._instance.isTokenExpired(t)}updateToken(t=5){return Object(i.a)(this,void 0,void 0,function*(){if(this._silentRefresh){if(this.isTokenExpired())throw new Error("Failed to refresh the token, or the session is expired");return!0}if(!this._instance)throw new Error("Keycloak Angular library is not initialized.");return this._instance.updateToken(t)})}loadUserProfile(t=!1){return Object(i.a)(this,void 0,void 0,function*(){if(this._userProfile&&!t)return this._userProfile;if(!this._instance.authenticated)throw new Error("The user profile was not loaded as the user is not logged in.");return this._userProfile=yield this._instance.loadUserProfile()})}getToken(){return Object(i.a)(this,void 0,void 0,function*(){return yield this.updateToken(10),this._instance.token})}getUsername(){if(!this._userProfile)throw new Error("User not logged in or user profile was not loaded.");return this._userProfile.username}clearToken(){this._instance.clearToken()}addTokenToHeader(t=new r.HttpHeaders){return Object(o.a)(this.getToken()).pipe(Object(a.a)(e=>e?t.set(this._authorizationHeaderName,this._bearerPrefix+e):t))}getKeycloakInstance(){return this._instance}get excludedUrls(){return this._excludedUrls}get enableBearerInterceptor(){return this._enableBearerInterceptor}get keycloakEvents$(){return this._keycloakEvents$}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=h["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t{constructor(t){this.keycloak=t}isUrlExcluded({method:t,url:e},{urlPattern:n,httpMethods:i}){const r=0===i.length||i.join().indexOf(t.toUpperCase())>-1,s=n.test(e);return r&&s}intercept(t,e){const{enableBearerInterceptor:n,excludedUrls:i}=this.keycloak;return n?i.findIndex(e=>this.isUrlExcluded(t,e))>-1?e.handle(t):Object(o.a)(this.keycloak.isLoggedIn()).pipe(Object(l.b)(n=>n?this.handleRequestWithTokenHeader(t,e):e.handle(t))):e.handle(t)}handleRequestWithTokenHeader(t,e){return this.keycloak.addTokenToHeader(t.headers).pipe(Object(l.b)(n=>{const i=t.clone({headers:n});return e.handle(i)}))}}return t.\u0275fac=function(e){return new(e||t)(h["\u0275\u0275inject"](f))},t.\u0275prov=h["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=h["\u0275\u0275defineInjector"]({providers:[f,{provide:r.HTTP_INTERCEPTORS,useClass:g,multi:!0}],imports:[[u.CommonModule]]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=h["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=h["\u0275\u0275defineInjector"]({imports:[[m]]}),t})()},bCcq:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__("PDX0"),ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];!root.JS_SHA256_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!ARRAY_BUFFER||!root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var createOutputMethod=function(t,e){return function(n){return new Sha256(e,!0).update(n)[t]()}},createMethod=function(t){var e=createOutputMethod("hex",t);NODE_JS&&(e=nodeWrap(e,t)),e.create=function(){return new Sha256(t)},e.update=function(t){return e.create().update(t)};for(var n=0;n>6,o[l++]=128|63&s):s<55296||s>=57344?(o[l++]=224|s>>12,o[l++]=128|s>>6&63,o[l++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++i)),o[l++]=240|s>>18,o[l++]=128|s>>12&63,o[l++]=128|s>>6&63,o[l++]=128|63&s);t=o}else{if("object"!==r)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR)}t.length>64&&(t=new Sha256(e,!0).update(t).array());var c=[],u=[];for(i=0;i<64;++i){var h=t[i]||0;c[i]=92^h,u[i]=54^h}Sha256.call(this,e,n),this.update(u),this.oKeyPad=c,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(t){if(!this.finalized){var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(ERROR);if(null===t)throw new Error(ERROR);if(ARRAY_BUFFER&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||ARRAY_BUFFER&&ArrayBuffer.isView(t)))throw new Error(ERROR);e=!0}for(var i,r,s=0,o=t.length,a=this.blocks;s>2]|=t[s]<>2]|=i<>2]|=(192|i>>6)<>2]|=(128|63&i)<=57344?(a[r>>2]|=(224|i>>12)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<>2]|=(240|i>>18)<>2]|=(128|i>>12&63)<>2]|=(128|i>>6&63)<>2]|=(128|63&i)<=64?(this.block=a[16],this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[16]=this.block,t[e>>2]|=EXTRA[3&e],this.block=t[16],e>=56&&(this.hashed||this.hash(),t[0]=this.block,t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.hBytes<<3|this.bytes>>>29,t[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var t,e,n,i,r,s,o=this.h0,a=this.h1,l=this.h2,c=this.h3,u=this.h4,h=this.h5,d=this.h6,p=this.h7,f=this.blocks;for(t=16;t<64;++t)f[t]=f[t-16]+(((e=f[t-15])>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)+f[t-7]+(((e=f[t-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)<<0;for(s=a&l,t=0;t<64;t+=4)this.first?(this.is224?(n=300032,p=(e=f[0]-1413257819)-150054599<<0,c=e+24177077<<0):(n=704751109,p=(e=f[0]-210244248)-1521486534<<0,c=e+143694565<<0),this.first=!1):(p=c+(e=p+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&h^~u&d)+K[t]+f[t])<<0,c=e+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((n=o&a)^o&l^s))<<0),d=l+(e=d+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(p&u^~p&h)+K[t+1]+f[t+1])<<0,l=e+(((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+((i=c&o)^c&a^n))<<0,h=a+(e=h+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(d&p^~d&u)+K[t+2]+f[t+2])<<0,a=e+(((l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10))+((r=l&c)^l&o^i))<<0,u=o+(e=u+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&d^~h&p)+K[t+3]+f[t+3])<<0,o=e+(((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+((s=a&l)^a&c^r))<<0;this.h0=this.h0+o<<0,this.h1=this.h1+a<<0,this.h2=this.h2+l<<0,this.h3=this.h3+c<<0,this.h4=this.h4+u<<0,this.h5=this.h5+h<<0,this.h6=this.h6+d<<0,this.h7=this.h7+p<<0},Sha256.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,i=this.h3,r=this.h4,s=this.h5,o=this.h6,a=this.h7,l=HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o];return this.is224||(l+=HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a]),l},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,i=this.h3,r=this.h4,s=this.h5,o=this.h6,a=this.h7,l=[t>>24&255,t>>16&255,t>>8&255,255&t,e>>24&255,e>>16&255,e>>8&255,255&e,n>>24&255,n>>16&255,n>>8&255,255&n,i>>24&255,i>>16&255,i>>8&255,255&i,r>>24&255,r>>16&255,r>>8&255,255&r,s>>24&255,s>>16&255,s>>8&255,255&s,o>>24&255,o>>16&255,o>>8&255,255&o];return this.is224||l.push(a>>24&255,a>>16&255,a>>8&255,255&a),l},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(this.is224?28:32),e=new DataView(t);return e.setUint32(0,this.h0),e.setUint32(4,this.h1),e.setUint32(8,this.h2),e.setUint32(12,this.h3),e.setUint32(16,this.h4),e.setUint32(20,this.h5),e.setUint32(24,this.h6),this.is224||e.setUint32(28,this.h7),t},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(t),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("5+tZ"),r=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(i.b)(r.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("5+tZ");function r(t,e){return Object(i.b)(t,e,1)}},bSwM:function(t,e,n){"use strict";n.d(e,"a",function(){return C}),n.d(e,"b",function(){return x});var i=n("8LU1"),r=n("fXoL"),s=n("3Pt+"),o=n("FKr1"),a=n("R1ws"),l=n("GU7r"),c=n("u47x");const u=["input"],h=function(){return{enterDuration:150}},d=["*"],p=new r.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:f});function f(){return{color:"accent",clickAction:"check-indeterminate"}}let g=0;const m=f(),b={provide:s.k,useExisting:Object(r.forwardRef)(()=>C),multi:!0};class _{}class y{constructor(t){this._elementRef=t}}const v=Object(o.o)(Object(o.k)(Object(o.l)(Object(o.m)(y))));let C=(()=>{class t extends v{constructor(t,e,n,i,s,o,a){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._animationMode=o,this._options=a,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++g,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.EventEmitter,this.indeterminateChange=new r.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||m,this.color=this.defaultColor=this._options.color||m.color,this.tabIndex=parseInt(s)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=Object(i.c)(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=Object(i.c)(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=Object(i.c)(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new _;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t,e){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${n}`}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](c.c),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275injectAttribute"]("tabindex"),r["\u0275\u0275directiveInject"](a.a,8),r["\u0275\u0275directiveInject"](p,8))},t.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(r["\u0275\u0275viewQuery"](u,1),r["\u0275\u0275viewQuery"](o.g,1)),2&t){let t;r["\u0275\u0275queryRefresh"](t=r["\u0275\u0275loadQuery"]())&&(e._inputElement=t.first),r["\u0275\u0275queryRefresh"](t=r["\u0275\u0275loadQuery"]())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r["\u0275\u0275hostProperty"]("id",e.id),r["\u0275\u0275attribute"]("tabindex",null),r["\u0275\u0275classProp"]("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r["\u0275\u0275ProvidersFeature"]([b]),r["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:d,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r["\u0275\u0275projectionDef"](),r["\u0275\u0275elementStart"](0,"label",0,1),r["\u0275\u0275elementStart"](2,"span",2),r["\u0275\u0275elementStart"](3,"input",3,4),r["\u0275\u0275listener"]("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](5,"span",5),r["\u0275\u0275element"](6,"span",6),r["\u0275\u0275elementEnd"](),r["\u0275\u0275element"](7,"span",7),r["\u0275\u0275elementStart"](8,"span",8),r["\u0275\u0275namespaceSVG"](),r["\u0275\u0275elementStart"](9,"svg",9),r["\u0275\u0275element"](10,"path",10),r["\u0275\u0275elementEnd"](),r["\u0275\u0275namespaceHTML"](),r["\u0275\u0275element"](11,"span",11),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementStart"](12,"span",12,13),r["\u0275\u0275listener"]("cdkObserveContent",function(){return e._onLabelTextChange()}),r["\u0275\u0275elementStart"](14,"span",14),r["\u0275\u0275text"](15,"\xa0"),r["\u0275\u0275elementEnd"](),r["\u0275\u0275projection"](16),r["\u0275\u0275elementEnd"](),r["\u0275\u0275elementEnd"]()),2&t){const t=r["\u0275\u0275reference"](1),n=r["\u0275\u0275reference"](13);r["\u0275\u0275attribute"]("for",e.inputId),r["\u0275\u0275advance"](2),r["\u0275\u0275classProp"]("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r["\u0275\u0275attribute"]("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r["\u0275\u0275pureFunction0"](19,h))}},directives:[o.g,l.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),w=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[o.h,o.d,l.c,w],o.d,w]}),t})()},bTqV:function(t,e,n){"use strict";n.d(e,"a",function(){return d}),n.d(e,"b",function(){return p});var i=n("FKr1"),r=n("R1ws"),s=n("fXoL"),o=n("u47x");const a=["mat-button",""],l=["*"],c=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class u{constructor(t){this._elementRef=t}}const h=Object(i.k)(Object(i.m)(Object(i.l)(u)));let d=(()=>{class t extends h{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of c)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,e){t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](o.c),s["\u0275\u0275directiveInject"](r.a,8))},t.\u0275cmp=s["\u0275\u0275defineComponent"]({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){if(1&t&&s["\u0275\u0275viewQuery"](i.g,1),2&t){let t;s["\u0275\u0275queryRefresh"](t=s["\u0275\u0275loadQuery"]())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(s["\u0275\u0275attribute"]("disabled",e.disabled||null),s["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s["\u0275\u0275InheritDefinitionFeature"]],attrs:a,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(s["\u0275\u0275projectionDef"](),s["\u0275\u0275elementStart"](0,"span",0),s["\u0275\u0275projection"](1),s["\u0275\u0275elementEnd"](),s["\u0275\u0275element"](2,"span",1),s["\u0275\u0275element"](3,"span",2)),2&t&&(s["\u0275\u0275advance"](2),s["\u0275\u0275classProp"]("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s["\u0275\u0275property"]("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[i.g],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[i.h,i.d],i.d]}),t})()},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},cH1L:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o});var i=n("fXoL"),r=n("ofXK");const s=new i.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.inject)(r.DOCUMENT)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.EventEmitter,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](s,8))},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(i["\u0275\u0275inject"])(s,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({}),t})()},cp0P:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n("HDdC"),r=n("DH7j"),s=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function l(...t){if(1===t.length){const e=t[0];if(Object(r.a)(e))return c(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(r.a)(t[0])?t[0]:t,null).pipe(Object(s.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,o=0;for(let l=0;l{u||(u=!0,o++),r[l]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&u||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}},eIep:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("lJxs"),r=n("Cfvw"),s=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,s)=>Object(r.a)(t(n,s)).pipe(Object(i.a)((t,i)=>e(n,t,s,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends s.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new s.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(s.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},eNwd:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("3N8a");class r extends i.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var s=n("IjjT");class o extends s.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=Object(i.c)(t)}get inset(){return this._inset}set inset(t){this._inset=Object(i.c)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s["\u0275\u0275defineComponent"]({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(s["\u0275\u0275attribute"]("aria-orientation",e.vertical?"vertical":"horizontal"),s["\u0275\u0275classProp"]("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[r.d],r.d]}),t})()},fXoL:function(t,e,n){"use strict";n.r(e),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return Vn}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return t_}),n.d(e,"APP_ID",function(){return Xb}),n.d(e,"APP_INITIALIZER",function(){return Kb}),n.d(e,"ApplicationInitStatus",function(){return Yb}),n.d(e,"ApplicationModule",function(){return Hy}),n.d(e,"ApplicationRef",function(){return ty}),n.d(e,"Attribute",function(){return Nn}),n.d(e,"COMPILER_OPTIONS",function(){return v_}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return Wr}),n.d(e,"ChangeDetectionStrategy",function(){return F}),n.d(e,"ChangeDetectorRef",function(){return Ep}),n.d(e,"Compiler",function(){return y_}),n.d(e,"CompilerFactory",function(){return C_}),n.d(e,"Component",function(){return Ab}),n.d(e,"ComponentFactory",function(){return Ld}),n.d(e,"ComponentFactoryResolver",function(){return Ud}),n.d(e,"ComponentRef",function(){return Vd}),n.d(e,"ContentChild",function(){return Bn}),n.d(e,"ContentChildren",function(){return zn}),n.d(e,"DEFAULT_CURRENCY_CODE",function(){return r_}),n.d(e,"DebugElement",function(){return jy}),n.d(e,"DebugEventListener",function(){return py}),n.d(e,"DebugNode",function(){return Dy}),n.d(e,"DefaultIterableDiffer",function(){return cp}),n.d(e,"Directive",function(){return Ib}),n.d(e,"ElementRef",function(){return Qd}),n.d(e,"EmbeddedViewRef",function(){return dy}),n.d(e,"ErrorHandler",function(){return qr}),n.d(e,"EventEmitter",function(){return Pm}),n.d(e,"Host",function(){return Ei}),n.d(e,"HostBinding",function(){return Rb}),n.d(e,"HostListener",function(){return Nb}),n.d(e,"INJECTOR",function(){return fa}),n.d(e,"Inject",function(){return wi}),n.d(e,"InjectFlags",function(){return A}),n.d(e,"Injectable",function(){return Xl}),n.d(e,"InjectionToken",function(){return Fn}),n.d(e,"Injector",function(){return Ta}),n.d(e,"Input",function(){return Db}),n.d(e,"IterableDiffers",function(){return _p}),n.d(e,"KeyValueDiffers",function(){return vp}),n.d(e,"LOCALE_ID",function(){return i_}),n.d(e,"MissingTranslationStrategy",function(){return a_}),n.d(e,"ModuleWithComponentFactories",function(){return u_}),n.d(e,"NO_ERRORS_SCHEMA",function(){return Kr}),n.d(e,"NgModule",function(){return Ub}),n.d(e,"NgModuleFactory",function(){return Lp}),n.d(e,"NgModuleFactoryLoader",function(){return ny}),n.d(e,"NgModuleRef",function(){return Vp}),n.d(e,"NgProbeToken",function(){return K_}),n.d(e,"NgZone",function(){return O_}),n.d(e,"Optional",function(){return xi}),n.d(e,"Output",function(){return jb}),n.d(e,"PACKAGE_ROOT_URL",function(){return e_}),n.d(e,"PLATFORM_ID",function(){return Jb}),n.d(e,"PLATFORM_INITIALIZER",function(){return $b}),n.d(e,"Pipe",function(){return Tb}),n.d(e,"PlatformRef",function(){return $_}),n.d(e,"Query",function(){return Ln}),n.d(e,"QueryList",function(){return Mm}),n.d(e,"ReflectiveInjector",function(){return _c}),n.d(e,"ReflectiveKey",function(){return ec}),n.d(e,"Renderer2",function(){return tp}),n.d(e,"RendererFactory2",function(){return Jd}),n.d(e,"RendererStyleFlags2",function(){return hs}),n.d(e,"ResolvedReflectiveFactory",function(){return cc}),n.d(e,"Sanitizer",function(){return rp}),n.d(e,"SecurityContext",function(){return Ir}),n.d(e,"Self",function(){return Oi}),n.d(e,"SimpleChange",function(){return Et}),n.d(e,"SkipSelf",function(){return ki}),n.d(e,"SystemJsNgModuleLoader",function(){return cy}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return ay}),n.d(e,"TRANSLATIONS",function(){return s_}),n.d(e,"TRANSLATIONS_FORMAT",function(){return o_}),n.d(e,"TemplateRef",function(){return Dp}),n.d(e,"Testability",function(){return A_}),n.d(e,"TestabilityRegistry",function(){return T_}),n.d(e,"Type",function(){return Kn}),n.d(e,"VERSION",function(){return op}),n.d(e,"Version",function(){return sp}),n.d(e,"ViewChild",function(){return Un}),n.d(e,"ViewChildren",function(){return Hn}),n.d(e,"ViewContainerRef",function(){return Hp}),n.d(e,"ViewEncapsulation",function(){return z}),n.d(e,"ViewRef",function(){return hy}),n.d(e,"WrappedValue",function(){return dl}),n.d(e,"asNativeElements",function(){return my}),n.d(e,"assertPlatform",function(){return G_}),n.d(e,"createPlatform",function(){return Y_}),n.d(e,"createPlatformFactory",function(){return X_}),n.d(e,"defineInjectable",function(){return w}),n.d(e,"destroyPlatform",function(){return Z_}),n.d(e,"enableProdMode",function(){return z_}),n.d(e,"forwardRef",function(){return p}),n.d(e,"getDebugNode",function(){return My}),n.d(e,"getModuleFactory",function(){return sy}),n.d(e,"getPlatform",function(){return Q_}),n.d(e,"inject",function(){return _i}),n.d(e,"isDevMode",function(){return L_}),n.d(e,"platformCore",function(){return Ry}),n.d(e,"resolveForwardRef",function(){return f}),n.d(e,"setTestabilityGetter",function(){return j_}),n.d(e,"\u02750",function(){return Ci}),n.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return W_}),n.d(e,"\u0275APP_ID_RANDOM_PROVIDER",function(){return Zb}),n.d(e,"\u0275CREATE_ATTRIBUTE_DECORATOR__POST_R3__",function(){return Rn}),n.d(e,"\u0275ChangeDetectorStatus",function(){return V}),n.d(e,"\u0275CodegenComponentFactoryResolver",function(){return qd}),n.d(e,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return b_}),n.d(e,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return g_}),n.d(e,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return p_}),n.d(e,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return h_}),n.d(e,"\u0275ComponentFactory",function(){return Ld}),n.d(e,"\u0275Console",function(){return n_}),n.d(e,"\u0275DEFAULT_LOCALE_ID",function(){return Oh}),n.d(e,"\u0275EMPTY_ARRAY",function(){return qf}),n.d(e,"\u0275EMPTY_MAP",function(){return Wf}),n.d(e,"\u0275INJECTOR_IMPL__POST_R3__",function(){return Ia}),n.d(e,"\u0275INJECTOR_SCOPE",function(){return ma}),n.d(e,"\u0275LifecycleHooksFeature",function(){return $a}),n.d(e,"\u0275LocaleDataIndex",function(){return wh}),n.d(e,"\u0275NG_COMP_DEF",function(){return G}),n.d(e,"\u0275NG_DIR_DEF",function(){return Z}),n.d(e,"\u0275NG_ELEMENT_ID",function(){return et}),n.d(e,"\u0275NG_INJ_DEF",function(){return S}),n.d(e,"\u0275NG_MOD_DEF",function(){return $}),n.d(e,"\u0275NG_PIPE_DEF",function(){return Q}),n.d(e,"\u0275NG_PROV_DEF",function(){return P}),n.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return Ng}),n.d(e,"\u0275NO_CHANGE",function(){return ao}),n.d(e,"\u0275NgModuleFactory",function(){return em}),n.d(e,"\u0275NoopNgZone",function(){return I_}),n.d(e,"\u0275ReflectionCapabilities",function(){return oi}),n.d(e,"\u0275Render3ComponentFactory",function(){return Kg}),n.d(e,"\u0275Render3ComponentRef",function(){return Yg}),n.d(e,"\u0275Render3NgModuleRef",function(){return tm}),n.d(e,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return Op}),n.d(e,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return Fb}),n.d(e,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Vb}),n.d(e,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return Gl}),n.d(e,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return qb}),n.d(e,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return Lb}),n.d(e,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return Gd}),n.d(e,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return l_}),n.d(e,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return ep}),n.d(e,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return Ap}),n.d(e,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return zp}),n.d(e,"\u0275_sanitizeHtml",function(){return Sr}),n.d(e,"\u0275_sanitizeUrl",function(){return ur}),n.d(e,"\u0275allowSanitizationBypassAndThrow",function(){return $i}),n.d(e,"\u0275and",function(){return Uy}),n.d(e,"\u0275angular_packages_core_core_a",function(){return g}),n.d(e,"\u0275angular_packages_core_core_b",function(){return gi}),n.d(e,"\u0275angular_packages_core_core_ba",function(){return By}),n.d(e,"\u0275angular_packages_core_core_bb",function(){return kh}),n.d(e,"\u0275angular_packages_core_core_bc",function(){return Mg}),n.d(e,"\u0275angular_packages_core_core_bd",function(){return of}),n.d(e,"\u0275angular_packages_core_core_be",function(){return St}),n.d(e,"\u0275angular_packages_core_core_bf",function(){return Wg}),n.d(e,"\u0275angular_packages_core_core_bg",function(){return pn}),n.d(e,"\u0275angular_packages_core_core_bh",function(){return se}),n.d(e,"\u0275angular_packages_core_core_bi",function(){return me}),n.d(e,"\u0275angular_packages_core_core_bj",function(){return Re}),n.d(e,"\u0275angular_packages_core_core_bl",function(){return pm}),n.d(e,"\u0275angular_packages_core_core_bm",function(){return fm}),n.d(e,"\u0275angular_packages_core_core_bn",function(){return gm}),n.d(e,"\u0275angular_packages_core_core_bo",function(){return mm}),n.d(e,"\u0275angular_packages_core_core_bp",function(){return bm}),n.d(e,"\u0275angular_packages_core_core_bq",function(){return Vr}),n.d(e,"\u0275angular_packages_core_core_br",function(){return jn}),n.d(e,"\u0275angular_packages_core_core_bs",function(){return Dn}),n.d(e,"\u0275angular_packages_core_core_bv",function(){return l}),n.d(e,"\u0275angular_packages_core_core_bw",function(){return ga}),n.d(e,"\u0275angular_packages_core_core_bx",function(){return D}),n.d(e,"\u0275angular_packages_core_core_bz",function(){return qt}),n.d(e,"\u0275angular_packages_core_core_c",function(){return vi}),n.d(e,"\u0275angular_packages_core_core_cb",function(){return gs}),n.d(e,"\u0275angular_packages_core_core_cc",function(){return wd}),n.d(e,"\u0275angular_packages_core_core_d",function(){return yc}),n.d(e,"\u0275angular_packages_core_core_e",function(){return oc}),n.d(e,"\u0275angular_packages_core_core_f",function(){return dc}),n.d(e,"\u0275angular_packages_core_core_g",function(){return Gb}),n.d(e,"\u0275angular_packages_core_core_h",function(){return ip}),n.d(e,"\u0275angular_packages_core_core_i",function(){return Yd}),n.d(e,"\u0275angular_packages_core_core_j",function(){return Xd}),n.d(e,"\u0275angular_packages_core_core_k",function(){return iy}),n.d(e,"\u0275angular_packages_core_core_l",function(){return Np}),n.d(e,"\u0275angular_packages_core_core_m",function(){return Fp}),n.d(e,"\u0275angular_packages_core_core_n",function(){return Up}),n.d(e,"\u0275angular_packages_core_core_o",function(){return fy}),n.d(e,"\u0275angular_packages_core_core_p",function(){return gy}),n.d(e,"\u0275angular_packages_core_core_q",function(){return Iy}),n.d(e,"\u0275angular_packages_core_core_r",function(){return Pp}),n.d(e,"\u0275angular_packages_core_core_s",function(){return ap}),n.d(e,"\u0275angular_packages_core_core_t",function(){return fp}),n.d(e,"\u0275angular_packages_core_core_u",function(){return bp}),n.d(e,"\u0275angular_packages_core_core_v",function(){return yp}),n.d(e,"\u0275angular_packages_core_core_w",function(){return Ny}),n.d(e,"\u0275angular_packages_core_core_x",function(){return Fy}),n.d(e,"\u0275angular_packages_core_core_y",function(){return Vy}),n.d(e,"\u0275angular_packages_core_core_z",function(){return zy}),n.d(e,"\u0275bypassSanitizationTrustHtml",function(){return tr}),n.d(e,"\u0275bypassSanitizationTrustResourceUrl",function(){return rr}),n.d(e,"\u0275bypassSanitizationTrustScript",function(){return nr}),n.d(e,"\u0275bypassSanitizationTrustStyle",function(){return er}),n.d(e,"\u0275bypassSanitizationTrustUrl",function(){return ir}),n.d(e,"\u0275ccf",function(){return rg}),n.d(e,"\u0275clearOverrides",function(){return bC}),n.d(e,"\u0275clearResolutionOfComponentResourcesQueue",function(){return Ri}),n.d(e,"\u0275cmf",function(){return _C}),n.d(e,"\u0275compileComponent",function(){return pb}),n.d(e,"\u0275compileDirective",function(){return fb}),n.d(e,"\u0275compileNgModule",function(){return nb}),n.d(e,"\u0275compileNgModuleDefs",function(){return ib}),n.d(e,"\u0275compileNgModuleFactory__POST_R3__",function(){return H_}),n.d(e,"\u0275compilePipe",function(){return Sb}),n.d(e,"\u0275createInjector",function(){return wa}),n.d(e,"\u0275crt",function(){return ff}),n.d(e,"\u0275defaultIterableDiffers",function(){return Mp}),n.d(e,"\u0275defaultKeyValueDiffers",function(){return Ip}),n.d(e,"\u0275detectChanges",function(){return da}),n.d(e,"\u0275devModeEqual",function(){return hl}),n.d(e,"\u0275did",function(){return Eg}),n.d(e,"\u0275eld",function(){return qy}),n.d(e,"\u0275findLocaleData",function(){return bh}),n.d(e,"\u0275flushModuleScopingQueueAsMuchAsPossible",function(){return tb}),n.d(e,"\u0275getComponentViewDefinitionFactory",function(){return sg}),n.d(e,"\u0275getDebugNodeR2",function(){return Ay}),n.d(e,"\u0275getDebugNode__POST_R3__",function(){return Sy}),n.d(e,"\u0275getDirectives",function(){return Va}),n.d(e,"\u0275getHostElement",function(){return za}),n.d(e,"\u0275getInjectableDef",function(){return O}),n.d(e,"\u0275getLContext",function(){return $r}),n.d(e,"\u0275getLocaleCurrencyCode",function(){return _h}),n.d(e,"\u0275getLocalePluralCase",function(){return yh}),n.d(e,"\u0275getModuleFactory__POST_R3__",function(){return ry}),n.d(e,"\u0275getSanitizationBypassType",function(){return Ji}),n.d(e,"\u0275global",function(){return W}),n.d(e,"\u0275initServicesIfNeeded",function(){return Tv}),n.d(e,"\u0275inlineInterpolate",function(){return Hf}),n.d(e,"\u0275interpolate",function(){return Bf}),n.d(e,"\u0275isBoundToModule__POST_R3__",function(){return q_}),n.d(e,"\u0275isDefaultChangeDetectionStrategy",function(){return L}),n.d(e,"\u0275isListLikeIterable",function(){return pl}),n.d(e,"\u0275isObservable",function(){return Dc}),n.d(e,"\u0275isPromise",function(){return Ac}),n.d(e,"\u0275isSubscribable",function(){return Tc}),n.d(e,"\u0275ivyEnabled",function(){return c_}),n.d(e,"\u0275makeDecorator",function(){return An}),n.d(e,"\u0275markDirty",function(){return pa}),n.d(e,"\u0275mod",function(){return Qf}),n.d(e,"\u0275mpd",function(){return Zf}),n.d(e,"\u0275ncd",function(){return tv}),n.d(e,"\u0275noSideEffects",function(){return N}),n.d(e,"\u0275nov",function(){return mg}),n.d(e,"\u0275overrideComponentView",function(){return mC}),n.d(e,"\u0275overrideProvider",function(){return gC}),n.d(e,"\u0275pad",function(){return iv}),n.d(e,"\u0275patchComponentDefWithScope",function(){return lb}),n.d(e,"\u0275pid",function(){return Pg}),n.d(e,"\u0275pod",function(){return rv}),n.d(e,"\u0275ppd",function(){return nv}),n.d(e,"\u0275prd",function(){return Sg}),n.d(e,"\u0275publishDefaultGlobalUtils",function(){return Ka}),n.d(e,"\u0275publishGlobalUtil",function(){return Ya}),n.d(e,"\u0275qud",function(){return Gy}),n.d(e,"\u0275registerLocaleData",function(){return mh}),n.d(e,"\u0275registerModuleFactory",function(){return Zg}),n.d(e,"\u0275registerNgModuleType",function(){return $g}),n.d(e,"\u0275renderComponent",function(){return Xa}),n.d(e,"\u0275resetCompiledComponents",function(){return ob}),n.d(e,"\u0275resetJitOptions",function(){return Zm}),n.d(e,"\u0275resolveComponentResources",function(){return Ai}),n.d(e,"\u0275setClassMetadata",function(){return Xg}),n.d(e,"\u0275setCurrentInjector",function(){return fi}),n.d(e,"\u0275setDocument",function(){return Vt}),n.d(e,"\u0275setLocaleId",function(){return Ih}),n.d(e,"\u0275store",function(){return Bl}),n.d(e,"\u0275stringify",function(){return u}),n.d(e,"\u0275ted",function(){return ov}),n.d(e,"\u0275transitiveScopesFor",function(){return cb}),n.d(e,"\u0275unregisterLocaleData",function(){return Ch}),n.d(e,"\u0275unv",function(){return hf}),n.d(e,"\u0275unwrapSafeValue",function(){return Qi}),n.d(e,"\u0275vid",function(){return cv}),n.d(e,"\u0275whenRendered",function(){return Ja}),n.d(e,"\u0275\u0275CopyDefinitionFeature",function(){return ll}),n.d(e,"\u0275\u0275InheritDefinitionFeature",function(){return el}),n.d(e,"\u0275\u0275NgOnChangesFeature",function(){return Pt}),n.d(e,"\u0275\u0275ProvidersFeature",function(){return Fd}),n.d(e,"\u0275\u0275advance",function(){return lo}),n.d(e,"\u0275\u0275attribute",function(){return Cl}),n.d(e,"\u0275\u0275attributeInterpolate1",function(){return Al}),n.d(e,"\u0275\u0275attributeInterpolate2",function(){return Tl}),n.d(e,"\u0275\u0275attributeInterpolate3",function(){return Dl}),n.d(e,"\u0275\u0275attributeInterpolate4",function(){return jl}),n.d(e,"\u0275\u0275attributeInterpolate5",function(){return Rl}),n.d(e,"\u0275\u0275attributeInterpolate6",function(){return Nl}),n.d(e,"\u0275\u0275attributeInterpolate7",function(){return Fl}),n.d(e,"\u0275\u0275attributeInterpolate8",function(){return Vl}),n.d(e,"\u0275\u0275attributeInterpolateV",function(){return Ll}),n.d(e,"\u0275\u0275classMap",function(){return fu}),n.d(e,"\u0275\u0275classMapInterpolate1",function(){return Vu}),n.d(e,"\u0275\u0275classMapInterpolate2",function(){return Lu}),n.d(e,"\u0275\u0275classMapInterpolate3",function(){return zu}),n.d(e,"\u0275\u0275classMapInterpolate4",function(){return Bu}),n.d(e,"\u0275\u0275classMapInterpolate5",function(){return Hu}),n.d(e,"\u0275\u0275classMapInterpolate6",function(){return Uu}),n.d(e,"\u0275\u0275classMapInterpolate7",function(){return qu}),n.d(e,"\u0275\u0275classMapInterpolate8",function(){return Wu}),n.d(e,"\u0275\u0275classMapInterpolateV",function(){return Ku}),n.d(e,"\u0275\u0275classProp",function(){return hu}),n.d(e,"\u0275\u0275contentQuery",function(){return Bm}),n.d(e,"\u0275\u0275defineComponent",function(){return it}),n.d(e,"\u0275\u0275defineDirective",function(){return ht}),n.d(e,"\u0275\u0275defineInjectable",function(){return C}),n.d(e,"\u0275\u0275defineInjector",function(){return x}),n.d(e,"\u0275\u0275defineNgModule",function(){return lt}),n.d(e,"\u0275\u0275definePipe",function(){return dt}),n.d(e,"\u0275\u0275directiveInject",function(){return vc}),n.d(e,"\u0275\u0275disableBindings",function(){return re}),n.d(e,"\u0275\u0275element",function(){return Ec}),n.d(e,"\u0275\u0275elementContainer",function(){return Mc}),n.d(e,"\u0275\u0275elementContainerEnd",function(){return Sc}),n.d(e,"\u0275\u0275elementContainerStart",function(){return Pc}),n.d(e,"\u0275\u0275elementEnd",function(){return kc}),n.d(e,"\u0275\u0275elementStart",function(){return Oc}),n.d(e,"\u0275\u0275enableBindings",function(){return ie}),n.d(e,"\u0275\u0275getCurrentView",function(){return Ic}),n.d(e,"\u0275\u0275getInheritedFactory",function(){return kn}),n.d(e,"\u0275\u0275hostProperty",function(){return hh}),n.d(e,"\u0275\u0275i18n",function(){return kd}),n.d(e,"\u0275\u0275i18nApply",function(){return Sd}),n.d(e,"\u0275\u0275i18nAttributes",function(){return Ed}),n.d(e,"\u0275\u0275i18nEnd",function(){return Od}),n.d(e,"\u0275\u0275i18nExp",function(){return Pd}),n.d(e,"\u0275\u0275i18nPostprocess",function(){return Md}),n.d(e,"\u0275\u0275i18nStart",function(){return xd}),n.d(e,"\u0275\u0275inject",function(){return mi}),n.d(e,"\u0275\u0275injectAttribute",function(){return Pn}),n.d(e,"\u0275\u0275injectPipeChangeDetectorRef",function(){return Ym}),n.d(e,"\u0275\u0275invalidFactory",function(){return Cc}),n.d(e,"\u0275\u0275invalidFactoryDep",function(){return bi}),n.d(e,"\u0275\u0275listener",function(){return jc}),n.d(e,"\u0275\u0275loadQuery",function(){return Hm}),n.d(e,"\u0275\u0275namespaceHTML",function(){return Be}),n.d(e,"\u0275\u0275namespaceMathML",function(){return ze}),n.d(e,"\u0275\u0275namespaceSVG",function(){return Le}),n.d(e,"\u0275\u0275nextContext",function(){return Lc}),n.d(e,"\u0275\u0275ngDeclareComponent",function(){return CC}),n.d(e,"\u0275\u0275ngDeclareDirective",function(){return vC}),n.d(e,"\u0275\u0275ngDeclarePipe",function(){return wC}),n.d(e,"\u0275\u0275pipe",function(){return _m}),n.d(e,"\u0275\u0275pipeBind1",function(){return ym}),n.d(e,"\u0275\u0275pipeBind2",function(){return vm}),n.d(e,"\u0275\u0275pipeBind3",function(){return Cm}),n.d(e,"\u0275\u0275pipeBind4",function(){return wm}),n.d(e,"\u0275\u0275pipeBindV",function(){return xm}),n.d(e,"\u0275\u0275projection",function(){return Hc}),n.d(e,"\u0275\u0275projectionDef",function(){return Bc}),n.d(e,"\u0275\u0275property",function(){return wc}),n.d(e,"\u0275\u0275propertyInterpolate",function(){return Uc}),n.d(e,"\u0275\u0275propertyInterpolate1",function(){return qc}),n.d(e,"\u0275\u0275propertyInterpolate2",function(){return Wc}),n.d(e,"\u0275\u0275propertyInterpolate3",function(){return Kc}),n.d(e,"\u0275\u0275propertyInterpolate4",function(){return Yc}),n.d(e,"\u0275\u0275propertyInterpolate5",function(){return Xc}),n.d(e,"\u0275\u0275propertyInterpolate6",function(){return Gc}),n.d(e,"\u0275\u0275propertyInterpolate7",function(){return Zc}),n.d(e,"\u0275\u0275propertyInterpolate8",function(){return Qc}),n.d(e,"\u0275\u0275propertyInterpolateV",function(){return $c}),n.d(e,"\u0275\u0275pureFunction0",function(){return nm}),n.d(e,"\u0275\u0275pureFunction1",function(){return im}),n.d(e,"\u0275\u0275pureFunction2",function(){return rm}),n.d(e,"\u0275\u0275pureFunction3",function(){return sm}),n.d(e,"\u0275\u0275pureFunction4",function(){return om}),n.d(e,"\u0275\u0275pureFunction5",function(){return am}),n.d(e,"\u0275\u0275pureFunction6",function(){return lm}),n.d(e,"\u0275\u0275pureFunction7",function(){return cm}),n.d(e,"\u0275\u0275pureFunction8",function(){return um}),n.d(e,"\u0275\u0275pureFunctionV",function(){return hm}),n.d(e,"\u0275\u0275queryRefresh",function(){return Lm}),n.d(e,"\u0275\u0275reference",function(){return Hl}),n.d(e,"\u0275\u0275resolveBody",function(){return cs}),n.d(e,"\u0275\u0275resolveDocument",function(){return ls}),n.d(e,"\u0275\u0275resolveWindow",function(){return as}),n.d(e,"\u0275\u0275restoreView",function(){return ae}),n.d(e,"\u0275\u0275sanitizeHtml",function(){return Ar}),n.d(e,"\u0275\u0275sanitizeResourceUrl",function(){return jr}),n.d(e,"\u0275\u0275sanitizeScript",function(){return Rr}),n.d(e,"\u0275\u0275sanitizeStyle",function(){return Tr}),n.d(e,"\u0275\u0275sanitizeUrl",function(){return Dr}),n.d(e,"\u0275\u0275sanitizeUrlOrResourceUrl",function(){return Lr}),n.d(e,"\u0275\u0275setComponentScope",function(){return rt}),n.d(e,"\u0275\u0275setNgModuleScope",function(){return ct}),n.d(e,"\u0275\u0275styleMap",function(){return du}),n.d(e,"\u0275\u0275styleMapInterpolate1",function(){return Yu}),n.d(e,"\u0275\u0275styleMapInterpolate2",function(){return Xu}),n.d(e,"\u0275\u0275styleMapInterpolate3",function(){return Gu}),n.d(e,"\u0275\u0275styleMapInterpolate4",function(){return Zu}),n.d(e,"\u0275\u0275styleMapInterpolate5",function(){return Qu}),n.d(e,"\u0275\u0275styleMapInterpolate6",function(){return $u}),n.d(e,"\u0275\u0275styleMapInterpolate7",function(){return Ju}),n.d(e,"\u0275\u0275styleMapInterpolate8",function(){return th}),n.d(e,"\u0275\u0275styleMapInterpolateV",function(){return eh}),n.d(e,"\u0275\u0275styleProp",function(){return uu}),n.d(e,"\u0275\u0275stylePropInterpolate1",function(){return nh}),n.d(e,"\u0275\u0275stylePropInterpolate2",function(){return ih}),n.d(e,"\u0275\u0275stylePropInterpolate3",function(){return rh}),n.d(e,"\u0275\u0275stylePropInterpolate4",function(){return sh}),n.d(e,"\u0275\u0275stylePropInterpolate5",function(){return oh}),n.d(e,"\u0275\u0275stylePropInterpolate6",function(){return ah}),n.d(e,"\u0275\u0275stylePropInterpolate7",function(){return lh}),n.d(e,"\u0275\u0275stylePropInterpolate8",function(){return ch}),n.d(e,"\u0275\u0275stylePropInterpolateV",function(){return uh}),n.d(e,"\u0275\u0275syntheticHostListener",function(){return Rc}),n.d(e,"\u0275\u0275syntheticHostProperty",function(){return dh}),n.d(e,"\u0275\u0275template",function(){return zl}),n.d(e,"\u0275\u0275templateRefExtractor",function(){return Km}),n.d(e,"\u0275\u0275text",function(){return Pu}),n.d(e,"\u0275\u0275textInterpolate",function(){return Su}),n.d(e,"\u0275\u0275textInterpolate1",function(){return Mu}),n.d(e,"\u0275\u0275textInterpolate2",function(){return Iu}),n.d(e,"\u0275\u0275textInterpolate3",function(){return Au}),n.d(e,"\u0275\u0275textInterpolate4",function(){return Tu}),n.d(e,"\u0275\u0275textInterpolate5",function(){return Du}),n.d(e,"\u0275\u0275textInterpolate6",function(){return ju}),n.d(e,"\u0275\u0275textInterpolate7",function(){return Ru}),n.d(e,"\u0275\u0275textInterpolate8",function(){return Nu}),n.d(e,"\u0275\u0275textInterpolateV",function(){return Fu}),n.d(e,"\u0275\u0275trustConstantHtml",function(){return Nr}),n.d(e,"\u0275\u0275trustConstantResourceUrl",function(){return Fr}),n.d(e,"\u0275\u0275viewQuery",function(){return zm});var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),o=n("VRyK"),a=n("w1tV");function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function b(t){return"string"==typeof t?t:null==t?"":String(t)}function _(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():b(t)}function y(t,e){const n=e?` in ${e}`:"";throw new m("201",`No provider for ${_(t)} found${n}`)}function v(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${n} ${i} ${e} <=Actual]`))}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const w=C;function x(t){return{providers:t.providers||[],imports:t.imports||[]}}function O(t){return k(t,P)||k(t,M)}function k(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(I))?t[S]:null}const P=l({"\u0275prov":l}),S=l({"\u0275inj":l}),M=l({ngInjectableDef:l}),I=l({ngInjectorDef:l});var A=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let T;function D(){return T}function j(t){const e=T;return T=t,e}function R(t,e,n){const i=O(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&A.Optional?null:void 0!==e?e:void y(u(t),"Injector")}function N(t){return{toString:t}.toString()}var F=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),V=function(t){return t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed",t}({});function L(t){return null==t||t===F.Default}var z=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const B="undefined"!=typeof globalThis&&globalThis,H="undefined"!=typeof window&&window,U="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,W=B||q||H||U,K={},Y=[],X=[],G=l({"\u0275cmp":l}),Z=l({"\u0275dir":l}),Q=l({"\u0275pipe":l}),$=l({"\u0275mod":l}),J=l({"\u0275loc":l}),tt=l({"\u0275fac":l}),et=l({__NG_ELEMENT_ID__:l});let nt=0;function it(t){return N(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||X,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||z.Emulated,id:"c",styles:t.styles||X,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,s=t.pipes;return n.id+=nt++,n.inputs=ut(t.inputs,e),n.outputs=ut(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(st):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(ot):null,n})}function rt(t,e,n){const i=t.\u0275cmp;i.directiveDefs=()=>e.map(st),i.pipeDefs=()=>n.map(ot)}function st(t){return pt(t)||ft(t)}function ot(t){return gt(t)}const at={};function lt(t){const e={type:t.type,bootstrap:t.bootstrap||X,declarations:t.declarations||X,imports:t.imports||X,exports:t.exports||X,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&N(()=>{at[t.id]=t.type}),e}function ct(t,e){return N(()=>{const n=mt(t,!0);n.declarations=e.declarations||X,n.imports=e.imports||X,n.exports=e.exports||X})}function ut(t,e){if(null==t)return K;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const ht=it;function dt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function pt(t){return t[G]||null}function ft(t){return t[Z]||null}function gt(t){return t[Q]||null}function mt(t,e){const n=t[$]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}const bt=20,_t=10;function yt(t){return Array.isArray(t)&&"object"==typeof t[1]}function vt(t){return Array.isArray(t)&&!0===t[1]}function Ct(t){return 0!=(8&t.flags)}function wt(t){return 2==(2&t.flags)}function xt(t){return 1==(1&t.flags)}function Ot(t){return null!==t.template}function kt(t,e){return t.hasOwnProperty(tt)?t[tt]:null}class Et{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Pt(){return St}function St(t){return t.type.prototype.ngOnChanges&&(t.setInput=It),Mt}function Mt(){const t=At(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===K)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function It(t,e,n,i){const r=At(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:K,current:null}),s=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],l=o[a];s[a]=new Et(l&&l.currentValue,e,o===K),t[i]=e}function At(t){return t.__ngSimpleChanges__||null}Pt.ngInherit=!0;let Tt=null;const Dt=t=>{Tt=t},jt=function(t,e,n){null!=Tt&&Tt(t,e,n)},Rt="http://www.w3.org/2000/svg",Nt="http://www.w3.org/1998/MathML/";let Ft;function Vt(t){Ft=t}function Lt(){return void 0!==Ft?Ft:"undefined"!=typeof document?document:void 0}function zt(t){return!!t.listen}const Bt={createRenderer:(t,e)=>Lt()};function Ht(t){for(;Array.isArray(t);)t=t[0];return t}function Ut(t,e){return Ht(e[t])}function qt(t,e){return Ht(e[t.index])}function Wt(t,e){return t.data[e]}function Kt(t,e){return t[e]}function Yt(t,e){const n=e[t];return yt(n)?n:n[0]}function Xt(t){return t.__ngContext__||null}function Gt(t){const e=Xt(t);return e?Array.isArray(e)?e:e.lView:null}function Zt(t){return 4==(4&t[2])}function Qt(t){return 128==(128&t[2])}function $t(t,e){return null==e?null:t[e]}function Jt(t){t[18]=0}function te(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const ee={lFrame:Ae(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ne(){return ee.bindingsEnabled}function ie(){ee.bindingsEnabled=!0}function re(){ee.bindingsEnabled=!1}function se(){return ee.lFrame.lView}function oe(){return ee.lFrame.tView}function ae(t){ee.lFrame.contextLView=t}function le(){let t=ce();for(;null!==t&&64===t.type;)t=t.parent;return t}function ce(){return ee.lFrame.currentTNode}function ue(){const t=ee.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function he(t,e){const n=ee.lFrame;n.currentTNode=t,n.isParent=e}function de(){return ee.lFrame.isParent}function pe(){ee.lFrame.isParent=!1}function fe(){return ee.isInCheckNoChangesMode}function ge(t){ee.isInCheckNoChangesMode=t}function me(){const t=ee.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function be(){return ee.lFrame.bindingIndex}function _e(t){return ee.lFrame.bindingIndex=t}function ye(){return ee.lFrame.bindingIndex++}function ve(t){const e=ee.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Ce(t){ee.lFrame.inI18n=t}function we(t,e){const n=ee.lFrame;n.bindingIndex=n.bindingRootIndex=t,xe(e)}function xe(t){ee.lFrame.currentDirectiveIndex=t}function Oe(t){const e=ee.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function ke(){return ee.lFrame.currentQueryIndex}function Ee(t){ee.lFrame.currentQueryIndex=t}function Pe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function Se(t,e,n){if(n&A.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&A.Host||(i=Pe(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=ee.lFrame=Ie();return i.currentTNode=e,i.lView=t,!0}function Me(t){const e=Ie(),n=t[1];ee.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Ie(){const t=ee.lFrame,e=null===t?null:t.child;return null===e?Ae(t):e}function Ae(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Te(){const t=ee.lFrame;return ee.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const De=Te;function je(){const t=Te();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Re(t){return(ee.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ee.lFrame.contextLView))[8]}function Ne(){return ee.lFrame.selectedIndex}function Fe(t){ee.lFrame.selectedIndex=t}function Ve(){const t=ee.lFrame;return Wt(t.tView,t.selectedIndex)}function Le(){ee.lFrame.currentNamespace=Rt}function ze(){ee.lFrame.currentNamespace=Nt}function Be(){ee.lFrame.currentNamespace=null}function He(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[a]<0&&(t[18]+=65536),(o>11>16&&(3&t[2])===e){t[2]+=2048,jt(4,o,s);try{s.call(o)}finally{jt(5,o,s)}}}else{jt(4,o,s);try{s.call(o)}finally{jt(5,o,s)}}}const Xe=-1;class Ge{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Ze(t,e,n){const i=zt(t);let r=0;for(;re){o=s-1;break}}}for(;s>16,i=e;for(;n>0;)i=i[15],n--;return i}let sn=!0;function on(t){const e=sn;return sn=t,e}let an=0;function ln(t,e){const n=un(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,cn(i.data,t),cn(e,null),cn(i.blueprint,null));const r=hn(t,e),s=t.injectorIndex;if(en(r)){const t=nn(r),n=rn(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function cn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function un(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function hn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return Xe;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Xe}function dn(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(et)&&(i=n[et]),null==i&&(i=n[et]=an++);const r=255&i;e.data[t+(r>>5)]|=1<=0?255&e:_n:e}(n);if("function"==typeof s){if(!Se(e,t,i))return i&A.Host?fn(r,n,i):gn(e,n,i,r);try{const t=s();if(null!=t||i&A.Optional)return t;y(n)}finally{De()}}else if("number"==typeof s){let r=null,o=un(t,e),a=Xe,l=i&A.Host?e[16][6]:null;for((-1===o||i&A.SkipSelf)&&(a=-1===o?hn(t,e):e[o+8],a!==Xe&&xn(i,!1)?(r=e[1],o=nn(a),e=rn(a,e)):o=-1);-1!==o;){const t=e[1];if(wn(s,o,t.data)){const t=yn(o,e,n,r,i,l);if(t!==bn)return t}a=e[o+8],a!==Xe&&xn(i,e[1].data[o+8]===l)&&wn(s,o,e)?(r=t,o=nn(a),e=rn(a,e)):o=-1}}}return gn(e,n,i,r)}const bn={};function _n(){return new On(le(),se())}function yn(t,e,n,i,r,s){const o=e[1],a=o.data[t+8],l=vn(a,o,n,null==i?wt(a)&&sn:i!=o&&0!=(3&a.type),r&A.Host&&s===a);return null!==l?Cn(e,o,l,a):bn}function vn(t,e,n,i,r){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=r?a+c:t.directiveEnd;for(let h=i?a:a+c;h=l&&t.type===n)return h}if(r){const t=o[l];if(t&&Ot(t)&&t.type===n)return l}return null}function Cn(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof Ge){const o=r;o.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(_(s[n]));const a=on(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?j(o.injectImpl):null;Se(t,i,A.Default);try{r=t[n]=o.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const i=St(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&j(l),on(a),o.resolving=!1,De()}}return r}function wn(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[tt]||En(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[tt]||En(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function En(t){return g(t)?()=>{const e=En(f(t));return e&&e()}:kt(t)}function Pn(t){return pn(le(),t)}const Sn="__annotations__",Mn="__parameters__",In="__prop__metadata__";function An(t,e,n,i,r){return N(()=>{const s=Tn(e);function o(...t){if(this instanceof o)return s.call(this,...t),this;const e=new o(...t);return function(n){return r&&r(n,...t),(n.hasOwnProperty(Sn)?n[Sn]:Object.defineProperty(n,Sn,{value:[]})[Sn]).push(e),i&&i(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function Tn(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}function Dn(t,e,n){return N(()=>{const i=Tn(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(Mn)?t[Mn]:Object.defineProperty(t,Mn,{value:[]})[Mn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}function jn(t,e,n,i){return N(()=>{const r=Tn(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return function(n,r){const s=n.constructor,o=s.hasOwnProperty(In)?s[In]:Object.defineProperty(s,In,{value:{}})[In];o[r]=o.hasOwnProperty(r)&&o[r]||[],o[r].unshift(e),i&&i(n,r,...t)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}function Rn(){return Dn("Attribute",t=>({attributeName:t,__NG_ELEMENT_ID__:()=>Pn(t)}))}const Nn=Rn();class Fn{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Vn=new Fn("AnalyzeForEntryComponents");class Ln{}const zn=jn("ContentChildren",(t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!1},e),Ln),Bn=jn("ContentChild",(t,e={})=>Object.assign({selector:t,first:!0,isViewQuery:!1,descendants:!0},e),Ln),Hn=jn("ViewChildren",(t,e={})=>Object.assign({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!1},e),Ln),Un=jn("ViewChild",(t,e)=>Object.assign({selector:t,first:!0,isViewQuery:!0,descendants:!0},e),Ln);var qn=function(t){return t[t.Token=0]="Token",t[t.Attribute=1]="Attribute",t[t.ChangeDetectorRef=2]="ChangeDetectorRef",t[t.Invalid=3]="Invalid",t}({});function Wn(){const t=W.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}const Kn=Function;function Yn(t){return"function"==typeof t}function Xn(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?Gn(t,e):e(t))}function Zn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Qn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function $n(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function ti(t,e){const n=ei(t,e);if(n>=0)return t[1|n]}function ei(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ni=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,ii=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,ri=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,si=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class oi{constructor(t){this._reflect=t||W.Reflect}isReflectionEnabled(){return!0}factory(t){return(...e)=>new t(...e)}_zipTypesAndAnnotations(t,e){let n;n=$n(void 0===t?e.length:t.length);for(let i=0;it&&t.type),n=t.map(t=>t&&ai(t.decorators));return this._zipTypesAndAnnotations(e,n)}const r=t.hasOwnProperty(Mn)&&t[Mn],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return s||r?this._zipTypesAndAnnotations(s,r):$n(t.length)}parameters(t){if(!Yn(t))return[];const e=li(t);let n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]}_ownAnnotations(t,e){if(t.annotations&&t.annotations!==e.annotations){let e=t.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return t.decorators&&t.decorators!==e.decorators?ai(t.decorators):t.hasOwnProperty(Sn)?t[Sn]:null}annotations(t){if(!Yn(t))return[];const e=li(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)}_ownPropMetadata(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){let e=t.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(t.propDecorators&&t.propDecorators!==e.propDecorators){const e=t.propDecorators,n={};return Object.keys(e).forEach(t=>{n[t]=ai(e[t])}),n}return t.hasOwnProperty(In)?t[In]:null}propMetadata(t){if(!Yn(t))return{};const e=li(t),n={};if(e!==Object){const t=this.propMetadata(e);Object.keys(t).forEach(e=>{n[e]=t[e]})}const i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(t=>{const e=[];n.hasOwnProperty(t)&&e.push(...n[t]),e.push(...i[t]),n[t]=e}),n}ownPropMetadata(t){return Yn(t)&&this._ownPropMetadata(t,li(t))||{}}hasLifecycleHook(t,e){return t instanceof Kn&&e in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${u(t)}`}resourceUri(t){return`./${u(t)}`}resolveIdentifier(t,e,n,i){return i}resolveEnum(t,e){return t[e]}}function ai(t){return t?t.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function li(t){const e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}const ci={},ui=/\n/gm,hi="__source",di=l({provide:String,useValue:l});let pi;function fi(t){const e=pi;return pi=t,e}function gi(t,e=A.Default){if(void 0===pi)throw new Error("inject() must be called from an injection context");return null===pi?R(t,void 0,e):pi.get(t,e&A.Optional?null:void 0,e)}function mi(t,e=A.Default){return(D()||gi)(f(t),e)}function bi(t){throw new Error("invalid")}const _i=mi;function yi(t){const e=[];for(let n=0;n({token:t}),wi=vi(Dn("Inject",Ci),-1),xi=vi(Dn("Optional"),8),Oi=vi(Dn("Self"),2),ki=vi(Dn("SkipSelf"),4),Ei=vi(Dn("Host"),1);let Pi=null;function Si(){return Pi=Pi||new oi}function Mi(t){return Ii(Si().parameters(t))}function Ii(t){const e=Wn();return t.map(t=>function(t,e){const n={token:null,host:!1,optional:!1,resolved:t.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function i(e){n.resolved=t.R3ResolvedDependencyType.Token,n.token=e}if(Array.isArray(e)&&e.length>0)for(let r=0;r{const r=[];t.templateUrl&&r.push(i(t.templateUrl).then(e=>{t.template=e}));const s=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;s&&s.forEach((e,n)=>{o.push(""),r.push(i(e).then(i=>{o[a+n]=i,s.splice(s.indexOf(e),1),0==s.length&&(t.styleUrls=void 0)}))});const l=Promise.all(r).then(()=>function(t){Di.delete(t)}(n));e.push(l)}),Ri(),Promise.all(e).then(()=>{})}let Ti=new Map;const Di=new Set;function ji(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length)}function Ri(){const t=Ti;return Ti=new Map,t}function Ni(t){return"string"==typeof t?t:t.text()}let Fi,Vi;function Li(){if(void 0===Fi&&(Fi=null,W.trustedTypes))try{Fi=W.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Fi}function zi(t){var e;return(null===(e=Li())||void 0===e?void 0:e.createHTML(t))||t}function Bi(){if(void 0===Vi&&(Vi=null,W.trustedTypes))try{Vi=W.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Vi}function Hi(t){var e;return(null===(e=Bi())||void 0===e?void 0:e.createHTML(t))||t}function Ui(t){var e;return(null===(e=Bi())||void 0===e?void 0:e.createScript(t))||t}function qi(t){var e;return(null===(e=Bi())||void 0===e?void 0:e.createScriptURL(t))||t}class Wi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Ki extends Wi{getTypeName(){return"HTML"}}class Yi extends Wi{getTypeName(){return"Style"}}class Xi extends Wi{getTypeName(){return"Script"}}class Gi extends Wi{getTypeName(){return"URL"}}class Zi extends Wi{getTypeName(){return"ResourceURL"}}function Qi(t){return t instanceof Wi?t.changingThisBreaksApplicationSecurity:t}function $i(t,e){const n=Ji(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Ji(t){return t instanceof Wi&&t.getTypeName()||null}function tr(t){return new Ki(t)}function er(t){return new Yi(t)}function nr(t){return new Xi(t)}function ir(t){return new Gi(t)}function rr(t){return new Zi(t)}function sr(t){const e=new ar(t);return function(){try{return!!(new window.DOMParser).parseFromString(zi(""),"text/html")}catch(t){return!1}}()?new or(e):e}class or{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(zi(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class ar{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=zi(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=zi(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0ur(t.trim())).join(", ")}function dr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function pr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const fr=dr("area,br,col,hr,img,wbr"),gr=dr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mr=dr("rp,rt"),br=pr(mr,gr),_r=pr(fr,pr(gr,dr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),pr(mr,dr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),br),yr=dr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vr=dr("srcset"),Cr=pr(yr,vr,dr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),dr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),wr=dr("script,style,template");class xr{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!_r.hasOwnProperty(e))return this.sanitizedSomething=!0,!wr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i"),!0}endElement(t){const e=t.nodeName.toLowerCase();_r.hasOwnProperty(e)&&!fr.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Er(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Or=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kr=/([^\#-~ |!])/g;function Er(t){return t.replace(/&/g,"&").replace(Or,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(kr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Pr;function Sr(t,e){let n=null;try{Pr=Pr||sr(t);let i=e?String(e):"";n=Pr.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Pr.getInertBodyElement(i)}while(i!==s);return zi((new xr).sanitizeChildren(Mr(n)||n))}finally{if(n){const t=Mr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Mr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ir=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Ar(t){const e=zr();return e?Hi(e.sanitize(Ir.HTML,t)||""):$i(t,"HTML")?Hi(Qi(t)):Sr(Lt(),b(t))}function Tr(t){const e=zr();return e?e.sanitize(Ir.STYLE,t)||"":$i(t,"Style")?Qi(t):b(t)}function Dr(t){const e=zr();return e?e.sanitize(Ir.URL,t)||"":$i(t,"URL")?Qi(t):ur(b(t))}function jr(t){const e=zr();if(e)return qi(e.sanitize(Ir.RESOURCE_URL,t)||"");if($i(t,"ResourceURL"))return qi(Qi(t));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Rr(t){const e=zr();if(e)return Ui(e.sanitize(Ir.SCRIPT,t)||"");if($i(t,"Script"))return Ui(Qi(t));throw new Error("unsafe value used in a script context")}function Nr(t){return zi(t[0])}function Fr(t){return function(t){var e;return(null===(e=Li())||void 0===e?void 0:e.createScriptURL(t))||t}(t[0])}function Vr(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?jr:Dr}function Lr(t,e,n){return Vr(e,n)(t)}function zr(){const t=se();return t&&t[12]}function Br(t){return t.ngDebugContext}function Hr(t){return t.ngOriginalError}function Ur(t,...e){t.error(...e)}class qr{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Ur}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Br(t)?Br(t):this._findContext(Hr(t)):null}_findOriginalError(t){let e=Hr(t);for(;e&&Hr(e);)e=Hr(e);return e}}const Wr={name:"custom-elements"},Kr={name:"no-errors-schema"},Yr=/^>|^->||--!>|)/;function Gr(t){return t.replace(Yr,t=>t.replace(Xr,"\u200b$1\u200b"))}const Zr=/([A-Z])/g;function Qr(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function $r(t){let e=Xt(t);if(e){if(Array.isArray(e)){const i=e;let r,s,o;if((n=t)&&n.constructor&&n.constructor.\u0275cmp){if(r=rs(i,t),-1==r)throw new Error("The provided component was not found in the application");s=t}else if(function(t){return t&&t.constructor&&t.constructor.\u0275dir}(t)){if(r=function(t,e){let n=t[1].firstChild;for(;n;){const i=n.directiveEnd;for(let r=n.directiveStart;r=0){const t=Ht(i[r]),n=Jr(i,r,t);es(t,n),e=n;break}}}}var n;return e||null}function Jr(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function ts(t){let e,n=Xt(t);if(Array.isArray(n)){const i=rs(n,t);e=Yt(i,n);const r=Jr(n,i,e[0]);r.component=t,es(t,r),es(r.native,r)}else e=Yt(n.nodeIndex,n.lView);return e}function es(t,e){t.__ngContext__=e}function ns(t,e){const n=t[1];for(let i=bt;i("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(W))();function as(t){return{name:"window",target:t.ownerDocument.defaultView}}function ls(t){return{name:"document",target:t.ownerDocument}}function cs(t){return{name:"body",target:t.ownerDocument.body}}function us(t){return t instanceof Function?t():t}var hs=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let ds;function ps(t,e){return ds(t,e)}function fs(t){const e=t[3];return vt(e)?e[3]:e}function gs(t){return function(t){let e=yt(t)?t:Gt(t);for(;e&&!(512&e[2]);)e=fs(e);return e}(t)[8]}function ms(t){return _s(t[13])}function bs(t){return _s(t[4])}function _s(t){for(;null!==t&&!vt(t);)t=t[4];return t}function ys(t,e,n,i,r){if(null!=i){let s,o=!1;vt(i)?s=i:yt(i)&&(o=!0,i=i[0]);const a=Ht(i);0===t&&null!==n?null==r?As(e,n,a):Is(e,n,a,r||null,!0):1===t&&null!==n?Is(e,n,a,r||null,!0):2===t?Us(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,i,r){const s=n[7];s!==Ht(n)&&ys(e,t,i,s,r);for(let o=_t;o0&&(t[n-1][4]=i[4]);const o=Qn(t,_t+e);Ws(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Es(t,e){if(!(256&e[2])){const n=e[11];zt(n)&&n.destroyNode&&Ws(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Ps(t[1],t);for(;e;){let n=null;if(yt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)yt(e)&&Ps(e[1],e),e=e[3];null===e&&(e=t),yt(e)&&Ps(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ps(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const t=i[r=n[s+1]];n[s].call(t)}if(null!==i){for(let t=r+1;ts?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==Gs(e,c,0)||2&i&&c!==t){if(eo(i))return!1;o=!0}}}}else{if(!o&&!eo(i)&&!eo(l))return!1;if(o&&eo(l))continue;o=!1,i=l|1&i}}return eo(i)||o}function eo(t){return 0==(1&t)}function no(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||eo(o)||(e+=so(s,r),r=""),i=o,s=s||!eo(i);n++}return""!==r&&(e+=so(s,r)),e}const ao={};function lo(t){co(oe(),se(),Ne()+t,fe())}function co(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&Ue(e,i,n)}else{const i=t.preOrderHooks;null!==i&&qe(e,i,0,n)}Fe(n)}function uo(t,e){return t<<17|e<<2}function ho(t){return t>>17&32767}function po(t){return 2|t}function fo(t){return(131068&t)>>2}function go(t,e){return-131069&t|e<<2}function mo(t){return 1|t}const bo=(()=>Promise.resolve(null))();function _o(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;ibt&&co(t,e,bt,fe()),jt(o?2:0,r),n(i,r)}finally{Fe(s),jt(o?3:1,r)}}function Po(t,e,n){if(Ct(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,o)}}function Vo(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Lo(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function zo(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&Zo(n)}}function Zo(t){for(let n=ms(t);null!==n;n=bs(n))for(let t=_t;t0&&Zo(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Zo(i)}}function Qo(t,e){const n=Yt(e,t),i=n[1];!function(t,e){for(let n=e.length;ne=t),t.scheduler(()=>{if(1&t.flags&&(t.flags&=-2,ta(t)),2&t.flags){t.flags&=-3;const e=t.playerHandler;e&&e.flushPlayers()}t.clean=bo,e(null)})}}(Jo(ts(t))[8])}const fa=new Fn("INJECTOR",-1);class ga{get(t,e=ci){if(e===ci){const e=new Error(`NullInjectorError: No provider for ${u(t)}!`);throw e.name="NullInjectorError",e}return e}}const ma=new Fn("Set Injector scope."),ba={},_a={},ya=[];let va;function Ca(){return void 0===va&&(va=new ga),va}function wa(t,e=null,n=null,i){const r=xa(t,e,n,i);return r._resolveInjectorDefTypes(),r}function xa(t,e=null,n=null,i){return new Oa(t,n,e||Ca(),i)}class Oa{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&Gn(e,n=>this.processProvider(n,t,e)),Gn([t],t=>this.processInjectorType(t,[],r)),this.records.set(fa,Pa(void 0,this));const s=this.records.get(ma);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=ci,n=A.Default){this.assertNotDestroyed();const i=fi(this);try{if(!(n&A.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof Fn)&&O(t);e=n&&this.injectableDefInScope(n)?Pa(ka(t),ba):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&A.Self?Ca():this.parent).get(t,e=n&A.Optional&&e===ci?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(u(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e[hi]&&r.unshift(e[hi]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=u(e);if(Array.isArray(e))r=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(ui,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{fi(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let i=E(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,o=-1!==n.indexOf(s);if(void 0!==r&&(i=E(r)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(s);try{Gn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||ya))}}this.injectorDefTypes.add(s);const a=kt(s)||(()=>new s);this.records.set(s,Pa(a,ba));const l=i.providers;if(null!=l&&!o){const e=t;Gn(l,t=>this.processProvider(t,e,l))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=Ma(t=f(t))?t:f(t&&t.provide);const r=function(t,e,n){return Sa(t)?Pa(void 0,t.useValue):Pa(Ea(t),ba)}(t);if(Ma(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Pa(void 0,ba,!0),e.factory=()=>yi(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===ba&&(e.value=_a,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function ka(t){const e=O(t),n=null!==e?e.factory:kt(t);if(null!==n)return n;if(t instanceof Fn)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=$n(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[P]||t[M]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);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.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Ea(t,e,n){let i;if(Ma(t)){const e=f(t);return kt(e)||ka(e)}if(Sa(t))i=()=>f(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...yi(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>mi(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return kt(e)||ka(e);i=()=>new e(...yi(t.deps))}var r;return i}function Pa(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Sa(t){return null!==t&&"object"==typeof t&&di in t}function Ma(t){return"function"==typeof t}function Ia(t,e,n){return wa({name:n},e,t,n)}const Aa=Ia;let Ta=(()=>{class t{static create(t,e){return Array.isArray(t)?Aa(t,e,""):Aa(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=ci,t.NULL=new ga,t.\u0275prov=C({token:t,providedIn:"any",factory:()=>mi(fa)}),t.__NG_ELEMENT_ID__=-1,t})();function Da(t){Ua(t);const e=La(t,!1);return null===e?null:(void 0===e.component&&(e.component=function(t,e){const n=e[1].data[t];return 2&n.flags?e[n.directiveStart]:null}(e.nodeIndex,e.lView)),e.component)}function ja(t){Ua(t);const e=La(t,!1);return null===e?null:e.lView[8]}function Ra(t){const e=La(t,!1);if(null===e)return null;let n,i=e.lView;for(;2===i[1].type&&(n=fs(i));)i=n;return 512&i[2]?null:i[8]}function Na(t){return[...gs(t).components]}function Fa(t){const e=La(t,!1);return null===e?Ta.NULL:new On(e.lView[1].data[e.nodeIndex],e.lView)}function Va(t){const e=La(t);return void 0===e.directives&&(e.directives=ss(e.nodeIndex,e.lView,!1)),null===e.directives?[]:[...e.directives]}function La(t,e=!0){const n=$r(t);if(!n&&e)throw new Error("Invalid ng target");return n}function za(t){return $r(t).native}function Ba(t){Ua(t);const e=La(t,!1);if(null===e)return[];const n=e.lView,i=n[7],r=n[1].cleanup,s=[];if(r&&i)for(let o=0;o=0?"dom":"output",p="boolean"==typeof h&&h;t==c&&s.push({element:t,name:l,callback:u,useCapture:p,type:d})}}return s.sort(Ha),s}function Ha(t,e){return t.name==e.name?0:t.nameda(t))}let Wa=!1;function Ka(){Wa||(Wa=!0,Ya("\u0275setProfiler",Dt),Ya("getComponent",Da),Ya("getContext",ja),Ya("getListeners",Ba),Ya("getOwningComponent",Ra),Ya("getHostElement",za),Ya("getInjector",Fa),Ya("getRootComponents",Na),Ya("getDirectives",Va),Ya("applyChanges",qa))}function Ya(t,e){if("undefined"==typeof COMPILED||!COMPILED){const n=W;if(n){let i=n.ng;i||(i=n.ng={}),i[t]=e}}}function Xa(t,e={}){const n=e.rendererFactory||Bt,i=e.sanitizer||null,r=pt(t);r.type!=t&&(r.type=t);const s=r.selectors[0][0],o=To(n.createRenderer(null,null),e.host||s,r.encapsulation),a=r.onPush?576:528,l=Qa(e.scheduler,e.playerHandler),c=n.createRenderer(o,r),u=Ao(0,null,null,1,0,null,null,null,null,null),h=yo(null,u,l,a,null,null,n,c,null,e.injector||null);let d;Me(h);try{n.begin&&n.begin(),d=Za(Ga(o,r,h,n,c,i),r,h,l,e.hostFeatures||null),xo(u,h,null),Oo(u,h,null,null)}finally{je(),n.end&&n.end()}return d}function Ga(t,e,n,i,r,s){const o=n[1];n[20]=t;const a=vo(o,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(ha(a,l,!0),null!==t&&(Ze(r,t,l),null!==a.classes&&Xs(r,t,a.classes),null!==a.styles&&Ys(r,t,a.styles)));const c=i.createRenderer(t,e),u=yo(n,Io(e),null,e.onPush?64:16,n[20],a,i,c,s||null,null);return o.firstCreatePass&&(dn(ln(a,n),o,e.type),Lo(o,a),Bo(a,n.length,1)),$o(n,u),n[20]=u}function Za(t,e,n,i,r){const s=n[1],o=function(t,e,n){const i=le();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ho(t,i,e,wo(t,e,1,null),n));const r=Cn(e,t,i.directiveStart,i);es(r,e);const s=qt(i,e);return s&&es(s,e),r}(s,n,e);if(i.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries){const t=le();e.contentQueries(1,o,t.directiveStart)}const a=le();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Fe(a.index),Fo(n[1],a,0,a.directiveStart,a.directiveEnd,e),Vo(e,o)),o}function Qa(t,e){return{components:[],scheduler:t||os,clean:ra,playerHandler:e||null,flags:0}}function $a(t,e){He(Gt(t)[1],le())}function Ja(t){return gs(t).clean}function tl(t){return Object.getPrototypeOf(t.prototype).constructor}function el(t){let e=tl(t.type),n=!0;const i=[t];for(;e;){let r;if(Ot(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=nl(t.inputs),e.declaredInputs=nl(t.declaredInputs),e.outputs=nl(t.outputs);const n=r.hostBindings;n&&sl(t,n);const s=r.viewQuery,o=r.contentQueries;if(s&&il(t,s),o&&rl(t,o),c(t.inputs,r.inputs),c(t.declaredInputs,r.declaredInputs),c(t.outputs,r.outputs),Ot(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Je(r.hostAttrs,n=Je(n,r.hostAttrs))}}(i)}function nl(t){return t===K?{}:t===X?[]:t}function il(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function rl(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function sl(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}const ol=["providersResolver"],al=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function ll(t){let e,n=tl(t.type);e=Ot(t)?n.\u0275cmp:n.\u0275dir;const i=t;for(const r of ol)i[r]=e[r];if(Ot(e))for(const r of al)i[r]=e[r]}let cl=null;function ul(){if(!cl){const t=W.Symbol;if(t&&t.iterator)cl=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}function Hl(t){return Kt(ee.lFrame.contextLView,bt+t)}const Ul={"\u0275\u0275defineInjectable":C,"\u0275\u0275defineInjector":x,"\u0275\u0275inject":mi,"\u0275\u0275invalidFactoryDep":bi},ql=l({provide:String,useValue:l});function Wl(t){return void 0!==t.useClass}function Kl(t){return void 0!==t.useFactory}function Yl(t,e){const n=e||{providedIn:null},i={name:t.name,type:t,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(Wl(n)||Kl(n))&&void 0!==n.deps&&(i.userDeps=Ii(n.deps)),Wl(n)?i.useClass=f(n.useClass):function(t){return ql in t}(n)?i.useValue=f(n.useValue):Kl(n)?i.useFactory=n.useFactory:function(t){return void 0!==t.useExisting}(n)&&(i.useExisting=f(n.useExisting)),i}const Xl=An("Injectable",void 0,void 0,void 0,(t,e)=>Zl(t,e)),Gl=function(t,e){let n=null,i=null;t.hasOwnProperty(P)||Object.defineProperty(t,P,{get:()=>(null===n&&(n=Wn().compileInjectable(Ul,`ng:///${t.name}/\u0275prov.js`,Yl(t,e))),n)}),t.hasOwnProperty(tt)||Object.defineProperty(t,tt,{get:()=>{if(null===i){const n=Yl(t,e),r=Wn();i=r.compileFactory(Ul,`ng:///${t.name}/\u0275fac.js`,{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:Mi(t),injectFn:"inject",target:r.R3FactoryTarget.Injectable})}return i},configurable:!0})},Zl=Gl;function Ql(t){return t.length>1?" ("+function(t){const e=[];for(let n=0;n-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(t=>u(t.token)).join(" -> ")+")":""}function $l(t,e,n,i){const r=[e],s=n(r),o=i?function(t,e){const n=`${t} caused by: ${e instanceof Error?e.message:e}`,i=Error(n);return i.ngOriginalError=e,i}(s,i):Error(s);return o.addKey=Jl,o.keys=r,o.injectors=[t],o.constructResolvingMessage=n,o.ngOriginalError=i,o}function Jl(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function tc(t,e){const n=[];for(let i=0,r=e.length;it,n=[oc.fromKey(ec.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){const n=e.map(t=>[t]);return e.map(e=>gc(t,e,n))}return fc(t)}(t.useFactory,t.deps)):(e=()=>t.useValue,n=ac);return new cc(e,n)}function hc(t){return new lc(ec.get(t.provide),[uc(t)],t.multi||!1)}function dc(t){const e=function(t,e){for(let n=0;n{if(t instanceof Kn)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!Array.isArray(t))throw Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${t}`);pc(t,e)}}),e}function fc(t){const e=sc.parameters(t);if(!e)return[];if(e.some(t=>null==t))throw tc(t,e);return e.map(n=>gc(t,n,e))}function gc(t,e,n){let i=null,r=!1;if(!Array.isArray(e))return mc(e instanceof wi?e.token:e,r,null);let s=null;for(let o=0;o{class t{constructor(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;const n=t.length;this.keyIds=[],this.objs=[];for(let i=0;i=this._providers.length)throw function(t){return Error(`Index ${t} is out-of-bounds.`)}(t);return this._providers[t]}_new(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw $l(this,t.key,function(t){return`Cannot instantiate cyclic dependency!${Ql(t)}`});return this._instantiateProvider(t)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(t){if(t.multiProvider){const e=[];for(let n=0;nthis._getByReflectiveDependency(t))}catch(o){throw o.addKey&&o.addKey(this,t.key),o}try{r=n(...i)}catch(o){throw $l(this,t.key,function(t){const e=u(t[0].token);return`${s.message}: Error during instantiation of ${e}!${Ql(t)}.`},s=o)}var s;return r}_getByReflectiveDependency(t){return this._getByKey(t.key,t.visibility,t.optional?null:ci)}_getByKey(e,n,i){return e===t.INJECTOR_KEY?this:n instanceof Oi?this._getByKeySelf(e,i):this._getByKeyDefault(e,i,n)}_getObjByKeyId(t){for(let e=0;ea(Ht(t[i.index])).target:i.index;if(zt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;sn?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,d=!1;else{s=Vc(i,e,u,s,!1);const t=n.listen(f.name||g,r,s);h.push(s,t),c&&c.push(r,b,m,m+1)}}else s=Vc(i,e,u,s,!0),g.addEventListener(r,s,o),h.push(s),c&&c.push(r,b,m,o)}else s=Vc(i,e,u,s,!1);const p=i.outputs;let f;if(d&&null!==p&&(f=p[r])){const t=f.length;if(t)for(let n=0;n=0}const eu={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nu(t){return t.substring(eu.key,eu.keyEnd)}function iu(t){return t.substring(eu.value,eu.valueEnd)}function ru(t,e){const n=eu.textEnd;return n===e?-1:(e=eu.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,eu.key=e,n),au(t,e,n))}function su(t,e){const n=eu.textEnd;let i=eu.key=au(t,e,n);return n===i?-1:(i=eu.keyEnd=function(t,e,n){let i;for(;e=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(t,i,n),i=lu(t,i,n),i=eu.value=au(t,i,n),i=eu.valueEnd=function(t,e,n){let i=-1,r=-1,s=-1,o=e,a=o;for(;o32&&(a=o),s=r,r=i,i=-33&l}return a}(t,i,n),lu(t,i,n))}function ou(t){eu.key=0,eu.keyEnd=0,eu.value=0,eu.valueEnd=0,eu.textEnd=t.length}function au(t,e,n){for(;e=0;n=su(e,n))wu(t,nu(e),iu(e))}function fu(t){bu(Jn,gu,t,!0)}function gu(t,e){for(let n=function(t){return ou(t),ru(t,au(t,0,eu.textEnd))}(e);n>=0;n=ru(e,n))Jn(t,nu(e),!0)}function mu(t,e,n,i){const r=se(),s=oe(),o=ve(2);s.firstUpdatePass&&yu(s,t,o,i),e!==ao&&bl(r,o,e)&&xu(s,s.data[Ne()],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Qi(t)))),t}(e,n),i,o)}function bu(t,e,n,i){const r=oe(),s=ve(2);r.firstUpdatePass&&yu(r,null,s,i);const o=se();if(n!==ao&&bl(o,s,n)){const a=r.data[Ne()];if(Eu(a,i)&&!_u(r,s)){let t=i?a.classesWithoutHost:a.stylesWithoutHost;null!==t&&(n=h(t,n||"")),xc(r,a,o,n,i)}else!function(t,e,n,i,r,s,o,a){r===ao&&(r=Y);let l=0,c=0,u=0=t.expandoStartIndex}function yu(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[Ne()],o=_u(t,n);Eu(s,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const r=Oe(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Cu(n=vu(null,t,e,n,i),e.attrs,i),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=vu(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==fo(i))return t[ho(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=vu(null,t,e,n[1],i),n=Cu(n,e.attrs,i),function(t,e,n,i){t[ho(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=ho(t[a+1]);t[i+1]=uo(e,a),0!==e&&(t[e+1]=go(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=uo(a,0),0!==a&&(t[a+1]=go(t[a+1],i)),a=i;else t[i+1]=uo(l,0),0===a?a=i:t[l+1]=go(t[l+1],i),l=i;u&&(t[i+1]=po(t[i+1])),Jc(t,c,i,!0),Jc(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&ei(s,e)>=0&&(n[i+1]=mo(n[i+1]))}(e,c,t,i,s),o=uo(a,l),s?e.classBindings=o:e.styleBindings=o}(r,s,e,n,o,i)}}function vu(t,e,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let u=n[r+1];u===ao&&(u=c?Y:void 0);let h=c?ti(u,i):l===i?u:void 0;if(s&&!ku(h)&&(h=ti(e,i)),ku(h)&&(a=h,o))return a;const d=t[r+1];r=o?ho(d):fo(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=ti(t,i))}return a}function ku(t){return void 0!==t}function Eu(t,e){return 0!=(t.flags&(e?16:32))}function Pu(t,e=""){const n=se(),i=oe(),r=t+bt,s=i.firstCreatePass?vo(i,r,1,e,null):i.data[r],o=n[r]=vs(n[11],e);Ls(i,n,o,s),he(s,!1)}function Su(t){return Mu("",t,""),Su}function Mu(t,e,n){const i=se(),r=xl(i,t,e,n);return r!==ao&&ua(i,Ne(),r),Mu}function Iu(t,e,n,i,r){const s=se(),o=Ol(s,t,e,n,i,r);return o!==ao&&ua(s,Ne(),o),Iu}function Au(t,e,n,i,r,s,o){const a=se(),l=kl(a,t,e,n,i,r,s,o);return l!==ao&&ua(a,Ne(),l),Au}function Tu(t,e,n,i,r,s,o,a,l){const c=se(),u=El(c,t,e,n,i,r,s,o,a,l);return u!==ao&&ua(c,Ne(),u),Tu}function Du(t,e,n,i,r,s,o,a,l,c,u){const h=se(),d=Pl(h,t,e,n,i,r,s,o,a,l,c,u);return d!==ao&&ua(h,Ne(),d),Du}function ju(t,e,n,i,r,s,o,a,l,c,u,h,d){const p=se(),f=Sl(p,t,e,n,i,r,s,o,a,l,c,u,h,d);return f!==ao&&ua(p,Ne(),f),ju}function Ru(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f){const g=se(),m=Ml(g,t,e,n,i,r,s,o,a,l,c,u,h,d,p,f);return m!==ao&&ua(g,Ne(),m),Ru}function Nu(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m){const b=se(),_=Il(b,t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m);return _!==ao&&ua(b,Ne(),_),Nu}function Fu(t){const e=se(),n=wl(e,t);return n!==ao&&ua(e,Ne(),n),Fu}function Vu(t,e,n){bu(Jn,gu,xl(se(),t,e,n),!0)}function Lu(t,e,n,i,r){bu(Jn,gu,Ol(se(),t,e,n,i,r),!0)}function zu(t,e,n,i,r,s,o){bu(Jn,gu,kl(se(),t,e,n,i,r,s,o),!0)}function Bu(t,e,n,i,r,s,o,a,l){bu(Jn,gu,El(se(),t,e,n,i,r,s,o,a,l),!0)}function Hu(t,e,n,i,r,s,o,a,l,c,u){bu(Jn,gu,Pl(se(),t,e,n,i,r,s,o,a,l,c,u),!0)}function Uu(t,e,n,i,r,s,o,a,l,c,u,h,d){bu(Jn,gu,Sl(se(),t,e,n,i,r,s,o,a,l,c,u,h,d),!0)}function qu(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f){bu(Jn,gu,Ml(se(),t,e,n,i,r,s,o,a,l,c,u,h,d,p,f),!0)}function Wu(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m){bu(Jn,gu,Il(se(),t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m),!0)}function Ku(t){bu(Jn,gu,wl(se(),t),!0)}function Yu(t,e,n){du(xl(se(),t,e,n))}function Xu(t,e,n,i,r){du(Ol(se(),t,e,n,i,r))}function Gu(t,e,n,i,r,s,o){du(kl(se(),t,e,n,i,r,s,o))}function Zu(t,e,n,i,r,s,o,a,l){du(El(se(),t,e,n,i,r,s,o,a,l))}function Qu(t,e,n,i,r,s,o,a,l,c,u){du(Pl(se(),t,e,n,i,r,s,o,a,l,c,u))}function $u(t,e,n,i,r,s,o,a,l,c,u,h,d){du(Sl(se(),t,e,n,i,r,s,o,a,l,c,u,h,d))}function Ju(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f){du(Ml(se(),t,e,n,i,r,s,o,a,l,c,u,h,d,p,f))}function th(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m){du(Il(se(),t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m))}function eh(t){du(wl(se(),t))}function nh(t,e,n,i,r){return mu(t,xl(se(),e,n,i),r,!1),nh}function ih(t,e,n,i,r,s,o){return mu(t,Ol(se(),e,n,i,r,s),o,!1),ih}function rh(t,e,n,i,r,s,o,a,l){return mu(t,kl(se(),e,n,i,r,s,o,a),l,!1),rh}function sh(t,e,n,i,r,s,o,a,l,c,u){return mu(t,El(se(),e,n,i,r,s,o,a,l,c),u,!1),sh}function oh(t,e,n,i,r,s,o,a,l,c,u,h,d){return mu(t,Pl(se(),e,n,i,r,s,o,a,l,c,u,h),d,!1),oh}function ah(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f){return mu(t,Sl(se(),e,n,i,r,s,o,a,l,c,u,h,d,p),f,!1),ah}function lh(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m){return mu(t,Ml(se(),e,n,i,r,s,o,a,l,c,u,h,d,p,f,g),m,!1),lh}function ch(t,e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m,b,_){return mu(t,Il(se(),e,n,i,r,s,o,a,l,c,u,h,d,p,f,g,m,b),_,!1),ch}function uh(t,e,n){return mu(t,wl(se(),e),n,!1),uh}function hh(t,e,n){const i=se();return bl(i,ye(),e)&&Ro(oe(),Ve(),i,t,e,i[11],n,!0),hh}function dh(t,e,n){const i=se();if(bl(i,ye(),e)){const r=oe(),s=Ve();Ro(r,s,i,t,e,aa(Oe(r.data),s,i),n,!0)}return dh}const ph=void 0;var fh=["en",[["a","p"],["AM","PM"],ph],[["AM","PM"],ph,ph],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ph,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ph,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ph,"{1} 'at' {0}",ph],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let gh={};function mh(t,e,n){"string"!=typeof e&&(n=e,e=t[wh.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),gh[e]=t,n&&(gh[e][wh.ExtraData]=n)}function bh(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=vh(e);if(n)return n;const i=e.split("-")[0];if(n=vh(i),n)return n;if("en"===i)return fh;throw new Error(`Missing locale data for the locale "${t}".`)}function _h(t){return bh(t)[wh.CurrencyCode]||null}function yh(t){return bh(t)[wh.PluralCase]}function vh(t){return t in gh||(gh[t]=W.ng&&W.ng.common&&W.ng.common.locales&&W.ng.common.locales[t]),gh[t]}function Ch(){gh={}}var wh=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});const xh=["zero","one","two","few","many"],Oh="en-US",kh="USD",Eh={marker:"element"},Ph={marker:"ICU"};var Sh=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}({});let Mh=Oh;function Ih(t){var e;null==(e=t)&&v("Expected localeId to be defined",e,null,"!="),"string"==typeof t&&(Mh=t.toLowerCase().replace(/_/g,"-"))}function Ah(t,e,n){const i=e.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?Rs(t,0,n):Ht(n[r])}function Th(t,e,n,i,r){const s=e.insertBeforeIndex;if(Array.isArray(s)){let o=i,a=null;if(3&e.type||(a=o,o=r),null!==o&&0==(2&e.flags))for(let e=1;e1)for(let n=t.length-2;n>=0;n--){const i=t[n];jh(i)||Rh(i,e)&&null===Nh(i)&&Fh(i,e.index)}}function jh(t){return!(64&t.type)}function Rh(t,e){return jh(e)||t.index>e.index}function Nh(t){const e=t.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function Fh(t,e){const n=t.insertBeforeIndex;Array.isArray(n)?n[0]=e:(Vs(Ah,Th),t.insertBeforeIndex=e)}function Vh(t,e){const n=t.data[e];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Lh(t,e,n){const i=Co(t,n,64,null,null);return Dh(e,i),i}function zh(t,e){const n=e[t.currentCaseLViewIndex];return null===n?n:n<0?~n:n}let Bh=0,Hh=0;function Uh(t,e,n,i){const r=n[11];let s,o=null;for(let a=0;a>>17;let u,h;if(null===o&&(o=c,s=Ds(r,i)),c===o?(u=i,h=s):(u=null,h=Ht(n[c])),null!==h){const e=(131070&l)>>>1;Is(r,h,n[e],u,!1);const i=Vh(t,e);if(null!==i&&"object"==typeof i){const e=zh(i,n);null!==e&&Uh(t,i.create[e],n,n[i.anchorIdx])}}break;case 1:const d=e[++a],p=e[++a];Wo(r,Ut(l>>>1,n),null,null,d,p,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${l}"`)}else switch(l){case Ph:const t=e[++a],i=e[++a];null===n[i]&&es(n[i]=ws(r,t),n);break;case Eh:const s=e[++a],o=e[++a];null===n[o]&&es(n[o]=xs(r,s,null),n)}}}function qh(t,e,n,i,r){for(let s=0;s>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=t.data[a];"string"==typeof c?Wo(e[11],e[a],null,c,s,r,l):Ro(t,c,e,s,r,e[11],l,!1);break;case 0:const u=e[a];null!==u&&Cs(e[11],u,r);break;case 2:Kh(t,Vh(t,a),e,r);break;case 3:Wh(t,Vh(t,a),i,e)}}}}else{const r=n[s+1];if(r>0&&3==(3&r)){const n=Vh(t,r>>>2);e[n.currentCaseLViewIndex]<0&&Wh(t,n,i,e)}}s+=a}}function Wh(t,e,n,i){let r=i[e.currentCaseLViewIndex];if(null!==r){let s=Bh;r<0&&(r=i[e.currentCaseLViewIndex]=~r,s=-1),qh(t,i,e.update[r],n,s)}}function Kh(t,e,n,i){const r=function(t,e){let n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:{const i=function(t,e){const n=yh(e)(parseInt(t,10)),i=xh[n];return void 0!==i?i:"other"}(e,Mh);n=t.cases.indexOf(i),-1===n&&"other"!==i&&(n=t.cases.indexOf("other"));break}case 0:n=t.cases.indexOf("other")}return-1===n?null:n}(e,i);if(zh(e,n)!==r&&(Yh(t,e,n),n[e.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const i=n[e.anchorIdx];i&&Uh(t,e.create[r],n,i)}}function Yh(t,e,n){let i=zh(e,n);if(null!==i){const r=e.remove[i];for(let e=0;e0){const t=Ut(i,n);null!==t&&Us(n[11],t)}else Yh(t,Vh(t,~i),n)}}}const Xh=/\ufffd(\d+):?\d*\ufffd/gi,Gh=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Zh=/\ufffd(\d+)\ufffd/,Qh=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,$h=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Jh=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,td=/\uE500/g;function ed(t,e,n,i,r,s,o){const a=wo(t,i,1,null);let l=a<0?e[o]:(t.push(i,n),r(e[1].data[~o],e),s())}return 0===t.length?null:(n=t.pop(),i=t.pop(),s())}return function(n,i){for(e=i;t.length;)t.pop();return r(n.value,i),s}}())),r.push(l,null===s?"":s);const u=Co(t,a,o?32:1,null===s?"":s,null);Dh(n,u);const h=u.index;return he(u,!1),null!==c&&e!==c&&function(t,e){let n=t.insertBeforeIndex;var i;null===n?(Vs(Ah,Th),n=t.insertBeforeIndex=[null,e]):("Expecting array here",(i=Array.isArray(n))!=!0&&v("Expecting array here",i,true,"=="),n.push(e))}(c,h),u}function nd(t,e,n,i,r,s,o){const a=o.match(Xh),l=ed(t,e,n,s,i,a?null:o,!1);a&&id(r,o,l.index)}function id(t,e,n,i,r=null){const s=t.length,o=s+1;t.push(null,null);const a=s+2,l=e.split(Xh);let c=0;for(let u=0;un.length&&n.push(r)}return{type:i,mainBinding:r,cases:e,values:n}}function ld(t){if(!t)return[];let e=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(t);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=t.substring(e,r);Qh.test(n)?i.push(ad(n)):i.push(n),e=r+1}}else{if(0==n.length){const n=t.substring(e,r);i.push(n),e=r+1}n.push("{")}}const o=t.substring(e);return i.push(o),i}function cd(t,e,n,i,r,s,o,a){const l=[],c=[],u=[];e.cases.push(s),e.create.push(l),e.remove.push(c),e.update.push(u);const h=sr(Lt()).getInertBodyElement(o),d=Mr(h)||h;return d?ud(t,e,n,i,l,c,u,d,r,a,0):0}function ud(t,e,n,i,r,s,o,a,l,c,u){let h=0,d=a.firstChild;for(;d;){const a=wo(t,n,1,null);switch(d.nodeType){case Node.ELEMENT_NODE:const p=d,f=p.tagName.toLowerCase();if(_r.hasOwnProperty(f)){pd(r,Eh,f,l,a),t.data[a]=f;const g=p.attributes;for(let t=0;t{const s=i||r,o=t[s]||[];if(o.length||(s.split("|").forEach(t=>{const e=t.match(Cd),n=e?parseInt(e[1],10):0,i=vd.test(t);o.push([n,i,t])}),t[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=e[e.length-1];let l=0;for(let t=0;te.hasOwnProperty(i)?`${n}${e[i]}${o}`:t),n=n.replace(_d,(t,n)=>e.hasOwnProperty(n)?e[n]:t),n=n.replace(yd,(t,n)=>{if(e.hasOwnProperty(n)){const i=e[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${t} with key: ${n}`);return i.shift()}return t}),n):n}function xd(t,e,n=-1){const i=oe(),r=se(),s=bt+t,o=$t(i.consts,e),a=ue();i.firstCreatePass&&function(t,e,n,i,r,s){const o=ue(),a=[],l=[],c=[[]],u=(h=r=function(t,e){if(function(t){return-1===t}(e))return sd(t);{const n=t.indexOf(`:${e}\ufffd`)+2+e.toString().length,i=t.search(new RegExp(`\ufffd\\/\\*\\d+:${e}\ufffd`));return sd(t.substring(n,i))}}(r,s),h.replace(td," ")).split(Jh);var h;for(let d=0;d>>Sh.SHIFT;let h=t[u];null===h&&(h=t[u]=l?r.createComment(a):vs(r,a)),c&&null!==n&&Is(r,n,h,i,!1)}}(r,l.create,c,a&&8&a.type?r[a.index]:null),Ce(!0)}function Od(){Ce(!1)}function kd(t,e,n){xd(t,e,n),Od()}function Ed(t,e){const n=oe(),i=$t(n.consts,e);!function(t,e,n){const i=le().index,r=[];if(t.firstCreatePass&&null===t.data[e]){for(let t=0;t0){const i=t.data[n];qh(t,e,Array.isArray(i)?i:i.update,be()-Hh-1,Bh)}Bh=0,Hh=0}(oe(),se(),t+bt)}function Md(t,e={}){return wd(t,e)}function Id(t,e,n,i,r){if(t=f(t),Array.isArray(t))for(let s=0;s>20;if(Ma(t)||!t.multi){const i=new Ge(l,r,vc),p=Dd(a,e,r?u:u+d,h);-1===p?(dn(ln(c,o),s,a),Ad(s,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Dd(a,e,u+d,h),f=Dd(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){dn(ln(c,o),s,a);const u=function(t,e,n,i,r){const s=new Ge(t,n,vc);return s.multi=[],s.index=e,s.componentProviders=0,Td(s,r,i&&!n),s}(r?Rd:jd,n.length,r,i,l);!r&&m&&(n[f].providerFactory=u),Ad(s,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),o.push(u)}else Ad(s,t,p>-1?p:f,Td(n[r?f:p],l,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function Ad(t,e,n,i){const r=Ma(e);if(r||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function Td(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Dd(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=oe();if(i.firstCreatePass){const r=Ot(t);Id(n,i.data,i.blueprint,r,!0),Id(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class Vd{}class Ld{}function zd(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[Bd]=t,e}const Bd="ngComponent";class Hd{resolveComponentFactory(t){throw zd(t)}}let Ud=(()=>{class t{}return t.NULL=new Hd,t})();class qd{constructor(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(let i=0;i{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=Zd,t})();function $d(t){return t instanceof Qd?t.nativeElement:t}class Jd{}let tp=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>np(),t})();const ep=ip,np=ep;function ip(){const t=se(),e=Yt(le().index,t);return function(t){return t[11]}(yt(e)?e:t)}let rp=(()=>{class t{}return t.\u0275prov=C({token:t,providedIn:"root",factory:()=>null}),t})();class sp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const op=new sp("11.2.11");class ap{constructor(){}supports(t){return pl(t)}create(t){return new cp(t)}}const lp=(t,e)=>e;class cp{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||lp}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),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,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new up(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new dp),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new dp),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,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class up{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class hp{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,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class dp{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new hp,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pp(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new mp(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_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,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,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,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class mp{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 bp(){return new _p([new ap])}let _p=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||bp()),deps:[[t,new ki,new xi]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=C({token:t,providedIn:"root",factory:bp}),t})();function yp(){return new vp([new fp])}let vp=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||yp()),deps:[[t,new ki,new xi]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=C({token:t,providedIn:"root",factory:yp}),t})();function Cp(t,e,n,i,r=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&i.push(Ht(s)),vt(s))for(let t=_t;t-1&&(ks(t,n),Qn(e,n))}this._attachedToViewContainer=!1}Es(this._lView[1],this._lView)}onDestroy(t){Do(this._lView[1],this._lView,null,t)}markForCheck(){Jo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ea(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){ge(!0);try{ea(t,e,n)}finally{ge(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ws(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class xp extends wp{constructor(t){super(t),this._view=t}detectChanges(){na(this._view)}checkNoChanges(){!function(t){ge(!0);try{na(t)}finally{ge(!1)}}(this._view)}get context(){return null}}const Op=Pp,kp=Op;let Ep=(()=>{class t{}return t.__NG_ELEMENT_ID__=kp,t.__ChangeDetectorRef__=!0,t})();function Pp(t=!1){return function(t,e,n){if(!n&&wt(t)){const n=Yt(t.index,e);return new wp(n,n)}return 47&t.type?new wp(e[16],e):null}(le(),se(),t)}const Sp=[new fp],Mp=new _p([new ap]),Ip=new vp(Sp),Ap=Np,Tp=Ap;let Dp=(()=>{class t{}return t.__NG_ELEMENT_ID__=Tp,t})();const jp=Dp,Rp=class extends jp{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=yo(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),xo(e,n,t),new wp(n)}};function Np(){return Fp(le(),se())}function Fp(t,e){return 4&t.type?new Rp(e,t,Xd(t,e)):null}class Vp{}class Lp{}const zp=Up,Bp=zp;let Hp=(()=>{class t{}return t.__NG_ELEMENT_ID__=Bp,t})();function Up(){return Xp(le(),se())}const qp=Hp,Wp=class extends qp{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Xd(this._hostTNode,this._hostLView)}get injector(){return new On(this._hostTNode,this._hostLView)}get parentInjector(){const t=hn(this._hostTNode,this._hostLView);if(en(t)){const e=rn(t,this._hostLView),n=nn(t);return new On(e[1].data[n+8],e)}return new On(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Kp(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-_t}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(Vp,null);t&&(r=t)}const o=t.create(s,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(vt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new Wp(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,i){const r=_t+i,s=n.length;i>0&&(n[r-1][4]=e),i{},cf=new Map;function uf(t){let e=cf.get(t);return e||(e=u(t)+"_"+cf.size,cf.set(t,e)),e}function hf(t,e,n,i){if(dl.isWrapped(i)){i=dl.unwrap(i);const r=t.def.nodes[e].bindingIndex+n,s=dl.unwrap(t.oldValues[r]);t.oldValues[r]=new dl(s)}return i}const df="$$undefined",pf="$$empty";function ff(t){return{id:df,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}let gf=0;function mf(t,e,n,i){return!(!(2&t.state)&&Object.is(t.oldValues[e.bindingIndex+n],i))}function bf(t,e,n,i){return!!mf(t,e,n,i)&&(t.oldValues[e.bindingIndex+n]=i,!0)}function _f(t,e,n,i){const r=t.oldValues[e.bindingIndex+n];if(1&t.state||!hl(r,i)){const s=e.bindings[n].name;throw Gp(af.createDebugContext(t,e.nodeIndex),`${s}: ${r}`,`${s}: ${i}`,0!=(1&t.state))}}function yf(t){let e=t;for(;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function vf(t,e){let n=t;for(;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Cf(t,e,n,i){try{return yf(33554432&t.def.nodes[e].flags?ef(t,e).componentView:t),af.handleEvent(t,e,n,i)}catch(r){t.root.errorHandler.handleError(r)}}function wf(t){return t.parent?ef(t.parent,t.parentNodeDef.nodeIndex):null}function xf(t){return t.parent?t.parentNodeDef.parent:null}function Of(t,e){switch(201347067&e.flags){case 1:return ef(t,e.nodeIndex).renderElement;case 2:return tf(t,e.nodeIndex).renderText}}function kf(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Ef(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Pf(t){return 1<{"number"==typeof t?(e[t]=r,n|=Pf(t)):i[t]=r}),{matchedQueries:e,references:i,matchedQueryIds:n}}function Mf(t,e){return t.map(t=>{let n,i;return Array.isArray(t)?[i,n]=t:(i=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,hi,{value:e,configurable:!0}),{flags:i,token:n,tokenKey:uf(n)}})}function If(t,e,n){let i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&(i.element.componentRendererType.encapsulation===z.ShadowDom||1===i.element.componentRendererType.encapsulation)?ef(t,n.renderParent.nodeIndex).renderElement:void 0:e}const Af=new WeakMap;function Tf(t){let e=Af.get(t);return e||(e=t(()=>lf),e.factory=t,Af.set(t,e)),e}function Df(t,e,n,i,r){3===e&&(n=t.renderer.parentNode(Of(t,t.def.lastRenderRootNode))),jf(t,e,0,t.def.nodes.length-1,n,i,r)}function jf(t,e,n,i,r,s,o){for(let a=n;a<=i;a++){const n=t.def.nodes[a];11&n.flags&&Nf(t,n,e,r,s,o),a+=n.childCount}}function Rf(t,e,n,i,r,s){let o=t;for(;o&&!kf(o);)o=o.parent;const a=o.parent,l=xf(o),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const t=a.def.nodes[u];t.ngContentIndex===e&&Nf(a,t,n,i,r,s),u+=t.childCount}if(!a.parent){const o=t.root.projectableNodes[e];if(o)for(let e=0;e-1}(t,n))}(t,o)){const n=t._providers.length;return t._def.providers[n]=t._def.providersByKey[e.tokenKey]={flags:5120,value:o.factory,deps:[],index:n,token:e.token},t._providers[n]=Kf,t._providers[n]=Jf(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{fi(i)}}function Jf(t,e){let n;switch(201347067&e.flags){case 512:n=function(t,e,n){const i=n.length;switch(i){case 0:return new e;case 1:return new e($f(t,n[0]));case 2:return new e($f(t,n[0]),$f(t,n[1]));case 3:return new e($f(t,n[0]),$f(t,n[1]),$f(t,n[2]));default:const r=[];for(let e=0;e=n.length)&&(e=n.length-1),e<0)return null;const i=n[e];return i.viewContainerParent=null,Qn(n,e),af.dirtyParentQueries(i),ng(i),i}function eg(t,e,n){const i=e?Of(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),s=n.renderer.nextSibling(i);Df(n,2,r,s,void 0)}function ng(t){Df(t,3,null,null,void 0)}const ig={};function rg(t,e,n,i,r,s){return new og(t,e,n,i,r,s)}function sg(t){return t.viewDefFactory}class og extends Ld{constructor(t,e,n,i,r,s){super(),this.selector=t,this.componentType=e,this._inputs=i,this._outputs=r,this.ngContentSelectors=s,this.viewDefFactory=n}get inputs(){const t=[],e=this._inputs;for(let n in e)t.push({propName:n,templateName:e[n]});return t}get outputs(){const t=[];for(let e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t}create(t,e,n,i){if(!i)throw new Error("ngModule should be provided");const r=Tf(this.viewDefFactory),s=r.nodes[0].element.componentProvider.nodeIndex,o=af.createRootView(t,e||[],n,r,i,ig),a=nf(o,s).instance;return n&&o.renderer.setAttribute(ef(o,0).renderElement,"ng-version",op.full),new ag(o,new hg(o),a)}}class ag extends Vd{constructor(t,e,n){super(),this._view=t,this._viewRef=e,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=e,this.changeDetectorRef=e,this.instance=n}get location(){return new Qd(ef(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new gg(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(t){this._viewRef.onDestroy(t)}}function lg(t,e,n){return new cg(t,e,n)}class cg{constructor(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}get element(){return new Qd(this._data.renderElement)}get injector(){return new gg(this._view,this._elDef)}get parentInjector(){let t=this._view,e=this._elDef.parent;for(;!e&&t;)e=xf(t),t=t.parent;return t?new gg(t,e):new gg(this._view,null)}clear(){for(let t=this._embeddedViews.length-1;t>=0;t--){const e=tg(this._data,t);af.destroyView(e)}}get(t){const e=this._embeddedViews[t];if(e){const t=new hg(e);return t.attachToViewContainerRef(this),t}return null}get length(){return this._embeddedViews.length}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;r||t instanceof Wd||(r=s.get(Vp));const o=t.create(s,i,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=t;return function(t,e,n,i){let r=e.viewContainer._embeddedViews;null==n&&(n=r.length),i.viewContainerParent=t,Zn(r,n,i),function(t,e){const n=wf(e);if(!n||n===t||16&e.state)return;e.state|=16;let i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;let n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,i),af.dirtyParentQueries(i),eg(e,n>0?r[n-1]:null,i)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(t._view);return function(t,e,n){const i=t.viewContainer._embeddedViews,r=i[e];Qn(i,e),null==n&&(n=i.length),Zn(i,n,r),af.dirtyParentQueries(r),ng(r),eg(t,n>0?i[n-1]:null,r)}(this._data,n,e),t}indexOf(t){return this._embeddedViews.indexOf(t._view)}remove(t){const e=tg(this._data,t);e&&af.destroyView(e)}detach(t){const e=tg(this._data,t);return e?new hg(e):null}}function ug(t){return new hg(t)}class hg{constructor(t){this._view=t,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(t){const e=[];return Df(t,0,void 0,void 0,e),e}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){yf(this._view)}detach(){this._view.state&=-5}detectChanges(){const t=this._view.root.rendererFactory;t.begin&&t.begin();try{af.checkAndUpdateView(this._view)}finally{t.end&&t.end()}}checkNoChanges(){af.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),af.destroyView(this._view)}detachFromAppRef(){this._appRef=null,ng(this._view),af.dirtyParentQueries(this._view)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}}function dg(t,e){return new pg(t,e)}class pg extends Dp{constructor(t,e){super(),this._parentView=t,this._def=e}createEmbeddedView(t){return new hg(af.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))}get elementRef(){return new Qd(ef(this._parentView,this._def.nodeIndex).renderElement)}}function fg(t,e){return new gg(t,e)}class gg{constructor(t,e){this.view=t,this.elDef=e}get(t,e=Ta.THROW_IF_NOT_FOUND){return af.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:uf(t)},e)}}function mg(t,e){const n=t.def.nodes[e];if(1&n.flags){const e=ef(t,n.nodeIndex);return n.element.template?e.template:e.renderElement}if(2&n.flags)return tf(t,n.nodeIndex).renderText;if(20240&n.flags)return nf(t,n.nodeIndex).instance;throw new Error(`Illegal state: read nodeValue for node index ${e}`)}function bg(t,e,n,i){return new _g(t,e,n,i)}class _g{constructor(t,e,n,i){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){const e=t._def,n=t._providers=$n(e.providers.length);for(let i=0;it())}onDestroy(t){this._destroyListeners.push(t)}}const yg=uf(tp),vg=uf(Qd),Cg=uf(Hp),wg=uf(Dp),xg=uf(Ep),Og=uf(Ta),kg=uf(fa);function Eg(t,e,n,i,r,s,o,a){const l=[];if(o)for(let u in o){const[t,e]=o[u];l[t]={flags:8,name:u,nonMinifiedName:e,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return Mg(t,e|=16384,n,i,r,r,s,l,c)}function Pg(t,e,n){return Mg(-1,t|=16,null,0,e,e,n)}function Sg(t,e,n,i,r){return Mg(-1,t,e,0,n,i,r)}function Mg(t,e,n,i,r,s,o,a,l){const{matchedQueries:c,references:h,matchedQueryIds:d}=Sf(n);l||(l=[]),a||(a=[]),s=f(s);const p=Mf(o,u(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:h,ngContentIndex:-1,childCount:i,bindings:a,bindingFlags:zf(a),outputs:l,element:null,provider:{token:r,value:s,deps:p},text:null,query:null,ngContent:null}}function Ig(t,e){return jg(t,e)}function Ag(t,e){let n=t;for(;n.parent&&!kf(n);)n=n.parent;return Rg(n.parent,xf(n),!0,e.provider.value,e.provider.deps)}function Tg(t,e){const n=Rg(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(let i=0;iCf(t,e,n,i)}function jg(t,e){const n=(8192&e.flags)>0,i=e.provider;switch(201347067&e.flags){case 512:return Rg(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,r){const s=r.length;switch(s){case 0:return i();case 1:return i(Fg(t,e,n,r[0]));case 2:return i(Fg(t,e,n,r[0]),Fg(t,e,n,r[1]));case 3:return i(Fg(t,e,n,r[0]),Fg(t,e,n,r[1]),Fg(t,e,n,r[2]));default:const o=[];for(let i=0;ios});class Kg extends Ld{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(oo).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return qg(this.componentDef.inputs)}get outputs(){return qg(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,Ng,r);return s!==Ng||i===Ng?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(Jd,Bt),o=r.get(rp,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?To(a,n,this.componentDef.encapsulation):xs(s.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?Rt:"math"===e?Nt:null}(l)),u=this.componentDef.onPush?576:528,h=Qa(),d=Ao(0,null,null,1,0,null,null,null,null,null),p=yo(null,d,h,u,null,null,s,a,o,r);let f,g;Me(p);try{const t=Ga(c,this.componentDef,p,s,a);if(c)if(n)Ze(a,c,["ng-version",op.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&Xs(a,c,e.join(" "))}if(g=Wt(d,bt),void 0!==e){const t=g.projection=[];for(let n=0;n{const r=t;null!==e&&(r.hasOwnProperty("decorators")&&void 0!==r.decorators?r.decorators.push(...e):r.decorators=e),null!==n&&(r.ctorParameters=n),null!==i&&(r.propDecorators=r.hasOwnProperty("propDecorators")&&void 0!==r.propDecorators?Object.assign(Object.assign({},r.propDecorators),i):i)})}const Gg=new Map;function Zg(t,e){const n=Gg.get(t);Qg(t,n&&n.moduleType,e.moduleType),Gg.set(t,e)}function Qg(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}function $g(t){const e=new Set;!function t(n){const i=mt(n,!0),r=i.id;null!==r&&(Qg(r,Gg.get(r),n),Gg.set(r,n));const s=us(i.imports);for(const o of s)e.has(o)||(e.add(o),t(o))}(t)}function Jg(t){return Gg.get(t)||at[t]}class tm extends Vp{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ug(this);const n=mt(t),i=t[J]||null;i&&Ih(i),this._bootstrapComponents=us(n.bootstrap),this._r3Injector=xa(t,e,[{provide:Vp,useValue:this},{provide:Ud,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ta.THROW_IF_NOT_FOUND,n=A.Default){return t===Ta||t===Vp||t===fa?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class em extends Lp{constructor(t){super(),this.moduleType=t,null!==mt(t)&&$g(t)}create(t){return new tm(this.moduleType,t)}}function nm(t,e,n){const i=me()+t,r=se();return r[i]===ao?gl(r,i,n?e.call(n):e()):ml(r,i)}function im(t,e,n,i){return pm(se(),me(),t,e,n,i)}function rm(t,e,n,i,r){return fm(se(),me(),t,e,n,i,r)}function sm(t,e,n,i,r,s){return gm(se(),me(),t,e,n,i,r,s)}function om(t,e,n,i,r,s,o){return mm(se(),me(),t,e,n,i,r,s,o)}function am(t,e,n,i,r,s,o,a){const l=me()+t,c=se(),u=vl(c,l,n,i,r,s);return bl(c,l+4,o)||u?gl(c,l+5,a?e.call(a,n,i,r,s,o):e(n,i,r,s,o)):ml(c,l+5)}function lm(t,e,n,i,r,s,o,a,l){const c=me()+t,u=se(),h=vl(u,c,n,i,r,s);return _l(u,c+4,o,a)||h?gl(u,c+6,l?e.call(l,n,i,r,s,o,a):e(n,i,r,s,o,a)):ml(u,c+6)}function cm(t,e,n,i,r,s,o,a,l,c){const u=me()+t,h=se();let d=vl(h,u,n,i,r,s);return yl(h,u+4,o,a,l)||d?gl(h,u+7,c?e.call(c,n,i,r,s,o,a,l):e(n,i,r,s,o,a,l)):ml(h,u+7)}function um(t,e,n,i,r,s,o,a,l,c,u){const h=me()+t,d=se(),p=vl(d,h,n,i,r,s);return vl(d,h+4,o,a,l,c)||p?gl(d,h+8,u?e.call(u,n,i,r,s,o,a,l,c):e(n,i,r,s,o,a,l,c)):ml(d,h+8)}function hm(t,e,n,i){return bm(se(),me(),t,e,n,i)}function dm(t,e){const n=t[e];return n===ao?void 0:n}function pm(t,e,n,i,r,s){const o=e+n;return bl(t,o,r)?gl(t,o+1,s?i.call(s,r):i(r)):dm(t,o+1)}function fm(t,e,n,i,r,s,o){const a=e+n;return _l(t,a,r,s)?gl(t,a+2,o?i.call(o,r,s):i(r,s)):dm(t,a+2)}function gm(t,e,n,i,r,s,o,a){const l=e+n;return yl(t,l,r,s,o)?gl(t,l+3,a?i.call(a,r,s,o):i(r,s,o)):dm(t,l+3)}function mm(t,e,n,i,r,s,o,a,l){const c=e+n;return vl(t,c,r,s,o,a)?gl(t,c+4,l?i.call(l,r,s,o,a):i(r,s,o,a)):dm(t,c+4)}function bm(t,e,n,i,r,s){let o=e+n,a=!1;for(let l=0;l=0;n--){const i=e[n];if(t===i.name)return i}throw new m("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=kt(i.type)),o=j(vc);try{const t=on(!1),e=s();return on(t),Bl(n,se(),r,e),e}finally{j(o)}}function ym(t,e,n){const i=t+bt,r=se(),s=Kt(r,i);return km(r,Om(r,i)?pm(r,me(),e,s.transform,n,s):s.transform(n))}function vm(t,e,n,i){const r=t+bt,s=se(),o=Kt(s,r);return km(s,Om(s,r)?fm(s,me(),e,o.transform,n,i,o):o.transform(n,i))}function Cm(t,e,n,i,r){const s=t+bt,o=se(),a=Kt(o,s);return km(o,Om(o,s)?gm(o,me(),e,a.transform,n,i,r,a):a.transform(n,i,r))}function wm(t,e,n,i,r,s){const o=t+bt,a=se(),l=Kt(a,o);return km(a,Om(a,o)?mm(a,me(),e,l.transform,n,i,r,s,l):l.transform(n,i,r,s))}function xm(t,e,n){const i=t+bt,r=se(),s=Kt(r,i);return km(r,Om(r,i)?bm(r,me(),e,s.transform,n,s):s.transform.apply(s,n))}function Om(t,e){return t[1].data[e].pure}function km(t,e){return dl.isWrapped(e)&&(e=dl.unwrap(e),t[be()]=ao),e}function Em(t){return e=>{setTimeout(t,void 0,e)}}const Pm=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var i,s,o;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(i=e.next)||void 0===i?void 0:i.bind(e),l=null===(s=e.error)||void 0===s?void 0:s.bind(e),c=null===(o=e.complete)||void 0===o?void 0:o.bind(e)}this.__isAsync&&(l=Em(l),a&&(a=Em(a)),c&&(c=Em(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof r.a&&t.add(u),u}};function Sm(){return this._results[ul()]()}class Mm{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 e=ul(),n=Mm.prototype;n[e]||(n[e]=Sm)}get changes(){return this._changes||(this._changes=new Pm)}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,e){return this._results.reduce(t,e)}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,e){const n=this;n.dirty=!1;const i=Xn(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let i=0;i0)i.push(o[t/2]);else{const r=s[t+1],o=e[-n];for(let t=_t;t({"\u0275\u0275attribute":Cl,"\u0275\u0275attributeInterpolate1":Al,"\u0275\u0275attributeInterpolate2":Tl,"\u0275\u0275attributeInterpolate3":Dl,"\u0275\u0275attributeInterpolate4":jl,"\u0275\u0275attributeInterpolate5":Rl,"\u0275\u0275attributeInterpolate6":Nl,"\u0275\u0275attributeInterpolate7":Fl,"\u0275\u0275attributeInterpolate8":Vl,"\u0275\u0275attributeInterpolateV":Ll,"\u0275\u0275defineComponent":it,"\u0275\u0275defineDirective":ht,"\u0275\u0275defineInjectable":C,"\u0275\u0275defineInjector":x,"\u0275\u0275defineNgModule":lt,"\u0275\u0275definePipe":dt,"\u0275\u0275directiveInject":vc,"\u0275\u0275getInheritedFactory":kn,"\u0275\u0275inject":mi,"\u0275\u0275injectAttribute":Pn,"\u0275\u0275invalidFactory":Cc,"\u0275\u0275invalidFactoryDep":bi,"\u0275\u0275injectPipeChangeDetectorRef":Ym,"\u0275\u0275templateRefExtractor":Km,"\u0275\u0275NgOnChangesFeature":Pt,"\u0275\u0275ProvidersFeature":Fd,"\u0275\u0275CopyDefinitionFeature":ll,"\u0275\u0275InheritDefinitionFeature":el,"\u0275\u0275nextContext":Lc,"\u0275\u0275namespaceHTML":Be,"\u0275\u0275namespaceMathML":ze,"\u0275\u0275namespaceSVG":Le,"\u0275\u0275enableBindings":ie,"\u0275\u0275disableBindings":re,"\u0275\u0275elementStart":Oc,"\u0275\u0275elementEnd":kc,"\u0275\u0275element":Ec,"\u0275\u0275elementContainerStart":Pc,"\u0275\u0275elementContainerEnd":Sc,"\u0275\u0275elementContainer":Mc,"\u0275\u0275pureFunction0":nm,"\u0275\u0275pureFunction1":im,"\u0275\u0275pureFunction2":rm,"\u0275\u0275pureFunction3":sm,"\u0275\u0275pureFunction4":om,"\u0275\u0275pureFunction5":am,"\u0275\u0275pureFunction6":lm,"\u0275\u0275pureFunction7":cm,"\u0275\u0275pureFunction8":um,"\u0275\u0275pureFunctionV":hm,"\u0275\u0275getCurrentView":Ic,"\u0275\u0275restoreView":ae,"\u0275\u0275listener":jc,"\u0275\u0275projection":Hc,"\u0275\u0275syntheticHostProperty":dh,"\u0275\u0275syntheticHostListener":Rc,"\u0275\u0275pipeBind1":ym,"\u0275\u0275pipeBind2":vm,"\u0275\u0275pipeBind3":Cm,"\u0275\u0275pipeBind4":wm,"\u0275\u0275pipeBindV":xm,"\u0275\u0275projectionDef":Bc,"\u0275\u0275hostProperty":hh,"\u0275\u0275property":wc,"\u0275\u0275propertyInterpolate":Uc,"\u0275\u0275propertyInterpolate1":qc,"\u0275\u0275propertyInterpolate2":Wc,"\u0275\u0275propertyInterpolate3":Kc,"\u0275\u0275propertyInterpolate4":Yc,"\u0275\u0275propertyInterpolate5":Xc,"\u0275\u0275propertyInterpolate6":Gc,"\u0275\u0275propertyInterpolate7":Zc,"\u0275\u0275propertyInterpolate8":Qc,"\u0275\u0275propertyInterpolateV":$c,"\u0275\u0275pipe":_m,"\u0275\u0275queryRefresh":Lm,"\u0275\u0275viewQuery":zm,"\u0275\u0275loadQuery":Hm,"\u0275\u0275contentQuery":Bm,"\u0275\u0275reference":Hl,"\u0275\u0275classMap":fu,"\u0275\u0275classMapInterpolate1":Vu,"\u0275\u0275classMapInterpolate2":Lu,"\u0275\u0275classMapInterpolate3":zu,"\u0275\u0275classMapInterpolate4":Bu,"\u0275\u0275classMapInterpolate5":Hu,"\u0275\u0275classMapInterpolate6":Uu,"\u0275\u0275classMapInterpolate7":qu,"\u0275\u0275classMapInterpolate8":Wu,"\u0275\u0275classMapInterpolateV":Ku,"\u0275\u0275styleMap":du,"\u0275\u0275styleMapInterpolate1":Yu,"\u0275\u0275styleMapInterpolate2":Xu,"\u0275\u0275styleMapInterpolate3":Gu,"\u0275\u0275styleMapInterpolate4":Zu,"\u0275\u0275styleMapInterpolate5":Qu,"\u0275\u0275styleMapInterpolate6":$u,"\u0275\u0275styleMapInterpolate7":Ju,"\u0275\u0275styleMapInterpolate8":th,"\u0275\u0275styleMapInterpolateV":eh,"\u0275\u0275styleProp":uu,"\u0275\u0275stylePropInterpolate1":nh,"\u0275\u0275stylePropInterpolate2":ih,"\u0275\u0275stylePropInterpolate3":rh,"\u0275\u0275stylePropInterpolate4":sh,"\u0275\u0275stylePropInterpolate5":oh,"\u0275\u0275stylePropInterpolate6":ah,"\u0275\u0275stylePropInterpolate7":lh,"\u0275\u0275stylePropInterpolate8":ch,"\u0275\u0275stylePropInterpolateV":uh,"\u0275\u0275classProp":hu,"\u0275\u0275advance":lo,"\u0275\u0275template":zl,"\u0275\u0275text":Pu,"\u0275\u0275textInterpolate":Su,"\u0275\u0275textInterpolate1":Mu,"\u0275\u0275textInterpolate2":Iu,"\u0275\u0275textInterpolate3":Au,"\u0275\u0275textInterpolate4":Tu,"\u0275\u0275textInterpolate5":Du,"\u0275\u0275textInterpolate6":ju,"\u0275\u0275textInterpolate7":Ru,"\u0275\u0275textInterpolate8":Nu,"\u0275\u0275textInterpolateV":Fu,"\u0275\u0275i18n":kd,"\u0275\u0275i18nAttributes":Ed,"\u0275\u0275i18nExp":Pd,"\u0275\u0275i18nStart":xd,"\u0275\u0275i18nEnd":Od,"\u0275\u0275i18nApply":Sd,"\u0275\u0275i18nPostprocess":Md,"\u0275\u0275resolveWindow":as,"\u0275\u0275resolveDocument":ls,"\u0275\u0275resolveBody":cs,"\u0275\u0275setComponentScope":rt,"\u0275\u0275setNgModuleScope":ct,"\u0275\u0275sanitizeHtml":Ar,"\u0275\u0275sanitizeStyle":Tr,"\u0275\u0275sanitizeResourceUrl":jr,"\u0275\u0275sanitizeScript":Rr,"\u0275\u0275sanitizeUrl":Dr,"\u0275\u0275sanitizeUrlOrResourceUrl":Lr,"\u0275\u0275trustConstantHtml":Nr,"\u0275\u0275trustConstantResourceUrl":Fr,forwardRef:p,resolveForwardRef:f}))();let Gm=null;function Zm(){Gm=null}const Qm=[],$m=[];let Jm=!1;function tb(){if(!Jm){Jm=!0;try{for(let t=$m.length-1;t>=0;t--){const{moduleType:e,ngModule:n}=$m[t];n.declarations&&n.declarations.every(eb)&&($m.splice(t,1),ab(e,n))}}finally{Jm=!1}}}function eb(t){return Array.isArray(t)?t.every(eb):!!f(t)}function nb(t,e={}){ib(t,e),function(t,e){$m.push({moduleType:t,ngModule:e})}(t,e)}function ib(t,e,n=!1){const i=Xn(e.declarations||Qm);let r=null;Object.defineProperty(t,$,{configurable:!0,get:()=>(null===r&&(r=Wn().compileNgModule(Xm,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:Xn(e.bootstrap||Qm).map(f),declarations:i.map(f),imports:Xn(e.imports||Qm).map(f).map(ub),exports:Xn(e.exports||Qm).map(f).map(ub),schemas:e.schemas?Xn(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let s=null;Object.defineProperty(t,tt,{get:()=>{if(null===s){const e=Wn();s=e.compileFactory(Xm,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:Mi(t),injectFn:"inject",target:e.R3FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let o=null;Object.defineProperty(t,S,{get:()=>{if(null===o){const n={name:t.name,type:t,providers:e.providers||Qm,imports:[(e.imports||Qm).map(f),(e.exports||Qm).map(f)]};o=Wn().compileInjector(Xm,`ng:///${t.name}/\u0275inj.js`,n)}return o},configurable:!1})}let rb=new Map,sb=new Map;function ob(){rb=new Map,sb=new Map,$m.length=0}function ab(t,e){const n=Xn(e.declarations||Qm),i=cb(t);n.forEach(e=>{e.hasOwnProperty(G)?lb(pt(e),i):e.hasOwnProperty(Z)||e.hasOwnProperty(Q)||(e.ngSelectorScope=t)})}function lb(t,e){t.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(G)?pt(t):ft(t)).filter(t=>!!t),t.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>gt(t)),t.schemas=e.schemas,t.tView=null}function cb(t){if(!hb(t))throw new Error(`${t.name} does not have a module def (\u0275mod property)`);const e=mt(t);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;const n={schemas:e.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return us(e.imports).forEach(t=>{const e=t;if(!hb(e))throw new Error(`Importing ${e.name} which does not have a \u0275mod property`);const i=cb(e);i.exported.directives.forEach(t=>n.compilation.directives.add(t)),i.exported.pipes.forEach(t=>n.compilation.pipes.add(t))}),us(e.declarations).forEach(t=>{gt(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)}),us(e.exports).forEach(t=>{const e=t;if(hb(e)){const t=cb(e);t.exported.directives.forEach(t=>{n.compilation.directives.add(t),n.exported.directives.add(t)}),t.exported.pipes.forEach(t=>{n.compilation.pipes.add(t),n.exported.pipes.add(t)})}else gt(e)?n.exported.pipes.add(e):n.exported.directives.add(e)}),e.transitiveCompileScopes=n,n}function ub(t){return function(t){return void 0!==t.ngModule}(t)?t.ngModule:t}function hb(t){return!!mt(t)}let db=0;function pb(t,e){let n=null;!function(t,e){ji(e)&&(Ti.set(t,e),Di.add(t))}(t,e),mb(t,e),Object.defineProperty(t,G,{get:()=>{if(null===n){const i=Wn();if(ji(e)){const n=[`Component '${t.name}' is not resolved:`];throw e.templateUrl&&n.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=Gm;let s=e.preserveWhitespaces;void 0===s&&(s=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let o=e.encapsulation;void 0===o&&(o=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:z.Emulated);const a=e.templateUrl||`ng:///${t.name}/template.html`,l=Object.assign(Object.assign({},_b(t,e)),{typeSourceSpan:i.createParseSourceSpan("Component",t.name,a),template:e.template||"",preserveWhitespaces:s,styles:e.styles||X,animations:e.animations,directives:[],changeDetection:e.changeDetection,pipes:new Map,encapsulation:o,interpolation:e.interpolation,viewProviders:e.viewProviders||null});db++;try{l.usesInheritance&&yb(t),n=i.compileComponent(Xm,a,l)}finally{db--}if(0===db&&tb(),void 0!==t.ngSelectorScope){const e=cb(t.ngSelectorScope);lb(n,e)}}return n},configurable:!1})}function fb(t,e){let n=null;mb(t,e||{}),Object.defineProperty(t,Z,{get:()=>{if(null===n){const i=gb(t,e||{});n=Wn().compileDirective(Xm,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function gb(t,e){const n=t&&t.name,i=`ng:///${n}/\u0275dir.js`,r=Wn(),s=_b(t,e);return s.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),s.usesInheritance&&yb(t),{metadata:s,sourceMapUrl:i}}function mb(t,e){let n=null;Object.defineProperty(t,tt,{get:()=>{if(null===n){const i=gb(t,e),r=Wn();n=r.compileFactory(Xm,`ng:///${t.name}/\u0275fac.js`,Object.assign(Object.assign({},i.metadata),{injectFn:"directiveInject",target:r.R3FactoryTarget.Directive}))}return n},configurable:!1})}function bb(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function _b(t,e){const n=Si(),i=n.ownPropMetadata(t);return{name:t.name,type:t,typeArgumentCount:0,selector:void 0!==e.selector?e.selector:null,deps:Mi(t),host:e.host||K,propMetadata:i,inputs:e.inputs||X,outputs:e.outputs||X,queries:Cb(t,i,wb),lifecycle:{usesOnChanges:n.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!bb(t),exportAs:(r=e.exportAs,void 0===r?null:kb(r)),providers:e.providers||null,viewQueries:Cb(t,i,xb)};var r}function yb(t){const e=Object.prototype;let n=Object.getPrototypeOf(t.prototype).constructor;for(;n&&n!==e;)ft(n)||pt(n)||!Pb(n)||fb(n,null),n=Object.getPrototypeOf(n)}function vb(t,e){return{propertyName:t,predicate:(n=e.selector,"string"==typeof n?kb(n):f(n)),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly};var n}function Cb(t,e,n){const i=[];for(const r in e)if(e.hasOwnProperty(r)){const s=e[r];s.forEach(e=>{if(n(e)){if(!e.selector)throw new Error(`Can't construct a query for the property "${r}" of "${_(t)}" since the query selector wasn't defined.`);if(s.some(Ob))throw new Error("Cannot combine @Input decorators with query decorators");i.push(vb(r,e))}})}return i}function wb(t){const e=t.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function xb(t){const e=t.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function Ob(t){return"Input"===t.ngMetadataName}function kb(t){return t.split(",").map(t=>t.trim())}const Eb=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Pb(t){const e=Si();if(Eb.some(n=>e.hasLifecycleHook(t,n)))return!0;const n=e.propMetadata(t);for(const i in n){const t=n[i];for(let e=0;e{if(null===i){const n=Mb(t,e),r=Wn();i=r.compileFactory(Xm,`ng:///${n.name}/\u0275fac.js`,Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:r.R3FactoryTarget.Pipe}))}return i},configurable:!1}),Object.defineProperty(t,Q,{get:()=>{if(null===n){const i=Mb(t,e);n=Wn().compilePipe(Xm,`ng:///${i.name}/\u0275pipe.js`,i)}return n},configurable:!1})}function Mb(t,e){return{type:t,typeArgumentCount:0,name:t.name,deps:Mi(t),pipeName:e.name,pure:void 0===e.pure||e.pure}}const Ib=An("Directive",(t={})=>t,void 0,void 0,(t,e)=>Bb(t,e)),Ab=An("Component",(t={})=>Object.assign({changeDetection:F.Default},t),Ib,void 0,(t,e)=>zb(t,e)),Tb=An("Pipe",t=>Object.assign({pure:!0},t),void 0,void 0,(t,e)=>Hb(t,e)),Db=jn("Input",t=>({bindingPropertyName:t})),jb=jn("Output",t=>({bindingPropertyName:t})),Rb=jn("HostBinding",t=>({hostPropertyName:t})),Nb=jn("HostListener",(t,e)=>({eventName:t,args:e})),Fb=pb,Vb=fb,Lb=Sb,zb=Fb,Bb=Vb,Hb=Lb,Ub=An("NgModule",t=>t,void 0,void 0,(t,e)=>Wb(t,e)),qb=nb,Wb=qb,Kb=new Fn("Application Initializer");let Yb=(()=>{class t{constructor(t){this.appInits=t,this.resolve=Kd,this.reject=Kd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(mi(Kb,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const Xb=new Fn("AppId");function Gb(){return`${Qb()}${Qb()}${Qb()}`}const Zb={provide:Xb,useFactory:Gb,deps:[]};function Qb(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const $b=new Fn("Platform Initializer"),Jb=new Fn("Platform ID"),t_=new Fn("appBootstrapListener"),e_=new Fn("Application Packages Root URL");let n_=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const i_=new Fn("LocaleId"),r_=new Fn("DefaultCurrencyCode"),s_=new Fn("Translations"),o_=new Fn("TranslationsFormat");var a_=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}({});const l_=!0,c_=l_;class u_{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const h_=function(t){return new em(t)},d_=h_,p_=function(t){return Promise.resolve(h_(t))},f_=p_,g_=function(t){const e=h_(t),n=us(mt(t).declarations).reduce((t,e)=>{const n=pt(e);return n&&t.push(new Kg(n)),t},[]);return new u_(e,n)},m_=g_,b_=function(t){return Promise.resolve(g_(t))},__=b_;let y_=(()=>{class t{constructor(){this.compileModuleSync=d_,this.compileModuleAsync=f_,this.compileModuleAndAllComponentsSync=m_,this.compileModuleAndAllComponentsAsync=__}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();const v_=new Fn("compilerOptions");class C_{}const w_=(()=>Promise.resolve(0))();function x_(t){"undefined"==typeof Zone?w_.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class O_{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pm(!1),this.onMicrotaskEmpty=new Pm(!1),this.onStable=new Pm(!1),this.onError=new Pm(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let t=W.requestAnimationFrame,e=W.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(W,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,P_(t),E_(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),P_(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{try{return S_(t),n.invokeTask(r,s,o,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),M_(t)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return S_(t),n.invoke(r,s,o,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),M_(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,P_(t),E_(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!O_.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(O_.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,k_,Kd,Kd);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const k_={};function E_(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function P_(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function S_(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function M_(t){t._nesting--,E_(t)}class I_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pm,this.onMicrotaskEmpty=new Pm,this.onStable=new Pm,this.onError=new Pm}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let A_=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{O_.assertNotInAngularZone(),x_(()=>{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())x_(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(mi(O_))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})(),T_=(()=>{class t{constructor(){this._applications=new Map,N_.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return N_.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();class D_{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function j_(t){N_=t}let R_,N_=new D_,F_=!0,V_=!1;function L_(){return V_=!0,F_}function z_(){if(V_)throw new Error("Cannot enable prod mode after platform setup.");F_=!1}let B_=H_;function H_(t,e,n){const i=new em(n);return Promise.resolve(i)}let U_=q_;function q_(t){return t.isBoundToModule}const W_=new Fn("AllowMultipleToken");class K_{constructor(t,e){this.name=t,this.token=e}}function Y_(t){if(R_&&!R_.destroyed&&!R_.injector.get(W_,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");R_=t.get($_);const e=t.get($b,null);return e&&e.forEach(t=>t()),R_}function X_(t,e,n=[]){const i=`Platform: ${e}`,r=new Fn(i);return(e=[])=>{let s=Q_();if(!s||s.injector.get(W_,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:ma,useValue:"platform"});Y_(Ta.create({providers:t,name:i}))}return G_(r)}}function G_(t){const e=Q_();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function Z_(){R_&&!R_.destroyed&&R_.destroy()}function Q_(){return R_&&!R_.destroyed?R_:null}let $_=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new I_:("zone.js"===t?void 0:t)||new O_({enableLongStackTrace:L_(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),i=[{provide:O_,useValue:n}];return n.run(()=>{const e=Ta.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(qr,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});r.onDestroy(()=>{ey(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return Ac(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(Yb);return t.runInitializers(),t.donePromise.then(()=>(c_&&Ih(r.injector.get(i_,Oh)||Oh),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=J_({},e);return B_(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(ty);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(mi(Ta))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function J_(t,e){return Array.isArray(e)?e.reduce(J_,t):Object.assign(Object.assign({},t),e)}let ty=(()=>{class t{constructor(t,e,n,i,r){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{O_.assertNotInAngularZone(),x_(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{O_.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,c.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof Ld?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=U_(n)?void 0:this._injector.get(Vp),r=n.create(Ta.NULL,[],e||n.selector,i),s=r.location.nativeElement,o=r.injector.get(A_,null),a=o&&r.injector.get(T_);return o&&a&&a.registerApplication(s,o),r.onDestroy(()=>{this.detachView(r.hostView),ey(this.components,r),a&&a.unregisterApplication(s)}),this._loadComponent(r),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;ey(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(t_,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(mi(O_),mi(Ta),mi(qr),mi(Ud),mi(Yb))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function ey(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ny{}function iy(t){const e=Jg(t);if(!e)throw oy(t);return e}function ry(t){const e=Jg(t);if(!e)throw oy(t);return new em(e)}const sy=ry;function oy(t){return new Error(`No module with ID ${t} loaded`)}class ay{}const ly={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let cy=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||ly}load(t){return!c_&&this._compiler instanceof y_?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>uy(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>uy(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(mi(y_),mi(ay,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t})();function uy(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class hy extends Ep{}class dy extends hy{}class py{constructor(t,e){this.name=t,this.callback=e}}class fy{constructor(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof gy&&e.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class gy extends fy{constructor(t,e,n){super(t,e,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=t}addChild(t){t&&(this.childNodes.push(t),t.parent=this)}removeChild(t){const e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))}insertChildrenAfter(t,e){const n=this.childNodes.indexOf(t);-1!==n&&(this.childNodes.splice(n+1,0,...e),e.forEach(e=>{e.parent&&e.parent.removeChild(e),t.parent=this}))}insertBefore(t,e){const n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return by(this,t,e),e}queryAllNodes(t){const e=[];return _y(this,t,e),e}get children(){return this.childNodes.filter(t=>t instanceof gy)}triggerEventHandler(t,e){this.listeners.forEach(n=>{n.name==t&&n.callback(e)})}}function my(t){return t.map(t=>t.nativeElement)}function by(t,e,n){t.childNodes.forEach(t=>{t instanceof gy&&(e(t)&&n.push(t),by(t,e,n))})}function _y(t,e,n){t instanceof gy&&t.childNodes.forEach(t=>{e(t)&&n.push(t),t instanceof gy&&_y(t,e,n)})}class yy{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new vy(t):null}get injector(){return Fa(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Da(t)||Ra(t))}get context(){return Da(this.nativeNode)||ja(this.nativeNode)}get listeners(){return Ba(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function(t){const e=La(t,!1);return null===e?{}:(void 0===e.localRefs&&(e.localRefs=function(t,e){const n=t[1].data[e];if(n&&n.localNames){const e={};let i=n.index+1;for(let r=0;r1){let i=o[1];for(let t=1;tt[e]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,e=[];for(let n=0;n{if(r.name===t){const t=r.callback;t.call(n,e),i.push(t)}}),"function"==typeof n.eventListeners&&n.eventListeners(t).forEach(t=>{if(-1!==t.toString().indexOf("__ngUnwrap__")){const r=t("__ngUnwrap__");return-1===i.indexOf(r)&&r.call(n,e)}})}}function Cy(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function wy(t,e,n,i){const r=La(t.nativeNode,!1);null!==r?xy(r.lView[1].data[r.nodeIndex],r.lView,e,n,i,t.nativeNode):Ey(t.nativeNode,e,n,i)}function xy(t,e,n,i,r,s){const o=function(t,e){const n=null===t?-1:t.index;return-1!==n?Ht(e[n]):null}(t,e);if(11&t.type){if(ky(o,n,i,r,s),wt(t)){const o=Yt(t.index,e);o&&o[1].firstChild&&xy(o[1].firstChild,o,n,i,r,s)}else t.child&&xy(t.child,e,n,i,r,s),o&&Ey(o,n,i,r);const a=e[t.index];vt(a)&&Oy(a,n,i,r,s)}else if(4&t.type){const o=e[t.index];ky(o[7],n,i,r,s),Oy(o,n,i,r,s)}else if(16&t.type){const o=e[16],a=o[6].projection[t.projection];if(Array.isArray(a))for(let t of a)ky(t,n,i,r,s);else if(a){const t=o[3];xy(t[1].data[a.index],t,n,i,r,s)}}else t.child&&xy(t.child,e,n,i,r,s);if(s!==o){const o=4&t.flags?t.projectionNext:t.next;o&&xy(o,e,n,i,r,s)}}function Oy(t,e,n,i,r){for(let s=_t;s{for(;e.length;)e.pop()()}),function(t){e.push(t)}}let Hy=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(mi(ty))},t.\u0275mod=lt({type:t}),t.\u0275inj=x({providers:zy}),t})();function Uy(t,e,n,i,r,s){t|=1;const{matchedQueries:o,references:a,matchedQueryIds:l}=Sf(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:s?Tf(s):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||lf},provider:null,text:null,query:null,ngContent:null}}function qy(t,e,n,i,r,s,o=[],a,l,c,u,h){c||(c=lf);const{matchedQueries:d,references:p,matchedQueryIds:f}=Sf(n);let g=null,m=null;s&&([g,m]=Lf(s)),a=a||[];const b=[];for(let v=0;v{const[n,i]=Lf(t);return[n,i,e]});return h=function(t){if(t&&t.id===df){const e=null!=t.encapsulation&&t.encapsulation!==z.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+gf++:pf}return t&&t.id===pf&&(t=null),t||null}(h),u&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:p,ngContentIndex:i,childCount:r,bindings:b,bindingFlags:zf(b),outputs:_,element:{ns:g,name:m,attrs:y,template:null,componentProvider:null,componentView:u||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||lf},provider:null,text:null,query:null,ngContent:null}}function Wy(t,e,n){const i=n.element,r=t.root.selectorOrNode,s=t.renderer;let o;if(t.parent||!r){o=i.name?s.createElement(i.name,i.ns):s.createComment("");const r=If(t,e,n);r&&s.appendChild(r,o)}else o=s.selectRootElement(r,!!i.componentRendererType&&i.componentRendererType.encapsulation===z.ShadowDom);if(i.attrs)for(let a=0;aCf(t,e,n,i)}function Xy(t,e,n,i){if(!bf(t,e,n,i))return!1;const r=e.bindings[n],s=ef(t,e.nodeIndex),o=s.renderElement,a=r.name;switch(15&r.flags){case 1:!function(t,e,n,i,r,s){const o=e.securityContext;let a=o?t.root.sanitizer.sanitize(o,s):s;a=null!=a?a.toString():null;const l=t.renderer;null!=s?l.setAttribute(n,r,a,i):l.removeAttribute(n,r,i)}(t,r,o,r.ns,a,i);break;case 2:!function(t,e,n,i){const r=t.renderer;i?r.addClass(e,n):r.removeClass(e,n)}(t,o,a,i);break;case 4:!function(t,e,n,i,r){let s=t.root.sanitizer.sanitize(Ir.STYLE,r);if(null!=s){s=s.toString();const t=e.suffix;null!=t&&(s+=t)}else s=null;const o=t.renderer;null!=s?o.setStyle(n,i,s):o.removeStyle(n,i)}(t,r,o,a,i);break;case 8:!function(t,e,n,i,r){const s=e.securityContext;let o=s?t.root.sanitizer.sanitize(s,r):r;t.renderer.setProperty(n,i,o)}(33554432&e.flags&&32&r.flags?s.componentView:t,r,o,a,i)}return!0}function Gy(t,e,n){let i=[];for(let r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Pf(e),bindings:i},ngContent:null}}function Zy(t){const e=t.def.nodeMatchedQueries;for(;t.parent&&Ef(t);){let n=t.parentNodeDef;t=t.parent;const i=n.nodeIndex+n.childCount;for(let r=0;r<=i;r++){const i=t.def.nodes[r];67108864&i.flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&sf(t,r).setDirty(),!(1&i.flags&&r+i.childCount0)c=t,uv(t)||(u=t);else for(;c&&f===c.nodeIndex+c.childCount;){const t=c.parent;t&&(t.childFlags|=c.childFlags,t.childMatchedQueries|=c.childMatchedQueries),c=t,u=c&&uv(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:a,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||lf,updateRenderer:i||lf,handleEvent:(t,n,i,r)=>e[n].element.handleEvent(t,i,r),bindingCount:r,outputCount:s,lastRenderRootNode:p}}function uv(t){return 0!=(1&t.flags)&&null===t.element.name}function hv(t,e,n){const i=e.element&&e.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${e.nodeIndex}!`)}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${e.nodeIndex}!`);if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${e.nodeIndex}!`);if(134217728&e.flags&&t)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${e.nodeIndex}!`)}if(e.childCount){const i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${e.nodeIndex}!`)}}function dv(t,e,n,i){const r=gv(t.root,t.renderer,t,e,n);return mv(r,t.component,i),bv(r),r}function pv(t,e,n){const i=gv(t,t.renderer,null,null,e);return mv(i,n,n),bv(i),i}function fv(t,e,n,i){const r=e.element.componentRendererType;let s;return s=r?t.root.rendererFactory.createRenderer(i,r):t.root.renderer,gv(t.root,s,t,e.element.componentProvider,n)}function gv(t,e,n,i,r){const s=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:s,state:13,root:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function mv(t,e,n){t.component=e,t.context=n}function bv(t){let e;kf(t)&&(e=ef(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);const n=t.def,i=t.nodes;for(let r=0;r0&&Xy(t,e,0,n)&&(p=!0),d>1&&Xy(t,e,1,i)&&(p=!0),d>2&&Xy(t,e,2,r)&&(p=!0),d>3&&Xy(t,e,3,s)&&(p=!0),d>4&&Xy(t,e,4,o)&&(p=!0),d>5&&Xy(t,e,5,a)&&(p=!0),d>6&&Xy(t,e,6,l)&&(p=!0),d>7&&Xy(t,e,7,c)&&(p=!0),d>8&&Xy(t,e,8,u)&&(p=!0),d>9&&Xy(t,e,9,h)&&(p=!0),p}(t,e,n,i,r,s,o,a,l,c,u,h);case 2:return function(t,e,n,i,r,s,o,a,l,c,u,h){let d=!1;const p=e.bindings,f=p.length;if(f>0&&bf(t,e,0,n)&&(d=!0),f>1&&bf(t,e,1,i)&&(d=!0),f>2&&bf(t,e,2,r)&&(d=!0),f>3&&bf(t,e,3,s)&&(d=!0),f>4&&bf(t,e,4,o)&&(d=!0),f>5&&bf(t,e,5,a)&&(d=!0),f>6&&bf(t,e,6,l)&&(d=!0),f>7&&bf(t,e,7,c)&&(d=!0),f>8&&bf(t,e,8,u)&&(d=!0),f>9&&bf(t,e,9,h)&&(d=!0),d){let d=e.text.prefix;f>0&&(d+=lv(n,p[0])),f>1&&(d+=lv(i,p[1])),f>2&&(d+=lv(r,p[2])),f>3&&(d+=lv(s,p[3])),f>4&&(d+=lv(o,p[4])),f>5&&(d+=lv(a,p[5])),f>6&&(d+=lv(l,p[6])),f>7&&(d+=lv(c,p[7])),f>8&&(d+=lv(u,p[8])),f>9&&(d+=lv(h,p[9]));const g=tf(t,e.nodeIndex).renderText;t.renderer.setValue(g,d)}return d}(t,e,n,i,r,s,o,a,l,c,u,h);case 16384:return function(t,e,n,i,r,s,o,a,l,c,u,h){const d=nf(t,e.nodeIndex),p=d.instance;let f,g=!1;const m=e.bindings.length;return m>0&&mf(t,e,0,n)&&(g=!0,f=Lg(t,d,e,0,n,f)),m>1&&mf(t,e,1,i)&&(g=!0,f=Lg(t,d,e,1,i,f)),m>2&&mf(t,e,2,r)&&(g=!0,f=Lg(t,d,e,2,r,f)),m>3&&mf(t,e,3,s)&&(g=!0,f=Lg(t,d,e,3,s,f)),m>4&&mf(t,e,4,o)&&(g=!0,f=Lg(t,d,e,4,o,f)),m>5&&mf(t,e,5,a)&&(g=!0,f=Lg(t,d,e,5,a,f)),m>6&&mf(t,e,6,l)&&(g=!0,f=Lg(t,d,e,6,l,f)),m>7&&mf(t,e,7,c)&&(g=!0,f=Lg(t,d,e,7,c,f)),m>8&&mf(t,e,8,u)&&(g=!0,f=Lg(t,d,e,8,u,f)),m>9&&mf(t,e,9,h)&&(g=!0,f=Lg(t,d,e,9,h,f)),f&&p.ngOnChanges(f),65536&e.flags&&Jp(t,256,e.nodeIndex)&&p.ngOnInit(),262144&e.flags&&p.ngDoCheck(),g}(t,e,n,i,r,s,o,a,l,c,u,h);case 32:case 64:case 128:return function(t,e,n,i,r,s,o,a,l,c,u,h){const d=e.bindings;let p=!1;const f=d.length;if(f>0&&bf(t,e,0,n)&&(p=!0),f>1&&bf(t,e,1,i)&&(p=!0),f>2&&bf(t,e,2,r)&&(p=!0),f>3&&bf(t,e,3,s)&&(p=!0),f>4&&bf(t,e,4,o)&&(p=!0),f>5&&bf(t,e,5,a)&&(p=!0),f>6&&bf(t,e,6,l)&&(p=!0),f>7&&bf(t,e,7,c)&&(p=!0),f>8&&bf(t,e,8,u)&&(p=!0),f>9&&bf(t,e,9,h)&&(p=!0),p){const p=rf(t,e.nodeIndex);let g;switch(201347067&e.flags){case 32:g=[],f>0&&g.push(n),f>1&&g.push(i),f>2&&g.push(r),f>3&&g.push(s),f>4&&g.push(o),f>5&&g.push(a),f>6&&g.push(l),f>7&&g.push(c),f>8&&g.push(u),f>9&&g.push(h);break;case 64:g={},f>0&&(g[d[0].name]=n),f>1&&(g[d[1].name]=i),f>2&&(g[d[2].name]=r),f>3&&(g[d[3].name]=s),f>4&&(g[d[4].name]=o),f>5&&(g[d[5].name]=a),f>6&&(g[d[6].name]=l),f>7&&(g[d[7].name]=c),f>8&&(g[d[8].name]=u),f>9&&(g[d[9].name]=h);break;case 128:const t=n;switch(f){case 1:g=t.transform(n);break;case 2:g=t.transform(i);break;case 3:g=t.transform(i,r);break;case 4:g=t.transform(i,r,s);break;case 5:g=t.transform(i,r,s,o);break;case 6:g=t.transform(i,r,s,o,a);break;case 7:g=t.transform(i,r,s,o,a,l);break;case 8:g=t.transform(i,r,s,o,a,l,c);break;case 9:g=t.transform(i,r,s,o,a,l,c,u);break;case 10:g=t.transform(i,r,s,o,a,l,c,u,h)}}p.value=g}return p}(t,e,n,i,r,s,o,a,l,c,u,h);default:throw"unreachable"}}(t,e,i,r,s,o,a,l,c,u,h,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){let i=!1;for(let r=0;r0&&_f(t,e,0,n),d>1&&_f(t,e,1,i),d>2&&_f(t,e,2,r),d>3&&_f(t,e,3,s),d>4&&_f(t,e,4,o),d>5&&_f(t,e,5,a),d>6&&_f(t,e,6,l),d>7&&_f(t,e,7,c),d>8&&_f(t,e,8,u),d>9&&_f(t,e,9,h)}(t,e,i,r,s,o,a,l,c,u,h,d):function(t,e,n){for(let i=0;inew cC(t,e),handleEvent:nC,updateDirectives:iC,updateRenderer:rC}:{setCurrentNode:()=>{},createRootView:Dv,createEmbeddedView:dv,createComponentView:fv,createNgModuleRef:bg,overrideProvider:lf,overrideComponentView:lf,clearOverrides:lf,checkAndUpdateView:yv,checkNoChangesView:_v,destroyView:Ov,createDebugContext:(t,e)=>new cC(t,e),handleEvent:(t,e,n,i)=>t.def.handleEvent(t,e,n,i),updateDirectives:(t,e)=>t.def.updateDirectives(0===e?Kv:Yv,t),updateRenderer:(t,e)=>t.def.updateRenderer(0===e?Kv:Yv,t)};af.setCurrentNode=t.setCurrentNode,af.createRootView=t.createRootView,af.createEmbeddedView=t.createEmbeddedView,af.createComponentView=t.createComponentView,af.createNgModuleRef=t.createNgModuleRef,af.overrideProvider=t.overrideProvider,af.overrideComponentView=t.overrideComponentView,af.clearOverrides=t.clearOverrides,af.checkAndUpdateView=t.checkAndUpdateView,af.checkNoChangesView=t.checkNoChangesView,af.destroyView=t.destroyView,af.resolveDep=Fg,af.createDebugContext=t.createDebugContext,af.handleEvent=t.handleEvent,af.updateDirectives=t.updateDirectives,af.updateRenderer=t.updateRenderer,af.dirtyParentQueries=Zy}function Dv(t,e,n,i,r,s){const o=r.injector.get(Jd);return pv(Rv(t,r,o,e,n),i,s)}function jv(t,e,n,i,r,s){const o=r.injector.get(Jd),a=Rv(t,r,new pC(o),e,n),l=Wv(i);return hC(Qv.create,pv,null,[a,l,s])}function Rv(t,e,n,i,r){const s=e.injector.get(rp),o=e.injector.get(qr),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:i,selectorOrNode:r,sanitizer:s,rendererFactory:n,renderer:a,errorHandler:o}}function Nv(t,e,n,i){const r=Wv(n);return hC(Qv.create,dv,null,[t,e,r,i])}function Fv(t,e,n,i){return n=Bv.get(e.element.componentProvider.provider.token)||Wv(n),hC(Qv.create,fv,null,[t,e,n,i])}function Vv(t,e,n,i){return bg(t,e,n,function(t){const{hasOverrides:e,hasDeprecatedOverrides:n}=function(t){let e=!1,n=!1;return 0===Lv.size||(t.providers.forEach(t=>{const i=Lv.get(t.token);3840&t.flags&&i&&(e=!0,n=n||i.deprecatedBehavior)}),t.modules.forEach(t=>{zv.forEach((i,r)=>{O(r).providedIn===t&&(e=!0,n=n||i.deprecatedBehavior)})})),{hasOverrides:e,hasDeprecatedOverrides:n}}(t);return e?(function(t){for(let e=0;e0){let e=new Set(t.modules);zv.forEach((i,r)=>{if(e.has(O(r).providedIn)){let e={token:r,flags:i.flags|(n?4096:0),deps:Mf(i.deps),value:i.value,index:t.providers.length};t.providers.push(e),t.providersByKey[uf(r)]=e}})}}(t=t.factory(()=>lf)),t):t}(i))}const Lv=new Map,zv=new Map,Bv=new Map;function Hv(t){let e;Lv.set(t.token,t),"function"==typeof t.token&&(e=O(t.token))&&"function"==typeof e.providedIn&&zv.set(t.token,t)}function Uv(t,e){const n=Tf(sg(e)),i=Tf(n.nodes[0].element.componentView);Bv.set(t,i)}function qv(){Lv.clear(),zv.clear(),Bv.clear()}function Wv(t){if(0===Lv.size)return t;const e=function(t){const e=[];let n=null;for(let i=0;ilf);for(let i=0;i"-"+t[1].toLowerCase())}`)]=Qr(a))}const i=e.parent,a=ef(t,i.nodeIndex).renderElement;if(i.element.name)for(let e in n){const i=n[e];null!=i?t.renderer.setAttribute(a,e,i):t.renderer.removeAttribute(a,e)}else t.renderer.setValue(a,Gr(`bindings=${JSON.stringify(n,null,2)}`))}}var r,s}function oC(t,e,n,i){wv(t,e,n,...i)}function aC(t,e){for(let n=e;n(s++,s===r?t.error.bind(t,...e):lf)),s{class t{constructor(e,n,i,o,a){this.platformId=e,this.language=n,this.baseUrl=i,this.nonce=o,this.v3SiteKey=a,this.init(),this.ready=Object(r.isPlatformBrowser)(this.platformId)?t.ready.asObservable():Object(s.a)()}init(){if(!t.ready&&Object(r.isPlatformBrowser)(this.platformId)){const e=new o.a(null);t.ready=e,function(t,e,n,i,r){window.ng2recaptchaloaded=()=>{e(grecaptcha)};const s=document.createElement("script");s.innerHTML="",s.src=`${i||"https://www.google.com/recaptcha/api.js"}?render=${t}&onload=ng2recaptchaloaded${n}`,r&&(s.nonce=r),s.async=!0,s.defer=!0,document.head.appendChild(s)}(this.v3SiteKey||"explicit",t=>e.next(t),this.language?"&hl="+this.language:"",this.baseUrl,this.nonce)}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](a,8),i["\u0275\u0275inject"](l,8),i["\u0275\u0275inject"](c,8),i["\u0275\u0275inject"](h,8))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t.ready=null,t})(),p=0,f=(()=>{class t{constructor(t,e,n,r){this.elementRef=t,this.loader=e,this.zone=n,this.id="ngrecaptcha-"+p++,this.errorMode="default",this.resolved=new i.EventEmitter,this.error=new i.EventEmitter,r&&(this.siteKey=r.siteKey,this.theme=r.theme,this.type=r.type,this.size=r.size,this.badge=r.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(t=>{null!=t&&t.render instanceof Function&&(this.grecaptcha=t,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}errored(t){this.error.emit(t)}captchaResponseCallback(t){this.resolved.emit(t)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const t={badge:this.badge,callback:t=>{this.zone.run(()=>this.captchaResponseCallback(t))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(t["error-callback"]=(...t)=>{this.zone.run(()=>this.errored(t))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,t),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](d),i["\u0275\u0275directiveInject"](i.NgZone),i["\u0275\u0275directiveInject"](u,8))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(t,e){2&t&&i["\u0275\u0275attribute"]("id",e.id)},inputs:{id:"id",errorMode:"errorMode",siteKey:"siteKey",theme:"theme",type:"type",size:"size",badge:"badge",tabIndex:"tabIndex"},outputs:{resolved:"resolved",error:"error"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({}),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[d],imports:[[g]]}),t})()},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("quSY");function s(t,e){return new i.a(n=>{const i=new r.a;let s=0;return i.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jhN1:function(t,e,n){"use strict";n.r(e),n.d(e,"BrowserModule",function(){return at}),n.d(e,"BrowserTransferStateModule",function(){return xt}),n.d(e,"By",function(){return Ot}),n.d(e,"DomSanitizer",function(){return Z}),n.d(e,"EVENT_MANAGER_PLUGINS",function(){return v}),n.d(e,"EventManager",function(){return C}),n.d(e,"HAMMER_GESTURE_CONFIG",function(){return F}),n.d(e,"HAMMER_LOADER",function(){return V}),n.d(e,"HammerGestureConfig",function(){return L}),n.d(e,"HammerModule",function(){return q}),n.d(e,"Meta",function(){return ct}),n.d(e,"Title",function(){return dt}),n.d(e,"TransferState",function(){return Ct}),n.d(e,"VERSION",function(){return kt}),n.d(e,"disableDebugTools",function(){return _t}),n.d(e,"enableDebugTools",function(){return bt}),n.d(e,"makeStateKey",function(){return vt}),n.d(e,"platformBrowser",function(){return st}),n.d(e,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return rt}),n.d(e,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",function(){return it}),n.d(e,"\u0275BrowserDomAdapter",function(){return o}),n.d(e,"\u0275BrowserGetTestability",function(){return d}),n.d(e,"\u0275DomEventsPlugin",function(){return R}),n.d(e,"\u0275DomRendererFactory2",function(){return A}),n.d(e,"\u0275DomSanitizerImpl",function(){return $}),n.d(e,"\u0275DomSharedStylesHost",function(){return O}),n.d(e,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return y}),n.d(e,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",function(){return b}),n.d(e,"\u0275HAMMER_PROVIDERS__POST_R3__",function(){return B}),n.d(e,"\u0275HammerGesturesPlugin",function(){return z}),n.d(e,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return nt}),n.d(e,"\u0275KeyEventsPlugin",function(){return G}),n.d(e,"\u0275NAMESPACE_URIS",function(){return k}),n.d(e,"\u0275SharedStylesHost",function(){return x}),n.d(e,"\u0275TRANSITION_ID",function(){return c}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_a",function(){return tt}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_b",function(){return et}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_c",function(){return ot}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_d",function(){return lt}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_e",function(){return ht}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_f",function(){return wt}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_g",function(){return w}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_h",function(){return H}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_i",function(){return U}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_j",function(){return Q}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_k",function(){return u}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_l",function(){return h}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_m",function(){return m}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_n",function(){return _}),n.d(e,"\u0275angular_packages_platform_browser_platform_browser_o",function(){return s}),n.d(e,"\u0275escapeHtml",function(){return yt}),n.d(e,"\u0275flattenStyles",function(){return M}),n.d(e,"\u0275initDomAdapter",function(){return J}),n.d(e,"\u0275shimContentAttribute",function(){return P}),n.d(e,"\u0275shimHostAttribute",function(){return S});var i=n("ofXK"),r=n("fXoL");n.d(e,"\u0275getDOM",function(){return i["\u0275getDOM"]});class s extends i["\u0275DomAdapter"]{constructor(){super()}supportsDOMEvents(){return!0}}class o extends s{static makeCurrent(){Object(i["\u0275setRootDomAdapter"])(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||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,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==e?null:(n=e,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i["\u0275parseCookieValue"])(document.cookie,t)}}let a,l=null;const c=new r.InjectionToken("TRANSITION_ID");function u(t,e,n){return()=>{n.get(r.ApplicationInitStatus).donePromise.then(()=>{const n=Object(i["\u0275getDOM"])();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}}const h=[{provide:r.APP_INITIALIZER,useFactory:u,deps:[c,i.DOCUMENT,r.Injector],multi:!0}];class d{static init(){Object(r.setTestabilityGetter)(new d)}addToWindow(t){r["\u0275global"].getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},r["\u0275global"].getAllAngularTestabilities=()=>t.getAllTestabilities(),r["\u0275global"].getAllAngularRootElements=()=>t.getAllRootElements(),r["\u0275global"].frameworkStabilizers||(r["\u0275global"].frameworkStabilizers=[]),r["\u0275global"].frameworkStabilizers.push(t=>{const e=r["\u0275global"].getAllAngularTestabilities();let n=e.length,i=!1;const s=function(e){i=i||e,n--,0==n&&t(i)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(i["\u0275getDOM"])().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}function p(t,e){"undefined"!=typeof COMPILED&&COMPILED||((r["\u0275global"].ng=r["\u0275global"].ng||{})[t]=e)}const f=(()=>({ApplicationRef:r.ApplicationRef,NgZone:r.NgZone}))();function g(t){return Object(r["\u0275getDebugNodeR2"])(t)}function m(t){return p("probe",g),p("coreTokens",Object.assign(Object.assign({},f),(t||[]).reduce((t,e)=>(t[e.name]=e.token,t),{}))),()=>g}const b=[],_=[{provide:r.APP_INITIALIZER,useFactory:m,deps:[[r.NgProbeToken,new r.Optional]],multi:!0}],y=b,v=new r.InjectionToken("EventManagerPlugins");let C=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),O=(()=>{class t extends x{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i["\u0275getDOM"])().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const k={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/"},E=/%COMP%/g;function P(t){return"_ngcontent-%COMP%".replace(E,t)}function S(t){return"_nghost-%COMP%".replace(E,t)}function M(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let A=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new T(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ViewEncapsulation.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new D(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case r.ViewEncapsulation.ShadowDom:return new j(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=M(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](C),r["\u0275\u0275inject"](O),r["\u0275\u0275inject"](r.APP_ID))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();class T{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(k[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=k[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=k[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&(r.RendererStyleFlags2.DashCase|r.RendererStyleFlags2.Important)?t.style.setProperty(e,n,i&r.RendererStyleFlags2.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,I(n)):this.eventManager.addEventListener(t,e,I(n))}}class D extends T{constructor(t,e,n,i){super(t),this.component=n;const r=M(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr=P(i+"-"+n.id),this.hostAttr=S(i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class j extends T{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=M(i.id,i.styles,[]);for(let s=0;s{class t extends w{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const N={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},F=new r.InjectionToken("HammerGestureConfig"),V=new r.InjectionToken("HammerLoader");let L=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t extends w{constructor(t,e,n,i){super(t),this._config=e,this.console=n,this.loader=i,this._loaderPromise=null}supports(t){return!(!N.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader)}addEventListener(t,e,n){const i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let i=!1,r=()=>{i=!0};return this._loaderPromise.then(()=>{window.Hammer?i||(r=this.addEventListener(t,e,n)):r=()=>{}}).catch(()=>{r=()=>{}}),()=>{r()}}return i.runOutsideAngular(()=>{const r=this._config.buildHammer(t),s=function(t){i.runGuarded(function(){n(t)})};return r.on(e,s),()=>{r.off(e,s),"function"==typeof r.destroy&&r.destroy()}})}isCustomEvent(t){return this._config.events.indexOf(t)>-1}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT),r["\u0275\u0275inject"](F),r["\u0275\u0275inject"](r["\u0275Console"]),r["\u0275\u0275inject"](V,8))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const B=[],H=[{provide:v,useClass:z,multi:!0,deps:[i.DOCUMENT,F,r["\u0275Console"],[new r.Optional,V]]},{provide:F,useClass:L,deps:[]}],U=B;let q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({providers:H}),t})();const W=["alt","control","meta","shift"],K={"\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"},Y={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},X={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let G=(()=>{class t extends w{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),o=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i["\u0275getDOM"])().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let s="";if(W.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=i,o.fullKey=s,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Y.hasOwnProperty(e)&&(e=Y[e]))}return K[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),W.forEach(i=>{i!=n&&(0,X[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),Z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return Object(r["\u0275\u0275inject"])($)},token:t,providedIn:"root"}),t})();function Q(t){return new $(t.get(i.DOCUMENT))}let $=(()=>{class t extends Z{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.SecurityContext.NONE:return e;case r.SecurityContext.HTML:return Object(r["\u0275allowSanitizationBypassAndThrow"])(e,"HTML")?Object(r["\u0275unwrapSafeValue"])(e):Object(r["\u0275_sanitizeHtml"])(this._doc,String(e)).toString();case r.SecurityContext.STYLE:return Object(r["\u0275allowSanitizationBypassAndThrow"])(e,"Style")?Object(r["\u0275unwrapSafeValue"])(e):e;case r.SecurityContext.SCRIPT:if(Object(r["\u0275allowSanitizationBypassAndThrow"])(e,"Script"))return Object(r["\u0275unwrapSafeValue"])(e);throw new Error("unsafe value used in a script context");case r.SecurityContext.URL:return Object(r["\u0275getSanitizationBypassType"])(e),Object(r["\u0275allowSanitizationBypassAndThrow"])(e,"URL")?Object(r["\u0275unwrapSafeValue"])(e):Object(r["\u0275_sanitizeUrl"])(String(e));case r.SecurityContext.RESOURCE_URL:if(Object(r["\u0275allowSanitizationBypassAndThrow"])(e,"ResourceURL"))return Object(r["\u0275unwrapSafeValue"])(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(r["\u0275bypassSanitizationTrustHtml"])(t)}bypassSecurityTrustStyle(t){return Object(r["\u0275bypassSanitizationTrustStyle"])(t)}bypassSecurityTrustScript(t){return Object(r["\u0275bypassSanitizationTrustScript"])(t)}bypassSecurityTrustUrl(t){return Object(r["\u0275bypassSanitizationTrustUrl"])(t)}bypassSecurityTrustResourceUrl(t){return Object(r["\u0275bypassSanitizationTrustResourceUrl"])(t)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return Q(Object(r["\u0275\u0275inject"])(r.INJECTOR))},token:t,providedIn:"root"}),t})();function J(){o.makeCurrent(),d.init()}function tt(){return new r.ErrorHandler}function et(){return Object(r["\u0275setDocument"])(document),document}const nt=[{provide:r.PLATFORM_ID,useValue:i["\u0275PLATFORM_BROWSER_ID"]},{provide:r.PLATFORM_INITIALIZER,useValue:J,multi:!0},{provide:i.DOCUMENT,useFactory:et,deps:[]}],it=[],rt=it,st=Object(r.createPlatformFactory)(r.platformCore,"browser",nt),ot=[rt,{provide:r["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:r.ErrorHandler,useFactory:tt,deps:[]},{provide:v,useClass:R,multi:!0,deps:[i.DOCUMENT,r.NgZone,r.PLATFORM_ID]},{provide:v,useClass:G,multi:!0,deps:[i.DOCUMENT]},U,{provide:A,useClass:A,deps:[C,O,r.APP_ID]},{provide:r.RendererFactory2,useExisting:A},{provide:x,useExisting:O},{provide:O,useClass:O,deps:[i.DOCUMENT]},{provide:r.Testability,useClass:r.Testability,deps:[r.NgZone]},{provide:C,useClass:C,deps:[v,r.NgZone]},y];let at=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.APP_ID,useValue:e.appId},{provide:c,useExisting:r.APP_ID},h]}}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](t,12))},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({providers:ot,imports:[i.CommonModule,r.ApplicationModule]}),t})();function lt(){return new ct(Object(r["\u0275\u0275inject"])(i.DOCUMENT))}let ct=(()=>{class t{constructor(t){this._doc=t,this._dom=Object(i["\u0275getDOM"])()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(this._getMetaKeyMap(n),t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(this._getMetaKeyMap(n))===t[n])}_getMetaKeyMap(t){return ut[t]||t}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:lt,token:t,providedIn:"root"}),t})();const ut={httpEquiv:"http-equiv"};function ht(){return new dt(Object(r["\u0275\u0275inject"])(i.DOCUMENT))}let dt=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:ht,token:t,providedIn:"root"}),t})();const pt="undefined"!=typeof window&&window||{};class ft{constructor(t,e){this.msPerTick=t,this.numTicks=e}}class gt{constructor(t){this.appRef=t.injector.get(r.ApplicationRef)}timeChangeDetection(t){const e=t&&t.record,n="Change Detection",r=null!=pt.console.profile;e&&r&&pt.console.profile(n);const s=Object(i["\u0275getDOM"])().performanceNow();let o=0;for(;o<5||Object(i["\u0275getDOM"])().performanceNow()-s<500;)this.appRef.tick(),o++;const a=Object(i["\u0275getDOM"])().performanceNow();e&&r&&pt.console.profileEnd(n);const l=(a-s)/o;return pt.console.log(`ran ${o} change detection cycles`),pt.console.log(`${l.toFixed(2)} ms per check`),new ft(l,o)}}const mt="profiler";function bt(t){return p(mt,new gt(t)),t}function _t(){p(mt,null)}function yt(t){const e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,t=>e[t])}function vt(t){return t}let Ct=(()=>{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static init(e){const n=new t;return n.store=e,n}get(t,e){return void 0!==this.store[t]?this.store[t]:e}set(t,e){this.store[t]=e}remove(t){delete this.store[t]}hasKey(t){return this.store.hasOwnProperty(t)}onSerialize(t,e){this.onSerializeCallbacks[t]=e}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();function wt(t,e){const n=t.getElementById(e+"-state");let i={};if(n&&n.textContent)try{i=JSON.parse(function(t){const e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,t=>e[t])}(n.textContent))}catch(r){console.warn("Exception while restoring TransferState for app "+e,r)}return Ct.init(i)}let xt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[{provide:Ct,useFactory:wt,deps:[i.DOCUMENT,r.APP_ID]}]}),t})();class Ot{static all(){return()=>!0}static css(t){return e=>null!=e.nativeElement&&function(t,e){return!!Object(i["\u0275getDOM"])().isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))}(e.nativeElement,t)}static directive(t){return e=>-1!==e.providerTokens.indexOf(t)}}const kt=new r.Version("11.2.9")},jtHE:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("XNiG"),r=n("3N8a");class s extends r.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n("IjjT");class a extends o.a{}const l=new a(s);var c=n("quSY"),u=n("pxpQ"),h=n("9ppp"),d=n("Ylt2");class p extends i.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new f(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new h.a;if(this.isStopped||this.hasError?s=c.a.EMPTY:(this.observers.push(t),s=new d.a(this,t)),i&&t.add(t=new u.a(t,i)),e)for(let o=0;oe&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i}}class f{constructor(t,e){this.time=t,this.value=e}}},"jxm/":function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i=function(t){return t.DEBUG="debug",t.USER_TOKEN="token",t.FAIR="fair",t.STAND="stand",t}({});const r=[i.DEBUG]},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kRGQ:function(t,e,n){"use strict";var i=n("fXoL"),r=n("tk/3"),s=n("jhN1"),o=this&&this.__decorate||function(t,e,n,i){var r,s=arguments.length,o=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(o=(s<3?r(o):s>3?r(e,n,o):r(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0}),n("fXoL");var l=n("tk/3"),c=n("jhN1"),u=n("kU1M"),h=function(){function t(t,e){this.http=t,this.sanitizer=e,this.validYouTubeOptions=["default","mqdefault","hqdefault","sddefault","maxresdefault"],this.validVimeoOptions=["thumbnail_small","thumbnail_medium","thumbnail_large"],this.validDailyMotionOptions=["thumbnail_60_url","thumbnail_120_url","thumbnail_180_url","thumbnail_240_url","thumbnail_360_url","thumbnail_480_url","thumbnail_720_url","thumbnail_1080_url"]}return t.prototype.embed=function(t,e){var n;return t=new URL(t),(n=this.detectYoutube(t))?this.embed_youtube(n,e):(n=this.detectVimeo(t))?this.embed_vimeo(n,e):(n=this.detectDailymotion(t))?this.embed_dailymotion(n,e):void 0},t.prototype.embed_youtube=function(t,e){return e=this.parseOptions(e),this.sanitize_iframe('')},t.prototype.embed_vimeo=function(t,e){return e=this.parseOptions(e),this.sanitize_iframe('')},t.prototype.embed_dailymotion=function(t,e){return e=this.parseOptions(e),this.sanitize_iframe('')},t.prototype.embed_image=function(t,e){var n;return t=new URL(t),(n=this.detectYoutube(t))?this.embed_youtube_image(n,e):(n=this.detectVimeo(t))?this.embed_vimeo_image(n,e):(n=this.detectDailymotion(t))?this.embed_dailymotion_image(n,e):void 0},t.prototype.embed_youtube_image=function(t,e){"function"==typeof e&&(e={}),(e=e||{}).image=this.validYouTubeOptions.indexOf(e.image)>0?e.image:"default";var n="https://img.youtube.com/vi/"+t+"/"+e.image+".jpg",i={link:n,html:''};return new Promise(function(t){t(i)})},t.prototype.embed_vimeo_image=function(t,e){return"function"==typeof e&&(e={}),(e=e||{}).image=this.validVimeoOptions.indexOf(e.image)>=0?e.image:"thumbnail_large",this.http.get("https://vimeo.com/api/v2/video/"+t+".json").pipe(u.map(function(t){return{link:t[0][e.image],html:''}})).toPromise().catch(function(t){return console.log(t)})},t.prototype.embed_dailymotion_image=function(t,e){return"function"==typeof e&&(e={}),(e=e||{}).image=this.validDailyMotionOptions.indexOf(e.image)>=0?e.image:"thumbnail_480_url",this.http.get("https://api.dailymotion.com/video/"+t+"?fields="+e.image).pipe(u.map(function(t){return{link:t[e.image],html:''}})).toPromise().catch(function(t){return console.log(t)})},t.prototype.parseOptions=function(t){var e="",n="";if(t&&t.hasOwnProperty("query")&&(e="?"+this.serializeQuery(t.query)),t&&t.hasOwnProperty("attr")){var i=[];Object.keys(t.attr).forEach(function(e){i.push(e+'="'+t.attr[e]+'"')}),n=" "+i.join(" ")}return{query:e,attr:n}},t.prototype.serializeQuery=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")},t.prototype.sanitize_iframe=function(t){return this.sanitizer.bypassSecurityTrustHtml(t)},t.prototype.detectVimeo=function(t){return"vimeo.com"===t.hostname?t.pathname.split("/")[1]:null},t.prototype.detectYoutube=function(t){return t.hostname.indexOf("youtube.com")>-1?t.search.split("=")[1]:"youtu.be"===t.hostname?t.pathname.split("/")[1]:""},t.prototype.detectDailymotion=function(t){return t.hostname.indexOf("dailymotion.com")>-1?t.pathname.split("/")[2].split("_")[0]:"dai.ly"===t.hostname?t.pathname.split("/")[1]:""},(t=o([a("design:paramtypes",[l.HttpClient,c.DomSanitizer])],t)).\u0275fac=function(e){return new(e||t)(i.\u0275\u0275inject(r.HttpClient),i.\u0275\u0275inject(s.DomSanitizer))},t.\u0275prov=i.\u0275\u0275defineInjectable({token:t,factory:function(e){return t.\u0275fac(e)}}),t}();e.EmbedVideoService=h},kU1M:function(t,e,n){"use strict";n.r(e),n.d(e,"audit",function(){return i.a}),n.d(e,"auditTime",function(){return r.a}),n.d(e,"buffer",function(){return o}),n.d(e,"bufferCount",function(){return u}),n.d(e,"bufferTime",function(){return m}),n.d(e,"bufferToggle",function(){return E}),n.d(e,"bufferWhen",function(){return M}),n.d(e,"catchError",function(){return T.a}),n.d(e,"combineAll",function(){return j}),n.d(e,"combineLatest",function(){return F}),n.d(e,"concat",function(){return L}),n.d(e,"concatAll",function(){return z.a}),n.d(e,"concatMap",function(){return B.a}),n.d(e,"concatMapTo",function(){return H}),n.d(e,"count",function(){return U}),n.d(e,"debounce",function(){return K}),n.d(e,"debounceTime",function(){return G.a}),n.d(e,"defaultIfEmpty",function(){return Z.a}),n.d(e,"delay",function(){return Q.a}),n.d(e,"delayWhen",function(){return J}),n.d(e,"dematerialize",function(){return rt}),n.d(e,"distinct",function(){return at}),n.d(e,"distinctUntilChanged",function(){return ut.a}),n.d(e,"distinctUntilKeyChanged",function(){return ht}),n.d(e,"elementAt",function(){return mt}),n.d(e,"endWith",function(){return bt.a}),n.d(e,"every",function(){return _t}),n.d(e,"exhaust",function(){return Ct}),n.d(e,"exhaustMap",function(){return kt}),n.d(e,"expand",function(){return St}),n.d(e,"filter",function(){return pt.a}),n.d(e,"finalize",function(){return At.a}),n.d(e,"find",function(){return Tt}),n.d(e,"findIndex",function(){return Rt}),n.d(e,"first",function(){return Nt.a}),n.d(e,"groupBy",function(){return Vt}),n.d(e,"ignoreElements",function(){return qt}),n.d(e,"isEmpty",function(){return Yt}),n.d(e,"last",function(){return Zt.a}),n.d(e,"map",function(){return Ot.a}),n.d(e,"mapTo",function(){return Qt.a}),n.d(e,"materialize",function(){return Jt}),n.d(e,"max",function(){return oe}),n.d(e,"merge",function(){return le}),n.d(e,"mergeAll",function(){return ce.a}),n.d(e,"mergeMap",function(){return ue.b}),n.d(e,"flatMap",function(){return ue.a}),n.d(e,"mergeMapTo",function(){return he}),n.d(e,"mergeScan",function(){return de}),n.d(e,"min",function(){return ge}),n.d(e,"multicast",function(){return me.a}),n.d(e,"observeOn",function(){return be.b}),n.d(e,"onErrorResumeNext",function(){return _e}),n.d(e,"pairwise",function(){return Ce.a}),n.d(e,"partition",function(){return xe}),n.d(e,"pluck",function(){return Oe}),n.d(e,"publish",function(){return ke}),n.d(e,"publishBehavior",function(){return Pe}),n.d(e,"publishLast",function(){return Me}),n.d(e,"publishReplay",function(){return Ae}),n.d(e,"race",function(){return De}),n.d(e,"reduce",function(){return se}),n.d(e,"repeat",function(){return Re}),n.d(e,"repeatWhen",function(){return Ve}),n.d(e,"retry",function(){return Be}),n.d(e,"retryWhen",function(){return qe}),n.d(e,"refCount",function(){return Ye.a}),n.d(e,"sample",function(){return Xe}),n.d(e,"sampleTime",function(){return Qe}),n.d(e,"scan",function(){return ne.a}),n.d(e,"sequenceEqual",function(){return en}),n.d(e,"share",function(){return on.a}),n.d(e,"shareReplay",function(){return an.a}),n.d(e,"single",function(){return cn}),n.d(e,"skip",function(){return dn.a}),n.d(e,"skipLast",function(){return pn}),n.d(e,"skipUntil",function(){return mn}),n.d(e,"skipWhile",function(){return yn}),n.d(e,"startWith",function(){return wn.a}),n.d(e,"subscribeOn",function(){return En}),n.d(e,"switchAll",function(){return In}),n.d(e,"switchMap",function(){return Sn.a}),n.d(e,"switchMapTo",function(){return An}),n.d(e,"take",function(){return gt.a}),n.d(e,"takeLast",function(){return ie.a}),n.d(e,"takeUntil",function(){return Tn.a}),n.d(e,"takeWhile",function(){return Dn.a}),n.d(e,"tap",function(){return jn.a}),n.d(e,"throttle",function(){return Nn}),n.d(e,"throttleTime",function(){return Ln}),n.d(e,"throwIfEmpty",function(){return ft.a}),n.d(e,"timeInterval",function(){return qn}),n.d(e,"timeout",function(){return $n}),n.d(e,"timeoutWith",function(){return Xn}),n.d(e,"timestamp",function(){return Jn}),n.d(e,"toArray",function(){return ni}),n.d(e,"window",function(){return ii}),n.d(e,"windowCount",function(){return oi}),n.d(e,"windowTime",function(){return ci}),n.d(e,"windowToggle",function(){return mi}),n.d(e,"windowWhen",function(){return yi}),n.d(e,"withLatestFrom",function(){return wi.a}),n.d(e,"zip",function(){return Oi}),n.d(e,"zipAll",function(){return ki});var i=n("tnsW"),r=n("3UWI"),s=n("zx2A");function o(t){return function(e){return e.lift(new a(t))}}class a{constructor(t){this.closingNotifier=t}call(t,e){return e.subscribe(new l(t,this.closingNotifier))}}class l extends s.b{constructor(t,e){super(t),this.buffer=[],this.add(Object(s.c)(e,new s.a(this)))}_next(t){this.buffer.push(t)}notifyNext(){const t=this.buffer;this.buffer=[],this.destination.next(t)}}var c=n("7o/Q");function u(t,e=null){return function(n){return n.lift(new h(t,e))}}class h{constructor(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?p:d}call(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))}}class d extends c.a{constructor(t,e){super(t),this.bufferSize=e,this.buffer=[]}_next(t){const e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])}_complete(){const t=this.buffer;t.length>0&&this.destination.next(t),super._complete()}}class p extends c.a{constructor(t,e,n){super(t),this.bufferSize=e,this.startBufferEvery=n,this.buffers=[],this.count=0}_next(t){const{bufferSize:e,startBufferEvery:n,buffers:i,count:r}=this;this.count++,r%n==0&&i.push([]);for(let s=i.length;s--;){const n=i[s];n.push(t),n.length===e&&(i.splice(s,1),this.destination.next(n))}}_complete(){const{buffers:t,destination:e}=this;for(;t.length>0;){let n=t.shift();n.length>0&&e.next(n)}super._complete()}}var f=n("D0XW"),g=n("z+Ro");function m(t){let e=arguments.length,n=f.a;Object(g.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);let i=null;e>=2&&(i=arguments[1]);let r=Number.POSITIVE_INFINITY;return e>=3&&(r=arguments[2]),function(e){return e.lift(new b(t,i,r,n))}}class b{constructor(t,e,n,i){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=i}call(t,e){return e.subscribe(new y(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class _{constructor(){this.buffer=[]}}class y extends c.a{constructor(t,e,n,i,r){super(t),this.bufferTimeSpan=e,this.bufferCreationInterval=n,this.maxBufferSize=i,this.scheduler=r,this.contexts=[];const s=this.openContext();if(this.timespanOnly=null==n||n<0,this.timespanOnly)this.add(s.closeAction=r.schedule(v,e,{subscriber:this,context:s,bufferTimeSpan:e}));else{const t={bufferTimeSpan:e,bufferCreationInterval:n,subscriber:this,scheduler:r};this.add(s.closeAction=r.schedule(w,e,{subscriber:this,context:s})),this.add(r.schedule(C,n,t))}}_next(t){const e=this.contexts,n=e.length;let i;for(let r=0;r0;){const n=t.shift();e.next(n.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(t){this.closeContext(t);const e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();const e=this.bufferTimeSpan;this.add(t.closeAction=this.scheduler.schedule(v,e,{subscriber:this,context:t,bufferTimeSpan:e}))}}openContext(){const t=new _;return this.contexts.push(t),t}closeContext(t){this.destination.next(t.buffer);const e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)}}function v(t){const e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function C(t){const{bufferCreationInterval:e,bufferTimeSpan:n,subscriber:i,scheduler:r}=t,s=i.openContext();i.closed||(i.add(s.closeAction=r.schedule(w,n,{subscriber:i,context:s})),this.schedule(t,e))}function w(t){const{subscriber:e,context:n}=t;e.closeContext(n)}var x=n("quSY"),O=n("ZUHj"),k=n("l7GE");function E(t,e){return function(n){return n.lift(new P(t,e))}}class P{constructor(t,e){this.openings=t,this.closingSelector=e}call(t,e){return e.subscribe(new S(t,this.openings,this.closingSelector))}}class S extends k.a{constructor(t,e,n){super(t),this.closingSelector=n,this.contexts=[],this.add(Object(O.a)(this,e))}_next(t){const e=this.contexts,n=e.length;for(let i=0;i0;){const t=e.shift();t.subscription.unsubscribe(),t.buffer=null,t.subscription=null}this.contexts=null,super._error(t)}_complete(){const t=this.contexts;for(;t.length>0;){const e=t.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,super._complete()}notifyNext(t,e){t?this.closeBuffer(t):this.openBuffer(e)}notifyComplete(t){this.closeBuffer(t.context)}openBuffer(t){try{const e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(e){this._error(e)}}closeBuffer(t){const e=this.contexts;if(e&&t){const{buffer:n,subscription:i}=t;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(i),i.unsubscribe()}}trySubscribe(t){const e=this.contexts,n=new x.a,i={buffer:[],subscription:n};e.push(i);const r=Object(O.a)(this,t,i);!r||r.closed?this.closeBuffer(i):(r.context=i,this.add(r),n.add(r))}}function M(t){return function(e){return e.lift(new I(t))}}class I{constructor(t){this.closingSelector=t}call(t,e){return e.subscribe(new A(t,this.closingSelector))}}class A extends s.b{constructor(t,e){super(t),this.closingSelector=e,this.subscribing=!1,this.openBuffer()}_next(t){this.buffer.push(t)}_complete(){const t=this.buffer;t&&this.destination.next(t),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let t,{closingSubscription:e}=this;e&&(this.remove(e),e.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{const{closingSelector:e}=this;t=e()}catch(n){return this.error(n)}e=new x.a,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(s.c)(t,new s.a(this))),this.subscribing=!1}}var T=n("JIr8"),D=n("itXk");function j(t){return e=>e.lift(new D.a(t))}var R=n("DH7j"),N=n("Cfvw");function F(...t){let e=null;return"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(R.a)(t[0])&&(t=t[0].slice()),n=>n.lift.call(Object(N.a)([n,...t]),new D.a(e))}var V=n("GyhO");function L(...t){return e=>e.lift.call(Object(V.a)(e,...t))}var z=n("0EUg"),B=n("bOdf");function H(t,e){return Object(B.a)(()=>t,e)}function U(t){return e=>e.lift(new q(t,e))}class q{constructor(t,e){this.predicate=t,this.source=e}call(t,e){return e.subscribe(new W(t,this.predicate,this.source))}}class W extends c.a{constructor(t,e,n){super(t),this.predicate=e,this.source=n,this.count=0,this.index=0}_next(t){this.predicate?this._tryPredicate(t):this.count++}_tryPredicate(t){let e;try{e=this.predicate(t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}function K(t){return e=>e.lift(new Y(t))}class Y{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new X(t,this.durationSelector))}}class X extends s.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){try{const e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,e){let n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=Object(s.c)(e,new s.a(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,super._next(t)}}}var G=n("Kj3r"),Z=n("xbPD"),Q=n("3E0/"),$=n("HDdC");function J(t,e){return e?n=>new nt(n,e).lift(new tt(t)):e=>e.lift(new tt(t))}class tt{constructor(t){this.delayDurationSelector=t}call(t,e){return e.subscribe(new et(t,this.delayDurationSelector))}}class et extends k.a{constructor(t,e){super(t),this.delayDurationSelector=e,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(t,e,n,i,r){this.destination.next(t),this.removeSubscription(r),this.tryComplete()}notifyError(t,e){this._error(t)}notifyComplete(t){const e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()}_next(t){const e=this.index++;try{const n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(n){this.destination.error(n)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(t){t.unsubscribe();const e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue}tryDelay(t,e){const n=Object(O.a)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class nt extends $.a{constructor(t,e){super(),this.source=t,this.subscriptionDelay=e}_subscribe(t){this.subscriptionDelay.subscribe(new it(t,this.source))}}class it extends c.a{constructor(t,e){super(),this.parent=t,this.source=e,this.sourceSubscribed=!1}_next(t){this.subscribeToSource()}_error(t){this.unsubscribe(),this.parent.error(t)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}function rt(){return function(t){return t.lift(new st)}}class st{call(t,e){return e.subscribe(new ot(t))}}class ot extends c.a{constructor(t){super(t)}_next(t){t.observe(this.destination)}}function at(t,e){return n=>n.lift(new lt(t,e))}class lt{constructor(t,e){this.keySelector=t,this.flushes=e}call(t,e){return e.subscribe(new ct(t,this.keySelector,this.flushes))}}class ct extends s.b{constructor(t,e,n){super(t),this.keySelector=e,this.values=new Set,n&&this.add(Object(s.c)(n,new s.a(this)))}notifyNext(){this.values.clear()}notifyError(t){this._error(t)}_next(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)}_useKeySelector(t){let e;const{destination:n}=this;try{e=this.keySelector(t)}catch(i){return void n.error(i)}this._finalizeNext(e,t)}_finalizeNext(t,e){const{values:n}=this;n.has(t)||(n.add(t),this.destination.next(e))}}var ut=n("/uUt");function ht(t,e){return Object(ut.a)((n,i)=>e?e(n[t],i[t]):n[t]===i[t])}var dt=n("4I5i"),pt=n("pLZG"),ft=n("XDbj"),gt=n("IzEk");function mt(t,e){if(t<0)throw new dt.a;const n=arguments.length>=2;return i=>i.pipe(Object(pt.a)((e,n)=>n===t),Object(gt.a)(1),n?Object(Z.a)(e):Object(ft.a)(()=>new dt.a))}var bt=n("0Pi8");function _t(t,e){return n=>n.lift(new yt(t,e,n))}class yt{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new vt(t,this.predicate,this.thisArg,this.source))}}class vt extends c.a{constructor(t,e,n,i){super(t),this.predicate=e,this.thisArg=n,this.source=i,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Ct(){return t=>t.lift(new wt)}class wt{call(t,e){return e.subscribe(new xt(t))}}class xt extends s.b{constructor(t){super(t),this.hasCompleted=!1,this.hasSubscription=!1}_next(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(s.c)(t,new s.a(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var Ot=n("lJxs");function kt(t,e){return e?n=>n.pipe(kt((n,i)=>Object(N.a)(t(n,i)).pipe(Object(Ot.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new Et(t))}class Et{constructor(t){this.project=t}call(t,e){return e.subscribe(new Pt(t,this.project))}}class Pt extends s.b{constructor(t,e){super(t),this.project=e,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(t){this.hasSubscription||this.tryNext(t)}tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.hasSubscription=!0,this._innerSub(e)}_innerSub(t){const e=new s.a(this),n=this.destination;n.add(e);const i=Object(s.c)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function St(t,e=Number.POSITIVE_INFINITY,n){return e=(e||0)<1?Number.POSITIVE_INFINITY:e,i=>i.lift(new Mt(t,e,n))}class Mt{constructor(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}call(t,e){return e.subscribe(new It(t,this.project,this.concurrent,this.scheduler))}}class It extends s.b{constructor(t,e,n,i){super(t),this.project=e,this.concurrent=n,this.scheduler=i,this.index=0,this.active=0,this.hasCompleted=!1,n0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}var At=n("nYR2");function Tt(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return n=>n.lift(new Dt(t,n,!1,e))}class Dt{constructor(t,e,n,i){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=i}call(t,e){return e.subscribe(new jt(t,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class jt extends c.a{constructor(t,e,n,i,r){super(t),this.predicate=e,this.source=n,this.yieldIndex=i,this.thisArg=r,this.index=0}notifyComplete(t){const e=this.destination;e.next(t),e.complete(),this.unsubscribe()}_next(t){const{predicate:e,thisArg:n}=this,i=this.index++;try{e.call(n||this,t,i,this.source)&&this.notifyComplete(this.yieldIndex?i:t)}catch(r){this.destination.error(r)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function Rt(t,e){return n=>n.lift(new Dt(t,n,!0,e))}var Nt=n("SxV6"),Ft=n("XNiG");function Vt(t,e,n,i){return r=>r.lift(new Lt(t,e,n,i))}class Lt{constructor(t,e,n,i){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}call(t,e){return e.subscribe(new zt(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class zt extends c.a{constructor(t,e,n,i,r){super(t),this.keySelector=e,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(t){let e;try{e=this.keySelector(t)}catch(n){return void this.error(n)}this._group(t,e)}_group(t,e){let n=this.groups;n||(n=this.groups=new Map);let i,r=n.get(e);if(this.elementSelector)try{i=this.elementSelector(t)}catch(s){this.error(s)}else i=t;if(!r){r=this.subjectSelector?this.subjectSelector():new Ft.a,n.set(e,r);const t=new Ht(e,r,this);if(this.destination.next(t),this.durationSelector){let t;try{t=this.durationSelector(new Ht(e,r))}catch(s){return void this.error(s)}this.add(t.subscribe(new Bt(e,r,this)))}}r.closed||r.next(i)}_error(t){const e=this.groups;e&&(e.forEach((e,n)=>{e.error(t)}),e.clear()),this.destination.error(t)}_complete(){const t=this.groups;t&&(t.forEach((t,e)=>{t.complete()}),t.clear()),this.destination.complete()}removeGroup(t){this.groups.delete(t)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class Bt extends c.a{constructor(t,e,n){super(e),this.key=t,this.group=e,this.parent=n}_next(t){this.complete()}_unsubscribe(){const{parent:t,key:e}=this;this.key=this.parent=null,t&&t.removeGroup(e)}}class Ht extends $.a{constructor(t,e,n){super(),this.key=t,this.groupSubject=e,this.refCountSubscription=n}_subscribe(t){const e=new x.a,{refCountSubscription:n,groupSubject:i}=this;return n&&!n.closed&&e.add(new Ut(n)),e.add(i.subscribe(t)),e}}class Ut extends x.a{constructor(t){super(),this.parent=t,t.count++}unsubscribe(){const t=this.parent;t.closed||this.closed||(super.unsubscribe(),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())}}function qt(){return function(t){return t.lift(new Wt)}}class Wt{call(t,e){return e.subscribe(new Kt(t))}}class Kt extends c.a{_next(t){}}function Yt(){return t=>t.lift(new Xt)}class Xt{call(t,e){return e.subscribe(new Gt(t))}}class Gt extends c.a{constructor(t){super(t)}notifyComplete(t){const e=this.destination;e.next(t),e.complete()}_next(t){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var Zt=n("NJ9Y"),Qt=n("CqXF"),$t=n("WMd4");function Jt(){return function(t){return t.lift(new te)}}class te{call(t,e){return e.subscribe(new ee(t))}}class ee extends c.a{constructor(t){super(t)}_next(t){this.destination.next($t.a.createNext(t))}_error(t){const e=this.destination;e.next($t.a.createError(t)),e.complete()}_complete(){const t=this.destination;t.next($t.a.createComplete()),t.complete()}}var ne=n("Kqap"),ie=n("BFxc"),re=n("mCNh");function se(t,e){return arguments.length>=2?function(n){return Object(re.a)(Object(ne.a)(t,e),Object(ie.a)(1),Object(Z.a)(e))(n)}:function(e){return Object(re.a)(Object(ne.a)((e,n,i)=>t(e,n,i+1)),Object(ie.a)(1))(e)}}function oe(t){return se("function"==typeof t?(e,n)=>t(e,n)>0?e:n:(t,e)=>t>e?t:e)}var ae=n("VRyK");function le(...t){return e=>e.lift.call(Object(ae.a)(e,...t))}var ce=n("bHdf"),ue=n("5+tZ");function he(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?Object(ue.b)(()=>t,e,n):("number"==typeof e&&(n=e),Object(ue.b)(()=>t,n))}function de(t,e,n=Number.POSITIVE_INFINITY){return i=>i.lift(new pe(t,e,n))}class pe{constructor(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}call(t,e){return e.subscribe(new fe(t,this.accumulator,this.seed,this.concurrent))}}class fe extends s.b{constructor(t,e,n,i){super(t),this.accumulator=e,this.acc=n,this.concurrent=i,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){if(this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function ge(t){return se("function"==typeof t?(e,n)=>t(e,n)<0?e:n:(t,e)=>te.lift(new ye(t))}class ye{constructor(t){this.nextSources=t}call(t,e){return e.subscribe(new ve(t,this.nextSources))}}class ve extends s.b{constructor(t,e){super(t),this.destination=t,this.nextSources=e}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(t){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const t=this.nextSources.shift();if(t){const e=new s.a(this),n=this.destination;n.add(e);const i=Object(s.c)(t,e);i!==e&&n.add(i)}else this.destination.complete()}}var Ce=n("Zy1z");function we(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}function xe(t,e){return n=>[Object(pt.a)(t,e)(n),Object(pt.a)(we(t,e))(n)]}function Oe(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>Object(Ot.a)(function(t,e){return n=>{let i=n;for(let r=0;rnew Ft.a,t):Object(me.a)(new Ft.a)}var Ee=n("2Vo4");function Pe(t){return e=>Object(me.a)(new Ee.a(t))(e)}class Se extends Ft.a{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(t){return this.hasError?(t.error(this.thrownError),x.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),x.a.EMPTY):super._subscribe(t)}next(t){this.hasCompleted||(this.value=t,this.hasNext=!0)}error(t){this.hasCompleted||super.error(t)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}function Me(){return t=>Object(me.a)(new Se)(t)}var Ie=n("jtHE");function Ae(t,e,n,i){n&&"function"!=typeof n&&(i=n);const r="function"==typeof n?n:void 0,s=new Ie.a(t,e,i);return t=>Object(me.a)(()=>s,r)(t)}var Te=n("Nv8m");function De(...t){return function(e){return 1===t.length&&Object(R.a)(t[0])&&(t=t[0]),e.lift.call(Object(Te.a)(e,...t))}}var je=n("EY2u");function Re(t=-1){return e=>0===t?Object(je.b)():e.lift(new Ne(t<0?-1:t-1,e))}class Ne{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new Fe(t,this.count,this.source))}}class Fe extends c.a{constructor(t,e,n){super(t),this.count=e,this.source=n}complete(){if(!this.isStopped){const{source:t,count:e}=this;if(0===e)return super.complete();e>-1&&(this.count=e-1),t.subscribe(this._unsubscribeAndRecycle())}}}function Ve(t){return e=>e.lift(new Le(t))}class Le{constructor(t){this.notifier=t}call(t,e){return e.subscribe(new ze(t,this.notifier,e))}}class ze extends s.b{constructor(t,e,n){super(t),this.notifier=e,this.source=n,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.notifications=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:t}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=t,this}subscribeToRetries(){let t;this.notifications=new Ft.a;try{const{notifier:e}=this;t=e(this.notifications)}catch(e){return super.complete()}this.retries=t,this.retriesSubscription=Object(s.c)(t,new s.a(this))}}function Be(t=-1){return e=>e.lift(new He(t,e))}class He{constructor(t,e){this.count=t,this.source=e}call(t,e){return e.subscribe(new Ue(t,this.count,this.source))}}class Ue extends c.a{constructor(t,e,n){super(t),this.count=e,this.source=n}error(t){if(!this.isStopped){const{source:e,count:n}=this;if(0===n)return super.error(t);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}}}function qe(t){return e=>e.lift(new We(t,e))}class We{constructor(t,e){this.notifier=t,this.source=e}call(t,e){return e.subscribe(new Ke(t,this.notifier,this.source))}}class Ke extends s.b{constructor(t,e,n){super(t),this.notifier=e,this.source=n}error(t){if(!this.isStopped){let n=this.errors,i=this.retries,r=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{n=new Ft.a;try{const{notifier:t}=this;i=t(n)}catch(e){return super.error(e)}r=Object(s.c)(i,new s.a(this))}this._unsubscribeAndRecycle(),this.errors=n,this.retries=i,this.retriesSubscription=r,n.next(t)}}_unsubscribe(){const{errors:t,retriesSubscription:e}=this;t&&(t.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:t}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=t,this.source.subscribe(this)}}var Ye=n("x+ZX");function Xe(t){return e=>e.lift(new Ge(t))}class Ge{constructor(t){this.notifier=t}call(t,e){const n=new Ze(t),i=e.subscribe(n);return i.add(Object(s.c)(this.notifier,new s.a(n))),i}}class Ze extends s.b{constructor(){super(...arguments),this.hasValue=!1}_next(t){this.value=t,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function Qe(t,e=f.a){return n=>n.lift(new $e(t,e))}class $e{constructor(t,e){this.period=t,this.scheduler=e}call(t,e){return e.subscribe(new Je(t,this.period,this.scheduler))}}class Je extends c.a{constructor(t,e,n){super(t),this.period=e,this.scheduler=n,this.hasValue=!1,this.add(n.schedule(tn,e,{subscriber:this,period:e}))}_next(t){this.lastValue=t,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function tn(t){let{subscriber:e,period:n}=t;e.notifyNext(),this.schedule(t,n)}function en(t,e){return n=>n.lift(new nn(t,e))}class nn{constructor(t,e){this.compareTo=t,this.comparator=e}call(t,e){return e.subscribe(new rn(t,this.compareTo,this.comparator))}}class rn extends c.a{constructor(t,e,n){super(t),this.compareTo=e,this.comparator=n,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(e.subscribe(new sn(t,this)))}_next(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:t,_b:e,comparator:n}=this;for(;t.length>0&&e.length>0;){let r=t.shift(),s=e.shift(),o=!1;try{o=n?n(r,s):r===s}catch(i){this.destination.error(i)}o||this.emit(!1)}}emit(t){const{destination:e}=this;e.next(t),e.complete()}nextB(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class sn extends c.a{constructor(t,e){super(t),this.parent=e}_next(t){this.parent.nextB(t)}_error(t){this.parent.error(t),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}var on=n("w1tV"),an=n("UXun"),ln=n("sVev");function cn(t){return e=>e.lift(new un(t,e))}class un{constructor(t,e){this.predicate=t,this.source=e}call(t,e){return e.subscribe(new hn(t,this.predicate,this.source))}}class hn extends c.a{constructor(t,e,n){super(t),this.predicate=e,this.source=n,this.seenValue=!1,this.index=0}applySingleValue(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)}_next(t){const e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)}tryNext(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(n){this.destination.error(n)}}_complete(){const t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new ln.a)}}var dn=n("zP0r");function pn(t){return e=>e.lift(new fn(t))}class fn{constructor(t){if(this._skipCount=t,this._skipCount<0)throw new dt.a}call(t,e){return e.subscribe(0===this._skipCount?new c.a(t):new gn(t,this._skipCount))}}class gn extends c.a{constructor(t,e){super(t),this._skipCount=e,this._count=0,this._ring=new Array(e)}_next(t){const e=this._skipCount,n=this._count++;if(ne.lift(new bn(t))}class bn{constructor(t){this.notifier=t}call(t,e){return e.subscribe(new _n(t,this.notifier))}}class _n extends s.b{constructor(t,e){super(t),this.hasValue=!1;const n=new s.a(this);this.add(n),this.innerSubscription=n;const i=Object(s.c)(e,n);i!==n&&(this.add(i),this.innerSubscription=i)}_next(t){this.hasValue&&super._next(t)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function yn(t){return e=>e.lift(new vn(t))}class vn{constructor(t){this.predicate=t}call(t,e){return e.subscribe(new Cn(t,this.predicate))}}class Cn extends c.a{constructor(t,e){super(t),this.predicate=e,this.skipping=!0,this.index=0}_next(t){const e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)}tryCallPredicate(t){try{const e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(e){this.destination.error(e)}}}var wn=n("JX91"),xn=n("7Hc7"),On=n("Y7HM");class kn extends $.a{constructor(t,e=0,n=xn.a){super(),this.source=t,this.delayTime=e,this.scheduler=n,(!Object(On.a)(e)||e<0)&&(this.delayTime=0),n&&"function"==typeof n.schedule||(this.scheduler=xn.a)}static create(t,e=0,n=xn.a){return new kn(t,e,n)}static dispatch(t){const{source:e,subscriber:n}=t;return this.add(e.subscribe(n))}_subscribe(t){return this.scheduler.schedule(kn.dispatch,this.delayTime,{source:this.source,subscriber:t})}}function En(t,e=0){return function(n){return n.lift(new Pn(t,e))}}class Pn{constructor(t,e){this.scheduler=t,this.delay=e}call(t,e){return new kn(e,this.delay,this.scheduler).subscribe(t)}}var Sn=n("eIep"),Mn=n("SpAZ");function In(){return Object(Sn.a)(Mn.a)}function An(t,e){return e?Object(Sn.a)(()=>t,e):Object(Sn.a)(()=>t)}var Tn=n("1G5W"),Dn=n("GJmQ"),jn=n("vkgz");const Rn={leading:!0,trailing:!1};function Nn(t,e=Rn){return n=>n.lift(new Fn(t,!!e.leading,!!e.trailing))}class Fn{constructor(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}call(t,e){return e.subscribe(new Vn(t,this.durationSelector,this.leading,this.trailing))}}class Vn extends s.b{constructor(t,e,n,i){super(t),this.destination=t,this.durationSelector=e,this._leading=n,this._trailing=i,this._hasValue=!1}_next(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))}send(){const{_hasValue:t,_sendValue:e}=this;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=void 0}throttle(t){const e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(s.c)(e,new s.a(this)))}tryDurationSelector(t){try{return this.durationSelector(t)}catch(e){return this.destination.error(e),null}}throttlingDone(){const{_throttled:t,_trailing:e}=this;t&&t.unsubscribe(),this._throttled=void 0,e&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}function Ln(t,e=f.a,n=Rn){return i=>i.lift(new zn(t,e,n.leading,n.trailing))}class zn{constructor(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}call(t,e){return e.subscribe(new Bn(t,this.duration,this.scheduler,this.leading,this.trailing))}}class Bn extends c.a{constructor(t,e,n,i,r){super(t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=r,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Hn,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function Hn(t){const{subscriber:e}=t;e.clearThrottle()}var Un=n("NXyV");function qn(t=f.a){return e=>Object(Un.a)(()=>e.pipe(Object(ne.a)(({current:e},n)=>({value:n,current:t.now(),last:e}),{current:t.now(),value:void 0,last:void 0}),Object(Ot.a)(({current:t,last:e,value:n})=>new Wn(n,t-e))))}class Wn{constructor(t,e){this.value=t,this.interval=e}}const Kn=(()=>{function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t})();var Yn=n("mlxB");function Xn(t,e,n=f.a){return i=>{let r=Object(Yn.a)(t),s=r?+t-n.now():Math.abs(t);return i.lift(new Gn(s,r,e,n))}}class Gn{constructor(t,e,n,i){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=i}call(t,e){return e.subscribe(new Zn(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class Zn extends s.b{constructor(t,e,n,i,r){super(t),this.absoluteTimeout=e,this.waitFor=n,this.withObservable=i,this.scheduler=r,this.scheduleTimeout()}static dispatchTimeout(t){const{withObservable:e}=t;t._unsubscribeAndRecycle(),t.add(Object(s.c)(e,new s.a(t)))}scheduleTimeout(){const{action:t}=this;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(Zn.dispatchTimeout,this.waitFor,this))}_next(t){this.absoluteTimeout||this.scheduleTimeout(),super._next(t)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}var Qn=n("z6cu");function $n(t,e=f.a){return Xn(t,Object(Qn.a)(new Kn),e)}function Jn(t=f.a){return Object(Ot.a)(e=>new ti(e,t.now()))}class ti{constructor(t,e){this.value=t,this.timestamp=e}}function ei(t,e,n){return 0===n?[e]:(t.push(e),t)}function ni(){return se(ei,[])}function ii(t){return function(e){return e.lift(new ri(t))}}class ri{constructor(t){this.windowBoundaries=t}call(t,e){const n=new si(t),i=e.subscribe(n);return i.closed||n.add(Object(s.c)(this.windowBoundaries,new s.a(n))),i}}class si extends s.b{constructor(t){super(t),this.window=new Ft.a,t.next(this.window)}notifyNext(){this.openWindow()}notifyError(t){this._error(t)}notifyComplete(){this._complete()}_next(t){this.window.next(t)}_error(t){this.window.error(t),this.destination.error(t)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const t=this.window;t&&t.complete();const e=this.destination,n=this.window=new Ft.a;e.next(n)}}function oi(t,e=0){return function(n){return n.lift(new ai(t,e))}}class ai{constructor(t,e){this.windowSize=t,this.startWindowEvery=e}call(t,e){return e.subscribe(new li(t,this.windowSize,this.startWindowEvery))}}class li extends c.a{constructor(t,e,n){super(t),this.destination=t,this.windowSize=e,this.startWindowEvery=n,this.windows=[new Ft.a],this.count=0,t.next(this.windows[0])}_next(t){const e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,i=this.windowSize,r=this.windows,s=r.length;for(let a=0;a=0&&o%e==0&&!this.closed&&r.shift().complete(),++this.count%e==0&&!this.closed){const t=new Ft.a;r.push(t),n.next(t)}}_error(t){const e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)}_complete(){const t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function ci(t){let e=f.a,n=null,i=Number.POSITIVE_INFINITY;return Object(g.a)(arguments[3])&&(e=arguments[3]),Object(g.a)(arguments[2])?e=arguments[2]:Object(On.a)(arguments[2])&&(i=Number(arguments[2])),Object(g.a)(arguments[1])?e=arguments[1]:Object(On.a)(arguments[1])&&(n=Number(arguments[1])),function(r){return r.lift(new ui(t,n,i,e))}}class ui{constructor(t,e,n,i){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=i}call(t,e){return e.subscribe(new di(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class hi extends Ft.a{constructor(){super(...arguments),this._numberOfNextedValues=0}next(t){this._numberOfNextedValues++,super.next(t)}get numberOfNextedValues(){return this._numberOfNextedValues}}class di extends c.a{constructor(t,e,n,i,r){super(t),this.destination=t,this.windowTimeSpan=e,this.windowCreationInterval=n,this.maxWindowSize=i,this.scheduler=r,this.windows=[];const s=this.openWindow();if(null!==n&&n>=0){const t={windowTimeSpan:e,windowCreationInterval:n,subscriber:this,scheduler:r};this.add(r.schedule(gi,e,{subscriber:this,window:s,context:null})),this.add(r.schedule(fi,n,t))}else this.add(r.schedule(pi,e,{subscriber:this,window:s,windowTimeSpan:e}))}_next(t){const e=this.windows,n=e.length;for(let i=0;i=this.maxWindowSize&&this.closeWindow(n))}}_error(t){const e=this.windows;for(;e.length>0;)e.shift().error(t);this.destination.error(t)}_complete(){const t=this.windows;for(;t.length>0;){const e=t.shift();e.closed||e.complete()}this.destination.complete()}openWindow(){const t=new hi;return this.windows.push(t),this.destination.next(t),t}closeWindow(t){t.complete();const e=this.windows;e.splice(e.indexOf(t),1)}}function pi(t){const{subscriber:e,windowTimeSpan:n,window:i}=t;i&&e.closeWindow(i),t.window=e.openWindow(),this.schedule(t,n)}function fi(t){const{windowTimeSpan:e,subscriber:n,scheduler:i,windowCreationInterval:r}=t,s=n.openWindow(),o=this;let a={action:o,subscription:null};a.subscription=i.schedule(gi,e,{subscriber:n,window:s,context:a}),o.add(a.subscription),o.schedule(t,r)}function gi(t){const{subscriber:e,window:n,context:i}=t;i&&i.action&&i.subscription&&i.action.remove(i.subscription),e.closeWindow(n)}function mi(t,e){return n=>n.lift(new bi(t,e))}class bi{constructor(t,e){this.openings=t,this.closingSelector=e}call(t,e){return e.subscribe(new _i(t,this.openings,this.closingSelector))}}class _i extends k.a{constructor(t,e,n){super(t),this.openings=e,this.closingSelector=n,this.contexts=[],this.add(this.openSubscription=Object(O.a)(this,e,e))}_next(t){const{contexts:e}=this;if(e){const n=e.length;for(let i=0;ie.lift(new xi.a(t))}},l7GE:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");class r extends i.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s});var i=n("SpAZ");function r(...t){return s(t)}function s(t){return 0===t.length?i.a:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},mlxB:function(t,e,n){"use strict";function i(t){return t instanceof Date&&!isNaN(+t)}n.d(e,"a",function(){return i})},mrSG:function(t,e,n){"use strict";function i(t,e,n,i){return new(n||(n=Promise))(function(r,s){function o(t){try{l(i.next(t))}catch(e){s(e)}}function a(t){try{l(i.throw(t))}catch(e){s(e)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((i=i.apply(t,e||[])).next())})}n.d(e,"a",function(){return i})},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},nEHF:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var i=n("ofXK"),r=n("sbs8"),s=n("JqCM"),o=n("3Pt+"),a=n("f0Cb"),l=n("bSwM"),c=n("OFbc"),u=n("6NWb"),h=n("tyNb"),d=n("34QU"),p=n("fXoL");let f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=p["\u0275\u0275defineInjector"]({imports:[[i.CommonModule,r.a,s.b,o.h,a.b,l.b,c.a,u.b,h.h,d.a]]}),t})()},nLfN:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return l}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return b}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return g}),n.d(e,"g",function(){return m});var i=n("fXoL"),r=n("ofXK");let s;try{s="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(y){s=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.isPlatformBrowser)(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&&!s)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.PLATFORM_ID))},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(i["\u0275\u0275inject"])(i.PLATFORM_ID))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function u(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let h,d,p,f;function g(t){return function(){if(null==h&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>h=!0}))}finally{h=h||!1}return h}()?t:!!t.capture}function m(){if(null==p){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return p=!1,p;if("scrollBehavior"in document.documentElement.style)p=!0;else{const t=Element.prototype.scrollTo;p=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return p}function b(){if("object"!=typeof document||!document)return 0;if(null==d){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),d=0,0===t.scrollLeft&&(t.scrollLeft=1,d=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return d}function _(t){if(function(){if(null==f){const t="undefined"!=typeof document?document.head:null;f=!(!t||!t.createShadowRoot&&!t.attachShadow)}return f}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}},nXMU:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n("HDdC"),r=n("LRne"),s=n("lJxs"),o=n("vkgz"),a=n("JIr8"),l=n("w1tV"),c=n("ofXK"),u=n("fXoL"),h=n("tk/3"),d=n("7jjV");let p=(()=>{class t{constructor(t,e,n){this.http=t,this.logger=e,this._document=n,this.loadedIcons=new Map,this.document=n}getSvg(t){if(this.loadedIcons.has(t)){const e=this.loadedIcons.get(t);return e.loading?e.observer:new i.a(t=>{t.next(e.icon),t.complete()})}const e={icon:null,loading:!0};return e.observer=this.loadSvg(t).pipe(Object(s.a)(t=>{const e=this.document.createElement("div");return e.innerHTML=t,e.querySelector("svg")}),Object(o.a)(t=>{e.loading=!1,e.icon=t,e.observer=null}),Object(a.a)(t=>(this.logger.error("Error loading svg",t.message),Object(r.a)(null))),Object(l.a)()),this.loadedIcons.set(t,e),e.observer}loadSvg(t){return this.http.get(`assets/icons/${t}.svg`,{responseType:"text"})}}return t.\u0275fac=function(e){return new(e||t)(u["\u0275\u0275inject"](h.HttpClient),u["\u0275\u0275inject"](d.a),u["\u0275\u0275inject"](c.DOCUMENT))},t.\u0275prov=u["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})()},nYR2:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("7o/Q"),r=n("quSY");function s(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.a{constructor(t,e){super(t),this.add(new r.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>e=>{for(let n=0,i=t.length;n{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:u,token:t,providedIn:"platform"}),t})();function u(){return Object(i["\u0275\u0275inject"])(d)}const h=new i.InjectionToken("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](l))},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d(Object(i["\u0275\u0275inject"])(l))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=Object(i["\u0275\u0275inject"])(l).location;return new C(Object(i["\u0275\u0275inject"])(c),e&&e.origin||"")}const v=new i.InjectionToken("appBaseHref");let C=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](c),i["\u0275\u0275inject"](v,8))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),w=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](c),i["\u0275\u0275inject"](v,8))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new i.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(k(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,k(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](_),i["\u0275\u0275inject"](c))},t.normalizeQueryParams=b,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({factory:O,token:t,providedIn:"root"}),t})();function O(){return new x(Object(i["\u0275\u0275inject"])(_),Object(i["\u0275\u0275inject"])(c))}function k(t){return t.replace(/\/index.html$/,"")}const E={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var P=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),S=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),M=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),I=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),A=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),T=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({}),D=function(t){return t[t.Sunday=0]="Sunday",t[t.Monday=1]="Monday",t[t.Tuesday=2]="Tuesday",t[t.Wednesday=3]="Wednesday",t[t.Thursday=4]="Thursday",t[t.Friday=5]="Friday",t[t.Saturday=6]="Saturday",t}({});function j(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].LocaleId]}function R(t,e,n){const r=Object(i["\u0275findLocaleData"])(t),s=tt([r[i["\u0275LocaleDataIndex"].DayPeriodsFormat],r[i["\u0275LocaleDataIndex"].DayPeriodsStandalone]],e);return tt(s,n)}function N(t,e,n){const r=Object(i["\u0275findLocaleData"])(t),s=tt([r[i["\u0275LocaleDataIndex"].DaysFormat],r[i["\u0275LocaleDataIndex"].DaysStandalone]],e);return tt(s,n)}function F(t,e,n){const r=Object(i["\u0275findLocaleData"])(t),s=tt([r[i["\u0275LocaleDataIndex"].MonthsFormat],r[i["\u0275LocaleDataIndex"].MonthsStandalone]],e);return tt(s,n)}function V(t,e){return tt(Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].Eras],e)}function L(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].FirstDayOfWeek]}function z(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].WeekendRange]}function B(t,e){return tt(Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].DateFormat],e)}function H(t,e){return tt(Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].TimeFormat],e)}function U(t,e){return tt(Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].DateTimeFormat],e)}function q(t,e){const n=Object(i["\u0275findLocaleData"])(t),r=n[i["\u0275LocaleDataIndex"].NumberSymbols][e];if(void 0===r){if(e===T.CurrencyDecimal)return n[i["\u0275LocaleDataIndex"].NumberSymbols][T.Decimal];if(e===T.CurrencyGroup)return n[i["\u0275LocaleDataIndex"].NumberSymbols][T.Group]}return r}function W(t,e){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].NumberFormats][e]}function K(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].CurrencySymbol]||null}function Y(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].CurrencyName]||null}function X(t){return Object(i["\u0275getLocaleCurrencyCode"])(t)}const G=i["\u0275getLocalePluralCase"];function Z(t){if(!t[i["\u0275LocaleDataIndex"].ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i["\u0275LocaleDataIndex"].LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Q(t){const e=Object(i["\u0275findLocaleData"])(t);return Z(e),(e[i["\u0275LocaleDataIndex"].ExtraData][2]||[]).map(t=>"string"==typeof t?et(t):[et(t[0]),et(t[1])])}function $(t,e,n){const r=Object(i["\u0275findLocaleData"])(t);Z(r);const s=tt([r[i["\u0275LocaleDataIndex"].ExtraData][0],r[i["\u0275LocaleDataIndex"].ExtraData][1]],e)||[];return tt(s,n)||[]}function J(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].Directionality]}function tt(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function et(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}function nt(t,e,n="en"){const r=function(t){return Object(i["\u0275findLocaleData"])(t)[i["\u0275LocaleDataIndex"].Currencies]}(n)[t]||E[t]||[],s=r[1];return"narrow"===e&&"string"==typeof s?s:r[0]||t}function it(t){let e;const n=E[t];return n&&(e=n[2]),"number"==typeof e?e:2}const rt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,st={},ot=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var at=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),lt=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),ct=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function ut(t,e,n,i){let r=function(t){if(xt(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[e,n=1,i=1]=t.split("-").map(t=>+t);return ht(e,n-1,i)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(rt))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!xt(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=dt(n,e)||e;let s,o=[];for(;e;){if(s=ot.exec(e),!s){o.push(e);break}{o=o.concat(s.slice(1));const t=o.pop();if(!t)break;e=t}}let a=r.getTimezoneOffset();i&&(a=wt(i,a),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(wt(e,i)-i))}(r,i));let l="";return o.forEach(t=>{const e=function(t){if(Ct[t])return Ct[t];let e;switch(t){case"G":case"GG":case"GGG":e=mt(ct.Eras,I.Abbreviated);break;case"GGGG":e=mt(ct.Eras,I.Wide);break;case"GGGGG":e=mt(ct.Eras,I.Narrow);break;case"y":e=gt(lt.FullYear,1,0,!1,!0);break;case"yy":e=gt(lt.FullYear,2,0,!0,!0);break;case"yyy":e=gt(lt.FullYear,3,0,!1,!0);break;case"yyyy":e=gt(lt.FullYear,4,0,!1,!0);break;case"Y":e=vt(1);break;case"YY":e=vt(2,!0);break;case"YYY":e=vt(3);break;case"YYYY":e=vt(4);break;case"M":case"L":e=gt(lt.Month,1,1);break;case"MM":case"LL":e=gt(lt.Month,2,1);break;case"MMM":e=mt(ct.Months,I.Abbreviated);break;case"MMMM":e=mt(ct.Months,I.Wide);break;case"MMMMM":e=mt(ct.Months,I.Narrow);break;case"LLL":e=mt(ct.Months,I.Abbreviated,M.Standalone);break;case"LLLL":e=mt(ct.Months,I.Wide,M.Standalone);break;case"LLLLL":e=mt(ct.Months,I.Narrow,M.Standalone);break;case"w":e=yt(1);break;case"ww":e=yt(2);break;case"W":e=yt(1,!0);break;case"d":e=gt(lt.Date,1);break;case"dd":e=gt(lt.Date,2);break;case"E":case"EE":case"EEE":e=mt(ct.Days,I.Abbreviated);break;case"EEEE":e=mt(ct.Days,I.Wide);break;case"EEEEE":e=mt(ct.Days,I.Narrow);break;case"EEEEEE":e=mt(ct.Days,I.Short);break;case"a":case"aa":case"aaa":e=mt(ct.DayPeriods,I.Abbreviated);break;case"aaaa":e=mt(ct.DayPeriods,I.Wide);break;case"aaaaa":e=mt(ct.DayPeriods,I.Narrow);break;case"b":case"bb":case"bbb":e=mt(ct.DayPeriods,I.Abbreviated,M.Standalone,!0);break;case"bbbb":e=mt(ct.DayPeriods,I.Wide,M.Standalone,!0);break;case"bbbbb":e=mt(ct.DayPeriods,I.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":e=mt(ct.DayPeriods,I.Abbreviated,M.Format,!0);break;case"BBBB":e=mt(ct.DayPeriods,I.Wide,M.Format,!0);break;case"BBBBB":e=mt(ct.DayPeriods,I.Narrow,M.Format,!0);break;case"h":e=gt(lt.Hours,1,-12);break;case"hh":e=gt(lt.Hours,2,-12);break;case"H":e=gt(lt.Hours,1);break;case"HH":e=gt(lt.Hours,2);break;case"m":e=gt(lt.Minutes,1);break;case"mm":e=gt(lt.Minutes,2);break;case"s":e=gt(lt.Seconds,1);break;case"ss":e=gt(lt.Seconds,2);break;case"S":e=gt(lt.FractionalSeconds,1);break;case"SS":e=gt(lt.FractionalSeconds,2);break;case"SSS":e=gt(lt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=bt(at.Short);break;case"ZZZZZ":e=bt(at.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=bt(at.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=bt(at.Long);break;default:return null}return Ct[t]=e,e}(t);l+=e?e(r,n,a):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function ht(t,e,n){const i=new Date(0);return i.setFullYear(t,e,n),i.setHours(0,0,0),i}function dt(t,e){const n=j(t);if(st[n]=st[n]||{},st[n][e])return st[n][e];let i="";switch(e){case"shortDate":i=B(t,A.Short);break;case"mediumDate":i=B(t,A.Medium);break;case"longDate":i=B(t,A.Long);break;case"fullDate":i=B(t,A.Full);break;case"shortTime":i=H(t,A.Short);break;case"mediumTime":i=H(t,A.Medium);break;case"longTime":i=H(t,A.Long);break;case"fullTime":i=H(t,A.Full);break;case"short":const e=dt(t,"shortTime"),n=dt(t,"shortDate");i=pt(U(t,A.Short),[e,n]);break;case"medium":const r=dt(t,"mediumTime"),s=dt(t,"mediumDate");i=pt(U(t,A.Medium),[r,s]);break;case"long":const o=dt(t,"longTime"),a=dt(t,"longDate");i=pt(U(t,A.Long),[o,a]);break;case"full":const l=dt(t,"fullTime"),c=dt(t,"fullDate");i=pt(U(t,A.Full),[l,c])}return i&&(st[n][e]=i),i}function pt(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function ft(t,e,n="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length0||a>-n)&&(a+=n),t===lt.Hours)0===a&&-12===n&&(a=12);else if(t===lt.FractionalSeconds)return l=e,ft(a,3).substr(0,l);var l;const c=q(o,T.MinusSign);return ft(a,e,c,i,r)}}function mt(t,e,n=M.Format,i=!1){return function(r,s){return function(t,e,n,i,r,s){switch(n){case ct.Months:return F(e,r,i)[t.getMonth()];case ct.Days:return N(e,r,i)[t.getDay()];case ct.DayPeriods:const o=t.getHours(),a=t.getMinutes();if(s){const t=Q(e),n=$(e,r,i),s=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=o>=e.hours&&a>=e.minutes,r=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case at.Short:return(r>=0?"+":"")+ft(o,2,s)+ft(Math.abs(r%60),2,s);case at.ShortGMT:return"GMT"+(r>=0?"+":"")+ft(o,1,s);case at.Long:return"GMT"+(r>=0?"+":"")+ft(o,2,s)+":"+ft(Math.abs(r%60),2,s);case at.Extended:return 0===i?"Z":(r>=0?"+":"")+ft(o,2,s)+":"+ft(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function _t(t){return ht(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function yt(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=_t(n),e=function(t){const e=ht(t,0,1).getDay();return ht(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return ft(r,t,q(i,T.MinusSign))}}function vt(t,e=!1){return function(n,i){return ft(_t(n).getFullYear(),t,q(i,T.MinusSign),e)}}const Ct={};function wt(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function xt(t){return t instanceof Date&&!isNaN(t.valueOf())}const Ot=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kt=".",Et="0";function Pt(t,e,n,i,r,s,o=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,s,o=Math.abs(t)+"",a=0;for((n=o.indexOf(kt))>-1&&(o=o.replace(kt,"")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;o.charAt(i)===Et;i++);if(i===(s=o.length))e=[0],n=1;else{for(s--;o.charAt(s)===Et;)s--;for(n-=i,e=[],r=0;i<=s;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(s){const t=s.match(Ot);if(null===t)throw new Error(`${s} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=Tt(e)),null!=n&&(h=Tt(n)),null!=i?d=Tt(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const s=Math.min(Math.max(e,r),n);let o=s+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0},0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let m=[];for(l=p.every(t=>!t);f0?m=p.splice(f,p.length):(m=p,p=[0]);const b=[];for(p.length>=e.lgSize&&b.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)b.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join(q(n,i)),m.length&&(a+=q(n,r)+m.join("")),g&&(a+=q(n,T.Exponential)+"+"+g)}else a=q(n,T.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function St(t,e,n,i,r){const s=At(W(e,P.Currency),q(e,T.MinusSign));return s.minFrac=it(i),s.maxFrac=s.minFrac,Pt(t,s,e,T.CurrencyGroup,T.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}function Mt(t,e,n){return Pt(t,At(W(e,P.Percent),q(e,T.MinusSign)),e,T.Group,T.Decimal,n,!0).replace(new RegExp("%","g"),q(e,T.PercentSign))}function It(t,e,n){return Pt(t,At(W(e,P.Decimal),q(e,T.MinusSign)),e,T.Group,T.Decimal,n)}function At(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],s=i[1],o=-1!==r.indexOf(kt)?r.split(kt):[r.substring(0,r.lastIndexOf(Et)+1),r.substring(r.lastIndexOf(Et)+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let u=0;u-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}let Rt=(()=>{class t extends Dt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(G(e||this.locale)(t)){case S.Zero:return"zero";case S.One:return"one";case S.Two:return"two";case S.Few:return"few";case S.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](i.LOCALE_ID))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();function Nt(t,e,n){return Object(i["\u0275registerLocaleData"])(t,e,n)}function Ft(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let Vt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(i["\u0275stringify"])(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.IterableDiffers),i["\u0275\u0275directiveInject"](i.KeyValueDiffers),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.Renderer2))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),Lt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}ngOnChanges(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const t=e.get(i.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(i.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ViewContainerRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),t})();class zt{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 Bt=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new zt(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new Ht(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new Ht(t,r);e.push(s)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.IterableDiffers))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class Ht{constructor(t,e){this.record=t,this.view=e}}let Ut=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new qt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Wt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Wt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class qt{constructor(){this.$implicit=null,this.ngIf=null}}function Wt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i["\u0275stringify"])(e)}'.`)}class Kt{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let Yt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new Kt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](Yt,1))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Gt=(()=>{class t{constructor(t,e,n){n._addDefault(new Kt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](Yt,1))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Zt=(()=>{class t{constructor(t){this._localization=t,this._caseViews={}}set ngPlural(t){this._switchValue=t,this._updateView()}addCase(t,e){this._caseViews[t]=e}_updateView(){this._clearViews();const t=Object.keys(this._caseViews),e=jt(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(t){t&&(this._activeView=t,this._activeView.create())}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](Dt))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),t})(),Qt=(()=>{class t{constructor(t,e,n,i){this.value=t;const r=!isNaN(Number(t));i.addCase(r?`=${t}`:t,new Kt(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275injectAttribute"]("ngPluralCase"),i["\u0275\u0275directiveInject"](i.TemplateRef),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](Zt,1))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngPluralCase",""]]}),t})(),$t=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.KeyValueDiffers),i["\u0275\u0275directiveInject"](i.Renderer2))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),Jt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.ViewContainerRef))},t.\u0275dir=i["\u0275\u0275defineDirective"]({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i["\u0275\u0275NgOnChangesFeature"]]}),t})();const te=[Vt,Lt,Bt,Ut,Jt,$t,Yt,Xt,Gt,Zt,Qt];function ee(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i["\u0275stringify"])(t)}'`)}class ne{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class ie{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const re=new ie,se=new ne;let oe=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i["\u0275isPromise"])(e))return re;if(Object(i["\u0275isSubscribable"])(e))return se;throw ee(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275injectPipeChangeDetectorRef"]())},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"async",type:t,pure:!1}),t})(),ae=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw ee(t,e);return e.toLowerCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"lowercase",type:t,pure:!0}),t})();const le=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let ce=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw ee(t,e);return e.replace(le,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"titlecase",type:t,pure:!0}),t})(),ue=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw ee(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"uppercase",type:t,pure:!0}),t})(),he=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return ut(e,n,r||this.locale,i)}catch(s){throw ee(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.LOCALE_ID))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"date",type:t,pure:!0}),t})();const de=/#/g;let pe=(()=>{class t{constructor(t){this._localization=t}transform(e,n,i){if(null==e)return"";if("object"!=typeof n||null===n)throw ee(t,n);return n[jt(e,Object.keys(n),this._localization,i)].replace(de,e.toString())}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](Dt))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"i18nPlural",type:t,pure:!0}),t})(),fe=(()=>{class t{transform(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw ee(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"i18nSelect",type:t,pure:!0}),t})(),ge=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"json",type:t,pure:!1}),t})(),me=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=be){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t);return n&&(this.keyValues=[],n.forEachItem(t=>{this.keyValues.push({key:t.key,value:t.currentValue})}),this.keyValues.sort(e)),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.KeyValueDiffers))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"keyvalue",type:t,pure:!1}),t})();function be(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n{class t{constructor(t){this._locale=t}transform(e,n,i){if(!Ce(e))return null;i=i||this._locale;try{return It(we(e),i,n)}catch(r){throw ee(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.LOCALE_ID))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"number",type:t,pure:!0}),t})(),ye=(()=>{class t{constructor(t){this._locale=t}transform(e,n,i){if(!Ce(e))return null;i=i||this._locale;try{return Mt(we(e),i,n)}catch(r){throw ee(t,r.message)}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.LOCALE_ID))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"percent",type:t,pure:!0}),t})(),ve=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,i="symbol",r,s){if(!Ce(e))return null;s=s||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let o=n||this._defaultCurrencyCode;"code"!==i&&(o="symbol"===i||"symbol-narrow"===i?nt(o,"symbol"===i?"wide":"narrow",s):i);try{return St(we(e),s,o,n,r)}catch(a){throw ee(t,a.message)}}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](i.LOCALE_ID),i["\u0275\u0275directiveInject"](i.DEFAULT_CURRENCY_CODE))},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"currency",type:t,pure:!0}),t})();function Ce(t){return!(null==t||""===t||t!=t)}function we(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}let xe=(()=>{class t{transform(e,n,i){if(null==e)return null;if(!this.supports(e))throw ee(t,e);return e.slice(n,i)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i["\u0275\u0275definePipe"]({name:"slice",type:t,pure:!1}),t})();const Oe=[oe,ue,ae,ge,xe,_e,ye,ce,ve,he,pe,fe,me];let ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[{provide:Dt,useClass:Rt}]}),t})();const Ee="browser",Pe="server",Se="browserWorkerApp",Me="browserWorkerUi";function Ie(t){return t===Ee}function Ae(t){return t===Pe}function Te(t){return t===Se}function De(t){return t===Me}const je=new i.Version("11.2.9");let Re=(()=>{class t{}return t.\u0275prov=Object(i["\u0275\u0275defineInjectable"])({token:t,providedIn:"root",factory:()=>new Ne(Object(i["\u0275\u0275inject"])(l),window)}),t})();class Ne{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Fe(this.window.history)||Fe(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Fe(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Ve{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}}},ohmy:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[1];return 3*(e[0]+n)/4-n},e.toByteArray=function(t){var e,n,i=c(t),o=i[0],a=i[1],l=new s(function(t,e,n){return 3*(e+n)/4-n}(0,o,a)),u=0,h=a>0?o-4:o;for(n=0;n>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===a&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e),1===a&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l},e.fromByteArray=function(t){for(var e,n=t.length,r=n%3,s=[],o=16383,a=0,l=n-r;al?l:a+o));return 1===r?s.push(i[(e=t[n-1])>>2]+i[e<<4&63]+"=="):2===r&&s.push(i[(e=(t[n-2]<<8)+t[n-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),s.join("")};for(var i=[],r=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=o.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,n){for(var r,s=[],o=e;o>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},pLZG:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){return n.lift(new s(t,e))}}class s{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pxpQ:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("WMd4");function s(t,e=0){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))}}class a extends i.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new l(t,this.destination)))}_next(t){this.scheduleMessage(r.a.createNext(t))}_error(t){this.scheduleMessage(r.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.notification=t,this.destination=e}}},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("DH7j"),r=n("XoHu"),s=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof o?e.errors:e),[])}},rlFW:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("fXoL");let r=(()=>{class t{constructor(){this.role=null}setRole(t){this.role=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},sVev:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},sbs8:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("ofXK"),r=n("nXMU"),s=n("fXoL");let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=s["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=s["\u0275\u0275defineInjector"]({providers:[r.a],imports:[[i.CommonModule]]}),t})()},"tk/3":function(t,e,n){"use strict";n.r(e),n.d(e,"HTTP_INTERCEPTORS",function(){return S}),n.d(e,"HttpBackend",function(){return h}),n.d(e,"HttpClient",function(){return E}),n.d(e,"HttpClientJsonpModule",function(){return Y}),n.d(e,"HttpClientModule",function(){return K}),n.d(e,"HttpClientXsrfModule",function(){return W}),n.d(e,"HttpErrorResponse",function(){return O}),n.d(e,"HttpEventType",function(){return v}),n.d(e,"HttpHandler",function(){return u}),n.d(e,"HttpHeaderResponse",function(){return w}),n.d(e,"HttpHeaders",function(){return d}),n.d(e,"HttpParams",function(){return g}),n.d(e,"HttpRequest",function(){return y}),n.d(e,"HttpResponse",function(){return x}),n.d(e,"HttpResponseBase",function(){return C}),n.d(e,"HttpUrlEncodingCodec",function(){return p}),n.d(e,"HttpXhrBackend",function(){return F}),n.d(e,"HttpXsrfTokenExtractor",function(){return z}),n.d(e,"JsonpClientBackend",function(){return T}),n.d(e,"JsonpInterceptor",function(){return D}),n.d(e,"XhrFactory",function(){return R}),n.d(e,"\u0275HttpInterceptingHandler",function(){return U}),n.d(e,"\u0275angular_packages_common_http_http_a",function(){return M}),n.d(e,"\u0275angular_packages_common_http_http_b",function(){return A}),n.d(e,"\u0275angular_packages_common_http_http_c",function(){return q}),n.d(e,"\u0275angular_packages_common_http_http_d",function(){return N}),n.d(e,"\u0275angular_packages_common_http_http_e",function(){return V}),n.d(e,"\u0275angular_packages_common_http_http_f",function(){return L}),n.d(e,"\u0275angular_packages_common_http_http_g",function(){return B}),n.d(e,"\u0275angular_packages_common_http_http_h",function(){return H});var i=n("fXoL"),r=n("LRne"),s=n("HDdC"),o=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("ofXK");class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return f(t)}encodeValue(t){return f(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function f(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class g{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const i=t[n];Array.isArray(i)?i.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new g({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class y{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new y(e,n,r,{params:l,headers:a,reportProgress:o,responseType:i,withCredentials:s})}}var v=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class C{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class w extends C{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new w({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class x extends C{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new x({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class O extends C{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function k(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let E=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof y)i=t;else{let r,s;r=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),i=new y(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(r.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof y||"events"===n.observe)return s;const c=s.pipe(Object(a.a)(t=>t instanceof x));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe(Object(l.a)(t=>t.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new g).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,k(n,e))}post(t,e,n={}){return this.request("POST",t,k(n,e))}put(t,e,n={}){return this.request("PUT",t,k(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](u))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();class P{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const S=new i.InjectionToken("HTTP_INTERCEPTORS");let M=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),I=0;class A{}let T=(()=>{class t{constructor(t,e){this.callbackMap=t,this.document=e,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+I++}handle(t){if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new s.a(e=>{const n=this.nextCallback(),i=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),r=this.document.createElement("script");r.src=i;let s=null,o=!1,a=!1;this.callbackMap[n]=t=>{delete this.callbackMap[n],a||(s=t,o=!0)};const l=()=>{r.parentNode&&r.parentNode.removeChild(r),delete this.callbackMap[n]},c=t=>{a||this.resolvedPromise.then(()=>{l(),o?(e.next(new x({body:s,status:200,statusText:"OK",url:i})),e.complete()):e.error(new O({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},u=t=>{a||(l(),e.error(new O({error:t,status:0,statusText:"JSONP Error",url:i})))};return r.addEventListener("load",c),r.addEventListener("error",u),this.document.body.appendChild(r),e.next({type:v.Sent}),()=>{a=!0,r.removeEventListener("load",c),r.removeEventListener("error",u),l()}})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](A),i["\u0275\u0275inject"](c.DOCUMENT))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{constructor(t){this.jsonp=t}intercept(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](T))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const j=/^\)\]\}',?\n/;class R{}let N=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new w({headers:s,status:e,statusText:i,url:o}),r},o=()=>{let{headers:i,status:r,statusText:o,url:a}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(j,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new x({body:l,headers:i,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new O({error:l,headers:i,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=s(),r=new O({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:v.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:v.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",o),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](R))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const V=new i.InjectionToken("XSRF_COOKIE_NAME"),L=new i.InjectionToken("XSRF_HEADER_NAME");class z{}let B=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c["\u0275parseCookieValue"])(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](c.DOCUMENT),i["\u0275\u0275inject"](i.PLATFORM_ID),i["\u0275\u0275inject"](V))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](z),i["\u0275\u0275inject"](L))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(S,[]);this.chain=t.reduceRight((t,e)=>new P(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275inject"](h),i["\u0275\u0275inject"](i.Injector))},t.\u0275prov=i["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();function q(){return"object"==typeof window?window:{}}let W=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:H,useClass:M}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:V,useValue:e.cookieName}:[],e.headerName?{provide:L,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[H,{provide:S,useExisting:H,multi:!0},{provide:z,useClass:B},{provide:V,useValue:"XSRF-TOKEN"},{provide:L,useValue:"X-XSRF-TOKEN"}]}),t})(),K=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[E,{provide:u,useClass:U},F,{provide:h,useExisting:F},N,{provide:R,useExisting:N}],imports:[[W.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[T,{provide:A,useFactory:q},{provide:S,useClass:D,multi:!0}]}),t})()},tnsW:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("zx2A");function r(t){return function(e){return e.lift(new s(t))}}class s{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends i.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const r=Object(i.c)(n,new i.a(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}},tyNb:function(t,e,n){"use strict";n.d(e,"a",function(){return Ft}),n.d(e,"b",function(){return j}),n.d(e,"c",function(){return D}),n.d(e,"d",function(){return nn}),n.d(e,"e",function(){return rn}),n.d(e,"f",function(){return an}),n.d(e,"g",function(){return sn}),n.d(e,"h",function(){return _n}),n.d(e,"i",function(){return ln});var i=n("ofXK"),r=n("fXoL"),s=n("Cfvw"),o=n("LRne"),a=n("2Vo4"),l=n("itXk"),c=n("HDdC"),u=n("sVev"),h=n("GyhO"),d=n("NXyV"),p=n("EY2u"),f=n("EQ5u"),g=n("XNiG"),m=n("lJxs"),b=n("eIep"),_=n("IzEk"),y=n("JX91"),v=n("Kqap"),C=n("pLZG"),w=n("JIr8"),x=n("bOdf"),O=n("NJ9Y"),k=n("SxV6"),E=n("5+tZ"),P=n("vkgz"),S=n("BFxc"),M=n("x+ZX"),I=n("nYR2"),A=n("bHdf");class T{constructor(t,e){this.id=t,this.url=e}}class D extends T{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class j extends T{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class R extends T{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class N extends T{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class F extends T{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class V extends T{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class L extends T{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class z extends T{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B extends T{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class H{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class U{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class q{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class W{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Y{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const G="primary";class Z{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Q(t){return new Z(t)}function $(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function J(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function nt(t){return Array.prototype.concat.apply([],t)}function it(t){return t.length>0?t[t.length-1]:null}function rt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function st(t){return Object(r["\u0275isObservable"])(t)?t:Object(r["\u0275isPromise"])(t)?Object(s.a)(Promise.resolve(t)):Object(o.a)(t)}function ot(t,e,n){return n?function(t,e){return tt(t,e)}(t.queryParams,e.queryParams)&&at(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>et(t[n],e[n]))}(t.queryParams,e.queryParams)&<(t.root,e.root)}function at(t,e){if(!pt(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!at(t.children[n],e.children[n]))return!1}return!0}function lt(t,e){return ct(t,e,e.segments)}function ct(t,e,n){if(t.segments.length>n.length)return!!pt(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!pt(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!lt(t.children[n],e.children[n]))return!1}return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!pt(t.segments,i)&&!!t.children.primary&&ct(t.children.primary,e,r)}}class ut{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Q(this.queryParams)),this._queryParamMap}toString(){return mt.serialize(this)}}class ht{constructor(t,e){this.segments=t,this.children=e,this.parent=null,rt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return bt(this)}}class dt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Q(this.parameters)),this._parameterMap}toString(){return Ot(this)}}function pt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class ft{}class gt{parse(t){const e=new Mt(t);return new ut(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`/${_t(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${vt(e)}=${vt(t)}`).join("&"):`${vt(e)}=${vt(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const mt=new gt;function bt(t){return t.segments.map(t=>Ot(t)).join("/")}function _t(t,e){if(!t.hasChildren())return bt(t);if(e){const e=t.children.primary?_t(t.children.primary,!1):"",n=[];return rt(t.children,(t,e)=>{e!==G&&n.push(`${e}:${_t(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return rt(t.children,(t,i)=>{i===G&&(n=n.concat(e(t,i)))}),rt(t.children,(t,i)=>{i!==G&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===G?[_t(t.children.primary,!1)]:[`${n}:${_t(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${bt(t)}/${e[0]}`:`${bt(t)}/(${e.join("//")})`}}function yt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function vt(t){return yt(t).replace(/%3B/gi,";")}function Ct(t){return yt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wt(t){return decodeURIComponent(t)}function xt(t){return wt(t.replace(/\+/g,"%20"))}function Ot(t){return`${Ct(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Ct(t)}=${Ct(e[t])}`).join("")}`;var e}const kt=/^[^\/()?;=#]+/;function Et(t){const e=t.match(kt);return e?e[0]:""}const Pt=/^[^=?&#]+/,St=/^[^?&#]+/;class Mt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ht([],{}):new ht([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new ht(t,e)),n}parseSegment(){const t=Et(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new dt(wt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Et(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Et(this.remaining);t&&(n=t,this.capture(n))}t[wt(e)]=wt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Pt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(St);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=xt(e),r=xt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Et(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=G);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new ht([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class It{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=At(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=At(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Tt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Tt(t,this._root).map(t=>t.value)}}function At(t,e){if(t===e.value)return e;for(const n of e.children){const e=At(t,n);if(e)return e}return null}function Tt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Tt(t,n);if(i.length)return i.unshift(e),i}return[]}class Dt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function jt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Rt extends It{constructor(t,e){super(t),this.snapshot=e,Bt(this,t)}toString(){return this.snapshot.toString()}}function Nt(t,e){const n=function(t,e){const n=new Lt([],{},{},"",{},G,e,null,t.root,-1,{});return new zt("",new Dt(n,[]))}(t,e),i=new a.a([new dt("",{})]),r=new a.a({}),s=new a.a({}),o=new a.a({}),l=new a.a(""),c=new Ft(i,r,o,l,s,G,e,n.root);return c.snapshot=n.root,new Rt(new Dt(c,[]),n)}class Ft{constructor(t,e,n,i,r,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(m.a)(t=>Q(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(m.a)(t=>Q(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Vt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Lt{constructor(t,e,n,i,r,s,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Q(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Q(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zt extends It{constructor(t,e){super(e),this.url=t,Bt(this,e)}toString(){return Ht(this._root)}}function Bt(t,e){e.value._routerState=t,e.children.forEach(e=>Bt(t,e))}function Ht(t){const e=t.children.length>0?` { ${t.children.map(Ht).join(", ")} } `:"";return`${t.value}${e}`}function Ut(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,tt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),tt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;ntt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||qt(t.parent,e.parent))}function Wt(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return Wt(t,e,i);return Wt(t,e)})}(t,e,n);return new Dt(i,r)}{const n=t.retrieve(e.value);if(n){const t=n.route;return Kt(e,t),t}{const n=new Ft(new a.a((i=e.value).url),new a.a(i.params),new a.a(i.queryParams),new a.a(i.fragment),new a.a(i.data),i.outlet,i.component,i),r=e.children.map(e=>Wt(t,e));return new Dt(n,r)}}var i}function Kt(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{s[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new ut(n.root===t?e:Zt(n.root,t,e),s,r)}function Zt(t,e,n){const i={};return rt(t.children,(t,r)=>{i[r]=t===e?n:Zt(t,e,n)}),new ht(t.segments,i)}class Qt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Yt(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(Xt);if(i&&i!==it(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $t{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Jt(t,e,n){if(t||(t=new ht([],{})),0===t.segments.length&&t.hasChildren())return te(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return s;const e=t.segments[r],o=n[i];if(Xt(o))break;const a=`${o}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!re(a,l,e))return s;i+=2}else{if(!re(a,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=Jt(t.children[i],e,n))}),rt(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new ht(t.segments,r)}}function ee(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=ee(new ht([],{}),0,t))}),e}function ie(t){const e={};return rt(t,(t,n)=>e[n]=`${t}`),e}function re(t,e,n){return t==n.path&&tt(e,n.parameters)}class se{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Ut(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=jt(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),rt(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=jt(t);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(t,e,n){const i=jt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new Y(t.value.snapshot))}),t.children.length&&this.forwardEvent(new W(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Ut(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),oe(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function oe(t){Ut(t.value),t.children.forEach(oe)}class ae{constructor(t,e){this.routes=t,this.module=e}}function le(t){return"function"==typeof t}function ce(t){return t instanceof ut}const ue=Symbol("INITIAL_VALUE");function he(){return Object(b.a)(t=>Object(l.b)(t.map(t=>t.pipe(Object(_.a)(1),Object(y.a)(ue)))).pipe(Object(v.a)((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==ue)return t;if(i===ue&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||ce(i))return i}return t},t)},ue),Object(C.a)(t=>t!==ue),Object(m.a)(t=>ce(t)?t:!0===t),Object(_.a)(1)))}let de=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&r["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[ln]},encapsulation:2}),t})();function pe(t,e=""){for(let n=0;nbe(t)===e);return n.push(...t.filter(t=>be(t)!==e)),n}const ye={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ve(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},ye):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||J)(n,t,e);if(!r)return Object.assign({},ye);const s={};rt(r.posParams,(t,e)=>{s[e]=t.path});const o=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ce(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>we(t,e,n)&&be(n)!==G)}(t,n,i)){const r=new ht(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&be(s)!==G){const n=new ht([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[be(s)]=n}return r}(t,e,i,new ht(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>we(t,e,n))}(t,n,i)){const s=new ht(t.segments,function(t,e,n,i,r,s){const o={};for(const a of i)if(we(t,n,a)&&!r[be(a)]){const n=new ht([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[be(a)]=n}return Object.assign(Object.assign({},r),o)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new ht(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function we(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function xe(t,e,n,i){return!!(be(t)===i||i!==G&&we(e,n,t))&&("**"===t.path||ve(e,t,n).matched)}function Oe(t,e,n){return 0===e.length&&!t.children[n]}class ke{constructor(t){this.segmentGroup=t||null}}class Ee{constructor(t){this.urlTree=t}}function Pe(t){return new c.a(e=>e.error(new ke(t)))}function Se(t){return new c.a(e=>e.error(new Ee(t)))}function Me(t){return new c.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ie{constructor(t,e,n,i,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(r.NgModuleRef)}apply(){const t=Ce(this.urlTree.root,[],[],this.config).segmentGroup,e=new ht(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,G).pipe(Object(m.a)(t=>this.createUrlTree(Ae(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(w.a)(t=>{if(t instanceof Ee)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof ke)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,G).pipe(Object(m.a)(e=>this.createUrlTree(Ae(e),t.queryParams,t.fragment))).pipe(Object(w.a)(t=>{if(t instanceof ke)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new ht([],{[G]:t}):t;return new ut(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(m.a)(t=>new ht([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return Object(s.a)(i).pipe(Object(x.a)(i=>{const r=n.children[i],s=_e(e,i);return this.expandSegmentGroup(t,s,r,i).pipe(Object(m.a)(t=>({segment:t,outlet:i})))}),Object(v.a)((t,e)=>(t[e.outlet]=e.segment,t),{}),Object(O.a)())}expandSegment(t,e,n,i,r,a){return Object(s.a)(n).pipe(Object(x.a)(s=>this.expandSegmentAgainstRoute(t,e,n,s,i,r,a).pipe(Object(w.a)(t=>{if(t instanceof ke)return Object(o.a)(null);throw t}))),Object(k.a)(t=>!!t),Object(w.a)((t,n)=>{if(t instanceof u.a||"EmptyError"===t.name){if(Oe(e,i,r))return Object(o.a)(new ht([],{}));throw new ke(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,s,o){return xe(i,e,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Pe(e):Pe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Se(r):this.lineralizeSegments(n,r).pipe(Object(E.b)(n=>{const r=new ht(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=ve(e,i,r);if(!o)return Pe(e);const u=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?Se(u):this.lineralizeSegments(i,u).pipe(Object(E.b)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?(n._loadedConfig?Object(o.a)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe(Object(m.a)(t=>(n._loadedConfig=t,new ht(i,{})))):Object(o.a)(new ht(i,{}));const{matched:s,consumedSegments:a,lastChild:l}=ve(e,n,i);if(!s)return Pe(e);const c=i.slice(l);return this.getChildConfig(t,n,i).pipe(Object(E.b)(t=>{const i=t.module,s=t.routes,{segmentGroup:l,slicedSegments:u}=Ce(e,a,c,s),h=new ht(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(i,s,h).pipe(Object(m.a)(t=>new ht(a,t)));if(0===s.length&&0===u.length)return Object(o.a)(new ht(a,{}));const d=be(n)===r;return this.expandSegment(i,h,s,u,d?G:r,!0).pipe(Object(m.a)(t=>new ht(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(o.a)(new ae(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(E.b)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(m.a)(t=>(e._loadedConfig=t,t))):function(t){return new c.a(e=>e.error($(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(o.a)(new ae([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(o.a)(!0);const r=i.map(i=>{const r=t.get(i);let s;if(function(t){return t&&le(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!le(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return st(s)});return Object(o.a)(r).pipe(he(),Object(P.a)(t=>{if(!ce(t))return;const e=$(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(m.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(o.a)(n);if(i.numberOfChildren>1||!i.children.primary)return Me(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new ut(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return rt(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return rt(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new ht(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Ae(t){const e={};for(const n of Object.keys(t.children)){const i=Ae(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new ht(t.segments.concat(e.segments),e.children)}return t}(new ht(t.segments,e))}class Te{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class De{constructor(t,e){this.component=t,this.route=e}}function je(t,e,n){const i=t._root;return Ne(i,e?e._root:null,n,[i.value])}function Re(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Ne(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=jt(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!pt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!pt(t.url,e.url)||!tt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qt(t,e)||!tt(t.queryParams,e.queryParams);case"paramsChange":default:return!qt(t,e)}}(o,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Te(i)):(s.data=o.data,s._resolvedData=o._resolvedData),Ne(t,e,s.component?a?a.children:null:n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new De(a.outlet.component,o))}else o&&Fe(e,a,r),r.canActivateChecks.push(new Te(i)),Ne(t,null,s.component?a?a.children:null:n,i,r)}(t,s[t.value.outlet],n,i.concat([t.value]),r),delete s[t.value.outlet]}),rt(s,(t,e)=>Fe(t,n.getContext(e),r)),r}function Fe(t,e,n){const i=jt(t),r=t.value;rt(i,(t,i)=>{Fe(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new De(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}class Ve{}function Le(t){return new c.a(e=>e.error(t))}class ze{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){const t=Ce(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,G);if(null===e)return null;const n=new Lt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},G,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Dt(n,e),r=new zt(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=Vt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const r of Object.keys(e.children)){const i=e.children[r],s=_e(t,r),o=this.processSegmentGroup(s,i,r);if(null===o)return null;n.push(...o)}const i=function(t){const e=[];for(const n of t){if(!Be(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return i.sort((t,e)=>t.value.outlet===G?-1:e.value.outlet===G?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return Oe(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!xe(t,e,n,i))return null;let r,s=[],o=[];if("**"===t.path){const i=n.length>0?it(n).parameters:{};r=new Lt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qe(t),be(t),t.component,t,He(e),Ue(e)+n.length,We(t))}else{const i=ve(e,t,n);if(!i.matched)return null;s=i.consumedSegments,o=n.slice(i.lastChild),r=new Lt(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qe(t),be(t),t.component,t,He(e),Ue(e)+s.length,We(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Ce(e,s,o,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Dt(r,t)]}if(0===a.length&&0===c.length)return[new Dt(r,[])];const u=be(t)===i,h=this.processSegment(a,l,c,u?G:i);return null===h?null:[new Dt(r,h)]}}function Be(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function He(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Ue(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function qe(t){return t.data||{}}function We(t){return t.resolve||{}}function Ke(t){return Object(b.a)(e=>{const n=t(e);return n?Object(s.a)(n).pipe(Object(m.a)(()=>e)):Object(o.a)(e)})}class Ye extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Xe=new r.InjectionToken("ROUTES");class Ge{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe(Object(m.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ae(nt(i.injector.get(Xe,void 0,r.InjectFlags.Self|r.InjectFlags.Optional)).map(me),i)}),Object(w.a)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.a(n,()=>new g.a).pipe(Object(M.a)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?Object(s.a)(this.loader.load(t)):st(t()).pipe(Object(E.b)(t=>t instanceof r.NgModuleFactory?Object(o.a)(t):Object(s.a)(this.compiler.compileModuleAsync(t))))}}class Ze{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Qe,this.attachRef=null}}class Qe{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Ze,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class $e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function Je(t){throw t}function tn(t,e,n){return e.parse("/")}function en(t,e){return Object(o.a)(null)}let nn=(()=>{class t{constructor(t,e,n,i,s,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new g.a,this.errorHandler=Je,this.malformedUriErrorHandler=tn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:en,afterPreactivation:en},this.urlHandlingStrategy=new $e,this.routeReuseStrategy=new Ye,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(r.NgModuleRef),this.console=s.get(r["\u0275Console"]);const u=s.get(r.NgZone);this.isNgZoneEnabled=u instanceof r.NgZone&&r.NgZone.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new ut(new ht([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ge(o,l,t=>this.triggerEvent(new H(t)),t=>this.triggerEvent(new U(t))),this.routerState=Nt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(C.a)(t=>0!==t.id),Object(m.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(b.a)(t=>{let n=!1,i=!1;return Object(o.a)(t).pipe(Object(P.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(b.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object(b.a)(t=>{const n=this.transitions.getValue();return e.next(new D(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.a:Promise.resolve(t)}),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,Object(b.a)(t=>function(t,e,n,i,r){return new Ie(t,e,n,i,r).apply()}(i,r,s,t.extractedUrl,a).pipe(Object(m.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e}))))),Object(P.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return Object(E.b)(s=>function(t,e,n,i,r="emptyOnly",s="legacy"){try{const a=new ze(t,e,n,i,r,s).recognize();return null===a?Le(new Ve):Object(o.a)(a)}catch(a){return Le(a)}}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(m.a)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(P.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects);const n=new F(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:a}=t,l=new D(n,this.serializeUrl(i),r,s);e.next(l);const c=Nt(i,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.a}),Ke(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(P.a)(t=>{const e=new V(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(m.a)(t=>Object.assign(Object.assign({},t),{guards:je(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return Object(E.b)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(s.a)(t).pipe(Object(E.b)(t=>function(t,e,n,i,r){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(o.a)(!0);const a=s.map(s=>{const o=Re(s,e,r);let a;if(function(t){return t&&le(t.canDeactivate)}(o))a=st(o.canDeactivate(t,e,n,i));else{if(!le(o))throw new Error("Invalid CanDeactivate guard");a=st(o(t,e,n,i))}return a.pipe(Object(k.a)())});return Object(o.a)(a).pipe(he())}(t.component,t.route,n,e,i)),Object(k.a)(t=>!0!==t,!0))}(l,i,r,t).pipe(Object(E.b)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(s.a)(e).pipe(Object(x.a)(e=>Object(h.a)(function(t,e){return null!==t&&e&&e(new q(t)),Object(o.a)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new K(t)),Object(o.a)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(d.a)(()=>{const r=e.guards.map(r=>{const s=Re(r,e.node,n);let o;if(function(t){return t&&le(t.canActivateChild)}(s))o=st(s.canActivateChild(i,t));else{if(!le(s))throw new Error("Invalid CanActivateChild guard");o=st(s(i,t))}return o.pipe(Object(k.a)())});return Object(o.a)(r).pipe(he())}));return Object(o.a)(r).pipe(he())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(o.a)(!0);const r=i.map(i=>Object(d.a)(()=>{const r=Re(i,e,n);let s;if(function(t){return t&&le(t.canActivate)}(r))s=st(r.canActivate(e,t));else{if(!le(r))throw new Error("Invalid CanActivate guard");s=st(r(e,t))}return s.pipe(Object(k.a)())}));return Object(o.a)(r).pipe(he())}(t,e.route,n))),Object(k.a)(t=>!0!==t,!0))}(i,a,t,e):Object(o.a)(n)),Object(m.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(P.a)(t=>{if(ce(t.guardsResult)){const e=$(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new L(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(C.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new R(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Ke(t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(P.a)(t=>{const e=new z(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(b.a)(t=>{let n=!1;return Object(o.a)(t).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,Object(E.b)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(o.a)(t);let a=0;return Object(s.a)(n).pipe(Object(x.a)(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(o.a)({});const a={};return Object(s.a)(r).pipe(Object(E.b)(r=>function(t,e,n,i){const r=Re(t,e,i);return st(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Object(P.a)(t=>{a[r]=t}))),Object(S.a)(1),Object(E.b)(()=>Object.keys(a).length===r.length?Object(o.a)(a):p.a))}(t._resolve,t,e,i).pipe(Object(m.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Vt(t,n).resolve),null)))}(t.route,e,i,r)),Object(P.a)(()=>a++),Object(S.a)(1),Object(E.b)(e=>a===n.length?Object(o.a)(t):p.a))})),Object(P.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new R(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,r}),Object(P.a)(t=>{const e=new B(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Ke(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!o})}),Object(m.a)(t=>{const e=function(t,e,n){const i=Wt(t,e._root,n?n._root:void 0);return new Rt(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(P.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,a=this.routeReuseStrategy,l=t=>this.triggerEvent(t),Object(m.a)(t=>(new se(a,t.targetRouterState,t.currentRouterState,l).activate(r),t))),Object(P.a)({next(){n=!0},complete(){n=!0}}),Object(I.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new R(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(w.a)(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=ce(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new R(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new N(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var r;return p.a}));var r,a,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){pe(t),this.config=t.map(me),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:o}=e,a=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return Gt(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Qt(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return rt(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new Qt(n,e,i)}(n);if(s.toRoot())return Gt(e.root,new ht([],{}),e,i,r);const o=function(t,e,n){if(t.isAbsolute)return new $t(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new $t(t,t===e.root,0)}const i=Yt(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new $t(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?te(o.segmentGroup,o.index,s.commands):Jt(o.segmentGroup,o.index,s.commands);return Gt(o.segmentGroup,a,e,i,r)}(a,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ce(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new j(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);const s=this.getTransition(),o="imperative"!==e&&"imperative"===(null==s?void 0:s.source),a=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((t,e)=>{l=t,c=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](r.Type),r["\u0275\u0275inject"](ft),r["\u0275\u0275inject"](Qe),r["\u0275\u0275inject"](i.Location),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](r.NgModuleFactoryLoader),r["\u0275\u0275inject"](r.Compiler),r["\u0275\u0275inject"](void 0))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),rn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],this.onChanges=new g.a,null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:on(this.skipLocationChange),replaceUrl:on(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:on(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](nn),r["\u0275\u0275directiveInject"](Ft),r["\u0275\u0275injectAttribute"]("tabindex"),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ElementRef))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),t})(),sn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new g.a,this.subscription=t.events.subscribe(t=>{t instanceof j&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:on(this.skipLocationChange),replaceUrl:on(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:on(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](nn),r["\u0275\u0275directiveInject"](Ft),r["\u0275\u0275directiveInject"](i.LocationStrategy))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&r["\u0275\u0275listener"]("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(r["\u0275\u0275hostProperty"]("href",e.href,r["\u0275\u0275sanitizeUrl"]),r["\u0275\u0275attribute"]("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[r["\u0275\u0275NgOnChangesFeature"]]}),t})();function on(t){return""===t||!!t}let an=(()=>{class t{constructor(t,e,n,i,r,s){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof j&&this.update()})}ngAfterContentInit(){Object(o.a)(this.links.changes,this.linksWithHrefs.changes,Object(o.a)(null)).pipe(Object(A.a)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Object(s.a)(e).pipe(Object(A.a)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](nn),r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](r.Renderer2),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef),r["\u0275\u0275directiveInject"](rn,8),r["\u0275\u0275directiveInject"](sn,8))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(r["\u0275\u0275contentQuery"](n,rn,1),r["\u0275\u0275contentQuery"](n,sn,1)),2&t){let t;r["\u0275\u0275queryRefresh"](t=r["\u0275\u0275loadQuery"]())&&(e.links=t),r["\u0275\u0275queryRefresh"](t=r["\u0275\u0275loadQuery"]())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r["\u0275\u0275NgOnChangesFeature"]]}),t})(),ln=(()=>{class t{constructor(t,e,n,i,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.EventEmitter,this.deactivateEvents=new r.EventEmitter,this.name=i||G,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new cn(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](Qe),r["\u0275\u0275directiveInject"](r.ViewContainerRef),r["\u0275\u0275directiveInject"](r.ComponentFactoryResolver),r["\u0275\u0275injectAttribute"]("name"),r["\u0275\u0275directiveInject"](r.ChangeDetectorRef))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class cn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Ft?this.route:t===Qe?this.childContexts:this.parent.get(t,e)}}class un{}class hn{preload(t,e){return Object(o.a)(null)}}let dn=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new Ge(e,n,e=>t.triggerEvent(new H(e)),e=>t.triggerEvent(new U(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(C.a)(t=>t instanceof j),Object(x.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(r.NgModuleRef);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(s.a)(n).pipe(Object(A.a)(),Object(m.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?Object(o.a)(e._loadedConfig):this.loader.load(t.injector,e)).pipe(Object(E.b)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](nn),r["\u0275\u0275inject"](r.NgModuleFactoryLoader),r["\u0275\u0275inject"](r.Compiler),r["\u0275\u0275inject"](r.Injector),r["\u0275\u0275inject"](un))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})(),pn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof D?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof j&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof X&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new X(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](nn),r["\u0275\u0275inject"](i.ViewportScroller),r["\u0275\u0275inject"](void 0))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();const fn=new r.InjectionToken("ROUTER_CONFIGURATION"),gn=new r.InjectionToken("ROUTER_FORROOT_GUARD"),mn=[i.Location,{provide:ft,useClass:gt},{provide:nn,useFactory:function(t,e,n,r,s,o,a,l={},c,u){const h=new nn(null,t,e,n,r,s,o,nt(a));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(l,h),l.enableTracing){const t=Object(i["\u0275getDOM"])();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return h},deps:[ft,Qe,i.Location,r.Injector,r.NgModuleFactoryLoader,r.Compiler,Xe,fn,[class{},new r.Optional],[class{},new r.Optional]]},Qe,{provide:Ft,useFactory:function(t){return t.routerState.root},deps:[nn]},{provide:r.NgModuleFactoryLoader,useClass:r.SystemJsNgModuleLoader},dn,hn,class{preload(t,e){return e().pipe(Object(w.a)(()=>Object(o.a)(null)))}},{provide:fn,useValue:{enableTracing:!1}}];function bn(){return new r.NgProbeToken("Router",nn)}let _n=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[mn,wn(e),{provide:gn,useFactory:Cn,deps:[[nn,new r.Optional,new r.SkipSelf]]},{provide:fn,useValue:n||{}},{provide:i.LocationStrategy,useFactory:vn,deps:[i.PlatformLocation,[new r.Inject(i.APP_BASE_HREF),new r.Optional],fn]},{provide:pn,useFactory:yn,deps:[nn,i.ViewportScroller,fn]},{provide:un,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:hn},{provide:r.NgProbeToken,multi:!0,useFactory:bn},[xn,{provide:r.APP_INITIALIZER,multi:!0,useFactory:On,deps:[xn]},{provide:En,useFactory:kn,deps:[xn]},{provide:r.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:En}]]}}static forChild(e){return{ngModule:t,providers:[wn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](gn,8),r["\u0275\u0275inject"](nn,8))},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({}),t})();function yn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new pn(t,e,n)}function vn(t,e,n={}){return n.useHash?new i.HashLocationStrategy(t,e):new i.PathLocationStrategy(t,e)}function Cn(t){return"guarded"}function wn(t){return[{provide:r.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:Xe,multi:!0,useValue:t}]}let xn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new g.a}appInitializer(){return this.injector.get(i.LOCATION_INITIALIZED,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(nn),i=this.injector.get(fn);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(fn),n=this.injector.get(dn),i=this.injector.get(pn),s=this.injector.get(nn),o=this.injector.get(r.ApplicationRef);t===o.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),i.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](r.Injector))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac}),t})();function On(t){return t.appInitializer.bind(t)}function kn(t){return t.bootstrapListener.bind(t)}const En=new r.InjectionToken("Router Initializer")},u47x:function(t,e,n){"use strict";n.d(e,"a",function(){return b}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return A}),n.d(e,"d",function(){return x}),n.d(e,"e",function(){return N}),n.d(e,"f",function(){return E}),n.d(e,"g",function(){return P}),n.d(e,"h",function(){return S});var i=n("ofXK"),r=n("fXoL"),s=n("XNiG"),o=n("quSY"),a=n("LRne"),l=n("FtGj"),c=n("vkgz"),u=n("Kj3r"),h=n("pLZG"),d=n("lJxs"),p=n("IzEk"),f=n("8LU1"),g=n("nLfN");n("GU7r");class m{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new s.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new s.a,this.change=new s.a,t instanceof r.QueryList&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(u.a)(t),Object(h.a)(()=>this._pressedLetters.length>0),Object(d.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.m:return void this.tabOut.next();case l.b:if(this._vertical&&n){this.setNextItemActive();break}return;case l.n:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.k:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.f:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case l.c:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||Object(l.q)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.o||e>=l.p&&e<=l.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.QueryList?this._items.toArray():this._items}}class b extends m{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class _ extends m{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let y=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===C(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=C(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||v(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](g.a))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(g.a))},token:t,providedIn:"root"}),t})();function v(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function C(t){if(!v(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class w{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Object(p.a)(1)).subscribe(t)}}let x=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new w(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](y),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(y),Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(i.DOCUMENT))},token:t,providedIn:"root"}),t})();"undefined"!=typeof Element&∈const O=new r.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),k=new r.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let E=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=P(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{S(t)?this._lastTouchTarget||this._setOriginForCurrentEventQueue("keyboard"):(null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=T(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650))},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=T(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Object(f.e)(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(a.a)(null);const i=Object(g.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;const o={checkChildren:e,subject:new s.a,rootNode:i};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject}stopMonitoring(t){const e=Object(f.e)(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Object(f.e)(t);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(([t,n])=>this._originChanged(t,e,n)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=T(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===T(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,I),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,I)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,I),t.addEventListener("mousedown",this._documentMousedownListener,I),t.addEventListener("touchstart",this._documentTouchstartListener,I),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,I),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,I),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,I),t.removeEventListener("mousedown",this._documentMousedownListener,I),t.removeEventListener("touchstart",this._documentTouchstartListener,I),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}_getClosestElementsInfo(t){const e=[];return this._elementInfo.forEach((n,i)=>{(i===t||n.checkChildren&&i.contains(t))&&e.push([i,n])}),e}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](g.a),r["\u0275\u0275inject"](i.DOCUMENT,8),r["\u0275\u0275inject"](M,8))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(g.a),Object(r["\u0275\u0275inject"])(i.DOCUMENT,8),Object(r["\u0275\u0275inject"])(M,8))},token:t,providedIn:"root"}),t})();function T(t){return t.composedPath?t.composedPath()[0]:t.target}const D="cdk-high-contrast-black-on-white",j="cdk-high-contrast-white-on-black",R="cdk-high-contrast-active";let N=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(R),t.remove(D),t.remove(j);const e=this.getHighContrastMode();1===e?(t.add(R),t.add(D)):2===e&&(t.add(R),t.add(j))}}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](g.a),r["\u0275\u0275inject"](i.DOCUMENT))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(g.a),Object(r["\u0275\u0275inject"])(i.DOCUMENT))},token:t,providedIn:"root"}),t})()},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("KqfI"),s=n("n6bG");function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vxfF:function(t,e,n){"use strict";n.d(e,"a",function(){return m}),n.d(e,"b",function(){return _}),n.d(e,"c",function(){return g}),n.d(e,"d",function(){return y}),n.d(e,"e",function(){return b});var i=n("8LU1"),r=n("fXoL"),s=n("XNiG"),o=n("LRne"),a=n("HDdC"),l=n("xgIS"),c=(n("eNwd"),n("7Hc7"),n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),u=n("pLZG"),h=n("1G5W"),d=(n("JX91"),n("Zy1z"),n("eIep"),n("UXun"),n("nLfN")),p=n("ofXK"),f=n("cH1L");n("0EQZ");let g=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new s.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new a.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(o.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(u.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=Object(i.e)(e),r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const t=this._getWindow();return Object(l.a)(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](d.a),r["\u0275\u0275inject"](p.DOCUMENT,8))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(d.a),Object(r["\u0275\u0275inject"])(p.DOCUMENT,8))},token:t,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=i,this._destroyed=new s.a,this._elementScrolled=new a.a(t=>this.ngZone.runOutsideAngular(()=>Object(l.a)(this.elementRef.nativeElement,"scroll").pipe(Object(h.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Object(d.d)()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Object(d.d)()?t.left=t.right:1==Object(d.d)()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(d.g)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e="left",n="right",i=this.elementRef.nativeElement;if("top"==t)return i.scrollTop;if("bottom"==t)return i.scrollHeight-i.clientHeight-i.scrollTop;const r=this.dir&&"rtl"==this.dir.value;return"start"==t?t=r?n:e:"end"==t&&(t=r?e:n),r&&2==Object(d.d)()?t==e?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:r&&1==Object(d.d)()?t==e?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==e?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](r.ElementRef),r["\u0275\u0275directiveInject"](g),r["\u0275\u0275directiveInject"](r.NgZone),r["\u0275\u0275directiveInject"](f.b,8))},t.\u0275dir=r["\u0275\u0275defineDirective"]({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),b=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new s.a,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](d.a),r["\u0275\u0275inject"](r.NgZone),r["\u0275\u0275inject"](p.DOCUMENT,8))},t.\u0275prov=Object(r["\u0275\u0275defineInjectable"])({factory:function(){return new t(Object(r["\u0275\u0275inject"])(d.a),Object(r["\u0275\u0275inject"])(r.NgZone),Object(r["\u0275\u0275inject"])(p.DOCUMENT,8))},token:t,providedIn:"root"}),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({}),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[f.a,d.b,_],f.a,_]}),t})()},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("oB13"),r=n("x+ZX"),s=n("XNiG");function o(){return new s.a}function a(){return t=>Object(r.a)()(Object(i.a)(o)(t))}},"x+ZX":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(){return function(t){return t.lift(new s(t))}}class s{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new o(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class o extends i.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},xbPD:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t=null){return e=>e.lift(new s(t))}class s{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends i.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("DH7j"),s=n("n6bG"),o=n("lJxs");function a(t,e,n,c){return Object(s.a)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe(Object(o.a)(t=>Object(r.a)(t)?c(...t):c(t))):new i.a(i=>{l(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function l(t,e,n,i,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),s=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),s=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),s=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,o=t.length;se.schedule(s,0,{error:t,subscriber:n}):e=>e.error(t))}function s({error:t,subscriber:e}){e.error(t)}},zP0r:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t){return e=>e.lift(new s(t))}class s{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},zUnb:function(t,e,n){"use strict";n.r(e);var i=n("jhN1"),r=n("fXoL"),s=n("tyNb"),o=n("7THV"),a=n("mrSG"),l=n("AytR"),c=n("aTx8");const u={config:l.a.keycloak,enableBearerInterceptor:!0,loadUserProfileAtStartUp:!1,initOptions:{checkLoginIframe:!1},bearerExcludedUrls:["/public"]};function h(t){return new URL(window.location.href).hash.includes("state")?()=>new Promise((e,n)=>Object(a.a)(this,void 0,void 0,function*(){try{const n=t.keycloakEvents$.asObservable().subscribe(i=>{i.type!==c.b.OnReady||i.args.authenticated?(n.unsubscribe(),e()):t.login().then(()=>{n.unsubscribe(),e()})});yield t.init(u)}catch(i){n(i)}})):()=>{}}var d=n("rlFW");let p=(()=>{class t{constructor(t,e,n){this.keycloakService=t,this.router=e,this.rolesService=n}checkRole(t){return Object(a.a)(this,void 0,void 0,function*(){let e;this.keycloakService.getKeycloakInstance()||(yield this.keycloakService.init(u));const n=t===o.a.EDITOR?b:t;if(window.location.href.includes(n)||(e=window.location.origin+(l.a.useHash?"/#/":"/")+n),!(yield this.keycloakService.isLoggedIn()))return yield this.keycloakService.login({redirectUri:e}),!1;const i=this.keycloakService.isUserInRole(t);return i?this.rolesService.setRole(t):this.keycloakService.isUserInRole(o.a.EDITOR)?this.router.navigate(["/"+b]):this.keycloakService.isUserInRole(o.a.PRESENTER)?this.router.navigate(["/"+o.a.PRESENTER]):this.keycloakService.isUserInRole(o.a.OWNER)?this.router.navigate(["/"+o.a.OWNER]):this.router.navigate([""]),i})}publicAuth(){return this.rolesService.setRole(null),!0}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](c.c),r["\u0275\u0275inject"](s.d),r["\u0275\u0275inject"](d.a))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),f=(()=>{class t{constructor(t){this.guardsService=t}canActivate(t,e){return this.guardsService.checkRole(o.a.ADMIN)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](p))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),g=(()=>{class t{constructor(t){this.guardsService=t}canActivate(t,e){return this.guardsService.checkRole(o.a.EDITOR)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](p))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t){this.guardsService=t}canActivate(t,e){return this.guardsService.publicAuth()}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](p))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const b="nadzorna-plosca",_=[{path:o.a.ADMIN,loadChildren:()=>Promise.all([n.e(1),n.e(3),n.e(2),n.e(5),n.e(6),n.e(8),n.e(9),n.e(17)]).then(n.bind(null,"kNNV")).then(t=>t.AdminModule),canActivate:[f]},{path:b,loadChildren:()=>Promise.all([n.e(1),n.e(3),n.e(2),n.e(5),n.e(6),n.e(8),n.e(9),n.e(18)]).then(n.bind(null,"2PzW")).then(t=>t.EditorModule),canActivate:[g]},{path:o.a.PRESENTER,loadChildren:()=>Promise.all([n.e(1),n.e(3),n.e(2),n.e(5),n.e(15)]).then(n.bind(null,"+5H+")).then(t=>t.PresenterModule),canActivate:[(()=>{class t{constructor(t){this.guardsService=t}canActivate(t,e){return this.guardsService.checkRole(o.a.PRESENTER)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](p))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()]},{path:o.a.OWNER,loadChildren:()=>Promise.all([n.e(1),n.e(6),n.e(8),n.e(14)]).then(n.bind(null,"0lOS")).then(t=>t.OwnerModule),canActivate:[(()=>{class t{constructor(t){this.guardsService=t}canActivate(t,e){return this.guardsService.checkRole(o.a.OWNER)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275inject"](p))},t.\u0275prov=r["\u0275\u0275defineInjectable"]({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()]},{path:"register",loadChildren:()=>Promise.all([n.e(1),n.e(3),n.e(6),n.e(16)]).then(n.bind(null,"8h/b")).then(t=>t.RegisterModule),canActivate:[m]},{path:"",loadChildren:()=>Promise.all([n.e(1),n.e(3),n.e(2),n.e(5)]).then(n.bind(null,"69/I")).then(t=>t.PublicModule),canActivate:[m]},{path:"**",redirectTo:"/"}];let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[s.h.forRoot(_,{useHash:l.a.useHash})],s.h]}),t})();var v=n("ZOsW"),C=n("8W6+");let w=(()=>{class t{constructor(t,e,n){this.keycloakService=t,this.config=e,this.urlParams=n,this.refreshTokenInterval=null,this.refreshTimeInMs=3e4,this.config.addTagText="Dodaj labelo",this.config.typeToSearchText="Pi\u0161i za iskanje",this.config.clearAllText="Obri\u0161i",this.config.loadingText="Nalaganje...",this.config.notFoundText="Ni najdeno"}ngOnInit(){this.keycloakService.getKeycloakInstance()&&(this.refreshTokenInterval=setInterval(()=>Object(a.a)(this,void 0,void 0,function*(){try{yield this.keycloakService.updateToken(this.refreshTimeInMs/1e3)}catch(t){}}),this.refreshTimeInMs))}ngOnDestroy(){this.refreshTokenInterval&&clearInterval(this.refreshTokenInterval)}}return t.\u0275fac=function(e){return new(e||t)(r["\u0275\u0275directiveInject"](c.c),r["\u0275\u0275directiveInject"](v.b),r["\u0275\u0275directiveInject"](C.a))},t.\u0275cmp=r["\u0275\u0275defineComponent"]({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&r["\u0275\u0275element"](0,"router-outlet")},directives:[s.i],encapsulation:2}),t})();var x=n("tk/3"),O=n("R1ws"),k=n("OjaE"),E=n("5eHb"),P=n("FKr1");n("ofXK"),n("nLfN");let S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t}),t.\u0275inj=r["\u0275\u0275defineInjector"]({imports:[[P.d],P.d]}),t})();var M=n("NFeN"),I=n("f0Cb"),A=n("XhcP"),T=n("bTqV"),D=n("nEHF"),j=n("6NWb"),R=n("jCJ1"),N=n("R9Cn");let F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r["\u0275\u0275defineNgModule"]({type:t,bootstrap:[w]}),t.\u0275inj=r["\u0275\u0275defineInjector"]({providers:[{provide:r.APP_INITIALIZER,useFactory:h,deps:[c.c],multi:!0},{provide:R.a,useValue:"sl"}],imports:[[i.BrowserModule,O.b,y,c.a,x.HttpClientModule,k.EmbedVideo.forRoot(),E.a.forRoot({positionClass:"toast-bottom-center",progressBar:!0,timeOut:4e3}),S,A.a,T.b,M.b,I.b,D.a,j.b,N.b]]}),t})();l.a.production&&Object(r.enableProdMode)(),i.platformBrowser().bootstrapModule(F).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zp1y:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("l7GE"),r=n("ZUHj");function s(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new o(t,n))}}class o{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new a(t,this.observables,this.project))}}class a extends i.a{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return l});var i=n("7o/Q"),r=n("HDdC"),s=n("SeVD");class o extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(e.closed)return;if(t instanceof r.a)return t.subscribe(e);let n;try{n=Object(s.a)(t)(e)}catch(i){e.error(i)}return n}}},[[0,4]]]);