text: (window.webpackJsonp=window.webpackJsonp||[]).push([[2],{0:function(t,e,n){t.exports=n("zUnb")},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));let r=!1;const i={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 r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"3Pt+":function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return Gt})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return Zt})),n.d(e,"e",(function(){return Bt})),n.d(e,"f",(function(){return ie})),n.d(e,"g",(function(){return yt})),n.d(e,"h",(function(){return jt})),n.d(e,"i",(function(){return zt})),n.d(e,"j",(function(){return bt})),n.d(e,"k",(function(){return Nt})),n.d(e,"l",(function(){return Vt})),n.d(e,"m",(function(){return se})),n.d(e,"n",(function(){return te})),n.d(e,"o",(function(){return Yt})),n.d(e,"p",(function(){return C})),n.d(e,"q",(function(){return S})),n.d(e,"r",(function(){return St})),n.d(e,"s",(function(){return kt})),n.d(e,"t",(function(){return Dt})),n.d(e,"u",(function(){return $})),n.d(e,"v",(function(){return N})),n.d(e,"w",(function(){return ne})),n.d(e,"x",(function(){return L})),n.d(e,"y",(function(){return H})),n.d(e,"z",(function(){return oe})),n.d(e,"A",(function(){return Wt})),n.d(e,"B",(function(){return q})),n.d(e,"C",(function(){return K})),n.d(e,"D",(function(){return T})),n.d(e,"E",(function(){return J})),n.d(e,"F",(function(){return Pt}));var r=n("fXoL"),i=n("ofXK"),s=n("HDdC"),o=n("DH7j"),a=n("lJxs"),l=n("XoHu"),u=n("Cfvw");function c(t,e){return new s.a(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let s=0,o=0;for(let a=0;a<r;a++){const l=Object(u.a)(t[a]);let c=!1;n.add(l.subscribe({next:t=>{c||(c=!0,o++),i[a]=t},error:t=>n.error(t),complete:()=>{s++,s!==r&&c||(o===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}const h=new r.q("NgValueAccessor"),d={provide:h,useExisting:Object(r.T)(()=>p),multi:!0};let p=(()=>{class t{constructor(t,e){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)(r.Jb(r.E),r.Jb(r.l))},t.\u0275dir=r.Eb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&r.Vb("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[r.yb([d])]}),t})();const f={provide:h,useExisting:Object(r.T)(()=>m),multi:!0},g=new r.q("CompositionEventMode");let m=(()=>{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(i.L)()?Object(i.L)().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)(r.Jb(r.E),r.Jb(r.l),r.Jb(g,8))},t.\u0275dir=r.Eb({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&&r.Vb("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:[r.yb([f])]}),t})(),_=(()=>{class t{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}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=r.Eb({type:t}),t})(),y=(()=>{class t extends _{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=r.Eb({type:t,features:[r.wb]}),t})();const b=r.Qb(y);class v extends _{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class w{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let C=(()=>{class t extends w{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(v,2))},t.\u0275dir=r.Eb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.Bb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r.wb]}),t})(),S=(()=>{class t extends w{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(y,2))},t.\u0275dir=r.Eb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.Bb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r.wb]}),t})();function E(t){return null==t||0===t.length}function O(t){return null!=t&&"number"==typeof t.length}const x=new r.q("NgValidators"),D=new r.q("NgAsyncValidators"),A=/^(?=.{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 T{static min(t){return e=>{if(E(e.value)||E(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(E(e.value)||E(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return E(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return E(t.value)||A.test(t.value)?null:{email:!0}}static minLength(t){return e=>E(e.value)||!O(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>O(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return T.nullValidator;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(E(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(k);return 0==e.length?null:function(t){return F(R(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(k);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(Object(o.a)(e))return c(e,null);if(Object(l.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(o.a)(t[0])?t[0]:t,null).pipe(Object(a.a)(t=>e(...t)))}return c(t,null)}(R(t,e).map(P)).pipe(Object(a.a)(F))}}}function k(t){return null!=t}function P(t){const e=Object(r.rb)(t)?Object(u.a)(t):t;return Object(r.qb)(e),e}function F(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 R(t,e){return e.map(e=>e(t))}function j(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}const M={provide:h,useExisting:Object(r.T)(()=>N),multi:!0};let N=(()=>{class t{constructor(t,e){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)(r.Jb(r.E),r.Jb(r.l))},t.\u0275dir=r.Eb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&r.Vb("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.yb([M])]}),t})();const I={provide:h,useExisting:Object(r.T)(()=>L),multi:!0};let V=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),L=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(v),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.E),r.Jb(r.l),r.Jb(V),r.Jb(r.r))},t.\u0275dir=r.Eb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&r.Vb("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.yb([I])]}),t})();const B={provide:h,useExisting:Object(r.T)(()=>H),multi:!0};let H=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(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)(r.Jb(r.E),r.Jb(r.l))},t.\u0275dir=r.Eb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&r.Vb("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.yb([B])]}),t})();const U={provide:h,useExisting:Object(r.T)(()=>q),multi:!0};function z(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let q=(()=>{class t{constructor(t,e){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=z(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)(r.Jb(r.E),r.Jb(r.l))},t.\u0275dir=r.Eb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&r.Vb("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.yb([U])]}),t})(),$=(()=>{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(z(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)(r.Jb(r.l),r.Jb(r.E),r.Jb(q,9))},t.\u0275dir=r.Eb({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const W={provide:h,useExisting:Object(r.T)(()=>K),multi:!0};function G(t,e){return null==t?""+e:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let K=(()=>{class t{constructor(t,e){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<t.length;e++){const r=t.item(e),i=this._getOptionValue(r.value);n.push(i)}}else{const t=e.options;for(let e=0;e<t.length;e++){const r=t.item(e);if(r.selected){const t=this._getOptionValue(r.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,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)._value:t}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.E),r.Jb(r.l))},t.\u0275dir=r.Eb({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&r.Vb("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.yb([W])]}),t})(),J=(()=>{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(G(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(G(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)(r.Jb(r.l),r.Jb(r.E),r.Jb(K,9))},t.\u0275dir=r.Eb({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();function Z(t,e){return[...e.path,t]}function Q(t,e){t.validator=T.compose([t.validator,e.validator]),t.asyncValidator=T.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Y(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Y(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Y(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function X(t,e){t.validator=T.compose([t.validator,e.validator]),t.asyncValidator=T.composeAsync([t.asyncValidator,e.asyncValidator])}function tt(t){return null!=t?T.compose(j(t)):null}function et(t){return null!=t?T.composeAsync(j(t)):null}function nt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const rt=[p,H,N,q,K,L];function it(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function st(t,e){if(!e)return null;Array.isArray(e);let n=void 0,r=void 0,i=void 0;return e.forEach(t=>{var e;t.constructor===m?n=t:(e=t,rt.some(t=>e.constructor===t)?r=t:i=t)}),i||r||n||null}function ot(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function at(t,e,n,i){Object(r.V)()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}const lt="VALID",ut="INVALID",ct="PENDING",ht="DISABLED";function dt(t){return(mt(t)?t.validators:t)||null}function pt(t){return Array.isArray(t)?tt(t):t||null}function ft(t,e){return(mt(e)?e.asyncValidators:t)||null}function gt(t){return Array.isArray(t)?et(t):t||null}function mt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class _t{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=pt(this._rawValidators),this._composedAsyncValidatorFn=gt(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===lt}get invalid(){return this.status===ut}get pending(){return this.status==ct}get disabled(){return this.status===ht}get enabled(){return this.status!==ht}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=pt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=gt(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=ct,!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=ht,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=lt,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!==lt&&this.status!==ct||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()?ht:lt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=ct,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 r=t;return e.forEach(t=>{r=r instanceof bt?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof vt&&r.at(t)||null}),r}(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 r.n,this.statusChanges=new r.n}_calculateStatus(){return this._allControlsDisabled()?ht:this.errors?ut:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ct)?ct:this._anyControlsHaveStatus(ut)?ut:lt}_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){mt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class yt extends _t{constructor(t=null,e,n){super(dt(e),ft(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}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)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(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 bt extends _t{constructor(t,e,n){super(dt(e),ft(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}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={}){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,r)=>{n.reset(t[r],{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 yt?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=>t(this.controls[e],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,r)=>{n=e(n,t,r)}),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 vt extends _t{constructor(t,e,n){super(dt(e),ft(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}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={}){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,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof yt?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 wt={provide:y,useExisting:Object(r.T)(()=>St)},Ct=(()=>Promise.resolve(null))();let St=(()=>{class t extends y{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.n,this.form=new bt({},tt(t),et(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ct.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Q(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ct.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ot(this._directives,t)})}addFormGroup(t){Ct.then(()=>{const e=this._findContainer(t.path),n=new bt({});X(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ct.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){Ct.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,it(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)(r.Jb(x,10),r.Jb(D,10))},t.\u0275dir=r.Eb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&r.Vb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yb([wt]),r.wb]}),t})(),Et=(()=>{class t extends y{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Z(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tt(this._validators)}get asyncValidator(){return et(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return Ot(e||t)},t.\u0275dir=r.Eb({type:t,features:[r.wb]}),t})();const Ot=r.Qb(Et),xt={provide:y,useExisting:Object(r.T)(()=>Dt)};let Dt=(()=>{class t extends Et{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(y,5),r.Jb(x,10),r.Jb(D,10))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.yb([xt]),r.wb]}),t})();const At={provide:v,useExisting:Object(r.T)(()=>kt)},Tt=(()=>Promise.resolve(null))();let kt=(()=>{class t extends v{constructor(t,e,n,i){super(),this.control=new yt,this._registered=!1,this.update=new r.n,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=st(0,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),nt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Z(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tt(this._rawValidators)}get asyncValidator(){return et(this._rawAsyncValidators)}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(){Q(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){Tt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Tt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(y,9),r.Jb(x,10),r.Jb(D,10),r.Jb(h,10))},t.\u0275dir=r.Eb({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:[r.yb([At]),r.wb,r.xb]}),t})(),Pt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Ft=new r.q("NgModelWithFormControlWarning"),Rt={provide:v,useExisting:Object(r.T)(()=>jt)};let jt=(()=>{class t extends v{constructor(t,e,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.n,this._ngModelWarningSent=!1,this._rawValidators=t||[],this._rawAsyncValidators=e||[],this.valueAccessor=st(0,n)}set isDisabled(t){}ngOnChanges(e){this._isControlChanged(e)&&(Q(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),nt(e,this.viewModel)&&(at(0,t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return tt(this._rawValidators)}get asyncValidator(){return et(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(x,10),r.Jb(D,10),r.Jb(h,10),r.Jb(Ft,8))},t.\u0275dir=r.Eb({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r.yb([Rt]),r.wb,r.xb]}),t._ngModelWarningSentOnce=!1,t})();const Mt={provide:y,useExisting:Object(r.T)(()=>Nt)};let Nt=(()=>{class t extends y{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.n}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Q(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){ot(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);X(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);X(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(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,it(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=this.form.get(t.path);t.control!==e&&(function(t,e){const n=()=>{};e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&Q(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=tt(this._validators);this.form.validator=T.compose([this.form.validator,t]);const e=et(this._asyncValidators);this.form.asyncValidator=T.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(x,10),r.Jb(D,10))},t.\u0275dir=r.Eb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r.Vb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yb([Mt]),r.wb,r.xb]}),t})();const It={provide:y,useExisting:Object(r.T)(()=>Vt)};let Vt=(()=>{class t extends Et{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){Ht(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(y,13),r.Jb(x,10),r.Jb(D,10))},t.\u0275dir=r.Eb({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r.yb([It]),r.wb]}),t})();const Lt={provide:y,useExisting:Object(r.T)(()=>Bt)};let Bt=(()=>{class t extends y{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Z(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return tt(this._validators)}get asyncValidator(){return et(this._asyncValidators)}_checkParentType(){Ht(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(y,13),r.Jb(x,10),r.Jb(D,10))},t.\u0275dir=r.Eb({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r.yb([Lt]),r.wb]}),t})();function Ht(t){return!(t instanceof Vt||t instanceof Nt||t instanceof Bt)}const Ut={provide:v,useExisting:Object(r.T)(()=>zt)};let zt=(()=>{class t extends v{constructor(t,e,n,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new r.n,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=st(0,i)}set isDisabled(t){}ngOnChanges(e){this._added||this._setUpControl(),nt(e,this.viewModel)&&(at(0,t,this,this._ngModelWarningConfig),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 Z(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tt(this._rawValidators)}get asyncValidator(){return et(this._rawAsyncValidators)}_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)(r.Jb(y,13),r.Jb(x,10),r.Jb(D,10),r.Jb(h,10),r.Jb(Ft,8))},t.\u0275dir=r.Eb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r.yb([Ut]),r.wb,r.xb]}),t._ngModelWarningSentOnce=!1,t})();const qt={provide:x,useExisting:Object(r.T)(()=>Wt),multi:!0},$t={provide:x,useExisting:Object(r.T)(()=>Gt),multi:!0};let Wt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?T.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({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&&r.Ab("required",e.required?"":null)},inputs:{required:"required"},features:[r.yb([qt])]}),t})(),Gt=(()=>{class t extends Wt{validate(t){return this.required?T.requiredTrue(t):null}}return t.\u0275fac=function(e){return Kt(e||t)},t.\u0275dir=r.Eb({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&&r.Ab("required",e.required?"":null)},features:[r.yb([$t]),r.wb]}),t})();const Kt=r.Qb(Gt),Jt={provide:x,useExisting:Object(r.T)(()=>Zt),multi:!0};let Zt=(()=>{class t{constructor(){this._enabled=!1}set email(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}validate(t){return this._enabled?T.email(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[r.yb([Jt])]}),t})();const Qt={provide:x,useExisting:Object(r.T)(()=>Yt),multi:!0};let Yt=(()=>{class t{constructor(){this._validator=T.nullValidator}ngOnChanges(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}validate(t){return null==this.minlength?null:this._validator(t)}registerOnValidatorChange(t){this._onChange=t}_createValidator(){this._validator=T.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Ab("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[r.yb([Qt]),r.xb]}),t})();const Xt={provide:x,useExisting:Object(r.T)(()=>te),multi:!0};let te=(()=>{class t{constructor(){this._validator=T.nullValidator}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=T.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Ab("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r.yb([Xt]),r.xb]}),t})();const ee={provide:x,useExisting:Object(r.T)(()=>ne),multi:!0};let ne=(()=>{class t{constructor(){this._validator=T.nullValidator}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=T.pattern(this.pattern)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Ab("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[r.yb([ee]),r.xb]}),t})(),re=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)}}),t})(),ie=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r=null,i=null,s=void 0;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,i=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new bt(n,{asyncValidators:i,updateOn:s,validators:r})}control(t,e,n){return new yt(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new vt(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof yt||t instanceof bt||t instanceof vt?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=r.Fb({token:t,factory:t.\u0275fac}),t})(),se=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[V],imports:[re]}),t})(),oe=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Ft,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[ie,V],imports:[re]}),t})()},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>{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,"a",(function(){return o}));var r=n("lJxs"),i=n("Cfvw"),s=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(o((n,s)=>Object(i.a)(t(n,s)).pipe(Object(r.a)((t,r)=>e(n,t,s,r))),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.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e)}_innerSub(t){const e=new s.a(this),n=this.destination;n.add(e);const r=Object(s.c)(t,e);r!==e&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("n6bG"),i=n("gRHU"),s=n("quSY"),o=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class u 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=i.a;break;case 1:if(!t){this.destination=i.a;break}if("object"==typeof t){t instanceof u?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const r=new u(t,e,n);return r.syncErrorThrowable=!1,r}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 c extends u{constructor(t,e,n,s){let o;super(),this._parentSubscriber=t;let a=this;Object(r.a)(e)?o=e:e&&(o=e.next,n=e.error,s=e.complete,e!==i.a&&(a=Object.create(e),Object(r.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(r){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},Cfvw:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n("HDdC"),i=n("SeVD"),s=n("quSY"),o=n("kJWO"),a=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new r.a(n=>{const r=new s.a;return r.add(e.schedule(()=>{const i=t[o.a]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Object(u.a)(t))return function(t,e){return new r.a(n=>{const r=new s.a;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(Object(c.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 r.a(n=>{const r=new s.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[l.a](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s}));var r=n("HDdC");const i=new r.a(t=>t.complete());function s(t){return t?function(t){return new r.a(e=>t.schedule(()=>e.complete()))}(t):i}},HDdC:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("7o/Q"),i=n("2QA8"),s=n("gRHU"),o=n("kJWO"),a=n("SpAZ"),l=n("2fFW");let u=(()=>{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 r.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new r.a(t,e,n):new r.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:i}=t;if(e||i)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=c(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.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:(0===(e=t).length?a.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=c(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function c(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 r}));const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7o/Q"),i=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 i.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends r.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()))}}},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("LRne"),i=n("0EUg");function s(...t){return Object(i.a)()(Object(r.a)(...t))}var o=n("z+Ro");function a(...t){const e=t[t.length-1];return Object(o.a)(e)?(t.pop(),n=>s(t,n,e)):e=>s(t,e)}},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("z+Ro"),i=n("yCtX"),s=n("jZKg");function o(...t){let e=t[t.length-1];return Object(r.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(i.a)(t)}},Lhse:function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return i}));const i=r()},NJ4a:function(t,e,n){"use strict";function r(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return r}))},SeVD:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n("ngJS"),i=n("NJ4a"),s=n("Lhse"),o=n("kJWO"),a=n("I55L"),l=n("c2HN"),u=n("XoHu");const c=t=>{if(t&&"function"==typeof t[o.a])return c=t,t=>{const e=c[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(r.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,i.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(r){return t.error(r),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(u.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,c}},SpAZ:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",(function(){return r}))},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("HDdC"),i=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(i.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 r.a?t[0]:Object(s.a)(e)(Object(o.a)(t,n))}},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),s=n("quSY"),o=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class u extends i.a{constructor(t){super(t),this.destination=t}}let c=(()=>{class t extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new u(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,r=e.slice();for(let i=0;i<n;i++)r[i].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;i<n;i++)r[i].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),s.a.EMPTY):this.isStopped?(t.complete(),s.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new r.a;return t.source=this,t}}return t.create=(t,e)=>new h(t,e),t})();class h extends c{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}}},XoHu:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return r}))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("quSY");class i extends r.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)}}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("5+tZ"),i=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(r.a)(i.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("5+tZ");function i(t,e){return Object(r.a)(t,e,1)}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("lJxs"),i=n("Cfvw"),s=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,s)=>Object(i.a)(t(n,s)).pipe(Object(r.a)((t,r)=>e(n,t,s,r))))):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(r){return void this.destination.error(r)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new s.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(s.c)(t,n),this.innerSubscription!==n&&r.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)}}},fXoL:function(t,e,n){"use strict";n.d(e,"a",(function(){return Es})),n.d(e,"b",(function(){return nl})),n.d(e,"c",(function(){return Qa})),n.d(e,"d",(function(){return Ja})),n.d(e,"e",(function(){return Za})),n.d(e,"f",(function(){return Wl})),n.d(e,"g",(function(){return Nl})),n.d(e,"h",(function(){return os})),n.d(e,"i",(function(){return pl})),n.d(e,"j",(function(){return ko})),n.d(e,"k",(function(){return sl})),n.d(e,"l",(function(){return Po})),n.d(e,"m",(function(){return Fn})),n.d(e,"n",(function(){return Aa})),n.d(e,"o",(function(){return tt})),n.d(e,"p",(function(){return y})),n.d(e,"q",(function(){return X})),n.d(e,"r",(function(){return Ss})),n.d(e,"s",(function(){return Zo})),n.d(e,"t",(function(){return Qo})),n.d(e,"u",(function(){return il})),n.d(e,"v",(function(){return mt})),n.d(e,"w",(function(){return Vl})),n.d(e,"x",(function(){return gt})),n.d(e,"y",(function(){return Pl})),n.d(e,"z",(function(){return ml})),n.d(e,"A",(function(){return b})),n.d(e,"B",(function(){return el})),n.d(e,"C",(function(){return tl})),n.d(e,"D",(function(){return ka})),n.d(e,"E",(function(){return Mo})),n.d(e,"F",(function(){return Ro})),n.d(e,"G",(function(){return jo})),n.d(e,"H",(function(){return Io})),n.d(e,"I",(function(){return vr})),n.d(e,"J",(function(){return w})),n.d(e,"K",(function(){return Hl})),n.d(e,"L",(function(){return ea})),n.d(e,"M",(function(){return El})),n.d(e,"N",(function(){return ls})),n.d(e,"O",(function(){return Vo})),n.d(e,"P",(function(){return ra})),n.d(e,"Q",(function(){return Ot})),n.d(e,"R",(function(){return Fl})),n.d(e,"S",(function(){return Zn})),n.d(e,"T",(function(){return V})),n.d(e,"U",(function(){return ht})),n.d(e,"V",(function(){return Jn})),n.d(e,"W",(function(){return ql})),n.d(e,"X",(function(){return Dl})),n.d(e,"Y",(function(){return rl})),n.d(e,"Z",(function(){return us})),n.d(e,"ab",(function(){return ba})),n.d(e,"bb",(function(){return yr})),n.d(e,"cb",(function(){return er})),n.d(e,"db",(function(){return Bn})),n.d(e,"eb",(function(){return Un})),n.d(e,"fb",(function(){return Wn})),n.d(e,"gb",(function(){return qn})),n.d(e,"hb",(function(){return zn})),n.d(e,"ib",(function(){return $n})),n.d(e,"jb",(function(){return ga})),n.d(e,"kb",(function(){return zl})),n.d(e,"lb",(function(){return ma})),n.d(e,"mb",(function(){return _a})),n.d(e,"nb",(function(){return Hn})),n.d(e,"ob",(function(){return $})),n.d(e,"pb",(function(){return Ms})),n.d(e,"qb",(function(){return Qs})),n.d(e,"rb",(function(){return Zs})),n.d(e,"sb",(function(){return fa})),n.d(e,"tb",(function(){return ie})),n.d(e,"ub",(function(){return M})),n.d(e,"vb",(function(){return Ln})),n.d(e,"wb",(function(){return Ds})),n.d(e,"xb",(function(){return Yt})),n.d(e,"yb",(function(){return Do})),n.d(e,"zb",(function(){return Br})),n.d(e,"Ab",(function(){return Vs})),n.d(e,"Bb",(function(){return uo})),n.d(e,"Cb",(function(){return za})),n.d(e,"Db",(function(){return Tt})),n.d(e,"Eb",(function(){return It})),n.d(e,"Fb",(function(){return O})),n.d(e,"Gb",(function(){return x})),n.d(e,"Hb",(function(){return jt})),n.d(e,"Ib",(function(){return Vt})),n.d(e,"Jb",(function(){return Bs})),n.d(e,"Kb",(function(){return Ws})),n.d(e,"Lb",(function(){return Ks})),n.d(e,"Mb",(function(){return Gs})),n.d(e,"Nb",(function(){return $s})),n.d(e,"Ob",(function(){return qs})),n.d(e,"Pb",(function(){return Js})),n.d(e,"Qb",(function(){return An})),n.d(e,"Rb",(function(){return bo})),n.d(e,"Sb",(function(){return ct})),n.d(e,"Tb",(function(){return Hs})),n.d(e,"Ub",(function(){return Ka})),n.d(e,"Vb",(function(){return Ys})),n.d(e,"Wb",(function(){return qa})),n.d(e,"Xb",(function(){return eo})),n.d(e,"Yb",(function(){return xa})),n.d(e,"Zb",(function(){return Da})),n.d(e,"ac",(function(){return io})),n.d(e,"bc",(function(){return ro})),n.d(e,"cc",(function(){return Us})),n.d(e,"dc",(function(){return La})),n.d(e,"ec",(function(){return Ce})),n.d(e,"fc",(function(){return wr})),n.d(e,"gc",(function(){return kt})),n.d(e,"hc",(function(){return Mt})),n.d(e,"ic",(function(){return Ba})),n.d(e,"jc",(function(){return lo})),n.d(e,"kc",(function(){return Ls})),n.d(e,"lc",(function(){return mo})),n.d(e,"mc",(function(){return _o})),n.d(e,"nc",(function(){return yo})),n.d(e,"oc",(function(){return Ha}));var r=n("XNiG"),i=n("quSY"),s=n("HDdC"),o=n("VRyK"),a=n("7o/Q");function l(){return function(t){return t.lift(new u(t))}}class u{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new c(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class c extends a.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,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class h extends s.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 i.a,t.add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t}refCount(){return l()(this)}}const d=(()=>{const t=h.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 p extends r.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()}}}function f(){return new r.a}function g(t){return{toString:t}.toString()}const m="__parameters__";function _(t,e,n){return g(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(m)?t[m]:Object.defineProperty(t,m,{value:[]})[m];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}const y=_("Inject",t=>({token:t})),b=_("Optional"),v=_("Self"),w=_("SkipSelf");var C=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}({});function S(t){for(let e in t)if(t[e]===S)return e;throw Error("Could not find renamed property on target object.")}function E(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function x(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function D(t){return A(t,t[k])||A(t,t[R])}function A(t,e){return e&&e.token===t?e:null}function T(t){return t&&(t.hasOwnProperty(P)||t.hasOwnProperty(j))?t[P]:null}const k=S({"\u0275prov":S}),P=S({"\u0275inj":S}),F=S({"\u0275provFallback":S}),R=S({ngInjectableDef:S}),j=S({ngInjectorDef:S});function M(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(M).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 N(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const I=S({__forward_ref__:S});function V(t){return t.__forward_ref__=V,t.toString=function(){return M(this())},t}function L(t){return B(t)?t():t}function B(t){return"function"==typeof t&&t.hasOwnProperty(I)&&t.__forward_ref__===V}const H="undefined"!=typeof globalThis&&globalThis,U="undefined"!=typeof window&&window,z="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,$=H||q||U||z,W=S({"\u0275cmp":S}),G=S({"\u0275dir":S}),K=S({"\u0275pipe":S}),J=S({"\u0275mod":S}),Z=S({"\u0275loc":S}),Q=S({"\u0275fac":S}),Y=S({__NG_ELEMENT_ID__:S});class X{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=O({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const tt=new X("INJECTOR",-1),et={},nt=/\n/gm,rt="__source",it=S({provide:String,useValue:S});let st,ot=void 0;function at(t){const e=ot;return ot=t,e}function lt(t){const e=st;return st=t,e}function ut(t,e=C.Default){if(void 0===ot)throw new Error("inject() must be called from an injection context");return null===ot?dt(t,void 0,e):ot.get(t,e&C.Optional?null:void 0,e)}function ct(t,e=C.Default){return(st||ut)(L(t),e)}const ht=ct;function dt(t,e,n){const r=D(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&C.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${M(t)}]`)}function pt(t){const e=[];for(let n=0;n<t.length;n++){const r=L(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=C.Default;for(let e=0;e<r.length;e++){const i=r[e];i instanceof b||"Optional"===i.ngMetadataName||i===b?n|=C.Optional:i instanceof w||"SkipSelf"===i.ngMetadataName||i===w?n|=C.SkipSelf:i instanceof v||"Self"===i.ngMetadataName||i===v?n|=C.Self:t=i instanceof y||i===y?i.token:i}e.push(ct(t,n))}else e.push(ct(r))}return e}class ft{get(t,e=et){if(e===et){const e=new Error(`NullInjectorError: No provider for ${M(t)}!`);throw e.name="NullInjectorError",e}return e}}class gt{}class mt{}function _t(t,e){t.forEach(t=>Array.isArray(t)?_t(t,e):e(t))}function yt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function bt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function vt(t,e){const n=[];for(let r=0;r<t;r++)n.push(e);return n}function wt(t,e,n){let r=St(t,e);return r>=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Ct(t,e){const n=St(t,e);if(n>=0)return t[1|n]}function St(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),s=t[n<<1];if(e===s)return n<<1;s>e?i=n:r=n+1}return~(i<<1)}(t,e)}var Et=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Ot=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const xt={},Dt=[];let At=0;function Tt(t){return g(()=>{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===Et.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Dt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Ot.Emulated,id:"c",styles:t.styles||Dt,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,s=t.pipes;return n.id+=At++,n.inputs=Nt(t.inputs,e),n.outputs=Nt(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Pt):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(Ft):null,n})}function kt(t,e,n){const r=t.\u0275cmp;r.directiveDefs=()=>e.map(Pt),r.pipeDefs=()=>n.map(Ft)}function Pt(t){return Lt(t)||function(t){return t[G]||null}(t)}function Ft(t){return function(t){return t[K]||null}(t)}const Rt={};function jt(t){const e={type:t.type,bootstrap:t.bootstrap||Dt,declarations:t.declarations||Dt,imports:t.imports||Dt,exports:t.exports||Dt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&g(()=>{Rt[t.id]=t.type}),e}function Mt(t,e){return g(()=>{const n=Ht(t,!0);n.declarations=e.declarations||Dt,n.imports=e.imports||Dt,n.exports=e.exports||Dt})}function Nt(t,e){if(null==t)return xt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,e&&(e[i]=s)}return n}const It=Tt;function Vt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Lt(t){return t[W]||null}function Bt(t,e){return t.hasOwnProperty(Q)?t[Q]:null}function Ht(t,e){const n=t[J]||null;if(!n&&!0===e)throw new Error(`Type ${M(t)} does not have '\u0275mod' property.`);return n}const Ut=20,zt=10;function qt(t){return Array.isArray(t)&&"object"==typeof t[1]}function $t(t){return Array.isArray(t)&&!0===t[1]}function Wt(t){return 0!=(8&t.flags)}function Gt(t){return 2==(2&t.flags)}function Kt(t){return 1==(1&t.flags)}function Jt(t){return null!==t.template}function Zt(t){return 0!=(512&t[2])}class Qt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Yt(){return Xt}function Xt(t){return t.type.prototype.ngOnChanges&&(t.setInput=ee),te}function te(){const t=ne(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===xt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function ee(t,e,n,r){const i=ne(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:xt,current:null}),s=i.current||(i.current={}),o=i.previous,a=this.declaredInputs[n],l=o[a];s[a]=new Qt(l&&l.currentValue,e,o===xt),t[r]=e}function ne(t){return t.__ngSimpleChanges__||null}Yt.ngInherit=!0;let re=void 0;function ie(t){re=t}function se(t){return!!t.listen}const oe={createRenderer:(t,e)=>void 0!==re?re:"undefined"!=typeof document?document:void 0};function ae(t){for(;Array.isArray(t);)t=t[0];return t}function le(t,e){return ae(e[t+Ut])}function ue(t,e){return ae(e[t.index])}function ce(t,e){return t.data[e+Ut]}function he(t,e){const n=e[t];return qt(n)?n:n[0]}function de(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function pe(t){return 4==(4&t[2])}function fe(t){return 128==(128&t[2])}function ge(t,e){return null===t||null==e?null:t[e]}function me(t){t[18]=0}function _e(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const ye={lFrame:Ie(null),bindingsEnabled:!0,checkNoChangesMode:!1};function be(){return ye.bindingsEnabled}function ve(){return ye.lFrame.lView}function we(){return ye.lFrame.tView}function Ce(t){ye.lFrame.contextLView=t}function Se(){return ye.lFrame.currentTNode}function Ee(t,e){ye.lFrame.currentTNode=t,ye.lFrame.isParent=e}function Oe(){return ye.lFrame.isParent}function xe(){ye.lFrame.isParent=!1}function De(){return ye.checkNoChangesMode}function Ae(t){ye.checkNoChangesMode=t}function Te(){return ye.lFrame.bindingIndex++}function ke(t,e){const n=ye.lFrame;n.bindingIndex=n.bindingRootIndex=t,Pe(e)}function Pe(t){ye.lFrame.currentDirectiveIndex=t}function Fe(){return ye.lFrame.currentQueryIndex}function Re(t){ye.lFrame.currentQueryIndex=t}function je(t,e){const n=Ne();ye.lFrame=n,n.currentTNode=e,n.lView=t}function Me(t){const e=Ne(),n=t[1];ye.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex}function Ne(){const t=ye.lFrame,e=null===t?null:t.child;return null===e?Ie(t):e}function Ie(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Ve(){const t=ye.lFrame;return ye.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Le=Ve;function Be(){const t=Ve();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function He(){return ye.lFrame.selectedIndex}function Ue(t){ye.lFrame.selectedIndex=t}function ze(){const t=ye.lFrame;return ce(t.tView,t.selectedIndex)}function qe(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),i&&((t.contentHooks||(t.contentHooks=[])).push(n,i),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,i)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function $e(t,e,n){Ke(t,e,3,n)}function We(t,e,n,r){(3&t[2])===n&&Ke(t,e,n,r)}function Ge(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function Ke(t,e,n,r){const i=null!=r?r:-1;let s=0;for(let o=void 0!==r?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(s=e[o],null!=r&&s>=r)break}else e[o]<0&&(t[18]+=65536),(s<i||-1==i)&&(Je(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function Je(t,e,n,r){const i=n[r]<0,s=n[r+1],o=t[i?-n[r]:n[r]];i?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(o)):s.call(o)}const Ze=-1;class Qe{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Ye(t,e,n){const r=se(t);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const o=n[i++],a=n[i++],l=n[i++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=s,a=n[++i];tn(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),i++}}return i}function Xe(t){return 3===t||4===t||6===t}function tn(t){return 64===t.charCodeAt(0)}function en(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?n=i:0===n||nn(t,n,i,null,-1===n||2===n?e[++r]:null)}}return t}function nn(t,e,n,r,i){let s=0,o=t.length;if(-1===e)o=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==i&&(t[s+1]=i));if(r===t[s+1])return void(t[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(t.splice(o,0,e),s=o+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==i&&t.splice(s++,0,i)}function rn(t){return t!==Ze}function sn(t){return 32767&t}function on(t,e){let n=t>>16,r=e;for(;n>0;)r=r[15],n--;return r}function an(t){return"string"==typeof t?t:null==t?"":""+t}function ln(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():an(t)}const un=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind($))();function cn(t){return t instanceof Function?t():t}let hn=!0;function dn(t){const e=hn;return hn=t,e}let pn=0;function fn(t,e){const n=mn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,gn(r.data,t),gn(e,null),gn(r.blueprint,null));const i=_n(t,e),s=t.injectorIndex;if(rn(i)){const t=sn(i),n=on(i,e),r=n[1].data;for(let i=0;i<8;i++)e[s+i]=n[t+i]|r[t+i]}return e[s+8]=i,s}function gn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function mn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function _n(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(r=2===e?t.declTNode:1===e?i[6]:null,null===r)return Ze;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ze}function yn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Y)&&(r=n[Y]),null==r&&(r=n[Y]=pn++);const i=255&r,s=1<<i,o=64&i,a=32&i,l=e.data;128&i?o?a?l[t+7]|=s:l[t+6]|=s:a?l[t+5]|=s:l[t+4]|=s:o?a?l[t+3]|=s:l[t+2]|=s:a?l[t+1]|=s:l[t]|=s}(t,e,n)}function bn(t,e,n,r=C.Default,i){if(null!==t){const i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Y)?t[Y]:void 0;return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof i){je(e,t);try{const t=i();if(null!=t||r&C.Optional)return t;throw new Error(`No provider for ${ln(n)}!`)}finally{Le()}}else if("number"==typeof i){if(-1===i)return new xn(t,e);let s=null,o=mn(t,e),a=Ze,l=r&C.Host?e[16][6]:null;for((-1===o||r&C.SkipSelf)&&(a=-1===o?_n(t,e):e[o+8],a!==Ze&&On(r,!1)?(s=e[1],o=sn(a),e=on(a,e)):o=-1);-1!==o;){const t=e[1];if(En(i,o,t.data)){const t=wn(o,e,n,s,r,l);if(t!==vn)return t}a=e[o+8],a!==Ze&&On(r,e[1].data[o+8]===l)&&En(i,o,e)?(s=t,o=sn(a),e=on(a,e)):o=-1}}}if(r&C.Optional&&void 0===i&&(i=null),0==(r&(C.Self|C.Host))){const t=e[9],s=lt(void 0);try{return t?t.get(n,i,r&C.Optional):dt(n,i,r&C.Optional)}finally{lt(s)}}if(r&C.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${ln(n)}]`)}const vn={};function wn(t,e,n,r,i,s){const o=e[1],a=o.data[t+8],l=Cn(a,o,n,null==r?Gt(a)&&hn:r!=o&&2===a.type,i&C.Host&&s===a);return null!==l?Sn(e,o,l,a):vn}function Cn(t,e,n,r,i){const s=t.providerIndexes,o=e.data,a=1048575&s,l=t.directiveStart,u=s>>20,c=i?a+u:t.directiveEnd;for(let h=r?a:a+u;h<c;h++){const t=o[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(i){const t=o[l];if(t&&Jt(t)&&t.type===n)return l}return null}function Sn(t,e,n,r){let i=t[n];const s=e.data;if(i instanceof Qe){const o=i;if(o.resolving)throw new Error("Circular dep for "+ln(s[n]));const a=dn(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?lt(o.injectImpl):null;je(t,r);try{i=t[n]=o.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const r=Xt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&lt(l),dn(a),o.resolving=!1,Le()}}return i}function En(t,e,n){const r=64&t,i=32&t;let s;return s=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(s&1<<t)}function On(t,e){return!(t&C.Self||t&C.Host&&e)}class xn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return bn(this._tNode,this._lView,t,void 0,e)}}function Dn(t){const e=t;if(B(t))return()=>{const t=Dn(L(e));return t?t():null};let n=Bt(e);if(null===n){const t=T(e);n=t&&t.factory}return n||null}function An(t){return g(()=>{const e=t.prototype.constructor,n=e[Q]||Dn(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[Q]||Dn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function Tn(t){return t.ngDebugContext}function kn(t){return t.ngOriginalError}function Pn(t,...e){t.error(...e)}class Fn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Pn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Tn(t)?Tn(t):this._findContext(kn(t)):null}_findOriginalError(t){let e=kn(t);for(;e&&kn(e);)e=kn(e);return e}}class Rn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class jn extends Rn{getTypeName(){return"HTML"}}class Mn extends Rn{getTypeName(){return"Style"}}class Nn extends Rn{getTypeName(){return"Script"}}class In extends Rn{getTypeName(){return"URL"}}class Vn extends Rn{getTypeName(){return"ResourceURL"}}function Ln(t){return t instanceof Rn?t.changingThisBreaksApplicationSecurity:t}function Bn(t,e){const n=Hn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function Hn(t){return t instanceof Rn&&t.getTypeName()||null}function Un(t){return new jn(t)}function zn(t){return new Mn(t)}function qn(t){return new Nn(t)}function $n(t){return new In(t)}function Wn(t){return new Vn(t)}let Gn=!0,Kn=!1;function Jn(){return Kn=!0,Gn}function Zn(){if(Kn)throw new Error("Cannot enable prod mode after platform setup.");Gn=!1}class Qn{getInertBodyElement(t){t="<body><remove></remove>"+t;try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Yn{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=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0<r;r--){const n=e.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Xn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,tr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function er(t){return(t=String(t)).match(Xn)||t.match(tr)?t:(Jn()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function nr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function rr(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ir=nr("area,br,col,hr,img,wbr"),sr=nr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),or=nr("rp,rt"),ar=rr(or,sr),lr=rr(ir,rr(sr,nr("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")),rr(or,nr("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")),ar),ur=nr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cr=nr("srcset"),hr=rr(ur,cr,nr("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"),nr("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")),dr=nr("script,style,template");class pr{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(!lr.hasOwnProperty(e))return this.sanitizedSomething=!0,!dr.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let i=0;i<n.length;i++){const t=n.item(i),e=t.name,s=e.toLowerCase();if(!hr.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let o=t.value;ur[s]&&(o=er(o)),cr[s]&&(r=o,o=(r=String(r)).split(",").map(t=>er(t.trim())).join(", ")),this.buf.push(" ",e,'="',mr(o),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();lr.hasOwnProperty(e)&&!ir.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(mr(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 fr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gr=/([^\#-~ |!])/g;function mr(t){return t.replace(/&/g,"&amp;").replace(fr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(gr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let _r;function yr(t,e){let n=null;try{_r=_r||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new Qn:new Yn(t)}(t);let r=e?String(e):"";n=_r.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=_r.getInertBodyElement(r)}while(r!==s);const o=new pr,a=o.sanitizeChildren(br(n)||n);return Jn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=br(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function br(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var vr=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 wr(t){const e=function(){const t=ve();return t&&t[12]}();return e?e.sanitize(vr.URL,t)||"":Bn(t,"URL")?Ln(t):er(an(t))}function Cr(t,e){t.__ngContext__=e}function Sr(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const Er="ng-template";function Or(t,e,n){let r=0;for(;r<t.length;){let i=t[r++];if(n&&"class"===i){if(i=t[r],-1!==Sr(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<t.length&&"string"==typeof(i=t[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function xr(t){return 0===t.type&&t.tagName!==Er}function Dr(t,e,n){return e===(0!==t.type||n?t.tagName:Er)}function Ar(t,e,n){let r=4;const i=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(Xe(t[e]))return e;return t.length}(i);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!Dr(t,l,n)||""===l&&1===e.length){if(Tr(r))return!1;o=!0}}else{const u=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!Or(t.attrs,u,n)){if(Tr(r))return!1;o=!0}continue}const c=kr(8&r?"class":l,i,xr(t),n);if(-1===c){if(Tr(r))return!1;o=!0;continue}if(""!==u){let t;t=c>s?"":i[c+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Sr(e,u,0)||2&r&&u!==t){if(Tr(r))return!1;o=!0}}}}else{if(!o&&!Tr(r)&&!Tr(l))return!1;if(o&&Tr(l))continue;o=!1,r=l|1&r}}return Tr(r)||o}function Tr(t){return 0==(1&t)}function kr(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i<e.length;){const r=e[i];if(r===t)return i;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++i];for(;"string"==typeof t;)t=e[++i];continue}if(4===r)break;if(0===r){i+=4;continue}}i+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function Pr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Ar(t,e[r],n))return!0;return!1}function Fr(t,e){t:for(let n=0;n<e.length;n++){const r=e[n];if(t.length===r.length){for(let e=0;e<t.length;e++)if(t[e]!==r[e])continue t;return!0}}return!1}function Rr(t,e){return t?":not("+e.trim()+")":e}function jr(t){let e=t[0],n=1,r=2,i="",s=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&r){const e=t[++n];i+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||Tr(o)||(e+=Rr(s,i),i=""),r=o,s=s||!Tr(r);n++}return""!==i&&(e+=Rr(s,i)),e}const Mr={};function Nr(t){const e=t[3];return $t(e)?e[3]:e}function Ir(t){return Lr(t[13])}function Vr(t){return Lr(t[4])}function Lr(t){for(;null!==t&&!$t(t);)t=t[4];return t}function Br(t){Hr(we(),ve(),He()+t,De())}function Hr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&$e(e,r,n)}else{const r=t.preOrderHooks;null!==r&&We(e,r,0,n)}Ue(n)}function Ur(t,e){return t<<17|e<<2}function zr(t){return t>>17&32767}function qr(t){return 2|t}function $r(t){return(131068&t)>>2}function Wr(t,e){return-131069&t|e<<2}function Gr(t){return 1|t}function Kr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];Re(i),n.contentQueries(2,e[s],s)}}}function Jr(t,e,n){return se(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Zr(t,e,n,r,i,s,o,a,l,u){const c=e.blueprint.slice();return c[0]=i,c[2]=140|r,me(c),c[3]=c[15]=t,c[8]=n,c[10]=o||t&&t[10],c[11]=a||t&&t[11],c[12]=l||t&&t[12]||null,c[9]=u||t&&t[9]||null,c[6]=s,c[16]=2==e.type?t[16]:c,c}function Qr(t,e,n,r,i){const s=e+Ut,o=t.data[s]||function(t,e,n,r,i){const s=Se(),o=Oe(),a=t.data[e]=function(t,e,n,r,i,s){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,n,e,r,i);return null===t.firstChild&&(t.firstChild=a),null!==s&&(o&&null==s.child&&null!==a.parent?s.child=a:o||(s.next=a)),a}(t,s,n,r,i);return Ee(o,!0),o}function Yr(t,e,n){Me(e);try{const r=t.viewQuery;null!==r&&Ti(1,r,n);const i=t.template;null!==i&&ei(t,e,i,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Kr(t,e),t.staticViewQueries&&Ti(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Ei(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,Be()}}function Xr(t,e,n,r){const i=e[2];if(256==(256&i))return;Me(e);const s=De();try{me(e),ye.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&ei(t,e,n,2,r);const o=3==(3&i);if(!s)if(o){const n=t.preOrderCheckHooks;null!==n&&$e(e,n,null)}else{const n=t.preOrderHooks;null!==n&&We(e,n,0,null),Ge(e,0)}if(function(t){for(let e=Ir(t);null!==e;e=Vr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&_e(r,1),n[2]|=1024}}}(e),function(t){for(let e=Ir(t);null!==e;e=Vr(e))for(let t=zt;t<e.length;t++){const n=e[t],r=n[1];fe(n)&&Xr(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&Kr(t,e),!s)if(o){const n=t.contentCheckHooks;null!==n&&$e(e,n)}else{const n=t.contentHooks;null!==n&&We(e,n,1),Ge(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,i=-1,s=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(s=0-o,Ue(s),r+=9+n[++t],i=r):r+=o:(null!==o&&(ke(r,i),o(2,e[i])),i++)}}}finally{Ue(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Si(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Ti(2,l,r),!s)if(o){const n=t.viewCheckHooks;null!==n&&$e(e,n)}else{const n=t.viewHooks;null!==n&&We(e,n,2),Ge(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,_e(e[3],-1))}finally{Be()}}function ti(t,e,n,r){const i=e[10],s=!De(),o=pe(e);try{s&&!o&&i.begin&&i.begin(),o&&Yr(t,e,r),Xr(t,e,n,r)}finally{s&&!o&&i.end&&i.end()}}function ei(t,e,n,r,i){const s=He();try{Ue(-1),2&r&&e.length>Ut&&Hr(t,e,0,De()),n(r,i)}finally{Ue(s)}}function ni(t,e,n){if(Wt(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i<r;i++){const e=t.data[i];e.contentQueries&&e.contentQueries(1,n[i],i)}}}function ri(t,e,n){be()&&(function(t,e,n,r){const i=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||fn(n,e),Cr(r,e);const o=n.initialInputs;for(let a=i;a<s;a++){const r=t.data[a],s=Jt(r);s&&bi(e,n,r);const l=Sn(e,t,a,n);Cr(l,e),null!==o&&vi(0,a-i,l,r,0,o),s&&(he(n.index,e)[8]=l)}}(t,e,n,ue(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,i=n.directiveEnd,s=t.expandoInstructions,o=t.firstCreatePass,a=n.index-Ut,l=ye.lFrame.currentDirectiveIndex;try{Ue(a);for(let n=r;n<i;n++){const r=t.data[n],i=e[n];Pe(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?pi(r,i):o&&s.push(null)}}finally{Ue(-1),Pe(l)}}(t,e,n))}function ii(t,e,n=ue){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],a=-1===o?n(e,t):t[o];t[i++]=a}}}function si(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=oi(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function oi(t,e,n,r,i,s,o,a,l,u){const c=Ut+r,h=c+i,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:Mr);return n}(c,h),p="function"==typeof u?u():u;return d[1]={type:t,blueprint:d,template:n,queries:null,viewQuery:a,declTNode:e,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function ai(t,e,n,r){const i=Pi(e);i.push(n),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=[])}(t).push(r,i.length-1)}function li(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const i=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,i):n[r]=[e,i]}return n}function ui(t,e,n,r,i,s,o,a){const l=ue(e,n);let u,c=e.inputs;var h;!a&&null!=c&&(u=c[r])?(Ri(t,n,u,r,i),Gt(e)&&function(t,e){const n=he(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):2===e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,i=null!=o?o(i,e.tagName||"",r):i,se(s)?s.setProperty(l,r,i):tn(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function ci(t,e,n,r){let i=!1;if(be()){const s=function(t,e,n){const r=t.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];Pr(n,o.selectors,!1)&&(i||(i=[]),yn(fn(n,e),t,o.type),Jt(o)?(gi(t,n),i.unshift(o)):i.push(o))}return i}(t,e,n),o=null===r?null:{"":-1};if(null!==s){let r=0;i=!0,_i(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}fi(t,n,s.length);let a=!1,l=!1;for(let i=0;i<s.length;i++){const u=s[i];n.mergedAttrs=en(n.mergedAttrs,u.hostAttrs),yi(t,e,u),mi(t.data.length-1,u,o),null!==u.contentQueries&&(n.flags|=8),null===u.hostBindings&&null===u.hostAttrs&&0===u.hostVars||(n.flags|=128);const c=u.type.prototype;!a&&(c.ngOnChanges||c.ngOnInit||c.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-Ut),a=!0),l||!c.ngOnChanges&&!c.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-Ut),l=!0),hi(t,u),r+=u.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,i=e.attrs,s=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,u=null===i||xr(e)?null:wi(n,i);s.push(u),o=li(n,l,o),a=li(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=o,e.outputs=a}(t,n),di(t,e,r)}o&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const i=n[e[t+1]];if(null==i)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],i)}}}(n,r,o)}return n.mergedAttrs=en(n.mergedAttrs,n.attrs),i}function hi(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function di(t,e,n){for(let r=0;r<n;r++)e.push(Mr),t.blueprint.push(Mr),t.data.push(null)}function pi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function fi(t,e,n){const r=Ut-e.index,i=t.data.length-(1048575&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function gi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function mi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;Jt(e)&&(n[""]=t)}}function _i(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function yi(t,e,n){t.data.push(n);const r=n.factory||(n.factory=Bt(n.type)),i=new Qe(r,Jt(n),null);t.blueprint.push(i),e.push(i)}function bi(t,e,n){const r=ue(e,t),i=si(n),s=t[10],o=Oi(t,Zr(t,i,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n),null,null));t[e.index]=o}function vi(t,e,n,r,i,s){const o=s[e];if(null!==o){const t=r.setInput;for(let e=0;e<o.length;){const i=o[e++],s=o[e++],a=o[e++];null!==t?r.setInput(n,a,i,s):n[s]=a}}}function wi(t,e){let n=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;t.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,t[i],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Ci(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Si(t,e){const n=he(e,t);if(fe(n)){const t=n[1];80&n[2]?Xr(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=Ir(e);null!==r;r=Vr(r))for(let e=zt;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];Xr(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=he(n[r],e);fe(i)&&i[5]>0&&t(i)}}(n)}}function Ei(t,e){const n=he(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),Yr(r,n,n[8])}function Oi(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function xi(t){for(;t;){t[2]|=64;const e=Nr(t);if(Zt(t)&&!e)return t;t=e}return null}function Di(t,e,n){const r=e[10];r.begin&&r.begin();try{Xr(t,e,t.template,n)}catch(i){throw Fi(e,i),i}finally{r.end&&r.end()}}function Ai(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=de(n),i=r[1];ti(i,r,i.template,n)}}(t[8])}function Ti(t,e,n){Re(0),e(t,n)}const ki=(()=>Promise.resolve(null))();function Pi(t){return t[7]||(t[7]=[])}function Fi(t,e){const n=t[9],r=n?n.get(Fn,null):null;r&&r.handleError(e)}function Ri(t,e,n,r,i){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=e[o],u=t.data[o];null!==u.setInput?u.setInput(l,i,r,a):l[a]=i}}function ji(t,e,n,r,i){if(null!=r){let s,o=!1;$t(r)?s=r:qt(r)&&(o=!0,r=r[0]);const a=ae(r);0===t&&null!==n?null==i?Hi(e,n,a):Bi(e,n,a,i||null):1===t&&null!==n?Bi(e,n,a,i||null):2===t?function(t,e,n){const r=zi(t,e);r&&function(t,e,n,r){se(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,i){const s=n[7];s!==ae(n)&&ji(e,t,r,s,i);for(let o=zt;o<n.length;o++){const i=n[o];Gi(i[1],i,t,e,r,s)}}(e,t,s,n,i)}}function Mi(t,e){const n=t[9],r=n.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,_e(i,-1)),n.splice(r,1)}function Ni(t,e){if(t.length<=zt)return;const n=zt+e,r=t[n];if(r){const s=r[17];null!==s&&s!==t&&Mi(s,r),e>0&&(t[n-1][4]=r[4]);const o=bt(t,zt+e);Gi(r[1],i=r,i[11],2,null,null),i[0]=null,i[6]=null;const a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}var i;return r}function Ii(t,e){if(!(256&e[2])){const n=e[11];se(n)&&n.destroyNode&&Gi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Vi(t[1],t);for(;e;){let n=null;if(qt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)qt(e)&&Vi(e[1],e),e=e[3];null===e&&(e=t),qt(e)&&Vi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Vi(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 r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof Qe)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const i=n[r+1],s="function"==typeof i?i(e):ae(e[i]),o=t[n[r+2]],a=n[r+3];"boolean"==typeof a?s.removeEventListener(n[r],o,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e),1===e[1].type&&se(e[11])&&e[11].destroy();const n=e[17];if(null!==n&&$t(e[3])){n!==e[3]&&Mi(n,e);const r=e[19];null!==r&&r.detachView(t)}}}function Li(t,e,n){let r=e.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(e=r).parent;if(null===r)return n[0];if(e&&4===e.type&&4&e.flags)return ue(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Ot.ShadowDom&&n!==Ot.Native)return null}return ue(r,n)}function Bi(t,e,n,r){se(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Hi(t,e,n){se(t)?t.appendChild(e,n):e.appendChild(n)}function Ui(t,e,n,r){null!==r?Bi(t,e,n,r):Hi(t,e,n)}function zi(t,e){return se(t)?t.parentNode(e):e.parentNode}function qi(t,e){return 3===t.type||4===t.type?ue(t,e):null}function $i(t,e,n,r){const i=Li(t,r,e);if(null!=i){const t=e[11],s=qi(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)Ui(t,i,n[e],s);else Ui(t,i,n,s)}}function Wi(t,e,n,r,i,s,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===e&&(a&&Cr(ae(a),r),n.flags|=4),64!=(64&n.flags)&&(3===l||4===l?(Wi(t,e,n.child,r,i,s,!1),ji(e,t,i,a,s)):1===l?Ki(t,e,r,n,i,s):ji(e,t,i,a,s)),n=o?n.projectionNext:n.next}}function Gi(t,e,n,r,i,s){Wi(n,r,t.firstChild,e,i,s,!1)}function Ki(t,e,n,r,i,s){const o=n[16],a=o[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)ji(e,t,i,a[l],s);else Wi(t,e,a,o[3],i,s,!0)}function Ji(t,e,n){se(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function Zi(t,e,n){se(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class Qi{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView,e=t[1];return function t(e,n,r,i,s=!1){for(;null!==r;){const o=n[r.index];if(null!==o&&i.push(ae(o)),$t(o))for(let e=zt;e<o.length;e++){const n=o[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,i)}const a=r.type;if(3===a||4===a)t(e,n,r.child,i);else if(1===a){const e=n[16],s=e[6].projection[r.projection];if(Array.isArray(s))i.push(...s);else{const n=Nr(e);t(n[1],n,s,i,!0)}}r=s?r.projectionNext:r.next}return i}(e,t,e.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Ii(this._lView[1],this._lView)}onDestroy(t){ai(this._lView[1],this._lView,null,t)}markForCheck(){xi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Di(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Ae(!0);try{Di(t,e,n)}finally{Ae(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Gi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Yi extends Qi{constructor(t){super(t),this._view=t}detectChanges(){Ai(this._view)}checkNoChanges(){!function(t){Ae(!0);try{Ai(t)}finally{Ae(!1)}}(this._view)}get context(){return null}}let Xi,ts,es;function ns(t,e,n){return Xi||(Xi=class extends t{}),new Xi(ue(e,n))}function rs(t,e,n,r){return ts||(ts=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Zr(this._declarationView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Yr(e,n,t),new Qi(n)}}),0===n.type?new ts(r,n,ns(e,n,r)):null}function is(t,e,n,r){let i;es||(es=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return ns(e,this._hostTNode,this._hostView)}get injector(){return new xn(this._hostTNode,this._hostView)}get parentInjector(){const t=_n(this._hostTNode,this._hostView);if(rn(t)){const e=on(t,this._hostView),n=sn(t);return new xn(e[1].data[n+8],e)}return new xn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-zt}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const s=n||this.parentInjector;if(!i&&null==t.ngModule&&s){const t=s.get(gt,null);t&&(i=t)}const o=t.create(s,r,void 0,i);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),$t(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new es(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,r){const i=zt+r,s=n.length;r>0&&(n[i-1][4]=e),r<s-zt?(e[4]=n[i],yt(n,zt+r,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,s,i);const o=function t(e,n){const r=zt+e+1;if(r<n.length){const e=n[r],i=e[1].firstChild;if(null!==i)return function e(n,r){if(null!==r){const i=r.type;if(2===i)return ue(r,n);if(0===i)return t(-1,n[r.index]);if(3===i||4===i){const i=r.child;if(null!==i)return e(n,i);{const e=n[r.index];return $t(e)?t(-1,e):ae(e)}}{const t=n[16],i=t[6],s=Nr(t),o=i.projection[r.projection];return null!=o?e(s,o):e(n,r.next)}}return null}(e,i)}return n[7]}(i,s),a=n[11],l=zi(a,s[7]);return null!==l&&function(t,e,n,r,i,s){r[0]=i,r[6]=e,Gi(t,r,n,1,i,s)}(r,s[6],a,n,l,o),t.attachToViewContainerRef(this),yt(s[8],i,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Ni(this._lContainer,e);n&&(bt(this._lContainer[8],e),Ii(n[1],n))}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Ni(this._lContainer,e);return n&&null!=bt(this._lContainer[8],e)?new Qi(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=r[n.index];if($t(s))i=s;else{let t;if(3===n.type)t=ae(s);else if(t=r[11].createComment(""),Zt(r)){const e=r[11],i=ue(n,r);Bi(e,zi(e,i),t,function(t,e){return se(t)?t.nextSibling(e):e.nextSibling}(e,i))}else $i(r[1],r,t,n);r[n.index]=i=Ci(s,r,t,n),Oi(r,i)}return new es(i,n,r)}function ss(t=!1){return function(t,e,n){if(!n&&Gt(t)){const n=he(t.index,e);return new Qi(n,n)}return 2===t.type||0===t.type||3===t.type||4===t.type?new Qi(e[16],e):null}(Se(),ve(),t)}let os=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>as(),t})();const as=ss,ls=Function,us=new X("Set Injector scope."),cs={},hs={},ds=[];let ps=void 0;function fs(){return void 0===ps&&(ps=new ft),ps}function gs(t,e=null,n=null,r){return new ms(t,n,e||fs(),r)}class ms{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&&_t(e,n=>this.processProvider(n,t,e)),_t([t],t=>this.processInjectorType(t,[],i)),this.records.set(tt,bs(void 0,this));const s=this.records.get(us);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:M(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=et,n=C.Default){this.assertNotDestroyed();const r=at(this);try{if(!(n&C.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof X)&&D(t);e=n&&this.injectableDefInScope(n)?bs(_s(t),cs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&C.Self?fs():this.parent).get(t,e=n&C.Optional&&e===et?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(M(t)),r)throw s;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e[rt]&&i.unshift(e[rt]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=M(e);if(Array.isArray(e))i=e.map(M).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):M(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(nt,"\n  ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{at(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(M(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=L(t)))return!1;let r=T(t);const i=null==r&&t.ngModule||void 0,s=void 0===i?t:i,o=-1!==n.indexOf(s);if(void 0!==i&&(r=T(i)),null==r)return!1;if(null!=r.imports&&!o){let t;n.push(s);try{_t(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];_t(r,t=>this.processProvider(t,n,r||ds))}}this.injectorDefTypes.add(s),this.records.set(s,bs(r.factory,cs));const a=r.providers;if(null!=a&&!o){const e=t;_t(a,t=>this.processProvider(t,e,a))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=ws(t=L(t))?t:L(t&&t.provide);const i=function(t,e,n){return vs(t)?bs(void 0,t.useValue):bs(ys(t),cs)}(t);if(ws(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=bs(void 0,cs,!0),e.factory=()=>pt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===cs&&(e.value=hs,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 _s(t){const e=D(t),n=null!==e?e.factory:Bt(t);if(null!==n)return n;const r=T(t);if(null!==r)return r.factory;if(t instanceof X)throw new Error(`Token ${M(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=vt(e,"?");throw new Error(`Can't resolve all parameters for ${M(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[k]||t[R]||t[F]&&t[F]());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 ys(t,e,n){let r=void 0;if(ws(t)){const e=L(t);return Bt(e)||_s(e)}if(vs(t))r=()=>L(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...pt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>ct(L(t.useExisting));else{const e=L(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return Bt(e)||_s(e);r=()=>new e(...pt(t.deps))}var i;return r}function bs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function vs(t){return null!==t&&"object"==typeof t&&it in t}function ws(t){return"function"==typeof t}const Cs=function(t,e,n){return function(t,e=null,n=null,r){const i=gs(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let Ss=(()=>{class t{static create(t,e){return Array.isArray(t)?Cs(t,e,""):Cs(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=et,t.NULL=new ft,t.\u0275prov=O({token:t,providedIn:"any",factory:()=>ct(tt)}),t.__NG_ELEMENT_ID__=-1,t})();const Es=new X("AnalyzeForEntryComponents");function Os(t,e,n){let r=n?t.styles:null,i=n?t.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?s=t:1==s?i=N(i,t):2==s&&(r=N(r,t+": "+e[++o]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=i:t.classesWithoutHost=i}function xs(t,e){const n=de(t)[1],r=n.data.length-1;qe(n,{directiveStart:r,directiveEnd:r+1})}function Ds(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(Jt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=As(t.inputs),e.declaredInputs=As(t.declaredInputs),e.outputs=As(t.outputs);const n=i.hostBindings;n&&Ps(t,n);const s=i.viewQuery,o=i.contentQueries;if(s&&Ts(t,s),o&&ks(t,o),E(t.inputs,i.inputs),E(t.declaredInputs,i.declaredInputs),E(t.outputs,i.outputs),Jt(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r<e.length;r++){const i=e[r];i&&i.ngInherit&&i(t),i===Ds&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let r=t.length-1;r>=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=en(i.hostAttrs,n=en(n,i.hostAttrs))}}(r)}function As(t){return t===xt?{}:t===Dt?[]:t}function Ts(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function ks(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Ps(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let Fs=null;function Rs(){if(!Fs){const t=$.Symbol;if(t&&t.iterator)Fs=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Fs=n)}}}return Fs}class js{constructor(t){this.wrapped=t}static wrap(t){return new js(t)}static unwrap(t){return js.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof js}}function Ms(t){return!!Ns(t)&&(Array.isArray(t)||!(t instanceof Map)&&Rs()in t)}function Ns(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Is(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Vs(t,e,n,r){const i=ve();return Is(i,Te(),e)&&(we(),function(t,e,n,r,i,s){const o=ue(t,e),a=e[11];if(null==r)se(a)?a.removeAttribute(o,n,s):o.removeAttribute(n);else{const e=null==i?an(r):i(r,t.tagName||"",n);se(a)?a.setAttribute(o,n,e,s):s?o.setAttributeNS(s,n,e):o.setAttribute(n,e)}}(ze(),i,t,e,n,r)),Vs}function Ls(t,e,n,r,i,s,o,a){const l=ve(),u=we(),c=t+Ut,h=u.firstCreatePass?function(t,e,n,r,i,s,o,a,l){const u=e.consts,c=Qr(e,t,0,o||null,ge(u,a));ci(e,n,c,ge(u,l)),qe(e,c);const h=c.tViews=oi(2,c,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),h.queries=e.queries.embeddedTView(c)),c}(t,u,l,e,n,r,i,s,o):u.data[c];Ee(h,!1);const d=l[11].createComment("");$i(u,l,d,h),Cr(d,l),Oi(l,l[c]=Ci(d,l,d,h)),Kt(h)&&ri(u,l,h),null!=o&&ii(l,h,a)}function Bs(t,e=C.Default){const n=ve();return null===n?ct(t,e):bn(Se(),n,L(t),e)}function Hs(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const i=n[r];if(Xe(i))break;if(0===i)r+=2;else if("number"==typeof i)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(i===e)return n[r+1];r+=2}}}return null}(Se(),t)}function Us(t,e,n){const r=ve();return Is(r,Te(),e)&&ui(we(),ze(),r,t,e,r[11],n,!1),Us}function zs(t,e,n,r,i){const s=i?"class":"style";Ri(t,n,e.inputs[s],s,r)}function qs(t,e,n,r){const i=ve(),s=we(),o=Ut+t,a=i[11],l=i[o]=Jr(e,a,ye.lFrame.currentNamespace),u=s.firstCreatePass?function(t,e,n,r,i,s,o){const a=e.consts,l=Qr(e,t,2,i,ge(a,s));return ci(e,n,l,ge(a,o)),null!==l.attrs&&Os(l,l.attrs,!1),null!==l.mergedAttrs&&Os(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(t,s,i,0,e,n,r):s.data[o];Ee(u,!0);const c=u.mergedAttrs;null!==c&&Ye(a,l,c);const h=u.classes;null!==h&&Zi(a,l,h);const d=u.styles;null!==d&&Ji(a,l,d),$i(s,i,l,u),0===ye.lFrame.elementDepthCount&&Cr(l,i),ye.lFrame.elementDepthCount++,Kt(u)&&(ri(s,i,u),ni(s,u,i)),null!==r&&ii(i,u)}function $s(){let t=Se();Oe()?xe():(t=t.parent,Ee(t,!1));const e=t;ye.lFrame.elementDepthCount--;const n=we();n.firstCreatePass&&(qe(n,t),Wt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&zs(n,e,ve(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&zs(n,e,ve(),e.stylesWithoutHost,!1)}function Ws(t,e,n,r){qs(t,e,n,r),$s()}function Gs(t,e,n){const r=ve(),i=we(),s=t+Ut,o=i.firstCreatePass?function(t,e,n,r,i){const s=e.consts,o=ge(s,r),a=Qr(e,t,3,"ng-container",o);return null!==o&&Os(a,o,!0),ci(e,n,a,ge(s,i)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,i,r,e,n):i.data[s];Ee(o,!0);const a=r[s]=r[11].createComment("");$i(i,r,a,o),Cr(a,r),Kt(o)&&(ri(i,r,o),ni(i,o,r)),null!=n&&ii(r,o)}function Ks(){let t=Se();const e=we();Oe()?xe():(t=t.parent,Ee(t,!1)),e.firstCreatePass&&(qe(e,t),Wt(t)&&e.queries.elementEnd(t))}function Js(){return ve()}function Zs(t){return!!t&&"function"==typeof t.then}function Qs(t){return!!t&&"function"==typeof t.subscribe}function Ys(t,e,n=!1,r){const i=ve(),s=we(),o=Se();return function(t,e,n,r,i,s,o=!1,a){const l=Kt(r),u=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),c=Pi(e);let h=!0;if(2===r.type){const d=ue(r,e),p=a?a(d):xt,f=p.target||d,g=c.length,m=a?t=>a(ae(t[r.index])).target:r.index;if(se(n)){let o=null;if(!a&&l&&(o=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const t=i[s];if(t===n&&i[s+1]===r){const t=e[7],n=i[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,i,r.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=s,o.__ngLastListenerFn__=s,h=!1;else{s=to(r,e,s,!1);const t=n.listen(p.name||f,i,s);c.push(s,t),u&&u.push(i,m,g,g+1)}}else s=to(r,e,s,!0),f.addEventListener(i,s,o),c.push(s),u&&u.push(i,m,g,o)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[i])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),o=c.length;c.push(s,t),u&&u.push(i,r.index,o,-(o+1))}}}(s,i,i[11],o,t,e,n,r),Ys}function Xs(t,e,n){try{return!1!==e(n)}catch(r){return Fi(t,r),!1}}function to(t,e,n,r){return function i(s){if(s===Function)return n;const o=2&t.flags?he(t.index,e):e;0==(32&e[2])&&xi(o);let a=Xs(e,n,s),l=i.__ngNextListenerFn__;for(;l;)a=Xs(e,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function eo(t=1){return function(t){return(ye.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ye.lFrame.contextLView))[8]}(t)}function no(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i<e.length;i++){const s=e[i];if("*"!==s){if(null===r?Pr(t,s,!0):Fr(r,s))return i}else n=i}return n}function ro(t){const e=ve()[16][6];if(!e.projection){const n=e.projection=vt(t?t.length:1,null),r=n.slice();let i=e.child;for(;null!==i;){const e=t?no(i,t):0;null!==e&&(r[e]?r[e].projectionNext=i:n[e]=i,r[e]=i),i=i.next}}}function io(t,e=0,n){const r=ve(),i=we(),s=Qr(i,t,1,null,n||null);null===s.projection&&(s.projection=e),xe(),function(t,e,n){Ki(e[11],0,e,n,Li(t,n,e),qi(n.parent||e[6],e))}(i,r,s)}const so=[];function oo(t,e,n,r,i){const s=t[n+1],o=null===e;let a=r?zr(s):$r(s),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];ao(t[a],e)&&(l=!0,t[a+1]=r?Gr(n):qr(n)),a=r?zr(n):$r(n)}l&&(t[n+1]=r?qr(s):Gr(s))}function ao(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&St(t,e)>=0}function lo(t,e,n){return co(t,e,n,!1),lo}function uo(t,e){return co(t,e,null,!0),uo}function co(t,e,n,r){const i=ve(),s=we(),o=function(t){const e=ye.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+2,n}();s.firstUpdatePass&&function(t,e,n,r){const i=t.data;if(null===i[n+1]){const s=i[He()+Ut],o=function(t,e){return e>=t.expandoStartIndex}(t,n);(function(t,e){return 0!=(t.flags&(e?16:32))})(s,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=ye.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=po(n=ho(null,t,e,n,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=ho(i,t,e,n,r),null===s){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==$r(r))return t[zr(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=ho(null,t,e,n[1],r),n=po(n,e.attrs,r),function(t,e,n,r){t[zr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else s=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<i;s++)r=po(r,t[s].hostAttrs,n);return po(r,e.attrs,n)}(t,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),n}(i,s,e,r),function(t,e,n,r,i,s){let o=s?e.classBindings:e.styleBindings,a=zr(o),l=$r(o);t[r]=n;let u,c=!1;if(Array.isArray(n)){const t=n;u=t[1],(null===u||St(t,u)>0)&&(c=!0)}else u=n;if(i)if(0!==l){const e=zr(t[a+1]);t[r+1]=Ur(e,a),0!==e&&(t[e+1]=Wr(t[e+1],r)),t[a+1]=131071&t[a+1]|r<<17}else t[r+1]=Ur(a,0),0!==a&&(t[a+1]=Wr(t[a+1],r)),a=r;else t[r+1]=Ur(l,0),0===a?a=r:t[l+1]=Wr(t[l+1],r),l=r;c&&(t[r+1]=qr(t[r+1])),oo(t,u,r,!0),oo(t,u,r,!1),function(t,e,n,r,i){const s=i?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&St(s,e)>=0&&(n[r+1]=Gr(n[r+1]))}(e,u,t,r,s),o=Ur(a,l),s?e.classBindings=o:e.styleBindings=o}(i,s,e,n,o,r)}}(s,t,o,r),e!==Mr&&Is(i,o,e)&&function(t,e,n,r,i,s,o,a){if(2!==e.type)return;const l=t.data,u=l[a+1];go(1==(1&u)?fo(l,e,n,i,$r(u),o):void 0)||(go(s)||function(t){return 2==(2&t)}(u)&&(s=fo(l,null,n,i,a,o)),function(t,e,n,r,i){const s=se(t);if(e)i?s?t.addClass(n,r):n.classList.add(r):s?t.removeClass(n,r):n.classList.remove(r);else{const e=-1==r.indexOf("-")?void 0:2;null==i?s?t.removeStyle(n,r,e):n.style.removeProperty(r):s?t.setStyle(n,r,i,e):n.style.setProperty(r,i)}}(r,o,le(He(),n),i,s))}(s,s.data[He()+Ut],i,i[11],t,i[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=M(Ln(t)))),t}(e,n),r,o)}function ho(t,e,n,r,i){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=e[a],r=po(r,s.hostAttrs,i),s!==t);)a++;return null!==t&&(n.directiveStylingLast=a),r}function po(t,e,n){const r=n?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?i=o:i===r&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),wt(t,o,!!n||e[++s]))}return void 0===t?null:t}function fo(t,e,n,r,i,s){const o=null===e;let a=void 0;for(;i>0;){const e=t[i],s=Array.isArray(e),l=s?e[1]:e,u=null===l;let c=n[i+1];c===Mr&&(c=u?so:void 0);let h=u?Ct(c,r):l===r?c:void 0;if(s&&!go(h)&&(h=Ct(e,r)),go(h)&&(a=h,o))return a;const d=t[i+1];i=o?zr(d):$r(d)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(a=Ct(t,r))}return a}function go(t){return void 0!==t}function mo(t,e=""){const n=ve(),r=we(),i=t+Ut,s=r.firstCreatePass?Qr(r,t,2,null,null):r.data[i],o=n[i]=function(t,e){return se(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);$i(r,n,o,s),Ee(s,!1)}function _o(t){return yo("",t,""),_o}function yo(t,e,n){const r=ve(),i=function(t,e,n,r){return Is(t,Te(),n)?e+an(n)+r:Mr}(r,t,e,n);return i!==Mr&&function(t,e,n){const r=le(e,t),i=t[11];se(i)?i.setValue(r,n):r.textContent=n}(r,He(),i),yo}function bo(t,e,n){const r=ve();return Is(r,Te(),e)&&ui(we(),ze(),r,t,e,r[11],n,!0),bo}function vo(t,e,n,r,i){if(t=L(t),Array.isArray(t))for(let s=0;s<t.length;s++)vo(t[s],e,n,r,i);else{const s=we(),o=ve();let a=ws(t)?t:L(t.provide),l=ys(t);const u=Se(),c=1048575&u.providerIndexes,h=u.directiveStart,d=u.providerIndexes>>20;if(ws(t)||!t.multi){const r=new Qe(l,i,Bs),p=So(a,e,i?c:c+d,h);-1===p?(yn(fn(u,o),s,a),wo(s,t,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(r),o.push(r)):(n[p]=r,o[p]=r)}else{const p=So(a,e,c+d,h),f=So(a,e,c,c+d),g=p>=0&&n[p],m=f>=0&&n[f];if(i&&!m||!i&&!g){yn(fn(u,o),s,a);const c=function(t,e,n,r,i){const s=new Qe(t,n,Bs);return s.multi=[],s.index=e,s.componentProviders=0,Co(s,i,r&&!n),s}(i?Oo:Eo,n.length,i,r,l);!i&&m&&(n[f].providerFactory=c),wo(s,t,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),n.push(c),o.push(c)}else wo(s,t,p>-1?p:f,Co(n[i?f:p],l,!i&&r));!i&&r&&m&&n[f].componentProviders++}}}function wo(t,e,n,r){const i=ws(e);if(i||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[r,s]):o[t+1].push(r,s)}else o.push(n,s)}}}function Co(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function So(t,e,n,r){for(let i=n;i<r;i++)if(e[i]===t)return i;return-1}function Eo(t,e,n,r){return xo(this.multi,[])}function Oo(t,e,n,r){const i=this.multi;let s;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Sn(n,n[1],this.providerFactory.index,r);s=e.slice(0,t),xo(i,s);for(let n=t;n<e.length;n++)s.push(e[n])}else s=[],xo(i,s);return s}function xo(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function Do(t,e=[]){return n=>{n.providersResolver=(n,r)=>function(t,e,n){const r=we();if(r.firstCreatePass){const i=Jt(t);vo(n,r.data,r.blueprint,i,!0),vo(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}class Ao{}class To{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${M(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ko=(()=>{class t{}return t.NULL=new To,t})(),Po=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>Fo(t),t})();const Fo=function(t){return ns(t,Se(),ve())};class Ro{}var jo=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let Mo=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>No(),t})();const No=function(){const t=ve(),e=he(Se().index,t);return function(t){const e=t[11];if(se(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(qt(e)?e:t)};let Io=(()=>{class t{}return t.\u0275prov=O({token:t,providedIn:"root",factory:()=>null}),t})();class Vo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Lo=new Vo("10.1.6");class Bo{constructor(){}supports(t){return Ms(t)}create(t){return new Uo(t)}}const Ho=(t,e)=>e;class Uo{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||Ho}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const s=!n||e&&e.currentIndex<Wo(n,r,i)?e:n,o=Wo(s,r,i),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{i||(i=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<i.length?i[n]:i[n]=0,s=r+n;e<=s&&s<t&&(i[n]=r+1)}i[s.previousIndex]=e-t}}o!==a&&t(s,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Ms(t))throw new Error(`Error trying to diff '${M(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,n,r,e)),Object.is(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,e),s=!0),i=i._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Rs()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(s&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),s=!0),i=i._next,e++}),this.length=e;return this._truncate(i),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,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new zo(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),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 r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,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 r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new $o),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 $o),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 zo{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 qo{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 $o{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qo,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 Wo(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+e+i}class Go{constructor(){}supports(t){return t instanceof Map||Ns(t)}create(){return new Ko}}class Ko{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Ns(t)))throw new Error(`Error trying to diff '${M(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),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 r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new Jo(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 Jo{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}}let Zo=(()=>{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=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new w,new b]]}}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=O({token:t,providedIn:"root",factory:()=>new t([new Bo])}),t})(),Qo=(()=>{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=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new w,new b]]}}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=O({token:t,providedIn:"root",factory:()=>new t([new Go])}),t})();const Yo=[new Go],Xo=new Zo([new Bo]),ta=new Qo(Yo);let ea=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>na(t,Po),t})();const na=function(t,e){return rs(t,e,Se(),ve())};let ra=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ia(t,Po),t})();const ia=function(t,e){return is(t,e,Se(),ve())},sa={};class oa extends ko{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Lt(t);return new ua(e,this.ngModule)}}function aa(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const la=new X("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>un});class ua extends Ao{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(jr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return aa(this.componentDef.inputs)}get outputs(){return aa(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const s=t.get(n,sa,i);return s!==sa||r===sa?s:e.get(n,r,i)}}}(t,r.injector):t,s=i.get(Ro,oe),o=i.get(Io,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n){if(se(t))return t.selectRootElement(e,n===Ot.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Jr(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),c=this.componentDef.onPush?576:528,h={components:[],scheduler:un,clean:ki,playerHandler:null,flags:0},d=oi(0,null,null,1,0,null,null,null,null,null),p=Zr(null,d,h,c,null,null,s,a,o,i);let f,g;Me(p);try{const t=function(t,e,n,r,i,s){const o=n[1];n[20]=t;const a=Qr(o,0,2,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Os(a,l,!0),null!==t&&(Ye(i,t,l),null!==a.classes&&Zi(i,t,a.classes),null!==a.styles&&Ji(i,t,a.styles)));const u=r.createRenderer(t,e),c=Zr(n,si(e),null,e.onPush?64:16,n[20],a,r,u,null,null);return o.firstCreatePass&&(yn(fn(a,n),o,e.type),gi(o,a),_i(a,n.length,1)),Oi(n,c),n[20]=c}(u,this.componentDef,p,s,a);if(u)if(n)Ye(a,u,["ng-version",Lo.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===i?""!==s&&e.push(s,t[++r]):8===i&&n.push(s);else{if(!Tr(i))break;i=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Ye(a,u,t),e&&e.length>0&&Zi(a,u,e.join(" "))}if(g=ce(d,0),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}f=function(t,e,n,r,i){const s=n[1],o=function(t,e,n){const r=Se();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),fi(t,r,1),yi(t,e,n));const i=Sn(e,t,e.length-1,r);Cr(i,e);const s=ue(r,e);return s&&Cr(s,e),i}(s,n,e);r.components.push(o),t[8]=o,i&&i.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Se();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Ue(a.index-Ut);const t=n[1];hi(t,e),di(t,n,e.hostVars),pi(e,o)}return o}(t,this.componentDef,p,h,[xs]),Yr(d,p,null)}finally{Be()}return new ca(this.componentType,f,ns(Po,g,p),p,g)}}class ca extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Yi(r),this.componentType=t}get injector(){return new xn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const ha=void 0;var da=["en",[["a","p"],["AM","PM"],ha],[["AM","PM"],ha,ha],[["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"]],ha,[["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"]],ha,[["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}",ha,"{1} 'at' {0}",ha],[".",",",";","%","+","-","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 pa={};function fa(t,e,n){"string"!=typeof e&&(n=e,e=t[ba.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),pa[e]=t,n&&(pa[e][ba.ExtraData]=n)}function ga(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=ya(e);if(n)return n;const r=e.split("-")[0];if(n=ya(r),n)return n;if("en"===r)return da;throw new Error(`Missing locale data for the locale "${t}".`)}function ma(t){return ga(t)[ba.CurrencyCode]||null}function _a(t){return ga(t)[ba.PluralCase]}function ya(t){return t in pa||(pa[t]=$.ng&&$.ng.common&&$.ng.common.locales&&$.ng.common.locales[t]),pa[t]}var ba=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 va="en-US";let wa=va;function Ca(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(wa=t.toLowerCase().replace(/_/g,"-"))}const Sa=new Map;class Ea extends gt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new oa(this);const n=Ht(t),r=t[Z]||null;r&&Ca(r),this._bootstrapComponents=cn(n.bootstrap),this._r3Injector=gs(t,e,[{provide:gt,useValue:this},{provide:ko,useValue:this.componentFactoryResolver}],M(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ss.THROW_IF_NOT_FOUND,n=C.Default){return t===Ss||t===gt||t===tt?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 Oa extends mt{constructor(t){super(),this.moduleType=t,null!==Ht(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${M(e)} vs ${M(e.name)}`)})(t,Sa.get(t),e),Sa.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Ea(this.moduleType,t)}}function xa(t,e){const n=we();let r;const i=t+Ut;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=Bt(r.type)),o=lt(Bs);try{const e=dn(!1),r=s();return dn(e),function(t,e,n,r){const i=n+Ut;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(n,ve(),t,r),r}finally{lt(o)}}function Da(t,e,n){const r=ve(),i=function(t,e){return t[e+Ut]}(r,t);return function(t,e){return js.isWrapped(e)&&(e=js.unwrap(e),t[ye.lFrame.bindingIndex]=Mr),e}(r,function(t,e){return t[1].data[e+Ut].pure}(r,t)?function(t,e,n,r,i,s){const o=e+n;return Is(t,o,i)?function(t,e,n){return t[e]=n}(t,o+1,s?r.call(s,i):r(i)):function(t,e){const n=t[e];return n===Mr?void 0:n}(t,o+1)}(r,function(){const t=ye.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),e,i.transform,n,i):i.transform(n))}const Aa=class extends r.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,o=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,s,o);return t instanceof i.a&&t.add(a),a}};function Ta(){return this._results[Rs()]()}class ka{constructor(){this.dirty=!0,this._results=[],this.changes=new Aa,this.length=0;const t=Rs(),e=ka.prototype;e[t]||(e[t]=Ta)}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){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Pa{constructor(t){this.queryList=t,this.matches=null}clone(){return new Pa(this.queryList)}setDirty(){this.queryList.setDirty()}}class Fa{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);r.push(this.queries[n.indexInDeclarationView].clone())}return new Fa(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Ga(t,e).matches&&this.queries[e].setDirty()}}class Ra{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class ja{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,i=this.getByIndex(n).embeddedTView(t,r);i&&(i.indexInDeclarationView=n,null!==e?e.push(i):e=[i])}return null!==e?new ja(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ma{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Ma(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&3===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){const n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){const i=n[r];this.matchTNodeWithReadOption(t,e,Na(e,i)),this.matchTNodeWithReadOption(t,e,Cn(e,t,i,!1,!1))}else n===ea?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Cn(e,t,n,!1,!1))}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===Po||r===ra||r===ea&&0===e.type)this.addMatch(e.index,-2);else{const n=Cn(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Na(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Ia(t,e,n,r){return-1===n?function(t,e){return 2===t.type||3===t.type?ns(Po,t,e):0===t.type?rs(ea,Po,t,e):null}(e,t):-2===n?function(t,e,n){return n===Po?ns(Po,e,t):n===ea?rs(ea,Po,e,t):n===ra?is(ra,Po,e,t):void 0}(t,e,r):Sn(t,t[1],n,e)}function Va(t,e,n,r){const i=e[19].queries[r];if(null===i.matches){const r=t.data,s=n.matches,o=[];for(let t=0;t<s.length;t+=2){const i=s[t];o.push(i<0?null:Ia(e,r[i],s[t+1],n.metadata.read))}i.matches=o}return i.matches}function La(t){const e=ve(),n=we(),r=Fe();Re(r+1);const i=Ga(n,r);if(t.dirty&&pe(e)===i.metadata.isStatic){if(null===i.matches)t.reset([]);else{const s=i.crossesNgTemplate?function t(e,n,r,i){const s=e.queries.getByIndex(r),o=s.matches;if(null!==o){const a=Va(e,n,s,r);for(let e=0;e<o.length;e+=2){const r=o[e];if(r>0)i.push(a[e/2]);else{const s=o[e+1],a=n[-r];for(let e=zt;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,s,i)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const r=e[n];t(r[1],r,s,i)}}}}}return i}(n,e,r,[]):Va(n,e,i,r);t.reset(s),t.notifyOnChanges()}return!0}return!1}function Ba(t,e,n){Ua(we(),ve(),t,e,n,!0)}function Ha(t,e,n){Ua(we(),ve(),t,e,n,!1)}function Ua(t,e,n,r,i,s){t.firstCreatePass&&(Wa(t,new Ra(n,r,s,i),-1),s&&(t.staticViewQueries=!0)),$a(t,e)}function za(t,e,n,r){!function(t,e,n,r,i,s,o,a){t.firstCreatePass&&(Wa(t,new Ra(n,r,false,i),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a)),$a(t,e)}(we(),ve(),e,n,r,0,Se(),t)}function qa(){return t=ve(),e=Fe(),t[19].queries[e].queryList;var t,e}function $a(t,e){const n=new ka;ai(t,e,n,n.destroy),null===e[19]&&(e[19]=new Fa),e[19].queries.push(new Pa(n))}function Wa(t,e,n){null===t.queries&&(t.queries=new ja),t.queries.track(new Ma(e,n))}function Ga(t,e){return t.queries.getByIndex(e)}function Ka(t=C.Default){const e=ss(!0);if(null!=e||t&C.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}const Ja=new X("Application Initializer");let Za=(()=>{class t{constructor(t){this.appInits=t,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<this.appInits.length;n++){const e=this.appInits[n]();Zs(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(ct(Ja,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const Qa=new X("AppId"),Ya={provide:Qa,useFactory:function(){return`${Xa()}${Xa()}${Xa()}`},deps:[]};function Xa(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tl=new X("Platform Initializer"),el=new X("Platform ID"),nl=new X("appBootstrapListener");let rl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const il=new X("LocaleId"),sl=new X("DefaultCurrencyCode");class ol{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const al=function(t){return new Oa(t)},ll=al,ul=function(t){return Promise.resolve(al(t))},cl=function(t){const e=al(t),n=cn(Ht(t).declarations).reduce((t,e)=>{const n=Lt(e);return n&&t.push(new ua(n)),t},[]);return new ol(e,n)},hl=cl,dl=function(t){return Promise.resolve(cl(t))};let pl=(()=>{class t{constructor(){this.compileModuleSync=ll,this.compileModuleAsync=ul,this.compileModuleAndAllComponentsSync=hl,this.compileModuleAndAllComponentsAsync=dl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();const fl=(()=>Promise.resolve(0))();function gl(t){"undefined"==typeof Zone?fl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ml{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Aa(!1),this.onMicrotaskEmpty=new Aa(!1),this.onStable=new Aa(!1),this.onError=new Aa(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=$.requestAnimationFrame,e=$.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call($,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,vl(t),bl(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),vl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,s,o,a)=>{try{return wl(t),n.invokeTask(i,s,o,a)}finally{e&&"eventTask"===s.type&&e(),Cl(t)}},onInvoke:(e,n,r,i,s,o,a)=>{try{return wl(t),e.invoke(r,i,s,o,a)}finally{Cl(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,vl(t),bl(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ml.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ml.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,r){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+r,t,yl,_l,_l);try{return i.runTask(s,e,n)}finally{i.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function _l(){}const yl={};function bl(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 vl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function wl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cl(t){t._nesting--,bl(t)}class Sl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Aa,this.onMicrotaskEmpty=new Aa,this.onStable=new Aa,this.onError=new Aa}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,r){return t.apply(e,n)}}let El=(()=>{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:()=>{ml.assertNotInAngularZone(),gl(()=>{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())gl(()=>{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 r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,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)(ct(ml))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})(),Ol=(()=>{class t{constructor(){this._applications=new Map,Tl.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 Tl.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();class xl{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Dl(t){Tl=t}let Al,Tl=new xl;const kl=new X("AllowMultipleToken");class Pl{constructor(t,e){this.name=t,this.token=e}}function Fl(t,e,n=[]){const r="Platform: "+e,i=new X(r);return(e=[])=>{let s=Rl();if(!s||s.injector.get(kl,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:us,useValue:"platform"});!function(t){if(Al&&!Al.destroyed&&!Al.injector.get(kl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Al=t.get(jl);const e=t.get(tl,null);e&&e.forEach(t=>t())}(Ss.create({providers:t,name:r}))}return function(t){const e=Rl();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}(i)}}function Rl(){return Al&&!Al.destroyed?Al:null}let jl=(()=>{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 Sl:("zone.js"===t?void 0:t)||new ml({enableLongStackTrace:Jn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:ml,useValue:n}];return n.run(()=>{const e=Ss.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),s=i.injector.get(Fn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>Il(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const r=n();return Zs(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=i.injector.get(Za);return t.runInitializers(),t.donePromise.then(()=>(Ca(i.injector.get(il,va)||va),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=Ml({},e);return function(t,e,n){const r=new Oa(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Nl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${M(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)(ct(Ss))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function Ml(t,e){return Array.isArray(e)?e.reduce(Ml,t):Object.assign(Object.assign({},t),e)}let Nl=(()=>{class t{constructor(t,e,n,r,i,a){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Jn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=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(()=>{ml.assertNotInAngularZone(),gl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ml.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(u,c.pipe(t=>{return l()((e=f,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(t));var e}))}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 Ao?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(gt),i=n.create(Ss.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(El,null);return s&&i.injector.get(Ol).registerApplication(i.location.nativeElement,s),this._loadComponent(i),Jn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}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;Il(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(nl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Il(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(ct(ml),ct(rl),ct(Ss),ct(Fn),ct(ko),ct(Za))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function Il(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Vl{}class Ll{}const Bl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Hl=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Bl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Ul(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>Ul(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(ct(pl),ct(Ll,8))},t.\u0275prov=O({token:t,factory:t.\u0275fac}),t})();function Ul(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const zl=function(t){return null},ql=Fl(null,"core",[{provide:el,useValue:"unknown"},{provide:jl,deps:[Ss]},{provide:Ol,deps:[]},{provide:rl,deps:[]}]),$l=[{provide:Nl,useClass:Nl,deps:[ml,rl,Ss,Fn,ko,Za]},{provide:la,deps:[ml],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Za,useClass:Za,deps:[[new b,Ja]]},{provide:pl,useClass:pl,deps:[]},Ya,{provide:Zo,useFactory:function(){return Xo},deps:[]},{provide:Qo,useFactory:function(){return ta},deps:[]},{provide:il,useFactory:function(t){return Ca(t=t||"undefined"!=typeof $localize&&$localize.locale||va),t},deps:[[new y(il),new b,new w]]},{provide:sl,useValue:"USD"}];let Wl=(()=>{class t{constructor(t){}}return t.\u0275mod=jt({type:t}),t.\u0275inj=x({factory:function(e){return new(e||t)(ct(Nl))},providers:$l}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("2fFW"),i=n("NJ4a");const s={closed:!0,next(t){},error(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete(){}}},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("quSY");function s(t,e){return new r.a(n=>{const r=new i.a;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(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 r.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)}}},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}},ofXK:function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return jt})),n.d(e,"c",(function(){return Yt})),n.d(e,"d",(function(){return Kt})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return Lt})),n.d(e,"g",(function(){return Wt})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return Ht})),n.d(e,"j",(function(){return Ut})),n.d(e,"k",(function(){return zt})),n.d(e,"l",(function(){return qt})),n.d(e,"m",(function(){return h})),n.d(e,"n",(function(){return S})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return Mt})),n.d(e,"q",(function(){return pt})),n.d(e,"r",(function(){return ft})),n.d(e,"s",(function(){return mt})),n.d(e,"t",(function(){return yt})),n.d(e,"u",(function(){return Ot})),n.d(e,"v",(function(){return xt})),n.d(e,"w",(function(){return Dt})),n.d(e,"x",(function(){return Ct})),n.d(e,"y",(function(){return St})),n.d(e,"z",(function(){return Et})),n.d(e,"A",(function(){return At})),n.d(e,"B",(function(){return w})),n.d(e,"C",(function(){return Gt})),n.d(e,"D",(function(){return u})),n.d(e,"E",(function(){return Qt})),n.d(e,"F",(function(){return It})),n.d(e,"G",(function(){return Vt})),n.d(e,"H",(function(){return ee})),n.d(e,"I",(function(){return te})),n.d(e,"J",(function(){return a})),n.d(e,"K",(function(){return Xt})),n.d(e,"L",(function(){return s})),n.d(e,"M",(function(){return dt})),n.d(e,"N",(function(){return o}));var r=n("fXoL");let i=null;function s(){return i}function o(t){i||(i=t)}class a{}const l=new r.q("DocumentToken");let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Fb)({factory:c,token:t,providedIn:"platform"}),t})();function c(){return Object(r.Sb)(d)}const h=new r.q("Location Initialized");let d=(()=>{class t extends u{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)(r.Sb(l))},t.\u0275prov=Object(r.Fb)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d(Object(r.Sb)(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 _(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Fb)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=Object(r.Sb)(l).location;return new w(Object(r.Sb)(u),e&&e.origin||"")}const v=new r.q("appBaseHref");let w=(()=>{class t extends y{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+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+_(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+_(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(u),r.Sb(v,8))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends y{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,r){let i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+_(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(u),r.Sb(v,8))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(O(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+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,O(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+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(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)(r.Sb(y),r.Sb(u))},t.normalizeQueryParams=_,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=Object(r.Fb)({factory:E,token:t,providedIn:"root"}),t})();function E(){return new S(Object(r.Sb)(y),Object(r.Sb)(u))}function O(t){return t.replace(/\/index.html$/,"")}const x={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 D=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),A=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}({}),T=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),k=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),P=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),F=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}({});function R(t,e){return B(Object(r.jb)(t)[r.ab.DateFormat],e)}function j(t,e){return B(Object(r.jb)(t)[r.ab.TimeFormat],e)}function M(t,e){return B(Object(r.jb)(t)[r.ab.DateTimeFormat],e)}function N(t,e){const n=Object(r.jb)(t),i=n[r.ab.NumberSymbols][e];if(void 0===i){if(e===F.CurrencyDecimal)return n[r.ab.NumberSymbols][F.Decimal];if(e===F.CurrencyGroup)return n[r.ab.NumberSymbols][F.Group]}return i}function I(t,e){return Object(r.jb)(t)[r.ab.NumberFormats][e]}const V=r.mb;function L(t){if(!t[r.ab.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[r.ab.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function B(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 H(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const U=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,z={},q=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|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 $=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),W=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}({}),G=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 K(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function J(t,e,n="-",r,i){let s="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,s=n));let o=String(t);for(;o.length<e;)o="0"+o;return r&&(o=o.substr(o.length-e)),s+o}function Z(t,e,n=0,r=!1,i=!1){return function(s,o){let a=function(t,e){switch(t){case W.FullYear:return e.getFullYear();case W.Month:return e.getMonth();case W.Date:return e.getDate();case W.Hours:return e.getHours();case W.Minutes:return e.getMinutes();case W.Seconds:return e.getSeconds();case W.FractionalSeconds:return e.getMilliseconds();case W.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,s);if((n>0||a>-n)&&(a+=n),t===W.Hours)0===a&&-12===n&&(a=12);else if(t===W.FractionalSeconds)return l=e,J(a,3).substr(0,l);var l;const u=N(o,F.MinusSign);return J(a,e,u,r,i)}}function Q(t,e,n=T.Format,i=!1){return function(s,o){return function(t,e,n,i,s,o){switch(n){case G.Months:return function(t,e,n){const i=Object(r.jb)(t),s=B([i[r.ab.MonthsFormat],i[r.ab.MonthsStandalone]],e);return B(s,n)}(e,s,i)[t.getMonth()];case G.Days:return function(t,e,n){const i=Object(r.jb)(t),s=B([i[r.ab.DaysFormat],i[r.ab.DaysStandalone]],e);return B(s,n)}(e,s,i)[t.getDay()];case G.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=Object(r.jb)(t);return L(e),(e[r.ab.ExtraData][2]||[]).map(t=>"string"==typeof t?H(t):[H(t[0]),H(t[1])])}(e),n=function(t,e,n){const i=Object(r.jb)(t);L(i);const s=B([i[r.ab.ExtraData][0],i[r.ab.ExtraData][1]],e)||[];return B(s,n)||[]}(e,s,i),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,r=a>=e.hours&&l>=e.minutes,i=a<n.hours||a===n.hours&&l<n.minutes;if(e.hours<n.hours){if(r&&i)return!0}else if(r||i)return!0}else if(t.hours===a&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const i=Object(r.jb)(t),s=B([i[r.ab.DayPeriodsFormat],i[r.ab.DayPeriodsStandalone]],e);return B(s,n)}(e,s,i)[a<12?0:1];case G.Eras:return function(t,e){return B(Object(r.jb)(t)[r.ab.Eras],e)}(e,i)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(s,o,t,e,n,i)}}function Y(t){return function(e,n,r){const i=-1*r,s=N(n,F.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case $.Short:return(i>=0?"+":"")+J(o,2,s)+J(Math.abs(i%60),2,s);case $.ShortGMT:return"GMT"+(i>=0?"+":"")+J(o,1,s);case $.Long:return"GMT"+(i>=0?"+":"")+J(o,2,s)+":"+J(Math.abs(i%60),2,s);case $.Extended:return 0===r?"Z":(i>=0?"+":"")+J(o,2,s)+":"+J(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function X(t,e=!1){return function(n,r){let i;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();i=1+Math.floor((e+t)/7)}else{const t=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),r=t.getTime()-e.getTime();i=1+Math.round(r/6048e5)}var s;return J(i,t,N(r,F.MinusSign))}}const tt={};function et(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function nt(t){return t instanceof Date&&!isNaN(t.valueOf())}const rt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,it=".",st="0";function ot(t,e,n,r,i,s,o=!1){let a="",l=!1;if(isFinite(t)){let u=function(t){let e,n,r,i,s,o=Math.abs(t)+"",a=0;for((n=o.indexOf(it))>-1&&(o=o.replace(it,"")),(r=o.search(/e/i))>0?(n<0&&(n=r),n+=+o.slice(r+1),o=o.substring(0,r)):n<0&&(n=o.length),r=0;o.charAt(r)===st;r++);if(r===(s=o.length))e=[0],n=1;else{for(s--;o.charAt(s)===st;)s--;for(n-=r,e=[],i=0;r<=s;r++,i++)e[i]=Number(o.charAt(r))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(u=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}(u));let c=e.minInt,h=e.minFrac,d=e.maxFrac;if(s){const t=s.match(rt);if(null===t)throw new Error(s+" is not a valid digit info");const e=t[1],n=t[3],r=t[5];null!=e&&(c=lt(e)),null!=n&&(h=lt(n)),null!=r?d=lt(r):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 r=t.digits,i=r.length-t.integerLen;const s=Math.min(Math.max(e,i),n);let o=s+t.integerLen,a=r[o];if(o>0){r.splice(Math.max(t.integerLen,o));for(let t=o;t<r.length;t++)r[t]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,o=s+1),r[0]=0;for(let t=1;t<o;t++)r[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[o-1]++;for(;i<Math.max(0,s);i++)r.push(0);let l=0!==s;const u=e+t.integerLen,c=r.reduceRight((function(t,e,n,r){return r[n]=(e+=t)<10?e:e-10,l&&(0===r[n]&&n>=u?r.pop():l=!1),e>=10?1:0}),0);c&&(r.unshift(c),t.integerLen++)}(u,h,d);let p=u.digits,f=u.integerLen;const g=u.exponent;let m=[];for(l=p.every(t=>!t);f<c;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?m=p.splice(f,p.length):(m=p,p=[0]);const _=[];for(p.length>=e.lgSize&&_.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)_.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&_.unshift(p.join("")),a=_.join(N(n,r)),m.length&&(a+=N(n,i)+m.join("")),g&&(a+=N(n,F.Exponential)+"+"+g)}else a=N(n,F.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function at(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(";"),i=r[0],s=r[1],o=-1!==i.indexOf(it)?i.split(it):[i.substring(0,i.lastIndexOf(st)+1),i.substring(i.lastIndexOf(st)+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let c=0;c<l.length;c++){const t=l.charAt(c);t===st?n.minFrac=n.maxFrac=c+1:"#"===t?n.maxFrac=c+1:n.posSuf+=t}const u=a.split(",");if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,s){const t=i.length-n.posPre.length-n.posSuf.length,e=s.indexOf("#");n.negPre=s.substr(0,e).replace(/'/g,""),n.negSuf=s.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}function lt(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class ut{}function ct(t,e,n,r){let i="="+t;if(e.indexOf(i)>-1)return i;if(i=n.getPluralCategory(t,r),e.indexOf(i)>-1)return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}let ht=(()=>{class t extends ut{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(V(e||this.locale)(t)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(r.u))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();function dt(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}let pt=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,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(r.pb)(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(r.ub)(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)(r.Jb(r.s),r.Jb(r.t),r.Jb(r.l),r.Jb(r.E))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),ft=(()=>{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(r.x);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(r.j)).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)(r.Jb(r.P))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.xb]}),t})();class gt{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}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 mt=(()=>{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){Object(r.V)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),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,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new gt(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new _t(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const s=new _t(t,i);e.push(s)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{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)(r.Jb(r.P),r.Jb(r.L),r.Jb(r.s))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class _t{constructor(t,e){this.record=t,this.view=e}}let yt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new bt,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){vt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vt("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)(r.Jb(r.P),r.Jb(r.L))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class bt{constructor(){this.$implicit=null,this.ngIf=null}}function vt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(r.ub)(e)}'.`)}class wt{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 Ct=(()=>{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<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Eb({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),St=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new wt(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.P),r.Jb(r.L),r.Jb(Ct,1))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Et=(()=>{class t{constructor(t,e,n){n._addDefault(new wt(t,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.P),r.Jb(r.L),r.Jb(Ct,1))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Ot=(()=>{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=ct(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)(r.Jb(ut))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),t})(),xt=(()=>{class t{constructor(t,e,n,r){this.value=t;const i=!isNaN(Number(t));r.addCase(i?"="+t:t,new wt(n,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Tb("ngPluralCase"),r.Jb(r.L),r.Jb(r.P),r.Jb(Ot,1))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngPluralCase",""]]}),t})(),Dt=(()=>{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,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`: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)(r.Jb(r.l),r.Jb(r.t),r.Jb(r.E))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),At=(()=>{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)(r.Jb(r.P))},t.\u0275dir=r.Eb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.xb]}),t})();function Tt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(r.ub)(t)}'`)}class kt{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class Pt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Ft=new Pt,Rt=new kt;let jt=(()=>{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(r.rb)(e))return Ft;if(Object(r.qb)(e))return Rt;throw Tt(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)(r.Ub())},t.\u0275pipe=r.Ib({name:"async",type:t,pure:!1}),t})(),Mt=(()=>{class t{transform(e){if(!e)return e;if("string"!=typeof e)throw Tt(t,e);return e.toLowerCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Ib({name:"lowercase",type:t,pure:!0}),t})();const Nt=/(?:[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 It=(()=>{class t{transform(e){if(!e)return e;if("string"!=typeof e)throw Tt(t,e);return e.replace(Nt,t=>t[0].toUpperCase()+t.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Ib({name:"titlecase",type:t,pure:!0}),t})(),Vt=(()=>{class t{transform(e){if(!e)return e;if("string"!=typeof e)throw Tt(t,e);return e.toUpperCase()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Ib({name:"uppercase",type:t,pure:!0}),t})(),Lt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,s){if(null==e||""===e||e!=e)return null;try{return function(t,e,n,i){let s=function(t){if(nt(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,r]=t.split("-").map(t=>+t);return new Date(e,n-1,r)}let n;if(n=t.match(U))return function(t){const e=new Date(0);let n=0,r=0;const i=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),r=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-r,l=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,o,a,l,u),e}(n)}const e=new Date(t);if(!nt(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,n){const i=function(t){return Object(r.jb)(t)[r.ab.LocaleId]}(e);if(z[i]=z[i]||{},z[i][n])return z[i][n];let s="";switch(n){case"shortDate":s=R(e,P.Short);break;case"mediumDate":s=R(e,P.Medium);break;case"longDate":s=R(e,P.Long);break;case"fullDate":s=R(e,P.Full);break;case"shortTime":s=j(e,P.Short);break;case"mediumTime":s=j(e,P.Medium);break;case"longTime":s=j(e,P.Long);break;case"fullTime":s=j(e,P.Full);break;case"short":const n=t(e,"shortTime"),r=t(e,"shortDate");s=K(M(e,P.Short),[n,r]);break;case"medium":const i=t(e,"mediumTime"),o=t(e,"mediumDate");s=K(M(e,P.Medium),[i,o]);break;case"long":const a=t(e,"longTime"),l=t(e,"longDate");s=K(M(e,P.Long),[a,l]);break;case"full":const u=t(e,"fullTime"),c=t(e,"fullDate");s=K(M(e,P.Full),[u,c])}return s&&(z[i][n]=s),s}(n,e)||e;let o,a=[];for(;e;){if(o=q.exec(e),!o){a.push(e);break}{a=a.concat(o.slice(1));const t=a.pop();if(!t)break;e=t}}let l=s.getTimezoneOffset();i&&(l=et(i,l),s=function(t,e,n){const r=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(et(e,r)-r))}(s,i));let u="";return a.forEach(t=>{const e=function(t){if(tt[t])return tt[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q(G.Eras,k.Abbreviated);break;case"GGGG":e=Q(G.Eras,k.Wide);break;case"GGGGG":e=Q(G.Eras,k.Narrow);break;case"y":e=Z(W.FullYear,1,0,!1,!0);break;case"yy":e=Z(W.FullYear,2,0,!0,!0);break;case"yyy":e=Z(W.FullYear,3,0,!1,!0);break;case"yyyy":e=Z(W.FullYear,4,0,!1,!0);break;case"M":case"L":e=Z(W.Month,1,1);break;case"MM":case"LL":e=Z(W.Month,2,1);break;case"MMM":e=Q(G.Months,k.Abbreviated);break;case"MMMM":e=Q(G.Months,k.Wide);break;case"MMMMM":e=Q(G.Months,k.Narrow);break;case"LLL":e=Q(G.Months,k.Abbreviated,T.Standalone);break;case"LLLL":e=Q(G.Months,k.Wide,T.Standalone);break;case"LLLLL":e=Q(G.Months,k.Narrow,T.Standalone);break;case"w":e=X(1);break;case"ww":e=X(2);break;case"W":e=X(1,!0);break;case"d":e=Z(W.Date,1);break;case"dd":e=Z(W.Date,2);break;case"E":case"EE":case"EEE":e=Q(G.Days,k.Abbreviated);break;case"EEEE":e=Q(G.Days,k.Wide);break;case"EEEEE":e=Q(G.Days,k.Narrow);break;case"EEEEEE":e=Q(G.Days,k.Short);break;case"a":case"aa":case"aaa":e=Q(G.DayPeriods,k.Abbreviated);break;case"aaaa":e=Q(G.DayPeriods,k.Wide);break;case"aaaaa":e=Q(G.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":e=Q(G.DayPeriods,k.Abbreviated,T.Standalone,!0);break;case"bbbb":e=Q(G.DayPeriods,k.Wide,T.Standalone,!0);break;case"bbbbb":e=Q(G.DayPeriods,k.Narrow,T.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q(G.DayPeriods,k.Abbreviated,T.Format,!0);break;case"BBBB":e=Q(G.DayPeriods,k.Wide,T.Format,!0);break;case"BBBBB":e=Q(G.DayPeriods,k.Narrow,T.Format,!0);break;case"h":e=Z(W.Hours,1,-12);break;case"hh":e=Z(W.Hours,2,-12);break;case"H":e=Z(W.Hours,1);break;case"HH":e=Z(W.Hours,2);break;case"m":e=Z(W.Minutes,1);break;case"mm":e=Z(W.Minutes,2);break;case"s":e=Z(W.Seconds,1);break;case"ss":e=Z(W.Seconds,2);break;case"S":e=Z(W.FractionalSeconds,1);break;case"SS":e=Z(W.FractionalSeconds,2);break;case"SSS":e=Z(W.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Y($.Short);break;case"ZZZZZ":e=Y($.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Y($.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Y($.Long);break;default:return null}return tt[t]=e,e}(t);u+=e?e(s,n,l):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}(e,n,s||this.locale,i)}catch(o){throw Tt(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.u))},t.\u0275pipe=r.Ib({name:"date",type:t,pure:!0}),t})();const Bt=/#/g;let Ht=(()=>{class t{constructor(t){this._localization=t}transform(e,n,r){if(null==e)return"";if("object"!=typeof n||null===n)throw Tt(t,n);return n[ct(e,Object.keys(n),this._localization,r)].replace(Bt,e.toString())}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(ut))},t.\u0275pipe=r.Ib({name:"i18nPlural",type:t,pure:!0}),t})(),Ut=(()=>{class t{transform(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw Tt(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Ib({name:"i18nSelect",type:t,pure:!0}),t})(),zt=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Ib({name:"json",type:t,pure:!1}),t})(),qt=(()=>{class t{constructor(t){this.differs=t,this.keyValues=[]}transform(t,e=$t){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)(r.Jb(r.t))},t.\u0275pipe=r.Ib({name:"keyvalue",type:t,pure:!1}),t})();function $t(t,e){const n=t.key,r=e.key;if(n===r)return 0;if(void 0===n)return 1;if(void 0===r)return-1;if(null===n)return 1;if(null===r)return-1;if("string"==typeof n&&"string"==typeof r)return n<r?-1:1;if("number"==typeof n&&"number"==typeof r)return n-r;if("boolean"==typeof n&&"boolean"==typeof r)return n<r?-1:1;const i=String(n),s=String(r);return i==s?0:i<s?-1:1}let Wt=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(Jt(e))return null;r=r||this._locale;try{return function(t,e,n){return ot(t,at(I(e,D.Decimal),N(e,F.MinusSign)),e,F.Group,F.Decimal,n)}(Zt(e),r,n)}catch(i){throw Tt(t,i.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.u))},t.\u0275pipe=r.Ib({name:"number",type:t,pure:!0}),t})(),Gt=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(Jt(e))return null;r=r||this._locale;try{return function(t,e,n){return ot(t,at(I(e,D.Percent),N(e,F.MinusSign)),e,F.Group,F.Decimal,n,!0).replace(new RegExp("%","g"),N(e,F.PercentSign))}(Zt(e),r,n)}catch(i){throw Tt(t,i.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.u))},t.\u0275pipe=r.Ib({name:"percent",type:t,pure:!0}),t})(),Kt=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,i="symbol",s,o){if(Jt(e))return null;o=o||this._locale,"boolean"==typeof i&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),i=i?"symbol":"code");let a=n||this._defaultCurrencyCode;"code"!==i&&(a="symbol"===i||"symbol-narrow"===i?function(t,e,n="en"){const i=function(t){return Object(r.jb)(t)[r.ab.Currencies]}(n)[t]||x[t]||[],s=i[1];return"narrow"===e&&"string"==typeof s?s:i[0]||t}(a,"symbol"===i?"wide":"narrow",o):i);try{return function(t,e,n,r,i){const s=at(I(e,D.Currency),N(e,F.MinusSign));return s.minFrac=function(t){let e;const n=x[t];return n&&(e=n[2]),"number"==typeof e?e:2}(r),s.maxFrac=s.minFrac,ot(t,s,e,F.CurrencyGroup,F.CurrencyDecimal,i).replace("\xa4",n).replace("\xa4","").trim()}(Zt(e),o,a,n,s)}catch(l){throw Tt(t,l.message)}}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(r.u),r.Jb(r.k))},t.\u0275pipe=r.Ib({name:"currency",type:t,pure:!0}),t})();function Jt(t){return null==t||""===t||t!=t}function Zt(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 Qt=(()=>{class t{transform(e,n,r){if(null==e)return e;if(!this.supports(e))throw Tt(t,e);return e.slice(n,r)}supports(t){return"string"==typeof t||Array.isArray(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Ib({name:"slice",type:t,pure:!1}),t})(),Yt=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[{provide:ut,useClass:ht}]}),t})();const Xt="browser";function te(t){return t===Xt}let ee=(()=>{class t{}return t.\u0275prov=Object(r.Fb)({token:t,providedIn:"root",factory:()=>new ne(Object(r.Sb)(l),window,Object(r.Sb)(r.m))}),t})();class ne{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(e)}}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,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=re(this.window.history)||re(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function re(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(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 r.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)}}},quSY:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("DH7j"),i=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:u,_subscriptions:c}=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;t<n.length;++t)n[t].remove(this);if(Object(s.a)(u)){a&&(this._unsubscribe=void 0);try{u.call(this)}catch(h){e=h instanceof o?l(h.errors):[h]}}if(Object(r.a)(c)){let t=-1,n=c.length;for(;++t<n;){const n=c[t];if(Object(i.a)(n))try{n.unsubscribe()}catch(h){e=e||[],h instanceof o?e=e.concat(l(h.errors)):e.push(h)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},"tk/3":function(t,e,n){"use strict";n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return H}));var r=n("fXoL"),i=n("LRne"),s=n("HDdC"),o=n("bOdf"),a=n("pLZG"),l=n("lJxs"),u=n("ofXK");class c{}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),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}: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 r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.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.split("&").forEach(t=>{const r=t.indexOf("="),[i,s]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=n.get(i)||[];o.push(s),n.set(i,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"})}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 _(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class b{constructor(t,e,n,r){let i;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)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.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?"?":n<e.length-1?"&":"")+t}}else this.params=new g,this.urlWithParams=e}serializeBody(){return null===this.body?null:m(this.body)||_(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||y(this.body)?null:_(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,r=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new b(e,n,i,{params:l,headers:a,reportProgress:o,responseType:r,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 w{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 C extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new C({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 S extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({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 E extends w{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 O(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let x=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof b)r=t;else{let i=void 0;i=n.headers instanceof d?n.headers:new d(n.headers);let s=void 0;n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),r=new b(t,e,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(i.a)(r).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof b||"events"===n.observe)return s;const u=s.pipe(Object(a.a)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.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 u.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 u.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 u.pipe(Object(l.a)(t=>t.body))}case"response":return u;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,O(n,e))}post(t,e,n={}){return this.request("POST",t,O(n,e))}put(t,e,n={}){return this.request("PUT",t,O(n,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(c))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();class D{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const A=new r.q("HTTP_INTERCEPTORS");let T=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const k=/^\)\]\}',?\n/;class P{}let F=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),R=(()=>{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 r=t.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,r=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 i=new C({headers:s,status:e,statusText:r,url:o}),i},o=()=>{let{headers:r,status:i,statusText:o,url:a}=s(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let u=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(k,"");try{l=""!==l?JSON.parse(l):null}catch(c){l=t,u&&(u=!1,l={error:c,text:l})}}u?(e.next(new S({body:l,headers:r,status:i,statusText:o,url:a||void 0})),e.complete()):e.error(new E({error:l,headers:r,status:i,statusText:o,url:a||void 0}))},a=t=>{const{url:r}=s(),i=new E({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let l=!1;const u=r=>{l||(e.next(s()),l=!0);let i={type:v.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===t.responseType&&n.responseText&&(i.partialText=n.responseText),e.next(i)},c=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),t.reportProgress&&(n.addEventListener("progress",u),null!==r&&n.upload&&n.upload.addEventListener("progress",c)),n.send(r),e.next({type:v.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",u),null!==r&&n.upload&&n.upload.removeEventListener("progress",c)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(P))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const j=new r.q("XSRF_COOKIE_NAME"),M=new r.q("XSRF_HEADER_NAME");class N{}let I=(()=>{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(u.M)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(u.e),r.Sb(r.B),r.Sb(j))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),V=(()=>{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 r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(N),r.Sb(M))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),L=(()=>{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(A,[]);this.chain=t.reduceRight((t,e)=>new D(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(h),r.Sb(r.r))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:V,useClass:T}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:j,useValue:e.cookieName}:[],e.headerName?{provide:M,useValue:e.headerName}:[]]}}}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[V,{provide:A,useExisting:V,multi:!0},{provide:N,useClass:I},{provide:j,useValue:"XSRF-TOKEN"},{provide:M,useValue:"X-XSRF-TOKEN"}]}),t})(),H=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[x,{provide:c,useClass:L},R,{provide:h,useExisting:R},F,{provide:P,useExisting:F}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},tyNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return wn})),n.d(e,"b",(function(){return Cn})),n.d(e,"c",(function(){return On})),n.d(e,"d",(function(){return Sn})),n.d(e,"e",(function(){return Nn})),n.d(e,"f",(function(){return xn})),n.d(e,"g",(function(){return ln}));var r=n("ofXK"),i=n("fXoL"),s=n("LRne"),o=n("Cfvw"),a=n("XNiG"),l=n("9ppp");class u extends a.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 l.a;return this._value}next(t){super.next(this._value=t)}}var c=n("z+Ro"),h=n("DH7j"),d=n("7o/Q");class p extends d.a{notifyNext(t,e,n,r,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class f extends d.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 g=n("SeVD"),m=n("HDdC");function _(t,e,n,r,i=new f(t,n,r)){if(!i.closed)return e instanceof m.a?e.subscribe(i):Object(g.a)(e)(i)}var y=n("yCtX");const b={};class v{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new w(t,this.resultSelector))}}class w extends p{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(b),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(_(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const r=this.values,i=this.toRespond?r[n]===b?--this.toRespond:this.toRespond:0;r[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const C=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var S=n("EY2u");function E(t){return new m.a(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(o.a)(n):Object(S.b)()).subscribe(e)})}var O=n("lJxs"),x=n("0EUg"),D=n("pLZG"),A=n("4I5i");function T(t){return function(e){return 0===t?Object(S.b)():e.lift(new k(t))}}class k{constructor(t){if(this.total=t,this.total<0)throw new A.a}call(t,e){return e.subscribe(new P(t,this.total))}}class P extends d.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,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=e++%n;t.next(r[i])}}t.complete()}}function F(t=M){return e=>e.lift(new R(t))}class R{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new j(t,this.errorFactory))}}class j extends d.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 M(){return new C}function N(t=null){return e=>e.lift(new I(t))}class I{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new V(t,this.defaultValue))}}class V extends d.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()}}var L=n("SpAZ"),B=n("eIep"),H=n("IzEk"),U=n("JX91");class z{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new q(t,this.accumulator,this.seed,this.hasSeed))}}class q extends d.a{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,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(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var $=n("zx2A");function W(t){return function(e){const n=new G(t),r=e.lift(n);return n.caught=r}}class G{constructor(t){this.selector=t}call(t,e){return e.subscribe(new K(t,this.selector,this.caught))}}class K extends $.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 $.a(this);this.add(r);const i=Object($.c)(n,r);i!==r&&this.add(i)}}}var J=n("bOdf");function Z(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(D.a)((e,n)=>t(e,n,r)):L.a,Object(H.a)(1),n?N(e):F(()=>new C))}var Q=n("5+tZ"),Y=n("vkgz"),X=n("quSY");class tt{constructor(t){this.callback=t}call(t,e){return e.subscribe(new et(t,this.callback))}}class et extends d.a{constructor(t,e){super(t),this.add(new X.a(e))}}var nt=n("bHdf");class rt{constructor(t,e){this.id=t,this.url=e}}class it extends rt{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class st extends rt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ot extends rt{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class at extends rt{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class lt extends rt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ut extends rt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ct extends rt{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ht extends rt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends rt{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ft{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class gt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mt{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{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 vt="primary";class wt{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 Ct(t){return new wt(t)}function St(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Et(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const i={};for(let s=0;s<r.length;s++){const e=r[s],n=t[s];if(e.startsWith(":"))i[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}function Ot(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let i;for(let s=0;s<n.length;s++)if(i=n[s],!xt(t[i],e[i]))return!1;return!0}function xt(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),r=[...e].sort();return n.every((t,e)=>r[e]===t)}return t===e}function Dt(t){return Array.prototype.concat.apply([],t)}function At(t){return t.length>0?t[t.length-1]:null}function Tt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function kt(t){return Object(i.qb)(t)?t:Object(i.rb)(t)?Object(o.a)(Promise.resolve(t)):Object(s.a)(t)}function Pt(t,e,n){return n?function(t,e){return Ot(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Mt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>xt(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Mt(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Mt(n.segments,i))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Mt(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,s)}}(e,n,n.segments)}(t.root,e.root)}class Ft{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Lt.serialize(this)}}class Rt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Tt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Bt(this)}}class jt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return Wt(this)}}function Mt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Nt(t,e){let n=[];return Tt(t.children,(t,r)=>{r===vt&&(n=n.concat(e(t,r)))}),Tt(t.children,(t,r)=>{r!==vt&&(n=n.concat(e(t,r)))}),n}class It{}class Vt{parse(t){const e=new Qt(t);return new Ft(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Bt(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return Tt(e.children,(e,n)=>{n!==vt&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Nt(e,(n,r)=>r===vt?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${Bt(e)}/${n[0]}`:`${Bt(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Ut(e)}=${Ut(t)}`).join("&"):`${Ut(e)}=${Ut(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Lt=new Vt;function Bt(t){return t.segments.map(t=>Wt(t)).join("/")}function Ht(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ut(t){return Ht(t).replace(/%3B/gi,";")}function zt(t){return Ht(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qt(t){return decodeURIComponent(t)}function $t(t){return qt(t.replace(/\+/g,"%20"))}function Wt(t){return`${zt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${zt(t)}=${zt(e[t])}`).join("")}`;var e}const Gt=/^[^\/()?;=#]+/;function Kt(t){const e=t.match(Gt);return e?e[0]:""}const Jt=/^[^=?&#]+/,Zt=/^[^?&#]+/;class Qt{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Rt([],{}):new Rt([],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 Rt(t,e)),n}parseSegment(){const t=Kt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new jt(qt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Kt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Kt(this.remaining);t&&(n=t,this.capture(n))}t[qt(e)]=qt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Jt);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(Zt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=$t(e),i=$t(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Kt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=vt);const s=this.parseChildren();e[i]=1===Object.keys(s).length?s.primary:new Rt([],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 Yt{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=Xt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Xt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=te(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return te(t,this._root).map(t=>t.value)}}function Xt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Xt(t,n);if(e)return e}return null}function te(t,e){if(t===e.value)return[e];for(const n of e.children){const r=te(t,n);if(r.length)return r.unshift(e),r}return[]}class ee{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function ne(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class re extends Yt{constructor(t,e){super(t),this.snapshot=e,ue(this,t)}toString(){return this.snapshot.toString()}}function ie(t,e){const n=function(t,e){const n=new ae([],{},{},"",{},vt,e,null,t.root,-1,{});return new le("",new ee(n,[]))}(t,e),r=new u([new jt("",{})]),i=new u({}),s=new u({}),o=new u({}),a=new u(""),l=new se(r,i,o,a,s,vt,e,n.root);return l.snapshot=n.root,new re(new ee(l,[]),n)}class se{constructor(t,e,n,r,i,s,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,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(O.a)(t=>Ct(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(O.a)(t=>Ct(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oe(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}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(r))}class ae{constructor(t,e,n,r,i,s,o,a,l,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=s,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class le extends Yt{constructor(t,e){super(e),this.url=t,ue(this,e)}toString(){return ce(this._root)}}function ue(t,e){e.value._routerState=t,e.children.forEach(e=>ue(t,e))}function ce(t){const e=t.children.length>0?` { ${t.children.map(ce).join(", ")} } `:"";return`${t.value}${e}`}function he(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Ot(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Ot(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Ot(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Ot(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function de(t,e){var n,r;return Ot(t.params,e.params)&&Mt(n=t.url,r=e.url)&&n.every((t,e)=>Ot(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||de(t.parent,e.parent))}function pe(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function fe(t,e,n,r,i){let s={};return r&&Tt(r,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Ft(n.root===t?e:function t(e,n,r){const i={};return Tt(e.children,(e,s)=>{i[s]=e===n?r:t(e,n,r)}),new Rt(e.segments,i)}(n.root,t,e),s,i)}class ge{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&pe(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==At(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class me{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function _e(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function ye(t,e,n){if(t||(t=new Rt([],{})),0===t.segments.length&&t.hasChildren())return be(t,e,n);const r=function(t,e,n){let r=0,i=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return s;const e=t.segments[i],o=_e(n[r]),a=r<n.length-1?n[r+1]:null;if(i>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Se(o,a,e))return s;r+=2}else{if(!Se(o,{},e))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new Rt(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new Rt(t.segments.slice(r.pathIndex),t.children),be(e,0,i)}return r.match&&0===i.length?new Rt(t.segments,{}):r.match&&!t.hasChildren()?ve(t,e,n):r.match?be(t,0,i):ve(t,e,n)}function be(t,e,n){if(0===n.length)return new Rt(t.segments,{});{const r=function(t){return"object"==typeof t[0]&&null!==t[0]&&t[0].outlets?t[0].outlets:{[vt]:t}}(n),i={};return Tt(r,(n,r)=>{null!==n&&(i[r]=ye(t.children[r],e,n))}),Tt(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new Rt(t.segments,i)}}function ve(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&null!==n[i]&&void 0!==n[i].outlets){const t=we(n[i].outlets);return new Rt(r,t)}if(0===i&&pe(n[0])){r.push(new jt(t.segments[e].path,n[0])),i++;continue}const s=_e(n[i]),o=i<n.length-1?n[i+1]:null;s&&o&&pe(o)?(r.push(new jt(s,Ce(o))),i+=2):(r.push(new jt(s,{})),i++)}return new Rt(r,{})}function we(t){const e={};return Tt(t,(t,n)=>{null!==t&&(e[n]=ve(new Rt([],{}),0,t))}),e}function Ce(t){const e={};return Tt(t,(t,n)=>e[n]=""+t),e}function Se(t,e,n){return t==n.path&&Ot(e,n.parameters)}class Ee{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),he(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=ne(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Tt(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&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(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=ne(t),i=t.value.component?n.children:e;Tt(r,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=ne(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new yt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new mt(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(he(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Oe(t){he(t.value),t.children.forEach(Oe)}class xe{constructor(t,e){this.routes=t,this.module=e}}function De(t){return"function"==typeof t}function Ae(t){return t instanceof Ft}const Te=Symbol("INITIAL_VALUE");function ke(){return Object(B.a)(t=>function(...t){let e=void 0,n=void 0;return Object(c.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(h.a)(t[0])&&(t=t[0]),Object(y.a)(t,n).lift(new v(e))}(...t.map(t=>t.pipe(Object(H.a)(1),Object(U.a)(Te)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new z(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,r,i)=>{if(t!==Te)return t;if(r===Te&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Ae(r))return r}return t},t)},Te),Object(D.a)(t=>t!==Te),Object(O.a)(t=>Ae(t)?t:!0===t),Object(H.a)(1)))}class Pe{constructor(t){this.segmentGroup=t||null}}class Fe{constructor(t){this.urlTree=t}}function Re(t){return new m.a(e=>e.error(new Pe(t)))}function je(t){return new m.a(e=>e.error(new Fe(t)))}function Me(t){return new m.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ne{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(i.x)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,vt).pipe(Object(O.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(W(t=>{if(t instanceof Fe)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Pe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,vt).pipe(Object(O.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(W(t=>{if(t instanceof Pe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Rt([],{[vt]:t}):t;return new Ft(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(O.a)(t=>new Rt([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(s.a)({});const n=[],r=[],i={};return Tt(t,(t,s)=>{const o=e(s,t).pipe(Object(O.a)(t=>i[s]=t));s===vt?n.push(o):r.push(o)}),s.a.apply(null,n.concat(r)).pipe(Object(x.a)(),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(D.a)((e,n)=>t(e,n,r)):L.a,T(1),n?N(e):F(()=>new C))}(),Object(O.a)(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,i,o){return Object(s.a)(...n).pipe(Object(J.a)(a=>this.expandSegmentAgainstRoute(t,e,n,a,r,i,o).pipe(W(t=>{if(t instanceof Pe)return Object(s.a)(null);throw t}))),Z(t=>!!t),W((t,n)=>{if(t instanceof C||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return Object(s.a)(new Rt([],{}));throw new Pe(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,s,o){return Be(r)!==s?Re(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s):Re(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?je(i):this.lineralizeSegments(n,i).pipe(Object(Q.a)(n=>{const i=new Rt(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,s){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:u}=Ie(e,r,i);if(!o)return Re(e);const c=this.applyRedirectCommands(a,r.redirectTo,u);return r.redirectTo.startsWith("/")?je(c):this.lineralizeSegments(r,c).pipe(Object(Q.a)(r=>this.expandSegment(t,e,n,r.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(O.a)(t=>(n._loadedConfig=t,new Rt(r,{})))):Object(s.a)(new Rt(r,{}));const{matched:i,consumedSegments:o,lastChild:a}=Ie(e,n,r);if(!i)return Re(e);const l=r.slice(a);return this.getChildConfig(t,n,r).pipe(Object(Q.a)(t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:a}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Le(t,e,n)&&Be(n)!==vt)}(t,n,r)?{segmentGroup:Ve(new Rt(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&Be(r)!==vt&&(n[Be(r)]=new Rt([],{}));return n}(r,new Rt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Le(t,e,n))}(t,n,r)?{segmentGroup:Ve(new Rt(t.segments,function(t,e,n,r){const i={};for(const s of n)Le(t,e,s)&&!r[Be(s)]&&(i[Be(s)]=new Rt([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,l,r);return 0===a.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(Object(O.a)(t=>new Rt(o,t))):0===r.length&&0===a.length?Object(s.a)(new Rt(o,{})):this.expandSegment(n,i,r,a,vt,!0).pipe(Object(O.a)(t=>new Rt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(s.a)(new xe(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(s.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(Q.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(O.a)(t=>(e._loadedConfig=t,t))):function(t){return new m.a(e=>e.error(St(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(s.a)(new xe([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;if(!r||0===r.length)return Object(s.a)(!0);const i=r.map(r=>{const i=t.get(r);let s;if(function(t){return t&&De(t.canLoad)}(i))s=i.canLoad(e,n);else{if(!De(i))throw new Error("Invalid CanLoad guard");s=i(e,n)}return kt(s)});return Object(s.a)(i).pipe(ke(),Object(Y.a)(t=>{if(!Ae(t))return;const e=St(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(O.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(s.a)(n);if(r.numberOfChildren>1||!r.children.primary)return Me(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new Ft(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Tt(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let s={};return Tt(e.children,(e,i)=>{s[i]=this.createSegmentGroup(t,e,n,r)}),new Rt(i,s)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Ie(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Et)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ve(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new Rt(t.segments.concat(e.segments),e.children)}return t}function Le(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Be(t){return t.outlet||vt}class He{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ue{constructor(t,e){this.component=t,this.route=e}}function ze(t,e,n){const r=t._root;return function t(e,n,r,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=ne(n);return e.children.forEach(e=>{!function(e,n,r,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Mt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Mt(t.url,e.url)||!Ot(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!de(t,e)||!Ot(t.queryParams,e.queryParams);case"paramsChange":default:return!de(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);u?s.canActivateChecks.push(new He(i)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:r,i,s),u&&l&&l.outlet&&l.outlet.isActivated&&s.canDeactivateChecks.push(new Ue(l.outlet.component,a))}else a&&$e(n,l,s),s.canActivateChecks.push(new He(i)),t(e,null,o.component?l?l.children:null:r,i,s)}(e,o[e.value.outlet],r,i.concat([e.value]),s),delete o[e.value.outlet]}),Tt(o,(t,e)=>$e(t,r.getContext(e),s)),s}(r,e?e._root:null,n,[r.value])}function qe(t,e,n){const r=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(r?r.module.injector:n).get(t)}function $e(t,e,n){const r=ne(t),i=t.value;Tt(r,(t,r)=>{$e(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Ue(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}function We(t,e){return null!==t&&e&&e(new _t(t)),Object(s.a)(!0)}function Ge(t,e){return null!==t&&e&&e(new gt(t)),Object(s.a)(!0)}function Ke(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(s.a)(!0);const i=r.map(r=>E(()=>{const i=qe(r,e,n);let s;if(function(t){return t&&De(t.canActivate)}(i))s=kt(i.canActivate(e,t));else{if(!De(i))throw new Error("Invalid CanActivate guard");s=kt(i(e,t))}return s.pipe(Z())}));return Object(s.a)(i).pipe(ke())}function Je(t,e,n){const r=e[e.length-1],i=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=>E(()=>{const i=e.guards.map(i=>{const s=qe(i,e.node,n);let o;if(function(t){return t&&De(t.canActivateChild)}(s))o=kt(s.canActivateChild(r,t));else{if(!De(s))throw new Error("Invalid CanActivateChild guard");o=kt(s(r,t))}return o.pipe(Z())});return Object(s.a)(i).pipe(ke())}));return Object(s.a)(i).pipe(ke())}class Ze{}class Qe{constructor(t,e,n,r,i,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const t=tn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,vt),n=new ae([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ee(n,e),i=new le(this.url,r);return this.inheritParamsAndData(i._root),Object(s.a)(i)}catch(t){return new m.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=oe(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=Nt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===vt?-1:e.value.outlet===vt?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(i){if(!(i instanceof Ze))throw i}if(this.noLeftoversInUrl(e,n,r))return[];throw new Ze}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new Ze;if((t.outlet||vt)!==r)throw new Ze;let i,s=[],o=[];if("**"===t.path){const s=n.length>0?At(n).parameters:{};i=new ae(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(t),r,t.component,t,Ye(e),Xe(e)+n.length,sn(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Ze;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Et)(n,t,e);if(!r)throw new Ze;const i={};Tt(r.posParams,(t,e)=>{i[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,o=n.slice(a.lastChild),i=new ae(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(t),r,t.component,t,Ye(e),Xe(e)+s.length,sn(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:u}=tn(e,s,o,a,this.relativeLinkResolution);if(0===u.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new ee(i,t)]}if(0===a.length&&0===u.length)return[new ee(i,[])];const c=this.processSegment(a,l,u,vt);return[new ee(i,c)]}}function Ye(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Xe(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 tn(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some(n=>en(t,e,n)&&nn(n)!==vt)}(t,n,r)){const i=new Rt(e,function(t,e,n,r){const i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&nn(s)!==vt){const n=new Rt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[nn(s)]=n}return i}(t,e,r,new Rt(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>en(t,e,n))}(t,n,r)){const s=new Rt(t.segments,function(t,e,n,r,i,s){const o={};for(const a of r)if(en(t,n,a)&&!i[nn(a)]){const n=new Rt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,o[nn(a)]=n}return Object.assign(Object.assign({},i),o)}(t,e,n,r,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new Rt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function en(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function nn(t){return t.outlet||vt}function rn(t){return t.data||{}}function sn(t){return t.resolve||{}}function on(t){return function(e){return e.pipe(Object(B.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(O.a)(()=>e)):Object(o.a)([e])}))}}class an 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}}{}let ln=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Db({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i.Kb(0,"router-outlet")},directives:function(){return[xn]},encapsulation:2}),t})();function un(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];cn(r,hn(e,r))}}function cn(t,e){if(!t)throw new Error(`\n      Invalid configuration of route '${e}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==vt)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&un(t.children,e)}function hn(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function dn(t){const e=t.children&&t.children.map(dn),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==vt&&(n.component=ln),n}const pn=new i.q("ROUTES");class fn{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(O.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new xe(Dt(r.injector.get(pn)).map(dn),r)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):kt(t()).pipe(Object(Q.a)(t=>t instanceof i.v?Object(s.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}class gn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mn,this.attachRef=null}}class mn{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 gn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class _n{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function yn(t){throw t}function bn(t,e,n){return e.parse("/")}function vn(t,e){return Object(s.a)(null)}let wn=(()=>{class t{constructor(t,e,n,r,s,o,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new a.a,this.errorHandler=yn,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:vn,afterPreactivation:vn},this.urlHandlingStrategy=new _n,this.routeReuseStrategy=new an,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(i.x),this.console=s.get(i.Y);const h=s.get(i.z);this.isNgZoneEnabled=h instanceof i.z,this.resetConfig(c),this.currentUrlTree=new Ft(new Rt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new fn(o,l,t=>this.triggerEvent(new pt(t)),t=>this.triggerEvent(new ft(t))),this.routerState=ie(this.currentUrlTree,this.rootComponentType),this.transitions=new u({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(D.a)(t=>0!==t.id),Object(O.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(B.a)(t=>{let n=!1,r=!1;return Object(s.a)(t).pipe(Object(Y.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(s.a)(t).pipe(Object(B.a)(t=>{const n=this.transitions.getValue();return e.next(new it(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?S.a:[t]}),Object(B.a)(t=>Promise.resolve(t)),(r=this.ngModule.injector,i=this.configLoader,o=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(B.a)(t=>function(t,e,n,r,i){return new Ne(t,e,n,r,i).apply()}(r,i,o,t.extractedUrl,a).pipe(Object(O.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(Y.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,i){return function(s){return s.pipe(Object(Q.a)(s=>function(t,e,n,r,i="emptyOnly",s="legacy"){return new Qe(t,e,n,r,i,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,i).pipe(Object(O.a)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(Y.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(Y.a)(t=>{const n=new lt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,i,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:o,extras:a}=t,l=new it(n,this.serializeUrl(r),i,o);e.next(l);const u=ie(r,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},t),{targetSnapshot:u,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),S.a}),on(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Object(Y.a)(t=>{const e=new ut(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(O.a)(t=>Object.assign(Object.assign({},t),{guards:ze(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(Q.a)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Object(o.a)(t).pipe(Object(Q.a)(t=>function(t,e,n,r,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(s.a)(!0);const a=o.map(s=>{const o=qe(s,e,i);let a;if(function(t){return t&&De(t.canDeactivate)}(o))a=kt(o.canDeactivate(t,e,n,r));else{if(!De(o))throw new Error("Invalid CanDeactivate guard");a=kt(o(t,e,n,r))}return a.pipe(Z())});return Object(s.a)(a).pipe(ke())}(t.component,t.route,n,e,r)),Z(t=>!0!==t,!0))}(l,r,i,t).pipe(Object(Q.a)(n=>n&&"boolean"==typeof n?function(t,e,n,r){return Object(o.a)(e).pipe(Object(J.a)(e=>Object(o.a)([Ge(e.route.parent,r),We(e.route,r),Je(t,e.path,n),Ke(t,e.route,n)]).pipe(Object(x.a)(),Z(t=>!0!==t,!0))),Z(t=>!0!==t,!0))}(r,a,t,e):Object(s.a)(n)),Object(O.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(Y.a)(t=>{if(Ae(t.guardsResult)){const e=St(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(Y.a)(t=>{const e=new ct(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(D.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new ot(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),on(t=>{if(t.guards.canActivateChecks.length)return Object(s.a)(t).pipe(Object(Y.a)(t=>{const e=new ht(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(B.a)(t=>{let n=!1;return Object(s.a)(t).pipe((r=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(t){return t.pipe(Object(Q.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(s.a)(t);let a=0;return Object(o.a)(n).pipe(Object(J.a)(t=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return Object(s.a)({});const a={};return Object(o.a)(i).pipe(Object(Q.a)(i=>function(t,e,n,r){const i=qe(t,e,r);return kt(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,r).pipe(Object(Y.a)(t=>{a[i]=t}))),T(1),Object(Q.a)(()=>Object.keys(a).length===i.length?Object(s.a)(a):S.a))}(t._resolve,t,e,r).pipe(Object(O.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),oe(t,n).resolve),null)))}(t.route,e,r,i)),Object(Y.a)(()=>a++),T(1),Object(Q.a)(e=>a===n.length?Object(s.a)(t):S.a))}))}),Object(Y.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new ot(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,i}),Object(Y.a)(t=>{const e=new dt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),on(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!o})}),Object(O.a)(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const i=r.value;i._futureSnapshot=n.value;const s=function(e,n,r){return n.children.map(n=>{for(const i of r.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,r);return new ee(i,s)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,t),t}{const r=new se(new u((i=n.value).url),new u(i.params),new u(i.queryParams),new u(i.fragment),new u(i.data),i.outlet,i.component,i),s=n.children.map(n=>t(e,n));return new ee(r,s)}}var i}(t,e._root,n?n._root:void 0);return new re(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(Y.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)}),(a=this.rootContexts,l=this.routeReuseStrategy,c=t=>this.triggerEvent(t),Object(O.a)(t=>(new Ee(l,t.targetRouterState,t.currentRouterState,c).activate(a),t))),Object(Y.a)({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new ot(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},t=>t.lift(new tt(i))),W(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Ae(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new ot(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return 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 r=new at(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var i;return S.a}));var i,a,l,c}))}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:r}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(r,t,n,i)},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){un(t),this.config=t.map(dn),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:l}=e;Object(i.V)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=l?this.currentUrlTree.fragment:s;let h=null;if(a)switch(a){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=o?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,i){if(0===n.length)return fe(e.root,e.root,e,r,i);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ge(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Tt(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new ge(n,e,r)}(n);if(s.toRoot())return fe(e.root,new Rt([],{}),e,r,i);const o=function(t,e,n){if(t.isAbsolute)return new me(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new me(t,t===e.root,0)}const r=pe(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,s=n;for(;s>i;){if(s-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new me(r,!1,i-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=o.processChildren?be(o.segmentGroup,o.index,s.commands):ye(o.segmentGroup,o.index,s.commands);return fe(o.segmentGroup,a,e,r,i)}(u,this.currentUrlTree,t,h,c)}navigateByUrl(t,e={skipLocationChange:!1}){Object(i.V)()&&this.isNgZoneEnabled&&!i.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Ae(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(Ae(t))return Pt(this.currentUrlTree,t,e);const n=this.parseUrl(t);return Pt(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new st(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,r,i){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,u,c;i?(l=i.resolve,u=i.reject,c=i.promise):c=new Promise((t,e)=>{l=t,u=e});const h=++this.navigationId;return this.setTransition({id:h,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:l,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{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)(i.Sb(i.N),i.Sb(It),i.Sb(mn),i.Sb(r.n),i.Sb(i.r),i.Sb(i.w),i.Sb(i.i),i.Sb(void 0))},t.\u0275prov=i.Fb({token:t,factory:t.\u0275fac}),t})(),Cn=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],this.onChanges=new a.a,null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.V)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:En(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Jb(wn),i.Jb(se),i.Tb("tabindex"),i.Jb(i.E),i.Jb(i.l))},t.\u0275dir=i.Eb({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&i.Vb("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i.xb]}),t})(),Sn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new a.a,this.subscription=t.events.subscribe(t=>{t instanceof st&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(i.V)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,i){if(0!==t||e||n||r||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:En(this.skipLocationChange),replaceUrl:En(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:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:En(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:En(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Jb(wn),i.Jb(se),i.Jb(r.o))},t.\u0275dir=i.Eb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.Vb("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)})),2&t&&(i.Rb("href",e.href,i.fc),i.Ab("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i.xb]}),t})();function En(t){return""===t||!!t}let On=(()=>{class t{constructor(t,e,n,r,i,s){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof st&&this.update()})}ngAfterContentInit(){Object(o.a)([this.links.changes,this.linksWithHrefs.changes,Object(s.a)(null)]).pipe(Object(nt.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(o.a)(e).pipe(Object(nt.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)(i.Jb(wn),i.Jb(i.l),i.Jb(i.E),i.Jb(i.h),i.Jb(Cn,8),i.Jb(Sn,8))},t.\u0275dir=i.Eb({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;1&t&&(i.Cb(n,Cn,!0),i.Cb(n,Sn,!0)),2&t&&(i.dc(r=i.Wb())&&(e.links=r),i.dc(r=i.Wb())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i.xb]}),t})(),xn=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.n,this.deactivateEvents=new i.n,this.name=r||vt,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),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Dn(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(i.Jb(mn),i.Jb(i.P),i.Jb(i.j),i.Tb("name"),i.Jb(i.h))},t.\u0275dir=i.Eb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Dn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===se?this.route:t===mn?this.childContexts:this.parent.get(t,e)}}class An{}class Tn{preload(t,e){return Object(s.a)(null)}}let kn=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new fn(e,n,e=>t.triggerEvent(new pt(e)),e=>t.triggerEvent(new ft(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(D.a)(t=>t instanceof st),Object(J.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.x);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return Object(o.a)(n).pipe(Object(nt.a)(),Object(O.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(Q.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(i.Sb(wn),i.Sb(i.w),i.Sb(i.i),i.Sb(i.r),i.Sb(An))},t.\u0275prov=i.Fb({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 it?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof st&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof bt&&(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 bt(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)(i.Sb(wn),i.Sb(r.H),i.Sb(void 0))},t.\u0275prov=i.Fb({token:t,factory:t.\u0275fac}),t})();const Fn=new i.q("ROUTER_CONFIGURATION"),Rn=new i.q("ROUTER_FORROOT_GUARD"),jn=[r.n,{provide:It,useClass:Vt},{provide:wn,useFactory:function(t,e,n,i,s,o,a,l={},u,c){const h=new wn(null,t,e,n,i,s,o,Dt(a));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Object(r.L)();h.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h},deps:[It,mn,r.n,i.r,i.w,i.i,pn,Fn,[class{},new i.A],[class{},new i.A]]},mn,{provide:se,useFactory:function(t){return t.routerState.root},deps:[wn]},{provide:i.w,useClass:i.K},kn,Tn,class{preload(t,e){return e().pipe(W(()=>Object(s.a)(null)))}},{provide:Fn,useValue:{enableTracing:!1}}];function Mn(){return new i.y("Router",wn)}let Nn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[jn,Bn(e),{provide:Rn,useFactory:Ln,deps:[[wn,new i.A,new i.J]]},{provide:Fn,useValue:n||{}},{provide:r.o,useFactory:Vn,deps:[r.D,[new i.p(r.a),new i.A],Fn]},{provide:Pn,useFactory:In,deps:[wn,r.H,Fn]},{provide:An,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Tn},{provide:i.y,multi:!0,useFactory:Mn},[Hn,{provide:i.d,multi:!0,useFactory:Un,deps:[Hn]},{provide:qn,useFactory:zn,deps:[Hn]},{provide:i.b,multi:!0,useExisting:qn}]]}}static forChild(e){return{ngModule:t,providers:[Bn(e)]}}}return t.\u0275mod=i.Hb({type:t}),t.\u0275inj=i.Gb({factory:function(e){return new(e||t)(i.Sb(Rn,8),i.Sb(wn,8))}}),t})();function In(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Pn(t,e,n)}function Vn(t,e,n={}){return n.useHash?new r.h(t,e):new r.B(t,e)}function Ln(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Bn(t){return[{provide:i.a,multi:!0,useValue:t},{provide:pn,multi:!0,useValue:t}]}let Hn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new a.a}appInitializer(){return this.injector.get(r.m,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(wn),r=this.injector.get(Fn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Fn),n=this.injector.get(kn),r=this.injector.get(Pn),s=this.injector.get(wn),o=this.injector.get(i.g);t===o.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(i.Sb(i.r))},t.\u0275prov=i.Fb({token:t,factory:t.\u0275fac}),t})();function Un(t){return t.appInitializer.bind(t)}function zn(t){return t.bootstrapListener.bind(t)}const qn=new i.q("Router Initializer")},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7o/Q");function i(){}var s=n("n6bG");function o(t,e,n){return function(r){return r.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 r.a{constructor(t,e,n,r){super(t),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=r||i,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||i,this._tapError=e.error||i,this._tapComplete=e.complete||i)}_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()}}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("HDdC"),i=n("ngJS"),s=n("jZKg");function o(t,e){return e?Object(s.a)(t,e):new r.a(Object(i.a)(t))}},"z+Ro":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return r}))},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("fXoL"),i=n("ofXK");class s extends i.J{constructor(){super()}supportsDOMEvents(){return!0}}class o extends s{static makeCurrent(){Object(i.N)(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.M)(document.cookie,t)}}let a,l=null;const u=new r.q("TRANSITION_ID"),c=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(i.L)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[u,i.e,r.r],multi:!0}];class h{static init(){Object(r.X)(new h)}addToWindow(t){r.ob.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},r.ob.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.ob.getAllAngularRootElements=()=>t.getAllRootElements(),r.ob.frameworkStabilizers||(r.ob.frameworkStabilizers=[]),r.ob.frameworkStabilizers.push(t=>{const e=r.ob.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.L)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new r.q("EventManagerPlugins");let p=(()=>{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 r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(d),r.Sb(r.z))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();class f{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Object(i.L)().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let g=(()=>{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.Fb({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends g{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.L)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const _={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/"},y=/%COMP%/g;function b(t,e,n){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?b(t,i,n):(i=i.replace(y,t),n.push(i))}return n}function v(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.Q.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.Q.Native:case r.Q.ShadowDom:return new E(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=b(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.Sb(p),r.Sb(m),r.Sb(r.c))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();class C{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(_[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,r){if(r){e=r+":"+e;const i=_[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=_[n];r?t.removeAttributeNS(r,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.G.DashCase?t.style.setProperty(e,n,i&r.G.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.G.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,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class S extends C{constructor(t,e,n,r){super(t),this.component=n;const i=b(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(y,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(y,r+"-"+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 E extends C{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===r.Q.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=b(i.id,i.styles,[]);for(let r=0;r<s.length;r++){const t=document.createElement("style");t.textContent=s[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let O=(()=>{class t extends f{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.Sb(i.e))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const x=["alt","control","meta","shift"],D={"\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"},A={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"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let k=(()=>{class t extends f{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.L)().onAndCancel(e,s.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let s="";if(x.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=i,0!=n.length||0===i.length)return null;const o={};return o.domEventName=r,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&&A.hasOwnProperty(e)&&(e=A[e]))}return D[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),x.forEach(r=>{r!=n&&(0,T[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const P=[{provide:r.B,useValue:i.K},{provide:r.C,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:i.e,useFactory:function(){return Object(r.tb)(document),document},deps:[]}],F=Object(r.R)(r.W,"browser",P),R=[[],{provide:r.Z,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:d,useClass:O,multi:!0,deps:[i.e,r.z,r.B]},{provide:d,useClass:k,multi:!0,deps:[i.e]},[],{provide:w,useClass:w,deps:[p,m,r.c]},{provide:r.F,useExisting:w},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[i.e]},{provide:r.M,useClass:r.M,deps:[r.z]},{provide:p,useClass:p,deps:[d,r.z]},[]];let j=(()=>{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.c,useValue:e.appId},{provide:u,useExisting:r.c},c]}}}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)(r.Sb(t,12))},providers:R,imports:[i.c,r.f]}),t})();"undefined"!=typeof window&&window;var M=n("tyNb");function N(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var V,L,B,H,U,z,q,$,W,G,K,J,Z,Q={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Y={duration:.5,overwrite:!1,delay:0},X=1e8,tt=1e-8,et=2*Math.PI,nt=et/4,rt=0,it=Math.sqrt,st=Math.cos,ot=Math.sin,at=function(t){return"string"==typeof t},lt=function(t){return"function"==typeof t},ut=function(t){return"number"==typeof t},ct=function(t){return void 0===t},ht=function(t){return"object"==typeof t},dt=function(t){return!1!==t},pt=function(){return"undefined"!=typeof window},ft=function(t){return lt(t)||at(t)},gt="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},mt=Array.isArray,_t=/(?:-?\.?\d|\.)+/gi,yt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,bt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,vt=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,wt=/[+-]=-?[.\d]+/,Ct=/[#\-+.]*\b[a-z\d-=+%.]+/gi,St=/[\d.+\-=]+(?:e[-+]\d*)*/i,Et={},Ot={},xt=function(t){return(Ot=Yt(t,Et))&&Mn},Dt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},At=function(t,e){return!e&&console.warn(t)},Tt=function(t,e){return t&&(Et[t]=e)&&Ot&&(Ot[t]=e)||Et},kt=function(){return 0},Pt={},Ft=[],Rt={},jt={},Mt={},Nt=30,It=[],Vt="",Lt=function(t){var e,n,r=t[0];if(ht(r)||lt(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(n=It.length;n--&&!It[n].targetTest(r););e=It[n]}for(n=t.length;n--;)t[n]&&(t[n]._gsap||(t[n]._gsap=new on(t[n],e)))||t.splice(n,1);return t},Bt=function(t){return t._gsap||Lt(Ee(t))[0]._gsap},Ht=function(t,e,n){return(n=t[e])&&lt(n)?t[e]():ct(n)&&t.getAttribute&&t.getAttribute(e)||n},Ut=function(t,e){return(t=t.split(",")).forEach(e)||t},zt=function(t){return Math.round(1e5*t)/1e5||0},qt=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},$t=function(t,e,n){var r,i=ut(t[1]),s=(i?2:1)+(e<2?0:1),o=t[s];if(i&&(o.duration=t[1]),o.parent=n,e){for(r=o;n&&!("immediateRender"in r);)r=n.vars.defaults||{},n=dt(n.vars.inherit)&&n.parent;o.immediateRender=dt(r.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return o},Wt=function(){var t,e,n=Ft.length,r=Ft.slice(0);for(Rt={},Ft.length=0,t=0;t<n;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Gt=function(t,e,n,r){Ft.length&&Wt(),t.render(e,n,r),Ft.length&&Wt()},Kt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(Ct).length<2?e:at(t)?t.trim():t},Jt=function(t){return t},Zt=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},Qt=function(t,e){for(var n in e)n in t||"duration"===n||"ease"===n||(t[n]=e[n])},Yt=function(t,e){for(var n in e)t[n]=e[n];return t},Xt=function t(e,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=ht(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},te=function(t,e){var n,r={};for(n in t)n in e||(r[n]=t[n]);return r},ee=function(t){var e=t.parent||L,n=t.keyframes?Qt:Zt;if(dt(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},ne=function(t,e,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=e._prev,s=e._next;i?i._next=s:t[n]===e&&(t[n]=s),s?s._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},re=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},ie=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},se=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},oe=function(t){return t._repeat?ae(t._tTime,t=t.duration()+t._rDelay)*t:0},ae=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},le=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ue=function(t){return t._end=zt(t._start+(t._tDur/Math.abs(t._ts||t._rts||tt)||0))},ce=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=zt(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),ue(t),n._dirty||ie(n,t)),t},he=function(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=le(t.rawTime(),e),(!e._dur||ve(0,e.totalDuration(),n)-e._tTime>tt)&&e.render(n,!0)),ie(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},de=function(t,e,n,r){return e.parent&&re(e),e._start=zt(n+e._delay),e._end=zt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var s,o=t[r];if(i)for(s=e[i];o&&o[i]>s;)o=o._prev;o?(e._next=o._next,o._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=o,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,r||he(t,e),t},pe=function(t,e){return(Et.ScrollTrigger||Dt("scrollTrigger",e))&&Et.ScrollTrigger.create(e,t)},fe=function(t,e,n,r){return pn(t,e),t._initted?!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&q!==We.frame?(Ft.push(t),t._lazy=[e,r],1):void 0:1},ge=function(t,e,n,r){var i=t._repeat,s=zt(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=i?i<0?1e10:zt(s*(i+1)+t._rDelay*i):s,o&&!r?ce(t,t._tTime=t._tDur*o):t.parent&&ue(t),n||ie(t.parent,t),t},me=function(t){return t instanceof ln?ie(t):ge(t,t._dur)},_e={_start:0,endTime:kt},ye=function t(e,n){var r,i,s=e.labels,o=e._recent||_e,a=e.duration()>=X?o.endTime(!1):e._dur;return at(n)&&(isNaN(n)||n in s)?"<"===(r=n.charAt(0))||">"===r?("<"===r?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0):(r=n.indexOf("="))<0?(n in s||(s[n]=a),s[n]):(i=+(n.charAt(r-1)+n.substr(r+1)),r>1?t(e,n.substr(0,r-1))+i:a+i):null==n?a:+n},be=function(t,e){return t||0===t?e(t):e},ve=function(t,e,n){return n<t?t:n>e?e:n},we=function(t){if("string"!=typeof t)return"";var e=St.exec(t);return e?t.substr(e.index+e[0].length):""},Ce=[].slice,Se=function(t,e){return t&&ht(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&ht(t[0]))&&!t.nodeType&&t!==B},Ee=function(t,e){return!at(t)||e||!H&&Ge()?mt(t)?function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return at(t)&&!e||Se(t,1)?(r=n).push.apply(r,Ee(t)):n.push(t)}))||n}(t,e):Se(t)?Ce.call(t,0):t?[t]:[]:Ce.call(U.querySelectorAll(t),0)},Oe=function(t){return t.sort((function(){return.5-Math.random()}))},xe=function(t){if(lt(t))return t;var e=ht(t)?t:{each:t},n=tn(e.ease),r=e.from||0,i=parseFloat(e.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,l=e.axis,u=r,c=r;return at(r)?u=c={center:.5,edges:.5,end:1}[r]||0:!o&&a&&(u=r[0],c=r[1]),function(t,o,h){var d,p,f,g,m,_,y,b,v,w=(h||e).length,C=s[w];if(!C){if(!(v="auto"===e.grid?0:(e.grid||[1,X])[1])){for(y=-X;y<(y=h[v++].getBoundingClientRect().left)&&v<w;);v--}for(C=s[w]=[],d=a?Math.min(v,w)*u-.5:r%v,p=a?w*c/v-.5:r/v|0,y=0,b=X,_=0;_<w;_++)f=_%v-d,g=p-(_/v|0),C[_]=m=l?Math.abs("y"===l?g:f):it(f*f+g*g),m>y&&(y=m),m<b&&(b=m);"random"===r&&Oe(C),C.max=y-b,C.min=b,C.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(v>w?w-1:l?"y"===l?w/v:v:Math.max(v,w/v))||0)*("edges"===r?-1:1),C.b=w<0?i-w:i,C.u=we(e.amount||e.each)||0,n=n&&w<0?Ye(n):n}return w=(C[t]-C.min)/C.max||0,zt(C.b+(n?n(w):w)*C.v)+C.u}},De=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){var r=Math.round(parseFloat(n)/t)*t*e;return(r-r%1)/e+(ut(n)?0:we(n))}},Ae=function(t,e){var n,r,i=mt(t);return!i&&ht(t)&&(n=i=t.radius||X,t.values?(t=Ee(t.values),(r=!ut(t[0]))&&(n*=n)):t=De(t.increment)),be(e,i?lt(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,s,o=parseFloat(r?e.x:e),a=parseFloat(r?e.y:0),l=X,u=0,c=t.length;c--;)(i=r?(i=t[c].x-o)*i+(s=t[c].y-a)*s:Math.abs(t[c]-o))<l&&(l=i,u=c);return u=!n||l<=n?t[u]:e,r||u===e||ut(e)?u:u+we(e)}:De(t))},Te=function(t,e,n,r){return be(mt(t)?!e:!0===n?!!(n=0):!r,(function(){return mt(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+.99*n))/n)*n*r)/r}))},ke=function(t,e,n){return be(n,(function(n){return t[~~e(n)]}))},Pe=function(t){for(var e,n,r,i,s=0,o="";~(e=t.indexOf("random(",s));)r=t.indexOf(")",e),i="["===t.charAt(e+7),n=t.substr(e+7,r-e-7).match(i?Ct:_t),o+=t.substr(s,e-s)+Te(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),s=r+1;return o+t.substr(s,t.length-s)},Fe=function(t,e,n,r,i){var s=e-t,o=r-n;return be(i,(function(e){return n+((e-t)/s*o||0)}))},Re=function(t,e,n){var r,i,s,o=t.labels,a=X;for(r in o)(i=o[r]-e)<0==!!n&&i&&a>(i=Math.abs(i))&&(s=r,a=i);return s},je=function(t,e,n){var r,i,s=t.vars,o=s[e];if(o)return r=s[e+"Params"],i=s.callbackScope||t,n&&Ft.length&&Wt(),r?o.apply(i,r):o.call(i)},Me=function(t){return re(t),t.progress()<1&&je(t,"onInterrupt"),t},Ne=function(t){var e=(t=!t.name&&t.default||t).name,n=lt(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:kt,render:xn,add:hn,kill:An,modifier:Dn,rawVars:0},s={targetTest:0,get:0,getSetter:Cn,aliases:{},register:0};if(Ge(),t!==r){if(jt[e])return;Zt(r,Zt(te(t,i),s)),Yt(r.prototype,Yt(i,te(t,s))),jt[r.prop=e]=r,t.targetTest&&(It.push(r),Pt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Tt(e,r),t.register&&t.register(Mn,r,Pn)},Ie=255,Ve={aqua:[0,Ie,Ie],lime:[0,Ie,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ie],navy:[0,0,128],white:[Ie,Ie,Ie],olive:[128,128,0],yellow:[Ie,Ie,0],orange:[Ie,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ie,0,0],pink:[Ie,192,203],cyan:[0,Ie,Ie],transparent:[Ie,Ie,Ie,0]},Le=function(t,e,n){return(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)*Ie+.5|0},Be=function(t,e,n){var r,i,s,o,a,l,u,c,h,d,p=t?ut(t)?[t>>16,t>>8&Ie,t&Ie]:0:Ve.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ve[t])p=Ve[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),i=t.charAt(2),s=t.charAt(3),t="#"+r+r+i+i+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&Ie,p&Ie,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&Ie,t&Ie]}else if("hsl"===t.substr(0,3))if(p=d=t.match(_t),e){if(~t.indexOf("="))return p=t.match(yt),n&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,r=2*(l=+p[2]/100)-(i=l<=.5?l*(a+1):l+a-l*a),p.length>3&&(p[3]*=1),p[0]=Le(o+1/3,r,i),p[1]=Le(o,r,i),p[2]=Le(o-1/3,r,i);else p=t.match(_t)||Ve.transparent;p=p.map(Number)}return e&&!d&&(r=p[0]/Ie,i=p[1]/Ie,s=p[2]/Ie,l=((u=Math.max(r,i,s))+(c=Math.min(r,i,s)))/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===r?(i-s)/h+(i<s?6:0):u===i?(s-r)/h+2:(r-i)/h+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*a+.5),p[2]=~~(100*l+.5)),n&&p.length<4&&(p[3]=1),p},He=function(t){var e=[],n=[],r=-1;return t.split(ze).forEach((function(t){var i=t.match(bt)||[];e.push.apply(e,i),n.push(r+=i.length+1)})),e.c=n,e},Ue=function(t,e,n){var r,i,s,o,a="",l=(t+a).match(ze),u=e?"hsla(":"rgba(",c=0;if(!l)return t;if(l=l.map((function(t){return(t=Be(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),n&&(s=He(t),(r=n.c).join(a)!==s.c.join(a)))for(o=(i=t.replace(ze,"1").split(bt)).length-1;c<o;c++)a+=i[c]+(~r.indexOf(c)?l.shift()||u+"0,0,0,0)":(s.length?s:l.length?l:n).shift());if(!i)for(o=(i=t.split(ze)).length-1;c<o;c++)a+=i[c]+l[c];return a+i[o]},ze=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in Ve)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),qe=/hsl[a]?\(/,$e=function(t){var e,n=t.join(" ");if(ze.lastIndex=0,ze.test(n))return e=qe.test(n),t[1]=Ue(t[1],e),t[0]=Ue(t[0],e,He(t[1])),!0},We=function(){var t,e,n,r,i,s,o=Date.now,a=500,l=33,u=o(),c=u,h=1e3/240,d=h,p=[],f=function n(f){var g,m,_,y,b=o()-c,v=!0===f;if(b>a&&(u+=b-l),((g=(_=(c+=b)-u)-d)>0||v)&&(y=++r.frame,i=_-1e3*r.time,r.time=_/=1e3,d+=g+(g>=h?4:h-g),m=1),v||(t=e(n)),m)for(s=0;s<p.length;s++)p[s](_,i,y,f)};return r={time:0,frame:0,tick:function(){f(!0)},deltaRatio:function(t){return i/(1e3/(t||60))},wake:function(){z&&(!H&&pt()&&(B=H=window,U=B.document||{},Et.gsap=Mn,(B.gsapVersions||(B.gsapVersions=[])).push(Mn.version),xt(Ot||B.GreenSockGlobals||!B.gsap&&B||{}),n=B.requestAnimationFrame),t&&r.sleep(),e=n||function(t){return setTimeout(t,d-1e3*r.time+1|0)},W=1,f(2))},sleep:function(){(n?B.cancelAnimationFrame:clearTimeout)(t),W=0,e=kt},lagSmoothing:function(t,e){a=t||1e8,l=Math.min(e,a,0)},fps:function(t){d=1e3*r.time+(h=1e3/(t||240))},add:function(t){p.indexOf(t)<0&&p.push(t),Ge()},remove:function(t){var e;~(e=p.indexOf(t))&&p.splice(e,1)&&s>=e&&s--},_listeners:p}}(),Ge=function(){return!W&&We.wake()},Ke={},Je=/^[\d.\-M][\d.\-,\s]/,Ze=/["']/g,Qe=function(t){for(var e,n,r,i={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a<l;a++)n=s[a],e=a!==l-1?n.lastIndexOf(","):n.length,r=n.substr(0,e),i[o]=isNaN(r)?r.replace(Ze,"").trim():+r,o=n.substr(e+1).trim();return i},Ye=function(t){return function(e){return 1-t(1-e)}},Xe=function t(e,n){for(var r,i=e._first;i;)i instanceof ln?t(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?t(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},tn=function(t,e){return t&&(lt(t)?t:Ke[t]||function(t){var e,n,r,i,s=(t+"").split("("),o=Ke[s[0]];return o&&s.length>1&&o.config?o.config.apply(null,~t.indexOf("{")?[Qe(s[1])]:(e=t,n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n),e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)).split(",").map(Kt)):Ke._CE&&Je.test(t)?Ke._CE("",t):o}(t))||e},en=function(t,e,n,r){void 0===n&&(n=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var i,s={easeIn:e,easeOut:n,easeInOut:r};return Ut(t,(function(t){for(var e in Ke[t]=Et[t]=s,Ke[i=t.toLowerCase()]=n,s)Ke[i+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Ke[t+"."+e]=s[e]})),s},nn=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},rn=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/et*(Math.asin(1/i)||0),a=function(t){return 1===t?1:i*Math.pow(2,-10*t)*ot((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:nn(a);return s=et/s,l.config=function(n,r){return t(e,n,r)},l},sn=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:nn(r);return i.config=function(n){return t(e,n)},i};Ut("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;en(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),Ke.Linear.easeNone=Ke.none=Ke.Linear.easeIn,en("Elastic",rn("in"),rn("out"),rn()),G=7.5625,J=1/(K=2.75),en("Bounce",(function(t){return 1-Z(1-t)}),Z=function(t){return t<J?G*t*t:t<.7272727272727273?G*Math.pow(t-1.5/K,2)+.75:t<.9090909090909092?G*(t-=2.25/K)*t+.9375:G*Math.pow(t-2.625/K,2)+.984375}),en("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),en("Circ",(function(t){return-(it(1-t*t)-1)})),en("Sine",(function(t){return 1===t?1:1-st(t*nt)})),en("Back",sn("in"),sn("out"),sn()),Ke.SteppedEase=Ke.steps=Et.SteppedEase={config:function(t,e){void 0===t&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0;return function(t){return((r*ve(0,.99999999,t)|0)+i)*n}}},Y.ease=Ke["quad.out"],Ut("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return Vt+=t+","+t+"Params,"}));var on=function(t,e){this.id=rt++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Ht,this.set=e?e.getSetter:Cn},an=function(){function t(t,e){var n=t.parent||L;this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ge(this,+t.duration,1,1),this.data=t.data,W||We.wake(),n&&de(n,this,e||0===e?e:n._time,1),t.reversed&&this.reverse(),t.paused&&this.paused(!0)}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ge(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ge(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(ce(this,t),!n._dp||n.parent||he(n,this);n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&de(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===tt||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Gt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+oe(this))%this._dur||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+oe(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?ae(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?le(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,se(this.totalTime(ve(-this._delay,this._tDur,e),!0))},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ge(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=tt)&&Math.abs(this._zTime)!==tt))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&de(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(dt(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?le(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,me(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){return arguments.length?(this._rDelay=t,me(this)):this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ye(this,t),dt(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,dt(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<this.endTime(!0)-tt))},e.eventCallback=function(t,e,n){var r=this.vars;return arguments.length>1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=lt(t)?t:Jt,i=function(){var t=e.then;e.then=null,lt(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){Me(this)},t}();Zt(an.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var ln=function(t){function e(e,n){var r;return void 0===e&&(e={}),(r=t.call(this,e,n)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=dt(e.sortChildren),r.parent&&he(r.parent,N(r)),e.scrollTrigger&&pe(N(r),e.scrollTrigger),r}I(e,t);var n=e.prototype;return n.to=function(t,e,n){return new _n(t,$t(arguments,0,this),ye(this,ut(e)?arguments[3]:n)),this},n.from=function(t,e,n){return new _n(t,$t(arguments,1,this),ye(this,ut(e)?arguments[3]:n)),this},n.fromTo=function(t,e,n,r){return new _n(t,$t(arguments,2,this),ye(this,ut(e)?arguments[4]:r)),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,ee(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new _n(t,e,ye(this,n),1),this},n.call=function(t,e,n){return de(this,_n.delayedCall(0,t,e),ye(this,n))},n.staggerTo=function(t,e,n,r,i,s,o){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=s,n.onCompleteParams=o,n.parent=this,new _n(t,n,ye(this,i)),this},n.staggerFrom=function(t,e,n,r,i,s,o){return n.runBackwards=1,ee(n).immediateRender=dt(n.immediateRender),this.staggerTo(t,e,n,r,i,s,o)},n.staggerFromTo=function(t,e,n,r,i,s,o,a){return r.startAt=n,ee(r).immediateRender=dt(r.immediateRender),this.staggerTo(t,e,r,i,s,o,a)},n.render=function(t,e,n){var r,i,s,o,a,l,u,c,h,d,p,f,g=this._time,m=this._dirty?this.totalDuration():this._tDur,_=this._dur,y=this!==L&&t>m-tt&&t>=0?m:t<tt?0:t,b=this._zTime<0!=t<0&&(this._initted||!_);if(y!==this._tTime||n||b){if(g!==this._time&&_&&(y+=this._time-g,t+=this._time-g),r=y,h=this._start,l=!(c=this._ts),b&&(_||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,a=_+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,n);if(r=zt(y%a),y===m?(o=this._repeat,r=_):((o=~~(y/a))&&o===y/a&&(r=_,o--),r>_&&(r=_)),d=ae(this._tTime,a),!g&&this._tTime&&d!==o&&(d=o),p&&1&o&&(r=_-r,f=1),o!==d&&!this._lock){var v=p&&1&d,w=v===(p&&1&o);if(o<d&&(v=!v),g=v?0:_,this._lock=1,this.render(g||(f?0:zt(o*a)),e,!_)._lock=0,!e&&this.parent&&je(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),g!==this._time||l!==!this._ts)return this;if(_=this._dur,m=this._tDur,w&&(this._lock=2,this.render(g=v?_:-1e-4,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;Xe(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if(!r._dur&&"isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(!r._dur&&"isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,zt(g),zt(r)))&&(y-=r-(r=u._start)),this._tTime=y,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,g=0),!g&&(r||!_&&t>=0)&&!e&&je(this,"onStart"),r>=g&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||r>=i._start)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){u=0,s&&(y+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var C=t<0?t:r;i;){if(s=i._prev,(i._act||C<=i._end)&&i._ts&&u!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(C-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(C-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){u=0,s&&(y+=this._zTime=C?-1e-8:tt);break}}i=s}}if(u&&!e&&(this.pause(),u.render(r>=g?0:-1e-8)._zTime=r>=g?1:-1,this._ts))return this._start=h,ue(this),this.render(t,e,n);this._onUpdate&&!e&&je(this,"onUpdate",!0),(y===m&&m>=this.totalDuration()||!y&&g)&&(h!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!_)&&(y===m&&this._ts>0||!y&&this._ts<0)&&re(this,1),e||t<0&&!g||!y&&!g||(je(this,y===m?"onComplete":"onReverseComplete",!0),this._prom&&!(y<m&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(ut(e)||(e=ye(this,e)),!(t instanceof an)){if(mt(t))return t.forEach((function(t){return n.add(t,e)})),this;if(at(t))return this.addLabel(t,e);if(!lt(t))return this;t=_n.delayedCall(0,t)}return this!==t?de(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-X);for(var i=[],s=this._first;s;)s._start>=r&&(s instanceof _n?e&&i.push(s):(n&&i.push(s),t&&i.push.apply(i,s.getChildren(!0,e,n)))),s=s._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return at(t)?this.removeLabel(t):lt(t)?this.killTweensOf(t):(ne(this,t),t===this._recent&&(this._recent=this._last),ie(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=zt(We.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=ye(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=_n.delayedCall(0,e||kt,n);return r.data="isPause",this._hasPause=1,de(this,r,ye(this,t))},n.removePause=function(t){var e=this._first;for(t=ye(this,t);e;)e._start===t&&"isPause"===e.data&&re(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)un!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=Ee(t),s=this._first,o=ut(e);s;)s instanceof _n?qt(s._targets,i)&&(o?(!un||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&r.push(s):(n=s.getTweensOf(i,e)).length&&r.push.apply(r,n),s=s._next;return r},n.tweenTo=function(t,e){e=e||{};var n=this,r=ye(n,t),i=e.startAt,s=e.onStart,o=e.onStartParams,a=e.immediateRender,l=_n.to(n,Zt({ease:"none",lazy:!1,immediateRender:!1,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(i&&"time"in i?i.time:n._time))/n.timeScale())||tt,onStart:function(){n.pause();var t=e.duration||Math.abs((r-n._time)/n.timeScale());l._dur!==t&&ge(l,t,0,1).render(l._time,!0,!0),s&&s.apply(l,o||[])}},e));return a?l.render(0):l},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Zt({startAt:{time:ye(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),Re(this,ye(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),Re(this,ye(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+tt)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,s=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in s)s[r]>=n&&(s[r]+=t);return ie(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),ie(this)},n.totalDuration=function(t){var e,n,r,i=0,s=this,o=s._last,a=X;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(r=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,de(s,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(i-=n,(!r&&!s._dp||r&&r.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-Infinity),a=0),o._end>i&&o._ts&&(i=o._end),o=e;ge(s,s===L&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(L._ts&&(Gt(L,le(t,L)),q=We.frame),We.frame>=Nt){Nt+=Q.autoSleep||120;var e=L._first;if((!e||!e._ts)&&Q.autoSleep&&We._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||We.sleep()}}},e}(an);Zt(ln.prototype,{_lock:0,_hasPause:0,_forcing:0});var un,cn=function(t,e,n,r,i,s,o){var a,l,u,c,h,d,p,f,g=new Pn(this._pt,t,e,0,1,On,null,i),m=0,_=0;for(g.b=n,g.e=r,n+="",(p=~(r+="").indexOf("random("))&&(r=Pe(r)),s&&(s(f=[n,r],t,e),n=f[0],r=f[1]),l=n.match(vt)||[];a=vt.exec(r);)c=a[0],h=r.substring(m,a.index),u?u=(u+1)%5:"rgba("===h.substr(-5)&&(u=1),c!==l[_++]&&(d=parseFloat(l[_-1])||0,g._pt={_next:g._pt,p:h||1===_?h:",",s:d,c:"="===c.charAt(1)?parseFloat(c.substr(2))*("-"===c.charAt(0)?-1:1):parseFloat(c)-d,m:u&&u<4?Math.round:0},m=vt.lastIndex);return g.c=m<r.length?r.substring(m,r.length):"",g.fp=o,(wt.test(r)||p)&&(g.e=0),this._pt=g,g},hn=function(t,e,n,r,i,s,o,a,l){lt(r)&&(r=r(i||0,t,s));var u,c=t[e],h="get"!==n?n:lt(c)?l?t[e.indexOf("set")||!lt(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,d=lt(c)?l?vn:bn:yn;if(at(r)&&(~r.indexOf("random(")&&(r=Pe(r)),"="===r.charAt(1)&&(r=parseFloat(h)+parseFloat(r.substr(2))*("-"===r.charAt(0)?-1:1)+(we(h)||0))),h!==r)return isNaN(h*r)?(!c&&!(e in t)&&Dt(e,r),cn.call(this,t,e,h,r,d,a||Q.stringFilter,l)):(u=new Pn(this._pt,t,e,+h||0,r-(h||0),"boolean"==typeof c?En:Sn,0,d),l&&(u.fp=l),o&&u.modifier(o,this,t),this._pt=u)},dn=function(t,e,n,r,i,s){var o,a,l,u;if(jt[t]&&!1!==(o=new jt[t]).init(i,o.rawVars?e[t]:function(t,e,n,r,i){if(lt(t)&&(t=fn(t,i,e,n,r)),!ht(t)||t.style&&t.nodeType||mt(t)||gt(t))return at(t)?fn(t,i,e,n,r):t;var s,o={};for(s in t)o[s]=fn(t[s],i,e,n,r);return o}(e[t],r,i,s,n),n,r,s)&&(n._pt=a=new Pn(n._pt,i,t,0,1,o.render,o,0,o.priority),n!==$))for(l=n._ptLookup[n._targets.indexOf(i)],u=o._props.length;u--;)l[o._props[u]]=a;return o},pn=function t(e,n){var r,i,s,o,a,l,u,c,h,d,p,f,g,m=e.vars,_=m.ease,y=m.startAt,b=m.immediateRender,v=m.lazy,w=m.onUpdate,C=m.onUpdateParams,S=m.callbackScope,E=m.runBackwards,O=m.yoyoEase,x=m.autoRevert,D=e._dur,A=e._startAt,T=e._targets,k=e.parent,P=k&&"nested"===k.data?k.parent._targets:T,F="auto"===e._overwrite&&!V,R=e.timeline;if(R&&(!m.keyframes||!_)&&(_="none"),e._ease=tn(_,Y.ease),e._yEase=O?Ye(tn(!0===O?_:O,Y.ease)):0,O&&e._yoyo&&!e._repeat&&(O=e._yEase,e._yEase=e._ease,e._ease=O),!R){if(f=(c=T[0]?Bt(T[0]).harness:0)&&m[c.prop],r=te(m,Pt),A&&A.render(-1,!0).kill(),y){if(re(e._startAt=_n.set(T,Zt({data:"isStart",overwrite:!1,parent:k,immediateRender:!0,lazy:dt(v),startAt:null,delay:0,onUpdate:w,onUpdateParams:C,callbackScope:S,stagger:0},y))),b)if(n>0)x||(e._startAt=0);else if(D&&!(n<0&&A))return void(n&&(e._zTime=n))}else if(E&&D)if(A)!x&&(e._startAt=0);else if(n&&(b=!1),s=Zt({overwrite:!1,data:"isFromStart",lazy:b&&dt(v),immediateRender:b,stagger:0,parent:k},r),f&&(s[c.prop]=f),re(e._startAt=_n.set(T,s)),b){if(!n)return}else t(e._startAt,tt);for(e._pt=0,v=D&&dt(v)||v&&!D,i=0;i<T.length;i++){if(u=(a=T[i])._gsap||Lt(T)[i]._gsap,e._ptLookup[i]=d={},Rt[u.id]&&Ft.length&&Wt(),p=P===T?i:P.indexOf(a),c&&!1!==(h=new c).init(a,f||r,e,p,P)&&(e._pt=o=new Pn(e._pt,a,h.name,0,1,h.render,h,0,h.priority),h._props.forEach((function(t){d[t]=o})),h.priority&&(l=1)),!c||f)for(s in r)jt[s]&&(h=dn(s,r,e,p,a,P))?h.priority&&(l=1):d[s]=o=hn.call(e,a,s,"get",r[s],p,P,0,m.stringFilter);e._op&&e._op[i]&&e.kill(a,e._op[i]),F&&e._pt&&(un=e,L.killTweensOf(a,d,e.globalTime(0)),g=!e.parent,un=0),e._pt&&v&&(Rt[u.id]=1)}l&&kn(e),e._onInit&&e._onInit(e)}e._from=!R&&!!m.runBackwards,e._onUpdate=w,e._initted=(!e._op||e._pt)&&!g},fn=function(t,e,n,r,i){return lt(t)?t.call(e,n,r,i):at(t)&&~t.indexOf("random(")?Pe(t):t},gn=Vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",mn=(gn+",id,stagger,delay,duration,paused,scrollTrigger").split(","),_n=function(t){function e(e,n,r,i){var s;"number"==typeof n&&(r.duration=n,n=r,r=null);var o,a,l,u,c,h,d,p,f=(s=t.call(this,i?n:ee(n),r)||this).vars,g=f.duration,m=f.delay,_=f.immediateRender,y=f.stagger,b=f.overwrite,v=f.keyframes,w=f.defaults,C=f.scrollTrigger,S=f.yoyoEase,E=s.parent,O=(mt(e)||gt(e)?ut(e[0]):"length"in n)?[e]:Ee(e);if(s._targets=O.length?Lt(O):At("GSAP target "+e+" not found. https://greensock.com",!Q.nullTargetWarn)||[],s._ptLookup=[],s._overwrite=b,v||y||ft(g)||ft(m)){if(n=s.vars,(o=s.timeline=new ln({data:"nested",defaults:w||{}})).kill(),o.parent=o._dp=N(s),o._start=0,v)Zt(o.vars.defaults,{ease:"none"}),v.forEach((function(t){return o.to(O,t,">")}));else{if(u=O.length,d=y?xe(y):kt,ht(y))for(c in y)~gn.indexOf(c)&&(p||(p={}),p[c]=y[c]);for(a=0;a<u;a++){for(c in l={},n)mn.indexOf(c)<0&&(l[c]=n[c]);l.stagger=0,S&&(l.yoyoEase=S),p&&Yt(l,p),h=O[a],l.duration=+fn(g,N(s),a,h,O),l.delay=(+fn(m,N(s),a,h,O)||0)-s._delay,!y&&1===u&&l.delay&&(s._delay=m=l.delay,s._start+=m,l.delay=0),o.to(h,l,d(a,h,O))}o.duration()?g=m=0:s.timeline=0}g||s.duration(g=o.duration())}else s.timeline=0;return!0!==b||V||(un=N(s),L.killTweensOf(O),un=0),E&&he(E,N(s)),(_||!g&&!v&&s._start===zt(E._time)&&dt(_)&&function t(e){return!e||e._ts&&t(e.parent)}(N(s))&&"nested"!==E.data)&&(s._tTime=-1e-8,s.render(Math.max(0,-m))),C&&pe(N(s),C),s}I(e,t);var n=e.prototype;return n.render=function(t,e,n){var r,i,s,o,a,l,u,c,h,d=this._time,p=this._tDur,f=this._dur,g=t>p-tt&&t>=0?p:t<tt?0:t;if(f){if(g!==this._tTime||!t||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(r=g,c=this.timeline,this._repeat){if(o=f+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,n);if(r=zt(g%o),g===p?(s=this._repeat,r=f):((s=~~(g/o))&&s===g/o&&(r=f,s--),r>f&&(r=f)),(l=this._yoyo&&1&s)&&(h=this._yEase,r=f-r),a=ae(this._tTime,o),r===d&&!n&&this._initted)return this;s!==a&&(c&&this._yEase&&Xe(c,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=n=1,this.render(zt(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(fe(this,t<0?t:r,n,e))return this._tTime=0,this;if(f!==this._dur)return this.render(t,e,n)}for(this._tTime=g,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=u=(h||this._ease)(r/f),this._from&&(this.ratio=u=1-u),r&&!d&&!e&&je(this,"onStart"),i=this._pt;i;)i.r(u,i.d),i=i._next;c&&c.render(t<0?t:!r&&l?-1e-8:c._dur*u,e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),je(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&je(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&re(this,1),e||t<0&&!d||!g&&!d||(je(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,n,r){var i,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))}(t)||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data)?0:1,u=t._rDelay,c=0;if(u&&t._repeat&&(c=ve(0,t._tDur,e),s=ae(c,u),o=ae(t._tTime,u),t._yoyo&&1&s&&(l=1-l),s!==o&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||r||t._zTime===tt||!e&&t._zTime){if(!t._initted&&fe(t,e,r,n))return;for(o=t._zTime,t._zTime=e||(n?tt:0),n||(n=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,n||je(t,"onStart"),i=t._pt;i;)i.r(l,i.d),i=i._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&je(t,"onUpdate"),c&&t._repeat&&!n&&t.parent&&je(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&re(t,1),n||(je(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Me(this):this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,un&&!0!==un.vars.overwrite)._first||Me(this),this.parent&&n!==this.timeline.totalDuration()&&ge(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,s,o,a,l,u,c=this._targets,h=t?Ee(t):c,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(c,h))return"all"===e&&(this._pt=0),Me(this);for(r=this._op=this._op||[],"all"!==e&&(at(e)&&(a={},Ut(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var n,r,i,s,o=t[0]?Bt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(r in n=Yt({},e),a)if(r in n)for(i=(s=a[r].split(",")).length;i--;)n[s[i]]=n[r];return n}(c,e)),u=c.length;u--;)if(~h.indexOf(c[u]))for(a in i=d[u],"all"===e?(r[u]=e,o=i,s={}):(s=r[u]=r[u]||{},o=e),o)(l=i&&i[a])&&("kill"in l.d&&!0!==l.d.kill(a)||ne(this,l,"_pt"),delete i[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&Me(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,n){return new e(t,$t(arguments,1))},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,n,r){return new e(t,$t(arguments,2))},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return L.killTweensOf(t,e,n)},e}(an);Zt(_n.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ut("staggerTo,staggerFrom,staggerFromTo",(function(t){_n[t]=function(){var e=new ln,n=Ce.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var yn=function(t,e,n){return t[e]=n},bn=function(t,e,n){return t[e](n)},vn=function(t,e,n,r){return t[e](r.fp,n)},wn=function(t,e,n){return t.setAttribute(e,n)},Cn=function(t,e){return lt(t[e])?bn:ct(t[e])&&t.setAttribute?wn:yn},Sn=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},En=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},On=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},xn=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},Dn=function(t,e,n,r){for(var i,s=this._pt;s;)i=s._next,s.p===r&&s.modifier(t,e,n),s=i},An=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?ne(this,r,"_pt"):r.dep||(e=1),r=n;return!e},Tn=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},kn=function(t){for(var e,n,r,i,s=t._pt;s;){for(e=s._next,n=r;n&&n.pr>s.pr;)n=n._next;(s._prev=n?n._prev:i)?s._prev._next=s:r=s,(s._next=n)?n._prev=s:i=s,s=e}t._pt=r},Pn=function(){function t(t,e,n,r,i,s,o,a,l){this.t=e,this.s=r,this.c=i,this.p=n,this.r=s||Sn,this.d=o||this,this.set=a||yn,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=Tn,this.m=t,this.mt=n,this.tween=e},t}();Ut(Vt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return Pt[t]=1})),Et.TweenMax=Et.TweenLite=_n,Et.TimelineLite=Et.TimelineMax=ln,L=new ln({sortChildren:!1,defaults:Y,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Q.stringFilter=$e;var Fn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach((function(t){return Ne(t)}))},timeline:function(t){return new ln(t)},getTweensOf:function(t,e){return L.getTweensOf(t,e)},getProperty:function(t,e,n,r){at(t)&&(t=Ee(t)[0]);var i=Bt(t||{}).get,s=n?Jt:Kt;return"native"===n&&(n=""),t?e?s((jt[e]&&jt[e].get||i)(t,e,n,r)):function(e,n,r){return s((jt[e]&&jt[e].get||i)(t,e,n,r))}:t},quickSetter:function(t,e,n){if((t=Ee(t)).length>1){var r=t.map((function(t){return Mn.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}var s=jt[e],o=Bt(t=t[0]||{}),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var r=new s;$._pt=0,r.init(t,n?e+n:e,$,0,[t]),r.render(1,r),$._pt&&xn(1,$)}:o.set(t,a);return s?l:function(e){return l(t,a,n?e+n:e,o,1)}},isTweening:function(t){return L.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=tn(t.ease,Y.ease)),Xt(Y,t||{})},config:function(t){return Xt(Q,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.defaults,i=t.extendTimeline;(t.plugins||"").split(",").forEach((function(t){return t&&!jt[t]&&!Et[t]&&At(e+" effect requires "+t+" plugin.")})),Mt[e]=function(t,e,i){return n(Ee(t),Zt(e||{},r),i)},i&&(ln.prototype[e]=function(t,n,r){return this.add(Mt[e](t,ht(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){Ke[t]=tn(e)},parseEase:function(t,e){return arguments.length?tn(t,e):Ke},getById:function(t){return L.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new ln(t);for(i.smoothChildTiming=dt(t.smoothChildTiming),L.remove(i),i._dp=0,i._time=i._tTime=L._time,n=L._first;n;)r=n._next,!e&&!n._dur&&n instanceof _n&&n.vars.onComplete===n._targets[0]||de(i,n,n._start-n._delay),n=r;return de(L,i,0),i},utils:{wrap:function t(e,n,r){var i=n-e;return mt(e)?ke(e,t(0,e.length),n):be(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,s=2*i;return mt(e)?ke(e,t(0,e.length-1),n):be(r,(function(t){return e+((t=(s+(t-e)%s)%s||0)>i?s-t:t)}))},distribute:xe,random:Te,snap:Ae,normalize:function(t,e,n){return Fe(t,e,0,1,n)},getUnit:we,clamp:function(t,e,n){return be(n,(function(n){return ve(t,e,n)}))},splitColor:Be,toArray:Ee,mapRange:Fe,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(n){return t(parseFloat(n))+(e||we(n))}},interpolate:function t(e,n,r,i){var s=isNaN(e+n)?0:function(t){return(1-t)*e+t*n};if(!s){var o,a,l,u,c,h=at(e),d={};if(!0===r&&(i=1)&&(r=null),h)e={p:e},n={p:n};else if(mt(e)&&!mt(n)){for(l=[],c=(u=e.length)-2,a=1;a<u;a++)l.push(t(e[a-1],e[a]));u--,s=function(t){t*=u;var e=Math.min(c,~~t);return l[e](t-e)},r=n}else i||(e=Yt(mt(e)?[]:{},e));if(!l){for(o in n)hn.call(d,e,o,"get",n[o]);s=function(t){return xn(t,d)||(h?e.p:e)}}}return be(r,s)},shuffle:Oe},install:xt,effects:Mt,ticker:We,updateRoot:ln.updateRoot,plugins:jt,globalTimeline:L,core:{PropTween:Pn,globals:Tt,Tween:_n,Timeline:ln,Animation:an,getCache:Bt,_removeLinkedListItem:ne,suppressOverwrites:function(t){return V=t}}};Ut("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Fn[t]=_n[t]})),We.add(ln.updateRoot),$=Fn.to({},{duration:0});var Rn=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},jn=function(t,e){return{name:t,rawVars:1,init:function(t,n,r){r._onInit=function(t){var r,i;if(at(n)&&(r={},Ut(n,(function(t){return r[t]=1})),n=r),e){for(i in r={},n)r[i]=e(n[i]);n=r}!function(t,e){var n,r,i,s=t._targets;for(n in e)for(r=s.length;r--;)(i=t._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=Rn(i,n)),i&&i.modifier&&i.modifier(e[n],t,s[r],n))}(t,n)}}}},Mn=Fn.registerPlugin({name:"attr",init:function(t,e,n,r,i){var s,o;for(s in e)(o=this.add(t,"setAttribute",(t.getAttribute(s)||0)+"",e[s],r,i,0,0,s))&&(o.op=s),this._props.push(s)}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n])}},jn("roundProps",De),jn("modifiers"),jn("snap",Ae))||Fn;_n.version=ln.version=Mn.version="3.6.0",z=1,pt()&&Ge();var Nn,In,Vn,Ln,Bn,Hn,Un,zn,qn={},$n=180/Math.PI,Wn=Math.PI/180,Gn=Math.atan2,Kn=/([A-Z])/g,Jn=/(?:left|right|width|margin|padding|x)/i,Zn=/[\s,\(]\S/,Qn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Yn=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Xn=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},tr=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},er=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},nr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},rr=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},ir=function(t,e,n){return t.style[e]=n},sr=function(t,e,n){return t.style.setProperty(e,n)},or=function(t,e,n){return t._gsap[e]=n},ar=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},lr=function(t,e,n,r,i){var s=t._gsap;s.scaleX=s.scaleY=n,s.renderTransform(i,s)},ur=function(t,e,n,r,i){var s=t._gsap;s[e]=n,s.renderTransform(i,s)},cr="transform",hr=cr+"Origin",dr=function(t,e){var n=In.createElementNS?In.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):In.createElement(t);return n.style?n:In.createElement(t)},pr=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Kn,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,gr(n)||n,1)||""},fr="O,Moz,ms,Ms,Webkit".split(","),gr=function(t,e,n){var r=(e||Bn).style,i=5;if(t in r&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);i--&&!(fr[i]+t in r););return i<0?null:(3===i?"ms":i>=0?fr[i]:"")+t},mr=function(){"undefined"!=typeof window&&window.document&&(Nn=window,Vn=(In=Nn.document).documentElement,Bn=dr("div")||{style:{}},Hn=dr("div"),cr=gr(cr),hr=cr+"Origin",Bn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",zn=!!gr("perspective"),Ln=1)},_r=function t(e){var n,r=dr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Vn.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(a){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),Vn.removeChild(r),this.style.cssText=o,n},yr=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},br=function(t){var e;try{e=t.getBBox()}catch(n){e=_r.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===_r||(e=_r.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+yr(t,["x","cx","x1"])||0,y:+yr(t,["y","cy","y1"])||0,width:0,height:0}},vr=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!br(t))},wr=function(t,e){if(e){var n=t.style;e in qn&&e!==hr&&(e=cr),n.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty(e.replace(Kn,"-$1").toLowerCase())):n.removeAttribute(e)}},Cr=function(t,e,n,r,i,s){var o=new Pn(t._pt,e,n,0,1,s?rr:nr);return t._pt=o,o.b=r,o.e=i,t._props.push(n),o},Sr={deg:1,rad:1,turn:1},Er=function t(e,n,r,i){var s,o,a,l,u=parseFloat(r)||0,c=(r+"").trim().substr((u+"").length)||"px",h=Bn.style,d=Jn.test(n),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),g=100,m="px"===i,_="%"===i;return i===c||!u||Sr[i]||Sr[c]?u:("px"!==c&&!m&&(u=t(e,n,r,"px")),l=e.getCTM&&vr(e),!_&&"%"!==c||!qn[n]&&!~n.indexOf("adius")?(h[d?"width":"height"]=g+(m?c:i),o=~n.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==In&&o.appendChild||(o=In.body),(a=o._gsap)&&_&&a.width&&d&&a.time===We.time?zt(u/a.width*g):((_||"%"===c)&&(h.position=pr(e,"position")),o===e&&(h.position="static"),o.appendChild(Bn),s=Bn[f],o.removeChild(Bn),h.position="absolute",d&&_&&((a=Bt(o)).time=We.time,a.width=o[f]),zt(m?s*u/g:s&&u?g/s*u:0))):(s=l?e.getBBox()[d?"width":"height"]:e[f],zt(_?u/s*g:u/100*s)))},Or=function(t,e,n,r){var i;return Ln||mr(),e in Qn&&"transform"!==e&&~(e=Qn[e]).indexOf(",")&&(e=e.split(",")[0]),qn[e]&&"transform"!==e?(i=Nr(t,r),i="transformOrigin"!==e?i[e]:Ir(pr(t,hr))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=Tr[e]&&Tr[e](t,e,n)||pr(t,e)||Ht(t,e)||("opacity"===e?1:0)),n&&!~(i+"").trim().indexOf(" ")?Er(t,e,i,n)+n:i},xr=function(t,e,n,r){if(!n||"none"===n){var i=gr(e,t,1),s=i&&pr(t,i,1);s&&s!==n?(e=i,n=s):"borderColor"===e&&(n=pr(t,"borderTopColor"))}var o,a,l,u,c,h,d,p,f,g,m,_,y=new Pn(this._pt,t.style,e,0,1,On),b=0,v=0;if(y.b=n,y.e=r,n+="","auto"==(r+="")&&(t.style[e]=r,r=pr(t,e)||r,t.style[e]=n),$e(o=[n,r]),r=o[1],l=(n=o[0]).match(bt)||[],(r.match(bt)||[]).length){for(;a=bt.exec(r);)d=a[0],f=r.substring(b,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(h=l[v++]||"")&&(u=parseFloat(h)||0,m=h.substr((u+"").length),(_="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),p=parseFloat(d),g=d.substr((p+"").length),b=bt.lastIndex-g.length,g||(g=g||Q.units[e]||m,b===r.length&&(r+=g,y.e+=g)),m!==g&&(u=Er(t,e,h,g)||0),y._pt={_next:y._pt,p:f||1===v?f:",",s:u,c:_?_*p:p-u,m:c&&c<4||"zIndex"===e?Math.round:0});y.c=b<r.length?r.substring(b,r.length):""}else y.r="display"===e&&"none"===r?rr:nr;return wt.test(r)&&(y.e=0),this._pt=y,y},Dr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ar=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n,r,i,s=e.t,o=e.u,a=s._gsap;if("all"===o||!0===o)s.style.cssText="",r=1;else for(i=(o=o.split(",")).length;--i>-1;)qn[n=o[i]]&&(r=1,n="transformOrigin"===n?hr:cr),wr(s,n);r&&(wr(s,cr),a&&(a.svg&&s.removeAttribute("transform"),Nr(s,1),a.uncache=1))}},Tr={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var s=t._pt=new Pn(t._pt,e,n,0,0,Ar);return s.u=r,s.pr=-10,s.tween=i,t._props.push(n),1}}},kr=[1,0,0,1,0,0],Pr={},Fr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Rr=function(t){var e=pr(t,cr);return Fr(e)?kr:e.substr(7).match(yt).map(zt)},jr=function(t,e){var n,r,i,s,o=t._gsap||Bt(t),a=t.style,l=Rr(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?kr:l:(l!==kr||t.offsetParent||t===Vn||o.svg||(i=a.display,a.display="block",(n=t.parentNode)&&t.offsetParent||(s=1,r=t.nextSibling,Vn.appendChild(t)),l=Rr(t),i?a.display=i:wr(t,"display"),s&&(r?n.insertBefore(t,r):n?n.appendChild(t):Vn.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Mr=function(t,e,n,r,i,s){var o,a,l,u=t._gsap,c=i||jr(t,!0),h=u.xOrigin||0,d=u.yOrigin||0,p=u.xOffset||0,f=u.yOffset||0,g=c[0],m=c[1],_=c[2],y=c[3],b=c[4],v=c[5],w=e.split(" "),C=parseFloat(w[0])||0,S=parseFloat(w[1])||0;n?c!==kr&&(a=g*y-m*_)&&(l=C*(-m/a)+S*(g/a)-(g*v-m*b)/a,C=C*(y/a)+S*(-_/a)+(_*v-y*b)/a,S=l):(C=(o=br(t)).x+(~w[0].indexOf("%")?C/100*o.width:C),S=o.y+(~(w[1]||w[0]).indexOf("%")?S/100*o.height:S)),r||!1!==r&&u.smooth?(u.xOffset=p+((b=C-h)*g+(v=S-d)*_)-b,u.yOffset=f+(b*m+v*y)-v):u.xOffset=u.yOffset=0,u.xOrigin=C,u.yOrigin=S,u.smooth=!!r,u.origin=e,u.originIsAbsolute=!!n,t.style[hr]="0px 0px",s&&(Cr(s,u,"xOrigin",h,C),Cr(s,u,"yOrigin",d,S),Cr(s,u,"xOffset",p,u.xOffset),Cr(s,u,"yOffset",f,u.yOffset)),t.setAttribute("data-svg-origin",C+" "+S)},Nr=function(t,e){var n=t._gsap||new on(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,s,o,a,l,u,c,h,d,p,f,g,m,_,y,b,v,w,C,S,E,O,x,D,A,T,k,P,F,R,j,M=t.style,N=n.scaleX<0,I="px",V="deg",L=pr(t,hr)||"0";return r=i=s=l=u=c=h=d=p=0,o=a=1,n.svg=!(!t.getCTM||!vr(t)),m=jr(t,n.svg),n.svg&&(x=!n.uncache&&t.getAttribute("data-svg-origin"),Mr(t,x||L,!!x||n.originIsAbsolute,!1!==n.smooth,m)),f=n.xOrigin||0,g=n.yOrigin||0,m!==kr&&(v=m[0],w=m[1],C=m[2],S=m[3],r=E=m[4],i=O=m[5],6===m.length?(o=Math.sqrt(v*v+w*w),a=Math.sqrt(S*S+C*C),l=v||w?Gn(w,v)*$n:0,(h=C||S?Gn(C,S)*$n+l:0)&&(a*=Math.cos(h*Wn)),n.svg&&(r-=f-(f*v+g*C),i-=g-(f*w+g*S))):(F=m[7],T=m[8],k=m[9],R=m[11],r=m[12],i=m[13],s=m[14],u=(_=Gn(j=m[6],P=m[10]))*$n,_&&(x=E*(y=Math.cos(-_))+T*(b=Math.sin(-_)),D=O*y+k*b,A=j*y+P*b,T=E*-b+T*y,k=O*-b+k*y,P=j*-b+P*y,R=F*-b+R*y,E=x,O=D,j=A),c=(_=Gn(-C,P))*$n,_&&(y=Math.cos(-_),R=S*(b=Math.sin(-_))+R*y,v=x=v*y-T*b,w=D=w*y-k*b,C=A=C*y-P*b),l=(_=Gn(w,v))*$n,_&&(x=v*(y=Math.cos(_))+w*(b=Math.sin(_)),D=E*y+O*b,w=w*y-v*b,O=O*y-E*b,v=x,E=D),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,c=180-c),o=zt(Math.sqrt(v*v+w*w+C*C)),a=zt(Math.sqrt(O*O+j*j)),_=Gn(E,O),h=Math.abs(_)>2e-4?_*$n:0,p=R?1/(R<0?-R:R):0),n.svg&&(x=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!Fr(pr(t,cr)),x&&t.setAttribute("transform",x))),Math.abs(h)>90&&Math.abs(h)<270&&(N?(o*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),n.x=r-((n.xPercent=r&&(n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+I,n.y=i-((n.yPercent=i&&(n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+I,n.z=s+I,n.scaleX=zt(o),n.scaleY=zt(a),n.rotation=zt(l)+V,n.rotationX=zt(u)+V,n.rotationY=zt(c)+V,n.skewX=h+V,n.skewY=d+V,n.transformPerspective=p+I,(n.zOrigin=parseFloat(L.split(" ")[2])||0)&&(M[hr]=Ir(L)),n.xOffset=n.yOffset=0,n.force3D=Q.force3D,n.renderTransform=n.svg?qr:zn?zr:Lr,n.uncache=0,n},Ir=function(t){return(t=t.split(" "))[0]+" "+t[1]},Vr=function(t,e,n){var r=we(e);return zt(parseFloat(e)+parseFloat(Er(t,"x",n+"px",r)))+r},Lr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,zr(t,e)},Br="0deg",Hr="0px",Ur=") ",zr=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,s=n.x,o=n.y,a=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,h=n.skewX,d=n.skewY,p=n.scaleX,f=n.scaleY,g=n.transformPerspective,m=n.force3D,_=n.target,y=n.zOrigin,b="",v="auto"===m&&t&&1!==t||!0===m;if(y&&(c!==Br||u!==Br)){var w,C=parseFloat(u)*Wn,S=Math.sin(C),E=Math.cos(C);C=parseFloat(c)*Wn,w=Math.cos(C),s=Vr(_,s,S*w*-y),o=Vr(_,o,-Math.sin(C)*-y),a=Vr(_,a,E*w*-y+y)}g!==Hr&&(b+="perspective("+g+Ur),(r||i)&&(b+="translate("+r+"%, "+i+"%) "),(v||s!==Hr||o!==Hr||a!==Hr)&&(b+=a!==Hr||v?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Ur),l!==Br&&(b+="rotate("+l+Ur),u!==Br&&(b+="rotateY("+u+Ur),c!==Br&&(b+="rotateX("+c+Ur),h===Br&&d===Br||(b+="skew("+h+", "+d+Ur),1===p&&1===f||(b+="scale("+p+", "+f+Ur),_.style[cr]=b||"translate(0, 0)"},qr=function(t,e){var n,r,i,s,o,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,h=a.y,d=a.rotation,p=a.skewX,f=a.skewY,g=a.scaleX,m=a.scaleY,_=a.target,y=a.xOrigin,b=a.yOrigin,v=a.xOffset,w=a.yOffset,C=a.forceCSS,S=parseFloat(c),E=parseFloat(h);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=Wn,p*=Wn,n=Math.cos(d)*g,r=Math.sin(d)*g,i=Math.sin(d-p)*-m,s=Math.cos(d-p)*m,p&&(f*=Wn,o=Math.tan(p-f),i*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),n*=o=Math.sqrt(1+o*o),r*=o)),n=zt(n),r=zt(r),i=zt(i),s=zt(s)):(n=g,s=m,r=i=0),(S&&!~(c+"").indexOf("px")||E&&!~(h+"").indexOf("px"))&&(S=Er(_,"x",c,"px"),E=Er(_,"y",h,"px")),(y||b||v||w)&&(S=zt(S+y-(y*n+b*i)+v),E=zt(E+b-(y*r+b*s)+w)),(l||u)&&(o=_.getBBox(),S=zt(S+l/100*o.width),E=zt(E+u/100*o.height)),_.setAttribute("transform",o="matrix("+n+","+r+","+i+","+s+","+S+","+E+")"),C&&(_.style[cr]=o)},$r=function(t,e,n,r,i,s){var o,a,l=360,u=at(i),c=parseFloat(i)*(u&&~i.indexOf("rad")?$n:1),h=s?c*s:c-r,d=r+h+"deg";return u&&("short"===(o=i.split("_")[1])&&(h%=l)!=h%180&&(h+=h<0?l:-360),"cw"===o&&h<0?h=(h+36e9)%l-~~(h/l)*l:"ccw"===o&&h>0&&(h=(h-36e9)%l-~~(h/l)*l)),t._pt=a=new Pn(t._pt,e,n,r,h,Xn),a.e=d,a.u="deg",t._props.push(n),a},Wr=function(t,e,n){var r,i,s,o,a,l,u,c=Hn.style,h=n._gsap;for(i in c.cssText=getComputedStyle(n).cssText+";position:absolute;display:block;",c[cr]=e,In.body.appendChild(Hn),r=Nr(Hn,1),qn)(s=h[i])!==(o=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(a=we(s)!==(u=we(o))?Er(n,i,s,u):parseFloat(s),l=parseFloat(o),t._pt=new Pn(t._pt,h,i,a,l-a,Yn),t._pt.u=u||0,t._props.push(i));In.body.removeChild(Hn)};Ut("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map((function(n){return e<2?t+n:"border"+n+t}));Tr[e>1?"border"+t:t]=function(t,e,n,r,i){var s,a;if(arguments.length<4)return s=o.map((function(e){return Or(t,e,n)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(r+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,i)}}));var Gr,Kr,Jr={name:"css",register:mr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var s,o,a,l,u,c,h,d,p,f,g,m,_,y,b,v,w,C,S,E=this._props,O=t.style,x=n.vars.startAt;for(h in Ln||mr(),e)if("autoRound"!==h&&(o=e[h],!jt[h]||!dn(h,e,n,r,t,i)))if(c=Tr[h],"function"==(u=typeof o)&&(u=typeof(o=o.call(n,r,t,i))),"string"===u&&~o.indexOf("random(")&&(o=Pe(o)),c)c(this,t,h,o,n)&&(b=1);else if("--"===h.substr(0,2))s=(getComputedStyle(t).getPropertyValue(h)+"").trim(),o+="",d=we(s),(p=we(o))?d!==p&&(s=Er(t,h,s,p)+p):d&&(o+=d),this.add(O,"setProperty",s,o,r,i,0,0,h);else if("undefined"!==u){if(x&&h in x?(s="function"==typeof x[h]?x[h].call(n,r,t,i):x[h],h in Q.units&&!we(s)&&(s+=Q.units[h]),"="===(s+"").charAt(1)&&(s=Or(t,h))):s=Or(t,h),l=parseFloat(s),(f="string"===u&&"="===o.charAt(1)?+(o.charAt(0)+"1"):0)&&(o=o.substr(2)),a=parseFloat(o),h in Qn&&("autoAlpha"===h&&(1===l&&"hidden"===Or(t,"visibility")&&a&&(l=0),Cr(this,O,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=Qn[h]).indexOf(",")&&(h=h.split(",")[0])),g=h in qn)if(m||((_=t._gsap).renderTransform&&!e.parseTransform||Nr(t,e.parseTransform),y=!1!==e.smoothOrigin&&_.smooth,(m=this._pt=new Pn(this._pt,O,cr,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===h)this._pt=new Pn(this._pt,_,"scaleY",_.scaleY,f?f*a:a-_.scaleY),E.push("scaleY",h),h+="X";else{if("transformOrigin"===h){w=void 0,C=void 0,S=void 0,S=(w=(v=o).split(" "))[1]||"50%","top"!==(C=w[0])&&"bottom"!==C&&"left"!==S&&"right"!==S||(v=C,C=S,S=v),w[0]=Dr[C]||C,w[1]=Dr[S]||S,o=w.join(" "),_.svg?Mr(t,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==_.zOrigin&&Cr(this,_,"zOrigin",_.zOrigin,p),Cr(this,O,h,Ir(s),Ir(o)));continue}if("svgOrigin"===h){Mr(t,o,1,y,0,this);continue}if(h in Pr){$r(this,_,h,l,o,f);continue}if("smoothOrigin"===h){Cr(this,_,"smooth",_.smooth,o);continue}if("force3D"===h){_[h]=o;continue}if("transform"===h){Wr(this,o,t);continue}}else h in O||(h=gr(h)||h);if(g||(a||0===a)&&(l||0===l)&&!Zn.test(o)&&h in O)a||(a=0),(d=(s+"").substr((l+"").length))!==(p=we(o)||(h in Q.units?Q.units[h]:d))&&(l=Er(t,h,s,p)),this._pt=new Pn(this._pt,g?_:O,h,l,f?f*a:a-l,g||"px"!==p&&"zIndex"!==h||!1===e.autoRound?Yn:er),this._pt.u=p||0,d!==p&&(this._pt.b=s,this._pt.r=tr);else if(h in O)xr.call(this,t,h,s,o);else{if(!(h in t)){Dt(h,o);continue}this.add(t,h,t[h],o,r,i)}E.push(h)}b&&kn(this)},get:Or,aliases:Qn,getSetter:function(t,e,n){var r=Qn[e];return r&&r.indexOf(",")<0&&(e=r),e in qn&&e!==hr&&(t._gsap.x||Or(t,"x"))?n&&Un===n?"scale"===e?ar:or:(Un=n||{})&&("scale"===e?lr:ur):t.style&&!ct(t.style[e])?ir:~e.indexOf("-")?sr:Cn(t,e)},core:{_removeProperty:wr,_getMatrix:jr}};Mn.utils.checkPrefix=gr,Kr=Ut("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(Gr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){qn[t]=1})),Ut(Gr,(function(t){Q.units[t]="deg",Pr[t]=1})),Qn[Kr[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Gr,Ut("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Qn[e[1]]=Kr[e[0]]})),Ut("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){Q.units[t]="px"})),Mn.registerPlugin(Jr);var Zr=Mn.registerPlugin(Jr)||Mn;let Qr,Yr,Xr,ti,ei,ni,ri,ii,si,oi,ai,li,ui,ci,hi,di,pi,fi,gi,mi,_i,yi,bi,vi,wi,Ci,Si,Ei=1,Oi=[],xi=[],Di=Date.now,Ai=Di(),Ti=0,ki=1,Pi=t=>t,Fi=()=>"undefined"!=typeof window,Ri=()=>Qr||Fi()&&(Qr=window.gsap)&&Qr.registerPlugin&&Qr,ji=t=>!!~ri.indexOf(t),Mi=(t,e)=>~Oi.indexOf(t)&&Oi[Oi.indexOf(t)+1][e],Ni=(t,{s:e,sc:n})=>{let r=xi.indexOf(t),i=n===rs.sc?1:2;return!~r&&(r=xi.push(t)-1),xi[r+i]||(xi[r+i]=Mi(t,e)||(ji(t)?n:function(n){return arguments.length?t[e]=n:t[e]}))},Ii=t=>Mi(t,"getBoundingClientRect")||(ji(t)?()=>(Us.width=Xr.innerWidth,Us.height=Xr.innerHeight,Us):()=>os(t)),Vi=(t,{s:e,d2:n,d:r,a:i})=>(e="scroll"+n)&&(i=Mi(t,e))?i()-Ii(t)()[r]:ji(t)?Math.max(ei[e],ni[e])-(Xr["inner"+n]||ei["client"+n]||ni["client"+n]):t[e]-t["offset"+n],Li=(t,e)=>{for(let n=0;n<_i.length;n+=3)(!e||~e.indexOf(_i[n+1]))&&t(_i[n],_i[n+1],_i[n+2])},Bi=t=>"string"==typeof t,Hi=t=>"function"==typeof t,Ui=t=>"number"==typeof t,zi=t=>"object"==typeof t,qi=t=>Hi(t)&&t(),$i=(t,e)=>()=>{let n=qi(t),r=qi(e);return()=>{qi(n),qi(r)}},Wi=Math.abs,Gi="left",Ki="right",Ji="bottom",Zi="width",Qi="height",Yi="padding",Xi="margin",ts="Width",es="px",ns={s:"scrollLeft",p:Gi,p2:"Left",os:Ki,os2:"Right",d:Zi,d2:ts,a:"x",sc:function(t){return arguments.length?Xr.scrollTo(t,rs.sc()):Xr.pageXOffset||ti.scrollLeft||ei.scrollLeft||ni.scrollLeft||0}},rs={s:"scrollTop",p:"top",p2:"Top",os:Ji,os2:"Bottom",d:Qi,d2:"Height",a:"y",op:ns,sc:function(t){return arguments.length?Xr.scrollTo(ns.sc(),t):Xr.pageYOffset||ti.scrollTop||ei.scrollTop||ni.scrollTop||0}},is=t=>Xr.getComputedStyle(t),ss=(t,e)=>{for(let n in e)n in t||(t[n]=e[n]);return t},os=(t,e)=>{let n=e&&"matrix(1, 0, 0, 1, 0, 0)"!==is(t)[pi]&&Qr.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=t.getBoundingClientRect();return n&&n.progress(0).kill(),r},as=(t,{d2:e})=>t["offset"+e]||t["client"+e]||0,ls=t=>{let e,n=[],r=t.labels,i=t.duration();for(e in r)n.push(r[e]/i);return n},us=(t,e,n,r)=>n.split(",").forEach(n=>t(e,n,r)),cs=(t,e,n)=>t.addEventListener(e,n,{passive:!0}),hs=(t,e,n)=>t.removeEventListener(e,n),ds={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ps={toggleActions:"play",anticipatePin:0},fs={top:0,left:0,center:.5,bottom:1,right:1},gs=(t,e)=>{if(Bi(t)){let n=t.indexOf("="),r=~n?+(t.charAt(n-1)+1)*parseFloat(t.substr(n+1)):0;~n&&(t.indexOf("%")>n&&(r*=e/100),t=t.substr(0,n-1)),t=r+(t in fs?fs[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},ms=(t,e,n,r,{startColor:i,endColor:s,fontSize:o,indent:a,fontWeight:l},u,c)=>{let h=ti.createElement("div"),d=ji(n)||"fixed"===Mi(n,"pinType"),p=-1!==t.indexOf("scroller"),f=d?ni:n,g=-1!==t.indexOf("start"),m=g?i:s,_="border-color:"+m+";font-size:"+o+";color:"+m+";font-weight:"+l+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return _+="position:"+(p&&d?"fixed;":"absolute;"),(p||!d)&&(_+=(r===rs?Ki:Ji)+":"+(u+parseFloat(a))+"px;"),c&&(_+="box-sizing:border-box;text-align:left;width:"+c.offsetWidth+"px;"),h._isStart=g,h.setAttribute("class","gsap-marker-"+t),h.style.cssText=_,h.innerText=e||0===e?t+"-"+e:t,f.children[0]?f.insertBefore(h,f.children[0]):f.appendChild(h),h._offset=h["offset"+r.op.d2],_s(h,0,r,g),h},_s=(t,e,n,r)=>{let i={display:"block"},s=n[r?"os2":"p2"],o=n[r?"p2":"os2"];t._isFlipped=r,i[n.a+"Percent"]=r?-100:0,i[n.a]=r?"1px":0,i["border"+s+ts]=1,i["border"+o+ts]=0,i[n.p]=e+"px",Qr.set(t,i)},ys=[],bs={},vs=()=>oi||(oi=si(Ms)),ws=()=>{oi||(oi=si(Ms),Ti||As("scrollStart"),Ti=Di())},Cs=()=>!hi&&!vi&&!ti.fullscreenElement&&ii.restart(!0),Ss={},Es=[],Os=[],xs=t=>{let e,n=Qr.ticker.frame,r=[],i=0;if(Si!==n||Ei){for(Ps();i<Os.length;i+=4)e=Xr.matchMedia(Os[i]).matches,e!==Os[i+3]&&(Os[i+3]=e,e?r.push(i):Ps(1,Os[i])||Hi(Os[i+2])&&Os[i+2]());for(ks(),i=0;i<r.length;i++)e=r[i],Ci=Os[e],Os[e+2]=Os[e+1](t);Ci=0,Yr&&Fs(0,1),Si=n,As("matchMedia")}},Ds=()=>hs(Gs,"scrollEnd",Ds)||Fs(!0),As=t=>Ss[t]&&Ss[t].map(t=>t())||Es,Ts=[],ks=t=>{for(let e=0;e<Ts.length;e+=4)t&&Ts[e+3]!==t||(Ts[e].style.cssText=Ts[e+1],Ts[e+2].uncache=1)},Ps=(t,e)=>{let n;for(fi=0;fi<ys.length;fi++)n=ys[fi],e&&n.media!==e||(t?n.kill(1):(n.scroll.rec||(n.scroll.rec=n.scroll()),n.revert()));ks(e),e||As("revert")},Fs=(t,e)=>{if(Ti&&!t)return void cs(Gs,"scrollEnd",Ds);let n=As("refreshInit");for(yi&&Gs.sort(),e||Ps(),fi=0;fi<ys.length;fi++)ys[fi].refresh();for(n.forEach(t=>t&&t.render&&t.render(-1)),fi=ys.length;fi--;)ys[fi].scroll.rec=0;ii.pause(),As("refresh")},Rs=0,js=1,Ms=()=>{let t=ys.length,e=Di(),n=e-Ai>=50,r=t&&ys[0].scroll();if(js=Rs>r?-1:1,Rs=r,n&&(Ti&&!di&&e-Ti>200&&(Ti=0,As("scrollEnd")),ui=Ai,Ai=e),js<0){for(fi=t;fi--;)ys[fi]&&ys[fi].update(0,n);js=1}else for(fi=0;fi<t;fi++)ys[fi]&&ys[fi].update(0,n);oi=0},Ns=[Gi,"top",Ji,Ki,"marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex"],Is=Ns.concat([Zi,Qi,"boxSizing","maxWidth","maxHeight","position",Xi,Yi,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),Vs=(t,e,n,r)=>{if(t.parentNode!==e){let i,s=Ns.length,o=e.style,a=t.style;for(;s--;)i=Ns[s],o[i]=n[i];o.position="absolute"===n.position?"absolute":"relative","inline"===n.display&&(o.display="inline-block"),a.bottom=a.right="auto",o.overflow="visible",o.boxSizing="border-box",o.width=as(t,ns)+es,o.height=as(t,rs)+es,o.padding=a.margin=a.top=a.left="0",Bs(r),a.width=a.maxWidth=n.width,a.height=a.maxHeight=n.height,a.padding=n.padding,t.parentNode.insertBefore(e,t),e.appendChild(t)}},Ls=/([A-Z])/g,Bs=t=>{if(t){let e,n,r=t.t.style,i=t.length,s=0;for((t.t._gsap||Qr.core.getCache(t.t)).uncache=1;s<i;s+=2)n=t[s+1],e=t[s],n?r[e]=n:r[e]&&r.removeProperty(e.replace(Ls,"-$1").toLowerCase())}},Hs=t=>{let e=Is.length,n=t.style,r=[],i=0;for(;i<e;i++)r.push(Is[i],n[Is[i]]);return r.t=t,r},Us={left:0,top:0},zs=(t,e,n,r,i,s,o,a,l,u,c,h)=>{if(Hi(t)&&(t=t(a)),Bi(t)&&"max"===t.substr(0,3)&&(t=h+("="===t.charAt(4)?gs("0"+t.substr(3),n):0)),Ui(t))o&&_s(o,n,r,!0);else{Hi(e)&&(e=e(a));let s,c,h,d=ai(e)[0]||ni,p=os(d)||{},f=t.split(" ");p&&(p.left||p.top)||"none"!==is(d).display||(h=d.style.display,d.style.display="block",p=os(d),h?d.style.display=h:d.style.removeProperty("display")),s=gs(f[0],p[r.d]),c=gs(f[1]||"0",n),t=p[r.p]-l[r.p]-u+s+i-c,o&&_s(o,c,r,n-c<20||o._isStart&&c>20),n-=n-c}if(s){let e=t+n,i=s._isStart;h="scroll"+r.d2,_s(s,e,r,i&&e>20||!i&&(c?Math.max(ni[h],ei[h]):s.parentNode[h])<=e+1),c&&(l=os(o),c&&(s.style[r.op.p]=l[r.op.p]-r.op.m-s._offset+es))}return Math.round(t)},qs=/(?:webkit|moz|length|cssText|inset)/i,$s=(t,e,n,r)=>{if(t.parentNode!==e){let i,s,o=t.style;if(e===ni){for(i in t._stOrig=o.cssText,s=is(t),s)+i||qs.test(i)||!s[i]||"string"!=typeof o[i]||"0"===i||(o[i]=s[i]);o.top=n,o.left=r}else o.cssText=t._stOrig;Qr.core.getCache(t).uncache=1,e.appendChild(t)}},Ws=(t,e)=>{let n,r,i=Ni(t,e),s="_scroll"+e.p2,o=(e,a,l,u,c)=>{let h=o.tween,d=a.onComplete,p={};return h&&h.kill(),n=Math.round(l),a[s]=e,a.modifiers=p,p[s]=t=>((t=Math.round(i()))!==n&&t!==r&&Math.abs(t-n)>2?(h.kill(),o.tween=0):t=l+u*h.ratio+c*h.ratio*h.ratio,r=n,n=Math.round(t)),a.onComplete=()=>{o.tween=0,d&&d.call(h)},h=o.tween=Qr.to(t,a),h};return t[s]=i,t.addEventListener("mousewheel",()=>o.tween&&o.tween.kill()&&(o.tween=0)),o};ns.op=rs;class Gs{constructor(t,e){Yr||Gs.register(Qr)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(t,e)}init(t,e){if(this.progress=this.start=0,this.vars&&this.kill(1),!ki)return void(this.update=this.refresh=this.kill=Pi);let n,r,i,s,o,a,l,u,c,h,d,p,f,g,m,_,y,b,v,w,C,S,E,O,x,D,A,T,k,P,F,R,j,M,N,I,V,L=(t=ss(Bi(t)||Ui(t)||t.nodeType?{trigger:t}:t,ps)).horizontal?ns:rs,{onUpdate:B,toggleClass:H,id:U,onToggle:z,onRefresh:q,scrub:$,trigger:W,pin:G,pinSpacing:K,invalidateOnRefresh:J,anticipatePin:Z,onScrubComplete:Q,onSnapComplete:Y,once:X,snap:tt,pinReparent:et}=t,nt=!$&&0!==$,rt=ai(t.scroller||Xr)[0],it=Qr.core.getCache(rt),st=ji(rt),ot="pinType"in t?"fixed"===t.pinType:st||"fixed"===Mi(rt,"pinType"),at=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],lt=nt&&t.toggleActions.split(" "),ut="markers"in t?t.markers:ps.markers,ct=st?0:parseFloat(is(rt)["border"+L.p2+ts])||0,ht=this,dt=t.onRefreshInit&&(()=>t.onRefreshInit(ht)),pt=((t,e,{d:n,d2:r,a:i})=>(i=Mi(t,"getBoundingClientRect"))?()=>i()[n]:()=>(e?Xr["inner"+r]:t["client"+r])||0)(rt,st,L),ft=((t,e)=>!e||~Oi.indexOf(t)?Ii(t):()=>Us)(rt,st);var gt,mt;ht.media=Ci,Z*=45,ys.push(ht),ht.scroller=rt,ht.scroll=Ni(rt,L),o=ht.scroll(),ht.vars=t,e=e||t.animation,"refreshPriority"in t&&(yi=1),it.tweenScroll=it.tweenScroll||{top:Ws(rt,rs),left:Ws(rt,ns)},ht.tweenTo=n=it.tweenScroll[L.p],e&&(e.vars.lazy=!1,e._initted||!1!==e.vars.immediateRender&&!1!==t.immediateRender&&e.render(0,!0,!0),ht.animation=e.pause(),e.scrollTrigger=ht,R=Ui($)&&$,R&&(F=Qr.to(e,{ease:"power3",duration:R,onComplete:()=>Q&&Q(ht)})),k=0,U||(U=e.vars.id)),tt&&(zi(tt)||(tt={snapTo:tt}),"scrollBehavior"in ni.style&&Qr.set(st?[ni,ei]:rt,{scrollBehavior:"auto"}),i=Hi(tt.snapTo)?tt.snapTo:"labels"===tt.snapTo?(t=>e=>Qr.utils.snap(ls(t),e))(e):"labelsDirectional"===tt.snapTo?(gt=e,(t,e)=>{let n,r=ls(gt);if(r.sort((t,e)=>t-e),e.direction>0){for(n=0;n<r.length;n++)if(r[n]>=t)return r[n];return r.pop()}for(n=r.length;n--;)if(r[n]<=t)return r[n];return r[0]}):Qr.utils.snap(tt.snapTo),j=tt.duration||{min:.1,max:2},j=zi(j)?li(j.min,j.max):li(j,j),M=Qr.delayedCall(tt.delay||R/2||.1,()=>{if(Math.abs(ht.getVelocity())<10&&!di){let t=e&&!nt?e.totalProgress():ht.progress,r=(t-P)/(Di()-ui)*1e3||0,s=Wi(r/2)*r/.185,o=t+s,a=li(0,1,i(o,ht)),c=ht.scroll(),h=Math.round(l+a*g),d=n.tween;if(c<=u&&c>=l&&h!==c){if(d&&!d._initted&&d.data<=Math.abs(h-c))return;n(h,{duration:j(Wi(.185*Math.max(Wi(o-t),Wi(a-t))/r/.05||0)),ease:tt.ease||"power3",data:Math.abs(h-c),onComplete:()=>{k=P=e&&!nt?e.totalProgress():ht.progress,Y&&Y(ht)}},c,s*g,h-c-s*g)}}else ht.isActive&&M.restart(!0)}).pause()),U&&(bs[U]=ht),W=ht.trigger=ai(W||G)[0],G=!0===G?W:ai(G)[0],Bi(H)&&(H={targets:W,className:H}),G&&(!1===K||K===Xi||(K=!(!K&&"flex"===is(G.parentNode).display)&&Yi),ht.pin=G,!1!==t.force3D&&Qr.set(G,{force3D:!0}),r=Qr.core.getCache(G),r.spacer?m=r.pinState:(r.spacer=b=ti.createElement("div"),b.setAttribute("class","pin-spacer"+(U?" pin-spacer-"+U:"")),r.pinState=m=Hs(G)),ht.spacer=b=r.spacer,T=is(G),O=T[K+L.os2],w=Qr.getProperty(G),C=Qr.quickSetter(G,L.a,es),Vs(G,b,T),y=Hs(G)),ut&&(f=zi(ut)?ss(ut,ds):ds,d=ms("scroller-start",U,rt,L,f,0),p=ms("scroller-end",U,rt,L,f,0,d),v=d["offset"+L.op.d2],c=ms("start",U,rt,L,f,v),h=ms("end",U,rt,L,f,v),ot||((mt=st?ni:rt).style.position="absolute"===is(mt).position?"absolute":"relative",Qr.set([d,p],{force3D:!0}),D=Qr.quickSetter(d,L.a,es),A=Qr.quickSetter(p,L.a,es))),ht.revert=t=>{let n=!1!==t||!ht.enabled,r=hi;n!==s&&(n&&(I=Math.max(ht.scroll(),ht.scroll.rec||0),N=ht.progress,V=e&&e.progress()),c&&[c,h,d,p].forEach(t=>t.style.display=n?"none":"block"),n&&(hi=1),ht.update(n),hi=r,G&&(n?((t,e,n)=>{if(Bs(n),t.parentNode===e){let n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}})(G,b,m):(!et||!ht.isActive)&&Vs(G,b,is(G),x)),s=n)},ht.refresh=n=>{if(hi||!ht.enabled)return;if(G&&n&&Ti)return void cs(Gs,"scrollEnd",Ds);hi=1,F&&F.pause(),J&&e&&e.progress(0).invalidate(),s||ht.revert();let r,i,f,v,C,O,D,A,T,k=pt(),P=ft(),R=Vi(rt,L),j=0,M=0,B=t.end,H=t.endTrigger||W,U=t.start||(0!==t.start&&W?G?"0 0":"0 100%":0),z=W&&Math.max(0,ys.indexOf(ht))||0,$=z;for(;$--;)D=ys[$].pin,D&&(D===W||D===G)&&ys[$].revert();for(l=zs(U,W,k,L,ht.scroll(),c,d,ht,P,ct,ot,R)||(G?-.001:0),Hi(B)&&(B=B(ht)),Bi(B)&&!B.indexOf("+=")&&(~B.indexOf(" ")?B=(Bi(U)?U.split(" ")[0]:"")+B:(j=gs(B.substr(2),k),B=Bi(U)?U:l+j,H=W)),u=Math.max(l,zs(B||(H?"100% 0":R),H,k,L,ht.scroll()+j,h,p,ht,P,ct,ot,R))||-.001,g=u-l||(l-=.01)&&.001,j=0,$=z;$--;)O=ys[$],D=O.pin,D&&O.start-O._pinPush<l&&(r=O.end-O.start,D===W&&(j+=r),D===G&&(M+=r));if(l+=j,u+=j,ht._pinPush=M,c&&j&&(r={},r[L.a]="+="+j,Qr.set([c,h],r)),G)r=is(G),v=L===rs,f=ht.scroll(),S=parseFloat(w(L.a))+M,!R&&u>1&&((st?ni:rt).style["overflow-"+L.a]="scroll"),Vs(G,b,r),y=Hs(G),i=os(G,!0),A=ot&&Ni(rt,v?ns:rs)(),K&&(x=[K+L.os2,g+M+es],x.t=b,$=K===Yi?as(G,L)+g+M:0,$&&x.push(L.d,$+es),Bs(x),ot&&ht.scroll(I)),ot&&(C={top:i.top+(v?f-l:A)+es,left:i.left+(v?A:f-l)+es,boxSizing:"border-box",position:"fixed"},C.width=C.maxWidth=Math.ceil(i.width)+es,C.height=C.maxHeight=Math.ceil(i.height)+es,C.margin=C.marginTop=C.marginRight=C.marginBottom=C.marginLeft="0",C.padding=r.padding,C.paddingTop=r.paddingTop,C.paddingRight=r.paddingRight,C.paddingBottom=r.paddingBottom,C.paddingLeft=r.paddingLeft,_=((t,e,n)=>{let r,i=[],s=t.length,o=n?8:0;for(;o<s;o+=2)r=t[o],i.push(r,r in e?e[r]:t[o+1]);return i.t=t.t,i})(m,C,et)),e?(T=e._initted,bi(1),e.progress(1,!0),E=w(L.a)-S+g+M,g!==E&&_.splice(_.length-2,2),e.progress(0,!0),T||e.invalidate(),bi(0)):E=g;else if(W&&ht.scroll())for(i=W.parentNode;i&&i!==ni;)i._pinOffset&&(l-=i._pinOffset,u-=i._pinOffset),i=i.parentNode;for($=0;$<z;$++)O=ys[$].pin,O&&(O===W||O===G)&&ys[$].revert(!1);ht.start=l,ht.end=u,o=a=ht.scroll(),o<I&&ht.scroll(I),ht.revert(!1),hi=0,e&&nt&&e._initted&&e.progress(V,!0).render(e.time(),!0,!0),N!==ht.progress&&(F&&e.totalProgress(N,!0),ht.progress=N,ht.update()),G&&K&&(b._pinOffset=Math.round(ht.progress*E)),q&&q(ht)},ht.getVelocity=()=>(ht.scroll()-a)/(Di()-ui)*1e3||0,ht.update=(t,r)=>{let i,s,c,h,p,f,m=ht.scroll(),v=t?0:(m-l)/g,w=v<0?0:v>1?1:v||0,x=ht.progress;if(r&&(a=o,o=m,tt&&(P=k,k=e&&!nt?e.totalProgress():w)),Z&&!w&&G&&!hi&&!Ei&&Ti&&l<m+(m-a)/(Di()-ui)*Z&&(w=1e-4),w!==x&&ht.enabled){if(i=ht.isActive=!!w&&w<1,s=!!x&&x<1,f=i!==s,p=f||!!w!=!!x,ht.direction=w>x?1:-1,ht.progress=w,nt||(!F||hi||Ei?e&&e.totalProgress(w,!!hi):(F.vars.totalProgress=w,F.invalidate().restart())),G)if(t&&K&&(b.style[K+L.os2]=O),ot){if(p){if(h=!t&&w>x&&u+1>m&&m+1>=Vi(rt,L),et)if(t||!i&&!h)$s(G,b);else{let t=os(G,!0),e=m-l;$s(G,ni,t.top+(L===rs?e:0)+es,t.left+(L===rs?0:e)+es)}Bs(i||h?_:y),E!==g&&w<1&&i||C(S+(1!==w||h?0:E))}}else C(S+E*w);tt&&!n.tween&&!hi&&!Ei&&M.restart(!0),H&&(f||X&&w&&(w<1||!wi))&&ai(H.targets).forEach(t=>t.classList[i||X?"add":"remove"](H.className)),B&&!nt&&!t&&B(ht),p&&!hi?(c=w&&!x?0:1===w?1:1===x?2:3,nt&&(h=!f&&"none"!==lt[c+1]&&lt[c+1]||lt[c],e&&("complete"===h||"reset"===h||h in e)&&("complete"===h?e.pause().totalProgress(1):"reset"===h?e.restart(!0).pause():e[h]()),B&&B(ht)),!f&&wi||(z&&f&&z(ht),at[c]&&at[c](ht),X&&(1===w?ht.kill(!1,1):at[c]=0),f||(c=1===w?1:3,at[c]&&at[c](ht)))):nt&&B&&!hi&&B(ht)}A&&(D(m+(d._isFlipped?1:0)),A(m))},ht.enable=()=>{ht.enabled||(ht.enabled=!0,cs(rt,"resize",Cs),cs(rt,"scroll",ws),dt&&cs(Gs,"refreshInit",dt),e&&e.add?Qr.delayedCall(.01,()=>l||u||ht.refresh())&&(g=.01)&&(l=u=0):ht.refresh())},ht.disable=(t,e)=>{if(ht.enabled&&(!1!==t&&ht.revert(),ht.enabled=ht.isActive=!1,e||F&&F.pause(),I=0,r&&(r.uncache=1),dt&&hs(Gs,"refreshInit",dt),M&&(M.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!st)){let t=ys.length;for(;t--;)if(ys[t].scroller===rt&&ys[t]!==ht)return;hs(rt,"resize",Cs),hs(rt,"scroll",ws)}},ht.kill=(t,n)=>{ht.disable(t,n),U&&delete bs[U];let i=ys.indexOf(ht);ys.splice(i,1),i===fi&&js>0&&fi--,e&&(e.scrollTrigger=null,t&&e.render(-1),n||e.kill()),c&&[c,h,d,p].forEach(t=>t.parentNode.removeChild(t)),G&&(r&&(r.uncache=1),i=0,ys.forEach(t=>t.pin===G&&i++),i||(r.spacer=0))},ht.enable()}static register(t){if(!Yr&&(Qr=t||Ri(),Fi()&&window.document&&(Xr=window,ti=document,ei=ti.documentElement,ni=ti.body),Qr&&(ai=Qr.utils.toArray,li=Qr.utils.clamp,bi=Qr.core.suppressOverwrites||Pi,Qr.core.globals("ScrollTrigger",Gs),ni))){si=Xr.requestAnimationFrame||(t=>setTimeout(t,16)),cs(Xr,"mousewheel",ws),ri=[Xr,ti,ei,ni],cs(ti,"scroll",ws);let t,e=ni.style,n=e.borderTop;e.borderTop="1px solid #000",t=os(ni),rs.m=Math.round(t.top+rs.sc())||0,ns.m=Math.round(t.left+ns.sc())||0,n?e.borderTop=n:e.removeProperty("border-top"),ci=setInterval(vs,200),Qr.delayedCall(.5,()=>Ei=0),cs(ti,"touchcancel",Pi),cs(ni,"touchstart",Pi),us(cs,ti,"pointerdown,touchstart,mousedown",()=>di=1),us(cs,ti,"pointerup,touchend,mouseup",()=>di=0),pi=Qr.utils.checkPrefix("transform"),Is.push(pi),Yr=Di(),ii=Qr.delayedCall(.2,Fs).pause(),_i=[ti,"visibilitychange",()=>{let t=Xr.innerWidth,e=Xr.innerHeight;ti.hidden?(gi=t,mi=e):gi===t&&mi===e||Cs()},ti,"DOMContentLoaded",Fs,Xr,"load",()=>Ti||Fs(),Xr,"resize",Cs],Li(cs)}return Yr}static defaults(t){for(let e in t)ps[e]=t[e]}static kill(){ki=0,ys.slice(0).forEach(t=>t.kill(1))}static config(t){"limitCallbacks"in t&&(wi=!!t.limitCallbacks);let e=t.syncInterval;e&&clearInterval(ci)||(ci=e)&&setInterval(vs,e),"autoRefreshEvents"in t&&(Li(hs)||Li(cs,t.autoRefreshEvents||"none"),vi=-1===(t.autoRefreshEvents+"").indexOf("resize"))}static scrollerProxy(t,e){let n=ai(t)[0],r=xi.indexOf(n),i=ji(n);~r&&xi.splice(r,i?6:2),i?Oi.unshift(Xr,e,ni,e,ei,e):Oi.unshift(n,e)}static matchMedia(t){let e,n,r,i,s;for(n in t)r=Os.indexOf(n),i=t[n],Ci=n,"all"===n?i():(e=Xr.matchMedia(n),e&&(e.matches&&(s=i()),~r?(Os[r+1]=$i(Os[r+1],i),Os[r+2]=$i(Os[r+2],s)):(r=Os.length,Os.push(n,i,s),e.addListener?e.addListener(xs):e.addEventListener("change",xs)),Os[r+3]=e.matches)),Ci=0;return Os}static clearMatchMedia(t){t||(Os.length=0),(t=Os.indexOf(t))>=0&&Os.splice(t,4)}}function Ks(t,e){if(1&t){const t=r.Pb();r.Ob(0,"div",7),r.Ob(1,"li",4),r.Vb("click",(function(){return r.ec(t),r.Xb().toHome()})),r.lc(2,"Home"),r.Nb(),r.lc(3," | "),r.Ob(4,"li",4),r.Vb("click",(function(){return r.ec(t),r.Xb().toServices()})),r.lc(5,"Services"),r.Nb(),r.lc(6," | "),r.Ob(7,"li",4),r.Vb("click",(function(){return r.ec(t),r.Xb().toAbout()})),r.lc(8,"About"),r.Nb(),r.lc(9," | "),r.Ob(10,"li",4),r.Vb("click",(function(){return r.ec(t),r.Xb().toContact()})),r.lc(11,"Contact Us"),r.Nb(),r.Nb()}}Gs.version="3.6.0",Gs.saveStyles=t=>t?ai(t).forEach(t=>{if(t&&t.style){let e=Ts.indexOf(t);e>=0&&Ts.splice(e,4),Ts.push(t,t.style.cssText,Qr.core.getCache(t),Ci)}}):Ts,Gs.revert=(t,e)=>Ps(!t,e),Gs.create=(t,e)=>new Gs(t,e),Gs.refresh=t=>t?Cs():Fs(!0),Gs.update=Ms,Gs.maxScroll=(t,e)=>Vi(t,e?ns:rs),Gs.getScrollFunc=(t,e)=>Ni(ai(t)[0],e?ns:rs),Gs.getById=t=>bs[t],Gs.getAll=()=>ys.slice(0),Gs.isScrolling=()=>!!Ti,Gs.addEventListener=(t,e)=>{let n=Ss[t]||(Ss[t]=[]);~n.indexOf(e)||n.push(e)},Gs.removeEventListener=(t,e)=>{let n=Ss[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},Gs.batch=(t,e)=>{let n,r=[],i={},s=e.interval||.016,o=e.batchMax||1e9,a=(t,e)=>{let n=[],r=[],i=Qr.delayedCall(s,()=>{e(n,r),n=[],r=[]}).pause();return t=>{n.length||i.restart(!0),n.push(t.trigger),r.push(t),o<=n.length&&i.progress(1)}};for(n in e)i[n]="on"===n.substr(0,2)&&Hi(e[n])&&"onRefreshInit"!==n?a(0,e[n]):e[n];return Hi(o)&&(o=o(),cs(Gs,"refresh",()=>o=e.batchMax())),ai(t).forEach(t=>{let e={};for(n in i)e[n]=i[n];e.trigger=t,r.push(Gs.create(e))}),r},Gs.sort=t=>ys.sort(t||((t,e)=>-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0)))),Ri()&&Qr.registerPlugin(Gs);let Js=(()=>{class t{constructor(){this.view=!0,this.visible=!1}ngOnInit(){}toContact(){document.getElementById("contact").scrollIntoView({behavior:"smooth"})}toHome(){document.getElementById("home").scrollIntoView({behavior:"smooth"})}toServices(){document.getElementById("services").scrollIntoView({behavior:"smooth"})}toAbout(){document.getElementById("about").scrollIntoView({behavior:"smooth"})}onView(){this.view=!this.view,this.visible=!this.visible}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Db({type:t,selectors:[["app-navbar"]],decls:18,vars:1,consts:[[1,"contain"],["id","show",1,"material-icons",3,"click"],["src","../../assets/clogo.png","alt","",1,"logo"],["id","big",1,"navbar"],[3,"click"],[1,"nav"],["class","res",4,"ngIf"],[1,"res"]],template:function(t,e){1&t&&(r.Ob(0,"div",0),r.Ob(1,"button",1),r.Vb("click",(function(){return e.onView()})),r.lc(2,"menu"),r.Nb(),r.Kb(3,"img",2),r.Mb(4),r.Ob(5,"div",3),r.Ob(6,"li",4),r.Vb("click",(function(){return e.toHome()})),r.lc(7,"Home"),r.Nb(),r.Ob(8,"li",4),r.Vb("click",(function(){return e.toServices()})),r.lc(9,"Services"),r.Nb(),r.Ob(10,"li",4),r.Vb("click",(function(){return e.toAbout()})),r.lc(11,"About Us"),r.Nb(),r.Ob(12,"li",4),r.Vb("click",(function(){return e.toContact()})),r.lc(13,"Contact"),r.Nb(),r.Nb(),r.Lb(),r.Kb(14,"div"),r.Nb(),r.Ob(15,"div",5),r.Mb(16),r.kc(17,Ks,12,0,"div",6),r.Lb(),r.Nb()),2&t&&(r.zb(17),r.cc("ngIf",e.visible))},directives:[i.t],styles:[".contain[_ngcontent-%COMP%]{width:100%;height:5rem;position:fixed;z-index:1;margin-bottom:1rem;background-color:#fff;box-shadow:0 5px 15px rgba(0,0,0,.35)}material-icons[_ngcontent-%COMP%]{display:block}.nav[_ngcontent-%COMP%]{visibility:hidden;position:fixed;background-color:#fff;z-index:1;cursor:pointer}.res[_ngcontent-%COMP%]{padding-bottom:8px;box-shadow:0 5px 15px rgba(255,1,1,.918)}.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;font-size:1.4rem;background-color:#fff;color:#000;padding:5px;position:relative;left:.2rem;top:.24rem}.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{color:red}#show[_ngcontent-%COMP%]{visibility:hidden;font-size:3rem;border:none;color:#000;background-color:#fff;margin:5px;left:21rem;top:-9rem;width:-webkit-max-content;width:max-content;cursor:pointer}#show[_ngcontent-%COMP%], .logo[_ngcontent-%COMP%]{position:relative}.logo[_ngcontent-%COMP%]{width:20rem;height:13rem;top:-2.9rem;right:4.3rem;background:transparent;background-clip:initial;background-size:text;margin:0}.contain[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:1rem;font-size:134%;cursor:pointer;background-color:#000;color:#fff;border-radius:6px;padding:8px;animation:ease-in-out;transition:.8s}.contain[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{-webkit-text-decoration:red underline;text-decoration:red underline;transition:.5s;padding:13px;animation:ease-in;text-decoration-thickness:4px;text-underline-offset:5px}.navbar[_ngcontent-%COMP%]{float:right;margin:2rem 1rem}.contain[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .contain[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:inline}.contain[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;top:.4rem}@media(orientation:Portrait){.nav[_ngcontent-%COMP%]{position:fixed;top:5rem;width:100%;box-shadow:0 1px 0 0 rgba(0,0,0,.35)}#show[_ngcontent-%COMP%], .nav[_ngcontent-%COMP%]{visibility:visible}.logo[_ngcontent-%COMP%]{width:17rem;left:-3rem}.navbar[_ngcontent-%COMP%]{visibility:hidden}}@media screen and (min-width:768px){#show[_ngcontent-%COMP%]{position:relative;left:40rem}}@media screen and (max-width:414px){.logo[_ngcontent-%COMP%]{width:15rem;right:1rem}#show[_ngcontent-%COMP%]{position:relative;left:15rem;border-width:1%;height:2rem;width:3rem;padding:.2px}.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1.4rem}}@media screen and (max-width:409px){#show[_ngcontent-%COMP%]{position:relative;left:21rem}.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1.45rem}}@media screen and (max-width:393px){#show[_ngcontent-%COMP%]{font-size:3rem;position:relative;left:21rem}}@media screen and (max-width:385px){.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1.37rem}}@media screen and (max-width:360px){.logo[_ngcontent-%COMP%]{width:15rem;left:-2rem}#show[_ngcontent-%COMP%]{position:relative;left:19rem;visibility:visible}.navbar2[_ngcontent-%COMP%]{font-size:smaller;display:inline-block}#big[_ngcontent-%COMP%]{visibility:hidden}.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1.25rem}}@media screen and (max-width:320px){.logo[_ngcontent-%COMP%]{position:relative;left:-2rem}#show[_ngcontent-%COMP%]{margin:0;visibility:visible;left:17rem}.res[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:1.1rem}}"]}),t})();class Zs{}const Qs="*";function Ys(t,e=null){return{type:2,steps:t,options:e}}function Xs(t){return{type:6,styles:t,offset:null}}function to(t){Promise.resolve(null).then(t)}class eo{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,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(){to(()=>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){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class no{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,r=0;const i=this.players.length;0==i?to(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++r==i&&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(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}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}}function ro(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function io(t){switch(t.length){case 0:return new eo;case 1:return t[0];default:return new no(t)}}function so(t,e,n,r,i={},s={}){const o=[],a=[];let l=-1,u=null;if(r.forEach(t=>{const n=t.offset,r=n==l,c=r&&u||{};Object.keys(t).forEach(n=>{let r=n,a=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,o),a){case"!":a=i[n];break;case Qs:a=s[n];break;default:a=e.normalizeStyleValue(n,r,a,o)}c[r]=a}),r||a.push(c),u=c,l=n}),o.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${o.join(t)}`)}return a}function oo(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&ao(n,"start",t)));break;case"done":t.onDone(()=>r(n&&ao(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&ao(n,"destroy",t)))}}function ao(t,e,n){const r=n.totalTime,i=lo(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),s=t._data;return null!=s&&(i._data=s),i}function lo(t,e,n,r,i="",s=0,o){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:s,disabled:!!o}}function uo(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function co(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let ho=(t,e)=>!1,po=(t,e)=>!1,fo=(t,e,n)=>[];const go=ro();(go||"undefined"!=typeof Element)&&(ho=(t,e)=>t.contains(e),po=(()=>{if(go||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]):po}})(),fo=(t,e,n)=>{let r=[];if(n)r.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&r.push(n)}return r});let mo=null,_o=!1;function yo(t){mo||(mo=("undefined"!=typeof document?document.body:null)||{},_o=!!mo.style&&"WebkitAppearance"in mo.style);let e=!0;return mo.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in mo.style,!e&&_o)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in mo.style),e}const bo=po,vo=ho,wo=fo;function Co(t){const e={};return Object.keys(t).forEach(n=>{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let So=(()=>{class t{validateStyleProperty(t){return yo(t)}matchesElement(t,e){return bo(t,e)}containsElement(t,e){return vo(t,e)}query(t,e,n){return wo(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,i,s=[],o){return new eo(n,r)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})(),Eo=(()=>{class t{}return t.NOOP=new So,t})();const Oo="ng-enter",xo="ng-leave",Do="ng-trigger",Ao=".ng-trigger",To="ng-animating",ko=".ng-animating";function Po(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Fo(parseFloat(e[1]),e[2])}function Fo(t,e){switch(e){case"s":return 1e3*t;default:return t}}function Ro(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,i=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:""};r=Fo(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(i=Fo(parseFloat(o),n[4]));const a=n[5];a&&(s=a)}else r=t;if(!n){let n=!1,s=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<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:r,delay:i,easing:s}}(t,e,n)}function jo(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function Mo(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else jo(t,n);return n}function No(t,e,n){return n?e+":"+n+";":""}function Io(t){let e="";for(let n=0;n<t.style.length;n++){const r=t.style.item(n);e+=No(0,r,t.style.getPropertyValue(r))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=No(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function Vo(t,e,n){t.style&&(Object.keys(e).forEach(r=>{const i=Wo(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),ro()&&Io(t))}function Lo(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=Wo(e);t.style[n]=""}),ro()&&Io(t))}function Bo(t){return Array.isArray(t)?1==t.length?t[0]:Ys(t):t}const Ho=new RegExp("{{\\s*(.+?)\\s*}}","g");function Uo(t){let e=[];if("string"==typeof t){let n;for(;n=Ho.exec(t);)e.push(n[1]);Ho.lastIndex=0}return e}function zo(t,e,n){const r=t.toString(),i=r.replace(Ho,(t,r)=>{let i=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?t:i}function qo(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const $o=/-+([a-z0-9])/g;function Wo(t){return t.replace($o,(...t)=>t[1].toUpperCase())}function Go(t,e){return 0===t||0===e}function Ko(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let s=e[0],o=[];if(r.forEach(t=>{s.hasOwnProperty(t)||o.push(t),s[t]=n[t]}),o.length)for(var i=1;i<e.length;i++){let n=e[i];o.forEach((function(e){n[e]=Zo(t,e)}))}}return e}function Jo(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Zo(t,e){return window.getComputedStyle(t)[e]}const Qo="*";function Yo(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const r=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)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],s=r[2],o=r[3];e.push(ea(i,o)),"<"!=s[0]||i==Qo&&o==Qo||e.push(ea(o,i))}(t,n,e)):n.push(t),n}const Xo=new Set(["true","1"]),ta=new Set(["false","0"]);function ea(t,e){const n=Xo.has(t)||ta.has(t),r=Xo.has(e)||ta.has(e);return(i,s)=>{let o=t==Qo||t==i,a=e==Qo||e==s;return!o&&n&&"boolean"==typeof i&&(o=i?Xo.has(t):ta.has(t)),!a&&r&&"boolean"==typeof s&&(a=s?Xo.has(e):ta.has(e)),o&&a}}const na=new RegExp("s*:selfs*,?","g");function ra(t,e,n){return new ia(t).build(e,n)}class ia{constructor(t){this._driver=t}build(t,e){const n=new sa(e);return this._resetContextStyleTimingState(n),Jo(this,Bo(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const i=[],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,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,r+=i.depCount,s.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:s,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,s=r||{};if(n.styles.forEach(t=>{if(oa(t)){const e=t;Object.keys(e).forEach(t=>{Uo(e[t]).forEach(t=>{s.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=qo(i.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:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Jo(this,Bo(t.animation),e);return{type:1,matchers:Yo(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:aa(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Jo(this,t,e)),options:aa(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const i=t.steps.map(t=>{e.currentTime=n;const i=Jo(this,t,e);return r=Math.max(r,e.currentTime),i});return e.currentTime=r,{type:3,steps:i,options:aa(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 la(Ro(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=la(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||Ro(r,e),la(n.duration,n.delay,n.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let i=t.styles?t.styles:Xs({});if(5==i.type)r=this.visitKeyframes(i,e);else{let i=t.styles,s=!1;if(!i){s=!0;const t={};n.easing&&(t.easing=n.easing),i=Xs(t)}e.currentTime+=n.duration+n.delay;const o=this.visitStyle(i,e);o.isEmptyStep=s,r=o}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,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==Qs?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let r=!1,i=null;return n.forEach(t=>{if(oa(t)){const e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(let t in e)if(e[t].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,i=e.currentTime;n&&i>0&&(i-=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&&(i!=r&&i>=o.startTime&&r<=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 "${i}ms" and "${r}ms"`),a=!1),i=o.startTime),a&&(s[n]={startTime:i,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},i=Uo(t);i.length&&i.forEach(t=>{r.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 r=0;const i=[];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(oa(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(oa(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),u=0;return null!=l&&(r++,u=n.offset=l),o=o||u<0||u>1,s=s||u<a,a=u,i.push(u),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&e.errors.push("Please ensure that all keyframe offsets are in order");const u=t.steps.length;let c=0;r>0&&r<u?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(c=1/(u-1));const h=u-1,d=e.currentTime,p=e.currentAnimateTimings,f=p.duration;return l.forEach((t,r)=>{const s=c>0?r==h?1:c*r:i[r],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:Jo(this,Bo(t.animation),e),options:aa(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:aa(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:aa(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[i,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(na,"")),[t=t.replace(/@\*/g,Ao).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,ko),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,uo(e.collectedStyles,e.currentQuerySelector,{});const o=Jo(this,Bo(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:o,originalSelector:t.selector,options:aa(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"}:Ro(t.timings,e.errors,!0);return{type:12,animation:Jo(this,Bo(t.animation),e),timings:n,options:null}}}class sa{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 oa(t){return!Array.isArray(t)&&"object"==typeof t}function aa(t){var e;return t?(t=jo(t)).params&&(t.params=(e=t.params)?jo(e):null):t={},t}function la(t,e,n){return{duration:t,delay:e,easing:n}}function ua(t,e,n,r,i,s,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}class ca{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 ha=new RegExp(":enter","g"),da=new RegExp(":leave","g");function pa(t,e,n,r,i,s={},o={},a,l,u=[]){return(new fa).buildKeyframes(t,e,n,r,i,s,o,a,l,u)}class fa{buildKeyframes(t,e,n,r,i,s,o,a,l,u=[]){l=l||new ca;const c=new ma(t,e,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([s],null,c.errors,a),Jo(this,n,c);const h=c.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,c.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ua(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 r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,r,r.options);i!=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 r=e.currentTimeline.currentTime;const i=null!=n.duration?Po(n.duration):null,s=null!=n.delay?Po(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,s);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),Jo(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const i=t.options;if(i&&(i.params||i.delay)&&(r=e.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=ga);const t=Po(i.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Jo(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?Po(t.options.delay):0;t.steps.forEach(s=>{const o=e.createSubContext(t.options);i&&o.delayNextStep(i),Jo(this,s,o),r=Math.max(r,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return Ro(e.params?zo(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),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*i),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(r+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},i=r.delay?Po(r.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ga);let s=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,r)=>{e.currentQueryIndex=r;const o=e.createSubContext(t.options,n);i&&o.delayNextStep(i),n===e.element&&(a=o.currentTimeline),Jo(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,r=e.currentTimeline,i=t.timings,s=Math.abs(i.duration),o=s*(e.currentQueryTotal-1);let a=s*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const u=l.currentTime;Jo(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}const ga={};class ma{constructor(t,e,n,r,i,s,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=s,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ga,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new _a(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=Po(n.duration)),null!=n.delay&&(r.delay=Po(n.delay));const i=n.params;if(i){let t=r.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=zo(i[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 r=e||this.element,i=new ma(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=ga,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new ya(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,i,s){let o=[];if(r&&o.push(this.element),t.length>0){t=(t=t.replace(ha,"."+this._enterClassName)).replace(da,"."+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 i||0!=o.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class _a{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,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 _a(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]||Qs,this._currentKeyframe[t]=Qs}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&(this._previousKeyframe.easing=e);const i=r&&r.params||{},s=function(t,e){const n={};let r;return t.forEach(t=>{"*"===t?(r=r||Object.keys(e),r.forEach(t=>{n[t]=Qs})):Mo(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=zo(s[t],i,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:Qs),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],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((i,s)=>{const o=Mo(i,!0);Object.keys(o).forEach(n=>{const r=o[n];"!"==r?t.add(n):r==Qs&&e.add(n)}),n||(o.offset=s/this.duration),r.push(o)});const i=t.size?qo(t.values()):[],s=e.size?qo(e.values()):[];if(n){const t=r[0],e=jo(t);t.offset=0,e.offset=1,r=[t,e]}return ua(this.element,r,i,s,this.duration,this.startTime,this.easing,!1)}}class ya extends _a{constructor(t,e,n,r,i,s,o=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,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:r}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],s=n+e,o=e/s,a=Mo(t[0],!1);a.offset=0,i.push(a);const l=Mo(t[0],!1);l.offset=ba(o),i.push(l);const u=t.length-1;for(let r=1;r<=u;r++){let o=Mo(t[r],!1);o.offset=ba((e+o.offset*n)/s),i.push(o)}n=s,e=0,r="",t=i}return ua(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function ba(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class va{}class wa extends va{normalizePropertyName(t,e){return Wo(t)}normalizeStyleValue(t,e,n,r){let i="";const s=n.toString().trim();if(Ca[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+i}}const Ca=(()=>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 Sa(t,e,n,r,i,s,o,a,l,u,c,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:s,toState:r,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}const Ea={};class Oa{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,i){return t.some(t=>t(e,n,r,i))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],i=this._stateStyles[t],s=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):s}build(t,e,n,r,i,s,o,a,l,u){const c=[],h=this.ast.options&&this.ast.options.params||Ea,d=this.buildStyles(n,o&&o.params||Ea,c),p=a&&a.params||Ea,f=this.buildStyles(r,p,c),g=new Set,m=new Map,_=new Map,y="void"===r,b={params:Object.assign(Object.assign({},h),p)},v=u?[]:pa(t,e,this.ast.animation,i,s,d,f,b,l,c);let w=0;if(v.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),c.length)return Sa(e,this._triggerName,n,r,y,d,f,[],[],m,_,w,c);v.forEach(t=>{const n=t.element,r=uo(m,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const i=uo(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&g.add(n)});const C=qo(g.values());return Sa(e,this._triggerName,n,r,y,d,f,v,C,m,_,w)}}class xa{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},r=jo(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let s=i[t];s.length>1&&(s=zo(s,r,e)),n[t]=s})}}),n}}class Da{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new xa(t.style,t.options&&t.options.params||{})}),Aa(this.states,"true","1"),Aa(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Oa(t,e,this.states))}),this.fallbackTransition=new Oa(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,r){return this.transitionFactories.find(i=>i.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Aa(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ta=new ca;class ka{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=ra(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]=r}_buildPlayer(t,e,n){const r=t.element,i=so(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const r=[],i=this._animations[t];let s;const o=new Map;if(i?(s=pa(this._driver,e,i,Oo,xo,{},{},n,Ta,r),s.forEach(t=>{const e=uo(o,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(r.push("The requested animation doesn't exist or has already been destroyed"),s=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));o.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,Qs)})});const a=io(s.map(t=>{const e=o.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=a,a.onDestroy(()=>this.destroy(t)),this.players.push(a),a}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,r){const i=lo(e,"","","");return oo(this._getPlayer(t),n,i,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}}const Pa="ng-animate-queued",Fa="ng-animate-disabled",Ra=".ng-animate-disabled",ja=[],Ma={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Na={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Ia{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=jo(t);delete e.value,this.options=e}else this.options={};var r;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 Va="void",La=new Ia(Va);class Ba{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,Ga(e,this._hostClassName)}listen(t,e,n,r){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"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const s=uo(this._elementListeners,t,[]),o={name:e,phase:n,callback:r};s.push(o);const a=uo(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Ga(t,Do),Ga(t,"ng-trigger-"+e),a[e]=La),()=>{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,r=!0){const i=this._getTrigger(e),s=new Ua(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Ga(t,Do),Ga(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Ia(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=La),l.value!==Va&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const r=n[i];if(!e.hasOwnProperty(r)||t[r]!==e[r])return!1}return!0}(a.params,l.params)){const e=[],n=i.matchStyles(a.value,a.params,e),r=i.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{Lo(t,n),Vo(t,r)})}return}const u=uo(this._engine.playersByElement,t,[]);u.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let c=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!c){if(!r)return;c=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:c,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(Ga(t,Pa),s.onStart(()=>{Ka(t,Pa)})),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),u.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,Ao,!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,r){const i=this._engine.statesByElement.get(t);if(i){const s=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Va,r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&io(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const r=e.name;if(n.has(r))return;n.add(r);const i=this._triggers[r].fallbackTransition,s=this._engine.statesByElement.get(t)[r]||La,o=new Ia(Va),a=new Ua(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,transition:i,fromState:s,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t.__ng_removed;r&&r!==Ma||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ga(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,s=this._elementListeners.get(i);s&&s.forEach(e=>{if(e.name==n.triggerName){const r=lo(i,n.triggerName,n.fromState.value,n.toState.value);r._data=t,oo(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r: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 Ha{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 Ba(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 r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||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 r=this._namespaceLookup[t];r&&r.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 r=0;r<t.length;r++){const i=n[t[r]].namespaceId;if(i){const t=this._fetchNamespace(i);t&&e.add(t)}}}return e}trigger(t,e,n,r){if(za(e)){const i=this._fetchNamespace(t);if(i)return i.trigger(e,n,r),!0}return!1}insertNode(t,e,n,r){if(!za(e))return;const i=e.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ga(t,Fa)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Ka(t,Fa))}removeNode(t,e,n,r){if(za(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,i){return za(e)?this._fetchNamespace(t).listen(e,n,r,i):()=>{}}_buildInstruction(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,Ao,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,ko,!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 io(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Ma,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Ra)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Ra,!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;n<this.collectedEnterElements.length;n++)Ga(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?io(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 ca,r=[],i=new Map,s=[],o=new Map,a=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)u.add(e[n])});const c=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=Wa(h,this.collectedEnterElements),p=new Map;let f=0;d.forEach((t,e)=>{const n=Oo+f++;p.set(e,n),t.forEach(t=>Ga(t,n))});const g=[],m=new Set,_=new Set;for(let k=0;k<this.collectedLeaveElements.length;k++){const t=this.collectedLeaveElements[k],e=t.__ng_removed;e&&e.setForRemoval&&(g.push(t),m.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>m.add(t)):_.add(t))}const y=new Map,b=Wa(h,Array.from(m));b.forEach((t,e)=>{const n=xo+f++;y.set(e,n),t.forEach(t=>Ga(t,n))}),t.push(()=>{d.forEach((t,e)=>{const n=p.get(e);t.forEach(t=>Ka(t,n))}),b.forEach((t,e)=>{const n=y.get(e);t.forEach(t=>Ka(t,n))}),g.forEach(t=>{this.processLeaveNode(t)})});const v=[],w=[];for(let k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(e).forEach(t=>{const e=t.player,i=t.element;if(v.push(e),this.collectedEnterElements.length){const t=i.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const u=!c||!this.driver.containsElement(c,i),h=y.get(i),d=p.get(i),f=this._buildInstruction(t,n,d,h,u);if(f.errors&&f.errors.length)w.push(f);else{if(u)return e.onStart(()=>Lo(i,f.fromStyles)),e.onDestroy(()=>Vo(i,f.toStyles)),void r.push(e);if(t.isFallbackTransition)return e.onStart(()=>Lo(i,f.fromStyles)),e.onDestroy(()=>Vo(i,f.toStyles)),void r.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(i,f.timelines),s.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(t=>uo(o,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=a.get(e);t||a.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=l.get(e);r||l.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),v.forEach(t=>t.destroy()),this.reportError(t)}const C=new Map,S=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(S.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,C))}),r.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{uo(C,e,[]).push(t),t.destroy()})});const E=g.filter(t=>Za(t,a,l)),O=new Map;$a(O,this.driver,_,l,Qs).forEach(t=>{Za(t,a,l)&&E.push(t)});const x=new Map;d.forEach((t,e)=>{$a(x,this.driver,new Set(t),a,"!")}),E.forEach(t=>{const e=O.get(t),n=x.get(t);O.set(t,Object.assign(Object.assign({},e),n))});const D=[],A=[],T={};s.forEach(t=>{const{element:e,player:s,instruction:o}=t;if(n.has(e)){if(u.has(e))return s.onDestroy(()=>Vo(e,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void r.push(s);let t=T;if(S.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=S.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>S.set(e,t))}const n=this._buildAnimation(s.namespaceId,o,C,i,x,O);if(s.setRealPlayer(n),t===T)D.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=io(e)),r.push(s)}}else Lo(e,o.fromStyles),s.onDestroy(()=>Vo(e,o.toStyles)),A.push(s),u.has(e)&&r.push(s)}),A.forEach(t=>{const e=i.get(t.element);if(e&&e.length){const n=io(e);t.setRealPlayer(n)}}),r.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let k=0;k<g.length;k++){const t=g[k],e=t.__ng_removed;if(Ka(t,xo),e&&e.hasAnimation)continue;let n=[];if(o.size){let e=o.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,ko,!0);for(let t=0;t<r.length;t++){let e=o.get(r[t]);e&&e.length&&n.push(...e)}}const r=n.filter(t=>!t.destroyed);r.length?Ja(this,t,r):this.processLeaveNode(t)}return g.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 r=e.__ng_removed;return r&&r.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,r,i){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==Va;e.forEach(e=>{e.queued||(t||e.triggerName==r)&&s.push(e)})}}return(n||r)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const r=e.element,i=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==r,l=uo(n,t,[]);this._getPreviousPlayers(t,a,i,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}Lo(r,e.fromStyles)}_buildAnimation(t,e,n,r,i,s){const o=e.triggerName,a=e.element,l=[],u=new Set,c=new Set,h=e.timelines.map(e=>{const h=e.element;u.add(h);const d=h.__ng_removed;if(d&&d.removedBeforeQueried)return new eo(e.duration,e.delay);const p=h!==a,f=function(t){const e=[];return function t(e,n){for(let r=0;r<e.length;r++){const i=e[r];i instanceof no?t(i.players,n):n.push(i)}}(t,e),e}((n.get(h)||ja).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===h),g=i.get(h),m=s.get(h),_=so(0,this._normalizer,0,e.keyframes,g,m),y=this._buildPlayer(e,_,f);if(e.subTimeline&&r&&c.add(h),p){const e=new Ua(t,o,h);e.setRealPlayer(y),l.push(e)}return y});l.forEach(t=>{uo(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),u.forEach(t=>Ga(t,To));const d=io(h);return d.onDestroy(()=>{u.forEach(t=>Ka(t,To)),Vo(a,e.toStyles)}),c.forEach(t=>{uo(r,t,[]).push(d)}),d}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new eo(t.duration,t.delay)}}class Ua{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new eo,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=>oo(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){uo(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 za(t){return t&&1===t.nodeType}function qa(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function $a(t,e,n,r,i){const s=[];n.forEach(t=>s.push(qa(t)));const o=[];r.forEach((n,r)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r.__ng_removed=Na,o.push(r))}),t.set(r,s)});let a=0;return n.forEach(t=>qa(t,s[a++])),o}function Wa(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),i=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let s=i.get(e);if(s)return s;const o=e.parentNode;return s=n.has(o)?o:r.has(o)?1:t(o),i.set(e,s),s}(t);1!==e&&n.get(e).push(t)}),n}function Ga(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Ka(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Ja(t,e,n){io(n).onDone(()=>t.processLeaveNode(e))}function Za(t,e,n){const r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(t=>i.add(t)):e.set(t,r),n.delete(t),!0}class Qa{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ha(t,e,n),this._timelineEngine=new ka(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,i){const s=t+"-"+r;let o=this._triggerCache[s];if(!o){const t=[],e=ra(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Da(t,e)}(r,e),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(e,r,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,i]=co(n);this._timelineEngine.command(t,e,i,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,i){if("@"==n.charAt(0)){const[t,r]=co(n);return this._timelineEngine.listen(t,e,r,i)}return this._transitionEngine.listen(t,e,n,r,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ya(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=tl(e[0]),e.length>1&&(r=tl(e[e.length-1]))):e&&(n=tl(e)),n||r?new Xa(t,n,r):null}let Xa=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Vo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vo(this._element,this._initialStyles),this._endStyles&&(Vo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Lo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Lo(this._element,this._endStyles),this._endStyles=null),Vo(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function tl(t){let e=null;const n=Object.keys(t);for(let r=0;r<n.length;r++){const i=n[r];el(i)&&(e=e||{},e[i]=t[i])}return e}function el(t){return"display"===t||"position"===t}const nl="animation",rl="animationend";class il{constructor(t,e,n,r,i,s,o){this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=s,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=cl(t,"").trim();n.length&&(function(t,e){let n=0;for(let r=0;r<t.length;r++)","===t.charAt(r)&&n++}(n),e=`${n}, ${e}`),ul(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),ll(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){sl(this._element,this._name,"paused")}resume(){sl(this._element,this._name,"running")}setPosition(t){const e=ol(this._element,this._name);this._position=t*this._duration,ul(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ll(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=cl(t,"").split(","),r=al(n,e);r>=0&&(n.splice(r,1),ul(t,"",n.join(",")))}(this._element,this._name))}}function sl(t,e,n){ul(t,"PlayState",n,ol(t,e))}function ol(t,e){const n=cl(t,"");return n.indexOf(",")>0?al(n.split(","),e):al([n],e)}function al(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function ll(t,e,n){n?t.removeEventListener(rl,e):t.addEventListener(rl,e)}function ul(t,e,n,r){const i=nl+e;if(null!=r){const e=t.style[i];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[i]=n}function cl(t,e){return t.style[nl+e]}class hl{constructor(t,e,n,r,i,s,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,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=r+i,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 il(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]:Zo(this.element,n))})}this.currentSnapshot=t}}class dl extends eo{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=Co(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 pl{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return yo(t)}matchesElement(t,e){return bo(t,e)}containsElement(t,e){return vo(t,e)}query(t,e,n){return wo(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>Co(t));let r=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);r+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${e}: ${n};\n`)}}),r+=i+"}\n"}),r+="}\n";const s=document.createElement("style");return s.textContent=r,s}animate(t,e,n,r,i,s=[],o){o&&this._notifyFaultyScrubber();const a=s.filter(t=>t instanceof hl),l={};Go(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=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=Ko(t,e,l));if(0==n)return new dl(t,u);const c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);const d=Ya(t,e),p=new hl(t,e,c,n,r,i,u,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class fl{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,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){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]:Zo(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class gl{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ml().toString()),this._cssKeyframesDriver=new pl}validateStyleProperty(t){return yo(t)}matchesElement(t,e){return bo(t,e)}containsElement(t,e){return vo(t,e)}query(t,e,n){return wo(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,i,s=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,s);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},u=s.filter(t=>t instanceof fl);Go(n,r)&&u.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=Ya(t,e=Ko(t,e=e.map(t=>Mo(t,!1)),l));return new fl(t,e,a,c)}}function ml(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let _l=(()=>{class t extends Zs{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:r.Q.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Ys(t):t;return vl(this._renderer,null,e,"register",[n]),new yl(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(r.F),r.Sb(i.e))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();class yl extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new bl(this._id,t,e||{},this._renderer)}}class bl{constructor(t,e,n,r){this.id=t,this.element=e,this._renderer=r,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 vl(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(){return 0}}function vl(t,e,n,r,i){return t.setProperty(e,`@@${n}:${r}`,i)}const wl="@",Cl="@.disabled";let Sl=(()=>{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 El("",n,this.engine),this._rendererCache.set(n,t)),t}const r=e.id,i=e.id+"-"+this._currentId;this._currentId++,this.engine.register(i,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(r,i,t,e.name,e)};return e.data.animation.forEach(s),new Ol(this,i,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(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)(r.Sb(r.F),r.Sb(Qa),r.Sb(r.z))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();class El{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){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}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,r){this.delegate.setAttribute(t,e,n,r)}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,r){this.delegate.setStyle(t,e,n,r)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==wl&&e==Cl?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 Ol extends El{constructor(t,e,n,r){super(e,n,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==wl?"."==e.charAt(1)&&e==Cl?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)==wl){const r=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let i=e.substr(1),s="";return i.charAt(0)!=wl&&([i,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i)),this.engine.listen(this.namespaceId,r,i,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let xl=(()=>{class t extends Qa{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e),r.Sb(Eo),r.Sb(va))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const Dl=new r.q("AnimationModuleType"),Al=[{provide:Eo,useFactory:function(){return"function"==typeof ml()?new gl:new pl}},{provide:Dl,useValue:"BrowserAnimations"},{provide:Zs,useClass:_l},{provide:va,useFactory:function(){return new wa}},{provide:Qa,useClass:xl},{provide:r.F,useFactory:function(t,e,n){return new Sl(t,e,n)},deps:[w,Qa,r.z]}];let Tl,kl=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:Al,imports:[j]}),t})();try{Tl="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(wc){Tl=!1}let Pl=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(i.I)(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&&!Tl)&&"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)(r.Sb(r.B))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(r.B))},token:t,providedIn:"root"}),t})(),Fl=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)}}),t})();var Rl=n("XNiG"),jl=n("quSY"),Ml=n("LRne");n("vkgz"),n("7o/Q");class Nl extends jl.a{constructor(t,e){super()}schedule(t,e=0){return this}}class Il extends Nl{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,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,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=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}let Vl=(()=>{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 Ll extends Vl{constructor(t,e=Vl.now){super(t,()=>Ll.delegate&&Ll.delegate!==this?Ll.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return Ll.delegate&&Ll.delegate!==this?Ll.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}}}const Bl=new Ll(Il);var Hl=n("pLZG"),Ul=n("lJxs"),zl=n("IzEk");function ql(t){return Array.isArray(t)?t:[t]}function $l(t){return null==t?"":"string"==typeof t?t:t+"px"}var Wl=n("HDdC");"undefined"!=typeof Element&&Element;const Gl="cdk-high-contrast-black-on-white",Kl="cdk-high-contrast-white-on-black",Jl="cdk-high-contrast-active";let Zl=(()=>{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,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){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(Jl),t.remove(Gl),t.remove(Kl);const e=this.getHighContrastMode();1===e?(t.add(Jl),t.add(Gl)):2===e&&(t.add(Jl),t.add(Kl))}}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(Pl),r.Sb(i.e))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(Pl),Object(r.Sb)(i.e))},token:t,providedIn:"root"}),t})();const Ql=new r.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.U)(i.e)}});let Yl=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new r.n,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)(r.Sb(Ql,8))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(Ql,8))},token:t,providedIn:"root"}),t})(),Xl=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)}}),t})();const tu=new r.O("10.2.7");n("JX91");const eu=new r.O("10.2.7"),nu=new r.q("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let ru,iu=(()=>{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)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Object(r.V)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.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"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&eu.full!==tu.full&&console.warn("The Angular Material version ("+eu.full+") does not match the Angular CDK version ("+tu.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)(r.Sb(Zl),r.Sb(nu,8),r.Sb(i.e,8))},imports:[[Xl],Xl]}),t})();try{ru="undefined"!=typeof Intl}catch(wc){ru=!1}let su=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},imports:[[iu,Fl],iu]}),t})();const ou=["*",[["mat-card-footer"]]],au=["*","mat-card-footer"];let lu=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(Dl,8))},t.\u0275cmp=r.Db({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&r.Bb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:au,decls:2,vars:0,template:function(t,e){1&t&&(r.bc(ou),r.ac(0),r.ac(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),t})(),uu=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},imports:[[iu],iu]}),t})(),cu=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Db({type:t,selectors:[["app-footer"]],decls:8,vars:0,consts:[["id","contact",1,"footer"],[1,"contact"]],template:function(t,e){1&t&&(r.Ob(0,"div",0),r.Ob(1,"div",1),r.Ob(2,"h2"),r.lc(3,"| Contact Details |"),r.Nb(),r.Ob(4,"p"),r.lc(5,"Email: info@cyberforcetec.com"),r.Nb(),r.Ob(6,"p"),r.lc(7,"Ph: +91-8686465762"),r.Nb(),r.Nb(),r.Nb())},styles:["body[_ngcontent-%COMP%]{margin:0}.footer[_ngcontent-%COMP%]{width:100%;position:relative;margin-top:10rem;background-color:#000;color:#fff;text-align:center;padding:12px 0;font-weight:700}"]}),t})();const hu=["card"];function du(t,e){1&t&&(r.Mb(0),r.Ob(1,"p"),r.lc(2," Let your web designs and development chopped by technology experts\u2019 team with advanced web development services in Hyderabad. Tie up with the best web development company in Hyderabad to get secure, responsive, engaging, and optimized websites and delight your visitors and also outshine your brand. We create unique-written, error-free, and clean coding that compiles as per the W3C coding standards. One of the top web development companies in Hyderabad, offering both static and dynamic website development services at affordable prices. Meet your website goals with beautiful designs, and extend your business reach by choosing the right and reliable website development company in Hyderabad. Our services consist of more than word press, PSD to Html conversion, including Custom Website Designing, WordPress website design, Web Application design, prime web developers in Hyderabad also offers E-commerce website design, Logo Designing, Responsive Website Designing, Landing Page Designing, website development in Hyderabad. Also get front-end, back-end, and custom development solutions to improve your business. The best web development company in Hyderabad, that aims to make strong relationships with our clients by delivering the apt and results-driven solutions for their businesses. Take your business to a new level by making use of web development services in Hyderabad. "),r.Kb(3,"br"),r.Kb(4,"br"),r.lc(5," CyberForce Technologies is a reliable web design and web development partner for you, who have a long-lasting experience of serving clients from various startups to well-established companies. Being a dedicated website development company in Hyderabad and web designing service provider, we render outstanding web development solutions and for diverse business verticals. We are one of the most promising website developers in Hyderabad, who engross ourselves in the client\u2019s project goals to create world-class solutions. Consistent efforts that we put forward in each aspect and our best services, enabled us, website development company in Hyderabad to serve more clients from various industries. "),r.Kb(6,"br"),r.Kb(7,"br"),r.lc(8," We are also Mobile App Developers in Hyderabad, and our successful project deliveries and building meaningful and effective technology solutions, our clients coined us as the best technology partner and the most trusted website developers in Hyderabad. Striving to become your complete web development and designing solution partner, web developers in Hyderabad, with the aid of most eligible partners who have got technical knack and innovation. Since technology evolving over time, businesses have to keep investing in the latest and newer applications, and also have to maintain or enhance their legacy systems. Website developers in Hyderabad also implement contemporary applications that will trim development costs, reduce downtime, and the best web development company in Hyderabad even enhances user experience. Currently businesses are adopting better and more agile ways of designing, developing, and maintaining suitable software. We as the best Web Designing Company in Hyderabad, take complete requirements of the clients and suggest a host of advanced new technologies such as cloud, mobility, and AI. "),r.Kb(9,"br"),r.Kb(10,"br"),r.lc(11," CyberForce Technologies\u2013 offering web development services in Hyderabad, possess the required expertise team to build custom software applications that provide better customer experience and delivers immense value to stakeholders. We the best web development company in Hyderabad make our business clients quickly transform into long-term partners, as we go deep to understand your business while delivering effective website solutions and as well as Digital Marketing Services in Hyderabad. We map a strategy, build solutions, elevate your business or product experience with the best engagements. Trusted agency of various web developers in Hyderabad and end-to-end enterprise that offers n number of web development solutions to any type or scale of business. We design smart and build fast for all screens and projects. Serving entrepreneurs to global leaders, the web developers in Hyderabad are here to tailor designing and development processes based on your scale and structure. Our portfolio of outranging Web Development services in Hyderabad include: Ecommerce website development, CMS Development, Dynamic Website Development, Android Mobile App Development, Static Website Development, Landing page development, Theme customization.\n"),r.Kb(12,"br"),r.Kb(13,"br"),r.lc(14,"\nThe top-of-the-line web developers in Hyderabad, discover client\u2019s specific ideas, creates a blueprint of it and develop a solution, later amplifies resources and maintains your software. Get phenomenal E-commerce web development services from the leading website development company in Hyderabad by having all the latest and advanced e-commerce technologies under one roof. Our e-commerce expert team is capable enough of delivering outstanding e-commerce web development services in Hyderabad by providing you with effective and pleasing outcomes. With complete dedication, we provide guaranteed quality e-commerce website solutions even in less turnaround time. We combine e-commerce web development tools with our in-depth web domain knowledge. The best web development company in Hyderabad that renders exemplary solutions that can add value to your business. One of the pre-eminent web developers in Hyderabad that understand the significance of an e-commerce website and its importance for an online business. Website developers in Hyderabad put efforts forward to create a unique and impeccable e-commerce website for you. We are also SEO company in Hyderabad, that provides a-z digital marketing solutions like content marketing services, PPC services, SMM, SEM services along with web development in Hyderabad. here you can also avail of our services for optimizing your current existing e-commerce websites.\n"),r.Kb(15,"br"),r.Kb(16,"br"),r.lc(17,"\nWe have a minimum number of Email Marketing Companies in Hyderabad, and we are one of them here you can expect secure and guaranteed services. One of the reliable and top web development companies in Hyderabad that integrate emerging technologies we endeavor to make your current website support additional functions such as contextual search, digital wallets, etc. Web developers in Hyderabad by employing the best SEO techniques, we develop an e-commerce website that could be optimized for search engines and gives better results across various search engines. Most of the website developers in Hyderabad, ignore many crucial points, like whether the site is secure, SEO-friendly or not, scalable facility as per the user\u2019s dynamic requirements. Security is one of the key selling points of any e-commerce website. And web developers in Hyderabad, by utilizing stringent security measures like SSL certificates, two-factor authentication, HTTPS, and much more by keeping all these points into consideration we ensure to develop safe e-commerce platforms for your customers. "),r.Kb(18,"br"),r.Kb(19,"br"),r.lc(20," We are one of the most reliable website developers in Hyderabad having hands-on experience of serving thousands of customers worldwide. With our cost-effective solutions, you will get a credible solution, and working as a tool to improve your online business. The best web development company in Hyderabad, possess a team of prominent engineers and industry professionals who are apt at building shopping websites using appropriate open-source e-commerce technologies. Web developers in Hyderabad are also capable of developing impressive and responsive websites with CMS such as Shopify, Magento, WooCommerce, etc. The page loading time of a website impacts user experience and even lead to customers to leave your website, the website development company in Hyderabad understands this key point and develops quick responsive and intuitive websites that take reduced page loading time. "),r.Kb(21,"br"),r.Kb(22,"br"),r.lc(23," Businesses will be dynamic and always expanding, thus you need a flexible online platform that can meet the needs of future expansion. Go for website development in Hyderabad which offers scalable e-commerce solutions and a platform that fills requirements of your subsequent expansion. With our services and supreme quality web development in Hyderabad, you will be getting credible analytics and as well as responsive reporting for traffic analyzing, segmentation, visitor tracking, navigation analysis, etc. we give the best ever insights of what your customers are dealing with your website. CyberForce Technologies by providing website development in Hyderabad, and uses responsive approach to make your site more attractive. Here we also suggest customization of your theme and modules of your e-commerce website based on your business requirement. "),r.Nb(),r.Lb())}Zr.registerPlugin(Gs);const pu=[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class t{constructor(t){this.document=t,this.readmore=!0,this.visible=!1}ngOnInit(){}toContact(){document.getElementById("contact").scrollIntoView()}onView(){this.readmore=!this.readmore,this.visible=!this.visible}initScrollTrigger(){Zr.from(".card1",{opacity:1,duration:.6,scrollTrigger:{trigger:".card1",scrub:!0,start:"0",end:"0"}}),Zr.to(".card1",{opacity:0,duration:.6,scrollTrigger:{trigger:".card1",scrub:!0,start:"0",end:"0"}}),Zr.to(".card2",{opacity:0,duration:.6,scrollTrigger:{trigger:".card2",scrub:!0,start:"0",end:"0"}}),Zr.to(".card3",{opacity:0,duration:.6,scrollTrigger:{trigger:".card3",scrub:!0,start:"0",end:"0"}}),Zr.to(".card4",{opacity:0,duration:.6,scrollTrigger:{trigger:".card4",scrub:!0,start:"0",end:"0"}}),Zr.to(".card5",{opacity:0,duration:.6,scrollTrigger:{trigger:".card5",scrub:!0,start:"0",end:"0"}}),Zr.to(".card6",{opacity:0,duration:.6,scrollTrigger:{trigger:".card6",scrub:!0,start:"0",end:"0"}})}topScroll(){Zr.from(".card4",{opacity:0,duration:.6,scrollTrigger:{trigger:".card4",scrub:!0,start:"20% 100%",end:"80% 100%"}}),Zr.from(".card5",{opacity:0,duration:.6,scrollTrigger:{trigger:".card5",scrub:!0,start:"20% 100%",end:"80% 100%"}}),Zr.from(".card6",{opacity:0,duration:.6,scrollTrigger:{trigger:".card6",scrub:!0,start:"20% 100%",end:"80% 100%"}}),Zr.from(".card7",{opacity:0,duration:.6,scrollTrigger:{trigger:".card7",scrub:!0,start:"20% 100%",end:"80% 100%"}})}ngAfterViewInit(){this.initScrollTrigger(),this.topScroll()}}return t.\u0275fac=function(e){return new(e||t)(r.Jb(i.e))},t.\u0275cmp=r.Db({type:t,selectors:[["app-home"]],viewQuery:function(t,e){var n;1&t&&r.ic(hu,!0),2&t&&r.dc(n=r.Wb())&&(e.card=n.first)},decls:79,vars:2,consts:[["id","home"],["src","../../assets/BB.jpg","alt","",1,"cover"],["id","services",1,"mc"],[1,"cardHead"],["id","services",1,"card1","card"],["routerLink","/webdev/req",1,"boxes"],[1,"material-icons"],["id","services",1,"card2","card"],["id","services",1,"card3","card"],["id","services",1,"card4","card"],["id","services",1,"card5","card"],["id","services",1,"card6","card"],["id","services",1,"card7","card"],["id","about",1,"readmore"],[4,"ngIf"],[3,"click"]],template:function(t,e){1&t&&(r.Ob(0,"div",0),r.Kb(1,"app-navbar"),r.Nb(),r.Kb(2,"img",1),r.Ob(3,"div",2),r.Ob(4,"div",3),r.Ob(5,"mat-card",4),r.Ob(6,"div",5),r.Ob(7,"span",6),r.lc(8," code "),r.Nb(),r.Kb(9,"br"),r.Ob(10,"h2"),r.lc(11,"WEB DEVELOPMENT "),r.Nb(),r.Ob(12,"p"),r.lc(13,"Building and Maintaiing websites. Experience Fully Optimised and Responsive SPA with Sparkling features! ."),r.Nb(),r.Nb(),r.Nb(),r.Ob(14,"mat-card",7),r.Ob(15,"div",5),r.Ob(16,"span",6),r.lc(17," view_quilt "),r.Nb(),r.Kb(18,"br"),r.Ob(19,"h2"),r.lc(20,"UI/UX DEVELOPMENT "),r.Nb(),r.Ob(21,"p"),r.lc(22,"Beyond the limits of imagination, we bring satisfactory designs for friendly user experience."),r.Nb(),r.Nb(),r.Nb(),r.Ob(23,"mat-card",8),r.Ob(24,"div",5),r.Ob(25,"span",6),r.lc(26," brush "),r.Nb(),r.Kb(27,"br"),r.Ob(28,"h2"),r.lc(29,"GRAPHIC & BRANDING "),r.Nb(),r.Ob(30,"p"),r.lc(31," Visual identity is what that brand looks like, from your logo to your color choices and so much more. "),r.Nb(),r.Nb(),r.Nb(),r.Ob(32,"mat-card",9),r.Ob(33,"div",5),r.Ob(34,"span",6),r.lc(35," laptop_mac "),r.Nb(),r.Kb(36,"br"),r.Ob(37,"h2"),r.lc(38,"COMPUTER SOFTWARE "),r.Nb(),r.Ob(39,"p"),r.lc(40,"Building Computer Softwares Professionally to run accross intended Operating Systems."),r.Nb(),r.Nb(),r.Nb(),r.Ob(41,"mat-card",10),r.Ob(42,"div",5),r.Ob(43,"span",6),r.lc(44," phone_iphone "),r.Nb(),r.Kb(45,"br"),r.Ob(46,"h2"),r.lc(47,"MOBILE APP DEVELOPMENT "),r.Nb(),r.Ob(48,"p"),r.lc(49,"Taking Mobile Phone App Development to the next level to have best and efficient user experience"),r.Nb(),r.Nb(),r.Nb(),r.Ob(50,"mat-card",11),r.Ob(51,"div",5),r.Ob(52,"span",6),r.lc(53," security "),r.Nb(),r.Kb(54,"br"),r.Ob(55,"h2"),r.lc(56,"CYBER SECURITY SERVICES "),r.Nb(),r.Ob(57,"p"),r.lc(58,"Need your Security to be enhanced and optimised? we here provide proficient solutions to your critical security system. "),r.Nb(),r.Nb(),r.Nb(),r.Ob(59,"mat-card",12),r.Ob(60,"div",5),r.Ob(61,"span",6),r.lc(62," add_shopping_cart "),r.Nb(),r.Kb(63,"br"),r.Ob(64,"h2"),r.lc(65,"Ecommerce "),r.Nb(),r.Ob(66,"p"),r.lc(67,"Owning an Ecommerce website or mobile app can benefit your business grow lightning fast, So if you want to have your business a website, let us do it for you. "),r.Nb(),r.Nb(),r.Nb(),r.Nb(),r.Nb(),r.Ob(68,"div",13),r.Ob(69,"h2"),r.lc(70," WEB & APPLICATION DEVELOPMENT COMPANY IN HYDERABAD "),r.Ob(71,"span"),r.Kb(72,"hr"),r.Nb(),r.Nb(),r.Ob(73,"p"),r.lc(74,"Planning to build your online presence? And looking for the best enterprise that offers web development services in Hyderabad, then no need to search more your search ends here with CyberForce Technologies. We are experienced in successfully building web and mobile applications for business, that creates user-centric websites and designing apps that could easily engage the audiences among various profiles of the company. We refer to diverse approaches by providing various options for web development services. CyberForce Technologies is a trusted name of website developers in Hyderabad and your coding partner that assures Google-loved and fast web pages. With creative-thinking, we put value to your ideas, requirements through responsive web pages, design, development, conversion, and customization as well. A leading and the best web development company in Hyderabad, that gives assured commitment by our dedicated project managers. "),r.Nb(),r.kc(75,du,24,0,"ng-container",14),r.Ob(76,"button",15),r.Vb("click",(function(){return e.onView()})),r.lc(77),r.Nb(),r.Nb(),r.Kb(78,"app-footer")),2&t&&(r.zb(75),r.cc("ngIf",e.visible),r.zb(2),r.mc(e.readmore?"Read More":"Read Less"))},directives:[Js,lu,M.b,i.t,cu],styles:[".nav[_ngcontent-%COMP%]{position:relative;top:5rem;background-color:#fff}.nav[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;color:#000}.services[_ngcontent-%COMP%]{margin:0 1rem 1rem;position:relative;width:15rem;border:thin grey;padding:2rem 0;text-align:center;border-radius:6px;color:#000;display:inline-grid;top:10rem;left:35%;height:12rem;transition:.2s ease-in}.card[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:5rem;padding:6px}.card[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{color:red}.mc[_ngcontent-%COMP%]{text-align:center;width:100%;display:flex;justify-items:center}.cardHead[_ngcontent-%COMP%], .mc[_ngcontent-%COMP%]{justify-content:center}.cardHead[_ngcontent-%COMP%]{position:relative;top:7rem;width:78rem}.card1[_ngcontent-%COMP%], .card2[_ngcontent-%COMP%], .card3[_ngcontent-%COMP%], .card4[_ngcontent-%COMP%], .card5[_ngcontent-%COMP%], .card6[_ngcontent-%COMP%], .card7[_ngcontent-%COMP%]{text-align:center;width:18rem;margin:2rem;display:inline-block;height:15rem;transition:.6s ease-in-out;padding:16px;cursor:pointer}.boxes[_ngcontent-%COMP%]{display:inline-grid;margin-right:1rem;text-align:center}.boxes[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;left:2%}.b2[_ngcontent-%COMP%]{display:inline-grid;margin:2rem}.services[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:3.8rem}mat-card[_ngcontent-%COMP%]{width:14rem}.card[_ngcontent-%COMP%]:hover{padding:3rem 1.2rem;transition:.3s;box-shadow:0 20px 30px -10px red}.simg[_ngcontent-%COMP%]{position:relative;width:1100px;height:400px;left:14%;background:transparent}.cover[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{width:100%}.cover[_ngcontent-%COMP%]{position:relative;top:5rem}.container[_ngcontent-%COMP%]{margin:0 auto;width:60%;height:400px;position:relative;overflow:hidden}.slides[_ngcontent-%COMP%]{display:flex;height:100%}.slide[_ngcontent-%COMP%]{min-width:100%;position:relative}.slide[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%}.slide-controls[_ngcontent-%COMP%]{position:absolute;top:50%;left:0;transform:translateY(-50%);width:100%;display:flex;justify-content:space-between;align-items:center}#next-btn[_ngcontent-%COMP%], #prev-btn[_ngcontent-%COMP%]{cursor:pointer;background:#000;font-size:30px;border:none;padding:10px;color:#fff}#next-btn[_ngcontent-%COMP%]:focus, #prev-btn[_ngcontent-%COMP%]:focus{outline:none}.slide-content[_ngcontent-%COMP%]{position:absolute;top:50%;left:50px;transform:translateY(-50%);font-size:60px;color:#000}.readmore[_ngcontent-%COMP%]{position:relative;top:8rem}.rr[_ngcontent-%COMP%]{width:100%}.readmore[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#000;padding:10px;text-align:center}.readmore[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{padding:8px;position:relative;left:45%;color:maroon;border-color:maroon;background-color:#fff;border-radius:5px;border-width:thin}.readmore[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{width:80%;word-spacing:3%;line-height:1.5rem;letter-spacing:1px;position:relative;font-size:1rem;left:10%;top:-1rem;text-justify:center}@media screen and (min-width:768px){.serW[_ngcontent-%COMP%]{width:50rem;left:-15rem}.services[_ngcontent-%COMP%], .serW[_ngcontent-%COMP%]{position:relative}.services[_ngcontent-%COMP%]{display:inline-grid}}@media(orientation:Portrait){.services[_ngcontent-%COMP%]{margin-left:5rem;left:0}.services[_ngcontent-%COMP%], .serW[_ngcontent-%COMP%]{position:relative}.serW[_ngcontent-%COMP%]{left:-13.7rem}.cover[_ngcontent-%COMP%]{height:9rem}.readmore[_ngcontent-%COMP%]{position:relative;top:7rem;right:1rem}.card[_ngcontent-%COMP%], .card[_ngcontent-%COMP%]:hover{animation-name:cardA;animation-duration:2s;animation-fill-mode:forwards}@keyframes cardA{0%{margin:3rem}to{margin:2rem;box-shadow:0 20px 30px -10px red}}}@media screen and (max-width:414px){.card[_ngcontent-%COMP%]{width:18rem;height:-webkit-max-content;height:max-content;transition-property:color;transition:1s}.card[_ngcontent-%COMP%]:active{color:red}}@media screen and (max-width:400px){.services[_ngcontent-%COMP%]{left:10%;margin-left:-.1%}.services[_ngcontent-%COMP%], .serW[_ngcontent-%COMP%]{position:relative}.serW[_ngcontent-%COMP%]{left:-10rem}}@media screen and (max-width:375px){.services[_ngcontent-%COMP%]{position:relative;left:3.5rem}.card[_ngcontent-%COMP%]{width:16rem;text-align:center}.readmore[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{position:relative;left:1rem}.boxes[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .boxes[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:relative;left:2.8%}}@media screen and (max-width:320px){.serW[_ngcontent-%COMP%]{position:relative;left:-11.2rem}.card[_ngcontent-%COMP%]{width:13rem}}@media screen and (max-width:1280px){.services[_ngcontent-%COMP%]{left:2%}.services[_ngcontent-%COMP%], .serW[_ngcontent-%COMP%]{position:relative}}@media(orientation:Landscape){.services[_ngcontent-%COMP%], .serW[_ngcontent-%COMP%]{position:relative}.serW[_ngcontent-%COMP%]{left:1rem}}"]}),t})()},{path:"",loadChildren:()=>n.e(1).then(n.bind(null,"PCNd")).then(t=>t.SharedModule)},{path:"",loadChildren:()=>n.e(1).then(n.bind(null,"PCNd")).then(t=>t.SharedModule)}];let fu=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},imports:[[M.e.forRoot(pu,{useHash:!0})],M.e]}),t})(),gu=(()=>{class t{constructor(){this.title="cbt"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Db({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&r.Kb(0,"router-outlet")},directives:[M.f],styles:[""]}),t})();var mu=n("tk/3"),_u=n("3Pt+"),yu=n("VRyK");n("eIep");var bu=n("zx2A");class vu{constructor(t){this.notifier=t}call(t,e){const n=new wu(t),r=Object(bu.c)(this.notifier,new bu.a(n));return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class wu extends bu.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}n("EY2u");class Cu{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Su extends Cu{constructor(t,e,n,r){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=r}}class Eu extends Cu{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Ou extends Cu{constructor(t){super(),this.element=t instanceof r.l?t.nativeElement:t}}class xu extends class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Su?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Eu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Ou?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,e,n,r,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=r,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=i}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Du=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)}}),t})();var Au=n("DH7j"),Tu=n("n6bG");class ku{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Pu(t,this.durationSelector))}}class Pu extends bu.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(bu.c)(n,new bu.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()}}function Fu(t){return!Object(Au.a)(t)&&t-parseFloat(t)+1>=0}var Ru=n("z+Ro");function ju(t){const{index:e,period:n,subscriber:r}=t;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function Mu(t,e=Bl){return n=()=>function(t=0,e,n){let r=-1;return Fu(e)?r=Number(e)<1?1:Number(e):Object(Ru.a)(e)&&(n=e),Object(Ru.a)(n)||(n=Bl),new Wl.a(e=>{const i=Fu(t)?t:+t-n.now();return n.schedule(ju,i,{index:0,period:r,subscriber:e})})}(t,e),function(t){return t.lift(new ku(n))};var n}n("9ppp"),n("Ylt2");let Nu=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new Rl.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 Wl.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Mu(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(Ml.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(Hl.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>function t(e,n,r,i){return Object(Tu.a)(r)&&(i=r,r=void 0),i?t(e,n,r).pipe(Object(Ul.a)(t=>Object(Au.a)(t)?i(...t):i(t))):new Wl.a(t=>{!function t(e,n,r,i,s){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,s),o=()=>t.removeEventListener(n,r,s)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),o=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),o=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,r,i,s)}i.add(o)}(e,n,(function(e){t.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),t,r)})}(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(r.z),r.Sb(Pl),r.Sb(i.e,8))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(r.z),Object(r.Sb)(Pl),Object(r.Sb)(i.e,8))},token:t,providedIn:"root"}),t})(),Iu=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new Rl.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._getDocument(),e=this._getWindow(),n=t.documentElement,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Mu(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().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.Sb(Pl),r.Sb(r.z),r.Sb(i.e,8))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(Pl),Object(r.Sb)(r.z),Object(r.Sb)(i.e,8))},token:t,providedIn:"root"}),t})(),Vu=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)}}),t})(),Lu=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},imports:[[Xl,Fl,Vu],Xl,Vu]}),t})();class Bu{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=$l(-this._previousScrollPosition.left),t.style.top=$l(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,r=e.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=r,n.scrollBehavior=i}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class Hu{constructor(t,e,n,r){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Uu{enable(){}disable(){}attach(){}}function zu(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function qu(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class $u{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();zu(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Wu=(()=>{class t{constructor(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new Uu,this.close=t=>new Hu(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new Bu(this._viewportRuler,this._document),this.reposition=t=>new $u(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=r}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(Nu),r.Sb(Iu),r.Sb(r.z),r.Sb(i.e))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(Nu),Object(r.Sb)(Iu),Object(r.Sb)(r.z),Object(r.Sb)(i.e))},token:t,providedIn:"root"}),t})();class Gu{constructor(t){if(this.scrollStrategy=new Uu,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class Ku{constructor(t,e,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class Ju{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let Zu=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(i.e))},token:t,providedIn:"root"}),t})(),Qu=(()=>{class t extends Zu{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(i.e))},token:t,providedIn:"root"}),t})(),Yu=(()=>{class t extends Zu{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){const i=n[r];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(e))break;i._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e),r.Sb(Pl))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(i.e),Object(r.Sb)(Pl))},token:t,providedIn:"root"}),t})();const Xu=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let tc=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._platform?this._platform.isBrowser:"undefined"!=typeof window,e="cdk-overlay-container";if(t||Xu){const t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}const n=this._document.createElement("div");n.classList.add(e),Xu?n.setAttribute("platform","test"):t||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(i.e),r.Sb(Pl))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(i.e),Object(r.Sb)(Pl))},token:t,providedIn:"root"}),t})();class ec{constructor(t,e,n,r,i,s,o,a,l){this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=s,this._document=o,this._location=a,this._outsideClickDispatcher=l,this._backdropElement=null,this._backdropClick=new Rl.a,this._attachments=new Rl.a,this._detachments=new Rl.a,this._locationChanges=jl.a.EMPTY,this._backdropClickHandler=t=>this._backdropClick.next(t),this._keydownEvents=new Rl.a,this._outsidePointerEvents=new Rl.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(zl.a)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=$l(this._config.width),t.height=$l(this._config.height),t.minWidth=$l(this._config.minWidth),t.minHeight=$l(this._config.minHeight),t.maxWidth=$l(this._config.maxWidth),t.maxHeight=$l(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const r=t.classList;ql(e).forEach(t=>{t&&(n?r.add(t):r.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe((e=Object(yu.a)(this._attachments,this._detachments),t=>t.lift(new vu(e)))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())});var e})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const nc="cdk-overlay-connected-position-bounding-box",rc=/([A-Za-z%]+)$/;class ic{constructor(t,e,n,r,i){this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Rl.a,this._resizeSubscription=jl.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(nc),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,r=[];let i;for(let s of this._preferredPositions){let o=this._getOriginPoint(t,s),a=this._getOverlayPoint(o,e,s),l=this._getOverlayFit(a,e,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,o);this._canFitWithFlexibleDimensions(l,a,n)?r.push({position:s,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,s)}):(!i||i.overlayFit.visibleArea<l.visibleArea)&&(i={overlayFit:l,overlayPoint:a,originPoint:o,position:s,overlayRect:e})}if(r.length){let t=null,e=-1;for(const n of r){const r=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);r>e&&(e=r,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&sc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(nc),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,r;if("center"==e.originX)n=t.left+t.width/2;else{const r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return r="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:r}}_getOverlayPoint(t,e,n){let r,i;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,i="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+r,y:t.y+i}}_getOverlayFit(t,e,n,r){let{x:i,y:s}=t,o=this._getOffset(r,"x"),a=this._getOffset(r,"y");o&&(i+=o),a&&(s+=a);let l=0-s,u=s+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),h=this._subtractOverflows(e.height,l,u),d=c*h;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const r=n.bottom-e.y,i=n.right-e.x,s=oc(this._overlayRef.getConfig().minHeight),o=oc(this._overlayRef.getConfig().minWidth),a=t.fitsInViewportHorizontally||null!=o&&o<=i;return(t.fitsInViewportVertically||null!=s&&s<=r)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=this._viewportRect,i=Math.max(t.x+e.width-r.width,0),s=Math.max(t.y+e.height-r.height,0),o=Math.max(r.top-n.top-t.y,0),a=Math.max(r.left-n.left-t.x,0);let l=0,u=0;return l=e.width<=r.width?a||-i:t.x<this._viewportMargin?r.left-n.left-t.x:0,u=e.height<=r.height?o||-s:t.y<this._viewportMargin?r.top-n.top-t.y:0,this._previousPushAmount={x:l,y:u},{x:t.x+l,y:t.y+u}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new Ju(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,r=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let i=0;i<e.length;i++)e[i].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,r=this._isRtl();let i,s,o,a,l,u;if("top"===e.overlayY)s=t.y,i=n.height-s+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,i=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),r=this._lastBoundingBoxSize.height;i=2*e,s=t.y-e,i>r&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-r/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)u=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),r=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>r&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-r/2)}return{top:s,left:l,bottom:o,right:u,width:a,height:i}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;r.height=$l(n.height),r.top=$l(n.top),r.bottom=$l(n.bottom),r.width=$l(n.width),r.left=$l(n.left),r.right=$l(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(r.maxHeight=$l(t)),i&&(r.maxWidth=$l(i))}this._lastBoundingBoxSize=n,sc(this._boundingBox.style,r)}_resetBoundingBoxStyles(){sc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){sc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},r=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const r=this._viewportRuler.getViewportScrollPosition();sc(n,this._getExactOverlayY(e,t,r)),sc(n,this._getExactOverlayX(e,t,r))}else n.position="static";let o="",a=this._getOffset(e,"x"),l=this._getOffset(e,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),n.transform=o.trim(),s.maxHeight&&(r?n.maxHeight=$l(s.maxHeight):i&&(n.maxHeight="")),s.maxWidth&&(r?n.maxWidth=$l(s.maxWidth):i&&(n.maxWidth="")),sc(this._pane.style,n)}_getExactOverlayY(t,e,n){let r={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=s,"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=$l(i.y),r}_getExactOverlayX(t,e,n){let r,i={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),r=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===r?i.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":i.left=$l(s.x),i}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qu(t,n),isOriginOutsideView:zu(t,n),isOverlayClipped:qu(e,n),isOverlayOutsideView:zu(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&ql(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function sc(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function oc(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(rc);return n&&"px"!==n?null:parseFloat(e)}return t||null}class ac{constructor(t,e,n,r,i,s,o){this._preferredPositions=[],this._positionStrategy=new ic(n,r,i,s,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,r){const i=new Ku(t,e,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const lc="cdk-global-overlay-wrapper";class uc{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(lc),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:i,maxWidth:s,maxHeight:o}=n,a=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==i&&"100vh"!==i||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=a?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,a?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(lc),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let cc=(()=>{class t{constructor(t,e,n,r){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=r}global(){return new uc}connectedTo(t,e,n){return new ac(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new ic(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(Iu),r.Sb(i.e),r.Sb(Pl),r.Sb(tc))},t.\u0275prov=Object(r.Fb)({factory:function(){return new t(Object(r.Sb)(Iu),Object(r.Sb)(i.e),Object(r.Sb)(Pl),Object(r.Sb)(tc))},token:t,providedIn:"root"}),t})(),hc=0,dc=(()=>{class t{constructor(t,e,n,r,i,s,o,a,l,u,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=s,this._ngZone=o,this._document=a,this._directionality=l,this._location=u,this._outsideClickDispatcher=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),r=this._createPortalOutlet(n),i=new Gu(t);return i.direction=i.direction||this._directionality.value,new ec(r,e,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+hc++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new xu(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(Wu),r.Sb(tc),r.Sb(r.j),r.Sb(cc),r.Sb(Qu),r.Sb(r.r),r.Sb(r.z),r.Sb(i.e),r.Sb(Yl),r.Sb(i.n),r.Sb(Yu))},t.\u0275prov=r.Fb({token:t,factory:t.\u0275fac}),t})();const pc={provide:new r.q("cdk-connected-overlay-scroll-strategy"),deps:[dc],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let fc=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[dc,pc],imports:[[Xl,Du,Lu],Lu]}),t})();const gc={provide:new r.q("mat-menu-scroll-strategy"),deps:[dc],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let mc=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[gc],imports:[iu]}),t})(),_c=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[gc],imports:[[i.c,iu,su,fc,mc],Vu,iu,mc]}),t})(),yc=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)}}),t})(),bc=(()=>{class t{}return t.\u0275mod=r.Hb({type:t}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},imports:[[i.c,yc,Du]]}),t})(),vc=(()=>{class t{}return t.\u0275mod=r.Hb({type:t,bootstrap:[gu]}),t.\u0275inj=r.Gb({factory:function(e){return new(e||t)},providers:[],imports:[[j,fu,kl,mu.b,_u.m,_u.z,bc,_c,uu]]}),t})();Object(r.S)(),F().bootstrapModule(vc).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"},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 r=n("7o/Q"),i=n("HDdC"),s=n("SeVD");class o extends r.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 r.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 t instanceof i.a?t.subscribe(e):Object(s.a)(t)(e)}}},[[0,0]]]);