diff --git a/CHANGELOG.CN.md b/CHANGELOG.CN.md index c62ab7e..7bf76e5 100644 --- a/CHANGELOG.CN.md +++ b/CHANGELOG.CN.md @@ -1,3 +1,9 @@ +# v18.0.0 +## 破坏性更新 +- feat: `angular`升级到`v18`; + +--- + # v17.0.0 ## 破坏性更新 - feat: `angular`升级到`v17`; diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bc660e..44bb6cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v18.0.0 +## Breaking Changes +- feat: Upgrade `angular` to `v18`; + +--- + # v17.0.0 ## Breaking Changes - feat: Upgrade `angular` to `v17`; diff --git a/README.CN.md b/README.CN.md index fba90fa..dfbf1a3 100644 --- a/README.CN.md +++ b/README.CN.md @@ -49,6 +49,7 @@ Angular common lib by bigBear713, include some common `component`, `directive`, | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | | ^17.0.0 | ^17.0.0 | +| ^18.0.0 | ^18.0.0 | --- diff --git a/README.md b/README.md index 9531bfc..373d92f 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ Angular common lib by bigBear713, include some common `component`, `directive`, | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | | ^17.0.0 | ^17.0.0 | +| ^18.0.0 | ^18.0.0 | --- diff --git a/angular.json b/angular.json index b07b4a9..53ce364 100644 --- a/angular.json +++ b/angular.json @@ -18,12 +18,15 @@ "prefix": "app", "architect": { "build": { - "builder": "@angular-devkit/build-angular:browser", + "builder": "@angular-devkit/build-angular:application", "options": { - "outputPath": "dist/nb-common-demo", + "outputPath": { + "base": "dist/nb-common-demo" + }, "index": "src/index.html", - "main": "src/main.ts", - "polyfills": "src/polyfills.ts", + "polyfills": [ + "src/polyfills.ts" + ], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ @@ -38,7 +41,8 @@ "styles": [ "src/styles.scss" ], - "scripts": [] + "scripts": [], + "browser": "src/main.ts" }, "configurations": { "production": { @@ -62,10 +66,34 @@ ], "outputHashing": "all" }, + "deploy": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kb", + "maximumError": "1mb" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "2kb", + "maximumError": "4kb" + } + ], + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ], + "outputHashing": "all", + "outputPath":{ + "base": "docs", + "browser": "" + }, + "baseHref": "/nb-common/" + }, "development": { - "buildOptimizer": false, "optimization": false, - "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true diff --git a/docs/153.741b2b784256b353.js b/docs/153.741b2b784256b353.js deleted file mode 100644 index 7ff3d99..0000000 --- a/docs/153.741b2b784256b353.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[153],{3153:(Dn,st,c)=>{c.r(st),c.d(st,{CallFnDemoComponent:()=>fe,callFnDemoRoutes:()=>Cn});var i=c(7446),at=c(6814),lt=c(5253),ge=c(4699),ut=c(1280),dt=c(6124),me=c(7755);function E(e,n){return new ge.y(t=>{const r=e.length;if(0===r)return void t.complete();const o=new Array(r);let s=0,a=0;for(let d=0;d{y||(y=!0,a++),o[d]=A},error:A=>t.error(A),complete:()=>{s++,(s===r||!y)&&(a===r&&t.next(n?n.reduce((A,Vn,An)=>(A[Vn]=o[An],A),{}):o),t.complete())}}))}})}let ct=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#t=this.\u0275fac=function(r){return new(r||e)(i.Y36(i.Qsj),i.Y36(i.SBq))};static#e=this.\u0275dir=i.lG2({type:e})}return e})(),m=(()=>{class e extends ct{static#t=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=i.n5z(e)))(o||e)}})();static#e=this.\u0275dir=i.lG2({type:e,features:[i.qOj]})}return e})();const h=new i.OlP("NgValueAccessor"),ve={provide:h,useExisting:(0,i.Gpc)(()=>O),multi:!0},Ve=new i.OlP("CompositionEventMode");let O=(()=>{class e extends ct{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ce(){const e=(0,at.q)()?(0,at.q)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",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)}static#t=this.\u0275fac=function(r){return new(r||e)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(Ve,8))};static#e=this.\u0275dir=i.lG2({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&i.NdJ("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[i._Bn([ve]),i.qOj]})}return e})();const l=new i.OlP("NgValidators"),f=new i.OlP("NgAsyncValidators");function At(e){return null!=e}function Dt(e){return(0,i.QGY)(e)?(0,lt.D)(e):e}function bt(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Mt(e,n){return n.map(t=>t(e))}function Ft(e){return e.map(n=>function De(e){return!e.validate}(n)?n:t=>n.validate(t))}function U(e){return null!=e?function Et(e){if(!e)return null;const n=e.filter(At);return 0==n.length?null:function(t){return bt(Mt(t,n))}}(Ft(e)):null}function H(e){return null!=e?function Ot(e){if(!e)return null;const n=e.filter(At);return 0==n.length?null:function(t){return function _e(...e){if(1===e.length){const n=e[0];if((0,ut.k)(n))return E(n,null);if((0,me.K)(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return E(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return E(e=1===e.length&&(0,ut.k)(e[0])?e[0]:e,null).pipe((0,dt.U)(t=>n(...t)))}return E(e,null)}(Mt(t,n).map(Dt)).pipe((0,dt.U)(bt))}}(Ft(e)):null}function wt(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function R(e){return e?Array.isArray(e)?e:[e]:[]}function S(e,n){return Array.isArray(e)?e.includes(n):e===n}function Gt(e,n){const t=R(n);return R(e).forEach(o=>{S(t,o)||t.push(o)}),t}function Bt(e,n){return R(n).filter(t=>!S(e,t))}class Tt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=U(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=H(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class u extends Tt{get formDirective(){return null}get path(){return null}}class g extends Tt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class xt{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let kt=(()=>{class e extends xt{constructor(t){super(t)}static#t=this.\u0275fac=function(r){return new(r||e)(i.Y36(g,2))};static#e=this.\u0275dir=i.lG2({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&i.ekj("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[i.qOj]})}return e})();const D="VALID",G="INVALID",v="PENDING",b="DISABLED";function B(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Ht{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===D}get invalid(){return this.status===G}get pending(){return this.status==v}get disabled(){return this.status===b}get enabled(){return this.status!==b}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Gt(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Gt(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Bt(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Bt(n,this._rawAsyncValidators))}hasValidator(n){return S(this._rawValidators,n)}hasAsyncValidator(n){return S(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=v,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=b,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=D,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===D||this.status===v)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?b:D}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=v,this._hasOwnPendingAsyncValidator=!0;const t=Dt(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?b:this.errors?G:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(v)?v:this._anyControlsHaveStatus(G)?G:D}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){B(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Oe(e){return Array.isArray(e)?U(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function we(e){return Array.isArray(e)?H(e):e||null}(this._rawAsyncValidators)}}const C=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>T}),T="always";function M(e,n,t=T){(function Z(e,n){const t=function St(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(wt(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function Nt(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(wt(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();I(n._rawValidators,o),I(n._rawAsyncValidators,o)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Ge(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Rt(e,n)})}(e,n),function Te(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function Be(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Rt(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Ne(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function I(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Rt(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Lt(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Yt(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Wt=class extends Ht{constructor(n=null,t,r){super(function L(e){return(B(e)?e.validators:e)||null}(t),function Y(e,n){return(B(n)?n.asyncValidators:e)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),B(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Yt(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Lt(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Lt(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){Yt(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},je={provide:g,useExisting:(0,i.Gpc)(()=>X)},zt=(()=>Promise.resolve())();let X=(()=>{class e extends g{constructor(t,r,o,s,a,d){super(),this._changeDetectorRef=a,this.callSetDisabledState=d,this.control=new Wt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function J(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(s=>{s.constructor===O?t=s:function Ie(e){return Object.getPrototypeOf(e.constructor)===m}(s)?r=s:o=s}),o||r||t||null}(0,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function z(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(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(){M(this.control,this,this.callSetDisabledState),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){zt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&(0,i.VuI)(r);zt.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function x(e,n){return[...n.path,e]}(t,this._parent):[t]}static#t=this.\u0275fac=function(r){return new(r||e)(i.Y36(u,9),i.Y36(l,10),i.Y36(f,10),i.Y36(h,10),i.Y36(i.sBO,8),i.Y36(C,8))};static#e=this.\u0275dir=i.lG2({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([je]),i.qOj,i.TTD]})}return e})();const Le={provide:h,useExisting:(0,i.Gpc)(()=>K),multi:!0};let K=(()=>{class e extends m{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#t=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=i.n5z(e)))(o||e)}})();static#e=this.\u0275dir=i.lG2({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){1&r&&i.NdJ("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[i._Bn([Le]),i.qOj]})}return e})(),Jt=(()=>{class e{static#t=this.\u0275fac=function(r){return new(r||e)};static#e=this.\u0275mod=i.oAB({type:e});static#n=this.\u0275inj=i.cJS({})}return e})(),fn=(()=>{class e{static#t=this.\u0275fac=function(r){return new(r||e)};static#e=this.\u0275mod=i.oAB({type:e});static#n=this.\u0275inj=i.cJS({imports:[Jt]})}return e})(),mn=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:C,useValue:t.callSetDisabledState??T}]}}static#t=this.\u0275fac=function(r){return new(r||e)};static#e=this.\u0275mod=i.oAB({type:e});static#n=this.\u0275inj=i.cJS({imports:[fn]})}return e})();var _n=c(1363),yn=c(7819);const vn=(e,n)=>[e,n];let fe=(()=>{class e{constructor(t){this.gtagService=t,this.val1=0,this.val2=0,this.valArr=[],this.code1="\n // template\n {{sum|nbCallFn:[val1,val2]}}\n // ts\n sum(valArr: number[]) {\n return valArr.reduce((result, cur) => {\n result += cur;\n return result;\n }, 0);\n }\n ",this.code2="\n // template\n {{sum|nbCallFn:valArr}}\n // ts\n sum(valArr: number[]) {\n return valArr.reduce((result, cur) => {\n result += cur;\n return result;\n }, 0);\n }\n updateValArr() {\n this.valArr = [...this.valArr];\n }\n ",this.code3="\n // template\n {{multiplyBy|nbCallFn:val1:val2}}\n // ts\n multiplyBy(val1: number, val2: number) {\n return val1 * val2;\n }\n ",this.gtagService.trackPage({page_name:"callFn Pipe"})}ngOnInit(){}sum(t){return t.reduce((r,o)=>r+o,0)}multiplyBy(t,r){return t*r}onValueChange(t,r){this.valArr[r]=t}updateValArr(){this.valArr=[...this.valArr]}static#t=this.\u0275fac=function(r){return new(r||e)(i.Y36(yn.u))};static#e=this.\u0275cmp=i.Xpm({type:e,selectors:[["app-call-fn-demo"]],standalone:!0,features:[i.jDz],decls:46,vars:21,consts:[["type","number",3,"ngModel","ngModelChange"],[3,"click"]],template:function(r,o){1&r&&(i.TgZ(0,"label"),i._uU(1,"val1:"),i.TgZ(2,"input",0),i.NdJ("ngModelChange",function(a){return o.val1=a})("ngModelChange",function(){return o.onValueChange(o.val1,0)}),i.qZA()(),i.TgZ(3,"label"),i._uU(4,"val2:"),i.TgZ(5,"input",0),i.NdJ("ngModelChange",function(a){return o.val2=a})("ngModelChange",function(){return o.onValueChange(o.val2,1)}),i.qZA()(),i.TgZ(6,"h4"),i._uU(7,"\u8c03\u7528multiplyBy\u51fd\u6570"),i.qZA(),i.TgZ(8,"div"),i._uU(9),i.ALo(10,"nbCallFn"),i.qZA(),i.TgZ(11,"h5"),i._uU(12,"\u4ee3\u7801"),i.qZA(),i.TgZ(13,"pre"),i._uU(14," "),i.TgZ(15,"code"),i._uU(16),i.qZA(),i._uU(17,"\n "),i.qZA(),i._UZ(18,"hr"),i.TgZ(19,"h4"),i._uU(20,"\u8c03\u7528sum\u51fd\u6570"),i.qZA(),i.TgZ(21,"div"),i._uU(22),i.ALo(23,"nbCallFn"),i.qZA(),i.TgZ(24,"h5"),i._uU(25,"\u4ee3\u7801"),i.qZA(),i.TgZ(26,"pre"),i._uU(27," "),i.TgZ(28,"code"),i._uU(29),i.qZA(),i._uU(30,"\n"),i.qZA(),i.TgZ(31,"button",1),i.NdJ("click",function(){return o.updateValArr()}),i._uU(32,"update valArr"),i.qZA(),i.TgZ(33,"h5"),i._uU(34,"\u9700\u8981\u624b\u52a8\u66f4\u65b0valArr\u6570\u7ec4\uff0cpipe\u624d\u4f1a\u68c0\u6d4b\u5230\u53c2\u6570\u53d8\u5316\uff0c\u4ece\u800c\u6267\u884c"),i.qZA(),i.TgZ(35,"div"),i._uU(36),i.ALo(37,"nbCallFn"),i.qZA(),i.TgZ(38,"h5"),i._uU(39,"\u4ee3\u7801"),i.qZA(),i.TgZ(40,"pre"),i._uU(41," "),i.TgZ(42,"code"),i._uU(43),i.qZA(),i._uU(44,"\n "),i.qZA(),i._UZ(45,"hr")),2&r&&(i.xp6(2),i.Q6J("ngModel",o.val1),i.xp6(3),i.Q6J("ngModel",o.val2),i.xp6(4),i.Oqu(i.Dn7(10,8,o.multiplyBy,o.val1,o.val2)),i.xp6(7),i.hij("\n ",o.code3,"\n "),i.xp6(6),i.Oqu(i.xi3(23,12,o.sum,i.WLB(18,vn,o.val1,o.val2))),i.xp6(7),i.hij("\n ",o.code1,"\n "),i.xp6(7),i.Oqu(i.xi3(37,15,o.sum,o.valArr)),i.xp6(7),i.hij("\n ",o.code2,"\n "))},dependencies:[_n.BW,mn,O,K,kt,X]})}return e})();const Cn=[{path:"",component:fe}]}}]); \ No newline at end of file diff --git a/docs/363.3c483319babd76f2.js b/docs/363.3c483319babd76f2.js deleted file mode 100644 index 510ffdc..0000000 --- a/docs/363.3c483319babd76f2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[363],{1363:(ge,M,l)=>{l.d(M,{N5:()=>v,BW:()=>I,vw:()=>pe,dt:()=>y,G4:()=>_,dn:()=>b,vG:()=>S});var n=l(7446),r=l(6814),R="object"==typeof global&&global&&global.Object===Object&&global,N="object"==typeof self&&self&&self.Object===Object&&self,j=(R||N||Function("return this")()).Symbol,m=Object.prototype,w=m.hasOwnProperty,O=m.toString,u=j?j.toStringTag:void 0;var A=Object.prototype.toString;var h=j?j.toStringTag:void 0;const p=function L(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":h&&h in Object(e)?function F(e){var i=w.call(e,u),t=e[u];try{e[u]=void 0;var o=!0}catch{}var s=O.call(e);return o&&(i?e[u]=t:delete e[u]),s}(e):function Y(e){return A.call(e)}(e)},f=function G(e){return null!=e&&"object"==typeof e},J=Array.isArray;var q=l(4699),ee=l(8152),te=l(9352);const ne=["nb-r-str",""];function oe(e,i){if(1&e&&(n.ynx(0),n._uU(1),n.ALo(2,"async"),n.BQk()),2&e){const t=n.oxw();n.xp6(1),n.Oqu(n.lcZ(2,1,t.asyncContent))}}function se(e,i){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const t=n.oxw();n.xp6(1),n.Oqu(t.content)}}let c=(()=>{class e{constructor(){}isBoolean(t){return function U(e){return!0===e||!1===e||f(e)&&"[object Boolean]"==p(e)}(t)}isNumber(t){return function V(e){return"number"==typeof e||f(e)&&"[object Number]"==p(e)}(t)}isObservable(t){return t instanceof q.y}isPromise(t){return t instanceof Promise}isString(t){return function W(e){return"string"==typeof e||!J(e)&&f(e)&&"[object String]"==p(e)}(t)}isTemplateRef(t){return t instanceof n.Rgc}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),g=(()=>{class e{constructor(t){this.valueTypeService=t}transform(t){return this.valueTypeService.isObservable(t)||this.valueTypeService.isPromise(t)}static#e=this.\u0275fac=function(o){return new(o||e)(n.Y36(c,16))};static#t=this.\u0275pipe=n.Yjl({name:"nbIsAsync",type:e,pure:!0,standalone:!0})}return e})(),b=(()=>{class e{constructor(){this.content=""}get asyncContent(){return this.content}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275cmp=n.Xpm({type:e,selectors:[["","nb-r-str",""]],inputs:{content:["nb-r-str","content"]},standalone:!0,features:[n.jDz],attrs:ne,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(o,s){1&o&&(n.ynx(0,0),n.ALo(1,"nbIsAsync"),n.YNc(2,oe,3,3,"ng-container",1)(3,se,2,1,"ng-container",2),n.BQk()),2&o&&(n.Q6J("ngSwitch",n.lcZ(1,2,s.content)),n.xp6(2),n.Q6J("ngSwitchCase",!0))},dependencies:[r.RF,r.n9,r.ED,r.Ov,g],encapsulation:2,changeDetection:0})}return e})();const ie=new n.OlP("default error image"),v=new n.OlP("default loading image");let y=(()=>{class e{constructor(t,o,s,a){this.changeDR=t,this.defaultErrImg=o,this.defaultLoadingImg=s,this.elementRef=a,this.nbImg="",this.src="",this.loadingImg=this.defaultLoadingImg||"./assets/nb-common/loading.svg",this.errImg=this.defaultErrImg||"./assets/nb-common/picture.svg"}ngOnChanges(t){const{nbImg:o}=t;this.changeNbImg(o)}changeNbImg(t){t?.firstChange&&(this.src=this.elementRef.nativeElement.src),t&&this.loadImage()}loadImage(){this.nbImg?this.loadImgFromNbImg():this.loadImgFromSrc()}loadImgFromNbImg(){this.updateImgSrc(this.loadingImg);const t=new Image;t.onerror=()=>this.updateImgSrc(this.errImg),t.onload=()=>this.updateImgSrc(this.nbImg),t.src=this.nbImg}loadImgFromSrc(){this.elementRef.nativeElement.onerror=()=>{this.updateImgSrc(this.errImg),this.elementRef.nativeElement.onerror=null}}updateImgSrc(t){this.src=t,this.changeDR.markForCheck()}static#e=this.\u0275fac=function(o){return new(o||e)(n.Y36(n.sBO),n.Y36(ie,8),n.Y36(v,8),n.Y36(n.SBq))};static#t=this.\u0275dir=n.lG2({type:e,selectors:[["img","nbImg",""]],hostVars:1,hostBindings:function(o,s){2&o&&n.Ikx("src",s.src,n.LSH)},inputs:{errImg:"errImg",loadingImg:"loadingImg",nbImg:"nbImg"},standalone:!0,features:[n.TTD]})}return e})(),T=(()=>{class e{constructor(){this.destroy$=new ee.xQ,this.subscriptionList=[],this.subscriptionMap=new Map}addUnsubscribeOperator(t){return t.pipe((0,te.R)(this.destroy$))}clearAllSubscriptions(){this.subscriptionList.forEach(t=>t.unsubscribe()),this.subscriptionList.length=0}clearAllSubscriptionsFromKeyRecord(){this.subscriptionMap.forEach((t,o)=>{t.unsubscribe(),this.subscriptionMap.delete(o)})}collectASubscription(t){this.subscriptionList.push(t)}collectASubscriptionByKey(t,o,s=!0){const a=this.subscriptionMap.get(t);return a&&s&&a.unsubscribe(),this.subscriptionMap.set(t,o),a}getDestructionSignal(){return this.destroy$.asObservable()}unsubscribeASubscriptionByKey(t){const o=this.subscriptionMap.get(t);return!!o&&(o.unsubscribe(),this.subscriptionMap.delete(t))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearAllSubscriptions(),this.clearAllSubscriptionsFromKeyRecord()}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275prov=n.Yz7({token:e,factory:e.\u0275fac})}return e})(),_=(()=>{class e{constructor(t,o,s){this.chageDR=t,this.unsubscribeService=o,this.valueTypeService=s,this.nbPlaceholder="",this.placeholder=""}ngOnChanges(){this.reRender()}reRender(){if(this.valueTypeService.isString(this.nbPlaceholder))return this.placeholder=this.nbPlaceholder,void this.chageDR.markForCheck();const t=this.nbPlaceholder.subscribe(o=>this.updatePlaceholder(o));this.unsubscribeService.collectASubscriptionByKey("placeholder-content",t)}updatePlaceholder(t){this.placeholder=t,this.chageDR.markForCheck()}static#e=this.\u0275fac=function(o){return new(o||e)(n.Y36(n.sBO),n.Y36(T),n.Y36(c))};static#t=this.\u0275dir=n.lG2({type:e,selectors:[["","nbPlaceholder",""]],hostVars:1,hostBindings:function(o,s){2&o&&n.Ikx("placeholder",s.placeholder)},inputs:{nbPlaceholder:"nbPlaceholder"},standalone:!0,features:[n._Bn([T]),n.TTD]})}return e})(),S=(()=>{class e{constructor(t){this.valueTypeService=t}transform(t){return this.valueTypeService.isTemplateRef(t)?t:null}static#e=this.\u0275fac=function(o){return new(o||e)(n.Y36(c,16))};static#t=this.\u0275pipe=n.Yjl({name:"nbTplContent",type:e,pure:!0,standalone:!0})}return e})(),I=(()=>{class e{transform(t,...o){if(t)return t(...o)}static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275pipe=n.Yjl({name:"nbCallFn",type:e,pure:!0,standalone:!0})}return e})(),pe=(()=>{class e{static#e=this.\u0275fac=function(o){return new(o||e)};static#t=this.\u0275mod=n.oAB({type:e});static#n=this.\u0275inj=n.cJS({})}return e})()}}]); \ No newline at end of file diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 4c457ec..d1c6bb5 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -1,69 +1,13 @@ -@angular/common -MIT -@angular/core -MIT +-------------------------------------------------------------------------------- +Package: @angular/forms +License: "MIT" -@angular/forms -MIT -@angular/platform-browser -MIT +-------------------------------------------------------------------------------- +Package: lodash-es +License: "MIT" -@angular/router -MIT - -@bigbear713/nb-common -MIT -MIT License - -Copyright (c) 2022 @bigbear713/nb-common project - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -dayjs -MIT -MIT License - -Copyright (c) 2018-present, iamkun - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -lodash-es -MIT Copyright OpenJS Foundation and other contributors Based on Underscore.js, copyright Jeremy Ashkenas, @@ -112,9 +56,41 @@ maintained libraries used by this software which have their own licenses; we recommend you read them, as their terms may differ from the terms above. +-------------------------------------------------------------------------------- +Package: dayjs +License: "MIT" + +MIT License + +Copyright (c) 2018-present, iamkun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------------------- +Package: @angular/core +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: rxjs +License: "Apache-2.0" -rxjs -Apache-2.0 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -318,12 +294,28 @@ Apache-2.0 limitations under the License. +-------------------------------------------------------------------------------- +Package: @angular/common +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/platform-browser +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: @angular/router +License: "MIT" + + +-------------------------------------------------------------------------------- +Package: zone.js +License: "MIT" -zone.js -MIT The MIT License -Copyright (c) 2010-2023 Google LLC. https://angular.io/license +Copyright (c) 2010-2024 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -342,3 +334,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +-------------------------------------------------------------------------------- diff --git a/docs/404.html b/docs/404.html index e918c9d..1957b71 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,29 +1,29 @@ + + + NbCommon + + + - - - NbCommon - - - - - - - - + + + + - - - - - \ No newline at end of file + + + + diff --git a/docs/61.a8767e6285901d2e.js b/docs/61.a8767e6285901d2e.js deleted file mode 100644 index 21ba5f9..0000000 --- a/docs/61.a8767e6285901d2e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[61],{8061:(c,r,m)=>{m.r(r),m.d(r,{ImgDemoModule:()=>A});var Z=m(6814),u=m(7446),o=m(7819),t=m(1363);let s=(()=>{class g{constructor(e){this.gtagService=e,this.bigImg="https://pic2.zhimg.com/v2-77be54b348b0168f3562f51404451aeb_r.jpg",this.loadingImg="./assets/loading.svg",this.errImg="./assets/picture.svg",this.gtagService.trackPage({page_name:"img Director"})}ngOnInit(){}static#u=this.\u0275fac=function(n){return new(n||g)(u.Y36(o.u))};static#g=this.\u0275cmp=u.Xpm({type:g,selectors:[["app-img-demo"]],decls:68,vars:12,consts:[[3,"nbImg"],[3,"nbImg","loadingImg"],["nbImg","invalidImg"],["nbImg","invalidImg",3,"errImg"],["nbImg","",3,"src"],["src","invalidImg","nbImg","",3,"errImg"]],template:function(n,i){1&n&&(u.TgZ(0,"h2"),u._uU(1,"\u9002\u7528\u4e8e\u52a0\u8f7d\u5927\u56fe\u7247\u7684\u573a\u666f\uff0c\u52a0\u8f7d\u8fc7\u7a0b\u4e2d\u4f1a\u6709loading\u6548\u679c"),u.qZA(),u.TgZ(2,"h4"),u._uU(3,'\u53ea\u8bbe\u7f6e"nbImg"'),u.qZA(),u._UZ(4,"img",0),u.TgZ(5,"h5"),u._uU(6,"\u4ee3\u7801"),u.qZA(),u.TgZ(7,"pre"),u._uU(8," "),u.TgZ(9,"code"),u._uU(10),u.qZA(),u._uU(11,"\n "),u.qZA(),u._UZ(12,"hr"),u.TgZ(13,"h4"),u._uU(14,"\u81ea\u5b9a\u4e49loading\u56fe\u7247"),u.qZA(),u._UZ(15,"img",1),u.TgZ(16,"h5"),u._uU(17,"\u4ee3\u7801"),u.qZA(),u.TgZ(18,"pre"),u._uU(19," "),u.TgZ(20,"code"),u._uU(21),u.qZA(),u._uU(22,"\n "),u.qZA(),u._UZ(23,"hr"),u.TgZ(24,"h4"),u._uU(25,"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25, \u663e\u793a\u9ed8\u8ba4\u56fe\u7247"),u.qZA(),u._UZ(26,"img",2),u.TgZ(27,"h5"),u._uU(28,"\u4ee3\u7801"),u.qZA(),u.TgZ(29,"pre"),u._uU(30," "),u.TgZ(31,"code"),u._uU(32),u.qZA(),u._uU(33,"\n "),u.qZA(),u._UZ(34,"hr"),u.TgZ(35,"h4"),u._uU(36,"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25, \u663e\u793a\u81ea\u5b9a\u4e49\u56fe\u7247"),u.qZA(),u._UZ(37,"img",3),u.TgZ(38,"h5"),u._uU(39,"\u4ee3\u7801"),u.qZA(),u.TgZ(40,"pre"),u._uU(41," "),u.TgZ(42,"code"),u._uU(43),u.qZA(),u._uU(44,"\n "),u.qZA(),u._UZ(45,"hr"),u.TgZ(46,"h4"),u._uU(47,"\u5f53\u8bbe\u7f6e\u4e86src\uff0c\u4e14nbImg\u6ca1\u6709\u8bbe\u7f6e\u503c\u65f6\uff0c\u4ecd\u663e\u793asrc\u7684\u5185\u5bb9"),u.qZA(),u._UZ(48,"img",4),u.TgZ(49,"h5"),u._uU(50,"\u4ee3\u7801"),u.qZA(),u.TgZ(51,"pre"),u._uU(52," "),u.TgZ(53,"code"),u._uU(54),u.qZA(),u._uU(55,"\n "),u.qZA(),u._UZ(56,"hr"),u.TgZ(57,"h4"),u._uU(58,"\u5f53\u8bbe\u7f6e\u4e86\u65e0\u6548\u7684src\uff0c\u4e14nbImg\u6ca1\u6709\u8bbe\u7f6e\u503c\u65f6\uff0c\u663e\u793a\u81ea\u5b9a\u4e49\u56fe\u7247"),u.qZA(),u._UZ(59,"img",5),u.TgZ(60,"h5"),u._uU(61,"\u4ee3\u7801"),u.qZA(),u.TgZ(62,"pre"),u._uU(63," "),u.TgZ(64,"code"),u._uU(65),u.qZA(),u._uU(66,"\n "),u.qZA(),u._UZ(67,"hr")),2&n&&(u.xp6(4),u.Q6J("nbImg",i.bigImg),u.xp6(6),u.hij("\n ",'',"\n "),u.xp6(5),u.Q6J("nbImg",i.bigImg)("loadingImg",i.loadingImg),u.xp6(6),u.hij("\n ",'',"\n "),u.xp6(11),u.hij("\n ",'',"\n "),u.xp6(5),u.Q6J("errImg",i.errImg),u.xp6(6),u.hij("\n ",'',"\n "),u.xp6(5),u.Q6J("src",i.bigImg,u.LSH),u.xp6(6),u.hij("\n ",'',"\n "),u.xp6(5),u.Q6J("errImg",i.errImg),u.xp6(6),u.hij("\n ",'',"\n "))},dependencies:[t.dt],styles:["img[_ngcontent-%COMP%]{width:50px;height:50%}"],changeDetection:0})}return g})();var E=m(4469);const I=[{path:"",component:s}];let A=(()=>{class g{static#u=this.\u0275fac=function(n){return new(n||g)};static#g=this.\u0275mod=u.oAB({type:g});static#m=this.\u0275inj=u.cJS({imports:[Z.ez,t.vw,E.Bz.forChild(I)]})}return g})()}}]); \ No newline at end of file diff --git a/docs/644.a01841aeb789a442.js b/docs/644.a01841aeb789a442.js deleted file mode 100644 index 87a81cb..0000000 --- a/docs/644.a01841aeb789a442.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[644],{5644:(C,l,e)=>{e.r(l),e.d(l,{TplContentDemoModule:()=>T});var c=e(6814),t=e(7446),a=e(7819),p=e(1363);function m(n,Z){1&n&&t.GkF(0)}function s(n,Z){1&n&&t._uU(0," template content ")}let i=(()=>{class n{constructor(u){this.gtagService=u,this.gtagService.trackPage({page_name:"tpl content pipe"})}ngOnInit(){}static#t=this.\u0275fac=function(o){return new(o||n)(t.Y36(a.u))};static#n=this.\u0275cmp=t.Xpm({type:n,selectors:[["app-tpl-content-demo"]],decls:29,vars:11,consts:[[4,"ngTemplateOutlet"],["tpl",""]],template:function(o,A){if(1&o&&(t.TgZ(0,"h2"),t._uU(1,"\u9002\u7528\u4e8e\u9700\u8981\u5224\u65ad\u8f93\u5165\u7684\u662ftemplateRef\u7684\u573a\u666f"),t.qZA(),t.TgZ(2,"h4"),t._uU(3,"\u5f53\u5185\u5bb9\u662f\u6570\u5b57\u65f6\uff0c\u8fd4\u56denull"),t.qZA(),t._uU(4),t.ALo(5,"json"),t.ALo(6,"nbTplContent"),t.TgZ(7,"h5"),t._uU(8,"\u4ee3\u7801"),t.qZA(),t.TgZ(9,"pre"),t._uU(10," "),t.TgZ(11,"code"),t._uU(12),t.qZA(),t._uU(13,"\n"),t.qZA(),t._UZ(14,"hr"),t.TgZ(15,"h5"),t._uU(16,"\u5f53\u5185\u5bb9\u662ftemplateRef\u65f6\uff0c\u6b63\u5e38\u663e\u793a"),t.qZA(),t.YNc(17,m,1,0,"ng-container",0),t.ALo(18,"nbTplContent"),t.TgZ(19,"h5"),t._uU(20,"\u4ee3\u7801"),t.qZA(),t.TgZ(21,"pre"),t._uU(22," "),t.TgZ(23,"code"),t._uU(24),t.qZA(),t._uU(25,"\n"),t.qZA(),t._UZ(26,"hr"),t.YNc(27,s,1,0,"ng-template",null,1,t.W1O)),2&o){const h=t.MAs(28);t.xp6(4),t.hij("\n",t.lcZ(5,5,t.lcZ(6,7,111)),"\n"),t.xp6(8),t.hij("\n ","{{111 | nbTplContent | json}}","\n "),t.xp6(5),t.Q6J("ngTemplateOutlet",t.lcZ(18,9,h)),t.xp6(7),t.AsE("\n ",'',"\n "," template content ","\n ")}},dependencies:[c.tP,c.Ts,p.vG],changeDetection:0})}return n})();var g=e(4469);const r=[{path:"",component:i}];let T=(()=>{class n{static#t=this.\u0275fac=function(o){return new(o||n)};static#n=this.\u0275mod=t.oAB({type:n});static#e=this.\u0275inj=t.cJS({imports:[c.ez,p.vw,g.Bz.forChild(r)]})}return n})()}}]); \ No newline at end of file diff --git a/docs/772.d2a18bd900c29719.js b/docs/772.d2a18bd900c29719.js deleted file mode 100644 index a4dd88e..0000000 --- a/docs/772.d2a18bd900c29719.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[772],{772:(g,l,u)=>{u.r(l),u.d(l,{PlaceholderStrDemoModule:()=>m});var a=u(6814),h=u(5125),e=u(7446),s=u(7819),c=u(1363);let i=(()=>{class t{constructor(o){this.gtagService=o,this.placeholder$=new h.X("\u8fd9\u662fplaceholder"),this.gtagService.trackPage({page_name:"placeholderStr Director"})}ngOnInit(){}changeObservableContent(){this.placeholder$.next("\u8fd9\u662fplaceholder"===this.placeholder$.value?"This is placeholder":"\u8fd9\u662fplaceholder"),this.gtagService.trackButton({button_name:"\u66f4\u6539\u89c2\u5bdf\u8005\u5bf9\u8c61\u7684\u5185\u5bb9",page_name:"placeholderStr Director"})}static#e=this.\u0275fac=function(n){return new(n||t)(e.Y36(s.u))};static#t=this.\u0275cmp=e.Xpm({type:t,selectors:[["app-placeholder-str-demo"]],decls:26,vars:7,consts:[["nbPlaceholder","\u8fd9\u662fplaceholder"],[3,"click"],[3,"nbPlaceholder"]],template:function(n,r){1&n&&(e.TgZ(0,"h2"),e._uU(1,"\u9002\u7528\u4e8eplaceholder\u7684\u503c\u4f1a\u6539\u53d8\uff0c\u53c8\u4e0d\u60f3\u5237\u65b0\u7684\u573a\u666f\u7684\u573a\u666f"),e.qZA(),e.TgZ(2,"h4"),e._uU(3,"\u5f53\u5185\u5bb9\u662f\u5b57\u7b26\u4e32\u65f6\uff0c\u6b63\u5e38\u663e\u793a"),e.qZA(),e._UZ(4,"input",0),e.TgZ(5,"h5"),e._uU(6,"\u4ee3\u7801"),e.qZA(),e.TgZ(7,"pre"),e._uU(8," "),e.TgZ(9,"code"),e._uU(10),e.qZA(),e._uU(11,"\n "),e.qZA(),e._UZ(12,"hr"),e.TgZ(13,"h4"),e._uU(14),e.qZA(),e.TgZ(15,"button",1),e.NdJ("click",function(){return r.changeObservableContent()}),e._uU(16,"\u66f4\u6539\u89c2\u5bdf\u8005\u5bf9\u8c61\u7684\u5185\u5bb9"),e.qZA(),e._UZ(17,"input",2),e.TgZ(18,"h5"),e._uU(19,"\u4ee3\u7801"),e.qZA(),e.TgZ(20,"pre"),e._uU(21," "),e.TgZ(22,"code"),e._uU(23),e.qZA(),e._uU(24,"\n "),e.qZA(),e._UZ(25,"hr")),2&n&&(e.xp6(10),e.hij("\n ",'',"\n "),e.xp6(4),e.hij("\u5f53\u5185\u5bb9\u662fObservable","",""),e.xp6(3),e.Q6J("nbPlaceholder",r.placeholder$),e.xp6(6),e.HOy("\n ","//ts","\n ","placeholder$ = new BehaviorSubject('\u8fd9\u662fplaceholder');","\n ","//html","\n ",'',"\n "))},dependencies:[c.G4],changeDetection:0})}return t})();var d=u(4469);const p=[{path:"",component:i}];let m=(()=>{class t{static#e=this.\u0275fac=function(n){return new(n||t)};static#t=this.\u0275mod=e.oAB({type:t});static#u=this.\u0275inj=e.cJS({imports:[a.ez,c.vw,d.Bz.forChild(p)]})}return t})()}}]); \ No newline at end of file diff --git a/docs/867.500573d00224825a.js b/docs/867.500573d00224825a.js deleted file mode 100644 index f2e7043..0000000 --- a/docs/867.500573d00224825a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[867],{867:(Z,r,n)=>{n.r(r),n.d(r,{RStrDemoModule:()=>l});var m=n(6814),i=n(5125),t=n(7446),c=n(7819),a=n(1363);let p=(()=>{class e{constructor(u){this.gtagService=u,this.observableDemo$=new i.X("1"),this.promiseDemo=Promise.resolve("1"),this.gtagService.trackPage({page_name:"r-str component"})}ngOnInit(){}changeObservableContent(){const u=Number(this.observableDemo$.value)+1;this.observableDemo$.next(u.toString()),this.gtagService.trackButton({button_name:"\u66f4\u6539\u89c2\u5bdf\u8005\u5bf9\u8c61\u7684\u5185\u5bb9",page_name:"r-str component"})}static#t=this.\u0275fac=function(o){return new(o||e)(t.Y36(c.u))};static#e=this.\u0275cmp=t.Xpm({type:e,selectors:[["app-r-str-demo"]],decls:37,vars:14,consts:[["nb-r-str","string content"],[3,"click"],[3,"nb-r-str"]],template:function(o,s){1&o&&(t.TgZ(0,"h2"),t._uU(1),t.qZA(),t.TgZ(2,"h4"),t._uU(3,"\u5f53\u5185\u5bb9\u662f\u5b57\u7b26\u4e32\u65f6\uff0c\u6b63\u5e38\u663e\u793a"),t.qZA(),t._UZ(4,"span",0),t.TgZ(5,"h5"),t._uU(6,"\u4ee3\u7801"),t.qZA(),t.TgZ(7,"pre"),t._uU(8," "),t.TgZ(9,"code"),t._uU(10),t.qZA(),t._uU(11,"\n"),t.qZA(),t._UZ(12,"hr"),t.TgZ(13,"h4"),t._uU(14),t.qZA(),t.TgZ(15,"button",1),t.NdJ("click",function(){return s.changeObservableContent()}),t._uU(16,"\u66f4\u6539\u89c2\u5bdf\u8005\u5bf9\u8c61\u7684\u5185\u5bb9"),t.qZA(),t._UZ(17,"span",2),t.TgZ(18,"h5"),t._uU(19,"\u4ee3\u7801"),t.qZA(),t.TgZ(20,"pre"),t._uU(21," "),t.TgZ(22,"code"),t._uU(23),t.qZA(),t._uU(24,"\n"),t.qZA(),t._UZ(25,"hr"),t.TgZ(26,"h4"),t._uU(27),t.qZA(),t._UZ(28,"span",2),t.TgZ(29,"h5"),t._uU(30,"\u4ee3\u7801"),t.qZA(),t.TgZ(31,"pre"),t._uU(32," "),t.TgZ(33,"code"),t._uU(34),t.qZA(),t._uU(35,"\n"),t.qZA(),t._UZ(36,"hr")),2&o&&(t.xp6(1),t.hij("\u9002\u7528\u4e8e\u8981\u663e\u793a\u7684\u5185\u5bb9\u662f\u5b57\u7b26\u4e32\u6216\u8005\u662fObservable","","\u7684\u573a\u666f"),t.xp6(9),t.hij("\n ",'',"\n "),t.xp6(4),t.hij("\u5f53\u5185\u5bb9\u662fObservable","",""),t.xp6(3),t.Q6J("nb-r-str",s.observableDemo$),t.xp6(6),t.HOy("\n ","//ts","\n ","observableDemo$ = new BehaviorSubject('1');","\n ","//html","\n ",'',"\n "),t.xp6(4),t.hij("\u5f53\u5185\u5bb9\u662fPromise","",""),t.xp6(1),t.Q6J("nb-r-str",s.promiseDemo),t.xp6(6),t.HOy("\n ","//ts","\n ","promiseDemo = Promise.resolve('1');","\n ","//html","\n ",'',"\n "))},dependencies:[a.dn],changeDetection:0})}return e})();var h=n(4469);const g=[{path:"",component:p}];let l=(()=>{class e{static#t=this.\u0275fac=function(o){return new(o||e)};static#e=this.\u0275mod=t.oAB({type:e});static#n=this.\u0275inj=t.cJS({imports:[m.ez,a.vw,h.Bz.forChild(g)]})}return e})()}}]); \ No newline at end of file diff --git a/docs/993.401e9d7c9d6eb3a9.js b/docs/993.401e9d7c9d6eb3a9.js deleted file mode 100644 index 69ee96d..0000000 --- a/docs/993.401e9d7c9d6eb3a9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[993],{5993:(b,m,t)=>{t.r(m),t.d(m,{standaloneRoutes:()=>h});var i=t(6814),s=t(6593),l=t(1363),r=t(5125),e=t(7446),d=t(7819);function p(n,u){1&n&&e.GkF(0)}function g(n,u){1&n&&e._uU(0," template content ")}const h=[{path:"",component:(()=>{class n{constructor(a){this.gtagService=a,this.promiseDemo=new Promise(o=>setTimeout(()=>o("this is an async string value "),1e3)),this.bigImg="https://pic2.zhimg.com/v2-77be54b348b0168f3562f51404451aeb_r.jpg",this.placeholder$=new r.X("\u8fd9\u662fplaceholder"),this.gtagService.trackPage({page_name:"standalone component"})}ngOnInit(){this.intervalUpdatePlaceholderStr()}ngOnDestroy(){clearInterval(this.intervalId)}intervalUpdatePlaceholderStr(){this.intervalId=setInterval(()=>{this.placeholder$.next("\u8fd9\u662fplaceholder"===this.placeholder$.value?"This is placeholder":"\u8fd9\u662fplaceholder")},3e3)}static#e=this.\u0275fac=function(o){return new(o||n)(e.Y36(d.u))};static#t=this.\u0275cmp=e.Xpm({type:n,selectors:[["app-standalone-demo"]],standalone:!0,features:[e._Bn([{provide:l.N5,useFactory:a=>a.bypassSecurityTrustResourceUrl("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOmF1dG87YmFja2dyb3VuZDp0cmFuc3BhcmVudDtkaXNwbGF5OmJsb2NrOyIgd2lkdGg9IjIwMHB4IiBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgo8cGF0aCBkPSJNMTcgNTBBMzMgMzMgMCAwIDAgODMgNTBBMzMgMzUgMCAwIDEgMTcgNTAiIGZpbGw9IiM0MGE5ZmYiIHN0cm9rZT0ibm9uZSI+CiAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBrZXlUaW1lcz0iMDsxIiB2YWx1ZXM9IjAgNTAgNTE7MzYwIDUwIDUxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CjwvcGF0aD4KPC9zdmc+"),deps:[s.H7]}]),e.jDz],decls:19,vars:6,consts:[[3,"nb-r-str"],[3,"nbPlaceholder"],[3,"nbImg"],[4,"ngTemplateOutlet"],["tpl",""]],template:function(o,c){if(1&o&&(e.TgZ(0,"h5"),e._uU(1,"r-str component"),e.qZA(),e._UZ(2,"span",0)(3,"hr"),e.TgZ(4,"h5"),e._uU(5,"placeholderStr director"),e.qZA(),e._UZ(6,"input",1)(7,"hr"),e.TgZ(8,"h5"),e._uU(9,"img director"),e.qZA(),e._UZ(10,"img",2)(11,"hr"),e.TgZ(12,"h5"),e._uU(13,"nbTplContent pipe"),e.qZA(),e.YNc(14,p,1,0,"ng-container",3),e.ALo(15,"nbTplContent"),e._UZ(16,"hr"),e.YNc(17,g,1,0,"ng-template",null,4,e.W1O)),2&o){const I=e.MAs(18);e.xp6(2),e.Q6J("nb-r-str",c.promiseDemo),e.xp6(4),e.Q6J("nbPlaceholder",c.placeholder$),e.xp6(4),e.Q6J("nbImg",c.bigImg),e.xp6(4),e.Q6J("ngTemplateOutlet",e.lcZ(15,4,I))}},dependencies:[i.ez,i.tP,l.dn,l.G4,l.dt,l.vG],styles:["img[_ngcontent-%COMP%]{width:50px;height:50%}"]})}return n})()}]}}]); \ No newline at end of file diff --git a/docs/chunk-4IRGJFNB.js b/docs/chunk-4IRGJFNB.js new file mode 100644 index 0000000..ca0022b --- /dev/null +++ b/docs/chunk-4IRGJFNB.js @@ -0,0 +1,10 @@ +import{e as b,g as I}from"./chunk-XBOPDDRK.js";import{D as u,E,G as i,H as o,I as c,L as h,Q as C,R as t,T as d,U as F,aa as a,ba as l,ea as T,l as s,n as f,na as S,o as g,pa as v,qa as B,wa as D,xa as y,y as m,z as x}from"./chunk-7XPSJXHN.js";function O(n,e){n&1&&h(0)}function R(n,e){n&1&&t(0," template content ")}var j=(()=>{let e=class e{constructor(r){this.gtagService=r,this.gtagService.trackPage({page_name:"tpl content pipe"})}ngOnInit(){}};e.\u0275fac=function(p){return new(p||e)(x(y))},e.\u0275cmp=f({type:e,selectors:[["app-tpl-content-demo"]],decls:29,vars:11,consts:[["tpl",""],[4,"ngTemplateOutlet"]],template:function(p,A){if(p&1&&(i(0,"h2"),t(1,"\u9002\u7528\u4E8E\u9700\u8981\u5224\u65AD\u8F93\u5165\u7684\u662FtemplateRef\u7684\u573A\u666F"),o(),i(2,"h4"),t(3,"\u5F53\u5185\u5BB9\u662F\u6570\u5B57\u65F6\uFF0C\u8FD4\u56DEnull"),o(),t(4),a(5,"nbTplContent"),a(6,"json"),i(7,"h5"),t(8,"\u4EE3\u7801"),o(),i(9,"pre"),t(10," "),i(11,"code"),t(12),o(),t(13,` +`),o(),c(14,"hr"),i(15,"h5"),t(16,"\u5F53\u5185\u5BB9\u662FtemplateRef\u65F6\uFF0C\u6B63\u5E38\u663E\u793A"),o(),u(17,O,1,0,"ng-container",1),a(18,"nbTplContent"),i(19,"h5"),t(20,"\u4EE3\u7801"),o(),i(21,"pre"),t(22," "),i(23,"code"),t(24),o(),t(25,` +`),o(),c(26,"hr"),u(27,R,1,0,"ng-template",null,0,T)),p&2){let M=C(28);m(4),d(` +`,l(6,7,l(5,5,111)),` +`),m(8),d(` + `,"{{111 | nbTplContent | json}}",` + `),m(5),E("ngTemplateOutlet",l(18,9,M)),m(7),F(` + `,'',` + `," template content ",` + `)}},dependencies:[S,v,b],changeDetection:0});let n=e;return n})();var _=[{path:"",component:j}],K=(()=>{let e=class e{};e.\u0275fac=function(p){return new(p||e)},e.\u0275mod=g({type:e}),e.\u0275inj=s({imports:[B,I,D.forChild(_)]});let n=e;return n})();export{K as TplContentDemoModule}; diff --git a/docs/chunk-6KSILFWR.js b/docs/chunk-6KSILFWR.js new file mode 100644 index 0000000..7c9a9d5 --- /dev/null +++ b/docs/chunk-6KSILFWR.js @@ -0,0 +1 @@ +import{a as C,b as N,c as P,d as w,e as F}from"./chunk-XBOPDDRK.js";import{D as d,E as o,G as l,H as m,I as c,L as I,Q as u,R as r,Z as v,_ as b,aa as M,ba as T,e as s,ea as f,n as g,na as D,qa as S,ta as y,xa as B,y as a,z as h}from"./chunk-7XPSJXHN.js";function x(t,e){t&1&&I(0)}function z(t,e){t&1&&r(0," template content ")}var G=(()=>{let e=class e{constructor(i){this.gtagService=i,this.promiseDemo=new Promise(n=>setTimeout(()=>n("this is an async string value "),1e3)),this.bigImg="https://pic2.zhimg.com/v2-77be54b348b0168f3562f51404451aeb_r.jpg",this.placeholder$=new s("\u8FD9\u662Fplaceholder"),this.gtagService.trackPage({page_name:"standalone component"})}ngOnInit(){this.intervalUpdatePlaceholderStr()}ngOnDestroy(){clearInterval(this.intervalId)}intervalUpdatePlaceholderStr(){this.intervalId=setInterval(()=>{let i=this.placeholder$.value==="\u8FD9\u662Fplaceholder"?"This is placeholder":"\u8FD9\u662Fplaceholder";this.placeholder$.next(i)},3e3)}};e.\u0275fac=function(n){return new(n||e)(h(B))},e.\u0275cmp=g({type:e,selectors:[["app-standalone-demo"]],standalone:!0,features:[v([{provide:N,useFactory:i=>i.bypassSecurityTrustResourceUrl("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0ibWFyZ2luOmF1dG87YmFja2dyb3VuZDp0cmFuc3BhcmVudDtkaXNwbGF5OmJsb2NrOyIgd2lkdGg9IjIwMHB4IiBoZWlnaHQ9IjIwMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgo8cGF0aCBkPSJNMTcgNTBBMzMgMzMgMCAwIDAgODMgNTBBMzMgMzUgMCAwIDEgMTcgNTAiIGZpbGw9IiM0MGE5ZmYiIHN0cm9rZT0ibm9uZSI+CiAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJyb3RhdGUiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBrZXlUaW1lcz0iMDsxIiB2YWx1ZXM9IjAgNTAgNTE7MzYwIDUwIDUxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CjwvcGF0aD4KPC9zdmc+"),deps:[y]}]),b],decls:19,vars:6,consts:[["tpl",""],[3,"nb-r-str"],[3,"nbPlaceholder"],["alt","img",3,"nbImg"],[4,"ngTemplateOutlet"]],template:function(n,p){if(n&1&&(l(0,"h5"),r(1,"r-str component"),m(),c(2,"span",1)(3,"hr"),l(4,"h5"),r(5,"placeholderStr director"),m(),c(6,"input",2)(7,"hr"),l(8,"h5"),r(9,"img director"),m(),c(10,"img",3)(11,"hr"),l(12,"h5"),r(13,"nbTplContent pipe"),m(),d(14,x,1,0,"ng-container",4),M(15,"nbTplContent"),c(16,"hr"),d(17,z,1,0,"ng-template",null,0,f)),n&2){let Z=u(18);a(2),o("nb-r-str",p.promiseDemo),a(4),o("nbPlaceholder",p.placeholder$),a(4),o("nbImg",p.bigImg),a(4),o("ngTemplateOutlet",T(15,4,Z))}},dependencies:[S,D,C,w,P,F],styles:["img[_ngcontent-%COMP%]{width:50px;height:50%}"]});let t=e;return t})();var J=[{path:"",component:G}];export{J as standaloneRoutes}; diff --git a/docs/chunk-7XPSJXHN.js b/docs/chunk-7XPSJXHN.js new file mode 100644 index 0000000..97869b9 --- /dev/null +++ b/docs/chunk-7XPSJXHN.js @@ -0,0 +1,8 @@ +var Eg=Object.create;var as=Object.defineProperty,Ig=Object.defineProperties,bg=Object.getOwnPropertyDescriptor,Mg=Object.getOwnPropertyDescriptors,Sg=Object.getOwnPropertyNames,gl=Object.getOwnPropertySymbols,Tg=Object.getPrototypeOf,vl=Object.prototype.hasOwnProperty,_g=Object.prototype.propertyIsEnumerable;var ml=(t,e,r)=>e in t?as(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||={})vl.call(e,r)&&ml(t,r,e[r]);if(gl)for(var r of gl(e))_g.call(e,r)&&ml(t,r,e[r]);return t},Q=(t,e)=>Ig(t,Mg(e));var yl=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var xg=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Sg(e))!vl.call(t,o)&&o!==r&&as(t,o,{get:()=>e[o],enumerable:!(n=bg(e,o))||n.enumerable});return t};var Dl=(t,e,r)=>(r=t!=null?Eg(Tg(t)):{},xg(e||!t||!t.__esModule?as(r,"default",{value:t,enumerable:!0}):r,t));var wl=(t,e,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(t,e)).next())});var yg=yl((ul,ll)=>{"use strict";(function(t,e){typeof ul=="object"&&typeof ll<"u"?ll.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(ul,function(){"use strict";var t=1e3,e=6e4,r=36e5,n="millisecond",o="second",i="minute",s="hour",a="day",c="week",u="month",l="quarter",d="year",f="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,j={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(T){var y=["th","st","nd","rd"],g=T%100;return"["+T+(y[(g-20)%10]||y[g]||y[0])+"]"}},V=function(T,y,g){var E=String(T);return!E||E.length>=y?T:""+Array(y+1-E.length).join(g)+T},ue={s:V,z:function(T){var y=-T.utcOffset(),g=Math.abs(y),E=Math.floor(g/60),v=g%60;return(y<=0?"+":"-")+V(E,2,"0")+":"+V(v,2,"0")},m:function T(y,g){if(y.date()1)return T(x[0])}else{var W=y.name;te[W]=y,v=W}return!E&&v&&(G=v),v||!E&&G},Y=function(T,y){if(ie(T))return T.clone();var g=typeof y=="object"?y:{};return g.date=T,g.args=arguments,new pn(g)},H=ue;H.l=he,H.i=ie,H.w=function(T,y){return Y(T,{locale:y.$L,utc:y.$u,x:y.$x,$offset:y.$offset})};var pn=function(){function T(g){this.$L=he(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[Me]=!0}var y=T.prototype;return y.parse=function(g){this.$d=function(E){var v=E.date,_=E.utc;if(v===null)return new Date(NaN);if(H.u(v))return new Date;if(v instanceof Date)return new Date(v);if(typeof v=="string"&&!/Z$/i.test(v)){var x=v.match(m);if(x){var W=x[2]-1||0,X=(x[7]||"0").substring(0,3);return _?new Date(Date.UTC(x[1],W,x[3]||1,x[4]||0,x[5]||0,x[6]||0,X)):new Date(x[1],W,x[3]||1,x[4]||0,x[5]||0,x[6]||0,X)}}return new Date(v)}(g),this.init()},y.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},y.$utils=function(){return H},y.isValid=function(){return this.$d.toString()!==h},y.isSame=function(g,E){var v=Y(g);return this.startOf(E)<=v&&v<=this.endOf(E)},y.isAfter=function(g,E){return Y(g){"use strict";(function(t,e){typeof dl=="object"&&typeof fl<"u"?fl.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_utc=e()})(dl,function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,o,i){var s=o.prototype;i.utc=function(h){var m={date:h,utc:!0,args:arguments};return new o(m)},s.utc=function(h){var m=i(this.toDate(),{locale:this.$L,utc:!0});return h?m.add(this.utcOffset(),t):m},s.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var a=s.parse;s.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),a.call(this,h)};var c=s.init;s.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else c.call(this)};var u=s.utcOffset;s.utcOffset=function(h,m){var P=this.$utils().u;if(P(h))return this.$u?0:P(this.$offset)?u.call(this):this.$offset;if(typeof h=="string"&&(h=function(G){G===void 0&&(G="");var te=G.match(e);if(!te)return null;var Me=(""+te[0]).match(r)||["-",0,0],ie=Me[0],he=60*+Me[1]+ +Me[2];return he===0?0:ie==="+"?he:-he}(h),h===null))return this;var j=Math.abs(h)<=16?60*h:h,V=this;if(m)return V.$offset=j,V.$u=h===0,V;if(h!==0){var ue=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(V=this.local().add(j+ue,t)).$offset=j,V.$x.$localOffset=ue}else V=this.utc();return V};var l=s.format;s.format=function(h){var m=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,m)},s.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var d=s.toDate;s.toDate=function(h){return h==="s"&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=s.diff;s.diff=function(h,m,P){if(h&&this.$u===h.$u)return f.call(this,h,m,P);var j=this.local(),V=i(h).local();return f.call(j,V,m,P)}}})});var Cl=null;var cs=1,us=Symbol("SIGNAL");function B(t){let e=Cl;return Cl=t,e}var El={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Ng(t){if(!(fs(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===cs)){if(!t.producerMustRecompute(t)&&!ls(t)){t.dirty=!1,t.lastCleanEpoch=cs;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=cs}}function Il(t){return t&&(t.nextProducerIndex=0),B(t)}function bl(t,e){if(B(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(fs(t))for(let r=t.nextProducerIndex;rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ls(t){co(t);for(let e=0;e0}function co(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Ag(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Rg(){throw new Error}var Og=Rg;function Sl(t){Og=t}function zt(t){return typeof t=="function"}var hs=!1,we={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){let e=new Error;console.warn(`DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: +`+e.stack)}else hs&&console.log("RxJS: Back to a better error behavior. Thank you. <3");hs=t},get useDeprecatedSynchronousErrorHandling(){return hs}};function ct(t){setTimeout(()=>{throw t},0)}var mn={closed:!0,next(t){},error(t){if(we.useDeprecatedSynchronousErrorHandling)throw t;ct(t)},complete(){}};var Gt=Array.isArray||(t=>t&&typeof t.length=="number");function vn(t){return t!==null&&typeof t=="object"}var Pg=(()=>{function t(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription: +${e.map((r,n)=>`${n+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=e,this}return t.prototype=Object.create(Error.prototype),t})(),dr=Pg;var U=class t{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:r,_ctorUnsubscribe:n,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof t)r.remove(this);else if(r!==null)for(let s=0;se.concat(r instanceof dr?r.errors:r),[])}var qt=typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();var A=class t extends U{constructor(e,r,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=mn;break;case 1:if(!e){this.destination=mn;break}if(typeof e=="object"){e instanceof t?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new uo(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new uo(this,e,r,n);break}}[qt](){return this}static create(e,r,n){let o=new t(e,r,n);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){let{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}},uo=class extends A{constructor(e,r,n,o){super(),this._parentSubscriber=e;let i,s=this;zt(r)?i=r:r&&(i=r.next,n=r.error,o=r.complete,r!==mn&&(s=Object.create(r),zt(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=i,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){let{_parentSubscriber:r}=this;!we.useDeprecatedSynchronousErrorHandling||!r.syncErrorThrowable?this.__tryOrUnsub(this._next,e):this.__tryOrSetError(r,this._next,e)&&this.unsubscribe()}}error(e){if(!this.isStopped){let{_parentSubscriber:r}=this,{useDeprecatedSynchronousErrorHandling:n}=we;if(this._error)!n||!r.syncErrorThrowable?(this.__tryOrUnsub(this._error,e),this.unsubscribe()):(this.__tryOrSetError(r,this._error,e),this.unsubscribe());else if(r.syncErrorThrowable)n?(r.syncErrorValue=e,r.syncErrorThrown=!0):ct(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;ct(e)}}}complete(){if(!this.isStopped){let{_parentSubscriber:e}=this;if(this._complete){let r=()=>this._complete.call(this._context);!we.useDeprecatedSynchronousErrorHandling||!e.syncErrorThrowable?(this.__tryOrUnsub(r),this.unsubscribe()):(this.__tryOrSetError(e,r),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,r){try{e.call(this._context,r)}catch(n){if(this.unsubscribe(),we.useDeprecatedSynchronousErrorHandling)throw n;ct(n)}}__tryOrSetError(e,r,n){if(!we.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{r.call(this._context,n)}catch(o){return we.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(ct(o),!0)}return!1}_unsubscribe(){let{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}};function _l(t){for(;t;){let{closed:e,destination:r,isStopped:n}=t;if(e||n)return!1;r&&r instanceof A?t=r:t=null}return!0}function xl(t,e,r){if(t){if(t instanceof A)return t;if(t[qt])return t[qt]()}return!t&&!e&&!r?new A(mn):new A(t,e,r)}var He=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Et(t){return t}function ps(...t){return gs(t)}function gs(t){return t.length===0?Et:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var F=(()=>{class t{constructor(r){this._isScalar=!1,r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let{operator:i}=this,s=xl(r,n,o);if(i?s.add(i.call(s,this.source)):s.add(this.source||we.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),we.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(r){try{return this._subscribe(r)}catch(n){we.useDeprecatedSynchronousErrorHandling&&(r.syncErrorThrown=!0,r.syncErrorValue=n),_l(r)?r.error(n):console.warn(n)}}forEach(r,n){return n=Nl(n),new n((o,i)=>{let s;s=this.subscribe(a=>{try{r(a)}catch(c){i(c),s&&s.unsubscribe()}},i,o)})}_subscribe(r){let{source:n}=this;return n&&n.subscribe(r)}[He](){return this}pipe(...r){return r.length===0?this:gs(r)(this)}toPromise(r){return r=Nl(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function Nl(t){if(t||(t=we.Promise||Promise),!t)throw new Error("no Promise impl found");return t}var kg=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})(),It=kg;var lo=class extends U{constructor(e,r){super(),this.subject=e,this.subscriber=r,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;let e=this.subject,r=e.observers;if(this.subject=null,!r||r.length===0||e.isStopped||e.closed)return;let n=r.indexOf(this.subscriber);n!==-1&&r.splice(n,1)}};var fr=class extends A{constructor(e){super(e),this.destination=e}},de=(()=>{class t extends F{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[qt](){return new fr(this)}lift(r){let n=new fo(this,this);return n.operator=r,n}next(r){if(this.closed)throw new It;if(!this.isStopped){let{observers:n}=this,o=n.length,i=n.slice();for(let s=0;snew fo(e,r),t})(),fo=class extends de{constructor(e,r){super(),this.destination=e,this.source=r}next(e){let{destination:r}=this;r&&r.next&&r.next(e)}error(e){let{destination:r}=this;r&&r.error&&this.destination.error(e)}complete(){let{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){let{source:r}=this;return r?this.source.subscribe(e):U.EMPTY}};function yn(){return function(e){return e.lift(new ms(e))}}var ms=class{constructor(e){this.connectable=e}call(e,r){let{connectable:n}=this;n._refCount++;let o=new vs(e,n),i=r.subscribe(o);return o.closed||(o.connection=n.connect()),i}},vs=class extends A{constructor(e,r){super(e),this.connectable=r}_unsubscribe(){let{connectable:e}=this;if(!e){this.connection=null;return}this.connectable=null;let r=e._refCount;if(r<=0){this.connection=null;return}if(e._refCount=r-1,r>1){this.connection=null;return}let{connection:n}=this,o=e._connection;this.connection=null,o&&(!n||o===n)&&o.unsubscribe()}};var Wt=class extends F{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new U,e.add(this.source.subscribe(new ys(this.getSubject(),this))),e.closed&&(this._connection=null,e=U.EMPTY)),e}refCount(){return yn()(this)}},NM=(()=>{let t=Wt.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}}})(),ys=class extends fr{constructor(e,r){super(e),this.connectable=r}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){let e=this.connectable;if(e){this.connectable=null;let r=e._connection;e._refCount=0,e._subject=null,e._connection=null,r&&r.unsubscribe()}}};var se=class extends de{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return r&&!r.closed&&e.next(this._value),r}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new It;return this._value}next(e){super.next(this._value=e)}};var ze=new F(t=>t.complete());function Dn(t){return t?Fg(t):ze}function Fg(t){return new F(e=>t.schedule(()=>e.complete()))}function wn(t){return t&&typeof t.schedule=="function"}var ho=t=>e=>{for(let r=0,n=t.length;r{let n=new U,o=0;return n.add(e.schedule(function(){if(o===t.length){r.complete();return}r.next(t[o++]),r.closed||n.add(this.schedule())})),n})}function po(t,e){return e?Cn(t,e):new F(ho(t))}function b(...t){let e=t[t.length-1];return wn(e)?(t.pop(),Cn(t,e)):po(t)}function En(t,e){return e?new F(r=>e.schedule(Lg,0,{error:t,subscriber:r})):new F(r=>r.error(t))}function Lg({error:t,subscriber:e}){e.error(t)}function ut(){}function Ds(t){return!!t&&(t instanceof F||typeof t.lift=="function"&&typeof t.subscribe=="function")}var jg=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})(),go=jg;var $g=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),lt=$g;function L(t,e){return function(n){if(typeof t!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new ws(t,e))}}var ws=class{constructor(e,r){this.project=e,this.thisArg=r}call(e,r){return r.subscribe(new Cs(e,this.project,this.thisArg))}},Cs=class extends A{constructor(e,r,n){super(e),this.project=r,this.count=0,this.thisArg=n||this}_next(e){let r;try{r=this.project.call(this.thisArg,e,this.count++)}catch(n){this.destination.error(n);return}this.destination.next(r)}};var mo=class extends A{notifyNext(e,r,n,o,i){this.destination.next(r)}notifyError(e,r){this.destination.error(e)}notifyComplete(e){this.destination.complete()}};var vo=class extends A{constructor(e,r,n){super(),this.parent=e,this.outerValue=r,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}};var Al=t=>e=>(t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ct),e);function Vg(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var bt=Vg();var Rl=t=>e=>{let r=t[bt]();do{let n;try{n=r.next()}catch(o){return e.error(o),e}if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}while(!0);return typeof r.return=="function"&&e.add(()=>{r.return&&r.return()}),e};var Ol=t=>e=>{let r=t[He]();if(typeof r.subscribe!="function")throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(e)};var yo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Do(t){return!!t&&typeof t.subscribe!="function"&&typeof t.then=="function"}var In=t=>{if(t&&typeof t[He]=="function")return Ol(t);if(yo(t))return ho(t);if(Do(t))return Al(t);if(t&&typeof t[bt]=="function")return Rl(t);{let r=`You provided ${vn(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(r)}};function Pl(t,e,r,n,o=new vo(t,r,n)){if(!o.closed)return e instanceof F?e.subscribe(o):In(e)(o)}var kl={};function hr(...t){let e,r;return wn(t[t.length-1])&&(r=t.pop()),typeof t[t.length-1]=="function"&&(e=t.pop()),t.length===1&&Gt(t[0])&&(t=t[0]),po(t,r).lift(new Es(e))}var Es=class{constructor(e){this.resultSelector=e}call(e,r){return r.subscribe(new Is(e,this.resultSelector))}},Is=class extends mo{constructor(e,r){super(e),this.resultSelector=r,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(kl),this.observables.push(e)}_complete(){let e=this.observables,r=e.length;if(r===0)this.destination.complete();else{this.active=r,this.toRespond=r;for(let n=0;n{let n=new U;return n.add(e.schedule(()=>{let o=t[He]();n.add(o.subscribe({next(i){n.add(e.schedule(()=>r.next(i)))},error(i){n.add(e.schedule(()=>r.error(i)))},complete(){n.add(e.schedule(()=>r.complete()))}}))})),n})}function Ll(t,e){return new F(r=>{let n=new U;return n.add(e.schedule(()=>t.then(o=>{n.add(e.schedule(()=>{r.next(o),n.add(e.schedule(()=>r.complete()))}))},o=>{n.add(e.schedule(()=>r.error(o)))}))),n})}function jl(t,e){if(!t)throw new Error("Iterable cannot be null");return new F(r=>{let n=new U,o;return n.add(()=>{o&&typeof o.return=="function"&&o.return()}),n.add(e.schedule(()=>{o=t[bt](),n.add(e.schedule(function(){if(r.closed)return;let i,s;try{let a=o.next();i=a.value,s=a.done}catch(a){r.error(a);return}s?r.complete():(r.next(i),this.schedule())}))})),n})}function $l(t){return t&&typeof t[He]=="function"}function Vl(t){return t&&typeof t[bt]=="function"}function Bl(t,e){if(t!=null){if($l(t))return Fl(t,e);if(Do(t))return Ll(t,e);if(yo(t))return Cn(t,e);if(Vl(t)||typeof t=="string")return jl(t,e)}throw new TypeError((t!==null&&typeof t||t)+" is not observable")}function K(t,e){return e?Bl(t,e):t instanceof F?t:new F(In(t))}var Ge=class extends A{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}};var qe=class extends A{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}};function Mt(t,e){if(e.closed)return;if(t instanceof F)return t.subscribe(e);let r;try{r=In(t)(e)}catch(n){e.error(n)}return r}function ne(t,e,r=Number.POSITIVE_INFINITY){return typeof e=="function"?n=>n.pipe(ne((o,i)=>K(t(o,i)).pipe(L((s,a)=>e(o,s,i,a))),r)):(typeof e=="number"&&(r=e),n=>n.lift(new bs(t,r)))}var bs=class{constructor(e,r=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=r}call(e,r){return r.subscribe(new Ms(e,this.project,this.concurrent))}},Ms=class extends qe{constructor(e,r,n=Number.POSITIVE_INFINITY){super(e),this.project=r,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(e.shift()):this.active===0&&this.hasCompleted&&this.destination.complete()}};function bn(t=Number.POSITIVE_INFINITY){return ne(Et,t)}function Ul(){return bn(1)}function Mn(...t){return Ul()(b(...t))}function wo(t){return new F(e=>{let r;try{r=t()}catch(o){e.error(o);return}return(r?K(r):Dn()).subscribe(e)})}function Bg(...t){if(t.length===1){let e=t[0];if(Gt(e))return Co(e,null);if(vn(e)&&Object.getPrototypeOf(e)===Object.prototype){let r=Object.keys(e);return Co(r.map(n=>e[n]),r)}}if(typeof t[t.length-1]=="function"){let e=t.pop();return t=t.length===1&&Gt(t[0])?t[0]:t,Co(t,null).pipe(L(r=>e(...r)))}return Co(t,null)}function Co(t,e){return new F(r=>{let n=t.length;if(n===0){r.complete();return}let o=new Array(n),i=0,s=0;for(let a=0;a{u||(u=!0,s++),o[a]=l},error:l=>r.error(l),complete:()=>{i++,(i===n||!u)&&(s===n&&r.next(e?e.reduce((l,d,f)=>(l[d]=o[f],l),{}):o),r.complete())}}))}})}function Ne(t,e){return function(n){return n.lift(new Ss(t,e))}}var Ss=class{constructor(e,r){this.predicate=e,this.thisArg=r}call(e,r){return r.subscribe(new Ts(e,this.predicate,this.thisArg))}},Ts=class extends A{constructor(e,r,n){super(e),this.predicate=r,this.thisArg=n,this.count=0}_next(e){let r;try{r=this.predicate.call(this.thisArg,e,this.count++)}catch(n){this.destination.error(n);return}r&&this.destination.next(e)}};function Zt(t){return function(r){let n=new _s(t),o=r.lift(n);return n.caught=o}}var _s=class{constructor(e){this.selector=e}call(e,r){return r.subscribe(new xs(e,this.selector,this.caught))}},xs=class extends qe{constructor(e,r,n){super(e),this.selector=r,this.caught=n}error(e){if(!this.isStopped){let r;try{r=this.selector(e,this.caught)}catch(i){super.error(i);return}this._unsubscribeAndRecycle();let n=new Ge(this);this.add(n);let o=Mt(r,n);o!==n&&this.add(o)}}};function Yt(t,e){return ne(t,e,1)}function St(t=null){return e=>e.lift(new Ns(t))}var Ns=class{constructor(e){this.defaultValue=e}call(e,r){return r.subscribe(new As(e,this.defaultValue))}},As=class extends A{constructor(e,r){super(e),this.defaultValue=r,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}};function Eo(t=Ug){return e=>e.lift(new Rs(t))}var Rs=class{constructor(e){this.errorFactory=e}call(e,r){return r.subscribe(new Os(e,this.errorFactory))}},Os=class extends A{constructor(e,r){super(e),this.errorFactory=r,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(r){e=r}this.destination.error(e)}}};function Ug(){return new lt}function dt(t){return e=>t===0?Dn():e.lift(new Ps(t))}var Ps=class{constructor(e){if(this.total=e,this.total<0)throw new go}call(e,r){return r.subscribe(new ks(e,this.total))}},ks=class extends A{constructor(e,r){super(e),this.total=r,this.count=0}_next(e){let r=this.total,n=++this.count;n<=r&&(this.destination.next(e),n===r&&(this.destination.complete(),this.unsubscribe()))}};function pr(t){return e=>e.lift(new Fs(t))}var Fs=class{constructor(e){this.callback=e}call(e,r){return r.subscribe(new Ls(e,this.callback))}},Ls=class extends A{constructor(e,r){super(e),this.add(new U(r))}};function We(t,e){let r=arguments.length>=2;return n=>n.pipe(t?Ne((o,i)=>t(o,i,n)):Et,dt(1),r?St(e):Eo(()=>new lt))}function Sn(t){return function(r){return t===0?Dn():r.lift(new js(t))}}var js=class{constructor(e){if(this.total=e,this.total<0)throw new go}call(e,r){return r.subscribe(new $s(e,this.total))}},$s=class extends A{constructor(e,r){super(e),this.total=r,this.ring=new Array,this.count=0}_next(e){let r=this.ring,n=this.total,o=this.count++;if(r.length0){let n=this.count>=this.total?this.total:this.count,o=this.ring;for(let i=0;i=2;return n=>n.pipe(t?Ne((o,i)=>t(o,i,n)):Et,Sn(1),r?St(e):Eo(()=>new lt))}function Hs(t){return e=>e.lift(new Bs(t))}var Bs=class{constructor(e){this.value=e}call(e,r){return r.subscribe(new Us(e,this.value))}},Us=class extends A{constructor(e,r){super(e),this.value=r}_next(e){this.destination.next(this.value)}};function qs(t,e){let r=!1;return arguments.length>=2&&(r=!0),function(o){return o.lift(new zs(t,e,r))}}var zs=class{constructor(e,r,n=!1){this.accumulator=e,this.seed=r,this.hasSeed=n}call(e,r){return r.subscribe(new Gs(e,this.accumulator,this.seed,this.hasSeed))}},Gs=class extends A{constructor(e,r,n,o){super(e),this.accumulator=r,this._seed=n,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(!this.hasSeed)this.seed=e,this.destination.next(e);else return this._tryNext(e)}_tryNext(e){let r=this.index++,n;try{n=this.accumulator(this.seed,e,r)}catch(o){this.destination.error(o)}this.seed=n,this.destination.next(n)}};function Ws(...t){let e=t[t.length-1];return wn(e)?(t.pop(),r=>Mn(t,r,e)):r=>Mn(t,r)}function Se(t,e){return typeof e=="function"?r=>r.pipe(Se((n,o)=>K(t(n,o)).pipe(L((i,s)=>e(n,i,o,s))))):r=>r.lift(new Zs(t))}var Zs=class{constructor(e){this.project=e}call(e,r){return r.subscribe(new Ys(e,this.project))}},Ys=class extends qe{constructor(e,r){super(e),this.project=r,this.index=0}_next(e){let r,n=this.index++;try{r=this.project(e,n)}catch(o){this.destination.error(o);return}this._innerSub(r)}_innerSub(e){let r=this.innerSubscription;r&&r.unsubscribe();let n=new Ge(this),o=this.destination;o.add(n),this.innerSubscription=Mt(e,n),this.innerSubscription!==n&&o.add(this.innerSubscription)}_complete(){let{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}};function Js(t){return e=>e.lift(new Qs(t))}var Qs=class{constructor(e){this.notifier=e}call(e,r){let n=new Ks(e),o=Mt(this.notifier,new Ge(n));return o&&!n.seenValue?(n.add(o),r.subscribe(n)):n}},Ks=class extends qe{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}};function ae(t,e,r){return function(o){return o.lift(new Xs(t,e,r))}}var Xs=class{constructor(e,r,n){this.nextOrObserver=e,this.error=r,this.complete=n}call(e,r){return r.subscribe(new ea(e,this.nextOrObserver,this.error,this.complete))}},ea=class extends A{constructor(e,r,n,o){super(e),this._tapNext=ut,this._tapError=ut,this._tapComplete=ut,this._tapError=n||ut,this._tapComplete=o||ut,zt(r)?(this._context=this,this._tapNext=r):r&&(this._context=r,this._tapNext=r.next||ut,this._tapError=r.error||ut,this._tapComplete=r.complete||ut)}_next(e){try{this._tapNext.call(this._context,e)}catch(r){this.destination.error(r);return}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(r){this.destination.error(r);return}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){this.destination.error(e);return}return this.destination.complete()}};var Od="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(cc(e,r)),this.code=e}};function cc(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Tr(t){return{toString:t}.toString()}var Io="__parameters__";function Hg(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Pd(t,e,r){return Tr(()=>{let n=Hg(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Io)?c[Io]:Object.defineProperty(c,Io,{value:[]})[Io];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var me=globalThis;function q(t){for(let e in t)if(t[e]===q)return e;throw Error("Could not find renamed property on target object.")}function zg(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Ee(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ee).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function Hl(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Gg=q({__forward_ref__:q});function kd(t){return t.__forward_ref__=kd,t.toString=function(){return Ee(this())},t}function pe(t){return Fd(t)?t():t}function Fd(t){return typeof t=="function"&&t.hasOwnProperty(Gg)&&t.__forward_ref__===kd}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function sn(t){return{providers:t.providers||[],imports:t.imports||[]}}function ii(t){return zl(t,jd)||zl(t,$d)}function Ld(t){return ii(t)!==null}function zl(t,e){return t.hasOwnProperty(e)?t[e]:null}function qg(t){let e=t&&(t[jd]||t[$d]);return e||null}function Gl(t){return t&&(t.hasOwnProperty(ql)||t.hasOwnProperty(Wg))?t[ql]:null}var jd=q({\u0275prov:q}),ql=q({\u0275inj:q}),$d=q({ngInjectableDef:q}),Wg=q({ngInjectorDef:q}),M=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=C({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vd(t){return t&&!!t.\u0275providers}var Zg=q({\u0275cmp:q}),Yg=q({\u0275dir:q}),Qg=q({\u0275pipe:q}),Kg=q({\u0275mod:q}),ko=q({\u0275fac:q}),gr=q({__NG_ELEMENT_ID__:q}),Wl=q({__NG_ENV_ID__:q});function Ze(t){return typeof t=="string"?t:t==null?"":String(t)}function Jg(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Ze(t)}function Xg(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function uc(t,e){throw new w(-201,!1)}var R=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}(R||{}),ga;function Bd(){return ga}function Ce(t){let e=ga;return ga=t,e}function Ud(t,e,r){let n=ii(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&R.Optional)return null;if(e!==void 0)return e;uc(t,"Injector")}var em={},vr=em,ma="__NG_DI_FLAG__",Fo="ngTempTokenPath",tm="ngTokenPath",nm=/\n/gm,rm="\u0275",Zl="__source",An;function om(){return An}function Tt(t){let e=An;return An=t,e}function im(t,e=R.Default){if(An===void 0)throw new w(-203,!1);return An===null?Ud(t,void 0,e):An.get(t,e&R.Optional?null:void 0,e)}function I(t,e=R.Default){return(Bd()||im)(pe(t),e)}function p(t,e=R.Default){return I(t,si(e))}function si(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function va(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ee(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(nm,` + `)}`}var ai=Hd(Pd("Optional"),8);var lc=Hd(Pd("SkipSelf"),4);function Jt(t,e){let r=t.hasOwnProperty(ko);return r?t[ko]:null}function dc(t,e){t.forEach(r=>Array.isArray(r)?dc(r,e):e(r))}function zd(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Lo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function um(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function lm(t,e,r){let n=_r(t,e);return n>=0?t[n|1]=r:(n=~n,um(t,n,e,r)),n}function ta(t,e){let r=_r(t,e);if(r>=0)return t[r|1]}function _r(t,e){return dm(t,e,1)}function dm(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<e?o=i:n=i+1}return~(o<e){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Fe(n))return!1;s=!0}}}}return Fe(n)||s}function Fe(t){return(t&1)===0}function vm(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Fe(s)&&(e+=Ql(i,o),o=""),n=s,i=i||!Fe(n);r++}return o!==""&&(e+=Ql(i,o)),e}function Em(t){return t.map(Cm).join(",")}function Im(t){let e=[],r=[],n=1,o=2;for(;n{let e=tf(t),r=Q(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Wd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ke.Emulated,styles:t.styles||Ae,_:null,schemas:t.schemas||null,tView:null,id:""});nf(r);let n=t.dependencies;return r.directiveDefs=Jl(n,!1),r.pipeDefs=Jl(n,!0),r.id=Sm(r),r})}function bm(t){return Nt(t)||Kd(t)}function Mm(t){return t!==null}function an(t){return Tr(()=>({type:t.type,bootstrap:t.bootstrap||Ae,declarations:t.declarations||Ae,imports:t.imports||Ae,exports:t.exports||Ae,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Kl(t,e){if(t==null)return On;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=kn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==kn.None?[n,a]:n,e[i]=s):r[i]=n}return r}function pt(t){return Tr(()=>{let e=tf(t);return nf(e),e})}function hc(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Nt(t){return t[Zg]||null}function Kd(t){return t[Yg]||null}function Jd(t){return t[Qg]||null}function Xd(t){let e=Nt(t)||Kd(t)||Jd(t);return e!==null?e.standalone:!1}function ef(t,e){let r=t[Kg]||null;if(!r&&e===!0)throw new Error(`Type ${Ee(t)} does not have '\u0275mod' property.`);return r}function tf(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||On,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ae,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Kl(t.inputs,e),outputs:Kl(t.outputs),debugInfo:null}}function nf(t){t.features?.forEach(e=>e(t))}function Jl(t,e){if(!t)return null;let r=e?Jd:bm;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Mm)}function Sm(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Tm(...t){return{\u0275providers:rf(!0,t),\u0275fromNgModule:!0}}function rf(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return dc(e,s=>{let a=s;Da(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&of(o,i),r}function of(t,e){for(let r=0;r{e(i,n)})}}function Da(t,e,r,n){if(t=pe(t),!t)return!1;let o=null,i=Gl(t),s=!i&&Nt(t);if(!i&&!s){let c=t.ngModule;if(i=Gl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Da(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{dc(i.imports,l=>{Da(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&of(u,e)}if(!a){let u=Jt(o)||(()=>new o);e({provide:o,useFactory:u,deps:Ae},o),e({provide:qd,useValue:o,multi:!0},o),e({provide:Pn,useValue:()=>I(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;pc(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function pc(t,e){for(let r of t)Vd(r)&&(r=r.\u0275providers),Array.isArray(r)?pc(r,e):e(r)}var _m=q({provide:String,useValue:q});function sf(t){return t!==null&&typeof t=="object"&&_m in t}function xm(t){return!!(t&&t.useExisting)}function Nm(t){return!!(t&&t.useFactory)}function Fn(t){return typeof t=="function"}function Am(t){return!!t.useClass}var ci=new M(""),No={},Rm={},na;function gc(){return na===void 0&&(na=new jo),na}var Ie=class{},Dr=class extends Ie{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Ca(e,s=>this.processProvider(s)),this.records.set(Gd,Tn(void 0,this)),o.has("environment")&&this.records.set(Ie,Tn(void 0,this));let i=this.records.get(ci);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(qd,Ae,R.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=B(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),B(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Tt(this),n=Ce(void 0),o;try{return e()}finally{Tt(r),Ce(n)}}get(e,r=vr,n=R.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Wl))return e[Wl](this);n=si(n);let o,i=Tt(this),s=Ce(void 0);try{if(!(n&R.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=Lm(e)&&ii(e);u&&this.injectableDefInScope(u)?c=Tn(wa(e),No):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&R.Self?gc():this.parent;return r=n&R.Optional&&r===vr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Fo]=a[Fo]||[]).unshift(Ee(e)),i)throw a;return am(a,e,"R3InjectorError",this.source)}else throw a}finally{Ce(s),Tt(i)}}resolveInjectorInitializers(){let e=B(null),r=Tt(this),n=Ce(void 0),o;try{let i=this.get(Pn,Ae,R.Self);for(let s of i)s()}finally{Tt(r),Ce(n),B(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Ee(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=pe(e);let r=Fn(e)?e:pe(e&&e.provide),n=Pm(e);if(!Fn(e)&&e.multi===!0){let o=this.records.get(r);o||(o=Tn(void 0,No,!0),o.factory=()=>va(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=B(null);try{return r.value===No&&(r.value=Rm,r.value=r.factory()),typeof r.value=="object"&&r.value&&Fm(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{B(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=pe(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function wa(t){let e=ii(t),r=e!==null?e.factory:Jt(t);if(r!==null)return r;if(t instanceof M)throw new w(204,!1);if(t instanceof Function)return Om(t);throw new w(204,!1)}function Om(t){if(t.length>0)throw new w(204,!1);let r=qg(t);return r!==null?()=>r.factory(t):()=>new t}function Pm(t){if(sf(t))return Tn(void 0,t.useValue);{let e=af(t);return Tn(e,No)}}function af(t,e,r){let n;if(Fn(t)){let o=pe(t);return Jt(o)||wa(o)}else if(sf(t))n=()=>pe(t.useValue);else if(Nm(t))n=()=>t.useFactory(...va(t.deps||[]));else if(xm(t))n=()=>I(pe(t.useExisting));else{let o=pe(t&&(t.useClass||t.provide));if(km(t))n=()=>new o(...va(t.deps));else return Jt(o)||wa(o)}return n}function Tn(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function km(t){return!!t.deps}function Fm(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Lm(t){return typeof t=="function"||typeof t=="object"&&t instanceof M}function Ca(t,e){for(let r of t)Array.isArray(r)?Ca(r,e):r&&Vd(r)?Ca(r.\u0275providers,e):e(r)}function $e(t,e){t instanceof Dr&&t.assertNotDestroyed();let r,n=Tt(t),o=Ce(void 0);try{return e()}finally{Tt(n),Ce(o)}}function cf(){return Bd()!==void 0||om()!=null}function jm(t){if(!cf())throw new w(-203,!1)}function $m(t){let e=me.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Vm(t){return typeof t=="function"}var gt=0,k=1,S=2,ve=3,Le=4,Ve=5,$o=6,wr=7,je=8,Ln=9,Je=10,ee=11,Cr=12,Xl=13,Wn=14,Xe=15,jn=16,_n=17,$n=18,ui=19,uf=20,_t=21,ra=22,Xt=23,be=25,lf=1;var en=7,Vo=8,Bo=9,Re=10,Uo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Uo||{});function xt(t){return Array.isArray(t)&&typeof t[lf]=="object"}function mt(t){return Array.isArray(t)&&t[lf]===!0}function mc(t){return(t.flags&4)!==0}function li(t){return t.componentOffset>-1}function di(t){return(t.flags&1)===1}function At(t){return!!t.template}function Ea(t){return(t[S]&512)!==0}var Ia=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function df(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function Zn(){return ff}function ff(t){return t.type.prototype.ngOnChanges&&(t.setInput=Um),Bm}Zn.ngInherit=!0;function Bm(){let t=pf(this),e=t?.current;if(e){let r=t.previous;if(r===On)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Um(t,e,r,n,o){let i=this.declaredInputs[n],s=pf(t)||Hm(t,{previous:On,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ia(u&&u.currentValue,r,c===On),df(t,e,o,r)}var hf="__ngSimpleChanges__";function pf(t){return t[hf]||null}function Hm(t,e){return t[hf]=e}var ed=null;var Ye=function(t,e,r){ed?.(t,e,r)},zm="svg",Gm="math";function et(t){for(;Array.isArray(t);)t=t[gt];return t}function gf(t,e){return et(e[t])}function Pe(t,e){return et(e[t.index])}function mf(t,e){return t.data[e]}function fi(t,e){return t[e]}function Pt(t,e){let r=e[t];return xt(r)?r:r[gt]}function vc(t){return(t[S]&128)===128}function qm(t){return mt(t[ve])}function Vn(t,e){return e==null?null:t[e]}function vf(t){t[_n]=0}function Wm(t){t[S]&1024||(t[S]|=1024,vc(t)&&hi(t))}function Zm(t,e){for(;t>0;)e=e[Wn],t--;return e}function Er(t){return!!(t[S]&9216||t[Xt]?.dirty)}function ba(t){t[Je].changeDetectionScheduler?.notify(7),t[S]&64&&(t[S]|=1024),Er(t)&&hi(t)}function hi(t){t[Je].changeDetectionScheduler?.notify(0);let e=Ir(t);for(;e!==null&&!(e[S]&8192||(e[S]|=8192,!vc(e)));)e=Ir(e)}function yf(t,e){if((t[S]&256)===256)throw new w(911,!1);t[_t]===null&&(t[_t]=[]),t[_t].push(e)}function Ym(t,e){if(t[_t]===null)return;let r=t[_t].indexOf(e);r!==-1&&t[_t].splice(r,1)}function Ir(t){let e=t[ve];return mt(e)?e[ve]:e}var O={lFrame:_f(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Df=!1;function Qm(){return O.lFrame.elementDepthCount}function Km(){O.lFrame.elementDepthCount++}function Jm(){O.lFrame.elementDepthCount--}function wf(){return O.bindingsEnabled}function Xm(){return O.skipHydrationRootTNode!==null}function ev(t){return O.skipHydrationRootTNode===t}function tv(){O.skipHydrationRootTNode=null}function $(){return O.lFrame.lView}function ce(){return O.lFrame.tView}function R_(t){return O.lFrame.contextLView=t,t[je]}function O_(t){return O.lFrame.contextLView=null,t}function fe(){let t=Cf();for(;t!==null&&t.type===64;)t=t.parent;return t}function Cf(){return O.lFrame.currentTNode}function nv(){let t=O.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function cn(t,e){let r=O.lFrame;r.currentTNode=t,r.isParent=e}function yc(){return O.lFrame.isParent}function Ef(){O.lFrame.isParent=!1}function rv(){return O.lFrame.contextLView}function If(){return Df}function td(t){Df=t}function pi(){let t=O.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function bf(){return O.lFrame.bindingIndex}function ov(t){return O.lFrame.bindingIndex=t}function xr(){return O.lFrame.bindingIndex++}function Dc(t){let e=O.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function iv(){return O.lFrame.inI18n}function sv(t,e){let r=O.lFrame;r.bindingIndex=r.bindingRootIndex=t,Ma(e)}function av(){return O.lFrame.currentDirectiveIndex}function Ma(t){O.lFrame.currentDirectiveIndex=t}function cv(t){let e=O.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Mf(t){O.lFrame.currentQueryIndex=t}function uv(t){let e=t[k];return e.type===2?e.declTNode:e.type===1?t[Ve]:null}function Sf(t,e,r){if(r&R.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&R.Host);)if(o=uv(i),o===null||(i=i[Wn],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=O.lFrame=Tf();return n.currentTNode=e,n.lView=t,!0}function wc(t){let e=Tf(),r=t[k];O.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Tf(){let t=O.lFrame,e=t===null?null:t.child;return e===null?_f(t):e}function _f(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function xf(){let t=O.lFrame;return O.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Nf=xf;function Cc(){let t=xf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function lv(t){return(O.lFrame.contextLView=Zm(t,O.lFrame.contextLView))[je]}function kt(){return O.lFrame.selectedIndex}function tn(t){O.lFrame.selectedIndex=t}function gi(){let t=O.lFrame;return mf(t.tView,t.selectedIndex)}function dv(){return O.lFrame.currentNamespace}var Af=!0;function mi(){return Af}function vi(t){Af=t}function fv(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=ff(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function yi(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[_n]+=65536),(a>14>16&&(t[S]&3)===e&&(t[S]+=16384,nd(a,i)):nd(a,i)}var Rn=-1,nn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function pv(t){return t instanceof nn}function gv(t){return(t.flags&8)!==0}function mv(t){return(t.flags&16)!==0}function Of(t){return t!==Rn}function Ho(t){return t&32767}function vv(t){return t>>16}function zo(t,e){let r=vv(t),n=e;for(;r>0;)n=n[Wn],r--;return n}var Sa=!0;function Go(t){let e=Sa;return Sa=t,e}var yv=256,Pf=yv-1,kf=5,Dv=0,Qe={};function wv(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(gr)&&(n=r[gr]),n==null&&(n=r[gr]=Dv++);let o=n&Pf,i=1<>kf)]|=i}function qo(t,e){let r=Ff(t,e);if(r!==-1)return r;let n=e[k];n.firstCreatePass&&(t.injectorIndex=e.length,ia(n.data,t),ia(e,null),ia(n.blueprint,null));let o=Ec(t,e),i=t.injectorIndex;if(Of(o)){let s=Ho(o),a=zo(o,e),c=a[k].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function ia(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ff(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ec(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=Bf(o),n===null)return Rn;if(r++,o=o[Wn],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Rn}function Ta(t,e,r){wv(t,e,r)}function Cv(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h=c&&m.type===r)return h}if(o){let h=s[c];if(h&&At(h)&&h.type===r)return c}return null}function Bn(t,e,r,n){let o=t[r],i=e.data;if(pv(o)){let s=o;s.resolving&&Xg(Jg(i[r]));let a=Go(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Ce(s.injectImpl):null,l=Sf(t,n,R.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&fv(r,i[r],e)}finally{u!==null&&Ce(u),Go(a),s.resolving=!1,Nf()}}return o}function bv(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(gr)?t[gr]:void 0;return typeof e=="number"?e>=0?e&Pf:Mv:e}function rd(t,e,r){let n=1<>kf)]&n)}function od(t,e){return!(t&R.Self)&&!(t&R.Host&&e)}var Kt=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return $f(this._tNode,this._lView,e,si(n),r)}};function Mv(){return new Kt(fe(),$())}function Ic(t){return Tr(()=>{let e=t.prototype.constructor,r=e[ko]||_a(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[ko]||_a(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function _a(t){return Fd(t)?()=>{let e=_a(pe(t));return e&&e()}:Jt(t)}function Sv(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[S]&2048&&!(s[S]&512);){let a=Vf(i,s,r,n|R.Self,Qe);if(a!==Qe)return a;let c=i.parent;if(!c){let u=s[uf];if(u){let l=u.get(r,Qe,n);if(l!==Qe)return l}c=Bf(s),s=s[Wn]}i=c}return o}function Bf(t){let e=t[k],r=e.type;return r===2?e.declTNode:r===1?t[Ve]:null}function bc(t){return Cv(fe(),t)}function id(t,e=null,r=null,n){let o=Uf(t,e,r,n);return o.resolveInjectorInitializers(),o}function Uf(t,e=null,r=null,n,o=new Set){let i=[r||Ae,Tm(t)];return n=n||(typeof t=="object"?void 0:Ee(t)),new Dr(i,e||gc(),n||null,o)}var Qt=class Qt{static create(e,r){if(Array.isArray(e))return id({name:""},r,e,"");{let n=e.name??"";return id({name:n},e.parent,e.providers,n)}}};Qt.THROW_IF_NOT_FOUND=vr,Qt.NULL=new jo,Qt.\u0275prov=C({token:Qt,providedIn:"any",factory:()=>I(Gd)}),Qt.__NG_ELEMENT_ID__=-1;var Oe=Qt;var Tv=new M("");Tv.__NG_ELEMENT_ID__=t=>{let e=fe();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&R.Optional)return null;throw new w(204,!1)};var _v="ngOriginalError";function sa(t){return t[_v]}var tt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&sa(e);for(;r&&sa(r);)r=sa(r);return r||null}},Hf=new M("",{providedIn:"root",factory:()=>p(tt).handleError.bind(void 0)}),Mc=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xv,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),xa=class extends Mc{constructor(e){super(),this._lView=e}onDestroy(e){return yf(this._lView,e),()=>Ym(this._lView,e)}};function xv(){return new xa($())}function Nv(){return Di(fe(),$())}function Di(t,e){return new Nr(Pe(t,e))}var Nr=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=Nv;let t=e;return t})();var Na=class extends de{constructor(e=!1){super(),this.destroyRef=void 0,this.__isAsync=e,cf()&&(this.destroyRef=p(Mc,{optional:!0})??void 0)}emit(e){let r=B(null);try{super.next(e)}finally{B(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=aa(i),o&&(o=aa(o)),s&&(s=aa(s)));let a=super.subscribe({next:o,error:i,complete:s});return e instanceof U&&e.add(a),a}};function aa(t){return e=>{setTimeout(t,void 0,e)}}var ge=Na;function zf(t){return(t.flags&128)===128}var Gf=new Map,Av=0;function Rv(){return Av++}function Ov(t){Gf.set(t[ui],t)}function Pv(t){Gf.delete(t[ui])}var sd="__ngContext__";function Rt(t,e){xt(e)?(t[sd]=e[ui],Ov(e)):t[sd]=e}function qf(t){return Zf(t[Cr])}function Wf(t){return Zf(t[Le])}function Zf(t){for(;t!==null&&!mt(t);)t=t[Le];return t}var Aa;function Yf(t){Aa=t}function kv(){if(Aa!==void 0)return Aa;if(typeof document<"u")return document;throw new w(210,!1)}var wi=new M("",{providedIn:"root",factory:()=>Fv}),Fv="ng",Sc=new M(""),Ft=new M("",{providedIn:"platform",factory:()=>"unknown"});var Tc=new M("",{providedIn:"root",factory:()=>kv().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Lv="h",jv="b";var $v=()=>null;function _c(t,e,r=!1){return $v(t,e,r)}var Qf=!1,Vv=new M("",{providedIn:"root",factory:()=>Qf});var bo;function Bv(){if(bo===void 0&&(bo=null,me.trustedTypes))try{bo=me.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return bo}function Ci(t){return Bv()?.createHTML(t)||t}var Mo;function Uv(){if(Mo===void 0&&(Mo=null,me.trustedTypes))try{Mo=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Mo}function ad(t){return Uv()?.createScriptURL(t)||t}var ft=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Od})`}},Ra=class extends ft{getTypeName(){return"HTML"}},Oa=class extends ft{getTypeName(){return"Style"}},Pa=class extends ft{getTypeName(){return"Script"}},ka=class extends ft{getTypeName(){return"URL"}},Fa=class extends ft{getTypeName(){return"ResourceURL"}};function rt(t){return t instanceof ft?t.changingThisBreaksApplicationSecurity:t}function Lt(t,e){let r=Hv(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Od})`)}return r===e}function Hv(t){return t instanceof ft&&t.getTypeName()||null}function Kf(t){return new Ra(t)}function Jf(t){return new Oa(t)}function Xf(t){return new Pa(t)}function eh(t){return new ka(t)}function th(t){return new Fa(t)}function zv(t){let e=new ja(t);return Gv()?new La(e):e}var La=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(Ci(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},ja=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Ci(e),r}};function Gv(){try{return!!new window.DOMParser().parseFromString(Ci(""),"text/html")}catch{return!1}}var qv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ei(t){return t=String(t),t.match(qv)?t:"unsafe:"+t}function vt(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Ar(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var nh=vt("area,br,col,hr,img,wbr"),rh=vt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),oh=vt("rp,rt"),Wv=Ar(oh,rh),Zv=Ar(rh,vt("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")),Yv=Ar(oh,vt("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")),cd=Ar(nh,Zv,Yv,Wv),ih=vt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Qv=vt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Kv=vt("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"),Jv=Ar(ih,Qv,Kv),Xv=vt("script,style,template"),$a=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=ny(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=ty(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=ud(e).toLowerCase();if(!cd.hasOwnProperty(r))return this.sanitizedSomething=!0,!Xv.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o"),!0}endElement(e){let r=ud(e).toLowerCase();cd.hasOwnProperty(r)&&!nh.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(ld(e))}};function ey(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ty(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw sh(e);return e}function ny(t){let e=t.firstChild;if(e&&ey(t,e))throw sh(e);return e}function ud(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function sh(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var ry=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oy=/([^\#-~ |!])/g;function ld(t){return t.replace(/&/g,"&").replace(ry,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(oy,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var So;function ah(t,e){let r=null;try{So=So||zv(t);let n=e?String(e):"";r=So.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=So.getInertBodyElement(n)}while(n!==i);let a=new $a().sanitizeChildren(dd(r)||r);return Ci(a)}finally{if(r){let n=dd(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function dd(t){return"content"in t&&iy(t)?t.content:null}function iy(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var ot=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}(ot||{});function sy(t){let e=uh();return e?e.sanitize(ot.URL,t)||"":Lt(t,"URL")?rt(t):Ei(Ze(t))}function ay(t){let e=uh();if(e)return ad(e.sanitize(ot.RESOURCE_URL,t)||"");if(Lt(t,"ResourceURL"))return ad(rt(t));throw new w(904,!1)}function cy(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?ay:sy}function ch(t,e,r){return cy(e,r)(t)}function uh(){let t=$();return t&&t[Je].sanitizer}var uy=/^>|^->||--!>|)/g,dy="\u200B$1\u200B";function fy(t){return t.replace(uy,e=>e.replace(ly,dy))}function lh(t){return t instanceof Function?t():t}function hy(t){return(t??p(Oe)).get(Ft)==="browser"}var ht=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(ht||{}),py;function xc(t,e){return py(t,e)}function xn(t,e,r,n,o){if(n!=null){let i,s=!1;mt(n)?i=n:xt(n)&&(s=!0,n=n[gt]);let a=et(n);t===0&&r!==null?o==null?gh(e,r,a):Wo(e,r,a,o||null,!0):t===1&&r!==null?Wo(e,r,a,o||null,!0):t===2?Ay(e,a,s):t===3&&e.destroyNode(a),i!=null&&Oy(e,t,i,r,o)}}function gy(t,e){return t.createText(e)}function my(t,e,r){t.setValue(e,r)}function vy(t,e){return t.createComment(fy(e))}function dh(t,e,r){return t.createElement(e,r)}function yy(t,e){fh(t,e),e[gt]=null,e[Ve]=null}function Dy(t,e,r,n,o,i){n[gt]=o,n[Ve]=e,bi(t,n,r,1,o,i)}function fh(t,e){e[Je].changeDetectionScheduler?.notify(8),bi(t,e,e[ee],2,null,null)}function wy(t){let e=t[Cr];if(!e)return ca(t[k],t);for(;e;){let r=null;if(xt(e))r=e[Cr];else{let n=e[Re];n&&(r=n)}if(!r){for(;e&&!e[Le]&&e!==t;)xt(e)&&ca(e[k],e),e=e[ve];e===null&&(e=t),xt(e)&&ca(e[k],e),r=e&&e[Le]}e=r}}function Cy(t,e,r,n){let o=Re+n,i=r.length;n>0&&(r[o-1][Le]=e),n0&&(t[r-1][Le]=n[Le]);let i=Lo(t,Re+e);yy(n[k],n);let s=i[$n];s!==null&&s.detachView(i[k]),n[ve]=null,n[Le]=null,n[S]&=-129}return n}function ph(t,e){if(!(e[S]&256)){let r=e[ee];r.destroyNode&&bi(t,e,r,3,null,null),wy(e)}}function ca(t,e){if(e[S]&256)return;let r=B(null);try{e[S]&=-129,e[S]|=256,e[Xt]&&Ml(e[Xt]),Iy(t,e),Ey(t,e),e[k].type===1&&e[ee].destroy();let n=e[jn];if(n!==null&&mt(e[ve])){n!==e[ve]&&Nc(n,e);let o=e[$n];o!==null&&o.detachView(t)}Pv(e)}finally{B(r)}}function Ey(t,e){let r=t.cleanup,n=e[wr];if(r!==null)for(let i=0;i=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[wr]=null);let o=e[_t];if(o!==null){e[_t]=null;for(let i=0;i-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===Ke.None||i===Ke.Emulated)return null}return Pe(n,r)}}function Wo(t,e,r,n,o){t.insertBefore(e,r,n,o)}function gh(t,e,r){t.appendChild(e,r)}function fd(t,e,r,n,o){n!==null?Wo(t,e,r,n,o):gh(t,e,r)}function Sy(t,e,r,n){t.removeChild(e,r,n)}function Ac(t,e){return t.parentNode(e)}function Ty(t,e){return t.nextSibling(e)}function _y(t,e,r){return Ny(t,e,r)}function xy(t,e,r){return t.type&40?Pe(t,r):null}var Ny=xy,hd;function Ii(t,e,r,n){let o=by(t,n,e),i=e[ee],s=n.parent||e[Ve],a=_y(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;cbe&&Dh(t,e,be,!1),Ye(s?2:0,o),r(n,o)}finally{tn(i),Ye(s?3:1,o)}}function Oc(t,e,r){if(mc(e)){let n=B(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;snull;function Uy(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Xm()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev: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}}function pd(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=kn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?gd(n,r,u,a,c):gd(n,r,u,a)}return n}function gd(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function Hy(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function Zy(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;li(r)&&tD(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||qo(r,e),Rt(n,e);let s=r.initialInputs;for(let a=o;a{hi(t.lView)},consumerOnSignalRead(){this.lView[Xt]=this}}),yD=100;function Ah(t,e=!0,r=0){let n=t[Je],o=n.rendererFactory,i=!1;i||o.begin?.();try{DD(t,r)}catch(s){throw e&&xh(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function DD(t,e){let r=If();try{td(!0),za(t,e);let n=0;for(;Er(t);){if(n===yD)throw new w(103,!1);n++,za(t,1)}}finally{td(r)}}function wD(t,e,r,n){let o=e[S];if((o&256)===256)return;let i=!1,s=!1;!i&&e[Je].inlineEffectRunner?.flush(),wc(e);let a=null,c=null;!i&&CD(t)&&(c=pD(e),a=Il(c));try{vf(e),ov(t.bindingStartIndex),r!==null&&Ih(t,e,r,2,n);let u=(o&3)===3;if(!i)if(u){let f=t.preOrderCheckHooks;f!==null&&Ao(e,f,null)}else{let f=t.preOrderHooks;f!==null&&Ro(e,f,0,null),oa(e,0)}if(s||ED(e),Rh(e,0),t.contentQueries!==null&&_h(t,e),!i)if(u){let f=t.contentCheckHooks;f!==null&&Ao(e,f)}else{let f=t.contentHooks;f!==null&&Ro(e,f,1),oa(e,1)}Fy(t,e);let l=t.components;l!==null&&Ph(e,l,0);let d=t.viewQuery;if(d!==null&&Ha(2,d,n),!i)if(u){let f=t.viewCheckHooks;f!==null&&Ao(e,f)}else{let f=t.viewHooks;f!==null&&Ro(e,f,2),oa(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[ra]){for(let f of e[ra])f();e[ra]=null}i||(e[S]&=-73)}catch(u){throw i||hi(e),u}finally{c!==null&&(bl(c,a),mD(c)),Cc()}}function CD(t){return t.type!==2}function Rh(t,e){for(let r=qf(t);r!==null;r=Wf(r))for(let n=Re;n-1&&(Va(e,n),Lo(r,n))}this._attachedToViewContainer=!1}ph(this._lView[k],this._lView)}onDestroy(e){yf(this._lView,e)}markForCheck(){Uc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[S]&=-129}reattach(){ba(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,Ah(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Ea(this._lView),r=this._lView[jn];r!==null&&!e&&Nc(r,this._lView),fh(this._lView[k],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=Ea(this._lView),n=this._lView[jn];n!==null&&!r&&hh(n,this._lView),ba(this._lView)}},Or=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=SD;let t=e;return t})(),bD=Or,MD=class extends bD{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=dD(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new rn(o)}};function SD(){return kh(fe(),$())}function kh(t,e){return t.type&4?new MD(e,t,Di(t,e)):null}var F_=new RegExp(`^(\\d+)*(${jv}|${Lv})*(.*)`);var TD=()=>null;function vd(t,e){return TD(t,e)}var Un=class{},Fh=new M("",{providedIn:"root",factory:()=>!1});var Lh=new M(""),Ga=class{},Yo=class{};function _D(t){let e=Error(`No component factory found for ${Ee(t)}.`);return e[xD]=t,e}var xD="ngComponent";var qa=class{resolveComponentFactory(e){throw _D(e)}},au=class au{};au.NULL=new qa;var Hn=au,zn=class{},Ti=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>ND();let t=e;return t})();function ND(){let t=$(),e=fe(),r=Pt(e.index,t);return(xt(r)?r:t)[ee]}var AD=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),ua={};var yd=new Set;function Hc(t){yd.has(t)||(yd.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function jh(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof me.requestAnimationFrame=="function"&&me.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function Dd(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function wd(...t){}var Z=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,PD(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,RD,wd,wd);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},RD={};function zc(t){if(t._nesting==0&&!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 OD(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{jh(()=>{t.callbackScheduled=!1,Wa(t),t.isCheckStableRunning=!0,zc(t),t.isCheckStableRunning=!1})}),Wa(t))}function PD(t){let e=()=>{OD(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(kD(a))return r.invokeTask(o,i,s,a);try{return Cd(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Ed(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return Cd(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!FD(a)&&e(),Ed(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,Wa(t),zc(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function Wa(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Cd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ed(t){t._nesting--,zc(t)}var Qo=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function kD(t){return $h(t,"__ignore_ng_zone__")}function FD(t){return $h(t,"__scheduler_tick__")}function $h(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function LD(t="zone.js",e){return t==="noop"?new Qo:t==="zone.js"?new Z(e):t}var Nn=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Nn||{}),jD={destroy(){}};function _i(t,e){!e&&jm(_i);let r=e?.injector??p(Oe);if(!hy(r))return jD;Hc("NgAfterNextRender");let n=r.get(Gc),o=n.handler??=new Ya,i=e?.phase??Nn.MixedReadWrite,s=()=>{o.unregister(c),a()},a=r.get(Mc).onDestroy(s),c=$e(r,()=>new Za(i,()=>{s(),t()}));return o.register(c),{destroy:s}}var Za=class{constructor(e,r){this.phase=e,this.callbackFn=r,this.zone=p(Z),this.errorHandler=p(tt,{optional:!0}),p(Un,{optional:!0})?.notify(6)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(e){this.errorHandler?.handleError(e)}}},Ya=class{constructor(){this.executingCallbacks=!1,this.buckets={[Nn.EarlyRead]:new Set,[Nn.Write]:new Set,[Nn.MixedReadWrite]:new Set,[Nn.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},Gc=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Ko(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s0&&vh(t,r,i.join(" "))}}function GD(t,e,r){let n=t.projection=[];for(let o=0;o{let e=class e{};e.__NG_ELEMENT_ID__=WD;let t=e;return t})();function WD(){let t=fe();return YD(t,$())}var ZD=jt,Vh=class extends ZD{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Di(this._hostTNode,this._hostLView)}get injector(){return new Kt(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ec(this._hostTNode,this._hostLView);if(Of(e)){let r=zo(e,this._hostLView),n=Ho(e),o=r[k].data[n+8];return new Kt(o,r)}else return new Kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=bd(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Re}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=vd(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,md(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!Vm(e),a;if(s)a=r;else{let m=r||{};a=m.index,n=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}let c=s?e:new Gn(Nt(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let P=(s?u:this.parentInjector).get(Ie,null);P&&(i=P)}let l=Nt(c.componentType??{}),d=vd(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,md(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(qm(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[ve],u=new Vh(c,c[Ve],c[ve]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return fD(s,o,i,n),e.attachToViewContainerRef(),zd(la(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=bd(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Va(this._lContainer,r);n&&(Lo(la(this._lContainer),r),ph(n[k],n))}detach(e){let r=this._adjustIndex(e,-1),n=Va(this._lContainer,r);return n&&Lo(la(this._lContainer),r)!=null?new rn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function bd(t){return t[Vo]}function la(t){return t[Vo]||(t[Vo]=[])}function YD(t,e){let r,n=e[t.index];return mt(n)?r=n:(r=Th(n,e,null,t),e[t.index]=r,Si(e,r)),KD(r,e,t,n),new Vh(r,t,e)}function QD(t,e){let r=t[ee],n=r.createComment(""),o=Pe(e,t),i=Ac(r,o);return Wo(r,i,n,Ty(r,o),!1),n}var KD=ew,JD=()=>!1;function XD(t,e,r){return JD(t,e,r)}function ew(t,e,r,n){if(t[en])return;let o;r.type&8?o=et(n):o=QD(e,r),t[en]=o}function tw(t){return typeof t=="function"&&t[us]!==void 0}function Bh(t){return tw(t)&&typeof t.set=="function"}function nw(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(sw))}return i}return Xo.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>aw(i));e.push(c)}),ow(),Promise.all(e).then(()=>{})}var Xo=new Map,rw=new Set;function ow(){let t=Xo;return Xo=new Map,t}function iw(){return Xo.size===0}function sw(t){return typeof t=="string"?t:t.text()}function aw(t){rw.delete(t)}function cw(t){return Object.getPrototypeOf(t.prototype).constructor}function uw(t){let e=cw(t.type),r=!0,n=[t];for(;e;){let o;if(At(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=To(t.inputs),s.inputTransforms=To(t.inputTransforms),s.declaredInputs=To(t.declaredInputs),s.outputs=To(t.outputs);let a=o.hostBindings;a&&pw(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&fw(t,c),u&&hw(t,u),lw(t,o),zg(t.outputs,o.outputs),At(o)&&o.data.animation){let l=t.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=yr(o.hostAttrs,r=yr(r,o.hostAttrs))}}function To(t){return t===On?{}:t===Ae?[]:t}function fw(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function hw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function pw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function qc(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var Ot=class{},br=class{};var ei=class extends Ot{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Jo(this);let o=ef(e);this._bootstrapComponents=lh(o.bootstrap),this._r3Injector=Uf(e,r,[{provide:Ot,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver},...n],Ee(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},ti=class extends br{constructor(e){super(),this.moduleType=e}create(e){return new ei(this.moduleType,e,[])}};function gw(t,e,r){return new ei(t,e,r)}var Ja=class extends Ot{constructor(e){super(),this.componentFactoryResolver=new Jo(this),this.instance=null;let r=new Dr([...e.providers,{provide:Ot,useValue:this},{provide:Hn,useValue:this.componentFactoryResolver}],e.parent||gc(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function xi(t,e,r=null){return new Ja({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var Pr=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new se(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Uh(t){return vw(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mw(t,e){if(Array.isArray(t))for(let r=0;r>17&32767}function xw(t){return(t&2)==2}function Nw(t,e){return t&131071|e<<17}function Xa(t){return t|2}function qn(t){return(t&131068)>>2}function da(t,e){return t&-131069|e<<2}function Aw(t){return(t&1)===1}function ec(t){return t|1}function Rw(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=on(s),c=qn(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||_r(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=on(t[a+1]);t[n+1]=_o(f,a),f!==0&&(t[f+1]=da(t[f+1],n)),t[a+1]=Nw(t[a+1],n)}else t[n+1]=_o(a,0),a!==0&&(t[a+1]=da(t[a+1],n)),a=n;else t[n+1]=_o(c,0),a===0?a=n:t[c+1]=da(t[c+1],n),c=n;u&&(t[n+1]=Xa(t[n+1])),Md(t,l,n,!0),Md(t,l,n,!1),Ow(e,l,t,n,i),s=_o(a,c),i?e.classBindings=s:e.styleBindings=s}function Ow(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&_r(i,e)>=0&&(r[n+1]=ec(r[n+1]))}function Md(t,e,r,n){let o=t[r+1],i=e===null,s=n?on(o):qn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];Pw(c,e)&&(a=!0,t[s+1]=n?ec(u):Xa(u)),s=n?on(u):qn(u)}a&&(t[r+1]=n?Xa(o):ec(o))}function Pw(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?_r(t,e)>=0:!1}function kw(t,e,r){let n=$(),o=xr();if(nt(n,o,e)){let i=ce(),s=gi();Lc(i,s,n,t,e,n[ee],r,!1)}return kw}function Sd(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";$c(t,r,i[s],s,n)}function Fw(t,e){return Lw(t,e,null,!0),Fw}function Lw(t,e,r,n){let o=$(),i=ce(),s=Dc(2);if(i.firstUpdatePass&&$w(i,t,s,n),e!==Be&&nt(o,s,e)){let a=i.data[kt()];zw(i,a,o,o[ee],t,o[s+1]=Gw(e,r),n,s)}}function jw(t,e){return e>=t.expandoStartIndex}function $w(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[kt()],s=jw(t,r);qw(i,n)&&e===null&&!s&&(e=!1),e=Vw(o,i,e,n),Rw(o,i,e,r,s,n)}}function Vw(t,e,r,n){let o=cv(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=fa(null,t,e,r,n),r=Sr(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=fa(o,t,e,r,n),i===null){let c=Bw(t,e,n);c!==void 0&&Array.isArray(c)&&(c=fa(null,t,e,c[1],n),c=Sr(c,e.attrs,n),Uw(t,e,n,c))}else i=Hw(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function Bw(t,e,r){let n=r?e.classBindings:e.styleBindings;if(qn(n)!==0)return t[on(n)]}function Uw(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[on(o)]=n}function Hw(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===Be&&(f=d?Ae:void 0);let h=d?ta(f,n):l===n?f:void 0;if(u&&!ni(h)&&(h=ta(c,n)),ni(h)&&(a=h,s))return a;let m=t[o+1];o=s?on(m):qn(m)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=ta(c,n))}return a}function ni(t){return t!==void 0}function Gw(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ee(rt(t)))),t}function qw(t,e){return(t.flags&(e?8:16))!==0}function Ww(t,e,r,n,o,i){let s=e.consts,a=Vn(s,o),c=Rr(e,t,2,n,a);return jc(e,r,c,Vn(s,i)),c.attrs!==null&&Ko(c,c.attrs,!1),c.mergedAttrs!==null&&Ko(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Hh(t,e,r,n){let o=$(),i=ce(),s=be+t,a=o[ee],c=i.firstCreatePass?Ww(s,i,o,e,r,n):i.data[s],u=Zw(i,o,c,a,e,t);o[s]=u;let l=di(c);return cn(c,!0),yh(a,u,c),!ww(c)&&mi()&&Ii(i,o,u,c),Qm()===0&&Rt(u,o),Km(),l&&(Pc(i,o,c),Oc(i,c,o)),n!==null&&kc(o,c),Hh}function zh(){let t=fe();yc()?Ef():(t=t.parent,cn(t,!1));let e=t;ev(e)&&tv(),Jm();let r=ce();return r.firstCreatePass&&(yi(r,t),mc(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&gv(e)&&Sd(r,e,$(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&mv(e)&&Sd(r,e,$(),e.stylesWithoutHost,!1),zh}function Yc(t,e,r,n){return Hh(t,e,r,n),zh(),Yc}var Zw=(t,e,r,n,o,i)=>(vi(!0),dh(n,o,dv()));function Yw(t,e,r,n,o){let i=e.consts,s=Vn(i,n),a=Rr(e,t,8,"ng-container",s);s!==null&&Ko(a,s,!0);let c=Vn(i,o);return jc(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Gh(t,e,r){let n=$(),o=ce(),i=t+be,s=o.firstCreatePass?Yw(i,o,n,e,r):o.data[i];cn(s,!0);let a=Kw(o,n,s,t);return n[i]=a,mi()&&Ii(o,n,a,s),Rt(a,n),di(s)&&(Pc(o,n,s),Oc(o,s,n)),r!=null&&kc(n,s),Gh}function qh(){let t=fe(),e=ce();return yc()?Ef():(t=t.parent,cn(t,!1)),e.firstCreatePass&&(yi(e,t),mc(t)&&e.queries.elementEnd(t)),qh}function Qw(t,e,r){return Gh(t,e,r),qh(),Qw}var Kw=(t,e,r,n)=>(vi(!0),vy(e[ee],""));function j_(){return $()}function Jw(t,e,r){let n=$(),o=xr();if(nt(n,o,e)){let i=ce(),s=gi();Lc(i,s,n,t,e,n[ee],r,!0)}return Jw}var ri="en-US";var Xw=ri;function eC(t){typeof t=="string"&&(Xw=t.toLowerCase().replace(/_/g,"-"))}var tC=(t,e,r)=>{};function Qc(t,e,r,n){let o=$(),i=ce(),s=fe();return Wh(i,o,o[ee],s,t,e,n),Qc}function nC(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Wh(t,e,r,n,o,i,s){let a=di(n),u=t.firstCreatePass&&aD(t),l=e[je],d=sD(e),f=!0;if(n.type&3||s){let P=Pe(n,e),j=s?s(P):P,V=d.length,ue=s?te=>s(et(te[n.index])):n.index;tC(P,o,i);let G=null;if(!s&&a&&(G=nC(t,e,o,n.index)),G!==null){let te=G.__ngLastListenerFn__||G;te.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=xd(n,e,l,i);let te=r.listen(j,o,i);d.push(i,te),u&&u.push(o,ue,V,V+1)}}else i=xd(n,e,l,i);let h=n.outputs,m;if(f&&h!==null&&(m=h[o])){let P=m.length;if(P)for(let j=0;j-1?Pt(t.index,e):e;Uc(s,5);let a=_d(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=_d(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function $_(t=1){return lv(t)}function rC(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function V_(t){let e=rv();return fi(e,be+t)}function B_(t,e=""){let r=$(),n=ce(),o=t+be,i=n.firstCreatePass?Rr(n,o,1,e,null):n.data[o],s=oC(n,r,i,e,t);r[o]=s,mi()&&Ii(n,r,s,i),cn(i,!1)}var oC=(t,e,r,n,o)=>(vi(!0),gy(e[ee],n));function iC(t){return Zh("",t,""),iC}function Zh(t,e,r){let n=$(),o=Sw(n,t,e,r);return o!==Be&&Vc(n,kt(),o),Zh}function sC(t,e,r,n,o){let i=$(),s=Tw(i,t,e,r,n,o);return s!==Be&&Vc(i,kt(),s),sC}function aC(t,e,r,n,o,i,s,a,c){let u=$(),l=_w(u,t,e,r,n,o,i,s,a,c);return l!==Be&&Vc(u,kt(),l),aC}function cC(t,e,r){Bh(e)&&(e=e());let n=$(),o=xr();if(nt(n,o,e)){let i=ce(),s=gi();Lc(i,s,n,t,e,n[ee],r,!1)}return cC}function U_(t,e){let r=Bh(t);return r&&t.set(e),r}function uC(t,e){let r=$(),n=ce(),o=fe();return Wh(n,r,r[ee],o,t,e),uC}function lC(t,e,r){let n=ce();if(n.firstCreatePass){let o=At(t);tc(r,n.data,n.blueprint,o,!0),tc(e,n.data,n.blueprint,o,!1)}}function tc(t,e,r,n,o){if(t=pe(t),Array.isArray(t))for(let i=0;i>20;if(Fn(t)||!t.multi){let h=new nn(u,o,J),m=pa(c,e,o?l:l+f,d);m===-1?(Ta(qo(a,s),i,c),ha(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=pa(c,e,l+f,d),m=pa(c,e,l,l+f),P=h>=0&&r[h],j=m>=0&&r[m];if(o&&!j||!o&&!P){Ta(qo(a,s),i,c);let V=hC(o?fC:dC,r.length,o,n,u);!o&&j&&(r[m].providerFactory=V),ha(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(V),s.push(V)}else{let V=Yh(r[o?m:h],u,!o&&n);ha(i,t,h>-1?h:m,V)}!o&&n&&j&&r[m].componentProviders++}}}function ha(t,e,r,n){let o=Fn(e),i=Am(e);if(o||i){let c=(i?pe(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function Yh(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function pa(t,e,r,n){for(let o=r;o{r.providersResolver=(n,o)=>lC(n,o?o(t):t,e)}}var pC=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=rf(!1,n.type),i=o.length>0?xi([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(I(Ie))});let t=e;return t})();function Qh(t){Hc("NgStandalone"),t.getStandaloneInjector=e=>e.get(pC).getOrCreateStandaloneInjector(t)}function z_(t,e,r,n,o){return Kh($(),pi(),t,e,r,n,o)}function Kc(t,e){let r=t[e];return r===Be?void 0:r}function gC(t,e,r,n,o,i){let s=e+r;return nt(t,s,o)?Wc(t,s+1,i?n.call(i,o):n(o)):Kc(t,s+1)}function Kh(t,e,r,n,o,i,s){let a=e+r;return Mr(t,a,o,i)?Wc(t,a+2,s?n.call(s,o,i):n(o,i)):Kc(t,a+2)}function mC(t,e,r,n,o,i,s,a){let c=e+r;return yw(t,c,o,i,s)?Wc(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):Kc(t,c+3)}function G_(t,e){let r=ce(),n,o=t+be;r.firstCreatePass?(n=vC(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=Jt(n.type,!0)),s,a=Ce(J);try{let c=Go(!1),u=i();return Go(c),rC(r,$(),o,u),u}finally{Ce(a)}}function vC(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function q_(t,e,r){let n=t+be,o=$(),i=fi(o,n);return Jc(o,n)?gC(o,pi(),e,i.transform,r,i):i.transform(r)}function W_(t,e,r,n){let o=t+be,i=$(),s=fi(i,o);return Jc(i,o)?Kh(i,pi(),e,s.transform,r,n,s):s.transform(r,n)}function Z_(t,e,r,n,o){let i=t+be,s=$(),a=fi(s,i);return Jc(s,i)?mC(s,pi(),e,a.transform,r,n,o,a):a.transform(r,n,o)}function Jc(t,e){return t[k].data[e].pure}function Y_(t,e){return kh(t,e)}var xo=null;function yC(t){xo!==null&&(t.defaultEncapsulation!==xo.defaultEncapsulation||t.preserveWhitespaces!==xo.preserveWhitespaces)||(xo=t)}var Ni=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Xc=new M(""),kr=new M(""),Ai=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,eu||(DC(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(I(Z),I(Ri),I(kr))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Ri=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return eu?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function DC(t){eu=t}var eu;function Yn(t){return!!t&&typeof t.then=="function"}function tu(t){return!!t&&typeof t.subscribe=="function"}var Oi=new M(""),Jh=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=p(Oi,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Yn(s))n.push(s);else if(tu(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),nu=new M("");function wC(){Sl(()=>{throw new w(600,!1)})}function CC(t){return t.isBoundToModule}var EC=10;function IC(t,e,r){try{let n=r();return Yn(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Xh(t,e){return Array.isArray(e)?e.reduce(Xh,t):D(D({},t),e)}var un=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Hf),this.afterRenderEffectManager=p(Gc),this.zonelessEnabled=p(Fh),this.externalTestViews=new Set,this.beforeRender=new de,this.afterTick=new de,this.componentTypes=[],this.components=[],this.isStable=p(Pr).hasPendingTasks.pipe(L(n=>!n)),this._injector=p(Ie)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof Yo;if(!this._injector.get(Jh).done){let h=!i&&Xd(n),m=!1;throw new w(405,m)}let a;i?a=n:a=this._injector.get(Hn).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=CC(a)?void 0:this._injector.get(Ot),u=o||a.selector,l=a.create(Oe.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Xc,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Po(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new w(101,!1);let o=B(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,B(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(zn,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;iEr(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>Er(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Po(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(nu,[]);[...this._bootstrapListeners,...o].forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Po(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Po(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function bC(t,e,r,n){if(!r&&!Er(t))return;Ah(t,e,r&&!n?0:1)}var rc=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Pi=(()=>{let e=class e{compileModuleSync(n){return new ti(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=ef(n),s=lh(i.declarations).reduce((a,c)=>{let u=Nt(c);return u&&a.push(new Gn(u)),a},[]);return new rc(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),MC=new M("");function SC(t,e,r){let n=new ti(r);return Promise.resolve(n)}function Nd(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var TC=(()=>{let e=class e{constructor(){this.zone=p(Z),this.changeDetectionScheduler=p(Un),this.applicationRef=p(un)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function _C({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new Z(ep()),[{provide:Z,useFactory:t},{provide:Pn,multi:!0,useFactory:()=>{let r=p(TC,{optional:!0});return()=>r.initialize()}},{provide:Pn,multi:!0,useFactory:()=>{let r=p(NC);return()=>{r.initialize()}}},{provide:Hf,useFactory:xC},e===!0?{provide:Lh,useValue:!0}:[]]}function xC(){let t=p(Z),e=p(tt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function ep(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var NC=(()=>{let e=class e{constructor(){this.subscription=new U,this.initialized=!1,this.zone=p(Z),this.pendingTasks=p(Pr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var AC=(()=>{let e=class e{constructor(){this.appRef=p(un),this.taskService=p(Pr),this.ngZone=p(Z),this.zonelessEnabled=p(Fh),this.disableScheduling=p(Lh,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new U,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Qo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Dd:jh;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Z.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Dd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function RC(){return typeof $localize<"u"&&$localize.locale||ri}var ru=new M("",{providedIn:"root",factory:()=>p(ru,R.Optional|R.SkipSelf)||RC()});var tp=new M(""),np=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=LD(o?.ngZone,ep({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=gw(n.moduleType,this.injector,[..._C({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:Un,useExisting:AC}]),c=a.injector.get(tt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{Po(this._modules,a),u.unsubscribe()})}),IC(c,i,()=>{let u=a.injector.get(Jh);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(ru,ri);return eC(l||ri),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=Xh({},o);return SC(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(un);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new w(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(tp,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(I(Oe))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),mr=null,rp=new M("");function OC(t){if(mr&&!mr.get(rp,!1))throw new w(400,!1);wC(),mr=t;let e=t.get(np);return FC(t),e}function ou(t,e,r=[]){let n=`Platform: ${e}`,o=new M(n);return(i=[])=>{let s=op();if(!s||s.injector.get(rp,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):OC(PC(a,n))}return kC(o)}}function PC(t=[],e){return Oe.create({name:e,providers:[{provide:ci,useValue:"platform"},{provide:tp,useValue:new Set([()=>mr=null])},...t]})}function kC(t){let e=op();if(!e)throw new w(401,!1);return e}function op(){return mr?.get(np)??null}function FC(t){t.get(Sc,null)?.forEach(r=>r())}var Qn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=LC;let t=e;return t})();function LC(t){return jC(fe(),$(),(t&16)===16)}function jC(t,e,r){if(li(t)&&!r){let n=Pt(t.index,e);return new rn(n,n)}else if(t.type&47){let n=e[Xe];return new rn(n,e)}return null}var oc=class{constructor(){}supports(e){return Uh(e)}create(e){return new ic(e)}},$C=(t,e)=>e,ic=class{constructor(e){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=e||$C}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new sc(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new oi),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new oi),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},sc=class{constructor(e,r){this.item=e,this.trackById=r,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}},ac=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},oi=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new ac,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Ad(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Rd()),deps:[[e,new lc,new ai]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=C({token:e,providedIn:"root",factory:Rd});let t=e;return t})();var ip=ou(null,"core",[]),sp=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(I(un))},e.\u0275mod=an({type:e}),e.\u0275inj=sn({});let t=e;return t})();function Fr(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function su(t){let e=B(null);try{return t()}finally{B(e)}}function ap(t){let e=Nt(t);if(!e)return null;let r=new Gn(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var fp=null;function ln(){return fp}function hp(t){fp??=t}var Fi=class{};var ye=new M(""),hu=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>p(VC),providedIn:"platform"});let t=e;return t})(),pp=new M(""),VC=(()=>{let e=class e extends hu{constructor(){super(),this._doc=p(ye),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ln().getBaseHref(this._doc)}onPopState(n){let o=ln().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=ln().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function pu(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function cp(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function yt(t){return t&&t[0]!=="?"?"?"+t:t}var Dt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>p(gu),providedIn:"root"});let t=e;return t})(),gp=new M(""),gu=(()=>{let e=class e extends Dt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??p(ye).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return pu(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+yt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+yt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+yt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(I(hu),I(gp,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),mp=(()=>{let e=class e extends Dt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=pu(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+yt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+yt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(I(hu),I(gp,8))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Kn=(()=>{let e=class e{constructor(n){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=HC(cp(up(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+yt(o))}normalize(n){return e.stripTrailingSlash(UC(this._basePath,up(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+yt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+yt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=yt,e.joinWithSlash=pu,e.stripTrailingSlash=cp,e.\u0275fac=function(o){return new(o||e)(I(Dt))},e.\u0275prov=C({token:e,factory:()=>BC(),providedIn:"root"});let t=e;return t})();function BC(){return new Kn(I(Dt))}function UC(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function up(t){return t.replace(/\/index.html$/,"")}function HC(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function vp(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var cu=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Dx=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new cu(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),lp(c,i)}});for(let i=0,s=o.length;i{let s=o.get(i.currentIndex);lp(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(J(jt),J(Or),J(iu))},e.\u0275dir=pt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function lp(t,e){t.context.$implicit=e.item}var zC=!0,Li=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},yp=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let o=zC?n===this._ngSwitch:n==this._ngSwitch;return this._lastCasesMatched||=o,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let o of this._defaultViews)o.enforceState(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=pt({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),wx=(()=>{let e=class e{constructor(n,o,i){this.ngSwitch=i,i._addCase(),this._view=new Li(n,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(o){return new(o||e)(J(jt),J(Or),J(yp,9))},e.\u0275dir=pt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),Cx=(()=>{let e=class e{constructor(n,o,i){i._addDefault(new Li(n,o))}};e.\u0275fac=function(o){return new(o||e)(J(jt),J(Or),J(yp,9))},e.\u0275dir=pt({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var Ex=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(J(jt))},e.\u0275dir=pt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Zn]});let t=e;return t})();function GC(t,e){return new w(2100,!1)}var uu=class{createSubscription(e,r){return su(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){su(()=>e.unsubscribe())}},lu=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},qC=new lu,WC=new uu,Ix=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(Yn(n))return qC;if(tu(n))return WC;throw GC(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(J(Qn,16))},e.\u0275pipe=hc({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var bx=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=hc({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var Dp=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=an({type:e}),e.\u0275inj=sn({});let t=e;return t})(),mu="browser",ZC="server";function YC(t){return t===mu}function vu(t){return t===ZC}var wp=(()=>{let e=class e{};e.\u0275prov=C({token:e,providedIn:"root",factory:()=>YC(p(Ft))?new du(p(ye),window):new fu});let t=e;return t})(),du=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=QC(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function QC(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var fu=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},ji=class{};var wu=class extends Fi{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Cu=class t extends wu{static makeCurrent(){hp(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=XC();return r==null?null:eE(r)}resetBaseElement(){Lr=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return vp(document.cookie,e)}},Lr=null;function XC(){return Lr=Lr||document.querySelector("base"),Lr?Lr.getAttribute("href"):null}function eE(t){return new URL(t,document.baseURI).pathname}var Eu=class{addToWindow(e){me.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new w(5103,!1);return i},me.getAllAngularTestabilities=()=>e.getAllTestabilities(),me.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=me.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?ln().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},tE=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Iu=new M(""),bp=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(I(Iu),I(Z))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),$i=class{constructor(e){this._doc=e}},yu="ng-app-id",Mp=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=vu(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${yu}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(yu),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(yu,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(I(ye),I(wi),I(Tc,8),I(Ft))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Du={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Mu=/%COMP%/g,Sp="%COMP%",nE=`_nghost-${Sp}`,rE=`_ngcontent-${Sp}`,oE=!0,iE=new M("",{providedIn:"root",factory:()=>oE});function sE(t){return rE.replace(Mu,t)}function aE(t){return nE.replace(Mu,t)}function Tp(t,e){return e.map(r=>r.replace(Mu,t))}var Cp=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=vu(c),this.defaultRenderer=new jr(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===Ke.ShadowDom&&(o=Q(D({},o),{encapsulation:Ke.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Vi?i.applyToHost(n):i instanceof $r&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case Ke.Emulated:s=new Vi(u,l,o,this.appId,d,a,c,f);break;case Ke.ShadowDom:return new bu(u,l,n,o,a,c,this.nonce,f);default:s=new $r(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(I(bp),I(Mp),I(wi),I(iE),I(ye),I(Ft),I(Z),I(Tc))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),jr=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Du[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Ep(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Ep(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new w(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Du[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Du[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(ht.DashCase|ht.Important)?e.style.setProperty(r,n,o&ht.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&ht.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=ln().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Ep(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var bu=class extends jr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Tp(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},$r=class extends jr{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Tp(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Vi=class extends $r{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=sE(u),this.hostAttr=aE(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},cE=(()=>{let e=class e extends $i{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(I(ye))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})(),Ip=["alt","control","meta","shift"],uE={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},lE={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},dE=(()=>{let e=class e extends $i{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ln().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),Ip.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=uE[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Ip.forEach(a=>{if(a!==i){let c=lE[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(I(ye))},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function fE(){Cu.makeCurrent()}function hE(){return new tt}function pE(){return Yf(document),document}var gE=[{provide:Ft,useValue:mu},{provide:Sc,useValue:fE,multi:!0},{provide:ye,useFactory:pE,deps:[]}],jx=ou(ip,"browser",gE),mE=new M(""),vE=[{provide:kr,useClass:Eu,deps:[]},{provide:Xc,useClass:Ai,deps:[Z,Ri,kr]},{provide:Ai,useClass:Ai,deps:[Z,Ri,kr]}],yE=[{provide:ci,useValue:"root"},{provide:tt,useFactory:hE,deps:[]},{provide:Iu,useClass:cE,multi:!0,deps:[ye,Z,Ft]},{provide:Iu,useClass:dE,multi:!0,deps:[ye]},Cp,Mp,bp,{provide:zn,useExisting:Cp},{provide:ji,useClass:tE,deps:[]},[]],$x=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:wi,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(I(mE,12))},e.\u0275mod=an({type:e}),e.\u0275inj=sn({providers:[...yE,...vE],imports:[Dp,sp]});let t=e;return t})();var _p=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(I(ye))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var DE=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=I(wE),i},providedIn:"root"});let t=e;return t})(),wE=(()=>{let e=class e extends DE{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case ot.NONE:return o;case ot.HTML:return Lt(o,"HTML")?rt(o):ah(this._doc,String(o)).toString();case ot.STYLE:return Lt(o,"Style")?rt(o):o;case ot.SCRIPT:if(Lt(o,"Script"))return rt(o);throw new w(5200,!1);case ot.URL:return Lt(o,"URL")?rt(o):Ei(String(o));case ot.RESOURCE_URL:if(Lt(o,"ResourceURL"))return rt(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return Kf(n)}bypassSecurityTrustStyle(n){return Jf(n)}bypassSecurityTrustScript(n){return Xf(n)}bypassSecurityTrustUrl(n){return eh(n)}bypassSecurityTrustResourceUrl(n){return th(n)}};e.\u0275fac=function(o){return new(o||e)(I(ye))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var N="primary",eo=Symbol("RouteTitle"),Nu=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function rr(t){return new Nu(t)}function EE(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[i]===o)}else return t===e}function Vp(t){return t.length>0?t[t.length-1]:null}function Bt(t){return Ds(t)?t:Yn(t)?K(Promise.resolve(t)):b(t)}var bE={exact:Up,subset:Hp},Bp={exact:ME,subset:SE,ignored:()=>!0};function xp(t,e,r){return bE[r.paths](t.root,e.root,r.matrixParams)&&Bp[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function ME(t,e){return it(t,e)}function Up(t,e,r){if(!fn(t.segments,e.segments)||!Hi(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Up(t.children[n],e.children[n],r))return!1;return!0}function SE(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>$p(t[r],e[r]))}function Hp(t,e,r){return zp(t,e,e.segments,r)}function zp(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!fn(o,r)||e.hasChildren()||!Hi(o,r,n))}else if(t.segments.length===r.length){if(!fn(t.segments,r)||!Hi(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!Hp(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!fn(t.segments,o)||!Hi(t.segments,o,n)||!t.children[N]?!1:zp(t.children[N],e,i,n)}}function Hi(t,e,r){return e.every((n,o)=>Bp[r](t[o].parameters,n.parameters))}var $t=class{constructor(e=new z([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=rr(this.queryParams),this._queryParamMap}toString(){return xE.serialize(this)}},z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zi(this)}},dn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=rr(this.parameters),this._parameterMap}toString(){return qp(this)}};function TE(t,e){return fn(t,e)&&t.every((r,n)=>it(r.parameters,e[n].parameters))}function fn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function _E(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===N&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==N&&(r=r.concat(e(o,n)))}),r}var to=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>new or,providedIn:"root"});let t=e;return t})(),or=class{parse(e){let r=new Ou(e);return new $t(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Vr(e.root,!0)}`,n=RE(e.queryParams),o=typeof e.fragment=="string"?`#${NE(e.fragment)}`:"";return`${r}${n}${o}`}},xE=new or;function zi(t){return t.segments.map(e=>qp(e)).join("/")}function Vr(t,e){if(!t.hasChildren())return zi(t);if(e){let r=t.children[N]?Vr(t.children[N],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==N&&n.push(`${o}:${Vr(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=_E(t,(n,o)=>o===N?[Vr(t.children[N],!1)]:[`${o}:${Vr(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[N]!=null?`${zi(t)}/${r[0]}`:`${zi(t)}/(${r.join("//")})`}}function Gp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bi(t){return Gp(t).replace(/%3B/gi,";")}function NE(t){return encodeURI(t)}function Ru(t){return Gp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gi(t){return decodeURIComponent(t)}function Np(t){return Gi(t.replace(/\+/g,"%20"))}function qp(t){return`${Ru(t.path)}${AE(t.parameters)}`}function AE(t){return Object.entries(t).map(([e,r])=>`;${Ru(e)}=${Ru(r)}`).join("")}function RE(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Bi(r)}=${Bi(o)}`).join("&"):`${Bi(r)}=${Bi(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var OE=/^[^\/()?;#]+/;function Su(t){let e=t.match(OE);return e?e[0]:""}var PE=/^[^\/()?;=#]+/;function kE(t){let e=t.match(PE);return e?e[0]:""}var FE=/^[^=?&#]+/;function LE(t){let e=t.match(FE);return e?e[0]:""}var jE=/^[^&#]+/;function $E(t){let e=t.match(jE);return e?e[0]:""}var Ou=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new z([],{}):new z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[N]=new z(e,r)),n}parseSegment(){let e=Su(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new dn(Gi(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=kE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Su(this.remaining);o&&(n=o,this.capture(n))}e[Gi(r)]=Gi(n)}parseQueryParam(e){let r=LE(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=$E(this.remaining);s&&(n=s,this.capture(n))}let o=Np(r),i=Np(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Su(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=N);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[N]:new z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function Wp(t){return t.segments.length>0?new z([],{[N]:t}):t}function Zp(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Zp(o);if(n===N&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new z(t.segments,e);return VE(r)}function VE(t){if(t.numberOfChildren===1&&t.children[N]){let e=t.children[N];return new z(t.segments.concat(e.segments),e.children)}return t}function qr(t){return t instanceof $t}function BE(t,e,r=null,n=null){let o=Yp(t);return Qp(o,e,r,n)}function Yp(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new z(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=Wp(n);return e??o}function Qp(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Tu(o,o,o,r,n);let i=UE(e);if(i.toRoot())return Tu(o,o,new z([],{}),r,n);let s=HE(i,o,t),a=s.processChildren?Hr(s.segmentGroup,s.index,i.commands):Jp(s.segmentGroup,s.index,i.commands);return Tu(o,s.segmentGroup,a,r,n)}function qi(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Wr(t){return typeof t=="object"&&t!=null&&t.outlets}function Tu(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Kp(t,e,r);let a=Wp(Zp(s));return new $t(a,i,o)}function Kp(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Kp(i,e,r)}),new z(t.segments,n)}var Wi=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&qi(n[0]))throw new w(4003,!1);let o=n.find(Wr);if(o&&o!==Vp(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function UE(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Wi(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Wi(r,e,n)}var er=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function HE(t,e,r){if(t.isAbsolute)return new er(e,!0,0);if(!r)return new er(e,!1,NaN);if(r.parent===null)return new er(r,!0,0);let n=qi(t.commands[0])?0:1,o=r.segments.length-1+n;return zE(r,o,t.numberOfDoubleDots)}function zE(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new w(4005,!1);o=n.segments.length}return new er(n,!1,o-i)}function GE(t){return Wr(t[0])?t[0].outlets:{[N]:t}}function Jp(t,e,r){if(t??=new z([],{}),t.segments.length===0&&t.hasChildren())return Hr(t,e,r);let n=qE(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndexi!==N)&&t.children[N]&&t.numberOfChildren===1&&t.children[N].segments.length===0){let i=Hr(t.children[N],e,r);return new z(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Jp(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new z(t.segments,o)}}function qE(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o=r.length)return i;let s=t.segments[o],a=r[n];if(Wr(a))break;let c=`${a}`,u=n0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Rp(c,u,s))return i;n+=2}else{if(!Rp(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Pu(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Pu(new z([],{}),0,n))}),e}function Ap(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Rp(t,e,r){return t==r.path&&it(e,r.parameters)}var zr="imperative",oe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(oe||{}),ke=class{constructor(e,r){this.id=e,this.url=r}},ir=class extends ke{constructor(e,r,n="imperative",o=null){super(e,r),this.type=oe.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},st=class extends ke{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=oe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},_e=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(_e||{}),Zi=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Zi||{}),wt=class extends ke{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=oe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Vt=class extends ke{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=oe.NavigationSkipped}},Zr=class extends ke{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=oe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Yi=class extends ke{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=oe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ku=class extends ke{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=oe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fu=class extends ke{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=oe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Lu=class extends ke{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=oe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ju=class extends ke{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=oe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$u=class{constructor(e){this.route=e,this.type=oe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vu=class{constructor(e){this.route=e,this.type=oe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Bu=class{constructor(e){this.snapshot=e,this.type=oe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Uu=class{constructor(e){this.snapshot=e,this.type=oe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hu=class{constructor(e){this.snapshot=e,this.type=oe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},zu=class{constructor(e){this.snapshot=e,this.type=oe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qi=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=oe.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Yr=class{},sr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Gu=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new no(this.injector),this.attachRef=null}},no=(()=>{let e=class e{constructor(n){this.parentInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new Gu(this.parentInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(I(Ie))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ki=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=qu(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=qu(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Wu(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return Wu(e,this._root).map(r=>r.value)}};function qu(t,e){if(t===e.value)return e;for(let r of e.children){let n=qu(t,r);if(n)return n}return null}function Wu(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Wu(t,r);if(n.length)return n.unshift(e),n}return[]}var Te=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Xn(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Ji=class extends Ki{constructor(e,r){super(e),this.snapshot=r,nl(this,e)}toString(){return this.snapshot.toString()}};function Xp(t){let e=ZE(t),r=new se([new dn("",{})]),n=new se({}),o=new se({}),i=new se({}),s=new se(""),a=new hn(r,n,i,s,o,N,t,e.root);return a.snapshot=e.root,new Ji(new Te(a,[]),e)}function ZE(t){let e={},r={},n={},o="",i=new tr([],e,n,o,r,N,t,null,{});return new es("",new Te(i,[]))}var hn=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(u=>u[eo]))??b(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(L(e=>rr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(e=>rr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xi(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),o?.data),t._resolvedData)}:n={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},o&&tg(o)&&(n.resolve[eo]=o.title),n}var tr=class{get title(){return this.data?.[eo]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=rr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=rr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},es=class extends Ki{constructor(e,r){super(r),this.url=e,nl(this,r)}toString(){return eg(this._root)}};function nl(t,e){e.value._routerState=t,e.children.forEach(r=>nl(t,r))}function eg(t){let e=t.children.length>0?` { ${t.children.map(eg).join(", ")} } `:"";return`${t.value}${e}`}function _u(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,it(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),it(e.params,r.params)||t.paramsSubject.next(r.params),IE(e.url,r.url)||t.urlSubject.next(r.url),it(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Zu(t,e){let r=it(t.params,e.params)&&TE(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Zu(t.parent,e.parent))}function tg(t){return typeof t.title=="string"||t.title===null}var YE=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=N,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=p(no),this.location=p(jt),this.changeDetector=p(Qn),this.inputBinder=p(is,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Yu(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=pt({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Zn]});let t=e;return t})(),Yu=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===hn?this.route:e===no?this.childContexts:this.parent.get(e,r)}},is=new M(""),Op=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=hr([o.queryParams,o.params,o.data]).pipe(Se(([s,a,c],u)=>(c=D(D(D({},s),a),c),u===0?b(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=ap(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function QE(t,e,r){let n=Qr(t,e._root,r?r._root:void 0);return new Ji(n,e)}function Qr(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=KE(t,e,r);return new Te(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Qr(t,a)),s}}let n=JE(e.value),o=e.children.map(i=>Qr(t,i));return new Te(n,o)}}function KE(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return Qr(t,n,o);return Qr(t,n)})}function JE(t){return new hn(new se(t.url),new se(t.params),new se(t.queryParams),new se(t.fragment),new se(t.data),t.outlet,t.component,t)}var Kr=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},ng="ngNavigationCancelingError";function ts(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=qr(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=rg(!1,_e.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function rg(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[ng]=!0,r.cancellationCode=e,r}function XE(t){return og(t)&&qr(t.url)}function og(t){return!!t&&t[ng]}var eI=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Qd({type:e,selectors:[["ng-component"]],standalone:!0,features:[Qh],decls:1,vars:0,template:function(o,i){o&1&&Yc(0,"router-outlet")},dependencies:[YE],encapsulation:2});let t=e;return t})();function tI(t,e){return t.providers&&!t._injector&&(t._injector=xi(t.providers,e,`Route: ${t.path}`)),t._injector??e}function rl(t){let e=t.children&&t.children.map(rl),r=e?Q(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==N&&(r.component=eI),r}function Ue(t){return t.outlet||N}function nI(t,e){let r=t.filter(n=>Ue(n)===e);return r.push(...t.filter(n=>Ue(n)!==e)),r}function ro(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var rI=(t,e,r,n)=>L(o=>(new Qu(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Qu=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),_u(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Xn(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Xn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Xn(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=Xn(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new zu(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Uu(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(_u(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),_u(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=ro(o.snapshot);s.attachRef=null,s.route=o,s.injector=a??s.injector,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},ns=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},nr=class{constructor(e,r){this.component=e,this.route=r}};function oI(t,e,r){let n=t._root,o=e?e._root:null;return Br(n,o,r,[n.value])}function iI(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function cr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Ld(t)?t:e.get(t):n}function Br(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Xn(e);return t.children.forEach(s=>{sI(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Gr(a,r.getContext(s),o)),o}function sI(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=aI(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ns(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Br(t,e,a?a.children:null,n,o):Br(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new nr(a.outlet.component,s))}else s&&Gr(e,a,o),o.canActivateChecks.push(new ns(n)),i.component?Br(t,null,a?a.children:null,n,o):Br(t,null,r,n,o);return o}function aI(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!fn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!fn(t.url,e.url)||!it(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zu(t,e)||!it(t.queryParams,e.queryParams);case"paramsChange":default:return!Zu(t,e)}}function Gr(t,e,r){let n=Xn(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Gr(s,e.children.getContext(i),r):Gr(s,null,r):Gr(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new nr(e.outlet.component,o)):r.canDeactivateChecks.push(new nr(null,o)):r.canDeactivateChecks.push(new nr(null,o))}function oo(t){return typeof t=="function"}function cI(t){return typeof t=="boolean"}function uI(t){return t&&oo(t.canLoad)}function lI(t){return t&&oo(t.canActivate)}function dI(t){return t&&oo(t.canActivateChild)}function fI(t){return t&&oo(t.canDeactivate)}function hI(t){return t&&oo(t.canMatch)}function ig(t){return t instanceof lt||t?.name==="EmptyError"}var Ui=Symbol("INITIAL_VALUE");function ar(){return Se(t=>hr(t.map(e=>e.pipe(dt(1),Ws(Ui)))).pipe(L(e=>{for(let r of e)if(r!==!0){if(r===Ui)return Ui;if(r===!1||pI(r))return r}return!0}),Ne(e=>e!==Ui),dt(1)))}function pI(t){return qr(t)||t instanceof Kr}function gI(t,e){return ne(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?b(Q(D({},r),{guardsResult:!0})):mI(s,n,o,t).pipe(ne(a=>a&&cI(a)?vI(n,i,t,e):b(a)),L(a=>Q(D({},r),{guardsResult:a})))})}function mI(t,e,r,n){return K(t).pipe(ne(o=>EI(o.component,o.route,r,e,n)),We(o=>o!==!0,!0))}function vI(t,e,r,n){return K(e).pipe(Yt(o=>Mn(DI(o.route.parent,n),yI(o.route,n),CI(t,o.path,r),wI(t,o.route,r))),We(o=>o!==!0,!0))}function yI(t,e){return t!==null&&e&&e(new Hu(t)),b(!0)}function DI(t,e){return t!==null&&e&&e(new Bu(t)),b(!0)}function wI(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return b(!0);let o=n.map(i=>wo(()=>{let s=ro(e)??r,a=cr(i,s),c=lI(a)?a.canActivate(e,t):$e(s,()=>a(e,t));return Bt(c).pipe(We())}));return b(o).pipe(ar())}function CI(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>iI(s)).filter(s=>s!==null).map(s=>wo(()=>{let a=s.guards.map(c=>{let u=ro(s.node)??r,l=cr(c,u),d=dI(l)?l.canActivateChild(n,t):$e(u,()=>l(n,t));return Bt(d).pipe(We())});return b(a).pipe(ar())}));return b(i).pipe(ar())}function EI(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return b(!0);let s=i.map(a=>{let c=ro(e)??o,u=cr(a,c),l=fI(u)?u.canDeactivate(t,e,r,n):$e(c,()=>u(t,e,r,n));return Bt(l).pipe(We())});return b(s).pipe(ar())}function II(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return b(!0);let i=o.map(s=>{let a=cr(s,t),c=uI(a)?a.canLoad(e,r):$e(t,()=>a(e,r));return Bt(c)});return b(i).pipe(ar(),sg(n))}function sg(t){return ps(ae(e=>{if(typeof e!="boolean")throw ts(t,e)}),L(e=>e===!0))}function bI(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return b(!0);let i=o.map(s=>{let a=cr(s,t),c=hI(a)?a.canMatch(e,r):$e(t,()=>a(e,r));return Bt(c)});return b(i).pipe(ar(),sg(n))}var Jr=class{constructor(e){this.segmentGroup=e||null}},Xr=class extends Error{constructor(e){super(),this.urlTree=e}};function Jn(t){return En(new Jr(t))}function MI(t){return En(new w(4e3,!1))}function SI(t){return En(rg(!1,_e.GuardRejected))}var Ku=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return b(n);if(o.numberOfChildren>1||!o.children[N])return MI(`${e.redirectTo}`);o=o.children[N]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:m,title:P}=o,j=$e(i,()=>a({params:h,data:m,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:P}));if(j instanceof $t)throw new Xr(j);r=j}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Xr(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new $t(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new z(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Ju={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function TI(t,e,r,n,o){let i=ol(t,e,r);return i.matched?(n=tI(e,n),bI(n,e,r,o).pipe(L(s=>s===!0?i:D({},Ju)))):b(i)}function ol(t,e,r){if(e.path==="**")return _I(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},Ju):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||EE)(r,t,e);if(!o)return D({},Ju);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function _I(t){return{matched:!0,parameters:t.length>0?Vp(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Pp(t,e,r,n){return r.length>0&&AI(t,r,n)?{segmentGroup:new z(e,NI(n,new z(r,t.children))),slicedSegments:[]}:r.length===0&&RI(t,r,n)?{segmentGroup:new z(t.segments,xI(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new z(t.segments,t.children),slicedSegments:r}}function xI(t,e,r,n){let o={};for(let i of r)if(ss(t,e,i)&&!n[Ue(i)]){let s=new z([],{});o[Ue(i)]=s}return D(D({},n),o)}function NI(t,e){let r={};r[N]=e;for(let n of t)if(n.path===""&&Ue(n)!==N){let o=new z([],{});r[Ue(n)]=o}return r}function AI(t,e,r){return r.some(n=>ss(t,e,n)&&Ue(n)!==N)}function RI(t,e,r){return r.some(n=>ss(t,e,n))}function ss(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function OI(t,e,r,n){return Ue(t)!==n&&(n===N||!ss(e,r,t))?!1:ol(e,t,r).matched}function PI(t,e,r){return e.length===0&&!t.children[r]}var Xu=class{};function kI(t,e,r,n,o,i,s="emptyOnly"){return new el(t,e,r,n,o,s,i).recognize()}var FI=31,el=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ku(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=Pp(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(L(({children:r,rootSnapshot:n})=>{let o=new Te(n,r),i=new es("",o),s=BE(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new tr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),N,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,N,r).pipe(L(n=>({children:n,rootSnapshot:r})),Zt(n=>{if(n instanceof Xr)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Jr?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(L(s=>s instanceof Te?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return K(i).pipe(Yt(s=>{let a=n.children[s],c=nI(r,s);return this.processSegmentGroup(e,c,a,s,o)}),qs((s,a)=>(s.push(...a),s)),St(null),Vs(),ne(s=>{if(s===null)return Jn(n);let a=ag(s);return LI(a),b(a)}))}processSegment(e,r,n,o,i,s,a){return K(r).pipe(Yt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(Zt(u=>{if(u instanceof Jr)return b(null);throw u}))),We(c=>!!c),Zt(c=>{if(ig(c))return PI(n,o,i)?b(new Xu):Jn(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return OI(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Jn(o):Jn(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=ol(r,o,i);if(!c)return Jn(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>FI&&(this.allowRedirects=!1));let h=new tr(i,u,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,kp(o),Ue(o),o.component??o._loadedComponent??null,o,Fp(o)),m=Xi(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(m.params),h.data=Object.freeze(m.data);let P=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(o,P).pipe(ne(j=>this.processSegment(e,n,r,j.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=TI(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Se(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(Se(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,m=new tr(f,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,kp(n),Ue(n),n.component??n._loadedComponent??null,n,Fp(n)),P=Xi(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(P.params),m.data=Object.freeze(P.data);let{segmentGroup:j,slicedSegments:V}=Pp(r,f,h,u);if(V.length===0&&j.hasChildren())return this.processChildren(l,u,j,m).pipe(L(G=>new Te(m,G)));if(u.length===0&&V.length===0)return b(new Te(m,[]));let ue=Ue(n)===i;return this.processSegment(l,u,j,V,ue?N:i,!0,m).pipe(L(G=>new Te(m,G instanceof Te?[G]:[])))}))):Jn(r)))}getChildConfig(e,r,n){return r.children?b({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?b({routes:r._loadedRoutes,injector:r._loadedInjector}):II(e,r,n,this.urlSerializer).pipe(ne(o=>o?this.configLoader.loadChildren(e,r).pipe(ae(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):SI(r))):b({routes:[],injector:e})}};function LI(t){t.sort((e,r)=>e.value.outlet===N?-1:r.value.outlet===N?1:e.value.outlet.localeCompare(r.value.outlet))}function jI(t){let e=t.value.routeConfig;return e&&e.path===""}function ag(t){let e=[],r=new Set;for(let n of t){if(!jI(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=ag(n.children);e.push(new Te(n.value,o))}return e.filter(n=>!r.has(n))}function kp(t){return t.data||{}}function Fp(t){return t.resolve||{}}function $I(t,e,r,n,o,i){return ne(s=>kI(t,e,r,n,s.extractedUrl,o,i).pipe(L(({state:a,tree:c})=>Q(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function VI(t,e){return ne(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return b(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of cg(c))s.add(u);let a=0;return K(s).pipe(Yt(c=>i.has(c)?BI(c,n,t,e):(c.data=Xi(c,c.parent,t).resolve,b(void 0))),ae(()=>a++),Sn(1),ne(c=>a===s.size?b(r):ze))})}function cg(t){let e=t.children.map(r=>cg(r)).flat();return[t,...e]}function BI(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!tg(o)&&(i[eo]=o.title),UI(i,t,e,n).pipe(L(s=>(t._resolvedData=s,t.data=Xi(t,t.parent,r).resolve,null)))}function UI(t,e,r,n){let o=Au(t);if(o.length===0)return b({});let i={};return K(o).pipe(ne(s=>HI(t[s],e,r,n).pipe(We(),ae(a=>{if(a instanceof Kr)throw ts(new or,a);i[s]=a}))),Sn(1),Hs(i),Zt(s=>ig(s)?ze:En(s)))}function HI(t,e,r,n){let o=ro(e)??n,i=cr(t,o),s=i.resolve?i.resolve(e,r):$e(o,()=>i(e,r));return Bt(s)}function xu(t){return Se(e=>{let r=t(e);return r?K(r).pipe(L(()=>e)):b(e)})}var ug=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===N);return o}getResolvedTitleForRoute(n){return n.data[eo]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>p(zI),providedIn:"root"});let t=e;return t})(),zI=(()=>{let e=class e extends ug{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(I(_p))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),io=new M("",{providedIn:"root",factory:()=>({})}),rs=new M(""),il=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(Pi)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return b(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=Bt(n.loadComponent()).pipe(L(lg),ae(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),pr(()=>{this.componentLoaders.delete(n)})),i=new Wt(o,()=>new de).pipe(yn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return b({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=GI(o,this.compiler,n,this.onLoadEndListener).pipe(pr(()=>{this.childrenLoaders.delete(o)})),a=new Wt(s,()=>new de).pipe(yn());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function GI(t,e,r,n){return Bt(t.loadChildren()).pipe(L(lg),ne(o=>o instanceof br||Array.isArray(o)?b(o):K(e.compileModuleAsync(o))),L(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(rs,[],{optional:!0,self:!0}).flat()),{routes:s.map(rl),injector:i}}))}function qI(t){return t&&typeof t=="object"&&"default"in t}function lg(t){return qI(t)?t.default:t}var sl=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>p(WI),providedIn:"root"});let t=e;return t})(),WI=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),dg=new M(""),fg=new M("");function ZI(t,e,r){let n=t.get(fg),o=t.get(ye);return t.get(Z).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),YI(t))),{onViewTransitionCreated:c}=n;return c&&$e(t,()=>c({transition:a,from:e,to:r})),s})}function YI(t){return new Promise(e=>{_i(e,{injector:t})})}var QI=new M(""),al=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new de,this.transitionAbortSubject=new de,this.configLoader=p(il),this.environmentInjector=p(Ie),this.urlSerializer=p(to),this.rootContexts=p(no),this.location=p(Kn),this.inputBindingEnabled=p(is,{optional:!0})!==null,this.titleStrategy=p(ug),this.options=p(io,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(sl),this.createViewTransition=p(dg,{optional:!0}),this.navigationErrorHandler=p(QI,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>b(void 0),this.rootComponentType=null;let n=i=>this.events.next(new $u(i)),o=i=>this.events.next(new Vu(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(Q(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new se({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:zr,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ne(s=>s.id!==0),L(s=>Q(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Se(s=>{let a=!1,c=!1;return b(s).pipe(Se(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",_e.SupersededByNewNavigation),ze;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?Q(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Vt(u.id,this.urlSerializer.serialize(u.rawUrl),f,Zi.IgnoredSameUrlNavigation)),u.resolve(!1),ze}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return b(u).pipe(Se(f=>{let h=this.transitions?.getValue();return this.events.next(new ir(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?ze:Promise.resolve(f)}),$I(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ae(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Q(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Yi(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:m,restoredState:P,extras:j}=u,V=new ir(f,this.urlSerializer.serialize(h),m,P);this.events.next(V);let ue=Xp(this.rootComponentType).snapshot;return this.currentTransition=s=Q(D({},u),{targetSnapshot:ue,urlAfterRedirects:h,extras:Q(D({},j),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,b(s)}else{let f="";return this.events.next(new Vt(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Zi.IgnoredByUrlHandlingStrategy)),u.resolve(!1),ze}}),ae(u=>{let l=new ku(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),L(u=>(this.currentTransition=s=Q(D({},u),{guards:oI(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),gI(this.environmentInjector,u=>this.events.next(u)),ae(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw ts(this.urlSerializer,u.guardsResult);let l=new Fu(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),Ne(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",_e.GuardRejected),!1)),xu(u=>{if(u.guards.canActivateChecks.length)return b(u).pipe(ae(l=>{let d=new Lu(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Se(l=>{let d=!1;return b(l).pipe(VI(this.paramsInheritanceStrategy,this.environmentInjector),ae({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",_e.NoDataFromResolver)}}))}),ae(l=>{let d=new ju(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),xu(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(ae(h=>{d.component=h}),L(()=>{})));for(let h of d.children)f.push(...l(h));return f};return hr(l(u.targetSnapshot.root)).pipe(St(null),dt(1))}),xu(()=>this.afterPreactivation()),Se(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?K(d).pipe(L(()=>s)):b(s)}),L(u=>{let l=QE(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Q(D({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ae(()=>{this.events.next(new Yr)}),rI(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),dt(1),ae({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new st(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Js(this.transitionAbortSubject.pipe(ae(u=>{throw u}))),pr(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",_e.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Zt(u=>{if(c=!0,og(u))this.events.next(new wt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),XE(u)?this.events.next(new sr(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new Zr(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=$e(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Kr){let{message:f,cancellationCode:h}=ts(this.urlSerializer,d);this.events.next(new wt(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new sr(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return ze}))}))}cancelNavigationTransition(n,o,i){let s=new wt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function KI(t){return t!==zr}var JI=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>p(XI),providedIn:"root"});let t=e;return t})(),tl=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},XI=(()=>{let e=class e extends tl{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ic(e)))(i||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hg=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:()=>p(eb),providedIn:"root"});let t=e;return t})(),eb=(()=>{let e=class e extends hg{constructor(){super(...arguments),this.location=p(Kn),this.urlSerializer=p(to),this.options=p(io,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(sl),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new $t,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Xp(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof ir)this.stateMemento=this.createStateMemento();else if(n instanceof Vt)this.rawUrlTree=o.initialUrl;else if(n instanceof Yi){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(i,o)}}else n instanceof Yr?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o))):n instanceof wt&&(n.code===_e.GuardRejected||n.code===_e.NoDataFromResolver)?this.restoreHistory(o):n instanceof Zr?this.restoreHistory(o,!0):n instanceof st&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=D(D({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=D(D({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Ic(e)))(i||e)}})(),e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ur=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ur||{});function pg(t,e){t.events.pipe(Ne(r=>r instanceof st||r instanceof wt||r instanceof Zr||r instanceof Vt),L(r=>r instanceof st||r instanceof Vt?Ur.COMPLETE:(r instanceof wt?r.code===_e.Redirect||r.code===_e.SupersededByNewNavigation:!1)?Ur.REDIRECTING:Ur.FAILED),Ne(r=>r!==Ur.REDIRECTING),dt(1)).subscribe(()=>{e()})}function tb(t){throw t}var nb={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},rb={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},at=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(Ni),this.stateManager=p(hg),this.options=p(io,{optional:!0})||{},this.pendingTasks=p(Pr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(al),this.urlSerializer=p(to),this.location=p(Kn),this.urlHandlingStrategy=p(sl),this._events=new de,this.errorHandler=this.options.errorHandler||tb,this.navigated=!1,this.routeReuseStrategy=p(JI),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(rs,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(is,{optional:!0}),this.eventsSubscription=new U,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof wt&&o.code!==_e.Redirect&&o.code!==_e.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof st)this.navigated=!0;else if(o instanceof sr){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=D({info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||KI(i.source)},a);this.scheduleNavigation(c,zr,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}ib(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),zr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=D({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rl),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=Yp(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return Qp(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=qr(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,zr,null,o)}navigate(n,o={skipLocationChange:!1}){return ob(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=D({},nb):o===!1?i=D({},rb):i=o,qr(n))return xp(this.currentUrlTree,n,i);let s=this.parseUrl(n);return xp(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return pg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ob(t){for(let e=0;e{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new de,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof st&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:ch(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(J(at),J(hn),bc("tabindex"),J(Ti),J(Nr),J(Dt))},e.\u0275dir=pt({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&Qc("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Zc("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Fr],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Fr],replaceUrl:[2,"replaceUrl","replaceUrl",Fr],routerLink:"routerLink"},standalone:!0,features:[qc,Zn]});let t=e;return t})();var os=class{};var sb=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ne(n=>n instanceof st),Yt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=xi(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return K(i).pipe(bn())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=b(null);let s=i.pipe(ne(a=>a===null?b(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return K([s,a]).pipe(bn())}else return s})}};e.\u0275fac=function(o){return new(o||e)(I(at),I(Pi),I(Ie),I(os),I(il))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),gg=new M(""),ab=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=p(Ie),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ir?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof st?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Vt&&n.code===Zi.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Qi&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>wl(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),_i(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Qi(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){wh()},e.\u0275prov=C({token:e,factory:e.\u0275fac});let t=e;return t})();function cb(t){return t.routerState.root}function so(t,e){return{\u0275kind:t,\u0275providers:e}}function ub(){let t=p(Oe);return e=>{let r=t.get(un);if(e!==r.components[0])return;let n=t.get(at),o=t.get(mg);t.get(cl)===1&&n.initialNavigation(),t.get(vg,null,R.Optional)?.setUpPreloading(),t.get(gg,null,R.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var mg=new M("",{factory:()=>new de}),cl=new M("",{providedIn:"root",factory:()=>1});function lb(){return so(2,[{provide:cl,useValue:0},{provide:Oi,multi:!0,deps:[Oe],useFactory:e=>{let r=e.get(pp,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(at),i=e.get(mg);pg(o,()=>{n(!0)}),e.get(al).afterPreactivation=()=>(n(!0),i.closed?b(void 0):i),o.initialNavigation()}))}}])}function db(){return so(3,[{provide:Oi,multi:!0,useFactory:()=>{let e=p(at);return()=>{e.setUpLocationChangeListener()}}},{provide:cl,useValue:2}])}var vg=new M("");function fb(t){return so(0,[{provide:vg,useExisting:sb},{provide:os,useExisting:t}])}function hb(){return so(8,[Op,{provide:is,useExisting:Op}])}function pb(t){let e=[{provide:dg,useValue:ZI},{provide:fg,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return so(9,e)}var Lp=new M("ROUTER_FORROOT_GUARD"),gb=[Kn,{provide:to,useClass:or},at,no,{provide:hn,useFactory:cb,deps:[at]},il,[]],aN=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[gb,[],{provide:rs,multi:!0,useValue:n},{provide:Lp,useFactory:Db,deps:[[at,new ai,new lc]]},{provide:io,useValue:o||{}},o?.useHash?vb():yb(),mb(),o?.preloadingStrategy?fb(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?wb(o):[],o?.bindToComponentInputs?hb().\u0275providers:[],o?.enableViewTransitions?pb().\u0275providers:[],Cb()]}}static forChild(n){return{ngModule:e,providers:[{provide:rs,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(I(Lp,8))},e.\u0275mod=an({type:e}),e.\u0275inj=sn({});let t=e;return t})();function mb(){return{provide:gg,useFactory:()=>{let t=p(wp),e=p(Z),r=p(io),n=p(al),o=p(to);return r.scrollOffset&&t.setOffset(r.scrollOffset),new ab(o,n,t,e,r)}}}function vb(){return{provide:Dt,useClass:mp}}function yb(){return{provide:Dt,useClass:gu}}function Db(t){return"guarded"}function wb(t){return[t.initialNavigation==="disabled"?db().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lb().\u0275providers:[]]}var jp=new M("");function Cb(){return[{provide:jp,useFactory:ub},{provide:nu,multi:!0,useExisting:jp}]}var hl=Dl(yg()),Cg=Dl(Dg());hl.default.extend(Cg.default);var Ib=()=>{},wg=window.gtag||Ib,bb="@bigbear713/nb-common",Mb=window.website_ga_id,Sb=window.libs_ga_id,uN=(()=>{let e=class e{constructor(n){this.router=n}trackPage(n){this.trackEvent("View_Page",n)}trackButton(n){this.trackEvent("Click_Button",n)}trackLink(n){this.trackEvent("Visit_Link",n)}trackEvent(n,o){let i=D({send_to:Mb,datetime:(0,hl.default)().utc().format(),url:this.router.url,language:"en"},o),s=Q(D({},i),{send_to:Sb,website_id:bb});wg("event",n,i),wg("event",n,s)}};e.\u0275fac=function(o){return new(o||e)(I(at))},e.\u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();export{D as a,Q as b,F as c,de as d,se as e,L as f,K as g,Bg as h,Js as i,kd as j,C as k,sn as l,M as m,Qd as n,an as o,pt as p,hc as q,Zn as r,R_ as s,O_ as t,Ic as u,Nr as v,ge as w,sy as x,P_ as y,J as z,Or as A,Ti as B,uw as C,Iw as D,kw as E,Fw as F,Hh as G,zh as H,Yc as I,Gh as J,qh as K,Qw as L,j_ as M,Jw as N,Qc as O,$_ as P,V_ as Q,B_ as R,iC as S,Zh as T,sC as U,aC as V,cC as W,U_ as X,uC as Y,H_ as Z,Qh as _,z_ as $,G_ as aa,q_ as ba,W_ as ca,Z_ as da,Y_ as ea,Yn as fa,Qn as ga,Fr as ha,ln as ia,Dx as ja,yp as ka,wx as la,Cx as ma,Ex as na,Ix as oa,bx as pa,Dp as qa,jx as ra,$x as sa,DE as ta,YE as ua,sN as va,aN as wa,uN as xa}; diff --git a/docs/chunk-IMEBYVUJ.js b/docs/chunk-IMEBYVUJ.js new file mode 100644 index 0000000..3a4c4ae --- /dev/null +++ b/docs/chunk-IMEBYVUJ.js @@ -0,0 +1,19 @@ +import{c as A,g as b}from"./chunk-XBOPDDRK.js";import{E,G as t,H as i,I as u,R as e,T as a,l as d,n as c,o as p,qa as F,wa as h,x as s,xa as x,y as m,z as I}from"./chunk-7XPSJXHN.js";var v=(()=>{let n=class n{constructor(o){this.gtagService=o,this.bigImg="https://pic2.zhimg.com/v2-77be54b348b0168f3562f51404451aeb_r.jpg",this.loadingImg="./assets/loading.svg",this.errImg="./assets/picture.svg",this.gtagService.trackPage({page_name:"img Director"})}ngOnInit(){}};n.\u0275fac=function(l){return new(l||n)(I(x))},n.\u0275cmp=c({type:n,selectors:[["app-img-demo"]],decls:68,vars:12,consts:[["alt","\u53EA\u8BBE\u7F6EnbImg",3,"nbImg"],["alt","\u81EA\u5B9A\u4E49loading\u56FE\u7247",3,"nbImg","loadingImg"],["nbImg","invalidImg","alt","\u5931\u8D25\u65F6\u663E\u793A\u9ED8\u8BA4\u56FE\u7247"],["nbImg","invalidImg","alt","\u5931\u8D25\u65F6\u663E\u793A\u81EA\u5B9A\u4E49\u56FE\u7247",3,"errImg"],["nbImg","","alt","\u4ECD\u663E\u793Asrc\u5185\u5BB9",3,"src"],["src","invalidImg","nbImg","","alt","\u663E\u793A\u81EA\u5B9A\u4E49\u56FE\u7247",3,"errImg"]],template:function(l,g){l&1&&(t(0,"h2"),e(1,"\u9002\u7528\u4E8E\u52A0\u8F7D\u5927\u56FE\u7247\u7684\u573A\u666F\uFF0C\u52A0\u8F7D\u8FC7\u7A0B\u4E2D\u4F1A\u6709loading\u6548\u679C"),i(),t(2,"h4"),e(3,'\u53EA\u8BBE\u7F6E"nbImg"'),i(),u(4,"img",0),t(5,"h5"),e(6,"\u4EE3\u7801"),i(),t(7,"pre"),e(8," "),t(9,"code"),e(10),i(),e(11,` + `),i(),u(12,"hr"),t(13,"h4"),e(14,"\u81EA\u5B9A\u4E49loading\u56FE\u7247"),i(),u(15,"img",1),t(16,"h5"),e(17,"\u4EE3\u7801"),i(),t(18,"pre"),e(19," "),t(20,"code"),e(21),i(),e(22,` + `),i(),u(23,"hr"),t(24,"h4"),e(25,"\u56FE\u7247\u52A0\u8F7D\u5931\u8D25, \u663E\u793A\u9ED8\u8BA4\u56FE\u7247"),i(),u(26,"img",2),t(27,"h5"),e(28,"\u4EE3\u7801"),i(),t(29,"pre"),e(30," "),t(31,"code"),e(32),i(),e(33,` + `),i(),u(34,"hr"),t(35,"h4"),e(36,"\u56FE\u7247\u52A0\u8F7D\u5931\u8D25, \u663E\u793A\u81EA\u5B9A\u4E49\u56FE\u7247"),i(),u(37,"img",3),t(38,"h5"),e(39,"\u4EE3\u7801"),i(),t(40,"pre"),e(41," "),t(42,"code"),e(43),i(),e(44,` + `),i(),u(45,"hr"),t(46,"h4"),e(47,"\u5F53\u8BBE\u7F6E\u4E86src\uFF0C\u4E14nbImg\u6CA1\u6709\u8BBE\u7F6E\u503C\u65F6\uFF0C\u4ECD\u663E\u793Asrc\u7684\u5185\u5BB9"),i(),u(48,"img",4),t(49,"h5"),e(50,"\u4EE3\u7801"),i(),t(51,"pre"),e(52," "),t(53,"code"),e(54),i(),e(55,` + `),i(),u(56,"hr"),t(57,"h4"),e(58,"\u5F53\u8BBE\u7F6E\u4E86\u65E0\u6548\u7684src\uFF0C\u4E14nbImg\u6CA1\u6709\u8BBE\u7F6E\u503C\u65F6\uFF0C\u663E\u793A\u81EA\u5B9A\u4E49\u56FE\u7247"),i(),u(59,"img",5),t(60,"h5"),e(61,"\u4EE3\u7801"),i(),t(62,"pre"),e(63," "),t(64,"code"),e(65),i(),e(66,` + `),i(),u(67,"hr")),l&2&&(m(4),E("nbImg",g.bigImg),m(6),a(` + `,'',` + `),m(5),E("nbImg",g.bigImg)("loadingImg",g.loadingImg),m(6),a(` + `,'',` + `),m(11),a(` + `,'',` + `),m(5),E("errImg",g.errImg),m(6),a(` + `,'',` + `),m(5),E("src",g.bigImg,s),m(6),a(` + `,'',` + `),m(5),E("errImg",g.errImg),m(6),a(` + `,'',` + `))},dependencies:[A],styles:["img[_ngcontent-%COMP%]{width:50px;height:50%}"],changeDetection:0});let r=n;return r})();var B=[{path:"",component:v}],w=(()=>{let n=class n{};n.\u0275fac=function(l){return new(l||n)},n.\u0275mod=p({type:n}),n.\u0275inj=d({imports:[F,b,h.forChild(B)]});let r=n;return r})();export{w as ImgDemoModule}; diff --git a/docs/chunk-IPVWXAJH.js b/docs/chunk-IPVWXAJH.js new file mode 100644 index 0000000..435e40f --- /dev/null +++ b/docs/chunk-IPVWXAJH.js @@ -0,0 +1,10 @@ +import{d as x,g as C}from"./chunk-XBOPDDRK.js";import{E as F,G as n,H as i,I as u,O as g,R as t,T as c,V as v,e as p,l as d,n as h,o as s,qa as E,wa as S,xa as b,y as a,z as f}from"./chunk-7XPSJXHN.js";var B=(()=>{let e=class e{constructor(o){this.gtagService=o,this.placeholder$=new p("\u8FD9\u662Fplaceholder"),this.gtagService.trackPage({page_name:"placeholderStr Director"})}ngOnInit(){}changeObservableContent(){let o=this.placeholder$.value==="\u8FD9\u662Fplaceholder"?"This is placeholder":"\u8FD9\u662Fplaceholder";this.placeholder$.next(o),this.gtagService.trackButton({button_name:"\u66F4\u6539\u89C2\u5BDF\u8005\u5BF9\u8C61\u7684\u5185\u5BB9",page_name:"placeholderStr Director"})}};e.\u0275fac=function(l){return new(l||e)(f(b))},e.\u0275cmp=h({type:e,selectors:[["app-placeholder-str-demo"]],decls:26,vars:7,consts:[["nbPlaceholder","\u8FD9\u662Fplaceholder"],[3,"click"],[3,"nbPlaceholder"]],template:function(l,m){l&1&&(n(0,"h2"),t(1,"\u9002\u7528\u4E8Eplaceholder\u7684\u503C\u4F1A\u6539\u53D8\uFF0C\u53C8\u4E0D\u60F3\u5237\u65B0\u7684\u573A\u666F\u7684\u573A\u666F"),i(),n(2,"h4"),t(3,"\u5F53\u5185\u5BB9\u662F\u5B57\u7B26\u4E32\u65F6\uFF0C\u6B63\u5E38\u663E\u793A"),i(),u(4,"input",0),n(5,"h5"),t(6,"\u4EE3\u7801"),i(),n(7,"pre"),t(8," "),n(9,"code"),t(10),i(),t(11,` + `),i(),u(12,"hr"),n(13,"h4"),t(14),i(),n(15,"button",1),g("click",function(){return m.changeObservableContent()}),t(16,"\u66F4\u6539\u89C2\u5BDF\u8005\u5BF9\u8C61\u7684\u5185\u5BB9"),i(),u(17,"input",2),n(18,"h5"),t(19,"\u4EE3\u7801"),i(),n(20,"pre"),t(21," "),n(22,"code"),t(23),i(),t(24,` + `),i(),u(25,"hr")),l&2&&(a(10),c(` + `,'',` + `),a(4),c("\u5F53\u5185\u5BB9\u662FObservable","",""),a(3),F("nbPlaceholder",m.placeholder$),a(6),v(` + `,"//ts",` + `,"placeholder$ = new BehaviorSubject('\u8FD9\u662Fplaceholder');",` + `,"//html",` + `,'',` + `))},dependencies:[x],changeDetection:0});let r=e;return r})();var y=[{path:"",component:B}],O=(()=>{let e=class e{};e.\u0275fac=function(l){return new(l||e)},e.\u0275mod=s({type:e}),e.\u0275inj=d({imports:[E,C,S.forChild(y)]});let r=e;return r})();export{O as PlaceholderStrDemoModule}; diff --git a/docs/chunk-LAFI4JE3.js b/docs/chunk-LAFI4JE3.js new file mode 100644 index 0000000..f91d2c2 --- /dev/null +++ b/docs/chunk-LAFI4JE3.js @@ -0,0 +1,16 @@ +import{a as B,g as F}from"./chunk-XBOPDDRK.js";import{E as c,G as t,H as n,I as m,O as E,R as e,T as u,V as p,e as d,l as b,n as h,o as v,qa as f,wa as x,xa as S,y as r,z as g}from"./chunk-7XPSJXHN.js";var D=(()=>{let i=class i{constructor(a){this.gtagService=a,this.observableDemo$=new d("1"),this.promiseDemo=Promise.resolve("1"),this.gtagService.trackPage({page_name:"r-str component"})}ngOnInit(){}changeObservableContent(){let a=Number(this.observableDemo$.value)+1;this.observableDemo$.next(a.toString()),this.gtagService.trackButton({button_name:"\u66F4\u6539\u89C2\u5BDF\u8005\u5BF9\u8C61\u7684\u5185\u5BB9",page_name:"r-str component"})}};i.\u0275fac=function(s){return new(s||i)(g(S))},i.\u0275cmp=h({type:i,selectors:[["app-r-str-demo"]],decls:37,vars:14,consts:[["nb-r-str","string content"],[3,"click"],[3,"nb-r-str"]],template:function(s,l){s&1&&(t(0,"h2"),e(1),n(),t(2,"h4"),e(3,"\u5F53\u5185\u5BB9\u662F\u5B57\u7B26\u4E32\u65F6\uFF0C\u6B63\u5E38\u663E\u793A"),n(),m(4,"span",0),t(5,"h5"),e(6,"\u4EE3\u7801"),n(),t(7,"pre"),e(8," "),t(9,"code"),e(10),n(),e(11,` +`),n(),m(12,"hr"),t(13,"h4"),e(14),n(),t(15,"button",1),E("click",function(){return l.changeObservableContent()}),e(16,"\u66F4\u6539\u89C2\u5BDF\u8005\u5BF9\u8C61\u7684\u5185\u5BB9"),n(),m(17,"span",2),t(18,"h5"),e(19,"\u4EE3\u7801"),n(),t(20,"pre"),e(21," "),t(22,"code"),e(23),n(),e(24,` +`),n(),m(25,"hr"),t(26,"h4"),e(27),n(),m(28,"span",2),t(29,"h5"),e(30,"\u4EE3\u7801"),n(),t(31,"pre"),e(32," "),t(33,"code"),e(34),n(),e(35,` +`),n(),m(36,"hr")),s&2&&(r(),u("\u9002\u7528\u4E8E\u8981\u663E\u793A\u7684\u5185\u5BB9\u662F\u5B57\u7B26\u4E32\u6216\u8005\u662FObservable","","\u7684\u573A\u666F"),r(9),u(` + `,'',` + `),r(4),u("\u5F53\u5185\u5BB9\u662FObservable","",""),r(3),c("nb-r-str",l.observableDemo$),r(6),p(` + `,"//ts",` + `,"observableDemo$ = new BehaviorSubject('1');",` + `,"//html",` + `,'',` + `),r(4),u("\u5F53\u5185\u5BB9\u662FPromise","",""),r(),c("nb-r-str",l.promiseDemo),r(6),p(` + `,"//ts",` + `,"promiseDemo = Promise.resolve('1');",` + `,"//html",` + `,'',` + `))},dependencies:[B],changeDetection:0});let o=i;return o})();var I=[{path:"",component:D}],A=(()=>{let i=class i{};i.\u0275fac=function(s){return new(s||i)},i.\u0275mod=v({type:i}),i.\u0275inj=b({imports:[f,F,x.forChild(I)]});let o=i;return o})();export{A as RStrDemoModule}; diff --git a/docs/chunk-QHRJW7WK.js b/docs/chunk-QHRJW7WK.js new file mode 100644 index 0000000..023a1c4 --- /dev/null +++ b/docs/chunk-QHRJW7WK.js @@ -0,0 +1,40 @@ +import{f as ye}from"./chunk-XBOPDDRK.js";import{$ as he,B as L,C as y,F as de,G as a,H as l,I as W,O as m,R as o,S as I,T as S,W as $,X as q,Y as z,Z as O,_ as ce,a as h,aa as x,b as f,ca as Z,d as re,da as fe,f as se,fa as pe,g as oe,ga as ge,h as ae,ha as me,ia as X,j as F,l as B,m as v,n as le,o as U,p as g,r as ue,u as R,v as H,w,xa as ve,y as p,z as d}from"./chunk-7XPSJXHN.js";var Ee=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(d(L),d(H))},e.\u0275dir=g({type:e});let t=e;return t})(),Fe=(()=>{let e=class e extends Ee{};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=R(e)))(s||e)}})(),e.\u0275dir=g({type:e,features:[y]});let t=e;return t})(),ee=new v("");var Re={provide:ee,useExisting:F(()=>G),multi:!0};function He(){let t=X()?X().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Le=new v(""),G=(()=>{let e=class e extends Ee{constructor(n,r,s){super(n,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!He())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(d(L),d(H),d(Le,8))},e.\u0275dir=g({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,s){r&1&&m("input",function(u){return s._handleInput(u.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(u){return s._compositionEnd(u.target.value)})},features:[O([Re]),y]});let t=e;return t})();var We=new v(""),$e=new v("");function we(t){return t!=null}function Ie(t){return pe(t)?oe(t):t}function Se(t){let e={};return t.forEach(i=>{e=i!=null?h(h({},e),i):e}),Object.keys(e).length===0?null:e}function Oe(t,e){return e.map(i=>i(t))}function qe(t){return!t.validate}function xe(t){return t.map(e=>qe(e)?e:i=>e.validate(i))}function ze(t){if(!t)return null;let e=t.filter(we);return e.length==0?null:function(i){return Se(Oe(i,e))}}function Ne(t){return t!=null?ze(xe(t)):null}function Ze(t){if(!t)return null;let e=t.filter(we);return e.length==0?null:function(i){let n=Oe(i,e).map(Ie);return ae(n).pipe(se(Se))}}function Pe(t){return t!=null?Ze(xe(t)):null}function _e(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Xe(t){return t._rawValidators}function Ye(t){return t._rawAsyncValidators}function Y(t){return t?Array.isArray(t)?t:[t]:[]}function P(t,e){return Array.isArray(t)?t.includes(e):t===e}function Ce(t,e){let i=Y(e);return Y(t).forEach(r=>{P(i,r)||i.push(r)}),i}function Ve(t,e){return Y(e).filter(i=>!P(t,i))}var k=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Ne(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Pe(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},K=class extends k{get formDirective(){return null}get path(){return null}},E=class extends k{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},J=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Ke={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Ut=f(h({},Ke),{"[class.ng-submitted]":"isSubmitted"}),ke=(()=>{let e=class e extends J{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(d(E,2))},e.\u0275dir=g({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&de("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[y]});let t=e;return t})();var D="VALID",N="INVALID",_="PENDING",b="DISABLED",V=class{},T=class extends V{constructor(e,i){super(),this.value=e,this.source=i}},A=class extends V{constructor(e,i){super(),this.pristine=e,this.source=i}},M=class extends V{constructor(e,i){super(),this.touched=e,this.source=i}},C=class extends V{constructor(e,i){super(),this.status=e,this.source=i}};function Je(t){return(j(t)?t.validators:t)||null}function Qe(t){return Array.isArray(t)?Ne(t):t||null}function et(t,e){return(j(e)?e.asyncValidators:t)||null}function tt(t){return Array.isArray(t)?Pe(t):t||null}function j(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}var Q=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new re,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===D}get invalid(){return this.status===N}get pending(){return this.status==_}get disabled(){return this.status===b}get enabled(){return this.status!==b}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Ce(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Ce(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ve(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ve(e,this._rawAsyncValidators))}hasValidator(e){return P(this._rawValidators,e)}hasAsyncValidator(e){return P(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let i=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(f(h({},e),{sourceControl:n})),i&&e.emitEvent!==!1&&this._events.next(new M(!0,n))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(i=>i.markAllAsTouched(e))}markAsUntouched(e={}){let i=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),i&&e.emitEvent!==!1&&this._events.next(new M(!1,n))}markAsDirty(e={}){let i=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(f(h({},e),{sourceControl:n})),i&&e.emitEvent!==!1&&this._events.next(new A(!1,n))}markAsPristine(e={}){let i=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),i&&e.emitEvent!==!1&&this._events.next(new A(!0,n))}markAsPending(e={}){this.status=_;let i=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new C(this.status,i)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(f(h({},e),{sourceControl:i}))}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=b,this.errors=null,this._forEachChild(r=>{r.disable(f(h({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new T(this.value,n)),this._events.next(new C(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(f(h({},e),{skipPristineCheck:i}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=D,this._forEachChild(n=>{n.enable(f(h({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(f(h({},e),{skipPristineCheck:i}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,i){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},i),this._parent._updateTouched({},i))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===D||this.status===_)&&this._runAsyncValidator(n,e.emitEvent)}let i=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new T(this.value,i)),this._events.next(new C(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(f(h({},e),{sourceControl:i}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?b:D}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,i){if(this.asyncValidator){this.status=_,this._hasOwnPendingAsyncValidator={emitEvent:i!==!1};let n=Ie(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:i,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1,this,i.shouldHaveEmitted)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,i,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new C(this.status,i)),this._parent&&this._parent._updateControlsErrors(e,i,n)}_initObservables(){this.valueChanges=new w,this.statusChanges=new w}_calculateStatus(){return this._allControlsDisabled()?b:this.errors?N:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_)?_:this._anyControlsHaveStatus(N)?N:D}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,i){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,i),r&&this._events.next(new A(this.pristine,i))}_updateTouched(e={},i){this.touched=this._anyControlsTouched(),this._events.next(new M(this.touched,i)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,i)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){j(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Qe(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=tt(this._rawAsyncValidators)}};var Te=new v("CallSetDisabledState",{providedIn:"root",factory:()=>te}),te="always";function it(t,e){return[...e.path,t]}function nt(t,e,i=te){st(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),ot(t,e),lt(t,e),at(t,e),rt(t,e)}function De(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function rt(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function st(t,e){let i=Xe(t);e.validator!==null?t.setValidators(_e(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=Ye(t);e.asyncValidator!==null?t.setAsyncValidators(_e(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();De(e._rawValidators,r),De(e._rawAsyncValidators,r)}function ot(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Ge(t,e)})}function at(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Ge(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Ge(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lt(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function ut(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function dt(t){return Object.getPrototypeOf(t.constructor)===Fe}function ct(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(s=>{s.constructor===G?i=s:dt(s)?n=s:r=s}),r||n||i||null}function be(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function Ae(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ht=class extends Q{constructor(e=null,i,n){super(Je(i),et(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),j(i)&&(i.nonNullable||i.initialValueIsDefault)&&(Ae(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){be(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){be(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){Ae(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ft={provide:E,useExisting:F(()=>ie)},Me=Promise.resolve(),ie=(()=>{let e=class e extends E{constructor(n,r,s,c,u,Be){super(),this._changeDetectorRef=u,this.callSetDisabledState=Be,this.control=new ht,this._registered=!1,this.name="",this.update=new w,this._parent=n,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=ct(this,c)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){let r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),ut(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){nt(this.control,this,this.callSetDisabledState),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()&&this.name}_updateValue(n){Me.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){let r=n.isDisabled.currentValue,s=r!==0&&me(r);Me.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?it(n,this._parent):[n]}};e.\u0275fac=function(r){return new(r||e)(d(K,9),d(We,10),d($e,10),d(ee,10),d(ge,8),d(Te,8))},e.\u0275dir=g({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[O([ft]),y,ue]});let t=e;return t})();var pt={provide:ee,useExisting:F(()=>ne),multi:!0},ne=(()=>{let e=class e extends Fe{writeValue(n){let r=n??"";this.setProperty("value",r)}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}};e.\u0275fac=(()=>{let n;return function(s){return(n||(n=R(e)))(s||e)}})(),e.\u0275dir=g({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,s){r&1&&m("input",function(u){return s.onChange(u.target.value)})("blur",function(){return s.onTouched()})},features:[O([pt]),y]});let t=e;return t})();var gt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=U({type:e}),e.\u0275inj=B({});let t=e;return t})();var je=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Te,useValue:n.callSetDisabledState??te}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=U({type:e}),e.\u0275inj=B({imports:[gt]});let t=e;return t})();var vt=(t,e)=>[t,e],yt=(()=>{let e=class e{constructor(n){this.gtagService=n,this.val1=0,this.val2=0,this.valArr=[],this.code1=` + // template + {{sum|nbCallFn:[val1,val2]}} + // ts + sum(valArr: number[]) { + return valArr.reduce((result, cur) => { + result += cur; + return result; + }, 0); + } + `,this.code2=` + // template + {{sum|nbCallFn:valArr}} + // ts + sum(valArr: number[]) { + return valArr.reduce((result, cur) => { + result += cur; + return result; + }, 0); + } + updateValArr() { + this.valArr = [...this.valArr]; + } + `,this.code3=` + // template + {{multiplyBy|nbCallFn:val1:val2}} + // ts + multiplyBy(val1: number, val2: number) { + return val1 * val2; + } + `,this.gtagService.trackPage({page_name:"callFn Pipe"})}ngOnInit(){}sum(n){return n.reduce((r,s)=>(r+=s,r),0)}multiplyBy(n,r){return n*r}onValueChange(n,r){this.valArr[r]=n}updateValArr(){this.valArr=[...this.valArr]}};e.\u0275fac=function(r){return new(r||e)(d(ve))},e.\u0275cmp=le({type:e,selectors:[["app-call-fn-demo"]],standalone:!0,features:[ce],decls:46,vars:21,consts:[["type","number",3,"ngModelChange","ngModel"],[3,"click"]],template:function(r,s){r&1&&(a(0,"label"),o(1,"val1:"),a(2,"input",0),z("ngModelChange",function(u){return q(s.val1,u)||(s.val1=u),u}),m("ngModelChange",function(){return s.onValueChange(s.val1,0)}),l()(),a(3,"label"),o(4,"val2:"),a(5,"input",0),z("ngModelChange",function(u){return q(s.val2,u)||(s.val2=u),u}),m("ngModelChange",function(){return s.onValueChange(s.val2,1)}),l()(),a(6,"h4"),o(7,"\u8C03\u7528multiplyBy\u51FD\u6570"),l(),a(8,"div"),o(9),x(10,"nbCallFn"),l(),a(11,"h5"),o(12,"\u4EE3\u7801"),l(),a(13,"pre"),o(14," "),a(15,"code"),o(16),l(),o(17,` + `),l(),W(18,"hr"),a(19,"h4"),o(20,"\u8C03\u7528sum\u51FD\u6570"),l(),a(21,"div"),o(22),x(23,"nbCallFn"),l(),a(24,"h5"),o(25,"\u4EE3\u7801"),l(),a(26,"pre"),o(27," "),a(28,"code"),o(29),l(),o(30,` +`),l(),a(31,"button",1),m("click",function(){return s.updateValArr()}),o(32,"update valArr"),l(),a(33,"h5"),o(34,"\u9700\u8981\u624B\u52A8\u66F4\u65B0valArr\u6570\u7EC4\uFF0Cpipe\u624D\u4F1A\u68C0\u6D4B\u5230\u53C2\u6570\u53D8\u5316\uFF0C\u4ECE\u800C\u6267\u884C"),l(),a(35,"div"),o(36),x(37,"nbCallFn"),l(),a(38,"h5"),o(39,"\u4EE3\u7801"),l(),a(40,"pre"),o(41," "),a(42,"code"),o(43),l(),o(44,` + `),l(),W(45,"hr")),r&2&&(p(2),$("ngModel",s.val1),p(3),$("ngModel",s.val2),p(4),I(fe(10,8,s.multiplyBy,s.val1,s.val2)),p(7),S(` + `,s.code3,` + `),p(6),I(Z(23,12,s.sum,he(18,vt,s.val1,s.val2))),p(7),S(` + `,s.code1,` + `),p(7),I(Z(37,15,s.sum,s.valArr)),p(7),S(` + `,s.code2,` + `))},dependencies:[ye,je,G,ne,ke,ie]});let t=e;return t})(),qt=[{path:"",component:yt}];export{yt as CallFnDemoComponent,qt as callFnDemoRoutes}; diff --git a/docs/chunk-XBOPDDRK.js b/docs/chunk-XBOPDDRK.js new file mode 100644 index 0000000..62bac8a --- /dev/null +++ b/docs/chunk-XBOPDDRK.js @@ -0,0 +1 @@ +import{A as G,D as z,E as v,J as c,K as x,N as I,P as S,R as D,S as j,Z as U,_ as q,aa as w,ba as T,c as B,d as A,ga as R,i as E,k as h,ka as K,l as k,la as V,m as g,ma as $,n as P,o as L,oa as Q,p as y,q as d,r as b,v as W,x as N,y as m,z as f}from"./chunk-7XPSJXHN.js";var re=typeof global=="object"&&global&&global.Object===Object&&global,H=re;var oe=typeof self=="object"&&self&&self.Object===Object&&self,ae=H||oe||Function("return this")(),J=ae;var fe=J.Symbol,s=fe;var X=Object.prototype,se=X.hasOwnProperty,ie=X.toString,u=s?s.toStringTag:void 0;function ne(e){var r=se.call(e,u),l=e[u];try{e[u]=void 0;var t=!0}catch{}var o=ie.call(e);return t&&(r?e[u]=l:delete e[u]),o}var Y=ne;var le=Object.prototype,pe=le.toString;function ue(e){return pe.call(e)}var Z=ue;var de="[object Null]",me="[object Undefined]",_=s?s.toStringTag:void 0;function ce(e){return e==null?e===void 0?me:de:_&&_ in Object(e)?Y(e):Z(e)}var i=ce;function xe(e){return e!=null&&typeof e=="object"}var n=xe;var he=Array.isArray,ee=he;var ge="[object String]";function ye(e){return typeof e=="string"||!ee(e)&&n(e)&&i(e)==ge}var M=ye;var be="[object Boolean]";function ve(e){return e===!0||e===!1||n(e)&&i(e)==be}var O=ve;var Ie="[object Number]";function Se(e){return typeof e=="number"||n(e)&&i(e)==Ie}var C=Se;var De=["nb-r-str",""];function je(e,r){if(e&1&&(c(0),D(1),w(2,"async"),x()),e&2){let l=S();m(),j(T(2,1,l.asyncContent))}}function we(e,r){if(e&1&&(c(0),D(1),x()),e&2){let l=S();m(),j(l.content)}}var F=(()=>{let r=class r{constructor(){}isBoolean(t){return O(t)}isNumber(t){return C(t)}isObservable(t){return t instanceof B}isPromise(t){return t instanceof Promise}isString(t){return M(t)}isTemplateRef(t){return t instanceof G}};r.\u0275fac=function(o){return new(o||r)},r.\u0275prov=h({token:r,factory:r.\u0275fac,providedIn:"root"});let e=r;return e})(),Te=(()=>{let r=class r{constructor(t){this.valueTypeService=t}transform(t){return this.valueTypeService.isObservable(t)||this.valueTypeService.isPromise(t)}};r.\u0275fac=function(o){return new(o||r)(f(F,16))},r.\u0275pipe=d({name:"nbIsAsync",type:r,pure:!0,standalone:!0});let e=r;return e})();var Rt=(()=>{let r=class r{constructor(){this.content=""}get asyncContent(){return this.content}};r.\u0275fac=function(o){return new(o||r)},r.\u0275cmp=P({type:r,selectors:[["","nb-r-str",""]],inputs:{content:[0,"nb-r-str","content"]},standalone:!0,features:[q],attrs:De,decls:4,vars:4,consts:[[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"]],template:function(o,a){o&1&&(c(0,0),w(1,"nbIsAsync"),z(2,je,3,3,"ng-container",1)(3,we,2,1,"ng-container",2),x()),o&2&&(v("ngSwitch",T(1,2,a.content)),m(2),v("ngSwitchCase",!0))},dependencies:[K,V,$,Q,Te],encapsulation:2,changeDetection:0});let e=r;return e})(),Re=new g("default error image"),Me=new g("default loading image"),Oe="./assets/nb-common/loading.svg",Ce="./assets/nb-common/picture.svg",Mt=(()=>{let r=class r{constructor(t,o,a,p){this.changeDR=t,this.defaultErrImg=o,this.defaultLoadingImg=a,this.elementRef=p,this.nbImg="",this.src="",this.loadingImg=this.defaultLoadingImg||Oe,this.errImg=this.defaultErrImg||Ce}ngOnChanges(t){let{nbImg:o}=t;this.changeNbImg(o)}changeNbImg(t){t?.firstChange&&(this.src=this.elementRef.nativeElement.src),t&&this.loadImage()}loadImage(){if(!this.nbImg){this.loadImgFromSrc();return}this.loadImgFromNbImg()}loadImgFromNbImg(){this.updateImgSrc(this.loadingImg);let t=new Image;t.onerror=()=>this.updateImgSrc(this.errImg),t.onload=()=>this.updateImgSrc(this.nbImg),t.src=this.nbImg}loadImgFromSrc(){this.elementRef.nativeElement.onerror=()=>{this.updateImgSrc(this.errImg),this.elementRef.nativeElement.onerror=null}}updateImgSrc(t){this.src=t,this.changeDR.markForCheck()}};r.\u0275fac=function(o){return new(o||r)(f(R),f(Re,8),f(Me,8),f(W))},r.\u0275dir=y({type:r,selectors:[["img","nbImg",""]],hostVars:1,hostBindings:function(o,a){o&2&&I("src",a.src,N)},inputs:{errImg:"errImg",loadingImg:"loadingImg",nbImg:"nbImg"},standalone:!0,features:[b]});let e=r;return e})(),te=(()=>{let r=class r{constructor(){this.destroy$=new A,this.subscriptionList=[],this.subscriptionMap=new Map}addUnsubscribeOperator(t){return t.pipe(E(this.destroy$))}clearAllSubscriptions(){this.subscriptionList.forEach(t=>t.unsubscribe()),this.subscriptionList.length=0}clearAllSubscriptionsFromKeyRecord(){this.subscriptionMap.forEach((t,o)=>{t.unsubscribe(),this.subscriptionMap.delete(o)})}collectASubscription(t){this.subscriptionList.push(t)}collectASubscriptionByKey(t,o,a=!0){let p=this.subscriptionMap.get(t);return p&&a&&p.unsubscribe(),this.subscriptionMap.set(t,o),p}getDestructionSignal(){return this.destroy$.asObservable()}unsubscribeASubscriptionByKey(t){let o=this.subscriptionMap.get(t);return o?(o.unsubscribe(),this.subscriptionMap.delete(t)):!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.clearAllSubscriptions(),this.clearAllSubscriptionsFromKeyRecord()}};r.\u0275fac=function(o){return new(o||r)},r.\u0275prov=h({token:r,factory:r.\u0275fac});let e=r;return e})(),Ot=(()=>{let r=class r{constructor(t,o,a){this.chageDR=t,this.unsubscribeService=o,this.valueTypeService=a,this.nbPlaceholder="",this.placeholder=""}ngOnChanges(){this.reRender()}reRender(){if(this.valueTypeService.isString(this.nbPlaceholder)){this.placeholder=this.nbPlaceholder,this.chageDR.markForCheck();return}let t=this.nbPlaceholder.subscribe(o=>this.updatePlaceholder(o));this.unsubscribeService.collectASubscriptionByKey("placeholder-content",t)}updatePlaceholder(t){this.placeholder=t,this.chageDR.markForCheck()}};r.\u0275fac=function(o){return new(o||r)(f(R),f(te),f(F))},r.\u0275dir=y({type:r,selectors:[["","nbPlaceholder",""]],hostVars:1,hostBindings:function(o,a){o&2&&I("placeholder",a.placeholder)},inputs:{nbPlaceholder:"nbPlaceholder"},standalone:!0,features:[U([te]),b]});let e=r;return e})();var Ct=(()=>{let r=class r{constructor(t){this.valueTypeService=t}transform(t){return this.valueTypeService.isTemplateRef(t)?t:null}};r.\u0275fac=function(o){return new(o||r)(f(F,16))},r.\u0275pipe=d({name:"nbTplContent",type:r,pure:!0,standalone:!0});let e=r;return e})(),Ft=(()=>{let r=class r{transform(t,...o){if(t)return t(...o)}};r.\u0275fac=function(o){return new(o||r)},r.\u0275pipe=d({name:"nbCallFn",type:r,pure:!0,standalone:!0});let e=r;return e})();var Bt=(()=>{let r=class r{};r.\u0275fac=function(o){return new(o||r)},r.\u0275mod=L({type:r}),r.\u0275inj=k({});let e=r;return e})();export{Rt as a,Me as b,Mt as c,Ot as d,Ct as e,Ft as f,Bt as g}; diff --git a/docs/index.html b/docs/index.html index e918c9d..1957b71 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,29 +1,29 @@ + + + NbCommon + + + - - - NbCommon - - - - - - - - + + + + - - - - - \ No newline at end of file + + + + diff --git a/docs/main-C4T6GLEJ.js b/docs/main-C4T6GLEJ.js new file mode 100644 index 0000000..d3e3050 --- /dev/null +++ b/docs/main-C4T6GLEJ.js @@ -0,0 +1 @@ +import{D as _,E as d,G as n,H as r,I as h,M,O as x,P as S,R as m,T as D,ja as v,l as a,n as u,o as c,ra as y,s as g,sa as E,t as k,ua as L,va as O,wa as f,x as C,xa as w,y as s,z as b}from"./chunk-7XPSJXHN.js";var I=[{path:"tpl-content-demo",loadChildren:()=>import("./chunk-4IRGJFNB.js").then(t=>t.TplContentDemoModule)},{path:"r-str-demo",loadChildren:()=>import("./chunk-LAFI4JE3.js").then(t=>t.RStrDemoModule)},{path:"placeholder-str-demo",loadChildren:()=>import("./chunk-IPVWXAJH.js").then(t=>t.PlaceholderStrDemoModule)},{path:"img-demo",loadChildren:()=>import("./chunk-IMEBYVUJ.js").then(t=>t.ImgDemoModule)},{path:"standalone-demo",loadChildren:()=>import("./chunk-6KSILFWR.js").then(t=>t.standaloneRoutes)},{path:"call-fn-demo",loadChildren:()=>import("./chunk-QHRJW7WK.js").then(t=>t.callFnDemoRoutes)}],N=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=c({type:e}),e.\u0275inj=a({imports:[f.forRoot(I),f]});let t=e;return t})();function T(t,e){if(t&1){let l=M();n(0,"a",7),x("click",function(){let o=g(l).$implicit,p=S();return k(p.go2Link(o))}),m(1),r()}if(t&2){let l=e.$implicit;d("href",l.link,C),s(),D(" ",l.title," ")}}var R=(()=>{let e=class e{constructor(i){this.gtagService=i,this.title="nb-common-demo",this.links=[{title:"Document",link:"https://github.com/bigBear713/nb-common/blob/main/projects/nb-common/README.md"},{title:"Changelog",link:"https://github.com/bigBear713/nb-common/blob/main/CHANGELOG.md"}]}go2Link(i){this.gtagService.trackLink({link_name:i.title,link:i.link})}};e.\u0275fac=function(o){return new(o||e)(b(w))},e.\u0275cmp=u({type:e,selectors:[["app-root"]],decls:17,vars:1,consts:[["target","_blank",3,"href","click",4,"ngFor","ngForOf"],["routerLink","/tpl-content-demo"],["routerLink","/r-str-demo"],["routerLink","/placeholder-str-demo"],["routerLink","/img-demo"],["routerLink","/standalone-demo"],["routerLink","/call-fn-demo"],["target","_blank",3,"click","href"]],template:function(o,p){o&1&&(n(0,"h2"),_(1,T,2,2,"a",0),r(),h(2,"hr"),n(3,"h3")(4,"a",1),m(5,"tpl content pipe"),r(),n(6,"a",2),m(7,"r-str component"),r(),n(8,"a",3),m(9,"placeholderStr Director"),r(),n(10,"a",4),m(11,"img Director"),r(),n(12,"a",5),m(13,"standalone component"),r(),n(14,"a",6),m(15,"call fn pipe"),r()(),h(16,"router-outlet")),o&2&&(s(),d("ngForOf",p.links))},dependencies:[v,L,O],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%], h3[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}"],changeDetection:0});let t=e;return t})();var j=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=c({type:e,bootstrap:[R]}),e.\u0275inj=a({imports:[E,N]});let t=e;return t})();var P={production:!0};P.production&&void 0;y().bootstrapModule(j).catch(t=>console.error(t)); diff --git a/docs/main.206ba1f9f8d87b4b.js b/docs/main.206ba1f9f8d87b4b.js deleted file mode 100644 index 65c4330..0000000 --- a/docs/main.206ba1f9f8d87b4b.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[179],{7819:(Re,ne,S)=>{"use strict";S.d(ne,{u:()=>T});var g=S(3304),X=S(944),k=S(7446),V=S(4469);g.extend(X);const J=window.gtag||(()=>{}),x=window.website_ga_id,O=window.libs_ga_id;let T=(()=>{class z{constructor(ce){this.router=ce}trackPage(ce){this.trackEvent("View_Page",ce)}trackButton(ce){this.trackEvent("Click_Button",ce)}trackLink(ce){this.trackEvent("Visit_Link",ce)}trackEvent(ce,re){const fe={send_to:x,datetime:g().utc().format(),url:this.router.url,language:"en",...re},Ye={...fe,send_to:O,website_id:"@bigbear713/nb-common"};J("event",ce,fe),J("event",ce,Ye)}static#e=this.\u0275fac=function(re){return new(re||z)(k.LFG(V.F0))};static#t=this.\u0275prov=k.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})()},6162:(Re,ne,S)=>{"use strict";var g=S(6593),R=S(7446),X=S(4469);const K=[{path:"tpl-content-demo",loadChildren:()=>Promise.all([S.e(363),S.e(644)]).then(S.bind(S,5644)).then(T=>T.TplContentDemoModule)},{path:"r-str-demo",loadChildren:()=>Promise.all([S.e(363),S.e(867)]).then(S.bind(S,867)).then(T=>T.RStrDemoModule)},{path:"placeholder-str-demo",loadChildren:()=>Promise.all([S.e(363),S.e(772)]).then(S.bind(S,772)).then(T=>T.PlaceholderStrDemoModule)},{path:"img-demo",loadChildren:()=>Promise.all([S.e(363),S.e(61)]).then(S.bind(S,8061)).then(T=>T.ImgDemoModule)},{path:"standalone-demo",loadChildren:()=>Promise.all([S.e(363),S.e(993)]).then(S.bind(S,5993)).then(T=>T.standaloneRoutes)},{path:"call-fn-demo",loadChildren:()=>Promise.all([S.e(363),S.e(153)]).then(S.bind(S,3153)).then(T=>T.callFnDemoRoutes)}];let k=(()=>{class T{static#e=this.\u0275fac=function(ce){return new(ce||T)};static#t=this.\u0275mod=R.oAB({type:T});static#n=this.\u0275inj=R.cJS({imports:[X.Bz.forRoot(K),X.Bz]})}return T})();var V=S(7819),ue=S(6814);function J(T,z){if(1&T){const Q=R.EpF();R.TgZ(0,"a",7),R.NdJ("click",function(){const fe=R.CHM(Q).$implicit,Ye=R.oxw();return R.KtG(Ye.go2Link(fe))}),R._uU(1),R.qZA()}if(2&T){const Q=z.$implicit;R.Q6J("href",Q.link,R.LSH),R.xp6(1),R.hij(" ",Q.title," ")}}let G=(()=>{class T{constructor(Q){this.gtagService=Q,this.title="nb-common-demo",this.links=[{title:"Document",link:"https://github.com/bigBear713/nb-common/blob/main/projects/nb-common/README.md"},{title:"Changelog",link:"https://github.com/bigBear713/nb-common/blob/main/CHANGELOG.md"}]}go2Link(Q){this.gtagService.trackLink({link_name:Q.title,link:Q.link})}static#e=this.\u0275fac=function(ce){return new(ce||T)(R.Y36(V.u))};static#t=this.\u0275cmp=R.Xpm({type:T,selectors:[["app-root"]],decls:17,vars:1,consts:[["target","_blank",3,"href","click",4,"ngFor","ngForOf"],["routerLink","/tpl-content-demo"],["routerLink","/r-str-demo"],["routerLink","/placeholder-str-demo"],["routerLink","/img-demo"],["routerLink","/standalone-demo"],["routerLink","/call-fn-demo"],["target","_blank",3,"href","click"]],template:function(ce,re){1&ce&&(R.TgZ(0,"h2"),R.YNc(1,J,2,2,"a",0),R.qZA(),R._UZ(2,"hr"),R.TgZ(3,"h3")(4,"a",1),R._uU(5,"tpl content pipe"),R.qZA(),R.TgZ(6,"a",2),R._uU(7,"r-str component"),R.qZA(),R.TgZ(8,"a",3),R._uU(9,"placeholderStr Director"),R.qZA(),R.TgZ(10,"a",4),R._uU(11,"img Director"),R.qZA(),R.TgZ(12,"a",5),R._uU(13,"standalone component"),R.qZA(),R.TgZ(14,"a",6),R._uU(15,"call fn pipe"),R.qZA()(),R._UZ(16,"router-outlet")),2&ce&&(R.xp6(1),R.Q6J("ngForOf",re.links))},dependencies:[ue.sg,X.lC,X.rH],styles:["h2[_ngcontent-%COMP%] a[_ngcontent-%COMP%], h3[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin:0 8px}"],changeDetection:0})}return T})(),x=(()=>{class T{static#e=this.\u0275fac=function(ce){return new(ce||T)};static#t=this.\u0275mod=R.oAB({type:T,bootstrap:[G]});static#n=this.\u0275inj=R.cJS({imports:[g.b2,k]})}return T})();(0,R.G48)(),g.q6().bootstrapModule(x).catch(T=>console.error(T))},3304:function(Re){Re.exports=function(){"use strict";var S=6e4,g=36e5,R="millisecond",X="second",K="minute",k="hour",V="day",ue="week",J="month",G="quarter",x="year",O="date",T="Invalid Date",z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ce={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(he){var ee=["th","st","nd","rd"],ae=he%100;return"["+he+(ee[(ae-20)%10]||ee[ae]||ee[0])+"]"}},re=function(he,ee,ae){var me=String(he);return!me||me.length>=ee?he:""+Array(ee+1-me.length).join(ae)+he},fe={s:re,z:function(he){var ee=-he.utcOffset(),ae=Math.abs(ee),me=Math.floor(ae/60),le=ae%60;return(ee<=0?"+":"-")+re(me,2,"0")+":"+re(le,2,"0")},m:function he(ee,ae){if(ee.date()1)return he(we[0])}else{var Oe=ee.name;He[Oe]=ee,le=Oe}return!me&&le&&(Ye=le),le||!me&&Ye},$e=function(he,ee){if(Dt(he))return he.clone();var ae="object"==typeof ee?ee:{};return ae.date=he,ae.args=arguments,new lt(ae)},be=fe;be.l=Tt,be.i=Dt,be.w=function(he,ee){return $e(he,{locale:ee.$L,utc:ee.$u,x:ee.$x,$offset:ee.$offset})};var lt=function(){function he(ae){this.$L=Tt(ae.locale,null,!0),this.parse(ae),this.$x=this.$x||ae.x||{},this[rt]=!0}var ee=he.prototype;return ee.parse=function(ae){this.$d=function(me){var le=me.date,ve=me.utc;if(null===le)return new Date(NaN);if(be.u(le))return new Date;if(le instanceof Date)return new Date(le);if("string"==typeof le&&!/Z$/i.test(le)){var we=le.match(z);if(we){var Oe=we[2]-1||0,Ee=(we[7]||"0").substring(0,3);return ve?new Date(Date.UTC(we[1],Oe,we[3]||1,we[4]||0,we[5]||0,we[6]||0,Ee)):new Date(we[1],Oe,we[3]||1,we[4]||0,we[5]||0,we[6]||0,Ee)}}return new Date(le)}(ae),this.init()},ee.init=function(){var ae=this.$d;this.$y=ae.getFullYear(),this.$M=ae.getMonth(),this.$D=ae.getDate(),this.$W=ae.getDay(),this.$H=ae.getHours(),this.$m=ae.getMinutes(),this.$s=ae.getSeconds(),this.$ms=ae.getMilliseconds()},ee.$utils=function(){return be},ee.isValid=function(){return this.$d.toString()!==T},ee.isSame=function(ae,me){var le=$e(ae);return this.startOf(me)<=le&&le<=this.endOf(me)},ee.isAfter=function(ae,me){return $e(ae){"use strict";S.d(ne,{X:()=>X});var g=S(8152),R=S(6229);class X extends g.xQ{constructor(k){super(),this._value=k}get value(){return this.getValue()}_subscribe(k){const V=super._subscribe(k);return V&&!V.closed&&k.next(this._value),V}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new R.N;return this._value}next(k){super.next(this._value=k)}}},4699:(Re,ne,S)=>{"use strict";S.d(ne,{y:()=>G});var g=S(254),X=S(5297),K=S(7308),V=S(2677),ue=S(4813),J=S(7213);let G=(()=>{class O{constructor(z){this._isScalar=!1,z&&(this._subscribe=z)}lift(z){const Q=new O;return Q.source=this,Q.operator=z,Q}subscribe(z,Q,ce){const{operator:re}=this,fe=function k(O,T,z){if(O){if(O instanceof g.L)return O;if(O[X.b])return O[X.b]()}return O||T||z?new g.L(O,T,z):new g.L(K.c)}(z,Q,ce);if(fe.add(re?re.call(fe,this.source):this.source||J.config.useDeprecatedSynchronousErrorHandling&&!fe.syncErrorThrowable?this._subscribe(fe):this._trySubscribe(fe)),J.config.useDeprecatedSynchronousErrorHandling&&fe.syncErrorThrowable&&(fe.syncErrorThrowable=!1,fe.syncErrorThrown))throw fe.syncErrorValue;return fe}_trySubscribe(z){try{return this._subscribe(z)}catch(Q){J.config.useDeprecatedSynchronousErrorHandling&&(z.syncErrorThrown=!0,z.syncErrorValue=Q),function R(O){for(;O;){const{closed:T,destination:z,isStopped:Q}=O;if(T||Q)return!1;O=z&&z instanceof g.L?z:null}return!0}(z)?z.error(Q):console.warn(Q)}}forEach(z,Q){return new(Q=x(Q))((ce,re)=>{let fe;fe=this.subscribe(Ye=>{try{z(Ye)}catch(He){re(He),fe&&fe.unsubscribe()}},re,ce)})}_subscribe(z){const{source:Q}=this;return Q&&Q.subscribe(z)}[V.L](){return this}pipe(...z){return 0===z.length?this:(0,ue.U)(z)(this)}toPromise(z){return new(z=x(z))((Q,ce)=>{let re;this.subscribe(fe=>re=fe,fe=>ce(fe),()=>Q(re))})}}return O.create=T=>new O(T),O})();function x(O){if(O||(O=J.config.Promise||Promise),!O)throw new Error("no Promise impl found");return O}},7308:(Re,ne,S)=>{"use strict";S.d(ne,{c:()=>X});var g=S(7213),R=S(3510);const X={closed:!0,next(K){},error(K){if(g.config.useDeprecatedSynchronousErrorHandling)throw K;(0,R.z)(K)},complete(){}}},8152:(Re,ne,S)=>{"use strict";S.d(ne,{xQ:()=>J,Yc:()=>ue});var g=S(4699),R=S(254),X=S(7902),K=S(6229);class k extends X.w{constructor(O,T){super(),this.subject=O,this.subscriber=T,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const O=this.subject,T=O.observers;if(this.subject=null,!T||0===T.length||O.isStopped||O.closed)return;const z=T.indexOf(this.subscriber);-1!==z&&T.splice(z,1)}}var V=S(5297);class ue extends R.L{constructor(O){super(O),this.destination=O}}let J=(()=>{class x extends g.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[V.b](){return new ue(this)}lift(T){const z=new G(this,this);return z.operator=T,z}next(T){if(this.closed)throw new K.N;if(!this.isStopped){const{observers:z}=this,Q=z.length,ce=z.slice();for(let re=0;renew G(O,T),x})();class G extends J{constructor(O,T){super(),this.destination=O,this.source=T}next(O){const{destination:T}=this;T&&T.next&&T.next(O)}error(O){const{destination:T}=this;T&&T.error&&this.destination.error(O)}complete(){const{destination:O}=this;O&&O.complete&&this.destination.complete()}_subscribe(O){const{source:T}=this;return T?this.source.subscribe(O):X.w.EMPTY}}},254:(Re,ne,S)=>{"use strict";S.d(ne,{L:()=>ue});var g=S(8594),R=S(7308),X=S(7902),K=S(5297),k=S(7213),V=S(3510);class ue extends X.w{constructor(x,O,T){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=R.c;break;case 1:if(!x){this.destination=R.c;break}if("object"==typeof x){x instanceof ue?(this.syncErrorThrowable=x.syncErrorThrowable,this.destination=x,x.add(this)):(this.syncErrorThrowable=!0,this.destination=new J(this,x));break}default:this.syncErrorThrowable=!0,this.destination=new J(this,x,O,T)}}[K.b](){return this}static create(x,O,T){const z=new ue(x,O,T);return z.syncErrorThrowable=!1,z}next(x){this.isStopped||this._next(x)}error(x){this.isStopped||(this.isStopped=!0,this._error(x))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(x){this.destination.next(x)}_error(x){this.destination.error(x),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:x}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=x,this}}class J extends ue{constructor(x,O,T,z){super(),this._parentSubscriber=x;let Q,ce=this;(0,g.m)(O)?Q=O:O&&(Q=O.next,T=O.error,z=O.complete,O!==R.c&&(ce=Object.create(O),(0,g.m)(ce.unsubscribe)&&this.add(ce.unsubscribe.bind(ce)),ce.unsubscribe=this.unsubscribe.bind(this))),this._context=ce,this._next=Q,this._error=T,this._complete=z}next(x){if(!this.isStopped&&this._next){const{_parentSubscriber:O}=this;k.config.useDeprecatedSynchronousErrorHandling&&O.syncErrorThrowable?this.__tryOrSetError(O,this._next,x)&&this.unsubscribe():this.__tryOrUnsub(this._next,x)}}error(x){if(!this.isStopped){const{_parentSubscriber:O}=this,{useDeprecatedSynchronousErrorHandling:T}=k.config;if(this._error)T&&O.syncErrorThrowable?(this.__tryOrSetError(O,this._error,x),this.unsubscribe()):(this.__tryOrUnsub(this._error,x),this.unsubscribe());else if(O.syncErrorThrowable)T?(O.syncErrorValue=x,O.syncErrorThrown=!0):(0,V.z)(x),this.unsubscribe();else{if(this.unsubscribe(),T)throw x;(0,V.z)(x)}}}complete(){if(!this.isStopped){const{_parentSubscriber:x}=this;if(this._complete){const O=()=>this._complete.call(this._context);k.config.useDeprecatedSynchronousErrorHandling&&x.syncErrorThrowable?(this.__tryOrSetError(x,O),this.unsubscribe()):(this.__tryOrUnsub(O),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(x,O){try{x.call(this._context,O)}catch(T){if(this.unsubscribe(),k.config.useDeprecatedSynchronousErrorHandling)throw T;(0,V.z)(T)}}__tryOrSetError(x,O,T){if(!k.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{O.call(this._context,T)}catch(z){return k.config.useDeprecatedSynchronousErrorHandling?(x.syncErrorValue=z,x.syncErrorThrown=!0,!0):((0,V.z)(z),!0)}return!1}_unsubscribe(){const{_parentSubscriber:x}=this;this._context=null,this._parentSubscriber=null,x.unsubscribe()}}},7902:(Re,ne,S)=>{"use strict";S.d(ne,{w:()=>V});var g=S(1280),R=S(7755),X=S(8594);const k=(()=>{function J(G){return Error.call(this),this.message=G?`${G.length} errors occurred during unsubscription:\n${G.map((x,O)=>`${O+1}) ${x.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=G,this}return J.prototype=Object.create(Error.prototype),J})();class V{constructor(G){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,G&&(this._ctorUnsubscribe=!0,this._unsubscribe=G)}unsubscribe(){let G;if(this.closed)return;let{_parentOrParents:x,_ctorUnsubscribe:O,_unsubscribe:T,_subscriptions:z}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,x instanceof V)x.remove(this);else if(null!==x)for(let Q=0;QG.concat(x instanceof k?x.errors:x),[])}V.EMPTY=((J=new V).closed=!0,J)},7213:(Re,ne,S)=>{"use strict";S.d(ne,{config:()=>R});let g=!1;const R={Promise:void 0,set useDeprecatedSynchronousErrorHandling(X){if(X){const K=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+K.stack)}else g&&console.log("RxJS: Back to a better error behavior. Thank you. <3");g=X},get useDeprecatedSynchronousErrorHandling(){return g}}},5846:(Re,ne,S)=>{"use strict";S.d(ne,{Ds:()=>V,IY:()=>K,ft:()=>J});var g=S(254),R=S(4699),X=S(4372);class K extends g.L{constructor(x){super(),this.parent=x}_next(x){this.parent.notifyNext(x)}_error(x){this.parent.notifyError(x),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class V extends g.L{notifyNext(x){this.destination.next(x)}notifyError(x){this.destination.error(x)}notifyComplete(){this.destination.complete()}}function J(G,x){if(x.closed)return;if(G instanceof R.y)return G.subscribe(x);let O;try{O=(0,X.s)(G)(x)}catch(T){x.error(T)}return O}},4247:(Re,ne,S)=>{"use strict";S.d(ne,{N:()=>V,c:()=>k});var g=S(8152),R=S(4699),X=S(7902),K=S(2851);class k extends R.y{constructor(O,T){super(),this.source=O,this.subjectFactory=T,this._refCount=0,this._isComplete=!1}_subscribe(O){return this.getSubject().subscribe(O)}getSubject(){const O=this._subject;return(!O||O.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let O=this._connection;return O||(this._isComplete=!1,O=this._connection=new X.w,O.add(this.source.subscribe(new ue(this.getSubject(),this))),O.closed&&(this._connection=null,O=X.w.EMPTY)),O}refCount(){return(0,K.x)()(this)}}const V=(()=>{const x=k.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:x._subscribe},_isComplete:{value:x._isComplete,writable:!0},getSubject:{value:x.getSubject},connect:{value:x.connect},refCount:{value:x.refCount}}})();class ue extends g.Yc{constructor(O,T){super(O),this.connectable=T}_error(O){this._unsubscribe(),super._error(O)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const O=this.connectable;if(O){this.connectable=null;const T=O._connection;O._refCount=0,O._subject=null,O._connection=null,T&&T.unsubscribe()}}}},5253:(Re,ne,S)=>{"use strict";S.d(ne,{D:()=>ce});var g=S(4699),R=S(4372),X=S(7902),K=S(2677),ue=S(5513),J=S(6258),O=S(6007),T=S(9990);function ce(re,fe){return fe?function Q(re,fe){if(null!=re){if(function x(re){return re&&"function"==typeof re[K.L]}(re))return function k(re,fe){return new g.y(Ye=>{const He=new X.w;return He.add(fe.schedule(()=>{const rt=re[K.L]();He.add(rt.subscribe({next(Dt){He.add(fe.schedule(()=>Ye.next(Dt)))},error(Dt){He.add(fe.schedule(()=>Ye.error(Dt)))},complete(){He.add(fe.schedule(()=>Ye.complete()))}}))})),He})}(re,fe);if((0,O.t)(re))return function V(re,fe){return new g.y(Ye=>{const He=new X.w;return He.add(fe.schedule(()=>re.then(rt=>{He.add(fe.schedule(()=>{Ye.next(rt),He.add(fe.schedule(()=>Ye.complete()))}))},rt=>{He.add(fe.schedule(()=>Ye.error(rt)))}))),He})}(re,fe);if((0,T.z)(re))return(0,ue.r)(re,fe);if(function z(re){return re&&"function"==typeof re[J.hZ]}(re)||"string"==typeof re)return function G(re,fe){if(!re)throw new Error("Iterable cannot be null");return new g.y(Ye=>{const He=new X.w;let rt;return He.add(()=>{rt&&"function"==typeof rt.return&&rt.return()}),He.add(fe.schedule(()=>{rt=re[J.hZ](),He.add(fe.schedule(function(){if(Ye.closed)return;let Dt,Tt;try{const $e=rt.next();Dt=$e.value,Tt=$e.done}catch($e){return void Ye.error($e)}Tt?Ye.complete():(Ye.next(Dt),this.schedule())}))})),He})}(re,fe)}throw new TypeError((null!==re&&typeof re||re)+" is not observable")}(re,fe):re instanceof g.y?re:new g.y((0,R.s)(re))}},2594:(Re,ne,S)=>{"use strict";S.d(ne,{n:()=>K});var g=S(4699),R=S(4947),X=S(5513);function K(k,V){return V?(0,X.r)(k,V):new g.y((0,R.V)(k))}},9193:(Re,ne,S)=>{"use strict";S.d(ne,{of:()=>K});var g=S(9759),R=S(2594),X=S(5513);function K(...k){let V=k[k.length-1];return(0,g.K)(V)?(k.pop(),(0,X.r)(k,V)):(0,R.n)(k)}},6124:(Re,ne,S)=>{"use strict";S.d(ne,{U:()=>R});var g=S(254);function R(k,V){return function(J){if("function"!=typeof k)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return J.lift(new X(k,V))}}class X{constructor(V,ue){this.project=V,this.thisArg=ue}call(V,ue){return ue.subscribe(new K(V,this.project,this.thisArg))}}class K extends g.L{constructor(V,ue,J){super(V),this.project=ue,this.count=0,this.thisArg=J||this}_next(V){let ue;try{ue=this.project.call(this.thisArg,V,this.count++)}catch(J){return void this.destination.error(J)}this.destination.next(ue)}}},7449:(Re,ne,S)=>{"use strict";S.d(ne,{J:()=>X});var g=S(6743),R=S(158);function X(K=Number.POSITIVE_INFINITY){return(0,g.zg)(R.y,K)}},6743:(Re,ne,S)=>{"use strict";S.d(ne,{zg:()=>K});var g=S(6124),R=S(5253),X=S(5846);function K(J,G,x=Number.POSITIVE_INFINITY){return"function"==typeof G?O=>O.pipe(K((T,z)=>(0,R.D)(J(T,z)).pipe((0,g.U)((Q,ce)=>G(T,Q,z,ce))),x)):("number"==typeof G&&(x=G),O=>O.lift(new k(J,x)))}class k{constructor(G,x=Number.POSITIVE_INFINITY){this.project=G,this.concurrent=x}call(G,x){return x.subscribe(new V(G,this.project,this.concurrent))}}class V extends X.Ds{constructor(G,x,O=Number.POSITIVE_INFINITY){super(G),this.project=x,this.concurrent=O,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(G){this.active0?this._next(G.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},2851:(Re,ne,S)=>{"use strict";S.d(ne,{x:()=>R});var g=S(254);function R(){return function(V){return V.lift(new X(V))}}class X{constructor(V){this.connectable=V}call(V,ue){const{connectable:J}=this;J._refCount++;const G=new K(V,J),x=ue.subscribe(G);return G.closed||(G.connection=J.connect()),x}}class K extends g.L{constructor(V,ue){super(V),this.connectable=ue}_unsubscribe(){const{connectable:V}=this;if(!V)return void(this.connection=null);this.connectable=null;const ue=V._refCount;if(ue<=0)return void(this.connection=null);if(V._refCount=ue-1,ue>1)return void(this.connection=null);const{connection:J}=this,G=V._connection;this.connection=null,G&&(!J||G===J)&&G.unsubscribe()}}},5222:(Re,ne,S)=>{"use strict";S.d(ne,{w:()=>K});var g=S(6124),R=S(5253),X=S(5846);function K(ue,J){return"function"==typeof J?G=>G.pipe(K((x,O)=>(0,R.D)(ue(x,O)).pipe((0,g.U)((T,z)=>J(x,T,O,z))))):G=>G.lift(new k(ue))}class k{constructor(J){this.project=J}call(J,G){return G.subscribe(new V(J,this.project))}}class V extends X.Ds{constructor(J,G){super(J),this.project=G,this.index=0}_next(J){let G;const x=this.index++;try{G=this.project(J,x)}catch(O){return void this.destination.error(O)}this._innerSub(G)}_innerSub(J){const G=this.innerSubscription;G&&G.unsubscribe();const x=new X.IY(this),O=this.destination;O.add(x),this.innerSubscription=(0,X.ft)(J,x),this.innerSubscription!==x&&O.add(this.innerSubscription)}_complete(){const{innerSubscription:J}=this;(!J||J.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(J){this.destination.next(J)}}},9352:(Re,ne,S)=>{"use strict";S.d(ne,{R:()=>R});var g=S(5846);function R(k){return V=>V.lift(new X(k))}class X{constructor(V){this.notifier=V}call(V,ue){const J=new K(V),G=(0,g.ft)(this.notifier,new g.IY(J));return G&&!J.seenValue?(J.add(G),ue.subscribe(J)):J}}class K extends g.Ds{constructor(V){super(V),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},5513:(Re,ne,S)=>{"use strict";S.d(ne,{r:()=>X});var g=S(4699),R=S(7902);function X(K,k){return new g.y(V=>{const ue=new R.w;let J=0;return ue.add(k.schedule(function(){J!==K.length?(V.next(K[J++]),V.closed||ue.add(this.schedule())):V.complete()})),ue})}},6258:(Re,ne,S)=>{"use strict";S.d(ne,{hZ:()=>R});const R=function g(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},2677:(Re,ne,S)=>{"use strict";S.d(ne,{L:()=>g});const g="function"==typeof Symbol&&Symbol.observable||"@@observable"},5297:(Re,ne,S)=>{"use strict";S.d(ne,{b:()=>g});const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},6229:(Re,ne,S)=>{"use strict";S.d(ne,{N:()=>R});const R=(()=>{function X(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return X.prototype=Object.create(Error.prototype),X})()},3510:(Re,ne,S)=>{"use strict";function g(R){setTimeout(()=>{throw R},0)}S.d(ne,{z:()=>g})},158:(Re,ne,S)=>{"use strict";function g(R){return R}S.d(ne,{y:()=>g})},1280:(Re,ne,S)=>{"use strict";S.d(ne,{k:()=>g});const g=Array.isArray||(R=>R&&"number"==typeof R.length)},9990:(Re,ne,S)=>{"use strict";S.d(ne,{z:()=>g});const g=R=>R&&"number"==typeof R.length&&"function"!=typeof R},8594:(Re,ne,S)=>{"use strict";function g(R){return"function"==typeof R}S.d(ne,{m:()=>g})},7755:(Re,ne,S)=>{"use strict";function g(R){return null!==R&&"object"==typeof R}S.d(ne,{K:()=>g})},6007:(Re,ne,S)=>{"use strict";function g(R){return!!R&&"function"!=typeof R.subscribe&&"function"==typeof R.then}S.d(ne,{t:()=>g})},9759:(Re,ne,S)=>{"use strict";function g(R){return R&&"function"==typeof R.schedule}S.d(ne,{K:()=>g})},4813:(Re,ne,S)=>{"use strict";S.d(ne,{U:()=>X,z:()=>R});var g=S(158);function R(...K){return X(K)}function X(K){return 0===K.length?g.y:1===K.length?K[0]:function(V){return K.reduce((ue,J)=>J(ue),V)}}},4372:(Re,ne,S)=>{"use strict";S.d(ne,{s:()=>O});var g=S(4947),R=S(3510),K=S(6258),V=S(2677),J=S(9990),G=S(6007),x=S(7755);const O=T=>{if(T&&"function"==typeof T[V.L])return(T=>z=>{const Q=T[V.L]();if("function"!=typeof Q.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return Q.subscribe(z)})(T);if((0,J.z)(T))return(0,g.V)(T);if((0,G.t)(T))return(T=>z=>(T.then(Q=>{z.closed||(z.next(Q),z.complete())},Q=>z.error(Q)).then(null,R.z),z))(T);if(T&&"function"==typeof T[K.hZ])return(T=>z=>{const Q=T[K.hZ]();for(;;){let ce;try{ce=Q.next()}catch(re){return z.error(re),z}if(ce.done){z.complete();break}if(z.next(ce.value),z.closed)break}return"function"==typeof Q.return&&z.add(()=>{Q.return&&Q.return()}),z})(T);{const Q=`You provided ${(0,x.K)(T)?"an invalid object":`'${T}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(Q)}}},4947:(Re,ne,S)=>{"use strict";S.d(ne,{V:()=>g});const g=R=>X=>{for(let K=0,k=R.length;K{"use strict";S.d(ne,{Do:()=>re,ED:()=>qo,EM:()=>Tn,HT:()=>K,JF:()=>ua,K0:()=>V,Mx:()=>Oi,Ov:()=>tr,PM:()=>aa,RF:()=>vr,S$:()=>z,Ts:()=>yr,V_:()=>J,Ye:()=>fe,b0:()=>ce,bD:()=>Kr,ez:()=>Qe,n9:()=>Do,q:()=>X,sg:()=>st,tP:()=>Eo,w_:()=>k});var g=S(7446);let R=null;function X(){return R}function K(f){R||(R=f)}class k{}const V=new g.OlP("DocumentToken");let ue=(()=>{class f{historyGo(p){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=g.Yz7({token:f,factory:()=>(0,g.f3M)(G),providedIn:"platform"})}return f})();const J=new g.OlP("Location Initialized");let G=(()=>{class f extends ue{constructor(){super(),this._doc=(0,g.f3M)(V),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(p){const y=X().getGlobalEventTarget(this._doc,"window");return y.addEventListener("popstate",p,!1),()=>y.removeEventListener("popstate",p)}onHashChange(p){const y=X().getGlobalEventTarget(this._doc,"window");return y.addEventListener("hashchange",p,!1),()=>y.removeEventListener("hashchange",p)}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(p){this._location.pathname=p}pushState(p,y,I){this._history.pushState(p,y,I)}replaceState(p,y,I){this._history.replaceState(p,y,I)}forward(){this._history.forward()}back(){this._history.back()}historyGo(p=0){this._history.go(p)}getState(){return this._history.state}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=g.Yz7({token:f,factory:()=>new f,providedIn:"platform"})}return f})();function x(f,C){if(0==f.length)return C;if(0==C.length)return f;let p=0;return f.endsWith("/")&&p++,C.startsWith("/")&&p++,2==p?f+C.substring(1):1==p?f+C:f+"/"+C}function O(f){const C=f.match(/#|\?|$/),p=C&&C.index||f.length;return f.slice(0,p-("/"===f[p-1]?1:0))+f.slice(p)}function T(f){return f&&"?"!==f[0]?"?"+f:f}let z=(()=>{class f{historyGo(p){throw new Error("Not implemented")}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275prov=g.Yz7({token:f,factory:()=>(0,g.f3M)(ce),providedIn:"root"})}return f})();const Q=new g.OlP("appBaseHref");let ce=(()=>{class f extends z{constructor(p,y){super(),this._platformLocation=p,this._removeListenerFns=[],this._baseHref=y??this._platformLocation.getBaseHrefFromDOM()??(0,g.f3M)(V).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}prepareExternalUrl(p){return x(this._baseHref,p)}path(p=!1){const y=this._platformLocation.pathname+T(this._platformLocation.search),I=this._platformLocation.hash;return I&&p?`${y}${I}`:y}pushState(p,y,I,j){const W=this.prepareExternalUrl(I+T(j));this._platformLocation.pushState(p,y,W)}replaceState(p,y,I,j){const W=this.prepareExternalUrl(I+T(j));this._platformLocation.replaceState(p,y,W)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}static#e=this.\u0275fac=function(y){return new(y||f)(g.LFG(ue),g.LFG(Q,8))};static#t=this.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),re=(()=>{class f extends z{constructor(p,y){super(),this._platformLocation=p,this._baseHref="",this._removeListenerFns=[],null!=y&&(this._baseHref=y)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(p){this._removeListenerFns.push(this._platformLocation.onPopState(p),this._platformLocation.onHashChange(p))}getBaseHref(){return this._baseHref}path(p=!1){let y=this._platformLocation.hash;return null==y&&(y="#"),y.length>0?y.substring(1):y}prepareExternalUrl(p){const y=x(this._baseHref,p);return y.length>0?"#"+y:y}pushState(p,y,I,j){let W=this.prepareExternalUrl(I+T(j));0==W.length&&(W=this._platformLocation.pathname),this._platformLocation.pushState(p,y,W)}replaceState(p,y,I,j){let W=this.prepareExternalUrl(I+T(j));0==W.length&&(W=this._platformLocation.pathname),this._platformLocation.replaceState(p,y,W)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(p=0){this._platformLocation.historyGo?.(p)}static#e=this.\u0275fac=function(y){return new(y||f)(g.LFG(ue),g.LFG(Q,8))};static#t=this.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac})}return f})(),fe=(()=>{class f{constructor(p){this._subject=new g.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=p;const y=this._locationStrategy.getBaseHref();this._basePath=function Dt(f){if(new RegExp("^(https?:)?//").test(f)){const[,p]=f.split(/\/\/[^\/]+/);return p}return f}(O(rt(y))),this._locationStrategy.onPopState(I=>{this._subject.emit({url:this.path(!0),pop:!0,state:I.state,type:I.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(p=!1){return this.normalize(this._locationStrategy.path(p))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(p,y=""){return this.path()==this.normalize(p+T(y))}normalize(p){return f.stripTrailingSlash(function He(f,C){if(!f||!C.startsWith(f))return C;const p=C.substring(f.length);return""===p||["/",";","?","#"].includes(p[0])?p:C}(this._basePath,rt(p)))}prepareExternalUrl(p){return p&&"/"!==p[0]&&(p="/"+p),this._locationStrategy.prepareExternalUrl(p)}go(p,y="",I=null){this._locationStrategy.pushState(I,"",p,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+T(y)),I)}replaceState(p,y="",I=null){this._locationStrategy.replaceState(I,"",p,y),this._notifyUrlChangeListeners(this.prepareExternalUrl(p+T(y)),I)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(p=0){this._locationStrategy.historyGo?.(p)}onUrlChange(p){return this._urlChangeListeners.push(p),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(y=>{this._notifyUrlChangeListeners(y.url,y.state)})),()=>{const y=this._urlChangeListeners.indexOf(p);this._urlChangeListeners.splice(y,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(p="",y){this._urlChangeListeners.forEach(I=>I(p,y))}subscribe(p,y,I){return this._subject.subscribe({next:p,error:y,complete:I})}static#e=this.normalizeQueryParams=T;static#t=this.joinWithSlash=x;static#n=this.stripTrailingSlash=O;static#r=this.\u0275fac=function(y){return new(y||f)(g.LFG(z))};static#o=this.\u0275prov=g.Yz7({token:f,factory:()=>function Ye(){return new fe((0,g.LFG)(z))}(),providedIn:"root"})}return f})();function rt(f){return f.replace(/\/index.html$/,"")}function Oi(f,C){C=encodeURIComponent(C);for(const p of f.split(";")){const y=p.indexOf("="),[I,j]=-1==y?[p,""]:[p.slice(0,y),p.slice(y+1)];if(I.trim()===C)return decodeURIComponent(j)}return null}class yu{constructor(C,p,y,I){this.$implicit=C,this.ngForOf=p,this.index=y,this.count=I}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let st=(()=>{class f{set ngForOf(p){this._ngForOf=p,this._ngForOfDirty=!0}set ngForTrackBy(p){this._trackByFn=p}get ngForTrackBy(){return this._trackByFn}constructor(p,y,I){this._viewContainer=p,this._template=y,this._differs=I,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(p){p&&(this._template=p)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const p=this._ngForOf;!this._differ&&p&&(this._differ=this._differs.find(p).create(this.ngForTrackBy))}if(this._differ){const p=this._differ.diff(this._ngForOf);p&&this._applyChanges(p)}}_applyChanges(p){const y=this._viewContainer;p.forEachOperation((I,j,W)=>{if(null==I.previousIndex)y.createEmbeddedView(this._template,new yu(I.item,this._ngForOf,-1,-1),null===W?void 0:W);else if(null==W)y.remove(null===j?void 0:j);else if(null!==j){const pe=y.get(j);y.move(pe,W),vo(pe,I)}});for(let I=0,j=y.length;I{vo(y.get(I.currentIndex),I)})}static ngTemplateContextGuard(p,y){return!0}static#e=this.\u0275fac=function(y){return new(y||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(g.ZZ4))};static#t=this.\u0275dir=g.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return f})();function vo(f,C){f.context.$implicit=C.item}class er{constructor(C,p){this._viewContainerRef=C,this._templateRef=p,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(C){C&&!this._created?this.create():!C&&this._created&&this.destroy()}}let vr=(()=>{class f{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(p){this._ngSwitch=p,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(p){this._defaultViews.push(p)}_matchCase(p){const y=p===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||y,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),y}_updateDefaultCases(p){if(this._defaultViews.length>0&&p!==this._defaultUsed){this._defaultUsed=p;for(const y of this._defaultViews)y.enforceState(p)}}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return f})(),Do=(()=>{class f{constructor(p,y,I){this.ngSwitch=I,I._addCase(),this._view=new er(p,y)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(y){return new(y||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(vr,9))};static#t=this.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return f})(),qo=(()=>{class f{constructor(p,y,I){I._addDefault(new er(p,y))}static#e=this.\u0275fac=function(y){return new(y||f)(g.Y36(g.s_b),g.Y36(g.Rgc),g.Y36(vr,9))};static#t=this.\u0275dir=g.lG2({type:f,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return f})(),Eo=(()=>{class f{constructor(p){this._viewContainerRef=p,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(p){if(this._shouldRecreateView(p)){const y=this._viewContainerRef;if(this._viewRef&&y.remove(y.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const I=this._createContextForwardProxy();this._viewRef=y.createEmbeddedView(this.ngTemplateOutlet,I,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(p){return!!p.ngTemplateOutlet||!!p.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(p,y,I)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,y,I),get:(p,y,I)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,y,I)}})}static#e=this.\u0275fac=function(y){return new(y||f)(g.Y36(g.s_b))};static#t=this.\u0275dir=g.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[g.TTD]})}return f})();class Cu{createSubscription(C,p){return(0,g.rg0)(()=>C.subscribe({next:p,error:y=>{throw y}}))}dispose(C){(0,g.rg0)(()=>C.unsubscribe())}}class ra{createSubscription(C,p){return C.then(p,y=>{throw y})}dispose(C){}}const ke=new ra,Nr=new Cu;let tr=(()=>{class f{constructor(p){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=p}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(p){return this._obj?p!==this._obj?(this._dispose(),this.transform(p)):this._latestValue:(p&&this._subscribe(p),this._latestValue)}_subscribe(p){this._obj=p,this._strategy=this._selectStrategy(p),this._subscription=this._strategy.createSubscription(p,y=>this._updateLatestValue(p,y))}_selectStrategy(p){if((0,g.QGY)(p))return ke;if((0,g.F4k)(p))return Nr;throw function Ve(f,C){return new g.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(p,y){p===this._obj&&(this._latestValue=y,this._ref.markForCheck())}static#e=this.\u0275fac=function(y){return new(y||f)(g.Y36(g.sBO,16))};static#t=this.\u0275pipe=g.Yjl({name:"async",type:f,pure:!1,standalone:!0})}return f})(),yr=(()=>{class f{transform(p){return JSON.stringify(p,null,2)}static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275pipe=g.Yjl({name:"json",type:f,pure:!1,standalone:!0})}return f})(),Qe=(()=>{class f{static#e=this.\u0275fac=function(y){return new(y||f)};static#t=this.\u0275mod=g.oAB({type:f});static#n=this.\u0275inj=g.cJS({})}return f})();const Kr="browser",Xo="server";function aa(f){return f===Xo}let Tn=(()=>{class f{static#e=this.\u0275prov=(0,g.Yz7)({token:f,providedIn:"root",factory:()=>new Ze((0,g.LFG)(V),window)})}return f})();class Ze{constructor(C,p){this.document=C,this.window=p,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const p=function _o(f,C){const p=f.getElementById(C)||f.getElementsByName(C)[0];if(p)return p;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const y=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let I=y.currentNode;for(;I;){const j=I.shadowRoot;if(j){const W=j.getElementById(C)||j.querySelector(`[name="${C}"]`);if(W)return W}I=y.nextNode()}}return null}(this.document,C);p&&(this.scrollToElement(p),p.focus())}setHistoryScrollRestoration(C){this.supportsScrolling()&&(this.window.history.scrollRestoration=C)}scrollToElement(C){const p=C.getBoundingClientRect(),y=p.left+this.window.pageXOffset,I=p.top+this.window.pageYOffset,j=this.offset();this.window.scrollTo(y-j[0],I-j[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class ua{}},7446:(Re,ne,S)=>{"use strict";S.d(ne,{tb:()=>gh,AFp:()=>dp,ip1:()=>bD,hGG:()=>HT,z2F:()=>Js,Ojb:()=>cE,sBO:()=>Yg,Sil:()=>XS,EJc:()=>YS,Xts:()=>ms,SBq:()=>Ha,lqb:()=>$r,qLn:()=>Vo,vpe:()=>Ur,XFs:()=>Ge,OlP:()=>ke,zs3:()=>dr,ZZ4:()=>Ud,aQg:()=>Hd,soG:()=>rl,YKP:()=>xy,h0i:()=>_i,R0b:()=>Ht,FiY:()=>Wu,Lbi:()=>ad,g9A:()=>fp,Qsj:()=>kw,FYo:()=>lg,JOm:()=>ic,q3G:()=>Di,tp0:()=>Yu,Rgc:()=>du,dDg:()=>bT,eoX:()=>PD,GfV:()=>dg,s_b:()=>jc,ifc:()=>Dr,T8G:()=>nm,VuI:()=>cA,MMx:()=>Fy,Lck:()=>B0,eFA:()=>jD,G48:()=>LT,Gpc:()=>kn,f3M:()=>Qe,$WT:()=>or,_c5:()=>UT,qFp:()=>dA,r_H:()=>XC,rg0:()=>Hw,c2e:()=>MD,zSh:()=>ed,HDt:()=>SD,wAp:()=>qs,vHH:()=>de,lri:()=>OD,rWj:()=>xD,JZr:()=>mr,EiD:()=>ng,mCW:()=>pc,qzn:()=>ws,JVY:()=>ow,pB0:()=>uw,eBb:()=>sw,L6k:()=>iw,LAX:()=>aw,cg1:()=>$f,kuF:()=>jn,kL8:()=>Mv,dqk:()=>Ve,Z0I:()=>ta,eJc:()=>Lo,QGY:()=>Hf,F4k:()=>Jv,RDi:()=>aE,AaK:()=>Se,z3N:()=>oo,qOj:()=>af,Xq5:()=>dm,TTD:()=>ha,_Bn:()=>Oy,jDz:()=>Ly,xp6:()=>_g,uIk:()=>uf,ekj:()=>pf,Suo:()=>rD,Xpm:()=>Ao,lG2:()=>Or,Yz7:()=>st,cJS:()=>yo,oAB:()=>ii,Yjl:()=>Gi,Y36:()=>_s,_UZ:()=>Lf,GkF:()=>kf,BQk:()=>Yc,ynx:()=>Wc,qZA:()=>Gc,TgZ:()=>zc,EpF:()=>Iv,n5z:()=>Bh,Ikx:()=>jf,LFG:()=>bt,$8M:()=>Gl,$Z:()=>Tg,NdJ:()=>Bf,CRH:()=>oD,oxw:()=>ry,ALo:()=>Ky,lcZ:()=>Qy,xi3:()=>Jy,Dn7:()=>Xy,Q6J:()=>ff,WLB:()=>zy,iGM:()=>nD,MAs:()=>hy,KtG:()=>Ou,CHM:()=>Ru,LSH:()=>Td,P3R:()=>og,YNc:()=>Vs,W1O:()=>uD,_uU:()=>Iy,Oqu:()=>Gf,hij:()=>Jc,AsE:()=>Wf,HOy:()=>Yf});let R=null,K=1;function V(e){const t=R;return R=e,t}function z(e){if((!$e(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==K)){if(!e.producerMustRecompute(e)&&!He(e))return e.dirty=!1,void(e.lastCleanEpoch=K);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=K}}function He(e){be(e);for(let t=0;t0}function be(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let ve=null;var ao=S(8152),uo=S(7902),Sr=S(4699),en=S(9759),co=S(7449),zo=S(2594),Fn=S(5125),Qn=S(9193),Gt=S(4247);class dt{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,o=this.subjectFactory(),i=r(o).subscribe(t);return i.add(n.subscribe(o)),i}}var qe=S(2851);function Be(){return new ao.xQ}function pr(){return e=>(0,qe.x)()(function In(e,t){return function(r){let o;if(o="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new dt(o,t));const i=Object.create(r,Gt.N);return i.source=r,i.subjectFactory=o,i}}(Be)(e))}var Ln=S(5222),bn=S(254);class on{constructor(t,n){this.compare=t,this.keySelector=n}call(t,n){return n.subscribe(new Ai(t,this.compare,this.keySelector))}}class Ai extends bn.L{constructor(t,n,r){super(t),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}compare(t,n){return t===n}_next(t){let n;try{const{keySelector:o}=this;n=o?o(t):t}catch(o){return this.destination.error(o)}let r=!1;if(this.hasKey)try{const{compare:o}=this;r=o(this.key,n)}catch(o){return this.destination.error(o)}else this.hasKey=!0;r||(this.key=n,this.destination.next(t))}}function Ie(e){for(let t in e)if(e[t]===Ie)return t;throw Error("Could not find renamed property on target object.")}function gr(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Se(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Se).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function lo(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ho=Ie({__forward_ref__:Ie});function kn(e){return e.__forward_ref__=kn,e.toString=function(){return Se(this())},e}function De(e){return Mn(e)?e():e}function Mn(e){return"function"==typeof e&&e.hasOwnProperty(ho)&&e.__forward_ref__===kn}function Tr(e){return e&&!!e.\u0275providers}const mr="https://g.co/ng/security#xss";class de extends Error{constructor(t,n){super(jn(t,n)),this.code=t}}function jn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const Te=Ie({\u0275cmp:Ie}),Jn=Ie({\u0275dir:Ie}),U=Ie({\u0275pipe:Ie}),P=Ie({\u0275mod:Ie}),M=Ie({\u0275fac:Ie}),N=Ie({__NG_ELEMENT_ID__:Ie}),H=Ie({__NG_ENV_ID__:Ie});function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function Wr(e,t){throw new de(-201,!1)}function $t(e,t){null==e&&function ye(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function st(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yo(e){return{providers:e.providers||[],imports:e.imports||[]}}function Zr(e){return Yo(e,vr)||Yo(e,qo)}function ta(e){return null!==Zr(e)}function Yo(e,t){return e.hasOwnProperty(t)?e[t]:null}function er(e){return e&&(e.hasOwnProperty(Do)||e.hasOwnProperty(Du))?e[Do]:null}const vr=Ie({\u0275prov:Ie}),Do=Ie({\u0275inj:Ie}),qo=Ie({ngInjectableDef:Ie}),Du=Ie({ngInjectorDef:Ie});var Ge=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Ge||{});let Co;function xi(){return Co}function Wt(e){const t=Co;return Co=e,t}function Eo(e,t,n){const r=Zr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ge.Optional?null:void 0!==t?t:void Wr(Se(e))}const Ve=globalThis;class ke{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=st({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const $n={},Qo="__NG_DI_FLAG__",yr="ngTempTokenPath",Fi=/\n/gm,Rr="__source";let Yt;function xt(e){const t=Yt;return Yt=e,t}function nr(e,t=Ge.Default){if(void 0===Yt)throw new de(-203,!1);return null===Yt?Eo(e,void 0,t):Yt.get(e,t&Ge.Optional?null:void 0,t)}function bt(e,t=Ge.Default){return(xi()||nr)(De(e),t)}function Qe(e,t=Ge.Default){return bt(e,Kr(t))}function Kr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xo(e){const t=[];for(let n=0;nt){s=i-1;break}}}for(;ii?"":o[w+1].toLowerCase();const A=8&r?_:null;if(A&&-1!==_o(A,m,0)||2&r&&m!==_){if(vn(r))return!1;s=!0}}}}else{if(!s&&!vn(r)&&!vn(d))return!1;if(s&&vn(d))continue;s=!1,r=d|1&r}}return vn(r)||s}function vn(e){return 0==(1&e)}function la(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+u+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!vn(s)&&(t+=ri(i,o),o=""),r=s,i=i||!vn(r);n++}return""!==o&&(t+=ri(i,o)),t}function Ao(e){return rr(()=>{const t=Wi(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ei.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Dr.Emulated,styles:e.styles||Ze,_:null,schemas:e.schemas||null,tView:null,id:""};Yi(n);const r=e.dependencies;return n.directiveDefs=si(r,!1),n.pipeDefs=si(r,!0),n.id=function gl(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function da(e){return Le(e)||Mt(e)}function oi(e){return null!==e}function ii(e){return rr(()=>({type:e.type,bootstrap:e.bootstrap||Ze,declarations:e.declarations||Ze,imports:e.imports||Ze,exports:e.exports||Ze,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zi(e,t){if(null==e)return Tn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Or(e){return rr(()=>{const t=Wi(e);return Yi(t),t})}function Gi(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Le(e){return e[Te]||null}function Mt(e){return e[Jn]||null}function Fe(e){return e[U]||null}function or(e){const t=Le(e)||Mt(e)||Fe(e);return null!==t&&t.standalone}function qt(e,t){const n=e[P]||null;if(!n&&!0===t)throw new Error(`Type ${Se(e)} does not have '\u0275mod' property.`);return n}function Wi(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Tn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ze,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:zi(e.inputs,t),outputs:zi(e.outputs),debugInfo:null}}function Yi(e){e.features?.forEach(t=>t(e))}function si(e,t){if(!e)return null;const n=t?Fe:da;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(oi)}const wt=0,te=1,Ce=2,vt=3,ln=4,Vt=5,dn=6,Lt=7,Je=8,Pt=9,No=10,Ae=11,xr=12,qi=13,ir=14,gt=15,Ro=16,An=17,sn=18,Oo=19,fa=20,yn=21,Er=22,wr=23,Me=25,ai=1,Un=7,xo=9,_t=10;var Pr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e[e.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",e}(Pr||{});function Nt(e){return Array.isArray(e)&&"object"==typeof e[ai]}function yt(e){return Array.isArray(e)&&!0===e[ai]}function Zi(e){return 0!=(4&e.flags)}function Fr(e){return e.componentOffset>-1}function ci(e){return 1==(1&e.flags)}function nn(e){return!!e.template}function Ki(e){return 0!=(512&e[Ce])}function eo(e,t){return e.hasOwnProperty(M)?e[M]:null}class ml{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function ha(){return Mu}function Mu(e){return e.type.prototype.ngOnChanges&&(e.setInput=yl),vl}function vl(){const e=Dl(this),t=e?.current;if(t){const n=e.previous;if(n===Tn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function yl(e,t,n,r){const o=this.declaredInputs[n],i=Dl(e)||function Cl(e,t){return e[pa]=t}(e,{previous:Tn,current:null}),s=i.current||(i.current={}),u=i.previous,d=u[o];s[o]=new ml(d&&d.currentValue,t,u===Tn),e[r]=t}ha.ngInherit=!0;const pa="__ngSimpleChanges__";function Dl(e){return e[pa]||null}const ur=function(e,t,n){};function pt(e){for(;Array.isArray(e);)e=e[wt];return e}function li(e,t){return pt(t[e])}function Zt(e,t){return pt(t[e.index])}function di(e,t){return e.data[t]}function zn(e,t){return e[t]}function Ut(e,t){const n=t[e];return Nt(n)?n:n[wt]}function Da(e){return 128==(128&e[Ce])}function Gn(e,t){return null==t?null:e[t]}function Qi(e){e[An]=0}function wl(e){1024&e[Ce]||(e[Ce]|=1024,Da(e)&&Ji(e))}function Ea(e){9216&e[Ce]&&Ji(e)}function Ji(e){let t=e[vt];for(;null!==t&&!(yt(t)&&t[Ce]&Pr.HasChildViewsToRefresh||Nt(t)&&8192&t[Ce]);){if(yt(t))t[Ce]|=Pr.HasChildViewsToRefresh;else if(t[Ce]|=8192,!Da(t))break;t=t[vt]}}function Xi(e,t){if(256==(256&e[Ce]))throw new de(911,!1);null===e[yn]&&(e[yn]=[]),e[yn].push(t)}const Ne={lFrame:Fl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fo(){return Ne.bindingsEnabled}function B(){return Ne.lFrame.lView}function Ue(){return Ne.lFrame.tView}function Ru(e){return Ne.lFrame.contextLView=e,e[Je]}function Ou(e){return Ne.lFrame.contextLView=null,e}function ut(){let e=Al();for(;null!==e&&64===e.type;)e=e.parent;return e}function Al(){return Ne.lFrame.currentTNode}function cr(e,t){const n=Ne.lFrame;n.currentTNode=e,n.isParent=t}function fi(){return Ne.lFrame.isParent}function ts(){Ne.lFrame.isParent=!1}function an(){const e=Ne.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function kr(){return Ne.lFrame.bindingIndex}function Ir(){return Ne.lFrame.bindingIndex++}function lr(e){const t=Ne.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ol(e,t){const n=Ne.lFrame;n.bindingIndex=n.bindingRootIndex=e,Pu(t)}function Pu(e){Ne.lFrame.currentDirectiveIndex=e}function Fu(){return Ne.lFrame.currentQueryIndex}function Lu(e){Ne.lFrame.currentQueryIndex=e}function Rh(e){const t=e[te];return 2===t.type?t.declTNode:1===t.type?e[Vt]:null}function Pl(e,t,n){if(n&Ge.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&Ge.Host||(o=Rh(i),null===o||(i=i[ir],10&o.type))););if(null===o)return!1;t=o,e=i}const r=Ne.lFrame=ku();return r.currentTNode=t,r.lView=e,!0}function wa(e){const t=ku(),n=e[te];Ne.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ku(){const e=Ne.lFrame,t=null===e?null:e.child;return null===t?Fl(e):t}function Fl(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Ia(){const e=Ne.lFrame;return Ne.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ju=Ia;function ba(){const e=Ia();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function un(){return Ne.lFrame.selectedIndex}function no(e){Ne.lFrame.selectedIndex=e}function mt(){const e=Ne.lFrame;return di(e.tView,e.selectedIndex)}let Vl=!0;function Ma(){return Vl}function ro(e){Vl=e}function c(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[d]<0&&(e[An]+=65536),(u>14>16&&(3&e[Ce])===t&&(e[Ce]+=16384,E(u,i)):E(u,i)}const L=-1;class F{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function pi(e){return e!==L}function Yn(e){return 32767&e}function _a(e,t){let n=function gC(e){return e>>16}(e),r=t;for(;n>0;)r=r[ir],n--;return r}let Ul=!0;function Vu(e){const t=Ul;return Ul=e,t}const Ph=255,Fh=5;let mC=0;const jr={};function Uu(e,t){const n=Lh(e,t);if(-1!==n)return n;const r=t[te];r.firstCreatePass&&(e.injectorIndex=t.length,Hl(r.data,e),Hl(t,null),Hl(r.blueprint,null));const o=Hu(e,t),i=e.injectorIndex;if(pi(o)){const s=Yn(o),u=_a(o,t),d=u[te].data;for(let m=0;m<8;m++)t[i+m]=u[s+m]|d[s+m]}return t[i+8]=o,i}function Hl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Lh(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Hu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=zh(o),null===r)return L;if(n++,o=o[ir],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return L}function Bl(e,t,n){!function vC(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(N)&&(r=n[N]),null==r&&(r=n[N]=mC++);const o=r&Ph;t.data[e+(o>>Fh)]|=1<=0?t&Ph:EC:t}(n);if("function"==typeof i){if(!Pl(t,e,r))return r&Ge.Host?kh(o,0,r):jh(t,n,r,o);try{let s;if(s=i(r),null!=s||r&Ge.Optional)return s;Wr()}finally{ju()}}else if("number"==typeof i){let s=null,u=Lh(e,t),d=L,m=r&Ge.Host?t[gt][Vt]:null;for((-1===u||r&Ge.SkipSelf)&&(d=-1===u?Hu(e,t):t[u+8],d!==L&&Hh(r,!1)?(s=t[te],u=Yn(d),t=_a(d,t)):u=-1);-1!==u;){const D=t[te];if(Uh(i,u,D.data)){const w=DC(u,t,n,s,r,m);if(w!==jr)return w}d=t[u+8],d!==L&&Hh(r,t[te].data[u+8]===m)&&Uh(i,u,t)?(s=D,u=Yn(d),t=_a(d,t)):u=-1}}return o}function DC(e,t,n,r,o,i){const s=t[te],u=s.data[e+8],D=Bu(u,s,n,null==r?Fr(u)&&Ul:r!=s&&0!=(3&u.type),o&Ge.Host&&i===u);return null!==D?gi(t,s,D,u):jr}function Bu(e,t,n,r,o){const i=e.providerIndexes,s=t.data,u=1048575&i,d=e.directiveStart,D=i>>20,_=o?u+D:e.directiveEnd;for(let A=r?u:u+D;A<_;A++){const $=s[A];if(A=d&&$.type===n)return A}if(o){const A=s[d];if(A&&nn(A)&&A.type===n)return d}return null}function gi(e,t,n,r){let o=e[n];const i=t.data;if(function se(e){return e instanceof F}(o)){const s=o;s.resolving&&function Ot(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new de(-200,`Circular dependency in DI detected for ${e}${n}`)}(function oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}(i[n]));const u=Vu(s.canSeeViewProviders);s.resolving=!0;const m=s.injectImpl?Wt(s.injectImpl):null;Pl(e,r,Ge.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function xh(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Mu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==m&&Wt(m),Vu(u),s.resolving=!1,ju()}}return o}function Uh(e,t,n){return!!(n[t+(e>>Fh)]&1<{const t=e.prototype.constructor,n=t[M]||zl(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[M]||zl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function zl(e){return Mn(e)?()=>{const t=zl(De(e));return t&&t()}:eo(e)}function zh(e){const t=e[te],n=t.type;return 2===n?t.declTNode:1===n?e[Vt]:null}function Gl(e){return function yC(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{const r=function Wl(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return u.annotation=s,u;function u(d,m,D){const w=d.hasOwnProperty(cs)?d[cs]:Object.defineProperty(d,cs,{value:[]})[cs];for(;w.length<=D;)w.push(null);return(w[D]=w[D]||[]).push(s),d}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function hs(e,t){e.forEach(n=>Array.isArray(n)?hs(n,t):t(n))}function Wh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function zu(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function qn(e,t,n){let r=ps(e,t);return r>=0?e[1|r]=n:(r=~r,function Yh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ql(e,t){const n=ps(e,t);if(n>=0)return e[1|n]}function ps(e,t){return function qh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<{n.push(s)};return hs(t,s=>{const u=s;Ku(u,i,[],r)&&(o||=[],o.push(u))}),void 0!==o&&tp(o,i),n}function tp(e,t){for(let n=0;n{t(i,r)})}}function Ku(e,t,n,r){if(!(e=De(e)))return!1;let o=null,i=er(e);const s=!i&&Le(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const d=e.ngModule;if(i=er(d),!i)return!1;o=d}const u=r.has(o);if(s){if(u)return!1;if(r.add(o),s.dependencies){const d="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const m of d)Ku(m,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!u){let m;r.add(o);try{hs(i.imports,D=>{Ku(D,t,n,r)&&(m||=[],m.push(D))})}finally{}void 0!==m&&tp(m,t)}if(!u){const m=eo(o)||(()=>new o);t({provide:o,useFactory:m,deps:Ze},o),t({provide:Ql,useValue:o,multi:!0},o),t({provide:ms,useValue:()=>bt(o),multi:!0},o)}const d=i.providers;if(null!=d&&!u){const m=e;Jl(d,D=>{t(D,m)})}}}return o!==e&&void 0!==e.providers}function Jl(e,t){for(let n of e)Tr(n)&&(n=n.\u0275providers),Array.isArray(n)?Jl(n,t):t(n)}const GC=Ie({provide:String,useValue:Ie});function Xl(e){return null!==e&&"object"==typeof e&&GC in e}function mi(e){return"function"==typeof e}const ed=new ke("Set Injector scope."),Qu={},YC={};let td;function Ju(){return void 0===td&&(td=new Zu),td}class $r{}class vs extends $r{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,rd(t,s=>this.processProvider(s)),this.records.set(Jh,ys(void 0,this)),o.has("environment")&&this.records.set($r,ys(void 0,this));const i=this.records.get(ed);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ql,Ze,Ge.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=xt(this),r=Wt(void 0);try{return t()}finally{xt(n),Wt(r)}}get(t,n=$n,r=Ge.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(H))return t[H](this);r=Kr(r);const i=xt(this),s=Wt(void 0);try{if(!(r&Ge.SkipSelf)){let d=this.records.get(t);if(void 0===d){const m=function JC(e){return"function"==typeof e||"object"==typeof e&&e instanceof ke}(t)&&Zr(t);d=m&&this.injectableDefInScope(m)?ys(nd(t),Qu):null,this.records.set(t,d)}if(null!=d)return this.hydrate(t,d)}return(r&Ge.Self?Ju():this.parent).get(t,n=r&Ge.Optional&&n===$n?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[yr]=u[yr]||[]).unshift(Se(t)),i)throw u;return function bu(e,t,n,r){const o=e[yr];throw t[Rr]&&o.unshift(t[Rr]),e.message=function aa(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Se(t);if(Array.isArray(t))o=t.map(Se).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let u=t[s];i.push(s+":"+("string"==typeof u?JSON.stringify(u):Se(u)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Fi,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[yr]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{Wt(s),xt(i)}}resolveInjectorInitializers(){const t=xt(this),n=Wt(void 0);try{const o=this.get(ms,Ze,Ge.Self);for(const i of o)i()}finally{xt(t),Wt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Se(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new de(205,!1)}processProvider(t){let n=mi(t=De(t))?t:De(t&&t.provide);const r=function ZC(e){return Xl(e)?ys(void 0,e.useValue):ys(op(e),Qu)}(t);if(mi(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ys(void 0,Qu,!0),o.factory=()=>Xo(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Qu&&(n.value=YC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function QC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=De(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function nd(e){const t=Zr(e),n=null!==t?t.factory:eo(e);if(null!==n)return n;if(e instanceof ke)throw new de(204,!1);if(e instanceof Function)return function qC(e){const t=e.length;if(t>0)throw function Ta(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new de(204,!1)}function op(e,t,n){let r;if(mi(e)){const o=De(e);return eo(o)||nd(o)}if(Xl(e))r=()=>De(e.useValue);else if(function rp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Xo(e.deps||[]));else if(function np(e){return!(!e||!e.useExisting)}(e))r=()=>bt(De(e.useExisting));else{const o=De(e&&(e.useClass||e.provide));if(!function KC(e){return!!e.deps}(e))return eo(o)||nd(o);r=()=>new o(...Xo(e.deps))}return r}function ys(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function rd(e,t){for(const n of e)Array.isArray(n)?rd(n,t):n&&Tr(n)?rd(n.\u0275providers,t):t(n)}function XC(e,t){e instanceof vs&&e.assertNotDestroyed();const r=xt(e),o=Wt(void 0);try{return t()}finally{xt(r),Wt(o)}}function up(e,t=null,n=null,r){const o=cp(e,t,n,r);return o.resolveInjectorInitializers(),o}function cp(e,t=null,n=null,r,o=new Set){const i=[n||Ze,zC(e)];return r=r||("object"==typeof e?void 0:Se(e)),new vs(i,t||Ju(),r||null,o)}let sd,dr=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=$n;static#t=this.NULL=new Zu;static create(n,r){if(Array.isArray(n))return up({name:""},r,n,"");{const o=n.name??"";return up({name:o},n.parent,n.providers,o)}}static#n=this.\u0275prov=st({token:e,providedIn:"any",factory:()=>bt(Jh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Lo(e){return!!qt(e)}function aE(e){sd=e}const dp=new ke("AppId",{providedIn:"root",factory:()=>uE}),uE="ng",fp=new ke("Platform Initializer"),ad=new ke("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),cE=new ke("CSP nonce",{providedIn:"root",factory:()=>function ko(){if(void 0!==sd)return sd;if(typeof document<"u")return document;throw new de(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Zn(e){return e instanceof Function?e():e}function rc(e){return 128==(128&e.flags)}var ic=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ic||{});const DE=/^>|^->||--!>|)/g,EE="\u200b$1\u200b";const fd=new Map;let wE=0;const pd="__ngContext__";function hn(e,t){Nt(t)?(e[pd]=t[Oo],function bE(e){fd.set(e[Oo],e)}(t)):e[pd]=t}let gd;function md(e,t){return gd(e,t)}function Pa(e){const t=e[vt];return yt(t)?t[vt]:t}function Np(e){return Op(e[xr])}function Rp(e){return Op(e[ln])}function Op(e){for(;null!==e&&!yt(e);)e=e[ln];return e}function Cs(e,t,n,r,o){if(null!=r){let i,s=!1;yt(r)?i=r:Nt(r)&&(s=!0,r=r[wt]);const u=pt(r);0===e&&null!==n?null==o?Lp(t,n,u):vi(t,n,u,o||null,!0):1===e&&null!==n?vi(t,n,u,o||null,!0):2===e?function dc(e,t,n){const r=cc(e,t);r&&function BE(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,u,s):3===e&&t.destroyNode(u),null!=i&&function WE(e,t,n,r,o){const i=n[Un];i!==pt(n)&&Cs(t,e,r,i,o);for(let u=_t;ut.replace(CE,EE))}(t))}function ac(e,t,n){return e.createElement(t,n)}function Pp(e,t){const n=e[xo],r=n.indexOf(t);n.splice(r,1)}function Fa(e,t){if(e.length<=_t)return;const n=_t+t,r=e[n];if(r){const o=r[Ro];null!==o&&o!==e&&Pp(o,r),t>0&&(e[n-1][ln]=r[ln]);const i=zu(e,_t+t);!function FE(e,t){ka(e,t,t[Ae],2,null,null),t[wt]=null,t[Vt]=null}(r[te],r);const s=i[sn];null!==s&&s.detachView(i[te]),r[vt]=null,r[ln]=null,r[Ce]&=-129}return r}function uc(e,t){if(!(256&t[Ce])){const n=t[Ae];t[wr]&&function rt(e){if(be(e),$e(e))for(let t=0;t=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Lt]=null);const o=t[yn];if(null!==o){t[yn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Dr.None||i===Dr.Emulated)return null}return Zt(r,n)}}(e,t.parent,n)}function vi(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Lp(e,t,n){e.appendChild(t,n)}function kp(e,t,n,r,o){null!==r?vi(e,t,n,r,o):Lp(e,t,n)}function cc(e,t){return e.parentNode(t)}let Cd,fc,hc,Vp=function $p(e,t,n){return 40&e.type?Zt(e,n):null};function lc(e,t,n,r){const o=Dd(e,r,t),i=t[Ae],u=function jp(e,t,n){return Vp(e,t,n)}(r.parent||t[Vt],r,t);if(null!=o)if(Array.isArray(n))for(let d=0;de,createScript:e=>e,createScriptURL:e=>e})}catch{}return fc}()?.createHTML(e)||e}function Zp(e){return function bd(){if(void 0===hc&&(hc=null,Ve.trustedTypes))try{hc=Ve.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return hc}()?.createScriptURL(e)||e}class yi{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${mr})`}}class JE extends yi{getTypeName(){return"HTML"}}class XE extends yi{getTypeName(){return"Style"}}class ew extends yi{getTypeName(){return"Script"}}class tw extends yi{getTypeName(){return"URL"}}class nw extends yi{getTypeName(){return"ResourceURL"}}function oo(e){return e instanceof yi?e.changingThisBreaksApplicationSecurity:e}function ws(e,t){const n=function rw(e){return e instanceof yi&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${mr})`)}return n===t}function ow(e){return new JE(e)}function iw(e){return new XE(e)}function sw(e){return new ew(e)}function aw(e){return new tw(e)}function uw(e){return new nw(e)}class cw{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Es(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class lw{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Es(t),n}}const fw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pc(e){return(e=String(e)).match(fw)?e:"unsafe:"+e}function io(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ja(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Qp=io("area,br,col,hr,img,wbr"),Jp=io("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xp=io("rp,rt"),Md=ja(Qp,ja(Jp,io("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")),ja(Xp,io("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")),ja(Xp,Jp)),_d=io("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eg=ja(_d,io("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),io("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")),hw=io("script,style,template");class pw{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=this.checkClobberedElement(n,n.nextSibling);if(o){n=o;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Md.hasOwnProperty(n))return this.sanitizedSomething=!0,!hw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let o=0;o"),!0}endElement(t){const n=t.nodeName.toLowerCase();Md.hasOwnProperty(n)&&!Qp.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(tg(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&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 n}}const gw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mw=/([^\#-~ |!])/g;function tg(e){return e.replace(/&/g,"&").replace(gw,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(mw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let gc;function ng(e,t){let n=null;try{gc=gc||function Kp(e){const t=new lw(e);return function dw(){try{return!!(new window.DOMParser).parseFromString(Es(""),"text/html")}catch{return!1}}()?new cw(t):t}(e);let r=t?String(t):"";n=gc.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=gc.getInertBodyElement(r)}while(r!==i);return Es((new pw).sanitizeChildren(Sd(n)||n))}finally{if(n){const r=Sd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Sd(e){return"content"in e&&function vw(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Di=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Di||{});function Td(e){const t=$a();return t?t.sanitize(Di.URL,e)||"":ws(e,"URL")?oo(e):pc(Y(e))}function rg(e){const t=$a();if(t)return Zp(t.sanitize(Di.RESOURCE_URL,e)||"");if(ws(e,"ResourceURL"))return Zp(oo(e));throw new de(904,!1)}function og(e,t,n){return function Iw(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?rg:Td}(t,n)(e)}function $a(){const e=B();return e&&e[No].sanitizer}let ig=(e,t,n)=>null;function Ld(e,t,n=!1){return ig(e,t,n)}class Ow{}class ug{}class Pw{resolveComponentFactory(t){throw function xw(e){const t=Error(`No component factory found for ${Se(e)}.`);return t.ngComponent=e,t}(t)}}let Ec=(()=>{class e{static#e=this.NULL=new Pw}return e})();function Fw(){return Ms(ut(),B())}function Ms(e,t){return new Ha(Zt(e,t))}let Ha=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=Fw}return e})();function Lw(e){return e instanceof Ha?e.nativeElement:e}class lg{}let kw=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function jw(){const e=B(),n=Ut(ut().index,e);return(Nt(n)?n:e)[Ae]}()}return e})(),$w=(()=>{class e{static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:()=>null})}return e})();class dg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Vw=new dg("17.0.3"),$d={};function Hw(e){const t=V(null);try{return e()}finally{V(t)}}function wc(e){return!!Vd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Vd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class fg{constructor(){}supports(t){return wc(t)}create(t){return new Ww(t)}}const Gw=(e,t)=>t;class Ww{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||Gw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,u),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,u,s,o)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Yw(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new hg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new hg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Yw{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class qw{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class hg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new qw,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function pg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new Kw(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class Kw{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function mg(){return new Ud([new fg])}let Ud=(()=>{class e{static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:mg});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||mg()),deps:[[e,new Yu,new Wu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new de(901,!1)}}return e})();function vg(){return new Hd([new gg])}let Hd=(()=>{class e{static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:vg});constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||vg()),deps:[[e,new Yu,new Wu]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new de(901,!1)}}return e})();function Ba(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(pt(i)),yt(i)&&yg(i,r);const s=n.type;if(8&s)Ba(e,t,n.child,r);else if(32&s){const u=md(n,t);let d;for(;d=u();)r.push(d)}else if(16&s){const u=Hp(t,n);if(Array.isArray(u))r.push(...u);else{const d=Pa(t[gt]);Ba(d[te],d,u,r,!0)}}n=o?n.projectionNext:n.next}return r}function yg(e,t){for(let n=_t;n!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ji(e.lView)},consumerOnSignalRead(){this.lView[wr]=this}};function Bd(e){return e.ngOriginalError}class Vo{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Bd(t);for(;n&&Bd(n);)n=Bd(n);return n||null}}const wg=new ke("",{providedIn:"root",factory:()=>!1}),Pe={};function _g(e){Sg(Ue(),B(),un()+e,!1)}function Sg(e,t,n,r){if(!r)if(3==(3&t[Ce])){const i=e.preOrderCheckHooks;null!==i&&l(t,i,n)}else{const i=e.preOrderHooks;null!==i&&a(t,i,0,n)}no(n)}function _s(e,t=Ge.Default){const n=B();return null===n?bt(e,t):$h(ut(),n,De(e),t)}function Tg(){throw new Error("invalid")}function bc(e,t,n,r,o,i,s,u,d,m,D){const w=t.blueprint.slice();return w[wt]=o,w[Ce]=140|r,(null!==m||e&&2048&e[Ce])&&(w[Ce]|=2048),Qi(w),w[vt]=w[ir]=e,w[Je]=n,w[No]=s||e&&e[No],w[Ae]=u||e&&e[Ae],w[Pt]=d||e&&e[Pt]||null,w[Vt]=i,w[Oo]=function IE(){return wE++}(),w[dn]=D,w[fa]=m,w[gt]=2==t.type?e[gt]:w,w}function Ss(e,t,n,r,o){let i=e.data[t];if(null===i)i=function zd(e,t,n,r,o){const i=Al(),s=fi(),d=e.data[t]=function pI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,u=0;return function to(){return null!==Ne.skipHydrationRootTNode}()&&(u|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:u,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=d),null!==i&&(s?null==i.child&&null!==d.parent&&(i.child=d):null===i.next&&(i.next=d,d.prev=i)),d}(e,t,n,r,o),function xu(){return Ne.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function es(){const e=Ne.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return cr(i,!0),i}function za(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iMe&&Sg(e,t,Me,!1),ur(s?2:0,o),n(r,o)}finally{no(i),ur(s?3:1,o)}}function Gd(e,t,n){if(Zi(t)){const r=V(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Og(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?xg(n,t,o,i):r.hasOwnProperty(o)&&xg(n,t,r[o],i)}return n}function xg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Kn(e,t,n,r,o,i,s,u){const d=Zt(t,n);let D,m=t.inputs;!u&&null!=m&&(D=m[r])?(Xd(e,n,D,r,o),Fr(t)&&function vI(e,t){const n=Ut(t,e);16&n[Ce]||(n[Ce]|=64)}(n,t.index)):3&t.type&&(r=function mI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(d,r,o))}function Zd(e,t,n,r){if(Fo()){const o=null===r?null:{"":-1},i=function II(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(n,r,i)}}(e,t,r,za(e,n,o.hostVars,Pe),o)}function Vr(e,t,n,r,o,i){const s=Zt(e,t);!function Qd(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const u=null==s?Y(i):s(i,r||"",o);e.setAttribute(t,o,u,n)}}(t[Ae],s,i,e.value,n,r,o)}function AI(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let u=0;ue.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(u,s),function eI(e){e.lView[wr]!==e&&(e.lView=null,Dg.push(e))}(u)),ba()}}function Bg(e,t){for(let n=Np(e);null!==n;n=Rp(n)){n[Ce]&=~Pr.HasChildViewsToRefresh;for(let r=_t;r-1&&(Fa(t,r),zu(n,r))}this._attachedToViewContainer=!1}uc(this._lView[te],this._lView)}onDestroy(t){Xi(this._lView,t)}markForCheck(){Ga(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ce]&=-129}reattach(){Ea(this._lView),this._lView[Ce]|=128}detectChanges(){!function ef(e,t=!0){const n=e[No],r=n.rendererFactory,o=n.afterRenderEventManager;r.begin?.(),o?.begin();try{const s=e[te];Hg(s,e,s.template,e[Je]),function OI(e){let t=0;for(;9216&e[Ce]||e[wr]?.dirty;){if(100===t)throw new de(103,!1);t++,Gg(e,1)}}(e)}catch(s){throw t&&_c(e,s),s}finally{r.end?.(),n.inlineEffectRunner?.flush(),o?.end()}}(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new de(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function kE(e,t){ka(e,t,t[Ae],2,null,null)}(this._lView[te],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new de(902,!1);this._appRef=t}}let Yg=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=LI}return e})();function LI(e){return function kI(e,t,n){if(Fr(e)&&!n){const r=Ut(e.index,t);return new Wa(r,r)}return 47&e.type?new Wa(t[gt],t):null}(ut(),B(),16==(16&e))}let Sc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=UI;static#t=this.__NG_ENV_ID__=n=>n}return e})();class VI extends Sc{constructor(t){super(),this._lView=t}onDestroy(t){return Xi(this._lView,t),()=>function Po(e,t){if(null===e[yn])return;const n=e[yn].indexOf(t);-1!==n&&e[yn].splice(n,1)}(this._lView,t)}}function UI(){return new VI(B())}const qg=new Set;function Ci(e){qg.has(e)||(qg.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function tf(e){return t=>{setTimeout(e,void 0,t)}}const Ur=class qI extends ao.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const d=t;o=d.next?.bind(d),i=d.error?.bind(d),s=d.complete?.bind(d)}this.__isAsync&&(i=tf(i),o&&(o=tf(o)),s&&(s=tf(s)));const u=super.subscribe({next:o,error:i,complete:s});return t instanceof uo.w&&t.add(u),u}};function Zg(...e){}class Ht{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ur(!1),this.onMicrotaskEmpty=new Ur(!1),this.onStable=new Ur(!1),this.onError=new Ur(!1),typeof Zone>"u")throw new de(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function ZI(){const e="function"==typeof Ve.requestAnimationFrame;let t=Ve[e?"requestAnimationFrame":"setTimeout"],n=Ve[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function JI(e){const t=()=>{!function QI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ve,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,rf(e),e.isCheckStableRunning=!0,nf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),rf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,u)=>{if(function eb(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(u))return n.invokeTask(o,i,s,u);try{return Kg(e),n.invokeTask(o,i,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Qg(e)}},onInvoke:(n,r,o,i,s,u,d)=>{try{return Kg(e),n.invoke(o,i,s,u,d)}finally{e.shouldCoalesceRunChangeDetection&&t(),Qg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,rf(e),nf(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ht.isInAngularZone())throw new de(909,!1)}static assertNotInAngularZone(){if(Ht.isInAngularZone())throw new de(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,KI,Zg,Zg);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const KI={};function nf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Kg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qg(e){e._nesting--,nf(e)}class XI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ur,this.onMicrotaskEmpty=new Ur,this.onStable=new Ur,this.onError=new Ur}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Jg=new ke("",{providedIn:"root",factory:Xg});function Xg(){const e=Qe(Ht);let t=!0;return function Go(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(0,en.K)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof Sr.y?e[0]:(0,co.J)(t)((0,zo.n)(e,n))}(new Sr.y(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Sr.y(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Ht.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ht.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(pr()))}var Ei=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ei||{});const em={destroy(){}};function nm(e,t){!t&&function od(e){if(!xi()&&!function bo(){return Yt}())throw new de(-203,!1)}();const n=t?.injector??Qe(dr);if(!function jo(e){return"browser"===(e??Qe(dr)).get(ad)}(n))return em;Ci("NgAfterNextRender");const r=n.get(Tc),o=r.handler??=new om,i=t?.phase??Ei.MixedReadWrite,s=()=>{o.unregister(d),u()},u=n.get(Sc).onDestroy(s),d=new rm(n,i,()=>{s(),e()});return o.register(d),{destroy:s}}class rm{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Ht),this.errorHandler=t.get(Vo,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class om{constructor(){this.executingCallbacks=!1,this.buckets={[Ei.EarlyRead]:new Set,[Ei.Write]:new Set,[Ei.MixedReadWrite]:new Set,[Ei.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new de(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Tc=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=st({token:e,providedIn:"root",factory:()=>new e})}return e})();function nb(e,t){const n=Ut(t,e),r=n[te];!function rb(e,t){for(let n=t.length;n0&&Gp(e,n,i.join(" "))}}(w,rn,A,r),void 0!==n&&function hb(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=mn(o.hostAttrs,n=mn(n,o.hostAttrs))}}(r)}function Nc(e){return e===Tn?{}:e===Ze?[]:e}function mb(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function vb(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function yb(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function dm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];Array.isArray(o)&&o[2]&&(n[r]=o[2])}e.inputTransforms=n}function Hr(e,t,n){return e[t]=n}function Bt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wi(e,t,n,r){const o=Bt(e,t,n);return Bt(e,t+1,r)||o}function uf(e,t,n,r){const o=B();return Bt(o,Ir(),t)&&(Ue(),Vr(mt(),o,e,t,n,r)),uf}function Os(e,t,n,r,o,i,s,u,d,m){const w=function fr(e,t,n,r,o,i){const s=wi(e,t,n,r);return wi(e,t+2,o,i)||s}(e,kr(),n,o,s,d);return lr(4),w?t+Y(n)+r+Y(o)+i+Y(s)+u+Y(d)+m:Pe}function Oc(e,t){return e<<17|t<<2}function Uo(e){return e>>17&32767}function cf(e){return 2|e}function Ii(e){return(131068&e)>>2}function lf(e,t){return-131069&e|t<<2}function df(e){return 1|e}function Em(e,t,n,r,o){const i=e[n+1],s=null===t;let u=r?Uo(i):Ii(i),d=!1;for(;0!==u&&(!1===d||s);){const D=e[u+1];Ab(e[u],t)&&(d=!0,e[u+1]=r?df(D):cf(D)),u=r?Uo(D):Ii(D)}d&&(e[n+1]=r?cf(i):df(i))}function Ab(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ps(e,t)>=0}function ff(e,t,n){const r=B();return Bt(r,Ir(),t)&&Kn(Ue(),mt(),r,e,t,r[Ae],n,!1),ff}function hf(e,t,n,r,o){const s=o?"class":"style";Xd(e,n,t.inputs[s],s,r)}function pf(e,t){return function br(e,t,n,r){const o=B(),i=Ue(),s=lr(2);i.firstUpdatePass&&function Nm(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[un()],s=function Am(e,t){return t>=e.expandoStartIndex}(e,n);(function Pm(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function jb(e,t,n,r){const o=function rs(e){const t=Ne.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Za(n=gf(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=gf(o,e,t,n,r),null===i){let d=function $b(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ii(r))return e[Uo(r)]}(e,t,r);void 0!==d&&Array.isArray(d)&&(d=gf(null,e,t,d[1],r),d=Za(d,t.attrs,r),function Vb(e,t,n,r){e[Uo(n?t.classBindings:t.styleBindings)]=r}(e,t,r,d))}else i=function Ub(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(m=!0)):D=n,o)if(0!==d){const _=Uo(e[u+1]);e[r+1]=Oc(_,u),0!==_&&(e[_+1]=lf(e[_+1],r)),e[u+1]=function Mb(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Oc(u,0),0!==u&&(e[u+1]=lf(e[u+1],r)),u=r;else e[r+1]=Oc(d,0),0===u?u=r:e[d+1]=lf(e[d+1],r),d=r;m&&(e[r+1]=cf(e[r+1])),Em(e,D,r,!0),Em(e,D,r,!1),function Tb(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ps(i,t)>=0&&(n[r+1]=df(n[r+1]))}(t,D,e,r,i),s=Oc(u,d),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==Pe&&Bt(o,s,t)&&function Om(e,t,n,r,o,i,s,u){if(!(3&t.type))return;const d=e.data,m=d[u+1],D=function _b(e){return 1==(1&e)}(m)?xm(d,t,n,o,Ii(m),s):void 0;xc(D)||(xc(i)||function bb(e){return 2==(2&e)}(m)&&(i=xm(d,null,n,o,u,s)),function YE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ic.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ic.Important),e.setStyle(n,r,o,i))}}(r,s,li(un(),n),o,i))}(i,i.data[un()],o,o[Ae],e,o[s+1]=function Gb(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Se(oo(e)))),e}(t,n),r,s)}(e,t,null,!0),pf}function gf(e,t,n,r,o){let i=null;const s=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u0;){const d=e[o],m=Array.isArray(d),D=m?d[1]:d,w=null===D;let _=n[o+1];_===Pe&&(_=w?Ze:void 0);let A=w?ql(_,r):D===r?_:void 0;if(m&&!xc(A)&&(A=ql(d,r)),xc(A)&&(u=A,s))return u;const $=e[o+1];o=s?Uo($):Ii($)}if(null!==t){let d=i?t.residualClasses:t.residualStyles;null!=d&&(u=ql(d,r))}return u}function xc(e){return void 0!==e}function $s(e,t){return!t||rc(e)}function eu(e,t,n,r=!0){const o=t[te];if(function $E(e,t,n,r){const o=_t+r,i=n.length;r>0&&(n[o-1][ln]=t),r{class e{static#e=this.__NG_ELEMENT_ID__=MM}return e})();function MM(){return Ym(ut(),B())}const _M=jc,Gm=class extends _M{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ms(this._hostTNode,this._hostLView)}get injector(){return new Kt(this._hostTNode,this._hostLView)}get parentInjector(){const t=Hu(this._hostTNode,this._hostLView);if(pi(t)){const n=_a(t,this._hostLView),r=Yn(t);return new Kt(n[te].data[r+8],n)}return new Kt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Wm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-_t}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const u=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(u,o,$s(this._hostTNode,null)),u}createComponent(t,n,r,o,i){const s=t&&!function Sa(e){return"function"==typeof e}(t);let u;if(s)u=n;else{const $=n||{};u=$.index,r=$.injector,o=$.projectableNodes,i=$.environmentInjector||$.ngModuleRef}const d=s?t:new Ya(Le(t)),m=r||this.parentInjector;if(!i&&null==d.ngModule){const Z=(s?m:this.parentInjector).get($r,null);Z&&(i=Z)}Le(d.componentType??{});const A=d.create(m,o,null,i);return this.insertImpl(A.hostView,u,$s(this._hostTNode,null)),A}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const o=t._lView;if(function El(e){return yt(e[vt])}(o)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=o[vt],m=new Gm(d,d[Vt],d[vt]);m.detach(m.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;return eu(s,o,i,r),t.attachToViewContainerRef(),Wh(bf(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Wm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Fa(this._lContainer,n);r&&(zu(bf(this._lContainer),n),uc(r[te],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fa(this._lContainer,n);return r&&null!=zu(bf(this._lContainer),n)?new Wa(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Wm(e){return e[8]}function bf(e){return e[8]||(e[8]=[])}function Ym(e,t){let n;const r=t[e.index];return yt(r)?n=r:(n=kg(r,t,null,e),t[e.index]=n,Mc(t,n)),qm(n,t,e,r),new Gm(n,e,t)}let qm=function Km(e,t,n,r){if(e[Un])return;let o;o=8&n.type?pt(r):function SM(e,t){const n=e[Ae],r=n.createComment(""),o=Zt(t,e);return vi(n,cc(n,o),r,function zE(e,t){return e.nextSibling(t)}(n,o),!1),r}(t,n),e[Un]=o},Mf=(e,t,n)=>!1;function Vs(e,t,n,r,o,i,s,u){const d=B(),m=Ue(),D=e+Me,w=m.firstCreatePass?function RM(e,t,n,r,o,i,s,u,d){const m=t.consts,D=Ss(t,e,4,s||null,Gn(m,u));Zd(t,n,D,Gn(m,d)),c(t,D);const w=D.tView=qd(2,D,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m,null);return null!==t.queries&&(t.queries.template(t,D),w.queries=t.queries.embeddedTView(D)),D}(D,m,d,t,n,r,o,i,s):m.data[D];cr(w,!1);const _=Qm(m,d,w,e);Ma()&&lc(m,d,_,w),hn(_,d);const A=kg(_,d,_,w);return d[D]=A,Mc(d,A),function Zm(e,t,n){return Mf(e,t,n)}(A,w,d),ci(w)&&Wd(m,d,w),null!=s&&Yd(d,w,u),Vs}let Qm=function Jm(e,t,n,r){return ro(!0),t[Ae].createComment("")};function zc(e,t,n,r){const o=B(),i=Ue(),s=Me+e,u=o[Ae],d=i.firstCreatePass?function C_(e,t,n,r,o,i){const s=t.consts,d=Ss(t,e,2,r,Gn(s,o));return Zd(t,n,d,Gn(s,i)),null!==d.attrs&&Ac(d,d.attrs,!1),null!==d.mergedAttrs&&Ac(d,d.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,d),d}(s,i,o,t,n,r):i.data[s],m=Ev(i,o,d,u,t,e);o[s]=m;const D=ci(d);return cr(d,!0),Wp(u,m,d),32!=(32&d.flags)&&Ma()&&lc(i,o,m,d),0===function Il(){return Ne.lFrame.elementDepthCount}()&&hn(m,o),function Nu(){Ne.lFrame.elementDepthCount++}(),D&&(Wd(i,o,d),Gd(i,d,o)),null!==r&&Yd(o,d),zc}function Gc(){let e=ut();fi()?ts():(e=e.parent,cr(e,!1));const t=e;(function Ml(e){return Ne.skipHydrationRootTNode===e})(t)&&function Tl(){Ne.skipHydrationRootTNode=null}(),function bl(){Ne.lFrame.elementDepthCount--}();const n=Ue();return n.firstCreatePass&&(c(n,e),Zi(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Rt(e){return 0!=(8&e.flags)}(t)&&hf(n,t,B(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function hi(e){return 0!=(16&e.flags)}(t)&&hf(n,t,B(),t.stylesWithoutHost,!1),Gc}function Lf(e,t,n,r){return zc(e,t,n,r),Gc(),Lf}let Ev=(e,t,n,r,o,i)=>(ro(!0),ac(r,o,function $l(){return Ne.lFrame.currentNamespace}()));function Wc(e,t,n){const r=B(),o=Ue(),i=e+Me,s=o.firstCreatePass?function I_(e,t,n,r,o){const i=t.consts,s=Gn(i,r),u=Ss(t,e,8,"ng-container",s);return null!==s&&Ac(u,s,!0),Zd(t,n,u,Gn(i,o)),null!==t.queries&&t.queries.elementStart(t,u),u}(i,o,r,t,n):o.data[i];cr(s,!0);const u=wv(o,r,s,e);return r[i]=u,Ma()&&lc(o,r,u,s),hn(u,r),ci(s)&&(Wd(o,r,s),Gd(o,s,r)),null!=n&&Yd(r,s),Wc}function Yc(){let e=ut();const t=Ue();return fi()?ts():(e=e.parent,cr(e,!1)),t.firstCreatePass&&(c(t,e),Zi(e)&&t.queries.elementEnd(e)),Yc}function kf(e,t,n){return Wc(e,t,n),Yc(),kf}let wv=(e,t,n,r)=>(ro(!0),vd(t[Ae],""));function Iv(){return B()}function jf(e,t,n){const r=B();return Bt(r,Ir(),t)&&Kn(Ue(),mt(),r,e,t,r[Ae],n,!0),jf}const Mi=void 0;var S_=["en",[["a","p"],["AM","PM"],Mi],[["AM","PM"],Mi,Mi],[["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"]],Mi,[["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"]],Mi,[["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}",Mi,"{1} 'at' {0}",Mi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function __(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ys={};function $f(e){const t=function T_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=_v(t);if(n)return n;const r=t.split("-")[0];if(n=_v(r),n)return n;if("en"===r)return S_;throw new de(701,!1)}function Mv(e){return $f(e)[qs.PluralCase]}function _v(e){return e in Ys||(Ys[e]=Ve.ng&&Ve.ng.common&&Ve.ng.common.locales&&Ve.ng.common.locales[e]),Ys[e]}var qs=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(qs||{});const Zs="en-US";let Sv=Zs;function Hf(e){return!!e&&"function"==typeof e.then}function Jv(e){return!!e&&"function"==typeof e.subscribe}function Bf(e,t,n,r){const o=B(),i=Ue(),s=ut();return function ey(e,t,n,r,o,i,s){const u=ci(r),m=e.firstCreatePass&&Vg(e),D=t[Je],w=$g(t);let _=!0;if(3&r.type||s){const Z=Zt(r,t),ie=s?s(Z):Z,ge=w.length,q=s?et=>s(pt(et[r.index])):r.index;let _e=null;if(!s&&u&&(_e=function I0(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;id?u[d]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==_e)(_e.__ngLastListenerFn__||_e).__ngNextListenerFn__=i,_e.__ngLastListenerFn__=i,_=!1;else{i=ny(r,t,D,i,!1);const et=n.listen(ie,o,i);w.push(i,et),m&&m.push(o,q,ge,ge+1)}}else i=ny(r,t,D,i,!1);const A=r.outputs;let $;if(_&&null!==A&&($=A[o])){const Z=$.length;if(Z)for(let ie=0;ie-1?Ut(e.index,t):t);let d=ty(t,n,r,s),m=i.__ngNextListenerFn__;for(;m;)d=ty(t,n,m,s)&&d,m=m.__ngNextListenerFn__;return o&&!1===d&&s.preventDefault(),d}}function ry(e=1){return function Ll(e){return(Ne.lFrame.contextLView=function Ca(e,t){for(;e>0;)t=t[ir],e--;return t}(e,Ne.lFrame.contextLView))[Je]}(e)}function hy(e){return zn(function Nh(){return Ne.lFrame.contextLView}(),Me+e)}function Iy(e,t=""){const n=B(),r=Ue(),o=e+Me,i=r.firstCreatePass?Ss(r,o,1,t,null):r.data[o],s=by(r,n,i,t,e);n[o]=s,Ma()&&lc(r,n,s,i),cr(i,!1)}let by=(e,t,n,r,o)=>(ro(!0),function sc(e,t){return e.createText(t)}(t[Ae],r));function Gf(e){return Jc("",e,""),Gf}function Jc(e,t,n){const r=B(),o=function As(e,t,n,r){return Bt(e,Ir(),n)?t+Y(n)+r:Pe}(r,e,t,n);return o!==Pe&&so(r,un(),o),Jc}function Wf(e,t,n,r,o){const i=B(),s=function Ns(e,t,n,r,o,i){const u=wi(e,kr(),n,o);return lr(2),u?t+Y(n)+r+Y(o)+i:Pe}(i,e,t,n,r,o);return s!==Pe&&so(i,un(),s),Wf}function Yf(e,t,n,r,o,i,s,u,d){const m=B(),D=Os(m,e,t,n,r,o,i,s,u,d);return D!==Pe&&so(m,un(),D),Yf}function qf(e,t,n,r,o){if(e=De(e),Array.isArray(e))for(let i=0;i>20;if(mi(e)||!e.multi){const A=new F(m,o,_s),$=Kf(d,t,o?D:D+_,w);-1===$?(Bl(Uu(u,s),i,d),Zf(i,e,t.length),t.push(d),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(A),s.push(A)):(n[$]=A,s[$]=A)}else{const A=Kf(d,t,D+_,w),$=Kf(d,t,D,D+_),ie=$>=0&&n[$];if(o&&!ie||!o&&!(A>=0&&n[A])){Bl(Uu(u,s),i,d);const ge=function H0(e,t,n,r,o){const i=new F(e,n,_s);return i.multi=[],i.index=t,i.componentProviders=0,Ry(i,o,r&&!n),i}(o?U0:V0,n.length,o,r,m);!o&&ie&&(n[$].providerFactory=ge),Zf(i,e,t.length,0),t.push(d),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(ge),s.push(ge)}else Zf(i,e,A>-1?A:$,Ry(n[o?$:A],m,!o&&r));!o&&r&&ie&&n[$].componentProviders++}}}function Zf(e,t,n,r){const o=mi(t),i=function WC(e){return!!e.useClass}(t);if(o||i){const d=(i?De(t.useClass):t).prototype.ngOnDestroy;if(d){const m=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const D=m.indexOf(n);-1===D?m.push(n,[r,d]):m[D+1].push(r,d)}else m.push(n,d)}}}function Ry(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Kf(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function $0(e,t,n){const r=Ue();if(r.firstCreatePass){const o=nn(e);qf(n,r.data,r.blueprint,o,!0),qf(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class _i{}class xy{}function B0(e,t){return new Jf(e,t??null,[])}class Jf extends _i{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new im(this);const o=qt(t);this._bootstrapComponents=Zn(o.bootstrap),this._r3Injector=cp(t,n,[{provide:_i,useValue:this},{provide:Ec,useValue:this.componentFactoryResolver},...r],Se(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Xf extends xy{constructor(t){super(),this.moduleType=t}create(t){return new Jf(this.moduleType,t,[])}}class Py extends _i{constructor(t){super(),this.componentFactoryResolver=new im(this),this.instance=null;const n=new vs([...t.providers,{provide:_i,useValue:this},{provide:Ec,useValue:this.componentFactoryResolver}],t.parent||Ju(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Fy(e,t,n=null){return new Py({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let G0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=ep(0,n.type),o=r.length>0?Fy([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=st({token:e,providedIn:"environment",factory:()=>new e(bt($r))})}return e})();function Ly(e){Ci("NgStandalone"),e.getStandaloneInjector=t=>t.get(G0).getOrCreateStandaloneInjector(e)}function zy(e,t,n,r,o){return Wy(B(),an(),e,t,n,r,o)}function cu(e,t){const n=e[t];return n===Pe?void 0:n}function Wy(e,t,n,r,o,i,s){const u=t+n;return wi(e,u,o,i)?Hr(e,u+2,s?r.call(s,o,i):r(o,i)):cu(e,u+2)}function Yy(e,t,n,r,o,i,s,u){const d=t+n;return function Rc(e,t,n,r,o){const i=wi(e,t,n,r);return Bt(e,t+2,o)||i}(e,d,o,i,s)?Hr(e,d+3,u?r.call(u,o,i,s):r(o,i,s)):cu(e,d+3)}function Ky(e,t){const n=Ue();let r;const o=e+Me;n.firstCreatePass?(r=function dS(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=eo(r.type)),u=Wt(_s);try{const d=Vu(!1),m=i();return Vu(d),function S0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,B(),o,m),m}finally{Wt(u)}}function Qy(e,t,n){const r=e+Me,o=B(),i=zn(o,r);return lu(o,r)?function Gy(e,t,n,r,o,i){const s=t+n;return Bt(e,s,o)?Hr(e,s+1,i?r.call(i,o):r(o)):cu(e,s+1)}(o,an(),t,i.transform,n,i):i.transform(n)}function Jy(e,t,n,r){const o=e+Me,i=B(),s=zn(i,o);return lu(i,o)?Wy(i,an(),t,s.transform,n,r,s):s.transform(n,r)}function Xy(e,t,n,r,o){const i=e+Me,s=B(),u=zn(s,i);return lu(s,i)?Yy(s,an(),t,u.transform,n,r,o,u):u.transform(n,r,o)}function lu(e,t){return e[te].data[t].pure}function pS(){return this._results[Symbol.iterator]()}class th{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Ur)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=th.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=pS)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Rn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function SC(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{static#e=this.__NG_ELEMENT_ID__=vS}return e})();const gS=du,mS=class extends gS{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const o=function Xa(e,t,n,r){const o=t.tView,u=bc(e,o,n,4096&e[Ce]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);u[Ro]=e[t.index];const m=e[sn];return null!==m&&(u[sn]=m.createEmbeddedView(o)),sf(o,u,n),u}(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new Wa(o)}};function vS(){return tl(ut(),B())}function tl(e,t){return 4&e.type?new mS(t,e,Ms(e,t)):null}class nh{constructor(t){this.queryList=t,this.matches=null}clone(){return new nh(this.queryList)}setDirty(){this.queryList.setDirty()}}class rh{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[u/2]);else{const m=i[u+1],D=t[-d];for(let w=_t;w{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=Qe(bD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Hf(i))n.push(i);else if(Jv(i)){const s=new Promise((u,d)=>{i.subscribe({complete:u,error:d})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const rl=new ke("LocaleId",{providedIn:"root",factory:()=>Qe(rl,Ge.Optional|Ge.SkipSelf)||function WS(){return typeof $localize<"u"&&$localize.locale||Zs}()}),YS=new ke("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let SD=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Fn.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class JS{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let XS=(()=>{class e{compileModuleSync(n){return new Xf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Zn(qt(n).declarations).reduce((s,u)=>{const d=Le(u);return d&&s.push(new Ya(d)),s},[]);return new JS(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const OD=new ke(""),xD=new ke("");let hh,bT=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hh||(function MT(e){hh=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ht.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(bt(Ht),bt(PD),bt(xD))};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac})}return e})(),PD=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return hh?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Bo=null;const FD=new ke("AllowMultipleToken"),ph=new ke("PlatformDestroyListeners"),gh=new ke("appBootstrapListener");function jD(e,t,n=[]){const r=`Platform: ${t}`,o=new ke(r);return(i=[])=>{let s=mh();if(!s||s.injector.get(FD,!1)){const u=[...n,...i,{provide:o,useValue:!0}];e?e(u):function TT(e){if(Bo&&!Bo.get(FD,!1))throw new de(400,!1);(function LD(){!function Oe(e){ve=e}(()=>{throw new de(600,!1)})})(),Bo=e;const t=e.get(VD);(function kD(e){e.get(fp,null)?.forEach(n=>n())})(e)}(function $D(e=[],t){return dr.create({name:t,providers:[{provide:ed,useValue:"platform"},{provide:ph,useValue:new Set([()=>Bo=null])},...e]})}(u,r))}return function NT(e){const t=mh();if(!t)throw new de(401,!1);return t}()}}function mh(){return Bo?.get(VD)??null}let VD=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function RT(e="zone.js",t){return"noop"===e?new XI:"zone.js"===e?new Ht(t):e}(r?.ngZone,function UD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function z0(e,t,n){return new Jf(e,t,n)}(n.moduleType,this.injector,function WD(e){return[{provide:Ht,useFactory:e},{provide:ms,multi:!0,useFactory:()=>{const t=Qe(xT,{optional:!0});return()=>t.initialize()}},{provide:GD,useFactory:OT},{provide:Jg,useFactory:Xg}]}(()=>o)),s=i.injector.get(Vo,null);return o.runOutsideAngular(()=>{const u=o.onError.subscribe({next:d=>{s.handleError(d)}});i.onDestroy(()=>{il(this._modules,i),u.unsubscribe()})}),function HD(e,t,n){try{const r=n();return Hf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const u=i.injector.get(dh);return u.runInitializers(),u.donePromise.then(()=>(function Tv(e){$t(e,"Expected localeId to be defined"),"string"==typeof e&&(Sv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(rl,Zs)||Zs),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=BD({},r);return function _T(e,t,n){const r=new Xf(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Js);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new de(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new de(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ph,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(bt(dr))};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function BD(e,t){return Array.isArray(t)?t.reduce(BD,e):{...e,...t}}let Js=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Qe(GD),this.zoneIsStable=Qe(Jg),this.componentTypes=[],this.components=[],this.isStable=Qe(SD).hasPendingTasks.pipe((0,Ln.w)(n=>n?(0,Qn.of)(!1):this.zoneIsStable),function Gr(e,t){return n=>n.lift(new on(e,t))}(),pr()),this._injector=Qe($r)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof ug;if(!this._injector.get(dh).done)throw!o&&or(n),new de(405,!1);let s;s=o?n:this._injector.get(Ec).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const u=function ST(e){return e.isBoundToModule}(s)?void 0:this._injector.get(_i),m=s.create(dr.NULL,[],r||s.selector,u),D=m.location.nativeElement,w=m.injector.get(OD,null);return w?.registerApplication(D),m.onDestroy(()=>{this.detachView(m.hostView),il(this.components,m),w?.unregisterApplication(D)}),this._loadComponent(m),m}tick(){if(this._runningTick)throw new de(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;il(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(gh,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>il(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new de(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function il(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const GD=new ke("",{providedIn:"root",factory:()=>Qe(Vo).handleError.bind(void 0)});function OT(){const e=Qe(Ht),t=Qe(Vo);return n=>e.runOutsideAngular(()=>t.handleError(n))}let xT=(()=>{class e{constructor(){this.zone=Qe(Ht),this.applicationRef=Qe(Js)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=st({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function LT(){}const UT=jD(null,"core",[]);let HT=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(bt(Js))};static#t=this.\u0275mod=ii({type:e});static#n=this.\u0275inj=yo({})}return e})();function cA(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function dA(e){const t=Le(e);if(!t)return null;const n=new Ya(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6593:(Re,ne,S)=>{"use strict";S.d(ne,{Dx:()=>Qn,H7:()=>ho,b2:()=>en,q6:()=>_r});var g=S(7446),R=S(6814);class X extends R.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class K extends X{static makeCurrent(){(0,R.HT)(new K)}onAndCancel(P,M,N){return P.addEventListener(M,N),()=>{P.removeEventListener(M,N)}}dispatchEvent(P,M){P.dispatchEvent(M)}remove(P){P.parentNode&&P.parentNode.removeChild(P)}createElement(P,M){return(M=M||this.getDefaultDocument()).createElement(P)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(P){return P.nodeType===Node.ELEMENT_NODE}isShadowRoot(P){return P instanceof DocumentFragment}getGlobalEventTarget(P,M){return"window"===M?window:"document"===M?P:"body"===M?P.body:null}getBaseHref(P){const M=function V(){return k=k||document.querySelector("base"),k?k.getAttribute("href"):null}();return null==M?null:function J(U){ue=ue||document.createElement("a"),ue.setAttribute("href",U);const P=ue.pathname;return"/"===P.charAt(0)?P:`/${P}`}(M)}resetBaseElement(){k=null}getUserAgent(){return window.navigator.userAgent}getCookie(P){return(0,R.Mx)(document.cookie,P)}}let ue,k=null,x=(()=>{class U{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(N){return new(N||U)};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const O=new g.OlP("EventManagerPlugins");let T=(()=>{class U{constructor(M,N){this._zone=N,this._eventNameToPlugin=new Map,M.forEach(H=>{H.manager=this}),this._plugins=M.slice().reverse()}addEventListener(M,N,H){return this._findPluginFor(N).addEventListener(M,N,H)}getZone(){return this._zone}_findPluginFor(M){let N=this._eventNameToPlugin.get(M);if(N)return N;if(N=this._plugins.find(Y=>Y.supports(M)),!N)throw new g.vHH(5101,!1);return this._eventNameToPlugin.set(M,N),N}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(O),g.LFG(g.R0b))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();class z{constructor(P){this._doc=P}}const Q="ng-app-id";let ce=(()=>{class U{constructor(M,N,H,Y={}){this.doc=M,this.appId=N,this.nonce=H,this.platformId=Y,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,R.PM)(Y),this.resetHostNodes()}addStyles(M){for(const N of M)1===this.changeUsageCount(N,1)&&this.onStyleAdded(N)}removeStyles(M){for(const N of M)this.changeUsageCount(N,-1)<=0&&this.onStyleRemoved(N)}ngOnDestroy(){const M=this.styleNodesInDOM;M&&(M.forEach(N=>N.remove()),M.clear());for(const N of this.getAllStyles())this.onStyleRemoved(N);this.resetHostNodes()}addHost(M){this.hostNodes.add(M);for(const N of this.getAllStyles())this.addStyleToHost(M,N)}removeHost(M){this.hostNodes.delete(M)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(M){for(const N of this.hostNodes)this.addStyleToHost(N,M)}onStyleRemoved(M){const N=this.styleRef;N.get(M)?.elements?.forEach(H=>H.remove()),N.delete(M)}collectServerRenderedStyles(){const M=this.doc.head?.querySelectorAll(`style[${Q}="${this.appId}"]`);if(M?.length){const N=new Map;return M.forEach(H=>{null!=H.textContent&&N.set(H.textContent,H)}),N}return null}changeUsageCount(M,N){const H=this.styleRef;if(H.has(M)){const Y=H.get(M);return Y.usage+=N,Y.usage}return H.set(M,{usage:N,elements:[]}),N}getStyleElement(M,N){const H=this.styleNodesInDOM,Y=H?.get(N);if(Y?.parentNode===M)return H.delete(N),Y.removeAttribute(Q),Y;{const oe=this.doc.createElement("style");return this.nonce&&oe.setAttribute("nonce",this.nonce),oe.textContent=N,this.platformIsServer&&oe.setAttribute(Q,this.appId),M.appendChild(oe),oe}}addStyleToHost(M,N){const H=this.getStyleElement(M,N),Y=this.styleRef,oe=Y.get(N)?.elements;oe?oe.push(H):Y.set(N,{elements:[H],usage:1})}resetHostNodes(){const M=this.hostNodes;M.clear(),M.add(this.doc.head)}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(R.K0),g.LFG(g.AFp),g.LFG(g.Ojb,8),g.LFG(g.Lbi))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const re={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},fe=/%COMP%/g,Tt=new g.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function lt(U,P){return P.map(M=>M.replace(fe,U))}let Ke=(()=>{class U{constructor(M,N,H,Y,oe,ot,ze,Ot=null){this.eventManager=M,this.sharedStylesHost=N,this.appId=H,this.removeStylesOnCompDestroy=Y,this.doc=oe,this.platformId=ot,this.ngZone=ze,this.nonce=Ot,this.rendererByCompId=new Map,this.platformIsServer=(0,R.PM)(ot),this.defaultRenderer=new he(M,oe,ze,this.platformIsServer)}createRenderer(M,N){if(!M||!N)return this.defaultRenderer;this.platformIsServer&&N.encapsulation===g.ifc.ShadowDom&&(N={...N,encapsulation:g.ifc.Emulated});const H=this.getOrCreateRenderer(M,N);return H instanceof we?H.applyToHost(M):H instanceof ve&&H.applyStyles(),H}getOrCreateRenderer(M,N){const H=this.rendererByCompId;let Y=H.get(N.id);if(!Y){const oe=this.doc,ot=this.ngZone,ze=this.eventManager,Ot=this.sharedStylesHost,_n=this.removeStylesOnCompDestroy,Sn=this.platformIsServer;switch(N.encapsulation){case g.ifc.Emulated:Y=new we(ze,Ot,N,this.appId,_n,oe,ot,Sn);break;case g.ifc.ShadowDom:return new le(ze,Ot,M,N,oe,ot,this.nonce,Sn);default:Y=new ve(ze,Ot,N,_n,oe,ot,Sn)}H.set(N.id,Y)}return Y}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(T),g.LFG(ce),g.LFG(g.AFp),g.LFG(Tt),g.LFG(R.K0),g.LFG(g.Lbi),g.LFG(g.R0b),g.LFG(g.Ojb))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();class he{constructor(P,M,N,H){this.eventManager=P,this.doc=M,this.ngZone=N,this.platformIsServer=H,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(P,M){return M?this.doc.createElementNS(re[M]||M,P):this.doc.createElement(P)}createComment(P){return this.doc.createComment(P)}createText(P){return this.doc.createTextNode(P)}appendChild(P,M){(me(P)?P.content:P).appendChild(M)}insertBefore(P,M,N){P&&(me(P)?P.content:P).insertBefore(M,N)}removeChild(P,M){P&&P.removeChild(M)}selectRootElement(P,M){let N="string"==typeof P?this.doc.querySelector(P):P;if(!N)throw new g.vHH(-5104,!1);return M||(N.textContent=""),N}parentNode(P){return P.parentNode}nextSibling(P){return P.nextSibling}setAttribute(P,M,N,H){if(H){M=H+":"+M;const Y=re[H];Y?P.setAttributeNS(Y,M,N):P.setAttribute(M,N)}else P.setAttribute(M,N)}removeAttribute(P,M,N){if(N){const H=re[N];H?P.removeAttributeNS(H,M):P.removeAttribute(`${N}:${M}`)}else P.removeAttribute(M)}addClass(P,M){P.classList.add(M)}removeClass(P,M){P.classList.remove(M)}setStyle(P,M,N,H){H&(g.JOm.DashCase|g.JOm.Important)?P.style.setProperty(M,N,H&g.JOm.Important?"important":""):P.style[M]=N}removeStyle(P,M,N){N&g.JOm.DashCase?P.style.removeProperty(M):P.style[M]=""}setProperty(P,M,N){null!=P&&(P[M]=N)}setValue(P,M){P.nodeValue=M}listen(P,M,N){if("string"==typeof P&&!(P=(0,R.q)().getGlobalEventTarget(this.doc,P)))throw new Error(`Unsupported event target ${P} for event ${M}`);return this.eventManager.addEventListener(P,M,this.decoratePreventDefault(N))}decoratePreventDefault(P){return M=>{if("__ngUnwrap__"===M)return P;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>P(M)):P(M))&&M.preventDefault()}}}function me(U){return"TEMPLATE"===U.tagName&&void 0!==U.content}class le extends he{constructor(P,M,N,H,Y,oe,ot,ze){super(P,Y,oe,ze),this.sharedStylesHost=M,this.hostEl=N,this.shadowRoot=N.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ot=lt(H.id,H.styles);for(const _n of Ot){const Sn=document.createElement("style");ot&&Sn.setAttribute("nonce",ot),Sn.textContent=_n,this.shadowRoot.appendChild(Sn)}}nodeOrShadowRoot(P){return P===this.hostEl?this.shadowRoot:P}appendChild(P,M){return super.appendChild(this.nodeOrShadowRoot(P),M)}insertBefore(P,M,N){return super.insertBefore(this.nodeOrShadowRoot(P),M,N)}removeChild(P,M){return super.removeChild(this.nodeOrShadowRoot(P),M)}parentNode(P){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(P)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ve extends he{constructor(P,M,N,H,Y,oe,ot,ze){super(P,Y,oe,ot),this.sharedStylesHost=M,this.removeStylesOnCompDestroy=H,this.styles=ze?lt(ze,N.styles):N.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class we extends ve{constructor(P,M,N,H,Y,oe,ot,ze){const Ot=H+"-"+N.id;super(P,M,N,Y,oe,ot,ze,Ot),this.contentAttr=function $e(U){return"_ngcontent-%COMP%".replace(fe,U)}(Ot),this.hostAttr=function be(U){return"_nghost-%COMP%".replace(fe,U)}(Ot)}applyToHost(P){this.applyStyles(),this.setAttribute(P,this.hostAttr,"")}createElement(P,M){const N=super.createElement(P,M);return super.setAttribute(N,this.contentAttr,""),N}}let Oe=(()=>{class U extends z{constructor(M){super(M)}supports(M){return!0}addEventListener(M,N,H){return M.addEventListener(N,H,!1),()=>this.removeEventListener(M,N,H)}removeEventListener(M,N,H){return M.removeEventListener(N,H)}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(R.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const Ee=["alt","control","meta","shift"],tt={"\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"},Ct={alt:U=>U.altKey,control:U=>U.ctrlKey,meta:U=>U.metaKey,shift:U=>U.shiftKey};let At=(()=>{class U extends z{constructor(M){super(M)}supports(M){return null!=U.parseEventName(M)}addEventListener(M,N,H){const Y=U.parseEventName(N),oe=U.eventCallback(Y.fullKey,H,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,R.q)().onAndCancel(M,Y.domEventName,oe))}static parseEventName(M){const N=M.toLowerCase().split("."),H=N.shift();if(0===N.length||"keydown"!==H&&"keyup"!==H)return null;const Y=U._normalizeKey(N.pop());let oe="",ot=N.indexOf("code");if(ot>-1&&(N.splice(ot,1),oe="code."),Ee.forEach(Ot=>{const _n=N.indexOf(Ot);_n>-1&&(N.splice(_n,1),oe+=Ot+".")}),oe+=Y,0!=N.length||0===Y.length)return null;const ze={};return ze.domEventName=H,ze.fullKey=oe,ze}static matchEventFullKeyCode(M,N){let H=tt[M.key]||M.key,Y="";return N.indexOf("code.")>-1&&(H=M.code,Y="code."),!(null==H||!H)&&(H=H.toLowerCase()," "===H?H="space":"."===H&&(H="dot"),Ee.forEach(oe=>{oe!==H&&(0,Ct[oe])(M)&&(Y+=oe+".")}),Y+=H,Y===N)}static eventCallback(M,N,H){return Y=>{U.matchEventFullKeyCode(Y,M)&&H.runGuarded(()=>N(Y))}}static _normalizeKey(M){return"esc"===M?"escape":M}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(R.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:U.\u0275fac})}return U})();const _r=(0,g.eFA)(g._c5,"browser",[{provide:g.Lbi,useValue:R.bD},{provide:g.g9A,useValue:function ft(){K.makeCurrent()},multi:!0},{provide:R.K0,useFactory:function wn(){return(0,g.RDi)(document),document},deps:[]}]),ao=new g.OlP(""),uo=[{provide:g.rWj,useClass:class G{addToWindow(P){g.dqk.getAngularTestability=(N,H=!0)=>{const Y=P.findTestabilityInTree(N,H);if(null==Y)throw new g.vHH(5103,!1);return Y},g.dqk.getAllAngularTestabilities=()=>P.getAllTestabilities(),g.dqk.getAllAngularRootElements=()=>P.getAllRootElements(),g.dqk.frameworkStabilizers||(g.dqk.frameworkStabilizers=[]),g.dqk.frameworkStabilizers.push(N=>{const H=g.dqk.getAllAngularTestabilities();let Y=H.length,oe=!1;const ot=function(ze){oe=oe||ze,Y--,0==Y&&N(oe)};H.forEach(ze=>{ze.whenStable(ot)})})}findTestabilityInTree(P,M,N){return null==M?null:P.getTestability(M)??(N?(0,R.q)().isShadowRoot(M)?this.findTestabilityInTree(P,M.host,!0):this.findTestabilityInTree(P,M.parentElement,!0):null)}},deps:[]},{provide:g.lri,useClass:g.dDg,deps:[g.R0b,g.eoX,g.rWj]},{provide:g.dDg,useClass:g.dDg,deps:[g.R0b,g.eoX,g.rWj]}],Sr=[{provide:g.zSh,useValue:"root"},{provide:g.qLn,useFactory:function En(){return new g.qLn},deps:[]},{provide:O,useClass:Oe,multi:!0,deps:[R.K0,g.R0b,g.Lbi]},{provide:O,useClass:At,multi:!0,deps:[R.K0]},Ke,ce,T,{provide:g.FYo,useExisting:Ke},{provide:R.JF,useClass:x,deps:[]},[]];let en=(()=>{class U{constructor(M){}static withServerTransition(M){return{ngModule:U,providers:[{provide:g.AFp,useValue:M.appId}]}}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(ao,12))};static#t=this.\u0275mod=g.oAB({type:U});static#n=this.\u0275inj=g.cJS({providers:[...Sr,...uo],imports:[R.ez,g.hGG]})}return U})(),Qn=(()=>{class U{constructor(M){this._doc=M}getTitle(){return this._doc.title}setTitle(M){this._doc.title=M||""}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(R.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:function(N){let H=null;return H=N?new N:function Fn(){return new Qn((0,g.LFG)(R.K0))}(),H},providedIn:"root"})}return U})();typeof window<"u"&&window;let ho=(()=>{class U{static#e=this.\u0275fac=function(N){return new(N||U)};static#t=this.\u0275prov=g.Yz7({token:U,factory:function(N){let H=null;return H=N?new(N||U):g.LFG(De),H},providedIn:"root"})}return U})(),De=(()=>{class U extends ho{constructor(M){super(),this._doc=M}sanitize(M,N){if(null==N)return null;switch(M){case g.q3G.NONE:return N;case g.q3G.HTML:return(0,g.qzn)(N,"HTML")?(0,g.z3N)(N):(0,g.EiD)(this._doc,String(N)).toString();case g.q3G.STYLE:return(0,g.qzn)(N,"Style")?(0,g.z3N)(N):N;case g.q3G.SCRIPT:if((0,g.qzn)(N,"Script"))return(0,g.z3N)(N);throw new g.vHH(5200,!1);case g.q3G.URL:return(0,g.qzn)(N,"URL")?(0,g.z3N)(N):(0,g.mCW)(String(N));case g.q3G.RESOURCE_URL:if((0,g.qzn)(N,"ResourceURL"))return(0,g.z3N)(N);throw new g.vHH(5201,!1);default:throw new g.vHH(5202,!1)}}bypassSecurityTrustHtml(M){return(0,g.JVY)(M)}bypassSecurityTrustStyle(M){return(0,g.L6k)(M)}bypassSecurityTrustScript(M){return(0,g.eBb)(M)}bypassSecurityTrustUrl(M){return(0,g.LAX)(M)}bypassSecurityTrustResourceUrl(M){return(0,g.pB0)(M)}static#e=this.\u0275fac=function(N){return new(N||U)(g.LFG(R.K0))};static#t=this.\u0275prov=g.Yz7({token:U,factory:function(N){let H=null;return H=N?new N:function kn(U){return new De(U.get(R.K0))}(g.LFG(g.zs3)),H},providedIn:"root"})}return U})()},4469:(Re,ne,S)=>{"use strict";S.d(ne,{F0:()=>Nn,rH:()=>Ue,Bz:()=>ba,lC:()=>Ao});var g=S(7446),R=S(4699),K=S(5253),k=S(9193),V=S(5125),ue=S(9759),J=S(1280),G=S(254);class x extends G.L{notifyNext(l,a,h,v,E){this.destination.next(a)}notifyError(l,a){this.destination.error(l)}notifyComplete(l){this.destination.complete()}}class O extends G.L{constructor(l,a,h){super(),this.parent=l,this.outerValue=a,this.outerIndex=h,this.index=0}_next(l){this.parent.notifyNext(this.outerValue,l,this.outerIndex,this.index++,this)}_error(l){this.parent.notifyError(l,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var T=S(4372);function z(c,l,a,h,v=new O(c,a,h)){if(!v.closed)return l instanceof R.y?l.subscribe(v):(0,T.s)(l)(v)}var Q=S(2594);const ce={};function re(...c){let l,a;return(0,ue.K)(c[c.length-1])&&(a=c.pop()),"function"==typeof c[c.length-1]&&(l=c.pop()),1===c.length&&(0,J.k)(c[0])&&(c=c[0]),(0,Q.n)(c,a).lift(new fe(l))}class fe{constructor(l){this.resultSelector=l}call(l,a){return a.subscribe(new Ye(l,this.resultSelector))}}class Ye extends x{constructor(l,a){super(l),this.resultSelector=a,this.active=0,this.values=[],this.observables=[]}_next(l){this.values.push(ce),this.observables.push(l)}_complete(){const l=this.observables,a=l.length;if(0===a)this.destination.complete();else{this.active=a,this.toRespond=a;for(let h=0;h{function c(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return c.prototype=Object.create(Error.prototype),c})();var Dt=S(7449);function $e(...c){return function Tt(){return(0,Dt.J)(1)}()((0,k.of)(...c))}const be=new R.y(c=>c.complete());function lt(c){return c?function Ke(c){return new R.y(l=>c.schedule(()=>l.complete()))}(c):be}function he(c){return new R.y(l=>{let a;try{a=c()}catch(v){return void l.error(v)}return(a?(0,K.D)(a):lt()).subscribe(l)})}var ee=S(4813);function ae(c,l){return new R.y(l?a=>l.schedule(me,0,{error:c,subscriber:a}):a=>a.error(c))}function me({error:c,subscriber:l}){l.error(c)}var le=S(4247),ve=S(8152),we=S(7902),Oe=S(6814),Ee=S(6124),tt=S(5222);const At=(()=>{function c(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return c.prototype=Object.create(Error.prototype),c})();function Ft(c){return l=>0===c?lt():l.lift(new It(c))}class It{constructor(l){if(this.total=l,this.total<0)throw new At}call(l,a){return a.subscribe(new pn(l,this.total))}}class pn extends G.L{constructor(l,a){super(l),this.total=a,this.count=0}_next(l){const a=this.total,h=++this.count;h<=a&&(this.destination.next(l),h===a&&(this.destination.complete(),this.unsubscribe()))}}function ft(c,l){return function(h){return h.lift(new En(c,l))}}class En{constructor(l,a){this.predicate=l,this.thisArg=a}call(l,a){return a.subscribe(new wn(l,this.predicate,this.thisArg))}}class wn extends G.L{constructor(l,a,h){super(l),this.predicate=a,this.thisArg=h,this.count=0}_next(l){let a;try{a=this.predicate.call(this.thisArg,l,this.count++)}catch(h){return void this.destination.error(h)}a&&this.destination.next(l)}}var Et=S(6743);function _r(c=null){return l=>l.lift(new ao(c))}class ao{constructor(l){this.defaultValue=l}call(l,a){return a.subscribe(new uo(l,this.defaultValue))}}class uo extends G.L{constructor(l,a){super(l),this.defaultValue=a,this.isEmpty=!0}_next(l){this.isEmpty=!1,this.destination.next(l)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Sr(c=zo){return l=>l.lift(new en(c))}class en{constructor(l){this.errorFactory=l}call(l,a){return a.subscribe(new co(l,this.errorFactory))}}class co extends G.L{constructor(l,a){super(l),this.errorFactory=a,this.hasValue=!1}_next(l){this.hasValue=!0,this.destination.next(l)}_complete(){if(this.hasValue)return this.destination.complete();{let l;try{l=this.errorFactory()}catch(a){l=a}this.destination.error(l)}}}function zo(){return new rt}var Go=S(158);function Fn(c,l){const a=arguments.length>=2;return h=>h.pipe(c?ft((v,E)=>c(v,E,h)):Go.y,Ft(1),a?_r(l):Sr(()=>new rt))}function Qn(c,l){return(0,Et.zg)(c,l,1)}function Gt(){}var In=S(8594);function dt(c,l,a){return function(v){return v.lift(new qe(c,l,a))}}class qe{constructor(l,a,h){this.nextOrObserver=l,this.error=a,this.complete=h}call(l,a){return a.subscribe(new Be(l,this.nextOrObserver,this.error,this.complete))}}class Be extends G.L{constructor(l,a,h,v){super(l),this._tapNext=Gt,this._tapError=Gt,this._tapComplete=Gt,this._tapError=h||Gt,this._tapComplete=v||Gt,(0,In.m)(a)?(this._context=this,this._tapNext=a):a&&(this._context=a,this._tapNext=a.next||Gt,this._tapError=a.error||Gt,this._tapComplete=a.complete||Gt)}_next(l){try{this._tapNext.call(this._context,l)}catch(a){return void this.destination.error(a)}this.destination.next(l)}_error(l){try{this._tapError.call(this._context,l)}catch(a){return void this.destination.error(a)}this.destination.error(l)}_complete(){try{this._tapComplete.call(this._context)}catch(l){return void this.destination.error(l)}return this.destination.complete()}}var pr=S(5846);function Ln(c){return function(a){const h=new bn(c),v=a.lift(h);return h.caught=v}}class bn{constructor(l){this.selector=l}call(l,a){return a.subscribe(new Gr(l,this.selector,this.caught))}}class Gr extends pr.Ds{constructor(l,a,h){super(l),this.selector=a,this.caught=h}error(l){if(!this.isStopped){let a;try{a=this.selector(l,this.caught)}catch(E){return void super.error(E)}this._unsubscribeAndRecycle();const h=new pr.IY(this);this.add(h);const v=(0,pr.ft)(a,h);v!==h&&this.add(v)}}}class Ai{constructor(l,a,h=!1){this.accumulator=l,this.seed=a,this.hasSeed=h}call(l,a){return a.subscribe(new Ie(l,this.accumulator,this.seed,this.hasSeed))}}class Ie extends G.L{constructor(l,a,h,v){super(l),this.accumulator=a,this._seed=h,this.hasSeed=v,this.index=0}get seed(){return this._seed}set seed(l){this.hasSeed=!0,this._seed=l}_next(l){if(this.hasSeed)return this._tryNext(l);this.seed=l,this.destination.next(l)}_tryNext(l){const a=this.index++;let h;try{h=this.accumulator(this.seed,l,a)}catch(v){this.destination.error(v)}this.seed=h,this.destination.next(h)}}function gr(c){return function(a){return 0===c?lt():a.lift(new Se(c))}}class Se{constructor(l){if(this.total=l,this.total<0)throw new At}call(l,a){return a.subscribe(new lo(l,this.total))}}class lo extends G.L{constructor(l,a){super(l),this.total=a,this.ring=new Array,this.count=0}_next(l){const a=this.ring,h=this.total,v=this.count++;a.length0){const h=this.count>=this.total?this.total:this.count,v=this.ring;for(let E=0;El.lift(new Tr(c))}class Tr{constructor(l){this.callback=l}call(l,a){return a.subscribe(new po(l,this.callback))}}class po extends G.L{constructor(l,a){super(l),this.add(new we.w(a))}}var mr=S(2851),de=S(9352),jn=S(6593);const Te="primary",Jn=Symbol("RouteTitle");class U{constructor(l){this.params=l||{}}has(l){return Object.prototype.hasOwnProperty.call(this.params,l)}get(l){if(this.has(l)){const a=this.params[l];return Array.isArray(a)?a[0]:a}return null}getAll(l){if(this.has(l)){const a=this.params[l];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function P(c){return new U(c)}function M(c,l,a){const h=a.path.split("/");if(h.length>c.length||"full"===a.pathMatch&&(l.hasChildren()||h.lengthh[E]===v)}return c===l}function ot(c){return c.length>0?c[c.length-1]:null}function ze(c){return function X(c){return!!c&&(c instanceof R.y||"function"==typeof c.lift&&"function"==typeof c.subscribe)}(c)?c:(0,g.QGY)(c)?(0,K.D)(Promise.resolve(c)):(0,k.of)(c)}const Ot={exact:function tn(c,l,a){if(!Xn(c.segments,l.segments)||!gn(c.segments,l.segments,a)||c.numberOfChildren!==l.numberOfChildren)return!1;for(const h in l.children)if(!c.children[h]||!tn(c.children[h],l.children[h],a))return!1;return!0},subset:Ni},_n={exact:function Wr(c,l){return H(c,l)},subset:function mu(c,l){return Object.keys(l).length<=Object.keys(c).length&&Object.keys(l).every(a=>oe(c[a],l[a]))},ignored:()=>!0};function Sn(c,l,a){return Ot[a.paths](c.root,l.root,a.matrixParams)&&_n[a.queryParams](c.queryParams,l.queryParams)&&!("exact"===a.fragment&&c.fragment!==l.fragment)}function Ni(c,l,a){return Wo(c,l,l.segments,a)}function Wo(c,l,a,h){if(c.segments.length>a.length){const v=c.segments.slice(0,a.length);return!(!Xn(v,a)||l.hasChildren()||!gn(v,a,h))}if(c.segments.length===a.length){if(!Xn(c.segments,a)||!gn(c.segments,a,h))return!1;for(const v in l.children)if(!c.children[v]||!Ni(c.children[v],l.children[v],h))return!1;return!0}{const v=a.slice(0,c.segments.length),E=a.slice(c.segments.length);return!!(Xn(c.segments,v)&&gn(c.segments,v,h)&&c.children[Te])&&Wo(c.children[Te],l,E,h)}}function gn(c,l,a){return l.every((h,v)=>_n[a](c[v].parameters,h.parameters))}class Yr{constructor(l=new it([],{}),a={},h=null){this.root=l,this.queryParams=a,this.fragment=h}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=P(this.queryParams)),this._queryParamMap}toString(){return $t.serialize(this)}}class it{constructor(l,a){this.segments=l,this.children=a,this.parent=null,Object.values(a).forEach(h=>h.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ye(this)}}class Ar{constructor(l,a){this.path=l,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=P(this.parameters)),this._parameterMap}toString(){return Zr(this)}}function Xn(c,l){return c.length===l.length&&c.every((a,h)=>a.path===l[h].path)}let qr=(()=>{class c{static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:()=>new Oi,providedIn:"root"})}return c})();class Oi{parse(l){const a=new xi(l);return new Yr(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(l){const a=`/${go(l.root,!0)}`,h=function Yo(c){const l=Object.keys(c).map(a=>{const h=c[a];return Array.isArray(h)?h.map(v=>`${mo(a)}=${mo(v)}`).join("&"):`${mo(a)}=${mo(h)}`}).filter(a=>!!a);return l.length?`?${l.join("&")}`:""}(l.queryParams);return`${a}${h}${"string"==typeof l.fragment?`#${function yu(c){return encodeURI(c)}(l.fragment)}`:""}`}}const $t=new Oi;function ye(c){return c.segments.map(l=>Zr(l)).join("/")}function go(c,l){if(!c.hasChildren())return ye(c);if(l){const a=c.children[Te]?go(c.children[Te],!1):"",h=[];return Object.entries(c.children).forEach(([v,E])=>{v!==Te&&h.push(`${v}:${go(E,!1)}`)}),h.length>0?`${a}(${h.join("//")})`:a}{const a=function vu(c,l){let a=[];return Object.entries(c.children).forEach(([h,v])=>{h===Te&&(a=a.concat(l(v,h)))}),Object.entries(c.children).forEach(([h,v])=>{h!==Te&&(a=a.concat(l(v,h)))}),a}(c,(h,v)=>v===Te?[go(c.children[Te],!1)]:[`${v}:${go(h,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[Te]?`${ye(c)}/${a[0]}`:`${ye(c)}/(${a.join("//")})`}}function ea(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mo(c){return ea(c).replace(/%3B/gi,";")}function st(c){return ea(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vo(c){return decodeURIComponent(c)}function yo(c){return vo(c.replace(/\+/g,"%20"))}function Zr(c){return`${st(c.path)}${function ta(c){return Object.keys(c).map(l=>`;${st(l)}=${st(c[l])}`).join("")}(c.parameters)}`}const na=/^[^\/()?;#]+/;function er(c){const l=c.match(na);return l?l[0]:""}const vr=/^[^\/()?;=#]+/,qo=/^[^=?&#]+/,Ge=/^[^&#]+/;class xi{constructor(l){this.url=l,this.remaining=l}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new it([],{}):new it([],this.parseChildren())}parseQueryParams(){const l={};if(this.consumeOptional("?"))do{this.parseQueryParam(l)}while(this.consumeOptional("&"));return l}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const l=[];for(this.peekStartsWith("(")||l.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),l.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let h={};return this.peekStartsWith("(")&&(h=this.parseParens(!1)),(l.length>0||Object.keys(a).length>0)&&(h[Te]=new it(l,a)),h}parseSegment(){const l=er(this.remaining);if(""===l&&this.peekStartsWith(";"))throw new g.vHH(4009,!1);return this.capture(l),new Ar(vo(l),this.parseMatrixParams())}parseMatrixParams(){const l={};for(;this.consumeOptional(";");)this.parseParam(l);return l}parseParam(l){const a=function Do(c){const l=c.match(vr);return l?l[0]:""}(this.remaining);if(!a)return;this.capture(a);let h="";if(this.consumeOptional("=")){const v=er(this.remaining);v&&(h=v,this.capture(h))}l[vo(a)]=vo(h)}parseQueryParam(l){const a=function Du(c){const l=c.match(qo);return l?l[0]:""}(this.remaining);if(!a)return;this.capture(a);let h="";if(this.consumeOptional("=")){const b=function Co(c){const l=c.match(Ge);return l?l[0]:""}(this.remaining);b&&(h=b,this.capture(h))}const v=yo(a),E=yo(h);if(l.hasOwnProperty(v)){let b=l[v];Array.isArray(b)||(b=[b],l[v]=b),b.push(E)}else l[v]=E}parseParens(l){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const h=er(this.remaining),v=this.remaining[h.length];if("/"!==v&&")"!==v&&";"!==v)throw new g.vHH(4010,!1);let E;h.indexOf(":")>-1?(E=h.slice(0,h.indexOf(":")),this.capture(E),this.capture(":")):l&&(E=Te);const b=this.parseChildren();a[E]=1===Object.keys(b).length?b[Te]:new it([],b),this.consumeOptional("//")}return a}peekStartsWith(l){return this.remaining.startsWith(l)}consumeOptional(l){return!!this.peekStartsWith(l)&&(this.remaining=this.remaining.substring(l.length),!0)}capture(l){if(!this.consumeOptional(l))throw new g.vHH(4011,!1)}}function Wt(c){return c.segments.length>0?new it([],{[Te]:c}):c}function Eo(c){const l={};for(const h of Object.keys(c.children)){const E=Eo(c.children[h]);if(h===Te&&0===E.segments.length&&E.hasChildren())for(const[b,L]of Object.entries(E.children))l[b]=L;else(E.segments.length>0||E.hasChildren())&&(l[h]=E)}return function hl(c){if(1===c.numberOfChildren&&c.children[Te]){const l=c.children[Te];return new it(c.segments.concat(l.segments),l.children)}return c}(new it(c.segments,l))}function Ve(c){return c instanceof Yr}function ra(c){let l;const v=Wt(function a(E){const b={};for(const F of E.children){const se=a(F);b[F.outlet]=se}const L=new it(E.url,b);return E===c&&(l=L),L}(c.root));return l??v}function ke(c,l,a,h){let v=c;for(;v.parent;)v=v.parent;if(0===l.length)return wo(v,v,v,a,h);const E=function Zo(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new Pi(!0,0,c);let l=0,a=!1;const h=c.reduce((v,E,b)=>{if("object"==typeof E&&null!=E){if(E.outlets){const L={};return Object.entries(E.outlets).forEach(([F,se])=>{L[F]="string"==typeof se?se.split("/"):se}),[...v,{outlets:L}]}if(E.segmentPath)return[...v,E.segmentPath]}return"string"!=typeof E?[...v,E]:0===b?(E.split("/").forEach((L,F)=>{0==F&&"."===L||(0==F&&""===L?a=!0:".."===L?l++:""!=L&&v.push(L))}),v):[...v,E]},[]);return new Pi(a,l,h)}(l);if(E.toRoot())return wo(v,v,new it([],{}),a,h);const b=function Eu(c,l,a){if(c.isAbsolute)return new Ko(l,!0,0);if(!a)return new Ko(l,!1,NaN);if(null===a.parent)return new Ko(a,!0,0);const h=Nr(c.commands[0])?0:1;return function wu(c,l,a){let h=c,v=l,E=a;for(;E>v;){if(E-=v,h=h.parent,!h)throw new g.vHH(4005,!1);v=h.segments.length}return new Ko(h,!1,v-E)}(a,a.segments.length-1+h,c.numberOfDoubleDots)}(E,v,c),L=b.processChildren?$n(b.segmentGroup,b.index,E.commands):oa(b.segmentGroup,b.index,E.commands);return wo(v,b.segmentGroup,L,a,h)}function Nr(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function tr(c){return"object"==typeof c&&null!=c&&c.outlets}function wo(c,l,a,h,v){let b,E={};h&&Object.entries(h).forEach(([F,se])=>{E[F]=Array.isArray(se)?se.map(xe=>`${xe}`):`${se}`}),b=c===l?a:Io(c,l,a);const L=Wt(Eo(b));return new Yr(L,E,v)}function Io(c,l,a){const h={};return Object.entries(c.children).forEach(([v,E])=>{h[v]=E===l?a:Io(E,l,a)}),new it(c.segments,h)}class Pi{constructor(l,a,h){if(this.isAbsolute=l,this.numberOfDoubleDots=a,this.commands=h,l&&h.length>0&&Nr(h[0]))throw new g.vHH(4003,!1);const v=h.find(tr);if(v&&v!==ot(h))throw new g.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ko{constructor(l,a,h){this.segmentGroup=l,this.processChildren=a,this.index=h}}function oa(c,l,a){if(c||(c=new it([],{})),0===c.segments.length&&c.hasChildren())return $n(c,l,a);const h=function Qo(c,l,a){let h=0,v=l;const E={match:!1,pathIndex:0,commandIndex:0};for(;v=a.length)return E;const b=c.segments[v],L=a[h];if(tr(L))break;const F=`${L}`,se=h0&&void 0===F)break;if(F&&se&&"object"==typeof se&&void 0===se.outlets){if(!Jo(F,se,b))return E;h+=2}else{if(!Jo(F,{},b))return E;h++}v++}return{match:!0,pathIndex:v,commandIndex:h}}(c,l,a),v=a.slice(h.commandIndex);if(h.match&&h.pathIndexE!==Te)&&c.children[Te]&&1===c.numberOfChildren&&0===c.children[Te].segments.length){const E=$n(c.children[Te],l,a);return new it(c.segments,E.children)}return Object.entries(h).forEach(([E,b])=>{"string"==typeof b&&(b=[b]),null!==b&&(v[E]=oa(c.children[E],l,b))}),Object.entries(c.children).forEach(([E,b])=>{void 0===h[E]&&(v[E]=b)}),new it(c.segments,v)}}function yr(c,l,a){const h=c.segments.slice(0,l);let v=0;for(;v{"string"==typeof h&&(h=[h]),null!==h&&(l[a]=yr(new it([],{}),0,h))}),l}function Fi(c){const l={};return Object.entries(c).forEach(([a,h])=>l[a]=`${h}`),l}function Jo(c,l,a){return c==a.path&&H(l,a.parameters)}const Rr="imperative";class Yt{constructor(l,a){this.id=l,this.url=a}}class bo extends Yt{constructor(l,a,h="imperative",v=null){super(l,a),this.type=0,this.navigationTrigger=h,this.restoredState=v}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xt extends Yt{constructor(l,a,h){super(l,a),this.urlAfterRedirects=h,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class nr extends Yt{constructor(l,a,h,v){super(l,a),this.reason=h,this.code=v,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bt extends Yt{constructor(l,a,h,v){super(l,a),this.reason=h,this.code=v,this.type=16}}class Mo extends Yt{constructor(l,a,h,v){super(l,a),this.error=h,this.target=v,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Qe extends Yt{constructor(l,a,h,v){super(l,a),this.urlAfterRedirects=h,this.state=v,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kr extends Yt{constructor(l,a,h,v){super(l,a),this.urlAfterRedirects=h,this.state=v,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xo extends Yt{constructor(l,a,h,v,E){super(l,a),this.urlAfterRedirects=h,this.state=v,this.shouldActivate=E,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Qr extends Yt{constructor(l,a,h,v){super(l,a),this.urlAfterRedirects=h,this.state=v,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sa extends Yt{constructor(l,a,h,v){super(l,a),this.urlAfterRedirects=h,this.state=v,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class bu{constructor(l){this.route=l,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class aa{constructor(l){this.route=l,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rr{constructor(l){this.snapshot=l,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ei{constructor(l){this.snapshot=l,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Dr{constructor(l){this.snapshot=l,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Tn{constructor(l){this.snapshot=l,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ze{constructor(l,a,h){this.routerEvent=l,this.position=a,this.anchor=h,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class _o{}class So{constructor(l){this.url=l}}class ca{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new mn,this.attachRef=null}}let mn=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,h){const v=this.getOrCreateContext(a);v.outlet=h,this.contexts.set(a,v)}onChildOutletDestroyed(a){const h=this.getContext(a);h&&(h.outlet=null,h.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let h=this.getContext(a);return h||(h=new ca,this.contexts.set(a,h)),h}getContext(a){return this.contexts.get(a)||null}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class Li{constructor(l){this._root=l}get root(){return this._root.value}parent(l){const a=this.pathFromRoot(l);return a.length>1?a[a.length-2]:null}children(l){const a=To(l,this._root);return a?a.children.map(h=>h.value):[]}firstChild(l){const a=To(l,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(l){const a=ti(l,this._root);return a.length<2?[]:a[a.length-2].children.map(v=>v.value).filter(v=>v!==l)}pathFromRoot(l){return ti(l,this._root).map(a=>a.value)}}function To(c,l){if(c===l.value)return l;for(const a of l.children){const h=To(c,a);if(h)return h}return null}function ti(c,l){if(c===l.value)return[l];for(const a of l.children){const h=ti(c,a);if(h.length)return h.unshift(l),h}return[]}class cn{constructor(l,a){this.value=l,this.children=a}toString(){return`TreeNode(${this.value})`}}function Vn(c){const l={};return c&&c.children.forEach(a=>l[a.value.outlet]=a),l}class ki extends Li{constructor(l,a){super(l),this.snapshot=a,ni(this,l)}toString(){return this.snapshot.toString()}}function vn(c,l){const a=function la(c,l){const b=new $i([],{},{},"",{},Te,l,null,{});return new Vi("",new cn(b,[]))}(0,l),h=new V.X([new Ar("",{})]),v=new V.X({}),E=new V.X({}),b=new V.X({}),L=new V.X(""),F=new Cr(h,v,b,L,E,Te,l,a.root);return F.snapshot=a.root,new ki(new cn(F,[]),a)}class Cr{constructor(l,a,h,v,E,b,L,F){this.urlSubject=l,this.paramsSubject=a,this.queryParamsSubject=h,this.fragmentSubject=v,this.dataSubject=E,this.outlet=b,this.component=L,this._futureSnapshot=F,this.title=this.dataSubject?.pipe((0,Ee.U)(se=>se[Jn]))??(0,k.of)(void 0),this.url=l,this.params=a,this.queryParams=h,this.fragment=v,this.data=E}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((0,Ee.U)(l=>P(l)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Ee.U)(l=>P(l)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ji(c,l,a="emptyOnly"){let h;const{routeConfig:v}=c;return h=null===l||"always"!==a&&""!==v?.path&&(l.component||l.routeConfig?.loadComponent)?{params:c.params,data:c.data,resolve:{...c.data,...c._resolvedData??{}}}:{params:{...l.params,...c.params},data:{...l.data,...c.data},resolve:{...c.data,...l.data,...v?.data,...c._resolvedData}},v&&Bi(v)&&(h.resolve[Jn]=v.title),h}class $i{get title(){return this.data?.[Jn]}constructor(l,a,h,v,E,b,L,F,se){this.url=l,this.params=a,this.queryParams=h,this.fragment=v,this.data=E,this.outlet=b,this.component=L,this.routeConfig=F,this._resolve=se}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=P(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=P(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(h=>h.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Vi extends Li{constructor(l,a){super(a),this.url=l,ni(this,a)}toString(){return ri(this._root)}}function ni(c,l){l.value._routerState=c,l.children.forEach(a=>ni(c,a))}function ri(c){const l=c.children.length>0?` { ${c.children.map(ri).join(", ")} } `:"";return`${c.value}${l}`}function Ui(c){if(c.snapshot){const l=c.snapshot,a=c._futureSnapshot;c.snapshot=a,H(l.queryParams,a.queryParams)||c.queryParamsSubject.next(a.queryParams),l.fragment!==a.fragment&&c.fragmentSubject.next(a.fragment),H(l.params,a.params)||c.paramsSubject.next(a.params),function N(c,l){if(c.length!==l.length)return!1;for(let a=0;aH(a.parameters,l[h].parameters))}(c.url,l.url);return a&&!(!c.parent!=!l.parent)&&(!c.parent||Hi(c.parent,l.parent))}function Bi(c){return"string"==typeof c.title||null===c.title}let Ao=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=Te,this.activateEvents=new g.vpe,this.deactivateEvents=new g.vpe,this.attachEvents=new g.vpe,this.detachEvents=new g.vpe,this.parentContexts=(0,g.f3M)(mn),this.location=(0,g.f3M)(g.s_b),this.changeDetector=(0,g.f3M)(g.sBO),this.environmentInjector=(0,g.f3M)(g.lqb),this.inputBinder=(0,g.f3M)(oi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(a){if(a.name){const{firstChange:h,previousValue:v}=a.name;if(h)return;this.isTrackedInParentContexts(v)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(v)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(a){return this.parentContexts.getContext(a)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const a=this.parentContexts.getContext(this.name);a?.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new g.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new g.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new g.vHH(4012,!1);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,h){this.activated=a,this._activatedRoute=h,this.location.insert(a.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,h){if(this.isActivated)throw new g.vHH(4013,!1);this._activatedRoute=a;const v=this.location,b=a.snapshot.component,L=this.parentContexts.getOrCreateContext(this.name).children,F=new da(a,L,v.injector);this.activated=v.createComponent(b,{index:v.length,injector:F,environmentInjector:h??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275dir=g.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[g.TTD]})}return c})();class da{constructor(l,a,h){this.route=l,this.childContexts=a,this.parent=h}get(l,a){return l===Cr?this.route:l===mn?this.childContexts:this.parent.get(l,a)}}const oi=new g.OlP("");let ii=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(a){this.unsubscribeFromRouteData(a),this.subscribeToRouteData(a)}unsubscribeFromRouteData(a){this.outletDataSubscriptions.get(a)?.unsubscribe(),this.outletDataSubscriptions.delete(a)}subscribeToRouteData(a){const{activatedRoute:h}=a,v=re([h.queryParams,h.params,h.data]).pipe((0,tt.w)(([E,b,L],F)=>(L={...E,...b,...L},0===F?(0,k.of)(L):Promise.resolve(L)))).subscribe(E=>{if(!a.isActivated||!a.activatedComponentRef||a.activatedRoute!==h||null===h.component)return void this.unsubscribeFromRouteData(a);const b=(0,g.qFp)(h.component);if(b)for(const{templateName:L}of b.inputs)a.activatedComponentRef.setInput(L,E[L]);else this.unsubscribeFromRouteData(a)});this.outletDataSubscriptions.set(a,v)}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac})}return c})();function Or(c,l,a){if(a&&c.shouldReuseRoute(l.value,a.value.snapshot)){const h=a.value;h._futureSnapshot=l.value;const v=function Gi(c,l,a){return l.children.map(h=>{for(const v of a.children)if(c.shouldReuseRoute(h.value,v.value.snapshot))return Or(c,h,v);return Or(c,h)})}(c,l,a);return new cn(h,v)}{if(c.shouldAttach(l.value)){const E=c.retrieve(l.value);if(null!==E){const b=E.route;return b.value._futureSnapshot=l.value,b.children=l.children.map(L=>Or(c,L)),b}}const h=function Le(c){return new Cr(new V.X(c.url),new V.X(c.params),new V.X(c.queryParams),new V.X(c.fragment),new V.X(c.data),c.outlet,c.component,c)}(l.value),v=l.children.map(E=>Or(c,E));return new cn(h,v)}}const Mt="ngNavigationCancelingError";function Fe(c,l){const{redirectTo:a,navigationBehaviorOptions:h}=Ve(l)?{redirectTo:l,navigationBehaviorOptions:void 0}:l,v=or(!1,0,l);return v.url=a,v.navigationBehaviorOptions=h,v}function or(c,l,a){const h=new Error("NavigationCancelingError: "+(c||""));return h[Mt]=!0,h.cancellationCode=l,a&&(h.url=a),h}function Wi(c){return c&&c[Mt]}let Yi=(()=>{class c{static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275cmp=g.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[g.jDz],decls:1,vars:0,template:function(h,v){1&h&&g._UZ(0,"router-outlet")},dependencies:[Ao],encapsulation:2})}return c})();function dn(c){const l=c.children&&c.children.map(dn),a=l?{...c,children:l}:{...c};return!a.component&&!a.loadComponent&&(l||a.loadChildren)&&a.outlet&&a.outlet!==Te&&(a.component=Yi),a}function Lt(c){return c.outlet||Te}function Pt(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let l=c.parent;l;l=l.parent){const a=l.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class xr{constructor(l,a,h,v,E){this.routeReuseStrategy=l,this.futureState=a,this.currState=h,this.forwardEvent=v,this.inputBindingEnabled=E}activate(l){const a=this.futureState._root,h=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,h,l),Ui(this.futureState.root),this.activateChildRoutes(a,h,l)}deactivateChildRoutes(l,a,h){const v=Vn(a);l.children.forEach(E=>{const b=E.value.outlet;this.deactivateRoutes(E,v[b],h),delete v[b]}),Object.values(v).forEach(E=>{this.deactivateRouteAndItsChildren(E,h)})}deactivateRoutes(l,a,h){const v=l.value,E=a?a.value:null;if(v===E)if(v.component){const b=h.getContext(v.outlet);b&&this.deactivateChildRoutes(l,a,b.children)}else this.deactivateChildRoutes(l,a,h);else E&&this.deactivateRouteAndItsChildren(a,h)}deactivateRouteAndItsChildren(l,a){l.value.component&&this.routeReuseStrategy.shouldDetach(l.value.snapshot)?this.detachAndStoreRouteSubtree(l,a):this.deactivateRouteAndOutlet(l,a)}detachAndStoreRouteSubtree(l,a){const h=a.getContext(l.value.outlet),v=h&&l.value.component?h.children:a,E=Vn(l);for(const b of Object.keys(E))this.deactivateRouteAndItsChildren(E[b],v);if(h&&h.outlet){const b=h.outlet.detach(),L=h.children.onOutletDeactivated();this.routeReuseStrategy.store(l.value.snapshot,{componentRef:b,route:l,contexts:L})}}deactivateRouteAndOutlet(l,a){const h=a.getContext(l.value.outlet),v=h&&l.value.component?h.children:a,E=Vn(l);for(const b of Object.keys(E))this.deactivateRouteAndItsChildren(E[b],v);h&&(h.outlet&&(h.outlet.deactivate(),h.children.onOutletDeactivated()),h.attachRef=null,h.route=null)}activateChildRoutes(l,a,h){const v=Vn(a);l.children.forEach(E=>{this.activateRoutes(E,v[E.value.outlet],h),this.forwardEvent(new Tn(E.value.snapshot))}),l.children.length&&this.forwardEvent(new ei(l.value.snapshot))}activateRoutes(l,a,h){const v=l.value,E=a?a.value:null;if(Ui(v),v===E)if(v.component){const b=h.getOrCreateContext(v.outlet);this.activateChildRoutes(l,a,b.children)}else this.activateChildRoutes(l,a,h);else if(v.component){const b=h.getOrCreateContext(v.outlet);if(this.routeReuseStrategy.shouldAttach(v.snapshot)){const L=this.routeReuseStrategy.retrieve(v.snapshot);this.routeReuseStrategy.store(v.snapshot,null),b.children.onOutletReAttached(L.contexts),b.attachRef=L.componentRef,b.route=L.route.value,b.outlet&&b.outlet.attach(L.componentRef,L.route.value),Ui(L.route.value),this.activateChildRoutes(l,null,b.children)}else{const L=Pt(v.snapshot);b.attachRef=null,b.route=v,b.injector=L,b.outlet&&b.outlet.activateWith(v,b.injector),this.activateChildRoutes(l,null,b.children)}}else this.activateChildRoutes(l,null,h)}}class qi{constructor(l){this.path=l,this.route=this.path[this.path.length-1]}}class ir{constructor(l,a){this.component=l,this.route=a}}function gt(c,l,a){const h=c._root;return sn(h,l?l._root:null,a,[h.value])}function An(c,l){const a=Symbol(),h=l.get(c,a);return h===a?"function"!=typeof c||(0,g.Z0I)(c)?l.get(c):c:h}function sn(c,l,a,h,v={canDeactivateChecks:[],canActivateChecks:[]}){const E=Vn(l);return c.children.forEach(b=>{(function Oo(c,l,a,h,v={canDeactivateChecks:[],canActivateChecks:[]}){const E=c.value,b=l?l.value:null,L=a?a.getContext(c.value.outlet):null;if(b&&E.routeConfig===b.routeConfig){const F=function fa(c,l,a){if("function"==typeof a)return a(c,l);switch(a){case"pathParamsChange":return!Xn(c.url,l.url);case"pathParamsOrQueryParamsChange":return!Xn(c.url,l.url)||!H(c.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Hi(c,l)||!H(c.queryParams,l.queryParams);default:return!Hi(c,l)}}(b,E,E.routeConfig.runGuardsAndResolvers);F?v.canActivateChecks.push(new qi(h)):(E.data=b.data,E._resolvedData=b._resolvedData),sn(c,l,E.component?L?L.children:null:a,h,v),F&&L&&L.outlet&&L.outlet.isActivated&&v.canDeactivateChecks.push(new ir(L.outlet.component,b))}else b&&yn(l,L,v),v.canActivateChecks.push(new qi(h)),sn(c,null,E.component?L?L.children:null:a,h,v)})(b,E[b.value.outlet],a,h.concat([b.value]),v),delete E[b.value.outlet]}),Object.entries(E).forEach(([b,L])=>yn(L,a.getContext(b),v)),v}function yn(c,l,a){const h=Vn(c),v=c.value;Object.entries(h).forEach(([E,b])=>{yn(b,v.component?l?l.children.getContext(E):null:l,a)}),a.canDeactivateChecks.push(new ir(v.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,v))}function Er(c){return"function"==typeof c}function Pr(c){return c instanceof rt||"EmptyError"===c?.name}const Nt=Symbol("INITIAL_VALUE");function yt(){return(0,tt.w)(c=>re(c.map(l=>l.pipe(Ft(1),function Pn(...c){const l=c[c.length-1];return(0,ue.K)(l)?(c.pop(),a=>$e(c,a,l)):a=>$e(c,a)}(Nt)))).pipe((0,Ee.U)(l=>{for(const a of l)if(!0!==a){if(a===Nt)return Nt;if(!1===a||a instanceof Yr)return a}return!0}),ft(l=>l!==Nt),Ft(1)))}function I(c){return(0,ee.z)(dt(l=>{if(Ve(l))throw Fe(0,l)}),(0,Ee.U)(l=>!0===l))}class W{constructor(l){this.segmentGroup=l||null}}class pe extends Error{constructor(l){super(),this.urlTree=l}}function Xe(c){return ae(new W(c))}class St{constructor(l,a){this.urlSerializer=l,this.urlTree=a}noMatchError(l){return new g.vHH(4002,!1)}lineralizeSegments(l,a){let h=[],v=a.root;for(;;){if(h=h.concat(v.segments),0===v.numberOfChildren)return(0,k.of)(h);if(v.numberOfChildren>1||!v.children[Te])return ae(new g.vHH(4e3,!1));v=v.children[Te]}}applyRedirectCommands(l,a,h){const v=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),l,h);if(a.startsWith("/"))throw new pe(v);return v}applyRedirectCreateUrlTree(l,a,h,v){const E=this.createSegmentGroup(l,a.root,h,v);return new Yr(E,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(l,a){const h={};return Object.entries(l).forEach(([v,E])=>{if("string"==typeof E&&E.startsWith(":")){const L=E.substring(1);h[v]=a[L]}else h[v]=E}),h}createSegmentGroup(l,a,h,v){const E=this.createSegments(l,a.segments,h,v);let b={};return Object.entries(a.children).forEach(([L,F])=>{b[L]=this.createSegmentGroup(l,F,h,v)}),new it(E,b)}createSegments(l,a,h,v){return a.map(E=>E.path.startsWith(":")?this.findPosParam(l,E,v):this.findOrReturn(E,h))}findPosParam(l,a,h){const v=h[a.path.substring(1)];if(!v)throw new g.vHH(4001,!1);return v}findOrReturn(l,a){let h=0;for(const v of a){if(v.path===l.path)return a.splice(h),v;h++}return l}}const at={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kt(c,l,a,h,v){const E=Hn(c,l,a);return E.matched?(h=function si(c,l){return c.providers&&!c._injector&&(c._injector=(0,g.MMx)(c.providers,l,`Route: ${c.path}`)),c._injector??l}(l,h),function j(c,l,a,h){const v=l.canMatch;if(!v||0===v.length)return(0,k.of)(!0);const E=v.map(b=>{const L=An(b,c);return ze(function ui(c){return c&&Er(c.canMatch)}(L)?L.canMatch(l,a):c.runInContext(()=>L(l,a)))});return(0,k.of)(E).pipe(yt(),I())}(h,l,a).pipe((0,Ee.U)(b=>!0===b?E:{...at}))):(0,k.of)(E)}function Hn(c,l,a){if(""===l.path)return"full"===l.pathMatch&&(c.hasChildren()||a.length>0)?{...at}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const v=(l.matcher||M)(a,c,l);if(!v)return{...at};const E={};Object.entries(v.posParams??{}).forEach(([L,F])=>{E[L]=F.path});const b=v.consumed.length>0?{...E,...v.consumed[v.consumed.length-1].parameters}:E;return{matched:!0,consumedSegments:v.consumed,remainingSegments:a.slice(v.consumed.length),parameters:b,positionalParamSegments:v.posParams??{}}}function Bn(c,l,a,h){return a.length>0&&function sr(c,l,a){return a.some(h=>ar(c,l,h)&&Lt(h)!==Te)}(c,a,h)?{segmentGroup:new it(l,fn(h,new it(a,c.children))),slicedSegments:[]}:0===a.length&&function Lr(c,l,a){return a.some(h=>ar(c,l,h))}(c,a,h)?{segmentGroup:new it(c.segments,Xr(c,0,a,h,c.children)),slicedSegments:a}:{segmentGroup:new it(c.segments,c.children),slicedSegments:a}}function Xr(c,l,a,h,v){const E={};for(const b of h)if(ar(c,a,b)&&!v[Lt(b)]){const L=new it([],{});E[Lt(b)]=L}return{...v,...E}}function fn(c,l){const a={};a[Te]=l;for(const h of c)if(""===h.path&&Lt(h)!==Te){const v=new it([],{});a[Lt(h)]=v}return a}function ar(c,l,a){return(!(c.hasChildren()||l.length>0)||"full"!==a.pathMatch)&&""===a.path}class eo{}class Mu{constructor(l,a,h,v,E,b,L){this.injector=l,this.configLoader=a,this.rootComponentType=h,this.config=v,this.urlTree=E,this.paramsInheritanceStrategy=b,this.urlSerializer=L,this.applyRedirects=new St(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(l){return new g.vHH(4002,!1)}recognize(){const l=Bn(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(l).pipe((0,Ee.U)(a=>{const h=new $i([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Te,this.rootComponentType,null,{}),v=new cn(h,a),E=new Vi("",v),b=function Cu(c,l,a=null,h=null){return ke(ra(c),l,a,h)}(h,[],this.urlTree.queryParams,this.urlTree.fragment);return b.queryParams=this.urlTree.queryParams,E.url=this.urlSerializer.serialize(b),this.inheritParamsAndData(E._root,null),{state:E,tree:b}}))}match(l){return this.processSegmentGroup(this.injector,this.config,l,Te).pipe(Ln(h=>{if(h instanceof pe)return this.urlTree=h.urlTree,this.match(h.urlTree.root);throw h instanceof W?this.noMatchError(h):h}))}inheritParamsAndData(l,a){const h=l.value,v=ji(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(v.params),h.data=Object.freeze(v.data),l.children.forEach(E=>this.inheritParamsAndData(E,h))}processSegmentGroup(l,a,h,v){return 0===h.segments.length&&h.hasChildren()?this.processChildren(l,a,h):this.processSegment(l,a,h,h.segments,v,!0).pipe((0,Ee.U)(E=>E instanceof cn?[E]:[]))}processChildren(l,a,h){const v=[];for(const E of Object.keys(h.children))"primary"===E?v.unshift(E):v.push(E);return(0,K.D)(v).pipe(Qn(E=>{const b=h.children[E],L=function Je(c,l){const a=c.filter(h=>Lt(h)===l);return a.push(...c.filter(h=>Lt(h)!==l)),a}(a,E);return this.processSegmentGroup(l,L,b,E)}),function on(c,l){let a=!1;return arguments.length>=2&&(a=!0),function(v){return v.lift(new Ai(c,l,a))}}((E,b)=>(E.push(...b),E)),_r(null),function fo(c,l){const a=arguments.length>=2;return h=>h.pipe(c?ft((v,E)=>c(v,E,h)):Go.y,gr(1),a?_r(l):Sr(()=>new rt))}(),(0,Et.zg)(E=>{if(null===E)return Xe(h);const b=pa(E);return function vl(c){c.sort((l,a)=>l.value.outlet===Te?-1:a.value.outlet===Te?1:l.value.outlet.localeCompare(a.value.outlet))}(b),(0,k.of)(b)}))}processSegment(l,a,h,v,E,b){return(0,K.D)(a).pipe(Qn(L=>this.processSegmentAgainstRoute(L._injector??l,a,L,h,v,E,b).pipe(Ln(F=>{if(F instanceof W)return(0,k.of)(null);throw F}))),Fn(L=>!!L),Ln(L=>{if(Pr(L))return function Th(c,l,a){return 0===l.length&&!c.children[a]}(h,v,E)?(0,k.of)(new eo):Xe(h);throw L}))}processSegmentAgainstRoute(l,a,h,v,E,b,L){return function Sh(c,l,a,h){return!!(Lt(c)===h||h!==Te&&ar(l,a,c))&&("**"===c.path||Hn(l,c,a).matched)}(h,v,E,b)?void 0===h.redirectTo?this.matchSegmentAgainstRoute(l,v,h,E,b):this.allowRedirects&&L?this.expandSegmentAgainstRouteUsingRedirect(l,v,a,h,E,b):Xe(v):Xe(v)}expandSegmentAgainstRouteUsingRedirect(l,a,h,v,E,b){const{matched:L,consumedSegments:F,positionalParamSegments:se,remainingSegments:xe}="**"===v.path?_u(E):Hn(a,v,E);if(!L)return Xe(a);v.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const We=this.applyRedirects.applyRedirectCommands(F,v.redirectTo,se);return this.applyRedirects.lineralizeSegments(v,We).pipe((0,Et.zg)(Rt=>this.processSegment(l,h,a,Rt.concat(xe),b,!1)))}matchSegmentAgainstRoute(l,a,h,v,E){let b;return"**"===h.path?(b=(0,k.of)(_u(v)),a.children={}):b=kt(a,h,v,l),b.pipe((0,tt.w)(L=>L.matched?this.getChildConfig(l=h._injector??l,h,v).pipe((0,tt.w)(({routes:F})=>{const se=h._loadedInjector??l,{consumedSegments:xe,remainingSegments:We,parameters:Rt}=L,hi=new $i(xe,Rt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Cl(c){return c.data||{}}(h),Lt(h),h.component??h._loadedComponent??null,h,function ga(c){return c.resolve||{}}(h)),{segmentGroup:os,slicedSegments:is}=Bn(a,xe,We,F);if(0===is.length&&os.hasChildren())return this.processChildren(se,F,os).pipe((0,Ee.U)(Yn=>null===Yn?null:new cn(hi,Yn)));if(0===F.length&&0===is.length)return(0,k.of)(new cn(hi,[]));const pi=Lt(h)===E;return this.processSegment(se,F,os,is,pi?Te:E,!0).pipe((0,Ee.U)(Yn=>new cn(hi,Yn instanceof cn?[Yn]:[])))})):Xe(a)))}getChildConfig(l,a,h){return a.children?(0,k.of)({routes:a.children,injector:l}):a.loadChildren?void 0!==a._loadedRoutes?(0,k.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function y(c,l,a,h){const v=l.canLoad;if(void 0===v||0===v.length)return(0,k.of)(!0);const E=v.map(b=>{const L=An(b,c);return ze(function Me(c){return c&&Er(c.canLoad)}(L)?L.canLoad(l,a):c.runInContext(()=>L(l,a)))});return(0,k.of)(E).pipe(yt(),I())}(l,a,h).pipe((0,Et.zg)(v=>v?this.configLoader.loadChildren(l,a).pipe(dt(E=>{a._loadedRoutes=E.routes,a._loadedInjector=E.injector})):function je(c){return ae(or(!1,3))}())):(0,k.of)({routes:[],injector:l})}}function yl(c){const l=c.value.routeConfig;return l&&""===l.path}function pa(c){const l=[],a=new Set;for(const h of c){if(!yl(h)){l.push(h);continue}const v=l.find(E=>h.value.routeConfig===E.value.routeConfig);void 0!==v?(v.children.push(...h.children),a.add(v)):l.push(h)}for(const h of a){const v=pa(h.children);l.push(new cn(h.value,v))}return l.filter(h=>!a.has(h))}function _u(c){return{matched:!0,parameters:c.length>0?ot(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}function Su(c,l){return(0,Et.zg)(a=>{const{targetSnapshot:h,guards:{canActivateChecks:v}}=a;if(!v.length)return(0,k.of)(a);const E=v.map(se=>se.route),b=new Set(E),L=ma(E[0].parent).slice(1);let F=0;return(0,K.D)(L).pipe(Qn(se=>b.has(se)?function pt(c,l,a,h){const v=c.routeConfig,E=c._resolve;return void 0!==v?.title&&!Bi(v)&&(E[Jn]=v.title),function va(c,l,a,h){const v=Y(c);if(0===v.length)return(0,k.of)({});const E={};return(0,K.D)(v).pipe((0,Et.zg)(b=>function li(c,l,a,h){const v=Pt(l)??h,E=An(c,v);return ze(E.resolve?E.resolve(l,a):v.runInContext(()=>E(l,a)))}(c[b],l,a,h).pipe(Fn(),dt(L=>{E[b]=L}))),gr(1),function ho(c){return l=>l.lift(new kn(c))}(E),Ln(b=>Pr(b)?be:ae(b)))}(E,c,l,h).pipe((0,Ee.U)(b=>(c._resolvedData=b,c.data=ji(c,c.parent,a).resolve,null)))}(se,h,c,l):(se.data=ji(se,se.parent,c).resolve,(0,k.of)(void 0))),dt(()=>F++),gr(1),(0,Et.zg)(se=>F===L.length?(0,k.of)(a):be))})}function ma(c){const l=c.children.map(a=>ma(a)).flat();return[c,...l]}function Zt(c){return(0,tt.w)(l=>{const a=c(l);return a?(0,K.D)(a).pipe((0,Ee.U)(()=>l)):(0,k.of)(l)})}let Tu=(()=>{class c{buildTitle(a){let h,v=a.root;for(;void 0!==v;)h=this.getResolvedTitleForRoute(v)??h,v=v.children.find(E=>E.outlet===Te);return h}getResolvedTitleForRoute(a){return a.data[Jn]}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:()=>(0,g.f3M)(di),providedIn:"root"})}return c})(),di=(()=>{class c extends Tu{constructor(a){super(),this.title=a}updateTitle(a){const h=this.buildTitle(a);void 0!==h&&this.title.setTitle(h)}static#e=this.\u0275fac=function(h){return new(h||c)(g.LFG(jn.Dx))};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const zn=new g.OlP("",{providedIn:"root",factory:()=>({})}),Ut=new g.OlP("ROUTES");let ya=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,g.f3M)(g.Sil)}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,k.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const h=ze(a.loadComponent()).pipe((0,Ee.U)(Gn),dt(E=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=E}),Mn(()=>{this.componentLoaders.delete(a)})),v=new le.c(h,()=>new ve.xQ).pipe((0,mr.x)());return this.componentLoaders.set(a,v),v}loadChildren(a,h){if(this.childrenLoaders.get(h))return this.childrenLoaders.get(h);if(h._loadedRoutes)return(0,k.of)({routes:h._loadedRoutes,injector:h._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(h);const E=function Da(c,l,a,h){return ze(c.loadChildren()).pipe((0,Ee.U)(Gn),(0,Et.zg)(v=>v instanceof g.YKP||Array.isArray(v)?(0,k.of)(v):(0,K.D)(l.compileModuleAsync(v))),(0,Ee.U)(v=>{h&&h(c);let E,b,L=!1;return Array.isArray(v)?(b=v,!0):(E=v.create(a).injector,b=E.get(Ut,[],{optional:!0,self:!0}).flat()),{routes:b.map(dn),injector:E}}))}(h,this.compiler,a,this.onLoadEndListener).pipe(Mn(()=>{this.childrenLoaders.delete(h)})),b=new le.c(E,()=>new ve.xQ).pipe((0,mr.x)());return this.childrenLoaders.set(h,b),b}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Gn(c){return function El(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let Qi=(()=>{class c{static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:()=>(0,g.f3M)(wl),providedIn:"root"})}return c})(),wl=(()=>{class c{shouldProcessUrl(a){return!0}extract(a){return a}merge(a,h){return a}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const Ca=new g.OlP(""),Ea=new g.OlP("");function Ji(c,l,a){const h=c.get(Ea),v=c.get(Oe.K0);return c.get(g.R0b).runOutsideAngular(()=>{if(!v.startViewTransition||h.skipNextTransition)return h.skipNextTransition=!1,Promise.resolve();let E;const b=new Promise(se=>{E=se}),L=v.startViewTransition(()=>(E(),function Xi(c){return new Promise(l=>{(0,g.T8G)(l,{injector:c})})}(c))),{onViewTransitionCreated:F}=h;return F&&(0,g.r_H)(c,()=>F({transition:L,from:l,to:a})),b})}let Po=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ve.xQ,this.transitionAbortSubject=new ve.xQ,this.configLoader=(0,g.f3M)(ya),this.environmentInjector=(0,g.f3M)(g.lqb),this.urlSerializer=(0,g.f3M)(qr),this.rootContexts=(0,g.f3M)(mn),this.location=(0,g.f3M)(Oe.Ye),this.inputBindingEnabled=null!==(0,g.f3M)(oi,{optional:!0}),this.titleStrategy=(0,g.f3M)(Tu),this.options=(0,g.f3M)(zn,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,g.f3M)(Qi),this.createViewTransition=(0,g.f3M)(Ca,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,k.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=v=>this.events.next(new aa(v)),this.configLoader.onLoadStartListener=v=>this.events.next(new bu(v))}complete(){this.transitions?.complete()}handleNavigationRequest(a){const h=++this.navigationId;this.transitions?.next({...this.transitions.value,...a,id:h})}setupNavigations(a,h,v){return this.transitions=new V.X({id:0,currentUrlTree:h,currentRawUrl:h,extractedUrl:this.urlHandlingStrategy.extract(h),urlAfterRedirects:this.urlHandlingStrategy.extract(h),rawUrl:h,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Rr,restoredState:null,currentSnapshot:v.snapshot,targetSnapshot:null,currentRouterState:v,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ft(E=>0!==E.id),(0,Ee.U)(E=>({...E,extractedUrl:this.urlHandlingStrategy.extract(E.rawUrl)})),(0,tt.w)(E=>{this.currentTransition=E;let b=!1,L=!1;return(0,k.of)(E).pipe(dt(F=>{this.currentNavigation={id:F.id,initialUrl:F.rawUrl,extractedUrl:F.extractedUrl,trigger:F.source,extras:F.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,tt.w)(F=>{const se=!a.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!se&&"reload"!==(F.extras.onSameUrlNavigation??a.onSameUrlNavigation)){const We="";return this.events.next(new bt(F.id,this.urlSerializer.serialize(F.rawUrl),We,0)),F.resolve(null),be}if(this.urlHandlingStrategy.shouldProcessUrl(F.rawUrl))return(0,k.of)(F).pipe((0,tt.w)(We=>{const Rt=this.transitions?.getValue();return this.events.next(new bo(We.id,this.urlSerializer.serialize(We.extractedUrl),We.source,We.restoredState)),Rt!==this.transitions?.getValue()?be:Promise.resolve(We)}),function ur(c,l,a,h,v,E){return(0,Et.zg)(b=>function ml(c,l,a,h,v,E,b="emptyOnly"){return new Mu(c,l,a,h,v,b,E).recognize()}(c,l,a,h,b.extractedUrl,v,E).pipe((0,Ee.U)(({state:L,tree:F})=>({...b,targetSnapshot:L,urlAfterRedirects:F}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,a.config,this.urlSerializer,this.paramsInheritanceStrategy),dt(We=>{E.targetSnapshot=We.targetSnapshot,E.urlAfterRedirects=We.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:We.urlAfterRedirects};const Rt=new Qe(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(Rt)}));if(se&&this.urlHandlingStrategy.shouldProcessUrl(F.currentRawUrl)){const{id:We,extractedUrl:Rt,source:hi,restoredState:os,extras:is}=F,pi=new bo(We,this.urlSerializer.serialize(Rt),hi,os);this.events.next(pi);const Yn=vn(0,this.rootComponentType).snapshot;return this.currentTransition=E={...F,targetSnapshot:Yn,urlAfterRedirects:Rt,extras:{...is,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Rt,(0,k.of)(E)}{const We="";return this.events.next(new bt(F.id,this.urlSerializer.serialize(F.extractedUrl),We,1)),F.resolve(null),be}}),dt(F=>{const se=new Kr(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot);this.events.next(se)}),(0,Ee.U)(F=>(this.currentTransition=E={...F,guards:gt(F.targetSnapshot,F.currentSnapshot,this.rootContexts)},E)),function Zi(c,l){return(0,Et.zg)(a=>{const{targetSnapshot:h,currentSnapshot:v,guards:{canActivateChecks:E,canDeactivateChecks:b}}=a;return 0===b.length&&0===E.length?(0,k.of)({...a,guardsResult:!0}):function Fr(c,l,a,h){return(0,K.D)(c).pipe((0,Et.zg)(v=>function p(c,l,a,h,v){const E=l&&l.routeConfig?l.routeConfig.canDeactivate:null;if(!E||0===E.length)return(0,k.of)(!0);const b=E.map(L=>{const F=Pt(l)??v,se=An(L,F);return ze(function Un(c){return c&&Er(c.canDeactivate)}(se)?se.canDeactivate(c,l,a,h):F.runInContext(()=>se(c,l,a,h))).pipe(Fn())});return(0,k.of)(b).pipe(yt())}(v.component,v.route,a,l,h)),Fn(v=>!0!==v,!0))}(b,h,v,c).pipe((0,Et.zg)(L=>L&&function wr(c){return"boolean"==typeof c}(L)?function ci(c,l,a,h){return(0,K.D)(l).pipe(Qn(v=>$e(function Ki(c,l){return null!==c&&l&&l(new rr(c)),(0,k.of)(!0)}(v.route.parent,h),function nn(c,l){return null!==c&&l&&l(new Dr(c)),(0,k.of)(!0)}(v.route,h),function C(c,l,a){const h=l[l.length-1],E=l.slice(0,l.length-1).reverse().map(b=>function Ro(c){const l=c.routeConfig?c.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:c,guards:l}:null}(b)).filter(b=>null!==b).map(b=>he(()=>{const L=b.guards.map(F=>{const se=Pt(b.node)??a,xe=An(F,se);return ze(function Jr(c){return c&&Er(c.canActivateChild)}(xe)?xe.canActivateChild(h,c):se.runInContext(()=>xe(h,c))).pipe(Fn())});return(0,k.of)(L).pipe(yt())}));return(0,k.of)(E).pipe(yt())}(c,v.path,a),function f(c,l,a){const h=l.routeConfig?l.routeConfig.canActivate:null;if(!h||0===h.length)return(0,k.of)(!0);const v=h.map(E=>he(()=>{const b=Pt(l)??a,L=An(E,b);return ze(function ai(c){return c&&Er(c.canActivate)}(L)?L.canActivate(l,c):b.runInContext(()=>L(l,c))).pipe(Fn())}));return(0,k.of)(v).pipe(yt())}(c,v.route,a))),Fn(v=>!0!==v,!0))}(h,E,c,l):(0,k.of)(L)),(0,Ee.U)(L=>({...a,guardsResult:L})))})}(this.environmentInjector,F=>this.events.next(F)),dt(F=>{if(E.guardsResult=F.guardsResult,Ve(F.guardsResult))throw Fe(0,F.guardsResult);const se=new Xo(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects),F.targetSnapshot,!!F.guardsResult);this.events.next(se)}),ft(F=>!!F.guardsResult||(this.cancelNavigationTransition(F,"",3),!1)),Zt(F=>{if(F.guards.canActivateChecks.length)return(0,k.of)(F).pipe(dt(se=>{const xe=new Qr(se.id,this.urlSerializer.serialize(se.extractedUrl),this.urlSerializer.serialize(se.urlAfterRedirects),se.targetSnapshot);this.events.next(xe)}),(0,tt.w)(se=>{let xe=!1;return(0,k.of)(se).pipe(Su(this.paramsInheritanceStrategy,this.environmentInjector),dt({next:()=>xe=!0,complete:()=>{xe||this.cancelNavigationTransition(se,"",2)}}))}),dt(se=>{const xe=new sa(se.id,this.urlSerializer.serialize(se.extractedUrl),this.urlSerializer.serialize(se.urlAfterRedirects),se.targetSnapshot);this.events.next(xe)}))}),Zt(F=>{const se=xe=>{const We=[];xe.routeConfig?.loadComponent&&!xe.routeConfig._loadedComponent&&We.push(this.configLoader.loadComponent(xe.routeConfig).pipe(dt(Rt=>{xe.component=Rt}),(0,Ee.U)(()=>{})));for(const Rt of xe.children)We.push(...se(Rt));return We};return re(se(F.targetSnapshot.root)).pipe(_r(),Ft(1))}),Zt(()=>this.afterPreactivation()),(0,tt.w)(()=>{const{currentSnapshot:F,targetSnapshot:se}=E,xe=this.createViewTransition?.(this.environmentInjector,F.root,se.root);return xe?(0,K.D)(xe).pipe((0,Ee.U)(()=>E)):(0,k.of)(E)}),(0,Ee.U)(F=>{const se=function zi(c,l,a){const h=Or(c,l._root,a?a._root:void 0);return new ki(h,l)}(a.routeReuseStrategy,F.targetSnapshot,F.currentRouterState);return this.currentTransition=E={...F,targetRouterState:se},this.currentNavigation.targetRouterState=se,E}),dt(()=>{this.events.next(new _o)}),((c,l,a,h)=>(0,Ee.U)(v=>(new xr(l,v.targetRouterState,v.currentRouterState,a,h).activate(c),v)))(this.rootContexts,a.routeReuseStrategy,F=>this.events.next(F),this.inputBindingEnabled),Ft(1),dt({next:F=>{b=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xt(F.id,this.urlSerializer.serialize(F.extractedUrl),this.urlSerializer.serialize(F.urlAfterRedirects))),this.titleStrategy?.updateTitle(F.targetRouterState.snapshot),F.resolve(!0)},complete:()=>{b=!0}}),(0,de.R)(this.transitionAbortSubject.pipe(dt(F=>{throw F}))),Mn(()=>{b||L||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),Ln(F=>{if(L=!0,Wi(F))this.events.next(new nr(E.id,this.urlSerializer.serialize(E.extractedUrl),F.message,F.cancellationCode)),function qt(c){return Wi(c)&&Ve(c.url)}(F)?this.events.next(new So(F.url)):E.resolve(!1);else{this.events.next(new Mo(E.id,this.urlSerializer.serialize(E.extractedUrl),F,E.targetSnapshot??void 0));try{E.resolve(a.errorHandler(F))}catch(se){E.reject(se)}}return be}))}))}cancelNavigationTransition(a,h,v){const E=new nr(a.id,this.urlSerializer.serialize(a.extractedUrl),h,v);this.events.next(E),a.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Ne(c){return c!==Rr}let Au=(()=>{class c{static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:()=>(0,g.f3M)(Il),providedIn:"root"})}return c})();class Ah{shouldDetach(l){return!1}store(l,a){}shouldAttach(l){return!1}retrieve(l){return null}shouldReuseRoute(l,a){return l.routeConfig===a.routeConfig}}let Il=(()=>{class c extends Ah{static#e=this.\u0275fac=(()=>{let a;return function(v){return(a||(a=g.n5z(c)))(v||c)}})();static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Nu=(()=>{class c{static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:()=>(0,g.f3M)(bl),providedIn:"root"})}return c})(),bl=(()=>{class c extends Nu{constructor(){super(...arguments),this.location=(0,g.f3M)(Oe.Ye),this.urlSerializer=(0,g.f3M)(qr),this.options=(0,g.f3M)(zn,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,g.f3M)(Qi),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Yr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=vn(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(a){return this.location.subscribe(h=>{"popstate"===h.type&&a(h.url,h.state)})}handleRouterEvent(a,h){if(a instanceof bo)this.stateMemento=this.createStateMemento();else if(a instanceof bt)this.rawUrlTree=h.initialUrl;else if(a instanceof Qe){if("eager"===this.urlUpdateStrategy&&!h.extras.skipLocationChange){const v=this.urlHandlingStrategy.merge(h.finalUrl,h.initialUrl);this.setBrowserUrl(v,h)}}else a instanceof _o?(this.currentUrlTree=h.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(h.finalUrl,h.initialUrl),this.routerState=h.targetRouterState,"deferred"===this.urlUpdateStrategy&&(h.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,h))):a instanceof nr&&(3===a.code||2===a.code)?this.restoreHistory(h):a instanceof Mo?this.restoreHistory(h,!0):a instanceof xt&&(this.lastSuccessfulId=a.id,this.currentPageId=this.browserPageId)}setBrowserUrl(a,h){const v=this.urlSerializer.serialize(a);if(this.location.isCurrentPathEqualTo(v)||h.extras.replaceUrl){const b={...h.extras.state,...this.generateNgRouterState(h.id,this.browserPageId)};this.location.replaceState(v,"",b)}else{const E={...h.extras.state,...this.generateNgRouterState(h.id,this.browserPageId+1)};this.location.go(v,"",E)}}restoreHistory(a,h=!1){if("computed"===this.canceledNavigationResolution){const E=this.currentPageId-this.browserPageId;0!==E?this.location.historyGo(E):this.currentUrlTree===a.finalUrl&&0===E&&(this.resetState(a),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(h&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(a,h){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:h}:{navigationId:a}}static#e=this.\u0275fac=(()=>{let a;return function(v){return(a||(a=g.n5z(c)))(v||c)}})();static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var Fo=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(Fo||{});function to(c,l){c.events.pipe(ft(a=>a instanceof xt||a instanceof nr||a instanceof Mo||a instanceof bt),(0,Ee.U)(a=>a instanceof xt||a instanceof bt?Fo.COMPLETE:a instanceof nr&&(0===a.code||1===a.code)?Fo.REDIRECTING:Fo.FAILED),ft(a=>a!==Fo.REDIRECTING),Ft(1)).subscribe(()=>{l()})}function Ml(c){throw c}const _l={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Nn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,g.f3M)(g.c2e),this.stateManager=(0,g.f3M)(Nu),this.options=(0,g.f3M)(zn,{optional:!0})||{},this.pendingTasks=(0,g.f3M)(g.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,g.f3M)(Po),this.urlSerializer=(0,g.f3M)(qr),this.location=(0,g.f3M)(Oe.Ye),this.urlHandlingStrategy=(0,g.f3M)(Qi),this._events=new ve.xQ,this.errorHandler=this.options.errorHandler||Ml,this.navigated=!1,this.routeReuseStrategy=(0,g.f3M)(Au),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,g.f3M)(Ut,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,g.f3M)(oi,{optional:!0}),this.eventsSubscription=new we.w,this.isNgZoneEnabled=(0,g.f3M)(g.R0b)instanceof g.R0b&&g.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:a=>{this.console.warn(a)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const a=this.navigationTransitions.events.subscribe(h=>{try{const v=this.navigationTransitions.currentTransition,E=this.navigationTransitions.currentNavigation;if(null!==v&&null!==E)if(this.stateManager.handleRouterEvent(h,E),h instanceof nr&&0!==h.code&&1!==h.code)this.navigated=!0;else if(h instanceof xt)this.navigated=!0;else if(h instanceof So){const b=this.urlHandlingStrategy.merge(h.url,v.currentRawUrl),L={skipLocationChange:v.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ne(v.source)};this.scheduleNavigation(b,Rr,null,L,{resolve:v.resolve,reject:v.reject,promise:v.promise})}(function B(c){return!(c instanceof _o||c instanceof So)})(h)&&this._events.next(h)}catch(v){this.navigationTransitions.transitionAbortSubject.next(v)}});this.eventsSubscription.add(a)}resetRootComponentType(a){this.routerState.root.component=a,this.navigationTransitions.rootComponentType=a}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((a,h)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(a,"popstate",h)},0)}))}navigateToSyncWithBrowser(a,h,v){const E={replaceUrl:!0},b=v?.navigationId?v:null;if(v){const F={...v};delete F.navigationId,delete F.\u0275routerPageId,0!==Object.keys(F).length&&(E.state=F)}const L=this.parseUrl(a);this.scheduleNavigation(L,h,b,E)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(a){this.config=a.map(dn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(a,h={}){const{relativeTo:v,queryParams:E,fragment:b,queryParamsHandling:L,preserveFragment:F}=h,se=F?this.currentUrlTree.fragment:b;let We,xe=null;switch(L){case"merge":xe={...this.currentUrlTree.queryParams,...E};break;case"preserve":xe=this.currentUrlTree.queryParams;break;default:xe=E||null}null!==xe&&(xe=this.removeEmptyProps(xe));try{We=ra(v?v.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof a[0]||!a[0].startsWith("/"))&&(a=[]),We=this.currentUrlTree.root}return ke(We,a,xe,se??null)}navigateByUrl(a,h={skipLocationChange:!1}){const v=Ve(a)?a:this.parseUrl(a),E=this.urlHandlingStrategy.merge(v,this.rawUrlTree);return this.scheduleNavigation(E,Rr,null,h)}navigate(a,h={skipLocationChange:!1}){return function Tl(c){for(let l=0;l{const E=a[v];return null!=E&&(h[v]=E),h},{})}scheduleNavigation(a,h,v,E,b){if(this.disposed)return Promise.resolve(!1);let L,F,se;b?(L=b.resolve,F=b.reject,se=b.promise):se=new Promise((We,Rt)=>{L=We,F=Rt});const xe=this.pendingTasks.add();return to(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xe))}),this.navigationTransitions.handleNavigationRequest({source:h,restoredState:v,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:a,extras:E,resolve:L,reject:F,promise:se,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),se.catch(We=>Promise.reject(We))}static#e=this.\u0275fac=function(h){return new(h||c)};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Ue=(()=>{class c{constructor(a,h,v,E,b,L){this.router=a,this.route=h,this.tabIndexAttribute=v,this.renderer=E,this.el=b,this.locationStrategy=L,this.href=null,this.commands=null,this.onChanges=new ve.xQ,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const F=b.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===F||"area"===F,this.isAnchorElement?this.subscription=a.events.subscribe(se=>{se instanceof xt&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(a){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",a)}ngOnChanges(a){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(a,h,v,E,b){return!!(null===this.urlTree||this.isAnchorElement&&(0!==a||h||v||E||b||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const a=null===this.href?null:(0,g.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",a)}applyAttributeValue(a,h){const v=this.renderer,E=this.el.nativeElement;null!==h?v.setAttribute(E,a,h):v.removeAttribute(E,a)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(h){return new(h||c)(g.Y36(Nn),g.Y36(Cr),g.$8M("tabindex"),g.Y36(g.Qsj),g.Y36(g.SBq),g.Y36(Oe.S$))};static#t=this.\u0275dir=g.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(h,v){1&h&&g.NdJ("click",function(b){return v.onClick(b.button,b.ctrlKey,b.shiftKey,b.altKey,b.metaKey)}),2&h&&g.uIk("target",v.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",g.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",g.VuI],replaceUrl:["replaceUrl","replaceUrl",g.VuI],routerLink:"routerLink"},standalone:!0,features:[g.Xq5,g.TTD]})}return c})();class ut{}let cr=(()=>{class c{constructor(a,h,v,E,b){this.router=a,this.injector=v,this.preloadingStrategy=E,this.loader=b}setUpPreloading(){this.subscription=this.router.events.pipe(ft(a=>a instanceof xt),Qn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,h){const v=[];for(const E of h){E.providers&&!E._injector&&(E._injector=(0,g.MMx)(E.providers,a,`Route: ${E.path}`));const b=E._injector??a,L=E._loadedInjector??b;(E.loadChildren&&!E._loadedRoutes&&void 0===E.canLoad||E.loadComponent&&!E._loadedComponent)&&v.push(this.preloadConfig(b,E)),(E.children||E._loadedRoutes)&&v.push(this.processRoutes(L,E.children??E._loadedRoutes))}return(0,K.D)(v).pipe((0,Dt.J)())}preloadConfig(a,h){return this.preloadingStrategy.preload(h,()=>{let v;v=h.loadChildren&&void 0===h.canLoad?this.loader.loadChildren(a,h):(0,k.of)(null);const E=v.pipe((0,Et.zg)(b=>null===b?(0,k.of)(void 0):(h._loadedRoutes=b.routes,h._loadedInjector=b.injector,this.processRoutes(b.injector??a,b.routes))));if(h.loadComponent&&!h._loadedComponent){const b=this.loader.loadComponent(h);return(0,K.D)([E,b]).pipe((0,Dt.J)())}return E})}static#e=this.\u0275fac=function(h){return new(h||c)(g.LFG(Nn),g.LFG(g.Sil),g.LFG(g.lqb),g.LFG(ut),g.LFG(ya))};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const fi=new g.OlP("");let ts=(()=>{class c{constructor(a,h,v,E,b={}){this.urlSerializer=a,this.transitions=h,this.viewportScroller=v,this.zone=E,this.options=b,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},b.scrollPositionRestoration=b.scrollPositionRestoration||"disabled",b.anchorScrolling=b.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof bo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof xt?(this.lastId=a.id,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.urlAfterRedirects).fragment)):a instanceof bt&&0===a.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(a,this.urlSerializer.parse(a.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(a=>{a instanceof Ze&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,h){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ze(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,h))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(h){g.$Z()};static#t=this.\u0275prov=g.Yz7({token:c,factory:c.\u0275fac})}return c})();function Wn(c,l){return{\u0275kind:c,\u0275providers:l}}function lr(){const c=(0,g.f3M)(g.zs3);return l=>{const a=c.get(g.z2F);if(l!==a.components[0])return;const h=c.get(Nn),v=c.get(xu);1===c.get(ns)&&h.initialNavigation(),c.get(rs,null,g.XFs.Optional)?.setUpPreloading(),c.get(fi,null,g.XFs.Optional)?.init(),h.resetRootComponentType(a.componentTypes[0]),v.closed||(v.next(),v.complete(),v.unsubscribe())}}const xu=new g.OlP("",{factory:()=>new ve.xQ}),ns=new g.OlP("",{providedIn:"root",factory:()=>1}),rs=new g.OlP("");function Fu(c){return Wn(0,[{provide:rs,useExisting:cr},{provide:ut,useExisting:c}])}function ku(c){return Wn(9,[{provide:Ca,useValue:Ji},{provide:Ea,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const Ia=new g.OlP("ROUTER_FORROOT_GUARD"),ju=[Oe.Ye,{provide:qr,useClass:Oi},Nn,mn,{provide:Cr,useFactory:function Nl(c){return c.routerState.root},deps:[Nn]},ya,[]];let ba=(()=>{class c{constructor(a){}static forRoot(a,h){return{ngModule:c,providers:[ju,[],{provide:Ut,multi:!0,useValue:a},{provide:Ia,useFactory:mt,deps:[[Nn,new g.FiY,new g.tp0]]},{provide:zn,useValue:h||{}},h?.useHash?{provide:Oe.S$,useClass:Oe.Do}:{provide:Oe.S$,useClass:Oe.b0},{provide:fi,useFactory:()=>{const c=(0,g.f3M)(Oe.EM),l=(0,g.f3M)(g.R0b),a=(0,g.f3M)(zn),h=(0,g.f3M)(Po),v=(0,g.f3M)(qr);return a.scrollOffset&&c.setOffset(a.scrollOffset),new ts(v,h,c,l,a)}},h?.preloadingStrategy?Fu(h.preloadingStrategy).\u0275providers:[],h?.initialNavigation?kl(h):[],h?.bindToComponentInputs?Wn(8,[ii,{provide:oi,useExisting:ii}]).\u0275providers:[],h?.enableViewTransitions?ku().\u0275providers:[],[{provide:$u,useFactory:lr},{provide:g.tb,multi:!0,useExisting:$u}]]}}static forChild(a){return{ngModule:c,providers:[{provide:Ut,multi:!0,useValue:a}]}}static#e=this.\u0275fac=function(h){return new(h||c)(g.LFG(Ia,8))};static#t=this.\u0275mod=g.oAB({type:c});static#n=this.\u0275inj=g.cJS({})}return c})();function mt(c){return"guarded"}function kl(c){return["disabled"===c.initialNavigation?Wn(3,[{provide:g.ip1,multi:!0,useFactory:()=>{const l=(0,g.f3M)(Nn);return()=>{l.setUpLocationChangeListener()}}},{provide:ns,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?Wn(2,[{provide:ns,useValue:0},{provide:g.ip1,multi:!0,deps:[g.zs3],useFactory:l=>{const a=l.get(Oe.V_,Promise.resolve());return()=>a.then(()=>new Promise(h=>{const v=l.get(Nn),E=l.get(xu);to(v,()=>{h(!0)}),l.get(Po).afterPreactivation=()=>(h(!0),E.closed?(0,k.of)(void 0):E),v.initialNavigation()}))}}]).\u0275providers:[]]}const $u=new g.OlP("")}},Re=>{Re(Re.s=6162)}]); \ No newline at end of file diff --git a/docs/polyfills-Y3W47ZLP.js b/docs/polyfills-Y3W47ZLP.js new file mode 100644 index 0000000..3adf34f --- /dev/null +++ b/docs/polyfills-Y3W47ZLP.js @@ -0,0 +1,2 @@ +var ie=globalThis;function ee(t){return(ie.__Zone_symbol_prefix||"__zone_symbol__")+t}function ut(){let t=ie.performance;function r(M){t&&t.mark&&t.mark(M)}function i(M,_){t&&t.measure&&t.measure(M,_)}r("Zone");let n=(()=>{let _=class _{static assertZonePatched(){if(ie.Promise!==L.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=_.current;for(;e.parent;)e=e.parent;return e}static get current(){return k.zone}static get currentTask(){return O}static __load_patch(e,h,N=!1){if(L.hasOwnProperty(e)){let A=ie[ee("forceDuplicateZoneCheck")]===!0;if(!N&&A)throw Error("Already loaded patch: "+e)}else if(!ie["__Zone_disable_"+e]){let A="Zone:"+e;r(A),L[e]=h(ie,_,R),i(A,A)}}get parent(){return this._parent}get name(){return this._name}constructor(e,h){this._parent=e,this._name=h?h.name||"unnamed":"",this._properties=h&&h.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,h)}get(e){let h=this.getZoneWith(e);if(h)return h._properties[e]}getZoneWith(e){let h=this;for(;h;){if(h._properties.hasOwnProperty(e))return h;h=h._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,h){if(typeof e!="function")throw new Error("Expecting function got: "+e);let N=this._zoneDelegate.intercept(this,e,h),A=this;return function(){return A.runGuarded(N,this,arguments,h)}}run(e,h,N,A){k={parent:k,zone:this};try{return this._zoneDelegate.invoke(this,e,h,N,A)}finally{k=k.parent}}runGuarded(e,h=null,N,A){k={parent:k,zone:this};try{try{return this._zoneDelegate.invoke(this,e,h,N,A)}catch(I){if(this._zoneDelegate.handleError(this,I))throw I}}finally{k=k.parent}}runTask(e,h,N){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||ne).name+"; Execution: "+this.name+")");if(e.state===X&&(e.type===B||e.type===y))return;let A=e.state!=V;A&&e._transitionTo(V,d),e.runCount++;let I=O;O=e,k={parent:k,zone:this};try{e.type==y&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,h,N)}catch(fe){if(this._zoneDelegate.handleError(this,fe))throw fe}}finally{e.state!==X&&e.state!==Y&&(e.type==B||e.data&&e.data.isPeriodic?A&&e._transitionTo(d,V):(e.runCount=0,this._updateTaskCount(e,-1),A&&e._transitionTo(X,V,X))),k=k.parent,O=I}}scheduleTask(e){if(e.zone&&e.zone!==this){let N=this;for(;N;){if(N===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);N=N.parent}}e._transitionTo(v,X);let h=[];e._zoneDelegates=h,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(N){throw e._transitionTo(Y,v,X),this._zoneDelegate.handleError(this,N),N}return e._zoneDelegates===h&&this._updateTaskCount(e,1),e.state==v&&e._transitionTo(d,v),e}scheduleMicroTask(e,h,N,A){return this.scheduleTask(new E(F,e,h,N,A,void 0))}scheduleMacroTask(e,h,N,A,I){return this.scheduleTask(new E(y,e,h,N,A,I))}scheduleEventTask(e,h,N,A,I){return this.scheduleTask(new E(B,e,h,N,A,I))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||ne).name+"; Execution: "+this.name+")");if(!(e.state!==d&&e.state!==V)){e._transitionTo(q,d,V);try{this._zoneDelegate.cancelTask(this,e)}catch(h){throw e._transitionTo(Y,q),this._zoneDelegate.handleError(this,h),h}return this._updateTaskCount(e,-1),e._transitionTo(X,q),e.runCount=0,e}}_updateTaskCount(e,h){let N=e._zoneDelegates;h==-1&&(e._zoneDelegates=null);for(let A=0;AM.hasTask(a,e),onScheduleTask:(M,_,a,e)=>M.scheduleTask(a,e),onInvokeTask:(M,_,a,e,h,N)=>M.invokeTask(a,e,h,N),onCancelTask:(M,_,a,e)=>M.cancelTask(a,e)};class l{get zone(){return this._zone}constructor(_,a,e){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,this._parentDelegate=a,this._forkZS=e&&(e&&e.onFork?e:a._forkZS),this._forkDlgt=e&&(e.onFork?a:a._forkDlgt),this._forkCurrZone=e&&(e.onFork?this._zone:a._forkCurrZone),this._interceptZS=e&&(e.onIntercept?e:a._interceptZS),this._interceptDlgt=e&&(e.onIntercept?a:a._interceptDlgt),this._interceptCurrZone=e&&(e.onIntercept?this._zone:a._interceptCurrZone),this._invokeZS=e&&(e.onInvoke?e:a._invokeZS),this._invokeDlgt=e&&(e.onInvoke?a:a._invokeDlgt),this._invokeCurrZone=e&&(e.onInvoke?this._zone:a._invokeCurrZone),this._handleErrorZS=e&&(e.onHandleError?e:a._handleErrorZS),this._handleErrorDlgt=e&&(e.onHandleError?a:a._handleErrorDlgt),this._handleErrorCurrZone=e&&(e.onHandleError?this._zone:a._handleErrorCurrZone),this._scheduleTaskZS=e&&(e.onScheduleTask?e:a._scheduleTaskZS),this._scheduleTaskDlgt=e&&(e.onScheduleTask?a:a._scheduleTaskDlgt),this._scheduleTaskCurrZone=e&&(e.onScheduleTask?this._zone:a._scheduleTaskCurrZone),this._invokeTaskZS=e&&(e.onInvokeTask?e:a._invokeTaskZS),this._invokeTaskDlgt=e&&(e.onInvokeTask?a:a._invokeTaskDlgt),this._invokeTaskCurrZone=e&&(e.onInvokeTask?this._zone:a._invokeTaskCurrZone),this._cancelTaskZS=e&&(e.onCancelTask?e:a._cancelTaskZS),this._cancelTaskDlgt=e&&(e.onCancelTask?a:a._cancelTaskDlgt),this._cancelTaskCurrZone=e&&(e.onCancelTask?this._zone:a._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let h=e&&e.onHasTask,N=a&&a._hasTaskZS;(h||N)&&(this._hasTaskZS=h?e:s,this._hasTaskDlgt=a,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,e.onScheduleTask||(this._scheduleTaskZS=s,this._scheduleTaskDlgt=a,this._scheduleTaskCurrZone=this._zone),e.onInvokeTask||(this._invokeTaskZS=s,this._invokeTaskDlgt=a,this._invokeTaskCurrZone=this._zone),e.onCancelTask||(this._cancelTaskZS=s,this._cancelTaskDlgt=a,this._cancelTaskCurrZone=this._zone))}fork(_,a){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,a):new n(_,a)}intercept(_,a,e){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,a,e):a}invoke(_,a,e,h,N){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,a,e,h,N):a.apply(e,h)}handleError(_,a){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,a):!0}scheduleTask(_,a){let e=a;if(this._scheduleTaskZS)this._hasTaskZS&&e._zoneDelegates.push(this._hasTaskDlgtOwner),e=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,a),e||(e=a);else if(a.scheduleFn)a.scheduleFn(a);else if(a.type==F)W(a);else throw new Error("Task is missing scheduleFn.");return e}invokeTask(_,a,e,h){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,a,e,h):a.callback.apply(e,h)}cancelTask(_,a){let e;if(this._cancelTaskZS)e=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,a);else{if(!a.cancelFn)throw Error("Task is not cancelable");e=a.cancelFn(a)}return e}hasTask(_,a){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,a)}catch(e){this.handleError(_,e)}}_updateTaskCount(_,a){let e=this._taskCounts,h=e[_],N=e[_]=h+a;if(N<0)throw new Error("More tasks executed then were scheduled.");if(h==0||N==0){let A={microTask:e.microTask>0,macroTask:e.macroTask>0,eventTask:e.eventTask>0,change:_};this.hasTask(this._zone,A)}}}class E{constructor(_,a,e,h,N,A){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=a,this.data=h,this.scheduleFn=N,this.cancelFn=A,!e)throw new Error("callback is not defined");this.callback=e;let I=this;_===B&&h&&h.useG?this.invoke=E.invokeTask:this.invoke=function(){return E.invokeTask.call(ie,I,this,arguments)}}static invokeTask(_,a,e){_||(_=this),K++;try{return _.runCount++,_.zone.runTask(_,a,e)}finally{K==1&&x(),K--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,v)}_transitionTo(_,a,e){if(this._state===a||this._state===e)this._state=_,_==X&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${a}'${e?" or '"+e+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let T=ee("setTimeout"),m=ee("Promise"),C=ee("then"),g=[],Z=!1,w;function H(M){if(w||ie[m]&&(w=ie[m].resolve(0)),w){let _=w[C];_||(_=w.then),_.call(w,M)}else ie[T](M,0)}function W(M){K===0&&g.length===0&&H(x),M&&g.push(M)}function x(){if(!Z){for(Z=!0;g.length;){let M=g;g=[];for(let _=0;_k,onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:W,showUncaughtError:()=>!n[ee("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:z,patchMethod:()=>z,bindArguments:()=>[],patchThen:()=>z,patchMacroTask:()=>z,patchEventPrototype:()=>z,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>z,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>z,wrapWithCurrentZone:()=>z,filterProperties:()=>[],attachOriginToPatched:()=>z,_redefineProperty:()=>z,patchCallbacks:()=>z,nativeScheduleMicroTask:H},k={parent:null,zone:new n(null,null)},O=null,K=0;function z(){}return i("Zone","Zone"),n}function ft(){let t=globalThis,r=t[ee("forceDuplicateZoneCheck")]===!0;if(t.Zone&&(r||typeof t.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return t.Zone??=ut(),t.Zone}var ke=Object.getOwnPropertyDescriptor,Ze=Object.defineProperty,Ae=Object.getPrototypeOf,ht=Object.create,dt=Array.prototype.slice,je="addEventListener",He="removeEventListener",Ne=ee(je),Ie=ee(He),ce="true",ae="false",ve=ee("");function xe(t,r){return Zone.current.wrap(t,r)}function Ge(t,r,i,n,s){return Zone.current.scheduleMacroTask(t,r,i,n,s)}var G=ee,Ce=typeof window<"u",ye=Ce?window:void 0,J=Ce&&ye||globalThis,_t="removeAttribute";function Ve(t,r){for(let i=t.length-1;i>=0;i--)typeof t[i]=="function"&&(t[i]=xe(t[i],r+"_"+i));return t}function Et(t,r){let i=t.constructor.name;for(let n=0;n{let m=function(){return T.apply(this,Ve(arguments,i+"."+s))};return ue(m,T),m})(l)}}}function Ke(t){return t?t.writable===!1?!1:!(typeof t.get=="function"&&typeof t.set>"u"):!0}var Qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Se=!("nw"in J)&&typeof J.process<"u"&&J.process.toString()==="[object process]",Fe=!Se&&!Qe&&!!(Ce&&ye.HTMLElement),et=typeof J.process<"u"&&J.process.toString()==="[object process]"&&!Qe&&!!(Ce&&ye.HTMLElement),Re={},Xe=function(t){if(t=t||J.event,!t)return;let r=Re[t.type];r||(r=Re[t.type]=G("ON_PROPERTY"+t.type));let i=this||t.target||J,n=i[r],s;if(Fe&&i===ye&&t.type==="error"){let l=t;s=n&&n.call(this,l.message,l.filename,l.lineno,l.colno,l.error),s===!0&&t.preventDefault()}else s=n&&n.apply(this,arguments),s!=null&&!s&&t.preventDefault();return s};function Ye(t,r,i){let n=ke(t,r);if(!n&&i&&ke(i,r)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let s=G("on"+r+"patched");if(t.hasOwnProperty(s)&&t[s])return;delete n.writable,delete n.value;let l=n.get,E=n.set,T=r.slice(2),m=Re[T];m||(m=Re[T]=G("ON_PROPERTY"+T)),n.set=function(C){let g=this;if(!g&&t===J&&(g=J),!g)return;typeof g[m]=="function"&&g.removeEventListener(T,Xe),E&&E.call(g,null),g[m]=C,typeof C=="function"&&g.addEventListener(T,Xe,!1)},n.get=function(){let C=this;if(!C&&t===J&&(C=J),!C)return null;let g=C[m];if(g)return g;if(l){let Z=l.call(this);if(Z)return n.set.call(this,Z),typeof C[_t]=="function"&&C.removeAttribute(r),Z}return null},Ze(t,r,n),t[s]=!0}function tt(t,r,i){if(r)for(let n=0;nfunction(E,T){let m=i(E,T);return m.cbIdx>=0&&typeof T[m.cbIdx]=="function"?Ge(m.name,T[m.cbIdx],m,s):l.apply(E,T)})}function ue(t,r){t[G("OriginalDelegate")]=r}var $e=!1,Le=!1;function gt(){try{let t=ye.navigator.userAgent;if(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1)return!0}catch{}return!1}function yt(){if($e)return Le;$e=!0;try{let t=ye.navigator.userAgent;(t.indexOf("MSIE ")!==-1||t.indexOf("Trident/")!==-1||t.indexOf("Edge/")!==-1)&&(Le=!0)}catch{}return Le}var ge=!1;if(typeof window<"u")try{let t=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch{ge=!1}var mt={useG:!0},te={},nt={},rt=new RegExp("^"+ve+"(\\w+)(true|false)$"),ot=G("propagationStopped");function st(t,r){let i=(r?r(t):t)+ae,n=(r?r(t):t)+ce,s=ve+i,l=ve+n;te[t]={},te[t][ae]=s,te[t][ce]=l}function pt(t,r,i,n){let s=n&&n.add||je,l=n&&n.rm||He,E=n&&n.listeners||"eventListeners",T=n&&n.rmAll||"removeAllListeners",m=G(s),C="."+s+":",g="prependListener",Z="."+g+":",w=function(v,d,V){if(v.isRemoved)return;let q=v.callback;typeof q=="object"&&q.handleEvent&&(v.callback=y=>q.handleEvent(y),v.originalDelegate=q);let Y;try{v.invoke(v,d,[V])}catch(y){Y=y}let F=v.options;if(F&&typeof F=="object"&&F.once){let y=v.originalDelegate?v.originalDelegate:v.callback;d[l].call(d,V.type,y,F)}return Y};function H(v,d,V){if(d=d||t.event,!d)return;let q=v||d.target||t,Y=q[te[d.type][V?ce:ae]];if(Y){let F=[];if(Y.length===1){let y=w(Y[0],q,d);y&&F.push(y)}else{let y=Y.slice();for(let B=0;B{throw B})}}}let W=function(v){return H(this,v,!1)},x=function(v){return H(this,v,!0)};function ne(v,d){if(!v)return!1;let V=!0;d&&d.useG!==void 0&&(V=d.useG);let q=d&&d.vh,Y=!0;d&&d.chkDup!==void 0&&(Y=d.chkDup);let F=!1;d&&d.rt!==void 0&&(F=d.rt);let y=v;for(;y&&!y.hasOwnProperty(s);)y=Ae(y);if(!y&&v[s]&&(y=v),!y||y[m])return!1;let B=d&&d.eventNameToString,L={},R=y[m]=y[s],k=y[G(l)]=y[l],O=y[G(E)]=y[E],K=y[G(T)]=y[T],z;d&&d.prepend&&(z=y[G(d.prepend)]=y[d.prepend]);function M(o,c){return!ge&&typeof o=="object"&&o?!!o.capture:!ge||!c?o:typeof o=="boolean"?{capture:o,passive:!0}:o?typeof o=="object"&&o.passive!==!1?{...o,passive:!0}:o:{passive:!0}}let _=function(o){if(!L.isExisting)return R.call(L.target,L.eventName,L.capture?x:W,L.options)},a=function(o){if(!o.isRemoved){let c=te[o.eventName],f;c&&(f=c[o.capture?ce:ae]);let b=f&&o.target[f];if(b){for(let S=0;Soe.zone.cancelTask(oe);o.call(_e,"abort",se,{once:!0}),de&&(de.removeAbortListener=()=>_e.removeEventListener("abort",se))}if(L.target=null,de&&(de.taskData=null),Be&&(Q.once=!0),!ge&&typeof oe.options=="boolean"||(oe.options=Q),oe.target=P,oe.capture=De,oe.eventName=D,U&&(oe.originalDelegate=j),p?Ee.unshift(oe):Ee.push(oe),S)return P}};return y[s]=u(R,C,A,I,F),z&&(y[g]=u(z,Z,h,I,F,!0)),y[l]=function(){let o=this||t,c=arguments[0];d&&d.transferEventName&&(c=d.transferEventName(c));let f=arguments[2],b=f?typeof f=="boolean"?!0:f.capture:!1,S=arguments[1];if(!S)return k.apply(this,arguments);if(q&&!q(k,S,o,arguments))return;let p=te[c],P;p&&(P=p[b?ce:ae]);let D=P&&o[P];if(D)for(let j=0;jfunction(s,l){s[ot]=!0,n&&n.apply(s,l)})}function vt(t,r){r.patchMethod(t,"queueMicrotask",i=>function(n,s){Zone.current.scheduleMicroTask("queueMicrotask",s[0])})}var we=G("zoneTask");function Te(t,r,i,n){let s=null,l=null;r+=n,i+=n;let E={};function T(C){let g=C.data;return g.args[0]=function(){return C.invoke.apply(this,arguments)},g.handleId=s.apply(t,g.args),C}function m(C){return l.call(t,C.data.handleId)}s=le(t,r,C=>function(g,Z){if(typeof Z[0]=="function"){let w={isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?Z[1]||0:void 0,args:Z},H=Z[0];Z[0]=function(){try{return H.apply(this,arguments)}finally{w.isPeriodic||(typeof w.handleId=="number"?delete E[w.handleId]:w.handleId&&(w.handleId[we]=null))}};let W=Ge(r,Z[0],w,T,m);if(!W)return W;let x=W.data.handleId;return typeof x=="number"?E[x]=W:x&&(x[we]=W),x&&x.ref&&x.unref&&typeof x.ref=="function"&&typeof x.unref=="function"&&(W.ref=x.ref.bind(x),W.unref=x.unref.bind(x)),typeof x=="number"||x?x:W}else return C.apply(t,Z)}),l=le(t,i,C=>function(g,Z){let w=Z[0],H;typeof w=="number"?H=E[w]:(H=w&&w[we],H||(H=w)),H&&typeof H.type=="string"?H.state!=="notScheduled"&&(H.cancelFn&&H.data.isPeriodic||H.runCount===0)&&(typeof w=="number"?delete E[w]:w&&(w[we]=null),H.zone.cancelTask(H)):C.apply(t,Z)})}function bt(t,r){let{isBrowser:i,isMix:n}=r.getGlobalObjects();if(!i&&!n||!t.customElements||!("customElements"in t))return;let s=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];r.patchCallbacks(r,t.customElements,"customElements","define",s)}function Pt(t,r){if(Zone[r.symbol("patchEventTarget")])return;let{eventNames:i,zoneSymbolEventNames:n,TRUE_STR:s,FALSE_STR:l,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let m=0;ml.target===t);if(!n||n.length===0)return r;let s=n[0].ignoreProperties;return r.filter(l=>s.indexOf(l)===-1)}function Je(t,r,i,n){if(!t)return;let s=ct(t,r,i);tt(t,s,n)}function Me(t){return Object.getOwnPropertyNames(t).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Rt(t,r){if(Se&&!et||Zone[t.symbol("patchEvents")])return;let i=r.__Zone_ignore_on_properties,n=[];if(Fe){let s=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let l=gt()?[{target:s,ignoreProperties:["error"]}]:[];Je(s,Me(s),i&&i.concat(l),Ae(s))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let s=0;s{let i=r[t.__symbol__("legacyPatch")];i&&i()}),t.__load_patch("timers",r=>{let i="set",n="clear";Te(r,i,n,"Timeout"),Te(r,i,n,"Interval"),Te(r,i,n,"Immediate")}),t.__load_patch("requestAnimationFrame",r=>{Te(r,"request","cancel","AnimationFrame"),Te(r,"mozRequest","mozCancel","AnimationFrame"),Te(r,"webkitRequest","webkitCancel","AnimationFrame")}),t.__load_patch("blocking",(r,i)=>{let n=["alert","prompt","confirm"];for(let s=0;sfunction(C,g){return i.current.run(E,r,g,m)})}}),t.__load_patch("EventTarget",(r,i,n)=>{wt(r,n),Pt(r,n);let s=r.XMLHttpRequestEventTarget;s&&s.prototype&&n.patchEventTarget(r,n,[s.prototype])}),t.__load_patch("MutationObserver",(r,i,n)=>{pe("MutationObserver"),pe("WebKitMutationObserver")}),t.__load_patch("IntersectionObserver",(r,i,n)=>{pe("IntersectionObserver")}),t.__load_patch("FileReader",(r,i,n)=>{pe("FileReader")}),t.__load_patch("on_property",(r,i,n)=>{Rt(n,r)}),t.__load_patch("customElements",(r,i,n)=>{bt(r,n)}),t.__load_patch("XHR",(r,i)=>{C(r);let n=G("xhrTask"),s=G("xhrSync"),l=G("xhrListener"),E=G("xhrScheduled"),T=G("xhrURL"),m=G("xhrErrorBeforeScheduled");function C(g){let Z=g.XMLHttpRequest;if(!Z)return;let w=Z.prototype;function H(R){return R[n]}let W=w[Ne],x=w[Ie];if(!W){let R=g.XMLHttpRequestEventTarget;if(R){let k=R.prototype;W=k[Ne],x=k[Ie]}}let ne="readystatechange",X="scheduled";function v(R){let k=R.data,O=k.target;O[E]=!1,O[m]=!1;let K=O[l];W||(W=O[Ne],x=O[Ie]),K&&x.call(O,ne,K);let z=O[l]=()=>{if(O.readyState===O.DONE)if(!k.aborted&&O[E]&&R.state===X){let _=O[i.__symbol__("loadfalse")];if(O.status!==0&&_&&_.length>0){let a=R.invoke;R.invoke=function(){let e=O[i.__symbol__("loadfalse")];for(let h=0;hfunction(R,k){return R[s]=k[2]==!1,R[T]=k[1],q.apply(R,k)}),Y="XMLHttpRequest.send",F=G("fetchTaskAborting"),y=G("fetchTaskScheduling"),B=le(w,"send",()=>function(R,k){if(i.current[y]===!0||R[s])return B.apply(R,k);{let O={target:R,url:R[T],isPeriodic:!1,args:k,aborted:!1},K=Ge(Y,d,O,v,V);R&&R[m]===!0&&!O.aborted&&K.state===X&&K.invoke()}}),L=le(w,"abort",()=>function(R,k){let O=H(R);if(O&&typeof O.type=="string"){if(O.cancelFn==null||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(i.current[F]===!0)return L.apply(R,k)})}}),t.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&Et(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),t.__load_patch("PromiseRejectionEvent",(r,i)=>{function n(s){return function(l){it(r,s).forEach(T=>{let m=r.PromiseRejectionEvent;if(m){let C=new m(s,{promise:l.promise,reason:l.rejection});T.invoke(C)}})}}r.PromiseRejectionEvent&&(i[G("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),i[G("rejectionHandledHandler")]=n("rejectionhandled"))}),t.__load_patch("queueMicrotask",(r,i,n)=>{vt(r,n)})}function St(t){t.__load_patch("ZoneAwarePromise",(r,i,n)=>{let s=Object.getOwnPropertyDescriptor,l=Object.defineProperty;function E(u){if(u&&u.toString===Object.prototype.toString){let o=u.constructor&&u.constructor.name;return(o||"")+": "+JSON.stringify(u)}return u?u.toString():Object.prototype.toString.call(u)}let T=n.symbol,m=[],C=r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,g=T("Promise"),Z=T("then"),w="__creationTrace__";n.onUnhandledError=u=>{if(n.showUncaughtError()){let o=u&&u.rejection;o?console.error("Unhandled Promise rejection:",o instanceof Error?o.message:o,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",o,o instanceof Error?o.stack:void 0):console.error(u)}},n.microtaskDrainDone=()=>{for(;m.length;){let u=m.shift();try{u.zone.runGuarded(()=>{throw u.throwOriginal?u.rejection:u})}catch(o){W(o)}}};let H=T("unhandledPromiseRejectionHandler");function W(u){n.onUnhandledError(u);try{let o=i[H];typeof o=="function"&&o.call(this,u)}catch{}}function x(u){return u&&u.then}function ne(u){return u}function X(u){return I.reject(u)}let v=T("state"),d=T("value"),V=T("finally"),q=T("parentPromiseValue"),Y=T("parentPromiseState"),F="Promise.then",y=null,B=!0,L=!1,R=0;function k(u,o){return c=>{try{M(u,o,c)}catch(f){M(u,!1,f)}}}let O=function(){let u=!1;return function(c){return function(){u||(u=!0,c.apply(null,arguments))}}},K="Promise resolved with itself",z=T("currentTaskTrace");function M(u,o,c){let f=O();if(u===c)throw new TypeError(K);if(u[v]===y){let b=null;try{(typeof c=="object"||typeof c=="function")&&(b=c&&c.then)}catch(S){return f(()=>{M(u,!1,S)})(),u}if(o!==L&&c instanceof I&&c.hasOwnProperty(v)&&c.hasOwnProperty(d)&&c[v]!==y)a(c),M(u,c[v],c[d]);else if(o!==L&&typeof b=="function")try{b.call(c,f(k(u,o)),f(k(u,!1)))}catch(S){f(()=>{M(u,!1,S)})()}else{u[v]=o;let S=u[d];if(u[d]=c,u[V]===V&&o===B&&(u[v]=u[Y],u[d]=u[q]),o===L&&c instanceof Error){let p=i.currentTask&&i.currentTask.data&&i.currentTask.data[w];p&&l(c,z,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let P=u[d],D=!!c&&V===c[V];D&&(c[q]=P,c[Y]=S);let j=o.run(p,void 0,D&&p!==X&&p!==ne?[]:[P]);M(c,!0,j)}catch(P){M(c,!1,P)}},c)}let h="function ZoneAwarePromise() { [native code] }",N=function(){},A=r.AggregateError;class I{static toString(){return h}static resolve(o){return o instanceof I?o:M(new this(null),B,o)}static reject(o){return M(new this(null),L,o)}static withResolvers(){let o={};return o.promise=new I((c,f)=>{o.resolve=c,o.reject=f}),o}static any(o){if(!o||typeof o[Symbol.iterator]!="function")return Promise.reject(new A([],"All promises were rejected"));let c=[],f=0;try{for(let p of o)f++,c.push(I.resolve(p))}catch{return Promise.reject(new A([],"All promises were rejected"))}if(f===0)return Promise.reject(new A([],"All promises were rejected"));let b=!1,S=[];return new I((p,P)=>{for(let D=0;D{b||(b=!0,p(j))},j=>{S.push(j),f--,f===0&&(b=!0,P(new A(S,"All promises were rejected")))})})}static race(o){let c,f,b=new this((P,D)=>{c=P,f=D});function S(P){c(P)}function p(P){f(P)}for(let P of o)x(P)||(P=this.resolve(P)),P.then(S,p);return b}static all(o){return I.allWithCallback(o)}static allSettled(o){return(this&&this.prototype instanceof I?this:I).allWithCallback(o,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(o,c){let f,b,S=new this((j,U)=>{f=j,b=U}),p=2,P=0,D=[];for(let j of o){x(j)||(j=this.resolve(j));let U=P;try{j.then($=>{D[U]=c?c.thenCallback($):$,p--,p===0&&f(D)},$=>{c?(D[U]=c.errorCallback($),p--,p===0&&f(D)):b($)})}catch($){b($)}p++,P++}return p-=2,p===0&&f(D),S}constructor(o){let c=this;if(!(c instanceof I))throw new Error("Must be an instanceof Promise.");c[v]=y,c[d]=[];try{let f=O();o&&o(f(k(c,B)),f(k(c,L)))}catch(f){M(c,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return I}then(o,c){let f=this.constructor?.[Symbol.species];(!f||typeof f!="function")&&(f=this.constructor||I);let b=new f(N),S=i.current;return this[v]==y?this[d].push(S,b,o,c):e(this,S,b,o,c),b}catch(o){return this.then(null,o)}finally(o){let c=this.constructor?.[Symbol.species];(!c||typeof c!="function")&&(c=I);let f=new c(N);f[V]=V;let b=i.current;return this[v]==y?this[d].push(b,f,o,o):e(this,b,f,o,o),f}}I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;let fe=r[g]=r.Promise;r.Promise=I;let me=T("thenPatched");function he(u){let o=u.prototype,c=s(o,"then");if(c&&(c.writable===!1||!c.configurable))return;let f=o.then;o[Z]=f,u.prototype.then=function(b,S){return new I((P,D)=>{f.call(this,P,D)}).then(b,S)},u[me]=!0}n.patchThen=he;function be(u){return function(o,c){let f=u.apply(o,c);if(f instanceof I)return f;let b=f.constructor;return b[me]||he(b),f}}return fe&&(he(fe),le(r,"fetch",u=>be(u))),Promise[i.__symbol__("uncaughtPromiseErrors")]=m,I})}function Dt(t){t.__load_patch("toString",r=>{let i=Function.prototype.toString,n=G("OriginalDelegate"),s=G("Promise"),l=G("Error"),E=function(){if(typeof this=="function"){let g=this[n];if(g)return typeof g=="function"?i.call(g):Object.prototype.toString.call(g);if(this===Promise){let Z=r[s];if(Z)return i.call(Z)}if(this===Error){let Z=r[l];if(Z)return i.call(Z)}}return i.call(this)};E[n]=i,Function.prototype.toString=E;let T=Object.prototype.toString,m="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?m:T.call(this)}})}function Ot(t,r,i,n,s){let l=Zone.__symbol__(n);if(r[l])return;let E=r[l]=r[n];r[n]=function(T,m,C){return m&&m.prototype&&s.forEach(function(g){let Z=`${i}.${n}::`+g,w=m.prototype;try{if(w.hasOwnProperty(g)){let H=t.ObjectGetOwnPropertyDescriptor(w,g);H&&H.value?(H.value=t.wrapWithCurrentZone(H.value,Z),t._redefineProperty(m.prototype,g,H)):w[g]&&(w[g]=t.wrapWithCurrentZone(w[g],Z))}else w[g]&&(w[g]=t.wrapWithCurrentZone(w[g],Z))}catch{}}),E.call(r,T,m,C)},t.attachOriginToPatched(r[n],E)}function Nt(t){t.__load_patch("util",(r,i,n)=>{let s=Me(r);n.patchOnProperties=tt,n.patchMethod=le,n.bindArguments=Ve,n.patchMacroTask=Tt;let l=i.__symbol__("BLACK_LISTED_EVENTS"),E=i.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[l]=r[E]),r[l]&&(i[l]=i[E]=r[l]),n.patchEventPrototype=kt,n.patchEventTarget=pt,n.isIEOrEdge=yt,n.ObjectDefineProperty=Ze,n.ObjectGetOwnPropertyDescriptor=ke,n.ObjectCreate=ht,n.ArraySlice=dt,n.patchClass=pe,n.wrapWithCurrentZone=xe,n.filterProperties=ct,n.attachOriginToPatched=ue,n._redefineProperty=Object.defineProperty,n.patchCallbacks=Ot,n.getGlobalObjects=()=>({globalSources:nt,zoneSymbolEventNames:te,eventNames:s,isBrowser:Fe,isMix:et,isNode:Se,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:je,REMOVE_EVENT_LISTENER_STR:He})})}function It(t){St(t),Dt(t),Nt(t)}var at=ft();It(at);Ct(at); diff --git a/docs/polyfills.66531447a85fdc52.js b/docs/polyfills.66531447a85fdc52.js deleted file mode 100644 index 9b9cc25..0000000 --- a/docs/polyfills.66531447a85fdc52.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunknb_common_demo=self.webpackChunknb_common_demo||[]).push([[429],{5321:(ie,Ee,de)=>{de(8332)},8332:()=>{!function(e){const n=e.performance;function i(L){n&&n.mark&&n.mark(L)}function o(L,T){n&&n.measure&&n.measure(L,T)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(L){return c+L}const y=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(y||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class L{static#e=this.__symbol__=a;static assertZonePatched(){if(e.Promise!==oe.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=L.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&y)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,L,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=E;C&&t._transitionTo(E,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,E):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,E,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new m(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new m(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new m(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===A||t.state===E){t._transitionTo(G,A,E);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;CL.hasTask(t,r),onScheduleTask:(L,T,t,r)=>L.scheduleTask(t,r),onInvokeTask:(L,T,t,r,k,C)=>L.invokeTask(t,r,k,C),onCancelTask:(L,T,t,r)=>L.cancelTask(t,r)};class v{constructor(T,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=T,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=T,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(T,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,T,t):new d(T,t)}intercept(T,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,T,t,r):t}invoke(T,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,T,t,r,k,C):t.apply(r,k)}handleError(T,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,T,t)}scheduleTask(T,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,T,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(T,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,T,t,r,k):t.callback.apply(r,k)}cancelTask(T,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,T,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(T,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,T,t)}catch(r){this.handleError(T,r)}}_updateTaskCount(T,t){const r=this._taskCounts,k=r[T],C=r[T]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:T})}}class m{constructor(T,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=T,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=T===Q&&k&&k.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(T,t,r){T||(T=this),ee++;try{return T.runCount++,T.zone.runTask(T,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(T,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${T}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=T,T==x&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const M=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(L){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let T=J[N];T||(T=J.then),T.call(J,L)}else e[M](L,0)}function R(L){0===ee&&0===B.length&&q(_),L&&B.push(L)}function _(){if(!H){for(H=!0;B.length;){const L=B;B=[];for(let T=0;TU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}(globalThis);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ne=Zone.__symbol__(Oe),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe=typeof window<"u",Te=Pe?window:void 0,Y=Pe&&Te||globalThis,ct="removeAttribute";function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const Be=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in Y)&&typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=typeof Y.process<"u"&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;return Ae&&i===Te&&"error"===e.type?(c=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,y=o.set,d=n.slice(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let m=this;!m&&e===Y&&(m=Y),m&&("function"==typeof m[b]&&m.removeEventListener(d,We),y&&y.call(m,null),m[b]=v,"function"==typeof v&&m.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const m=v[b];if(m)return m;if(a){let M=a.call(this);if(M)return o.set.call(this,M),"function"==typeof v[ct]&&v.removeAttribute(n),M}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;ofunction(y,d){const b=i(y,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(y,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch{}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,y=i.symbol,d=[],b=!1!==e[y("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=y("Promise"),m=y("then"),M="__creationTrace__";i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=y("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=y("state"),R=y("value"),_=y("finally"),K=y("parentPromiseValue"),x=y("parentPromiseState"),X="Promise.then",A=null,E=!0,G=!1,h=0;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const P=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}},Q="Promise resolved with itself",oe=y("currentTaskTrace");function z(l,u,s){const f=P();if(l===s)throw new TypeError(Q);if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===E&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const p=n.currentTask&&n.currentTask.data&&n.currentTask.data[M];p&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{const D=l[R],S=!!s&&_===s[_];S&&(s[K]=D,s[x]=w);const O=u.run(p,void 0,S&&p!==J&&p!==H?[]:[D]);z(s,!0,O)}catch(D){z(s,!1,D)}},s)}const L=function(){},T=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),E,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new T([],"All promises were rejected"));const s=[];let f=0;try{for(let p of u)f++,s.push(t.resolve(p))}catch{return Promise.reject(new T([],"All promises were rejected"))}if(0===f)return Promise.reject(new T([],"All promises were rejected"));let g=!1;const w=[];return new t((p,D)=>{for(let S=0;S{g||(g=!0,p(O))},O=>{w.push(O),f--,0===f&&(g=!0,D(new T(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,S)=>{s=D,f=S});function w(D){s(D)}function p(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((O,V)=>{f=O,g=V}),p=2,D=0;const S=[];for(let O of u){B(O)||(O=this.resolve(O));const V=D;try{O.then(F=>{S[V]=s?s.thenCallback(F):F,p--,0===p&&f(S)},F=>{s?(S[V]=s.errorCallback(F),p--,0===p&&f(S)):g(F)})}catch(F){g(F)}p++,D++}return p-=2,0===p&&f(S),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{const f=P();u&&u(f(I(s,E)),f(I(s,G)))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor?.[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(L),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(L);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=y("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[m]=f,l.prototype.then=function(g,w){return new t((D,S)=>{f.call(this,D,S)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const m=e[o];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const y=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":y.call(this)}});let ye=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Se,a=o&&o.rm||Oe,y=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",m="prependListener",M="."+m+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=E=>x.handleEvent(E),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(E){X=E}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const E=Z(X[0],x,_);E&&A.push(E)}else{const E=X.slice();for(let G=0;G{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let E=R;for(;E&&!E.hasOwnProperty(c);)E=de(E);if(!E&&R[c]&&(E=R),!E||E[b])return!1;const G=_&&_.eventNameToString,h={},I=E[b]=E[c],P=E[j(a)]=E[a],Q=E[j(y)]=E[y],oe=E[j(d)]=E[d];let z;_&&_.prepend&&(z=E[j(_.prepend)]=E[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let p=0;pfunction(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const y=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(m){const M=`${i}.${o}::`+m,Z=b.prototype;try{if(Z.hasOwnProperty(m)){const N=e.ObjectGetOwnPropertyDescriptor(Z,m);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,M),e._redefineProperty(b.prototype,m,N)):Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}else Z[m]&&(Z[m]=e.wrapWithCurrentZone(Z[m],M))}catch{}}),y.call(n,d,b,v)},e.attachOriginToPatched(n[o],y)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ce=j("zoneTask");function me(e,n,i,o){let c=null,a=null;i+=o;const y={};function d(v){const m=v.data;return m.args[0]=function(){return v.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(m,M){if("function"==typeof M[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?M[1]||0:void 0,args:M},N=M[0];M[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete y[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,M[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?y[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,M)}),a=le(e,i,v=>function(m,M){const Z=M[0];let N;"number"==typeof Z?N=y[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete y[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,M)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("timers",e=>{const n="set",i="clear";me(e,n,i,"Timeout"),me(e,n,i,"Interval"),me(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{me(e,"request","cancel","AnimationFrame"),me(e,"mozRequest","mozCancel","AnimationFrame"),me(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;ofunction(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function gt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:y}=n.getGlobalObjects();for(let b=0;b{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{!function mt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function b(v){const m=v.XMLHttpRequest;if(!m)return;const M=m.prototype;let N=M[Ze],B=M[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[o]=0==I[2],h[y]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),E=le(M,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return E.apply(h,I);{const P={target:h,url:h[y],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(M,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),y=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});y.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{!function yt(e,n){n.patchMethod(e,"queueMicrotask",i=>function(o,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,i)})}},ie=>{ie(ie.s=5321)}]); \ No newline at end of file diff --git a/docs/runtime.fa83d8c236d05208.js b/docs/runtime.fa83d8c236d05208.js deleted file mode 100644 index 16d76e7..0000000 --- a/docs/runtime.fa83d8c236d05208.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,m={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={exports:{}};return m[e].call(t.exports,t,t.exports,r),t.exports}r.m=m,e=[],r.O=(n,t,i,f)=>{if(!t){var a=1/0;for(o=0;o=f)&&Object.keys(r.O).every(b=>r.O[b](t[u]))?t.splice(u--,1):(c=!1,f0&&e[o-1][2]>f;o--)e[o]=e[o-1];e[o]=[t,i,f]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{61:"a8767e6285901d2e",153:"741b2b784256b353",363:"3c483319babd76f2",644:"a01841aeb789a442",772:"d2a18bd900c29719",867:"500573d00224825a",993:"401e9d7c9d6eb3a9"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="nb-common-demo:";r.l=(t,i,f,o)=>{if(e[t])e[t].push(i);else{var a,c;if(void 0!==f)for(var u=document.getElementsByTagName("script"),l=0;l{a.onerror=a.onload=null,clearTimeout(p);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(h=>h(b)),_)return _(b)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=s.bind(null,a.onerror),a.onload=s.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(i,f)=>{var o=r.o(e,i)?e[i]:void 0;if(0!==o)if(o)f.push(o[2]);else if(666!=i){var a=new Promise((d,s)=>o=e[i]=[d,s]);f.push(o[2]=a);var c=r.p+r.u(i),u=new Error;r.l(c,d=>{if(r.o(e,i)&&(0!==(o=e[i])&&(e[i]=void 0),o)){var s=d&&("load"===d.type?"missing":d.type),p=d&&d.target&&d.target.src;u.message="Loading chunk "+i+" failed.\n("+s+": "+p+")",u.name="ChunkLoadError",u.type=s,u.request=p,o[1](u)}},"chunk-"+i,i)}else e[i]=0},r.O.j=i=>0===e[i];var n=(i,f)=>{var u,l,[o,a,c]=f,d=0;if(o.some(p=>0!==e[p])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(c)var s=c(r)}for(i&&i(f);d diff --git a/projects/nb-common/README.md b/projects/nb-common/README.md index aee74e8..0e45140 100644 --- a/projects/nb-common/README.md +++ b/projects/nb-common/README.md @@ -49,6 +49,7 @@ Angular common lib by bigBear713, include some common `component`, `directive`, | ^15.0.0 | ^15.0.0 | | ^16.0.0 | ^16.0.0 | | ^17.0.0 | ^17.0.0 | +| ^18.0.0 | ^18.0.0 |
diff --git a/projects/nb-common/package.json b/projects/nb-common/package.json index 4f5b50e..87818a5 100644 --- a/projects/nb-common/package.json +++ b/projects/nb-common/package.json @@ -1,6 +1,6 @@ { "name": "@bigbear713/nb-common", - "version": "17.0.0", + "version": "18.0.0", "homepage": "https://github.com/bigBear713/nb-common/blob/main/projects/nb-common/README.md", "description": "An angular(2+) common component, pipe, service library.", "keywords": [ @@ -13,6 +13,7 @@ "angular15", "angular16", "angular17", + "angular18", "bigBear713" ], "license": "MIT", @@ -24,8 +25,8 @@ "url": "https://github.com/bigBear713/nb-common/issues" }, "peerDependencies": { - "@angular/common": "^17.0.0", - "@angular/core": "^17.0.0" + "@angular/common": "^18.0.0", + "@angular/core": "^18.0.0" }, "dependencies": { "lodash-es": "^4.17.21", diff --git a/src/app/g-tag.service.ts b/src/app/g-tag.service.ts index 887fece..cfdff4b 100644 --- a/src/app/g-tag.service.ts +++ b/src/app/g-tag.service.ts @@ -1,8 +1,8 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Injectable } from '@angular/core'; import { Router } from '@angular/router'; -import * as dayjs from 'dayjs'; -import * as utc from 'dayjs/plugin/utc'; +import dayjs from 'dayjs'; +import utc from 'dayjs/plugin/utc'; dayjs.extend(utc); const defaultGtag = () => {}; diff --git a/tsconfig.json b/tsconfig.json index d953212..c0a6e90 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,12 +5,12 @@ "baseUrl": "./", "outDir": "./dist/out-tsc", "forceConsistentCasingInFileNames": true, + "esModuleInterop": true, "strict": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "sourceMap": true, "declaration": false, - "downlevelIteration": true, "paths": { "nb-common": [ "dist/nb-common/nb-common",