{"version":3,"sources":["node_modules/moment/moment.js","node_modules/deepmerge/dist/cjs.js","node_modules/@angular/core/fesm2022/primitives/signals.mjs","node_modules/rxjs/dist/esm/internal/util/isFunction.js","node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","node_modules/rxjs/dist/esm/internal/util/arrRemove.js","node_modules/rxjs/dist/esm/internal/Subscription.js","node_modules/rxjs/dist/esm/internal/config.js","node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js","node_modules/rxjs/dist/esm/internal/util/noop.js","node_modules/rxjs/dist/esm/internal/NotificationFactories.js","node_modules/rxjs/dist/esm/internal/util/errorContext.js","node_modules/rxjs/dist/esm/internal/Subscriber.js","node_modules/rxjs/dist/esm/internal/symbol/observable.js","node_modules/rxjs/dist/esm/internal/util/identity.js","node_modules/rxjs/dist/esm/internal/util/pipe.js","node_modules/rxjs/dist/esm/internal/Observable.js","node_modules/rxjs/dist/esm/internal/util/lift.js","node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","node_modules/rxjs/dist/esm/internal/operators/refCount.js","node_modules/rxjs/dist/esm/internal/observable/ConnectableObservable.js","node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","node_modules/rxjs/dist/esm/internal/Subject.js","node_modules/rxjs/dist/esm/internal/BehaviorSubject.js","node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","node_modules/rxjs/dist/esm/internal/ReplaySubject.js","node_modules/rxjs/dist/esm/internal/scheduler/Action.js","node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","node_modules/rxjs/dist/esm/internal/util/Immediate.js","node_modules/rxjs/dist/esm/internal/scheduler/immediateProvider.js","node_modules/rxjs/dist/esm/internal/scheduler/AsapAction.js","node_modules/rxjs/dist/esm/internal/Scheduler.js","node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","node_modules/rxjs/dist/esm/internal/scheduler/AsapScheduler.js","node_modules/rxjs/dist/esm/internal/scheduler/asap.js","node_modules/rxjs/dist/esm/internal/scheduler/async.js","node_modules/rxjs/dist/esm/internal/scheduler/QueueAction.js","node_modules/rxjs/dist/esm/internal/scheduler/QueueScheduler.js","node_modules/rxjs/dist/esm/internal/scheduler/queue.js","node_modules/rxjs/dist/esm/internal/observable/empty.js","node_modules/rxjs/dist/esm/internal/util/isScheduler.js","node_modules/rxjs/dist/esm/internal/util/args.js","node_modules/tslib/tslib.es6.mjs","node_modules/rxjs/dist/esm/internal/util/isArrayLike.js","node_modules/rxjs/dist/esm/internal/util/isPromise.js","node_modules/rxjs/dist/esm/internal/util/isInteropObservable.js","node_modules/rxjs/dist/esm/internal/util/isAsyncIterable.js","node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js","node_modules/rxjs/dist/esm/internal/symbol/iterator.js","node_modules/rxjs/dist/esm/internal/util/isIterable.js","node_modules/rxjs/dist/esm/internal/util/isReadableStreamLike.js","node_modules/rxjs/dist/esm/internal/observable/innerFrom.js","node_modules/rxjs/dist/esm/internal/util/executeSchedule.js","node_modules/rxjs/dist/esm/internal/operators/observeOn.js","node_modules/rxjs/dist/esm/internal/operators/subscribeOn.js","node_modules/rxjs/dist/esm/internal/scheduled/scheduleObservable.js","node_modules/rxjs/dist/esm/internal/scheduled/schedulePromise.js","node_modules/rxjs/dist/esm/internal/scheduled/scheduleArray.js","node_modules/rxjs/dist/esm/internal/scheduled/scheduleIterable.js","node_modules/rxjs/dist/esm/internal/scheduled/scheduleAsyncIterable.js","node_modules/rxjs/dist/esm/internal/scheduled/scheduleReadableStreamLike.js","node_modules/rxjs/dist/esm/internal/scheduled/scheduled.js","node_modules/rxjs/dist/esm/internal/observable/from.js","node_modules/rxjs/dist/esm/internal/observable/of.js","node_modules/rxjs/dist/esm/internal/observable/throwError.js","node_modules/rxjs/dist/esm/internal/Notification.js","node_modules/rxjs/dist/esm/internal/util/isObservable.js","node_modules/rxjs/dist/esm/internal/util/EmptyError.js","node_modules/rxjs/dist/esm/internal/util/isDate.js","node_modules/rxjs/dist/esm/internal/operators/timeout.js","node_modules/rxjs/dist/esm/internal/operators/map.js","node_modules/rxjs/dist/esm/internal/util/mapOneOrManyArgs.js","node_modules/rxjs/dist/esm/internal/util/argsArgArrayOrObject.js","node_modules/rxjs/dist/esm/internal/util/createObject.js","node_modules/rxjs/dist/esm/internal/observable/combineLatest.js","node_modules/rxjs/dist/esm/internal/operators/mergeInternals.js","node_modules/rxjs/dist/esm/internal/operators/mergeMap.js","node_modules/rxjs/dist/esm/internal/operators/mergeAll.js","node_modules/rxjs/dist/esm/internal/operators/concatAll.js","node_modules/rxjs/dist/esm/internal/observable/concat.js","node_modules/rxjs/dist/esm/internal/observable/defer.js","node_modules/rxjs/dist/esm/internal/observable/forkJoin.js","node_modules/rxjs/dist/esm/internal/observable/fromEvent.js","node_modules/rxjs/dist/esm/internal/observable/timer.js","node_modules/rxjs/dist/esm/internal/observable/merge.js","node_modules/rxjs/dist/esm/internal/operators/filter.js","node_modules/rxjs/dist/esm/internal/operators/audit.js","node_modules/rxjs/dist/esm/internal/operators/auditTime.js","node_modules/rxjs/dist/esm/internal/operators/catchError.js","node_modules/rxjs/dist/esm/internal/operators/scanInternals.js","node_modules/rxjs/dist/esm/internal/operators/concatMap.js","node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","node_modules/rxjs/dist/esm/internal/operators/defaultIfEmpty.js","node_modules/rxjs/dist/esm/internal/operators/take.js","node_modules/rxjs/dist/esm/internal/operators/ignoreElements.js","node_modules/rxjs/dist/esm/internal/operators/mapTo.js","node_modules/rxjs/dist/esm/internal/operators/delayWhen.js","node_modules/rxjs/dist/esm/internal/operators/delay.js","node_modules/rxjs/dist/esm/internal/operators/dematerialize.js","node_modules/rxjs/dist/esm/internal/operators/distinct.js","node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","node_modules/rxjs/dist/esm/internal/operators/throwIfEmpty.js","node_modules/rxjs/dist/esm/internal/operators/exhaustMap.js","node_modules/rxjs/dist/esm/internal/operators/finalize.js","node_modules/rxjs/dist/esm/internal/operators/first.js","node_modules/rxjs/dist/esm/internal/operators/groupBy.js","node_modules/rxjs/dist/esm/internal/operators/takeLast.js","node_modules/rxjs/dist/esm/internal/operators/last.js","node_modules/rxjs/dist/esm/internal/operators/materialize.js","node_modules/rxjs/dist/esm/internal/operators/pairwise.js","node_modules/rxjs/dist/esm/internal/operators/pluck.js","node_modules/rxjs/dist/esm/internal/operators/scan.js","node_modules/rxjs/dist/esm/internal/operators/share.js","node_modules/rxjs/dist/esm/internal/operators/shareReplay.js","node_modules/rxjs/dist/esm/internal/operators/skip.js","node_modules/rxjs/dist/esm/internal/operators/skipWhile.js","node_modules/rxjs/dist/esm/internal/operators/startWith.js","node_modules/rxjs/dist/esm/internal/operators/switchMap.js","node_modules/rxjs/dist/esm/internal/operators/takeUntil.js","node_modules/rxjs/dist/esm/internal/operators/takeWhile.js","node_modules/rxjs/dist/esm/internal/operators/tap.js","node_modules/rxjs/dist/esm/internal/operators/throttle.js","node_modules/rxjs/dist/esm/internal/operators/throttleTime.js","node_modules/rxjs/dist/esm/internal/operators/withLatestFrom.js","node_modules/@angular/core/fesm2022/core.mjs","src/environments/environment.base.ts","src/environments/environment.verv.ts","src/environments/environment.verv.release.ts","node_modules/@angular/common/fesm2022/common.mjs","node_modules/@angular/common/fesm2022/http.mjs","node_modules/@angular/forms/fesm2022/forms.mjs","node_modules/@angular/platform-browser/fesm2022/platform-browser.mjs","node_modules/@azure/msal-common/dist/utils/Constants.mjs","node_modules/@azure/msal-common/dist/error/AuthErrorCodes.mjs","node_modules/@azure/msal-common/dist/error/AuthError.mjs","node_modules/@azure/msal-common/dist/error/ClientAuthErrorCodes.mjs","node_modules/@azure/msal-common/dist/error/ClientAuthError.mjs","node_modules/@azure/msal-common/dist/crypto/ICrypto.mjs","node_modules/@azure/msal-common/dist/logger/Logger.mjs","node_modules/@azure/msal-common/dist/packageMetadata.mjs","node_modules/@azure/msal-common/dist/authority/AuthorityOptions.mjs","node_modules/@azure/msal-common/dist/cache/utils/CacheHelpers.mjs","node_modules/@azure/msal-common/dist/account/AuthToken.mjs","node_modules/@azure/msal-common/dist/utils/TimeUtils.mjs","node_modules/@azure/msal-common/dist/error/ClientConfigurationErrorCodes.mjs","node_modules/@azure/msal-common/dist/error/ClientConfigurationError.mjs","node_modules/@azure/msal-common/dist/utils/StringUtils.mjs","node_modules/@azure/msal-common/dist/request/ScopeSet.mjs","node_modules/@azure/msal-common/dist/account/ClientInfo.mjs","node_modules/@azure/msal-common/dist/account/AccountInfo.mjs","node_modules/@azure/msal-common/dist/authority/AuthorityType.mjs","node_modules/@azure/msal-common/dist/account/TokenClaims.mjs","node_modules/@azure/msal-common/dist/authority/ProtocolMode.mjs","node_modules/@azure/msal-common/dist/cache/entities/AccountEntity.mjs","node_modules/@azure/msal-common/dist/utils/UrlUtils.mjs","node_modules/@azure/msal-common/dist/url/UrlString.mjs","node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.mjs","node_modules/@azure/msal-common/dist/error/CacheErrorCodes.mjs","node_modules/@azure/msal-common/dist/error/CacheError.mjs","node_modules/@azure/msal-common/dist/cache/CacheManager.mjs","node_modules/@azure/msal-common/dist/config/ClientConfiguration.mjs","node_modules/@azure/msal-common/dist/account/CcsCredential.mjs","node_modules/@azure/msal-common/dist/constants/AADServerParamKeys.mjs","node_modules/@azure/msal-common/dist/request/RequestValidator.mjs","node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.mjs","node_modules/@azure/msal-common/dist/authority/AuthorityFactory.mjs","node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.mjs","node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.mjs","node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs","node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.mjs","node_modules/@azure/msal-common/dist/utils/FunctionWrappers.mjs","node_modules/@azure/msal-common/dist/authority/RegionDiscovery.mjs","node_modules/@azure/msal-common/dist/authority/Authority.mjs","node_modules/@azure/msal-common/dist/error/ServerError.mjs","node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs","node_modules/@azure/msal-common/dist/error/NetworkError.mjs","node_modules/@azure/msal-common/dist/client/BaseClient.mjs","node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs","node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs","node_modules/@azure/msal-common/dist/utils/ProtocolUtils.mjs","node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.mjs","node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs","node_modules/@azure/msal-common/dist/response/ResponseHandler.mjs","node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs","node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs","node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs","node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs","node_modules/@azure/msal-common/dist/network/INetworkModule.mjs","node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs","node_modules/@azure/msal-common/dist/error/JoseHeaderErrorCodes.mjs","node_modules/@azure/msal-common/dist/error/JoseHeaderError.mjs","node_modules/@azure/msal-common/dist/crypto/JoseHeader.mjs","node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.mjs","node_modules/@azure/msal-browser/dist/utils/BrowserConstants.mjs","node_modules/@azure/msal-browser/dist/navigation/NavigationClient.mjs","node_modules/@azure/msal-browser/dist/error/BrowserAuthErrorCodes.mjs","node_modules/@azure/msal-browser/dist/error/BrowserAuthError.mjs","node_modules/@azure/msal-browser/dist/network/FetchClient.mjs","node_modules/@azure/msal-browser/dist/utils/BrowserUtils.mjs","node_modules/@azure/msal-browser/dist/encode/Base64Encode.mjs","node_modules/@azure/msal-browser/dist/encode/Base64Decode.mjs","node_modules/@azure/msal-browser/dist/crypto/BrowserCrypto.mjs","node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthErrorCodes.mjs","node_modules/@azure/msal-browser/dist/error/BrowserConfigurationAuthError.mjs","node_modules/@azure/msal-browser/dist/config/Configuration.mjs","node_modules/@azure/msal-browser/dist/packageMetadata.mjs","node_modules/@azure/msal-browser/dist/operatingcontext/BaseOperatingContext.mjs","node_modules/@azure/msal-browser/dist/operatingcontext/StandardOperatingContext.mjs","node_modules/@azure/msal-browser/dist/cache/DatabaseStorage.mjs","node_modules/@azure/msal-browser/dist/cache/MemoryStorage.mjs","node_modules/@azure/msal-browser/dist/cache/AsyncMemoryStorage.mjs","node_modules/@azure/msal-browser/dist/crypto/CryptoOps.mjs","node_modules/@azure/msal-browser/dist/cache/CookieStorage.mjs","node_modules/@azure/msal-browser/dist/cache/CacheHelpers.mjs","node_modules/@azure/msal-browser/dist/cache/LocalStorage.mjs","node_modules/@azure/msal-browser/dist/cache/SessionStorage.mjs","node_modules/@azure/msal-browser/dist/utils/BrowserProtocolUtils.mjs","node_modules/@azure/msal-browser/dist/event/EventType.mjs","node_modules/@azure/msal-browser/dist/cache/BrowserCacheManager.mjs","node_modules/@azure/msal-browser/dist/cache/AccountManager.mjs","node_modules/@azure/msal-browser/dist/event/EventHandler.mjs","node_modules/@azure/msal-browser/dist/interaction_client/BaseInteractionClient.mjs","node_modules/@azure/msal-browser/dist/crypto/PkceGenerator.mjs","node_modules/@azure/msal-browser/dist/request/RequestHelpers.mjs","node_modules/@azure/msal-browser/dist/interaction_client/StandardInteractionClient.mjs","node_modules/@azure/msal-browser/dist/error/NativeAuthErrorCodes.mjs","node_modules/@azure/msal-browser/dist/broker/nativeBroker/NativeStatusCodes.mjs","node_modules/@azure/msal-browser/dist/error/NativeAuthError.mjs","node_modules/@azure/msal-browser/dist/interaction_client/SilentCacheClient.mjs","node_modules/@azure/msal-browser/dist/interaction_client/NativeInteractionClient.mjs","node_modules/@azure/msal-browser/dist/broker/nativeBroker/NativeMessageHandler.mjs","node_modules/@azure/msal-browser/dist/interaction_handler/InteractionHandler.mjs","node_modules/@azure/msal-browser/dist/response/ResponseHandler.mjs","node_modules/@azure/msal-browser/dist/interaction_client/PopupClient.mjs","node_modules/@azure/msal-browser/dist/interaction_handler/RedirectHandler.mjs","node_modules/@azure/msal-browser/dist/interaction_client/RedirectClient.mjs","node_modules/@azure/msal-browser/dist/interaction_handler/SilentHandler.mjs","node_modules/@azure/msal-browser/dist/interaction_client/SilentIframeClient.mjs","node_modules/@azure/msal-browser/dist/interaction_client/SilentRefreshClient.mjs","node_modules/@azure/msal-browser/dist/cache/TokenCache.mjs","node_modules/@azure/msal-browser/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs","node_modules/@azure/msal-browser/dist/interaction_client/SilentAuthCodeClient.mjs","node_modules/@azure/msal-browser/dist/controllers/StandardController.mjs","node_modules/@azure/msal-browser/dist/controllers/ControllerFactory.mjs","node_modules/@azure/msal-browser/dist/app/PublicClientApplication.mjs","node_modules/@azure/msal-browser/dist/event/EventMessage.mjs","node_modules/@angular/router/fesm2022/router.mjs","node_modules/@azure/msal-angular/fesm2020/azure-msal-angular.mjs","node_modules/@angular/core/fesm2022/rxjs-interop.mjs","node_modules/@ngrx/store/fesm2022/ngrx-store.mjs","node_modules/ngrx-forms/fesm2015/ngrx-forms.js","node_modules/@angular/animations/fesm2022/animations.mjs","node_modules/ngx-toastr/fesm2022/ngx-toastr.mjs","node_modules/ng2-pdfjs-viewer/fesm2022/ng2-pdfjs-viewer.mjs","node_modules/@ngrx/effects/fesm2022/ngrx-effects.mjs","node_modules/@angular/cdk/fesm2022/platform.mjs","node_modules/@angular/cdk/fesm2022/private.mjs","node_modules/@angular/cdk/fesm2022/keycodes.mjs","node_modules/@angular/cdk/fesm2022/coercion.mjs","node_modules/@angular/cdk/fesm2022/observers.mjs","node_modules/@angular/cdk/fesm2022/layout.mjs","node_modules/@angular/cdk/fesm2022/a11y.mjs","node_modules/@angular/cdk/fesm2022/bidi.mjs","node_modules/@angular/cdk/fesm2022/observers/private.mjs","node_modules/@angular/material/fesm2022/core.mjs","node_modules/@angular/material/fesm2022/form-field.mjs","node_modules/@angular/material/fesm2022/icon.mjs","node_modules/@angular/cdk/fesm2022/text-field.mjs","node_modules/@angular/material/fesm2022/input.mjs","node_modules/@angular/cdk/fesm2022/collections.mjs","node_modules/@angular/cdk/fesm2022/scrolling.mjs","node_modules/@angular/cdk/fesm2022/portal.mjs","node_modules/@angular/cdk/fesm2022/overlay.mjs","node_modules/@angular/material/fesm2022/autocomplete.mjs","node_modules/@angular/material/fesm2022/slide-toggle.mjs","node_modules/@angular/material/fesm2022/select.mjs","node_modules/@angular/material/fesm2022/radio.mjs","node_modules/@angular/material/fesm2022/tooltip.mjs","node_modules/@angular/cdk/fesm2022/dialog.mjs","node_modules/@angular/material/fesm2022/dialog.mjs","node_modules/@angular/material/fesm2022/progress-spinner.mjs","node_modules/@angular/material/fesm2022/button.mjs","node_modules/@angular/cdk/fesm2022/clipboard.mjs","node_modules/@angular/material/fesm2022/datepicker.mjs","node_modules/@ifaa-components/ui-components/fesm2022/ifaa-components-ui-components.mjs","node_modules/@angular/material/fesm2022/checkbox.mjs","node_modules/ngx-moment/fesm2020/ngx-moment.mjs","node_modules/@angular/material/fesm2022/button-toggle.mjs","node_modules/@angular/material-moment-adapter/fesm2022/material-moment-adapter.mjs","node_modules/ngx-print/fesm2022/ngx-print.mjs","node_modules/@angular/material/fesm2022/progress-bar.mjs","node_modules/@ngx-translate/core/fesm2022/ngx-translate-core.mjs","src/app/modules/shared/components/member-account-dropdown/actions.ts","src/app/model/feature-toggle-level.model.ts","src/app/model/feature-toggle-value.model.ts","src/app/modules/shared/components/beneficiaries-view/actions.ts","src/app/modules/shared/components/beneficiaries-view/reducer.ts","src/app/model/beneficiary.model.ts","src/app/modules/shared/components/beneficiaries-edit/actions.ts","node_modules/ngrx-forms/fesm2015/ngrx-forms-validation.js","src/app/modules/shared/components/beneficiaries-edit/reducer.ts","src/app/modules/shared/components/member-view/reducer.ts","src/app/modules/shared/components/member-view-overview/actions.ts","src/app/enums/communication-preference.enum.ts","src/app/model/member.model.ts","src/app/modules/shared/components/member-view-overview/reducer.ts","src/app/modules/shared/components/member-edit/actions.ts","src/app/modules/shared/components/member-edit/reducer.ts","src/app/modules/shared/components/cash-transactions/state.ts","src/app/modules/shared/components/cash-transactions/actions.ts","src/app/modules/shared/components/cash-transactions/reducer.ts","src/app/modules/shared/components/member-account-dropdown/reducer.ts","src/app/modules/shared/components/historical-chart/actions.ts","src/app/model/historical-graph.model.ts","src/app/modules/shared/components/historical-chart/reducer.ts","src/app/modules/shared/components/insurance-questionnaire/actions.ts","src/app/model/insurance-questionnaire.model.ts","src/app/modules/shared/components/insurance-questionnaire/reducer.ts","src/app/modules/shared/components/insurance-questionnaire-start/actions.ts","src/app/modules/shared/components/insurance-questionnaire-start/reducer.ts","src/app/modules/shared/components/insurance-details/actions.ts","src/app/model/insurance-details.model.ts","src/app/modules/shared/components/insurance-details/reducer.ts","src/app/model/rollin-edit.model.ts","src/app/modules/shared/components/rollin-edit/actions.ts","src/app/modules/shared/components/rollin-edit/reducer.ts","src/app/model/switch-investment.model.ts","src/app/modules/shared/components/switch-investments-edit/actions.ts","src/app/modules/shared/components/switch-investments-edit/reducer.ts","src/app/modules/shared/components/contributions-limits/actions.ts","src/app/model/contributions-limit.model.ts","src/app/modules/shared/components/contributions-limits/reducer.ts","src/app/modules/shared/components/superannuation-provider-search/actions.ts","src/app/modules/shared/components/superannuation-provider-search/state.ts","src/app/modules/shared/components/superannuation-provider-search/reducer.ts","src/app/model/personal-contribution.model.ts","src/app/modules/shared/components/personal-contribution-edit/actions.ts","src/app/modules/shared/components/personal-contribution-edit/reducer.ts","src/app/modules/shared/components/consolidate-super/actions.ts","src/app/modules/shared/components/consolidate-super/reducer.ts","src/app/modules/shared/components/unit-prices-view/actions.ts","src/app/modules/shared/components/unit-prices-view/reducer.ts","src/app/modules/shared/components/document-viewer/actions.ts","src/app/modules/shared/components/document-viewer/reducer.ts","src/app/modules/shared/components/notification-dropdown/actions.ts","src/app/modules/shared/components/notification-dropdown/reducer.ts","src/app/modules/shared/components/account-underlying-view/actions.ts","src/app/modules/shared/components/account-underlying-view/reducer.ts","src/app/modules/shared/components/bpay-details/actions.ts","src/app/modules/shared/components/bpay-details/reducer.ts","src/app/modules/shared/components/member-pension-view/actions.ts","src/app/modules/shared/components/member-pension-view/reducer.ts","src/app/modules/shared/components/investment-edit/state.ts","src/app/modules/shared/components/investment-edit/actions.ts","src/app/modules/shared/components/investment-edit/reducer.ts","src/app/modules/shared/components/access-your-super-start/actions.ts","src/app/modules/shared/components/access-your-super-start/state.ts","src/app/modules/shared/components/access-your-super-start/reducer.ts","src/app/modules/shared/components/access-your-super-form/actions.ts","src/app/modules/shared/components/access-your-super-form/reducer.ts","src/app/modules/shared/components/access-your-super-type-selection/actions.ts","src/app/modules/shared/components/access-your-super-type-selection/state.ts","src/app/modules/shared/components/access-your-super-type-selection/reducer.ts","src/app/modules/shared/components/access-your-super-last-employer/actions.ts","src/app/modules/shared/components/access-your-super-last-employer/state.ts","src/app/modules/shared/components/access-your-super-last-employer/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-retirement/actions.ts","src/app/model/access-your-super-custom-sections.model.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-retirement/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-retirement/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-ceased-work-sixty/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-ceased-work-sixty/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-ceased-work-sixty/reducer.ts","src/app/modules/shared/components/access-your-super-bank-details/actions.ts","src/app/modules/shared/components/access-your-super-bank-details/state.ts","src/app/modules/shared/components/access-your-super-bank-details/reducer.ts","src/app/modules/shared/components/account-underlying-investment-summary-view/actions.ts","src/app/modules/shared/components/account-underlying-investment-summary-view/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-permanent-retirement-preservation/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-permanent-retirement-preservation/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-permanent-retirement-preservation/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-ceased-paid-employment/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-ceased-paid-employment/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-ceased-paid-employment/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-pension-commutations/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-pension-commutations/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-pension-commutations/reducer.ts","src/app/modules/shared/components/access-your-super-documents/actions.ts","src/app/modules/shared/components/access-your-super-documents/state.ts","src/app/modules/shared/components/access-your-super-documents/reducer.ts","src/app/modules/shared/components/insurance-pre-questionnaire/actions.ts","src/app/modules/shared/components/insurance-pre-questionnaire/reducer.ts","src/app/modules/shared/components/access-your-super-review/state.ts","src/app/modules/shared/components/access-your-super-review/actions.ts","src/app/modules/shared/components/access-your-super-review/reducer.ts","src/app/modules/shared/components/recent-employment-details/actions.ts","src/app/modules/shared/components/recent-employment-details/reducer.ts","src/app/modules/shared/components/account-summary/actions.ts","src/app/model/account-component.model.ts","src/app/modules/shared/components/account-summary/reducer.ts","src/app/modules/shared/components/investment-options/actions.ts","src/app/modules/shared/components/investment-options/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-terminal-medical-condition/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-terminal-medical-condition/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-terminal-medical-condition/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-severe-financial-hardship/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-severe-financial-hardship/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-severe-financial-hardship/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-compassionate-grounds/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-compassionate-grounds/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-compassionate-grounds/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-unrestricted-non-preserved/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-unrestricted-non-preserved/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-unrestricted-non-preserved/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-kiwi-saver/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-kiwi-saver/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-kiwi-saver/reducer.ts","src/app/modules/shared/components/chat/state.ts","src/app/modules/shared/components/chat/actions.ts","src/app/modules/shared/components/chat/reducer.ts","src/app/modules/shared/components/access-your-super-update-submitted/actions.ts","src/app/modules/shared/components/access-your-super-update-submitted/reducer.ts","src/app/modules/shared/components/notice-of-intent-tax-deduction-container/state.ts","src/app/modules/shared/components/notice-of-intent-tax-deduction-container/actions.ts","src/app/modules/shared/components/notice-of-intent-tax-deduction-container/reducer.ts","src/app/modules/shared/components/notice-of-intent-tax-deduction-form/actions.ts","src/app/model/notice-of-intent-tax-deduction.model.ts","src/app/modules/shared/components/notice-of-intent-tax-deduction-form/state.ts","src/app/modules/shared/components/notice-of-intent-tax-deduction-form/reducer.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-severe-financial-hardship/financialDataFormVersions/v1/state.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-severe-financial-hardship/financialDataFormVersions/v1/actions.ts","src/app/modules/shared/components/access-your-super-custom-sections/access-your-super-severe-financial-hardship/financialDataFormVersions/v1/reducer.ts","src/app/modules/shared/components/member-alert/actions.ts","src/app/modules/shared/components/member-alert/reducer.ts","src/app/modules/shared/components/pension-change-schedule/state.ts","src/app/modules/shared/components/pension-change-schedule/actions.ts","src/app/enums/frequency.enum.ts","src/app/helper/pensionHelper.ts","src/app/enums/pension-payment-type.enum.ts","src/app/modules/shared/components/pension-change-schedule/reducer.ts","src/app/modules/shared/components/pension-change-schedule-requests/actions.ts","src/app/modules/shared/components/pension-change-schedule-requests/reducer.ts","src/app/modules/shared/components/account-fees/actions.ts","src/app/model/account-fees.model.ts","src/app/modules/shared/components/account-fees/reducer.ts","src/app/modules/shared/components/investment-switch-history/state.ts","src/app/modules/shared/components/investment-switch-history/actions.ts","src/app/modules/shared/components/investment-switch-history/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-start/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-start/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-start/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-eligibility-form/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-eligibility-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-eligibility-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-account-details-form/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-account-details-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-account-details-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-payment-details-form/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-payment-details-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-payment-details-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-bank-details-form/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-bank-details-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-bank-details-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-beneficiary-form/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-beneficiary-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-beneficiary-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-documents-form/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-documents-form/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-documents-form/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-review/state.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-review/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-form/start-a-pension-review/reducer.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-update-submitted/actions.ts","src/app/modules/shared/components/start-a-pension/start-a-pension-update-submitted/reducer.ts","src/app/modules/shared/components/insurance-update/state.ts","src/app/modules/shared/components/insurance-update/actions.ts","src/app/modules/shared/components/insurance-update/reducer.ts","src/app/modules/shared/components/insurance-update-history/state.ts","src/app/modules/shared/components/insurance-update-history/actions.ts","src/app/modules/shared/components/insurance-update-history/reducer.ts","node_modules/ngrx-store-localstorage/fesm2022/ngrx-store-localstorage.mjs","src/app/modules/shared/store/shared.reducers.ts","src/app/modules/shared/components/member-account-dropdown/selectors.ts","src/app/store/common/common.selectors.ts","src/app/helper/featureToggleHelper.ts","src/app/views/component-base.ts","src/app/model/feature-toggle-name.model.ts","src/app/modules/shared/directives/animatecss.directive.ts","src/app/store/common/common.actions.ts","src/app/modules/shared/components/insurance-questionnaire/selectors.ts","src/app/modules/shared/pipes/textTransform.ts","src/app/modules/shared/components/member-account-dropdown/member-account-dropdown.component.ts","src/app/modules/shared/components/member-account-dropdown/member-account-dropdown.component.html","src/app/modules/shared/directives/feature-toggle.directive.ts","src/app/modules/shared/components/user-top-dropdown/user-top-dropdown.component.ts","src/app/modules/shared/components/user-top-dropdown/user-top-dropdown.component.html","src/app/modules/shared/directives/screen-width.directive.ts","src/app/modules/shared/pipes/featureToggle.ts"],"sourcesContent":["//! moment.js\n//! version : 2.30.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : global.moment = factory();\n})(this, function () {\n 'use strict';\n\n var hookCallback;\n function hooks() {\n return hookCallback.apply(null, arguments);\n }\n\n // This is done to register the method called with moment()\n // without creating circular dependencies.\n function setHookCallback(callback) {\n hookCallback = callback;\n }\n function isArray(input) {\n return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';\n }\n function isObject(input) {\n // IE8 will treat undefined and null as object if it wasn't for\n // input != null\n return input != null && Object.prototype.toString.call(input) === '[object Object]';\n }\n function hasOwnProp(a, b) {\n return Object.prototype.hasOwnProperty.call(a, b);\n }\n function isObjectEmpty(obj) {\n if (Object.getOwnPropertyNames) {\n return Object.getOwnPropertyNames(obj).length === 0;\n } else {\n var k;\n for (k in obj) {\n if (hasOwnProp(obj, k)) {\n return false;\n }\n }\n return true;\n }\n }\n function isUndefined(input) {\n return input === void 0;\n }\n function isNumber(input) {\n return typeof input === 'number' || Object.prototype.toString.call(input) === '[object Number]';\n }\n function isDate(input) {\n return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';\n }\n function map(arr, fn) {\n var res = [],\n i,\n arrLen = arr.length;\n for (i = 0; i < arrLen; ++i) {\n res.push(fn(arr[i], i));\n }\n return res;\n }\n function extend(a, b) {\n for (var i in b) {\n if (hasOwnProp(b, i)) {\n a[i] = b[i];\n }\n }\n if (hasOwnProp(b, 'toString')) {\n a.toString = b.toString;\n }\n if (hasOwnProp(b, 'valueOf')) {\n a.valueOf = b.valueOf;\n }\n return a;\n }\n function createUTC(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, true).utc();\n }\n function defaultParsingFlags() {\n // We need to deep clone this object.\n return {\n empty: false,\n unusedTokens: [],\n unusedInput: [],\n overflow: -2,\n charsLeftOver: 0,\n nullInput: false,\n invalidEra: null,\n invalidMonth: null,\n invalidFormat: false,\n userInvalidated: false,\n iso: false,\n parsedDateParts: [],\n era: null,\n meridiem: null,\n rfc2822: false,\n weekdayMismatch: false\n };\n }\n function getParsingFlags(m) {\n if (m._pf == null) {\n m._pf = defaultParsingFlags();\n }\n return m._pf;\n }\n var some;\n if (Array.prototype.some) {\n some = Array.prototype.some;\n } else {\n some = function (fun) {\n var t = Object(this),\n len = t.length >>> 0,\n i;\n for (i = 0; i < len; i++) {\n if (i in t && fun.call(this, t[i], i, t)) {\n return true;\n }\n }\n return false;\n };\n }\n function isValid(m) {\n var flags = null,\n parsedParts = false,\n isNowValid = m._d && !isNaN(m._d.getTime());\n if (isNowValid) {\n flags = getParsingFlags(m);\n parsedParts = some.call(flags.parsedDateParts, function (i) {\n return i != null;\n });\n isNowValid = flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);\n if (m._strict) {\n isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === undefined;\n }\n }\n if (Object.isFrozen == null || !Object.isFrozen(m)) {\n m._isValid = isNowValid;\n } else {\n return isNowValid;\n }\n return m._isValid;\n }\n function createInvalid(flags) {\n var m = createUTC(NaN);\n if (flags != null) {\n extend(getParsingFlags(m), flags);\n } else {\n getParsingFlags(m).userInvalidated = true;\n }\n return m;\n }\n\n // Plugins that add properties should also add the key here (null value),\n // so we can properly clone ourselves.\n var momentProperties = hooks.momentProperties = [],\n updateInProgress = false;\n function copyConfig(to, from) {\n var i,\n prop,\n val,\n momentPropertiesLen = momentProperties.length;\n if (!isUndefined(from._isAMomentObject)) {\n to._isAMomentObject = from._isAMomentObject;\n }\n if (!isUndefined(from._i)) {\n to._i = from._i;\n }\n if (!isUndefined(from._f)) {\n to._f = from._f;\n }\n if (!isUndefined(from._l)) {\n to._l = from._l;\n }\n if (!isUndefined(from._strict)) {\n to._strict = from._strict;\n }\n if (!isUndefined(from._tzm)) {\n to._tzm = from._tzm;\n }\n if (!isUndefined(from._isUTC)) {\n to._isUTC = from._isUTC;\n }\n if (!isUndefined(from._offset)) {\n to._offset = from._offset;\n }\n if (!isUndefined(from._pf)) {\n to._pf = getParsingFlags(from);\n }\n if (!isUndefined(from._locale)) {\n to._locale = from._locale;\n }\n if (momentPropertiesLen > 0) {\n for (i = 0; i < momentPropertiesLen; i++) {\n prop = momentProperties[i];\n val = from[prop];\n if (!isUndefined(val)) {\n to[prop] = val;\n }\n }\n }\n return to;\n }\n\n // Moment prototype object\n function Moment(config) {\n copyConfig(this, config);\n this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n if (!this.isValid()) {\n this._d = new Date(NaN);\n }\n // Prevent infinite loop in case updateOffset creates new moment\n // objects.\n if (updateInProgress === false) {\n updateInProgress = true;\n hooks.updateOffset(this);\n updateInProgress = false;\n }\n }\n function isMoment(obj) {\n return obj instanceof Moment || obj != null && obj._isAMomentObject != null;\n }\n function warn(msg) {\n if (hooks.suppressDeprecationWarnings === false && typeof console !== 'undefined' && console.warn) {\n console.warn('Deprecation warning: ' + msg);\n }\n }\n function deprecate(msg, fn) {\n var firstTime = true;\n return extend(function () {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(null, msg);\n }\n if (firstTime) {\n var args = [],\n arg,\n i,\n key,\n argLen = arguments.length;\n for (i = 0; i < argLen; i++) {\n arg = '';\n if (typeof arguments[i] === 'object') {\n arg += '\\n[' + i + '] ';\n for (key in arguments[0]) {\n if (hasOwnProp(arguments[0], key)) {\n arg += key + ': ' + arguments[0][key] + ', ';\n }\n }\n arg = arg.slice(0, -2); // Remove trailing comma and space\n } else {\n arg = arguments[i];\n }\n args.push(arg);\n }\n warn(msg + '\\nArguments: ' + Array.prototype.slice.call(args).join('') + '\\n' + new Error().stack);\n firstTime = false;\n }\n return fn.apply(this, arguments);\n }, fn);\n }\n var deprecations = {};\n function deprecateSimple(name, msg) {\n if (hooks.deprecationHandler != null) {\n hooks.deprecationHandler(name, msg);\n }\n if (!deprecations[name]) {\n warn(msg);\n deprecations[name] = true;\n }\n }\n hooks.suppressDeprecationWarnings = false;\n hooks.deprecationHandler = null;\n function isFunction(input) {\n return typeof Function !== 'undefined' && input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';\n }\n function set(config) {\n var prop, i;\n for (i in config) {\n if (hasOwnProp(config, i)) {\n prop = config[i];\n if (isFunction(prop)) {\n this[i] = prop;\n } else {\n this['_' + i] = prop;\n }\n }\n }\n this._config = config;\n // Lenient ordinal parsing accepts just a number in addition to\n // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n this._dayOfMonthOrdinalParseLenient = new RegExp((this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + '|' + /\\d{1,2}/.source);\n }\n function mergeConfigs(parentConfig, childConfig) {\n var res = extend({}, parentConfig),\n prop;\n for (prop in childConfig) {\n if (hasOwnProp(childConfig, prop)) {\n if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n res[prop] = {};\n extend(res[prop], parentConfig[prop]);\n extend(res[prop], childConfig[prop]);\n } else if (childConfig[prop] != null) {\n res[prop] = childConfig[prop];\n } else {\n delete res[prop];\n }\n }\n }\n for (prop in parentConfig) {\n if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {\n // make sure changes to properties don't modify parent config\n res[prop] = extend({}, res[prop]);\n }\n }\n return res;\n }\n function Locale(config) {\n if (config != null) {\n this.set(config);\n }\n }\n var keys;\n if (Object.keys) {\n keys = Object.keys;\n } else {\n keys = function (obj) {\n var i,\n res = [];\n for (i in obj) {\n if (hasOwnProp(obj, i)) {\n res.push(i);\n }\n }\n return res;\n };\n }\n var defaultCalendar = {\n sameDay: '[Today at] LT',\n nextDay: '[Tomorrow at] LT',\n nextWeek: 'dddd [at] LT',\n lastDay: '[Yesterday at] LT',\n lastWeek: '[Last] dddd [at] LT',\n sameElse: 'L'\n };\n function calendar(key, mom, now) {\n var output = this._calendar[key] || this._calendar['sameElse'];\n return isFunction(output) ? output.call(mom, now) : output;\n }\n function zeroFill(number, targetLength, forceSign) {\n var absNumber = '' + Math.abs(number),\n zerosToFill = targetLength - absNumber.length,\n sign = number >= 0;\n return (sign ? forceSign ? '+' : '' : '-') + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;\n }\n var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n formatFunctions = {},\n formatTokenFunctions = {};\n\n // token: 'M'\n // padded: ['MM', 2]\n // ordinal: 'Mo'\n // callback: function () { this.month() + 1 }\n function addFormatToken(token, padded, ordinal, callback) {\n var func = callback;\n if (typeof callback === 'string') {\n func = function () {\n return this[callback]();\n };\n }\n if (token) {\n formatTokenFunctions[token] = func;\n }\n if (padded) {\n formatTokenFunctions[padded[0]] = function () {\n return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n };\n }\n if (ordinal) {\n formatTokenFunctions[ordinal] = function () {\n return this.localeData().ordinal(func.apply(this, arguments), token);\n };\n }\n }\n function removeFormattingTokens(input) {\n if (input.match(/\\[[\\s\\S]/)) {\n return input.replace(/^\\[|\\]$/g, '');\n }\n return input.replace(/\\\\/g, '');\n }\n function makeFormatFunction(format) {\n var array = format.match(formattingTokens),\n i,\n length;\n for (i = 0, length = array.length; i < length; i++) {\n if (formatTokenFunctions[array[i]]) {\n array[i] = formatTokenFunctions[array[i]];\n } else {\n array[i] = removeFormattingTokens(array[i]);\n }\n }\n return function (mom) {\n var output = '',\n i;\n for (i = 0; i < length; i++) {\n output += isFunction(array[i]) ? array[i].call(mom, format) : array[i];\n }\n return output;\n };\n }\n\n // format date using native date object\n function formatMoment(m, format) {\n if (!m.isValid()) {\n return m.localeData().invalidDate();\n }\n format = expandFormat(format, m.localeData());\n formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format);\n return formatFunctions[format](m);\n }\n function expandFormat(format, locale) {\n var i = 5;\n function replaceLongDateFormatTokens(input) {\n return locale.longDateFormat(input) || input;\n }\n localFormattingTokens.lastIndex = 0;\n while (i >= 0 && localFormattingTokens.test(format)) {\n format = format.replace(localFormattingTokens, replaceLongDateFormatTokens);\n localFormattingTokens.lastIndex = 0;\n i -= 1;\n }\n return format;\n }\n var defaultLongDateFormat = {\n LTS: 'h:mm:ss A',\n LT: 'h:mm A',\n L: 'MM/DD/YYYY',\n LL: 'MMMM D, YYYY',\n LLL: 'MMMM D, YYYY h:mm A',\n LLLL: 'dddd, MMMM D, YYYY h:mm A'\n };\n function longDateFormat(key) {\n var format = this._longDateFormat[key],\n formatUpper = this._longDateFormat[key.toUpperCase()];\n if (format || !formatUpper) {\n return format;\n }\n this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function (tok) {\n if (tok === 'MMMM' || tok === 'MM' || tok === 'DD' || tok === 'dddd') {\n return tok.slice(1);\n }\n return tok;\n }).join('');\n return this._longDateFormat[key];\n }\n var defaultInvalidDate = 'Invalid date';\n function invalidDate() {\n return this._invalidDate;\n }\n var defaultOrdinal = '%d',\n defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n function ordinal(number) {\n return this._ordinal.replace('%d', number);\n }\n var defaultRelativeTime = {\n future: 'in %s',\n past: '%s ago',\n s: 'a few seconds',\n ss: '%d seconds',\n m: 'a minute',\n mm: '%d minutes',\n h: 'an hour',\n hh: '%d hours',\n d: 'a day',\n dd: '%d days',\n w: 'a week',\n ww: '%d weeks',\n M: 'a month',\n MM: '%d months',\n y: 'a year',\n yy: '%d years'\n };\n function relativeTime(number, withoutSuffix, string, isFuture) {\n var output = this._relativeTime[string];\n return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);\n }\n function pastFuture(diff, output) {\n var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n }\n var aliases = {\n D: 'date',\n dates: 'date',\n date: 'date',\n d: 'day',\n days: 'day',\n day: 'day',\n e: 'weekday',\n weekdays: 'weekday',\n weekday: 'weekday',\n E: 'isoWeekday',\n isoweekdays: 'isoWeekday',\n isoweekday: 'isoWeekday',\n DDD: 'dayOfYear',\n dayofyears: 'dayOfYear',\n dayofyear: 'dayOfYear',\n h: 'hour',\n hours: 'hour',\n hour: 'hour',\n ms: 'millisecond',\n milliseconds: 'millisecond',\n millisecond: 'millisecond',\n m: 'minute',\n minutes: 'minute',\n minute: 'minute',\n M: 'month',\n months: 'month',\n month: 'month',\n Q: 'quarter',\n quarters: 'quarter',\n quarter: 'quarter',\n s: 'second',\n seconds: 'second',\n second: 'second',\n gg: 'weekYear',\n weekyears: 'weekYear',\n weekyear: 'weekYear',\n GG: 'isoWeekYear',\n isoweekyears: 'isoWeekYear',\n isoweekyear: 'isoWeekYear',\n w: 'week',\n weeks: 'week',\n week: 'week',\n W: 'isoWeek',\n isoweeks: 'isoWeek',\n isoweek: 'isoWeek',\n y: 'year',\n years: 'year',\n year: 'year'\n };\n function normalizeUnits(units) {\n return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined;\n }\n function normalizeObjectUnits(inputObject) {\n var normalizedInput = {},\n normalizedProp,\n prop;\n for (prop in inputObject) {\n if (hasOwnProp(inputObject, prop)) {\n normalizedProp = normalizeUnits(prop);\n if (normalizedProp) {\n normalizedInput[normalizedProp] = inputObject[prop];\n }\n }\n }\n return normalizedInput;\n }\n var priorities = {\n date: 9,\n day: 11,\n weekday: 11,\n isoWeekday: 11,\n dayOfYear: 4,\n hour: 13,\n millisecond: 16,\n minute: 14,\n month: 8,\n quarter: 7,\n second: 15,\n weekYear: 1,\n isoWeekYear: 1,\n week: 5,\n isoWeek: 5,\n year: 1\n };\n function getPrioritizedUnits(unitsObj) {\n var units = [],\n u;\n for (u in unitsObj) {\n if (hasOwnProp(unitsObj, u)) {\n units.push({\n unit: u,\n priority: priorities[u]\n });\n }\n }\n units.sort(function (a, b) {\n return a.priority - b.priority;\n });\n return units;\n }\n var match1 = /\\d/,\n // 0 - 9\n match2 = /\\d\\d/,\n // 00 - 99\n match3 = /\\d{3}/,\n // 000 - 999\n match4 = /\\d{4}/,\n // 0000 - 9999\n match6 = /[+-]?\\d{6}/,\n // -999999 - 999999\n match1to2 = /\\d\\d?/,\n // 0 - 99\n match3to4 = /\\d\\d\\d\\d?/,\n // 999 - 9999\n match5to6 = /\\d\\d\\d\\d\\d\\d?/,\n // 99999 - 999999\n match1to3 = /\\d{1,3}/,\n // 0 - 999\n match1to4 = /\\d{1,4}/,\n // 0 - 9999\n match1to6 = /[+-]?\\d{1,6}/,\n // -999999 - 999999\n matchUnsigned = /\\d+/,\n // 0 - inf\n matchSigned = /[+-]?\\d+/,\n // -inf - inf\n matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi,\n // +00:00 -00:00 +0000 -0000 or Z\n matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi,\n // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/,\n // 123456789 123456789.123\n // any word (or two) characters or numbers including two/three word month in arabic.\n // includes scottish gaelic two word and hyphenated months\n matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n match1to2NoLeadingZero = /^[1-9]\\d?/,\n // 1-99\n match1to2HasZero = /^([1-9]\\d|\\d)/,\n // 0-99\n regexes;\n regexes = {};\n function addRegexToken(token, regex, strictRegex) {\n regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) {\n return isStrict && strictRegex ? strictRegex : regex;\n };\n }\n function getParseRegexForToken(token, config) {\n if (!hasOwnProp(regexes, token)) {\n return new RegExp(unescapeFormat(token));\n }\n return regexes[token](config._strict, config._locale);\n }\n\n // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n function unescapeFormat(s) {\n return regexEscape(s.replace('\\\\', '').replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (matched, p1, p2, p3, p4) {\n return p1 || p2 || p3 || p4;\n }));\n }\n function regexEscape(s) {\n return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n }\n function absFloor(number) {\n if (number < 0) {\n // -0 -> 0\n return Math.ceil(number) || 0;\n } else {\n return Math.floor(number);\n }\n }\n function toInt(argumentForCoercion) {\n var coercedNumber = +argumentForCoercion,\n value = 0;\n if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n value = absFloor(coercedNumber);\n }\n return value;\n }\n var tokens = {};\n function addParseToken(token, callback) {\n var i,\n func = callback,\n tokenLen;\n if (typeof token === 'string') {\n token = [token];\n }\n if (isNumber(callback)) {\n func = function (input, array) {\n array[callback] = toInt(input);\n };\n }\n tokenLen = token.length;\n for (i = 0; i < tokenLen; i++) {\n tokens[token[i]] = func;\n }\n }\n function addWeekParseToken(token, callback) {\n addParseToken(token, function (input, array, config, token) {\n config._w = config._w || {};\n callback(input, config._w, config, token);\n });\n }\n function addTimeToArrayFromToken(token, input, config) {\n if (input != null && hasOwnProp(tokens, token)) {\n tokens[token](input, config._a, config, token);\n }\n }\n function isLeapYear(year) {\n return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;\n }\n var YEAR = 0,\n MONTH = 1,\n DATE = 2,\n HOUR = 3,\n MINUTE = 4,\n SECOND = 5,\n MILLISECOND = 6,\n WEEK = 7,\n WEEKDAY = 8;\n\n // FORMATTING\n\n addFormatToken('Y', 0, 0, function () {\n var y = this.year();\n return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n });\n addFormatToken(0, ['YY', 2], 0, function () {\n return this.year() % 100;\n });\n addFormatToken(0, ['YYYY', 4], 0, 'year');\n addFormatToken(0, ['YYYYY', 5], 0, 'year');\n addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n // PARSING\n\n addRegexToken('Y', matchSigned);\n addRegexToken('YY', match1to2, match2);\n addRegexToken('YYYY', match1to4, match4);\n addRegexToken('YYYYY', match1to6, match6);\n addRegexToken('YYYYYY', match1to6, match6);\n addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n addParseToken('YYYY', function (input, array) {\n array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n });\n addParseToken('YY', function (input, array) {\n array[YEAR] = hooks.parseTwoDigitYear(input);\n });\n addParseToken('Y', function (input, array) {\n array[YEAR] = parseInt(input, 10);\n });\n\n // HELPERS\n\n function daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n }\n\n // HOOKS\n\n hooks.parseTwoDigitYear = function (input) {\n return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n };\n\n // MOMENTS\n\n var getSetYear = makeGetSet('FullYear', true);\n function getIsLeapYear() {\n return isLeapYear(this.year());\n }\n function makeGetSet(unit, keepTime) {\n return function (value) {\n if (value != null) {\n set$1(this, unit, value);\n hooks.updateOffset(this, keepTime);\n return this;\n } else {\n return get(this, unit);\n }\n };\n }\n function get(mom, unit) {\n if (!mom.isValid()) {\n return NaN;\n }\n var d = mom._d,\n isUTC = mom._isUTC;\n switch (unit) {\n case 'Milliseconds':\n return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();\n case 'Seconds':\n return isUTC ? d.getUTCSeconds() : d.getSeconds();\n case 'Minutes':\n return isUTC ? d.getUTCMinutes() : d.getMinutes();\n case 'Hours':\n return isUTC ? d.getUTCHours() : d.getHours();\n case 'Date':\n return isUTC ? d.getUTCDate() : d.getDate();\n case 'Day':\n return isUTC ? d.getUTCDay() : d.getDay();\n case 'Month':\n return isUTC ? d.getUTCMonth() : d.getMonth();\n case 'FullYear':\n return isUTC ? d.getUTCFullYear() : d.getFullYear();\n default:\n return NaN;\n // Just in case\n }\n }\n function set$1(mom, unit, value) {\n var d, isUTC, year, month, date;\n if (!mom.isValid() || isNaN(value)) {\n return;\n }\n d = mom._d;\n isUTC = mom._isUTC;\n switch (unit) {\n case 'Milliseconds':\n return void (isUTC ? d.setUTCMilliseconds(value) : d.setMilliseconds(value));\n case 'Seconds':\n return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));\n case 'Minutes':\n return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));\n case 'Hours':\n return void (isUTC ? d.setUTCHours(value) : d.setHours(value));\n case 'Date':\n return void (isUTC ? d.setUTCDate(value) : d.setDate(value));\n // case 'Day': // Not real\n // return void (isUTC ? d.setUTCDay(value) : d.setDay(value));\n // case 'Month': // Not used because we need to pass two variables\n // return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));\n case 'FullYear':\n break;\n // See below ...\n default:\n return;\n // Just in case\n }\n year = value;\n month = mom.month();\n date = mom.date();\n date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;\n void (isUTC ? d.setUTCFullYear(year, month, date) : d.setFullYear(year, month, date));\n }\n\n // MOMENTS\n\n function stringGet(units) {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units]();\n }\n return this;\n }\n function stringSet(units, value) {\n if (typeof units === 'object') {\n units = normalizeObjectUnits(units);\n var prioritized = getPrioritizedUnits(units),\n i,\n prioritizedLen = prioritized.length;\n for (i = 0; i < prioritizedLen; i++) {\n this[prioritized[i].unit](units[prioritized[i].unit]);\n }\n } else {\n units = normalizeUnits(units);\n if (isFunction(this[units])) {\n return this[units](value);\n }\n }\n return this;\n }\n function mod(n, x) {\n return (n % x + x) % x;\n }\n var indexOf;\n if (Array.prototype.indexOf) {\n indexOf = Array.prototype.indexOf;\n } else {\n indexOf = function (o) {\n // I know\n var i;\n for (i = 0; i < this.length; ++i) {\n if (this[i] === o) {\n return i;\n }\n }\n return -1;\n };\n }\n function daysInMonth(year, month) {\n if (isNaN(year) || isNaN(month)) {\n return NaN;\n }\n var modMonth = mod(month, 12);\n year += (month - modMonth) / 12;\n return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;\n }\n\n // FORMATTING\n\n addFormatToken('M', ['MM', 2], 'Mo', function () {\n return this.month() + 1;\n });\n addFormatToken('MMM', 0, 0, function (format) {\n return this.localeData().monthsShort(this, format);\n });\n addFormatToken('MMMM', 0, 0, function (format) {\n return this.localeData().months(this, format);\n });\n\n // PARSING\n\n addRegexToken('M', match1to2, match1to2NoLeadingZero);\n addRegexToken('MM', match1to2, match2);\n addRegexToken('MMM', function (isStrict, locale) {\n return locale.monthsShortRegex(isStrict);\n });\n addRegexToken('MMMM', function (isStrict, locale) {\n return locale.monthsRegex(isStrict);\n });\n addParseToken(['M', 'MM'], function (input, array) {\n array[MONTH] = toInt(input) - 1;\n });\n addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n var month = config._locale.monthsParse(input, token, config._strict);\n // if we didn't find a month name, mark the date as invalid.\n if (month != null) {\n array[MONTH] = month;\n } else {\n getParsingFlags(config).invalidMonth = input;\n }\n });\n\n // LOCALES\n\n var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),\n defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n defaultMonthsShortRegex = matchWord,\n defaultMonthsRegex = matchWord;\n function localeMonths(m, format) {\n if (!m) {\n return isArray(this._months) ? this._months : this._months['standalone'];\n }\n return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()];\n }\n function localeMonthsShort(m, format) {\n if (!m) {\n return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort['standalone'];\n }\n return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()];\n }\n function handleStrictParse(monthName, format, strict) {\n var i,\n ii,\n mom,\n llc = monthName.toLocaleLowerCase();\n if (!this._monthsParse) {\n // this is not used\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n for (i = 0; i < 12; ++i) {\n mom = createUTC([2000, i]);\n this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase();\n this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n }\n }\n if (strict) {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'MMM') {\n ii = indexOf.call(this._shortMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._longMonthsParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._longMonthsParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortMonthsParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n function localeMonthsParse(monthName, format, strict) {\n var i, mom, regex;\n if (this._monthsParseExact) {\n return handleStrictParse.call(this, monthName, format, strict);\n }\n if (!this._monthsParse) {\n this._monthsParse = [];\n this._longMonthsParse = [];\n this._shortMonthsParse = [];\n }\n\n // TODO: add sorting\n // Sorting makes sure if one month (or abbr) is a prefix of another\n // see sorting in computeMonthsParse\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n if (strict && !this._longMonthsParse[i]) {\n this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i');\n this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i');\n }\n if (!strict && !this._monthsParse[i]) {\n regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) {\n return i;\n } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) {\n return i;\n } else if (!strict && this._monthsParse[i].test(monthName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function setMonth(mom, value) {\n if (!mom.isValid()) {\n // No op\n return mom;\n }\n if (typeof value === 'string') {\n if (/^\\d+$/.test(value)) {\n value = toInt(value);\n } else {\n value = mom.localeData().monthsParse(value);\n // TODO: Another silent failure?\n if (!isNumber(value)) {\n return mom;\n }\n }\n }\n var month = value,\n date = mom.date();\n date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));\n void (mom._isUTC ? mom._d.setUTCMonth(month, date) : mom._d.setMonth(month, date));\n return mom;\n }\n function getSetMonth(value) {\n if (value != null) {\n setMonth(this, value);\n hooks.updateOffset(this, true);\n return this;\n } else {\n return get(this, 'Month');\n }\n }\n function getDaysInMonth() {\n return daysInMonth(this.year(), this.month());\n }\n function monthsShortRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsShortStrictRegex;\n } else {\n return this._monthsShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsShortRegex')) {\n this._monthsShortRegex = defaultMonthsShortRegex;\n }\n return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;\n }\n }\n function monthsRegex(isStrict) {\n if (this._monthsParseExact) {\n if (!hasOwnProp(this, '_monthsRegex')) {\n computeMonthsParse.call(this);\n }\n if (isStrict) {\n return this._monthsStrictRegex;\n } else {\n return this._monthsRegex;\n }\n } else {\n if (!hasOwnProp(this, '_monthsRegex')) {\n this._monthsRegex = defaultMonthsRegex;\n }\n return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;\n }\n }\n function computeMonthsParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n var shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n shortP,\n longP;\n for (i = 0; i < 12; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, i]);\n shortP = regexEscape(this.monthsShort(mom, ''));\n longP = regexEscape(this.months(mom, ''));\n shortPieces.push(shortP);\n longPieces.push(longP);\n mixedPieces.push(longP);\n mixedPieces.push(shortP);\n }\n // Sorting makes sure if one month (or abbr) is a prefix of another it\n // will match the longer piece.\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._monthsShortRegex = this._monthsRegex;\n this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n }\n function createDate(y, m, d, h, M, s, ms) {\n // can't just apply() to create a date:\n // https://stackoverflow.com/q/181348\n var date;\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n date = new Date(y + 400, m, d, h, M, s, ms);\n if (isFinite(date.getFullYear())) {\n date.setFullYear(y);\n }\n } else {\n date = new Date(y, m, d, h, M, s, ms);\n }\n return date;\n }\n function createUTCDate(y) {\n var date, args;\n // the Date.UTC function remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n args = Array.prototype.slice.call(arguments);\n // preserve leap years using a full 400 year cycle, then reset\n args[0] = y + 400;\n date = new Date(Date.UTC.apply(null, args));\n if (isFinite(date.getUTCFullYear())) {\n date.setUTCFullYear(y);\n }\n } else {\n date = new Date(Date.UTC.apply(null, arguments));\n }\n return date;\n }\n\n // start-of-first-week - start-of-year\n function firstWeekOffset(year, dow, doy) {\n var\n // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n fwd = 7 + dow - doy,\n // first-week day local weekday -- which local weekday is fwd\n fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n return -fwdlw + fwd - 1;\n }\n\n // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n var localWeekday = (7 + weekday - dow) % 7,\n weekOffset = firstWeekOffset(year, dow, doy),\n dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n resYear,\n resDayOfYear;\n if (dayOfYear <= 0) {\n resYear = year - 1;\n resDayOfYear = daysInYear(resYear) + dayOfYear;\n } else if (dayOfYear > daysInYear(year)) {\n resYear = year + 1;\n resDayOfYear = dayOfYear - daysInYear(year);\n } else {\n resYear = year;\n resDayOfYear = dayOfYear;\n }\n return {\n year: resYear,\n dayOfYear: resDayOfYear\n };\n }\n function weekOfYear(mom, dow, doy) {\n var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n resWeek,\n resYear;\n if (week < 1) {\n resYear = mom.year() - 1;\n resWeek = week + weeksInYear(resYear, dow, doy);\n } else if (week > weeksInYear(mom.year(), dow, doy)) {\n resWeek = week - weeksInYear(mom.year(), dow, doy);\n resYear = mom.year() + 1;\n } else {\n resYear = mom.year();\n resWeek = week;\n }\n return {\n week: resWeek,\n year: resYear\n };\n }\n function weeksInYear(year, dow, doy) {\n var weekOffset = firstWeekOffset(year, dow, doy),\n weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n }\n\n // FORMATTING\n\n addFormatToken('w', ['ww', 2], 'wo', 'week');\n addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n // PARSING\n\n addRegexToken('w', match1to2, match1to2NoLeadingZero);\n addRegexToken('ww', match1to2, match2);\n addRegexToken('W', match1to2, match1to2NoLeadingZero);\n addRegexToken('WW', match1to2, match2);\n addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) {\n week[token.substr(0, 1)] = toInt(input);\n });\n\n // HELPERS\n\n // LOCALES\n\n function localeWeek(mom) {\n return weekOfYear(mom, this._week.dow, this._week.doy).week;\n }\n var defaultLocaleWeek = {\n dow: 0,\n // Sunday is the first day of the week.\n doy: 6 // The week that contains Jan 6th is the first week of the year.\n };\n function localeFirstDayOfWeek() {\n return this._week.dow;\n }\n function localeFirstDayOfYear() {\n return this._week.doy;\n }\n\n // MOMENTS\n\n function getSetWeek(input) {\n var week = this.localeData().week(this);\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n function getSetISOWeek(input) {\n var week = weekOfYear(this, 1, 4).week;\n return input == null ? week : this.add((input - week) * 7, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('d', 0, 'do', 'day');\n addFormatToken('dd', 0, 0, function (format) {\n return this.localeData().weekdaysMin(this, format);\n });\n addFormatToken('ddd', 0, 0, function (format) {\n return this.localeData().weekdaysShort(this, format);\n });\n addFormatToken('dddd', 0, 0, function (format) {\n return this.localeData().weekdays(this, format);\n });\n addFormatToken('e', 0, 0, 'weekday');\n addFormatToken('E', 0, 0, 'isoWeekday');\n\n // PARSING\n\n addRegexToken('d', match1to2);\n addRegexToken('e', match1to2);\n addRegexToken('E', match1to2);\n addRegexToken('dd', function (isStrict, locale) {\n return locale.weekdaysMinRegex(isStrict);\n });\n addRegexToken('ddd', function (isStrict, locale) {\n return locale.weekdaysShortRegex(isStrict);\n });\n addRegexToken('dddd', function (isStrict, locale) {\n return locale.weekdaysRegex(isStrict);\n });\n addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n var weekday = config._locale.weekdaysParse(input, token, config._strict);\n // if we didn't get a weekday name, mark the date as invalid\n if (weekday != null) {\n week.d = weekday;\n } else {\n getParsingFlags(config).invalidWeekday = input;\n }\n });\n addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n week[token] = toInt(input);\n });\n\n // HELPERS\n\n function parseWeekday(input, locale) {\n if (typeof input !== 'string') {\n return input;\n }\n if (!isNaN(input)) {\n return parseInt(input, 10);\n }\n input = locale.weekdaysParse(input);\n if (typeof input === 'number') {\n return input;\n }\n return null;\n }\n function parseIsoWeekday(input, locale) {\n if (typeof input === 'string') {\n return locale.weekdaysParse(input) % 7 || 7;\n }\n return isNaN(input) ? null : input;\n }\n\n // LOCALES\n function shiftWeekdays(ws, n) {\n return ws.slice(n, 7).concat(ws.slice(0, n));\n }\n var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n defaultWeekdaysRegex = matchWord,\n defaultWeekdaysShortRegex = matchWord,\n defaultWeekdaysMinRegex = matchWord;\n function localeWeekdays(m, format) {\n var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format) ? 'format' : 'standalone'];\n return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;\n }\n function localeWeekdaysShort(m) {\n return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;\n }\n function localeWeekdaysMin(m) {\n return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;\n }\n function handleStrictParse$1(weekdayName, format, strict) {\n var i,\n ii,\n mom,\n llc = weekdayName.toLocaleLowerCase();\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._minWeekdaysParse = [];\n for (i = 0; i < 7; ++i) {\n mom = createUTC([2000, 1]).day(i);\n this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase();\n this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase();\n this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n }\n }\n if (strict) {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n } else {\n if (format === 'dddd') {\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else if (format === 'ddd') {\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._minWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n } else {\n ii = indexOf.call(this._minWeekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._weekdaysParse, llc);\n if (ii !== -1) {\n return ii;\n }\n ii = indexOf.call(this._shortWeekdaysParse, llc);\n return ii !== -1 ? ii : null;\n }\n }\n }\n function localeWeekdaysParse(weekdayName, format, strict) {\n var i, mom, regex;\n if (this._weekdaysParseExact) {\n return handleStrictParse$1.call(this, weekdayName, format, strict);\n }\n if (!this._weekdaysParse) {\n this._weekdaysParse = [];\n this._minWeekdaysParse = [];\n this._shortWeekdaysParse = [];\n this._fullWeekdaysParse = [];\n }\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n\n mom = createUTC([2000, 1]).day(i);\n if (strict && !this._fullWeekdaysParse[i]) {\n this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$', 'i');\n this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$', 'i');\n }\n if (!this._weekdaysParse[i]) {\n regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, '');\n this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n }\n // test the regex\n if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) {\n return i;\n } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n return i;\n }\n }\n }\n\n // MOMENTS\n\n function getSetDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var day = get(this, 'Day');\n if (input != null) {\n input = parseWeekday(input, this.localeData());\n return this.add(input - day, 'd');\n } else {\n return day;\n }\n }\n function getSetLocaleDayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n return input == null ? weekday : this.add(input - weekday, 'd');\n }\n function getSetISODayOfWeek(input) {\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n\n // behaves the same as moment#day except\n // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n // as a setter, sunday should belong to the previous week.\n\n if (input != null) {\n var weekday = parseIsoWeekday(input, this.localeData());\n return this.day(this.day() % 7 ? weekday : weekday - 7);\n } else {\n return this.day() || 7;\n }\n }\n function weekdaysRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysStrictRegex;\n } else {\n return this._weekdaysRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n this._weekdaysRegex = defaultWeekdaysRegex;\n }\n return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;\n }\n }\n function weekdaysShortRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysShortStrictRegex;\n } else {\n return this._weekdaysShortRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n }\n return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;\n }\n }\n function weekdaysMinRegex(isStrict) {\n if (this._weekdaysParseExact) {\n if (!hasOwnProp(this, '_weekdaysRegex')) {\n computeWeekdaysParse.call(this);\n }\n if (isStrict) {\n return this._weekdaysMinStrictRegex;\n } else {\n return this._weekdaysMinRegex;\n }\n } else {\n if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n }\n return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;\n }\n }\n function computeWeekdaysParse() {\n function cmpLenRev(a, b) {\n return b.length - a.length;\n }\n var minPieces = [],\n shortPieces = [],\n longPieces = [],\n mixedPieces = [],\n i,\n mom,\n minp,\n shortp,\n longp;\n for (i = 0; i < 7; i++) {\n // make the regex if we don't have it already\n mom = createUTC([2000, 1]).day(i);\n minp = regexEscape(this.weekdaysMin(mom, ''));\n shortp = regexEscape(this.weekdaysShort(mom, ''));\n longp = regexEscape(this.weekdays(mom, ''));\n minPieces.push(minp);\n shortPieces.push(shortp);\n longPieces.push(longp);\n mixedPieces.push(minp);\n mixedPieces.push(shortp);\n mixedPieces.push(longp);\n }\n // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n // will match the longer piece.\n minPieces.sort(cmpLenRev);\n shortPieces.sort(cmpLenRev);\n longPieces.sort(cmpLenRev);\n mixedPieces.sort(cmpLenRev);\n this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._weekdaysShortRegex = this._weekdaysRegex;\n this._weekdaysMinRegex = this._weekdaysRegex;\n this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i');\n this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i');\n this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n function hFormat() {\n return this.hours() % 12 || 12;\n }\n function kFormat() {\n return this.hours() || 24;\n }\n addFormatToken('H', ['HH', 2], 0, 'hour');\n addFormatToken('h', ['hh', 2], 0, hFormat);\n addFormatToken('k', ['kk', 2], 0, kFormat);\n addFormatToken('hmm', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n });\n addFormatToken('hmmss', 0, 0, function () {\n return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n addFormatToken('Hmm', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2);\n });\n addFormatToken('Hmmss', 0, 0, function () {\n return '' + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);\n });\n function meridiem(token, lowercase) {\n addFormatToken(token, 0, 0, function () {\n return this.localeData().meridiem(this.hours(), this.minutes(), lowercase);\n });\n }\n meridiem('a', true);\n meridiem('A', false);\n\n // PARSING\n\n function matchMeridiem(isStrict, locale) {\n return locale._meridiemParse;\n }\n addRegexToken('a', matchMeridiem);\n addRegexToken('A', matchMeridiem);\n addRegexToken('H', match1to2, match1to2HasZero);\n addRegexToken('h', match1to2, match1to2NoLeadingZero);\n addRegexToken('k', match1to2, match1to2NoLeadingZero);\n addRegexToken('HH', match1to2, match2);\n addRegexToken('hh', match1to2, match2);\n addRegexToken('kk', match1to2, match2);\n addRegexToken('hmm', match3to4);\n addRegexToken('hmmss', match5to6);\n addRegexToken('Hmm', match3to4);\n addRegexToken('Hmmss', match5to6);\n addParseToken(['H', 'HH'], HOUR);\n addParseToken(['k', 'kk'], function (input, array, config) {\n var kInput = toInt(input);\n array[HOUR] = kInput === 24 ? 0 : kInput;\n });\n addParseToken(['a', 'A'], function (input, array, config) {\n config._isPm = config._locale.isPM(input);\n config._meridiem = input;\n });\n addParseToken(['h', 'hh'], function (input, array, config) {\n array[HOUR] = toInt(input);\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n getParsingFlags(config).bigHour = true;\n });\n addParseToken('Hmm', function (input, array, config) {\n var pos = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos));\n array[MINUTE] = toInt(input.substr(pos));\n });\n addParseToken('Hmmss', function (input, array, config) {\n var pos1 = input.length - 4,\n pos2 = input.length - 2;\n array[HOUR] = toInt(input.substr(0, pos1));\n array[MINUTE] = toInt(input.substr(pos1, 2));\n array[SECOND] = toInt(input.substr(pos2));\n });\n\n // LOCALES\n\n function localeIsPM(input) {\n // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n // Using charAt should be more compatible.\n return (input + '').toLowerCase().charAt(0) === 'p';\n }\n var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n // Setting the hour should keep the time, because the user explicitly\n // specified which hour they want. So trying to maintain the same hour (in\n // a new timezone) makes sense. Adding/subtracting hours does not follow\n // this rule.\n getSetHour = makeGetSet('Hours', true);\n function localeMeridiem(hours, minutes, isLower) {\n if (hours > 11) {\n return isLower ? 'pm' : 'PM';\n } else {\n return isLower ? 'am' : 'AM';\n }\n }\n var baseConfig = {\n calendar: defaultCalendar,\n longDateFormat: defaultLongDateFormat,\n invalidDate: defaultInvalidDate,\n ordinal: defaultOrdinal,\n dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n relativeTime: defaultRelativeTime,\n months: defaultLocaleMonths,\n monthsShort: defaultLocaleMonthsShort,\n week: defaultLocaleWeek,\n weekdays: defaultLocaleWeekdays,\n weekdaysMin: defaultLocaleWeekdaysMin,\n weekdaysShort: defaultLocaleWeekdaysShort,\n meridiemParse: defaultLocaleMeridiemParse\n };\n\n // internal storage for locale config files\n var locales = {},\n localeFamilies = {},\n globalLocale;\n function commonPrefix(arr1, arr2) {\n var i,\n minl = Math.min(arr1.length, arr2.length);\n for (i = 0; i < minl; i += 1) {\n if (arr1[i] !== arr2[i]) {\n return i;\n }\n }\n return minl;\n }\n function normalizeLocale(key) {\n return key ? key.toLowerCase().replace('_', '-') : key;\n }\n\n // pick the locale from the array\n // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n function chooseLocale(names) {\n var i = 0,\n j,\n next,\n locale,\n split;\n while (i < names.length) {\n split = normalizeLocale(names[i]).split('-');\n j = split.length;\n next = normalizeLocale(names[i + 1]);\n next = next ? next.split('-') : null;\n while (j > 0) {\n locale = loadLocale(split.slice(0, j).join('-'));\n if (locale) {\n return locale;\n }\n if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {\n //the next array item is better than a shallower substring of this one\n break;\n }\n j--;\n }\n i++;\n }\n return globalLocale;\n }\n function isLocaleNameSane(name) {\n // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n // Ensure name is available and function returns boolean\n return !!(name && name.match('^[^/\\\\\\\\]*$'));\n }\n function loadLocale(name) {\n var oldLocale = null,\n aliasedRequire;\n // TODO: Find a better way to register and load all the locales in Node\n if (locales[name] === undefined && typeof module !== 'undefined' && module && module.exports && isLocaleNameSane(name)) {\n try {\n oldLocale = globalLocale._abbr;\n aliasedRequire = require;\n aliasedRequire('./locale/' + name);\n getSetGlobalLocale(oldLocale);\n } catch (e) {\n // mark as not found to avoid repeating expensive file require call causing high CPU\n // when trying to find en-US, en_US, en-us for every format call\n locales[name] = null; // null means not found\n }\n }\n return locales[name];\n }\n\n // This function will load locale and then set the global locale. If\n // no arguments are passed in, it will simply return the current global\n // locale key.\n function getSetGlobalLocale(key, values) {\n var data;\n if (key) {\n if (isUndefined(values)) {\n data = getLocale(key);\n } else {\n data = defineLocale(key, values);\n }\n if (data) {\n // moment.duration._locale = moment._locale = data;\n globalLocale = data;\n } else {\n if (typeof console !== 'undefined' && console.warn) {\n //warn user if arguments are passed but the locale could not be set\n console.warn('Locale ' + key + ' not found. Did you forget to load it?');\n }\n }\n }\n return globalLocale._abbr;\n }\n function defineLocale(name, config) {\n if (config !== null) {\n var locale,\n parentConfig = baseConfig;\n config.abbr = name;\n if (locales[name] != null) {\n deprecateSimple('defineLocaleOverride', 'use moment.updateLocale(localeName, config) to change ' + 'an existing locale. moment.defineLocale(localeName, ' + 'config) should only be used for creating a new locale ' + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.');\n parentConfig = locales[name]._config;\n } else if (config.parentLocale != null) {\n if (locales[config.parentLocale] != null) {\n parentConfig = locales[config.parentLocale]._config;\n } else {\n locale = loadLocale(config.parentLocale);\n if (locale != null) {\n parentConfig = locale._config;\n } else {\n if (!localeFamilies[config.parentLocale]) {\n localeFamilies[config.parentLocale] = [];\n }\n localeFamilies[config.parentLocale].push({\n name: name,\n config: config\n });\n return null;\n }\n }\n }\n locales[name] = new Locale(mergeConfigs(parentConfig, config));\n if (localeFamilies[name]) {\n localeFamilies[name].forEach(function (x) {\n defineLocale(x.name, x.config);\n });\n }\n\n // backwards compat for now: also set the locale\n // make sure we set the locale AFTER all child locales have been\n // created, so we won't end up with the child locale set.\n getSetGlobalLocale(name);\n return locales[name];\n } else {\n // useful for testing\n delete locales[name];\n return null;\n }\n }\n function updateLocale(name, config) {\n if (config != null) {\n var locale,\n tmpLocale,\n parentConfig = baseConfig;\n if (locales[name] != null && locales[name].parentLocale != null) {\n // Update existing child locale in-place to avoid memory-leaks\n locales[name].set(mergeConfigs(locales[name]._config, config));\n } else {\n // MERGE\n tmpLocale = loadLocale(name);\n if (tmpLocale != null) {\n parentConfig = tmpLocale._config;\n }\n config = mergeConfigs(parentConfig, config);\n if (tmpLocale == null) {\n // updateLocale is called for creating a new locale\n // Set abbr so it will have a name (getters return\n // undefined otherwise).\n config.abbr = name;\n }\n locale = new Locale(config);\n locale.parentLocale = locales[name];\n locales[name] = locale;\n }\n\n // backwards compat for now: also set the locale\n getSetGlobalLocale(name);\n } else {\n // pass null for config to unupdate, useful for tests\n if (locales[name] != null) {\n if (locales[name].parentLocale != null) {\n locales[name] = locales[name].parentLocale;\n if (name === getSetGlobalLocale()) {\n getSetGlobalLocale(name);\n }\n } else if (locales[name] != null) {\n delete locales[name];\n }\n }\n }\n return locales[name];\n }\n\n // returns locale data\n function getLocale(key) {\n var locale;\n if (key && key._locale && key._locale._abbr) {\n key = key._locale._abbr;\n }\n if (!key) {\n return globalLocale;\n }\n if (!isArray(key)) {\n //short-circuit everything else\n locale = loadLocale(key);\n if (locale) {\n return locale;\n }\n key = [key];\n }\n return chooseLocale(key);\n }\n function listLocales() {\n return keys(locales);\n }\n function checkOverflow(m) {\n var overflow,\n a = m._a;\n if (a && getParsingFlags(m).overflow === -2) {\n overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;\n if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {\n overflow = DATE;\n }\n if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n overflow = WEEK;\n }\n if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n overflow = WEEKDAY;\n }\n getParsingFlags(m).overflow = overflow;\n }\n return m;\n }\n\n // iso 8601 regex\n // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n isoDates = [['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/], ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/], ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/], ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false], ['YYYY-DDD', /\\d{4}-\\d{3}/], ['YYYY-MM', /\\d{4}-\\d\\d/, false], ['YYYYYYMMDD', /[+-]\\d{10}/], ['YYYYMMDD', /\\d{8}/], ['GGGG[W]WWE', /\\d{4}W\\d{3}/], ['GGGG[W]WW', /\\d{4}W\\d{2}/, false], ['YYYYDDD', /\\d{7}/], ['YYYYMM', /\\d{6}/, false], ['YYYY', /\\d{4}/, false]],\n // iso time formats and regexes\n isoTimes = [['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/], ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/], ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/], ['HH:mm', /\\d\\d:\\d\\d/], ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/], ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/], ['HHmmss', /\\d\\d\\d\\d\\d\\d/], ['HHmm', /\\d\\d\\d\\d/], ['HH', /\\d\\d/]],\n aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n obsOffsets = {\n UT: 0,\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n };\n\n // date from iso format\n function configFromISO(config) {\n var i,\n l,\n string = config._i,\n match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n allowTime,\n dateFormat,\n timeFormat,\n tzFormat,\n isoDatesLen = isoDates.length,\n isoTimesLen = isoTimes.length;\n if (match) {\n getParsingFlags(config).iso = true;\n for (i = 0, l = isoDatesLen; i < l; i++) {\n if (isoDates[i][1].exec(match[1])) {\n dateFormat = isoDates[i][0];\n allowTime = isoDates[i][2] !== false;\n break;\n }\n }\n if (dateFormat == null) {\n config._isValid = false;\n return;\n }\n if (match[3]) {\n for (i = 0, l = isoTimesLen; i < l; i++) {\n if (isoTimes[i][1].exec(match[3])) {\n // match[2] should be 'T' or space\n timeFormat = (match[2] || ' ') + isoTimes[i][0];\n break;\n }\n }\n if (timeFormat == null) {\n config._isValid = false;\n return;\n }\n }\n if (!allowTime && timeFormat != null) {\n config._isValid = false;\n return;\n }\n if (match[4]) {\n if (tzRegex.exec(match[4])) {\n tzFormat = 'Z';\n } else {\n config._isValid = false;\n return;\n }\n }\n config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n configFromStringAndFormat(config);\n } else {\n config._isValid = false;\n }\n }\n function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = [untruncateYear(yearStr), defaultLocaleMonthsShort.indexOf(monthStr), parseInt(dayStr, 10), parseInt(hourStr, 10), parseInt(minuteStr, 10)];\n if (secondStr) {\n result.push(parseInt(secondStr, 10));\n }\n return result;\n }\n function untruncateYear(yearStr) {\n var year = parseInt(yearStr, 10);\n if (year <= 49) {\n return 2000 + year;\n } else if (year <= 999) {\n return 1900 + year;\n }\n return year;\n }\n function preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^()]*\\)|[\\n\\t]/g, ' ').replace(/(\\s\\s+)/g, ' ').replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n }\n function checkWeekday(weekdayStr, parsedInput, config) {\n if (weekdayStr) {\n // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n weekdayActual = new Date(parsedInput[0], parsedInput[1], parsedInput[2]).getDay();\n if (weekdayProvided !== weekdayActual) {\n getParsingFlags(config).weekdayMismatch = true;\n config._isValid = false;\n return false;\n }\n }\n return true;\n }\n function calculateOffset(obsOffset, militaryOffset, numOffset) {\n if (obsOffset) {\n return obsOffsets[obsOffset];\n } else if (militaryOffset) {\n // the only allowed military tz is Z\n return 0;\n } else {\n var hm = parseInt(numOffset, 10),\n m = hm % 100,\n h = (hm - m) / 100;\n return h * 60 + m;\n }\n }\n\n // date and time from ref 2822 format\n function configFromRFC2822(config) {\n var match = rfc2822.exec(preprocessRFC2822(config._i)),\n parsedArray;\n if (match) {\n parsedArray = extractFromRFC2822Strings(match[4], match[3], match[2], match[5], match[6], match[7]);\n if (!checkWeekday(match[1], parsedArray, config)) {\n return;\n }\n config._a = parsedArray;\n config._tzm = calculateOffset(match[8], match[9], match[10]);\n config._d = createUTCDate.apply(null, config._a);\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n getParsingFlags(config).rfc2822 = true;\n } else {\n config._isValid = false;\n }\n }\n\n // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n function configFromString(config) {\n var matched = aspNetJsonRegex.exec(config._i);\n if (matched !== null) {\n config._d = new Date(+matched[1]);\n return;\n }\n configFromISO(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n configFromRFC2822(config);\n if (config._isValid === false) {\n delete config._isValid;\n } else {\n return;\n }\n if (config._strict) {\n config._isValid = false;\n } else {\n // Final attempt, use Input Fallback\n hooks.createFromInputFallback(config);\n }\n }\n hooks.createFromInputFallback = deprecate('value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' + 'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' + 'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', function (config) {\n config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n });\n\n // Pick the first defined of two or three arguments.\n function defaults(a, b, c) {\n if (a != null) {\n return a;\n }\n if (b != null) {\n return b;\n }\n return c;\n }\n function currentDateArray(config) {\n // hooks is actually the exported moment object\n var nowValue = new Date(hooks.now());\n if (config._useUTC) {\n return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()];\n }\n return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n }\n\n // convert an array to a date.\n // the array should mirror the parameters below\n // note: all values past the year are optional and will default to the lowest possible value.\n // [year, month, day , hour, minute, second, millisecond]\n function configFromArray(config) {\n var i,\n date,\n input = [],\n currentDate,\n expectedWeekday,\n yearToUse;\n if (config._d) {\n return;\n }\n currentDate = currentDateArray(config);\n\n //compute day of the year from weeks and weekdays\n if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n dayOfYearFromWeekInfo(config);\n }\n\n //if the day of the year is set, figure out what it is\n if (config._dayOfYear != null) {\n yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {\n getParsingFlags(config)._overflowDayOfYear = true;\n }\n date = createUTCDate(yearToUse, 0, config._dayOfYear);\n config._a[MONTH] = date.getUTCMonth();\n config._a[DATE] = date.getUTCDate();\n }\n\n // Default to current date.\n // * if no year, month, day of month are given, default to today\n // * if day of month is given, default month and year\n // * if month is given, default only year\n // * if year is given, don't default anything\n for (i = 0; i < 3 && config._a[i] == null; ++i) {\n config._a[i] = input[i] = currentDate[i];\n }\n\n // Zero out whatever was not defaulted, including time\n for (; i < 7; i++) {\n config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];\n }\n\n // Check for 24:00:00.000\n if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {\n config._nextDay = true;\n config._a[HOUR] = 0;\n }\n config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input);\n expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();\n\n // Apply timezone offset from input. The actual utcOffset can be changed\n // with parseZone.\n if (config._tzm != null) {\n config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n }\n if (config._nextDay) {\n config._a[HOUR] = 24;\n }\n\n // check for mismatching day of week\n if (config._w && typeof config._w.d !== 'undefined' && config._w.d !== expectedWeekday) {\n getParsingFlags(config).weekdayMismatch = true;\n }\n }\n function dayOfYearFromWeekInfo(config) {\n var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n w = config._w;\n if (w.GG != null || w.W != null || w.E != null) {\n dow = 1;\n doy = 4;\n\n // TODO: We need to take the current isoWeekYear, but that depends on\n // how we interpret now (local, utc, fixed offset). So create\n // a now version of current config (take local/utc/offset flags, and\n // create now).\n weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(createLocal(), 1, 4).year);\n week = defaults(w.W, 1);\n weekday = defaults(w.E, 1);\n if (weekday < 1 || weekday > 7) {\n weekdayOverflow = true;\n }\n } else {\n dow = config._locale._week.dow;\n doy = config._locale._week.doy;\n curWeek = weekOfYear(createLocal(), dow, doy);\n weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n // Default to current week.\n week = defaults(w.w, curWeek.week);\n if (w.d != null) {\n // weekday -- low day numbers are considered next week\n weekday = w.d;\n if (weekday < 0 || weekday > 6) {\n weekdayOverflow = true;\n }\n } else if (w.e != null) {\n // local weekday -- counting starts from beginning of week\n weekday = w.e + dow;\n if (w.e < 0 || w.e > 6) {\n weekdayOverflow = true;\n }\n } else {\n // default to beginning of week\n weekday = dow;\n }\n }\n if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n getParsingFlags(config)._overflowWeeks = true;\n } else if (weekdayOverflow != null) {\n getParsingFlags(config)._overflowWeekday = true;\n } else {\n temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n config._a[YEAR] = temp.year;\n config._dayOfYear = temp.dayOfYear;\n }\n }\n\n // constant that refers to the ISO standard\n hooks.ISO_8601 = function () {};\n\n // constant that refers to the RFC 2822 form\n hooks.RFC_2822 = function () {};\n\n // date from string and format string\n function configFromStringAndFormat(config) {\n // TODO: Move this to another part of the creation flow to prevent circular deps\n if (config._f === hooks.ISO_8601) {\n configFromISO(config);\n return;\n }\n if (config._f === hooks.RFC_2822) {\n configFromRFC2822(config);\n return;\n }\n config._a = [];\n getParsingFlags(config).empty = true;\n\n // This array is used to make a Date, either with `new Date` or `Date.UTC`\n var string = '' + config._i,\n i,\n parsedInput,\n tokens,\n token,\n skipped,\n stringLength = string.length,\n totalParsedInputLength = 0,\n era,\n tokenLen;\n tokens = expandFormat(config._f, config._locale).match(formattingTokens) || [];\n tokenLen = tokens.length;\n for (i = 0; i < tokenLen; i++) {\n token = tokens[i];\n parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0];\n if (parsedInput) {\n skipped = string.substr(0, string.indexOf(parsedInput));\n if (skipped.length > 0) {\n getParsingFlags(config).unusedInput.push(skipped);\n }\n string = string.slice(string.indexOf(parsedInput) + parsedInput.length);\n totalParsedInputLength += parsedInput.length;\n }\n // don't parse if it's not a known token\n if (formatTokenFunctions[token]) {\n if (parsedInput) {\n getParsingFlags(config).empty = false;\n } else {\n getParsingFlags(config).unusedTokens.push(token);\n }\n addTimeToArrayFromToken(token, parsedInput, config);\n } else if (config._strict && !parsedInput) {\n getParsingFlags(config).unusedTokens.push(token);\n }\n }\n\n // add remaining unparsed input length to the string\n getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;\n if (string.length > 0) {\n getParsingFlags(config).unusedInput.push(string);\n }\n\n // clear _12h flag if hour is <= 12\n if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {\n getParsingFlags(config).bigHour = undefined;\n }\n getParsingFlags(config).parsedDateParts = config._a.slice(0);\n getParsingFlags(config).meridiem = config._meridiem;\n // handle meridiem\n config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem);\n\n // handle era\n era = getParsingFlags(config).era;\n if (era !== null) {\n config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n }\n configFromArray(config);\n checkOverflow(config);\n }\n function meridiemFixWrap(locale, hour, meridiem) {\n var isPm;\n if (meridiem == null) {\n // nothing to do\n return hour;\n }\n if (locale.meridiemHour != null) {\n return locale.meridiemHour(hour, meridiem);\n } else if (locale.isPM != null) {\n // Fallback\n isPm = locale.isPM(meridiem);\n if (isPm && hour < 12) {\n hour += 12;\n }\n if (!isPm && hour === 12) {\n hour = 0;\n }\n return hour;\n } else {\n // this is not supposed to happen\n return hour;\n }\n }\n\n // date from string and array of format strings\n function configFromStringAndArray(config) {\n var tempConfig,\n bestMoment,\n scoreToBeat,\n i,\n currentScore,\n validFormatFound,\n bestFormatIsValid = false,\n configfLen = config._f.length;\n if (configfLen === 0) {\n getParsingFlags(config).invalidFormat = true;\n config._d = new Date(NaN);\n return;\n }\n for (i = 0; i < configfLen; i++) {\n currentScore = 0;\n validFormatFound = false;\n tempConfig = copyConfig({}, config);\n if (config._useUTC != null) {\n tempConfig._useUTC = config._useUTC;\n }\n tempConfig._f = config._f[i];\n configFromStringAndFormat(tempConfig);\n if (isValid(tempConfig)) {\n validFormatFound = true;\n }\n\n // if there is any input that was not parsed add a penalty for that format\n currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n //or tokens\n currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n getParsingFlags(tempConfig).score = currentScore;\n if (!bestFormatIsValid) {\n if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n if (validFormatFound) {\n bestFormatIsValid = true;\n }\n }\n } else {\n if (currentScore < scoreToBeat) {\n scoreToBeat = currentScore;\n bestMoment = tempConfig;\n }\n }\n }\n extend(config, bestMoment || tempConfig);\n }\n function configFromObject(config) {\n if (config._d) {\n return;\n }\n var i = normalizeObjectUnits(config._i),\n dayOrDate = i.day === undefined ? i.date : i.day;\n config._a = map([i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond], function (obj) {\n return obj && parseInt(obj, 10);\n });\n configFromArray(config);\n }\n function createFromConfig(config) {\n var res = new Moment(checkOverflow(prepareConfig(config)));\n if (res._nextDay) {\n // Adding is smart enough around DST\n res.add(1, 'd');\n res._nextDay = undefined;\n }\n return res;\n }\n function prepareConfig(config) {\n var input = config._i,\n format = config._f;\n config._locale = config._locale || getLocale(config._l);\n if (input === null || format === undefined && input === '') {\n return createInvalid({\n nullInput: true\n });\n }\n if (typeof input === 'string') {\n config._i = input = config._locale.preparse(input);\n }\n if (isMoment(input)) {\n return new Moment(checkOverflow(input));\n } else if (isDate(input)) {\n config._d = input;\n } else if (isArray(format)) {\n configFromStringAndArray(config);\n } else if (format) {\n configFromStringAndFormat(config);\n } else {\n configFromInput(config);\n }\n if (!isValid(config)) {\n config._d = null;\n }\n return config;\n }\n function configFromInput(config) {\n var input = config._i;\n if (isUndefined(input)) {\n config._d = new Date(hooks.now());\n } else if (isDate(input)) {\n config._d = new Date(input.valueOf());\n } else if (typeof input === 'string') {\n configFromString(config);\n } else if (isArray(input)) {\n config._a = map(input.slice(0), function (obj) {\n return parseInt(obj, 10);\n });\n configFromArray(config);\n } else if (isObject(input)) {\n configFromObject(config);\n } else if (isNumber(input)) {\n // from milliseconds\n config._d = new Date(input);\n } else {\n hooks.createFromInputFallback(config);\n }\n }\n function createLocalOrUTC(input, format, locale, strict, isUTC) {\n var c = {};\n if (format === true || format === false) {\n strict = format;\n format = undefined;\n }\n if (locale === true || locale === false) {\n strict = locale;\n locale = undefined;\n }\n if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {\n input = undefined;\n }\n // object construction must be done this way.\n // https://github.com/moment/moment/issues/1423\n c._isAMomentObject = true;\n c._useUTC = c._isUTC = isUTC;\n c._l = locale;\n c._i = input;\n c._f = format;\n c._strict = strict;\n return createFromConfig(c);\n }\n function createLocal(input, format, locale, strict) {\n return createLocalOrUTC(input, format, locale, strict, false);\n }\n var prototypeMin = deprecate('moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other < this ? this : other;\n } else {\n return createInvalid();\n }\n }),\n prototypeMax = deprecate('moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', function () {\n var other = createLocal.apply(null, arguments);\n if (this.isValid() && other.isValid()) {\n return other > this ? this : other;\n } else {\n return createInvalid();\n }\n });\n\n // Pick a moment m from moments so that m[fn](other) is true for all\n // other. This relies on the function fn to be transitive.\n //\n // moments should either be an array of moment objects or an array, whose\n // first element is an array of moment objects.\n function pickBy(fn, moments) {\n var res, i;\n if (moments.length === 1 && isArray(moments[0])) {\n moments = moments[0];\n }\n if (!moments.length) {\n return createLocal();\n }\n res = moments[0];\n for (i = 1; i < moments.length; ++i) {\n if (!moments[i].isValid() || moments[i][fn](res)) {\n res = moments[i];\n }\n }\n return res;\n }\n\n // TODO: Use [].sort instead?\n function min() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isBefore', args);\n }\n function max() {\n var args = [].slice.call(arguments, 0);\n return pickBy('isAfter', args);\n }\n var now = function () {\n return Date.now ? Date.now() : +new Date();\n };\n var ordering = ['year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', 'millisecond'];\n function isDurationValid(m) {\n var key,\n unitHasDecimal = false,\n i,\n orderLen = ordering.length;\n for (key in m) {\n if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {\n return false;\n }\n }\n for (i = 0; i < orderLen; ++i) {\n if (m[ordering[i]]) {\n if (unitHasDecimal) {\n return false; // only allow non-integers for smallest unit\n }\n if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n unitHasDecimal = true;\n }\n }\n }\n return true;\n }\n function isValid$1() {\n return this._isValid;\n }\n function createInvalid$1() {\n return createDuration(NaN);\n }\n function Duration(duration) {\n var normalizedInput = normalizeObjectUnits(duration),\n years = normalizedInput.year || 0,\n quarters = normalizedInput.quarter || 0,\n months = normalizedInput.month || 0,\n weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n days = normalizedInput.day || 0,\n hours = normalizedInput.hour || 0,\n minutes = normalizedInput.minute || 0,\n seconds = normalizedInput.second || 0,\n milliseconds = normalizedInput.millisecond || 0;\n this._isValid = isDurationValid(normalizedInput);\n\n // representation for dateAddRemove\n this._milliseconds = +milliseconds + seconds * 1e3 +\n // 1000\n minutes * 6e4 +\n // 1000 * 60\n hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n // Because of dateAddRemove treats 24 hours as different from a\n // day when working around DST, we need to store them separately\n this._days = +days + weeks * 7;\n // It is impossible to translate months into days without knowing\n // which months you are are talking about, so we have to store\n // it separately.\n this._months = +months + quarters * 3 + years * 12;\n this._data = {};\n this._locale = getLocale();\n this._bubble();\n }\n function isDuration(obj) {\n return obj instanceof Duration;\n }\n function absRound(number) {\n if (number < 0) {\n return Math.round(-1 * number) * -1;\n } else {\n return Math.round(number);\n }\n }\n\n // compare two arrays, return the number of differences\n function compareArrays(array1, array2, dontConvert) {\n var len = Math.min(array1.length, array2.length),\n lengthDiff = Math.abs(array1.length - array2.length),\n diffs = 0,\n i;\n for (i = 0; i < len; i++) {\n if (dontConvert && array1[i] !== array2[i] || !dontConvert && toInt(array1[i]) !== toInt(array2[i])) {\n diffs++;\n }\n }\n return diffs + lengthDiff;\n }\n\n // FORMATTING\n\n function offset(token, separator) {\n addFormatToken(token, 0, 0, function () {\n var offset = this.utcOffset(),\n sign = '+';\n if (offset < 0) {\n offset = -offset;\n sign = '-';\n }\n return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~offset % 60, 2);\n });\n }\n offset('Z', ':');\n offset('ZZ', '');\n\n // PARSING\n\n addRegexToken('Z', matchShortOffset);\n addRegexToken('ZZ', matchShortOffset);\n addParseToken(['Z', 'ZZ'], function (input, array, config) {\n config._useUTC = true;\n config._tzm = offsetFromString(matchShortOffset, input);\n });\n\n // HELPERS\n\n // timezone chunker\n // '+10:00' > ['10', '00']\n // '-1530' > ['-15', '30']\n var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n function offsetFromString(matcher, string) {\n var matches = (string || '').match(matcher),\n chunk,\n parts,\n minutes;\n if (matches === null) {\n return null;\n }\n chunk = matches[matches.length - 1] || [];\n parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n minutes = +(parts[1] * 60) + toInt(parts[2]);\n return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n }\n\n // Return a moment from input, that is local/utc/zone equivalent to model.\n function cloneWithOffset(input, model) {\n var res, diff;\n if (model._isUTC) {\n res = model.clone();\n diff = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();\n // Use low-level api, because this fn is low-level api.\n res._d.setTime(res._d.valueOf() + diff);\n hooks.updateOffset(res, false);\n return res;\n } else {\n return createLocal(input).local();\n }\n }\n function getDateOffset(m) {\n // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n // https://github.com/moment/moment/pull/1871\n return -Math.round(m._d.getTimezoneOffset());\n }\n\n // HOOKS\n\n // This function will be called whenever a moment is mutated.\n // It is intended to keep the offset in sync with the timezone.\n hooks.updateOffset = function () {};\n\n // MOMENTS\n\n // keepLocalTime = true means only change the timezone, without\n // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n // +0200, so we adjust the time as needed, to be valid.\n //\n // Keeping the time actually adds/subtracts (one hour)\n // from the actual represented time. That is why we call updateOffset\n // a second time. In case it wants us to change the offset again\n // _changeInProgress == true case, then we have to adjust, because\n // there is no such time in the given timezone.\n function getSetOffset(input, keepLocalTime, keepMinutes) {\n var offset = this._offset || 0,\n localAdjust;\n if (!this.isValid()) {\n return input != null ? this : NaN;\n }\n if (input != null) {\n if (typeof input === 'string') {\n input = offsetFromString(matchShortOffset, input);\n if (input === null) {\n return this;\n }\n } else if (Math.abs(input) < 16 && !keepMinutes) {\n input = input * 60;\n }\n if (!this._isUTC && keepLocalTime) {\n localAdjust = getDateOffset(this);\n }\n this._offset = input;\n this._isUTC = true;\n if (localAdjust != null) {\n this.add(localAdjust, 'm');\n }\n if (offset !== input) {\n if (!keepLocalTime || this._changeInProgress) {\n addSubtract(this, createDuration(input - offset, 'm'), 1, false);\n } else if (!this._changeInProgress) {\n this._changeInProgress = true;\n hooks.updateOffset(this, true);\n this._changeInProgress = null;\n }\n }\n return this;\n } else {\n return this._isUTC ? offset : getDateOffset(this);\n }\n }\n function getSetZone(input, keepLocalTime) {\n if (input != null) {\n if (typeof input !== 'string') {\n input = -input;\n }\n this.utcOffset(input, keepLocalTime);\n return this;\n } else {\n return -this.utcOffset();\n }\n }\n function setOffsetToUTC(keepLocalTime) {\n return this.utcOffset(0, keepLocalTime);\n }\n function setOffsetToLocal(keepLocalTime) {\n if (this._isUTC) {\n this.utcOffset(0, keepLocalTime);\n this._isUTC = false;\n if (keepLocalTime) {\n this.subtract(getDateOffset(this), 'm');\n }\n }\n return this;\n }\n function setOffsetToParsedOffset() {\n if (this._tzm != null) {\n this.utcOffset(this._tzm, false, true);\n } else if (typeof this._i === 'string') {\n var tZone = offsetFromString(matchOffset, this._i);\n if (tZone != null) {\n this.utcOffset(tZone);\n } else {\n this.utcOffset(0, true);\n }\n }\n return this;\n }\n function hasAlignedHourOffset(input) {\n if (!this.isValid()) {\n return false;\n }\n input = input ? createLocal(input).utcOffset() : 0;\n return (this.utcOffset() - input) % 60 === 0;\n }\n function isDaylightSavingTime() {\n return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();\n }\n function isDaylightSavingTimeShifted() {\n if (!isUndefined(this._isDSTShifted)) {\n return this._isDSTShifted;\n }\n var c = {},\n other;\n copyConfig(c, this);\n c = prepareConfig(c);\n if (c._a) {\n other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n } else {\n this._isDSTShifted = false;\n }\n return this._isDSTShifted;\n }\n function isLocal() {\n return this.isValid() ? !this._isUTC : false;\n }\n function isUtcOffset() {\n return this.isValid() ? this._isUTC : false;\n }\n function isUtc() {\n return this.isValid() ? this._isUTC && this._offset === 0 : false;\n }\n\n // ASP.NET json date format regex\n var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n // and further modified to allow for strings containing both week and day\n isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n function createDuration(input, key) {\n var duration = input,\n // matching against regexp is expensive, do it on demand\n match = null,\n sign,\n ret,\n diffRes;\n if (isDuration(input)) {\n duration = {\n ms: input._milliseconds,\n d: input._days,\n M: input._months\n };\n } else if (isNumber(input) || !isNaN(+input)) {\n duration = {};\n if (key) {\n duration[key] = +input;\n } else {\n duration.milliseconds = +input;\n }\n } else if (match = aspNetRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: 0,\n d: toInt(match[DATE]) * sign,\n h: toInt(match[HOUR]) * sign,\n m: toInt(match[MINUTE]) * sign,\n s: toInt(match[SECOND]) * sign,\n ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match\n };\n } else if (match = isoRegex.exec(input)) {\n sign = match[1] === '-' ? -1 : 1;\n duration = {\n y: parseIso(match[2], sign),\n M: parseIso(match[3], sign),\n w: parseIso(match[4], sign),\n d: parseIso(match[5], sign),\n h: parseIso(match[6], sign),\n m: parseIso(match[7], sign),\n s: parseIso(match[8], sign)\n };\n } else if (duration == null) {\n // checks for null or undefined\n duration = {};\n } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) {\n diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));\n duration = {};\n duration.ms = diffRes.milliseconds;\n duration.M = diffRes.months;\n }\n ret = new Duration(duration);\n if (isDuration(input) && hasOwnProp(input, '_locale')) {\n ret._locale = input._locale;\n }\n if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n ret._isValid = input._isValid;\n }\n return ret;\n }\n createDuration.fn = Duration.prototype;\n createDuration.invalid = createInvalid$1;\n function parseIso(inp, sign) {\n // We'd normally use ~~inp for this, but unfortunately it also\n // converts floats to ints.\n // inp may be undefined, so careful calling replace on it.\n var res = inp && parseFloat(inp.replace(',', '.'));\n // apply sign while we're at it\n return (isNaN(res) ? 0 : res) * sign;\n }\n function positiveMomentsDifference(base, other) {\n var res = {};\n res.months = other.month() - base.month() + (other.year() - base.year()) * 12;\n if (base.clone().add(res.months, 'M').isAfter(other)) {\n --res.months;\n }\n res.milliseconds = +other - +base.clone().add(res.months, 'M');\n return res;\n }\n function momentsDifference(base, other) {\n var res;\n if (!(base.isValid() && other.isValid())) {\n return {\n milliseconds: 0,\n months: 0\n };\n }\n other = cloneWithOffset(other, base);\n if (base.isBefore(other)) {\n res = positiveMomentsDifference(base, other);\n } else {\n res = positiveMomentsDifference(other, base);\n res.milliseconds = -res.milliseconds;\n res.months = -res.months;\n }\n return res;\n }\n\n // TODO: remove 'name' arg after deprecation is removed\n function createAdder(direction, name) {\n return function (val, period) {\n var dur, tmp;\n //invert the arguments, but complain about it\n if (period !== null && !isNaN(+period)) {\n deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.');\n tmp = val;\n val = period;\n period = tmp;\n }\n dur = createDuration(val, period);\n addSubtract(this, dur, direction);\n return this;\n };\n }\n function addSubtract(mom, duration, isAdding, updateOffset) {\n var milliseconds = duration._milliseconds,\n days = absRound(duration._days),\n months = absRound(duration._months);\n if (!mom.isValid()) {\n // No op\n return;\n }\n updateOffset = updateOffset == null ? true : updateOffset;\n if (months) {\n setMonth(mom, get(mom, 'Month') + months * isAdding);\n }\n if (days) {\n set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n }\n if (milliseconds) {\n mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n }\n if (updateOffset) {\n hooks.updateOffset(mom, days || months);\n }\n }\n var add = createAdder(1, 'add'),\n subtract = createAdder(-1, 'subtract');\n function isString(input) {\n return typeof input === 'string' || input instanceof String;\n }\n\n // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n function isMomentInput(input) {\n return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === undefined;\n }\n function isMomentInputObject(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['years', 'year', 'y', 'months', 'month', 'M', 'days', 'day', 'd', 'dates', 'date', 'D', 'hours', 'hour', 'h', 'minutes', 'minute', 'm', 'seconds', 'second', 's', 'milliseconds', 'millisecond', 'ms'],\n i,\n property,\n propertyLen = properties.length;\n for (i = 0; i < propertyLen; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n return objectTest && propertyTest;\n }\n function isNumberOrStringArray(input) {\n var arrayTest = isArray(input),\n dataTypeTest = false;\n if (arrayTest) {\n dataTypeTest = input.filter(function (item) {\n return !isNumber(item) && isString(input);\n }).length === 0;\n }\n return arrayTest && dataTypeTest;\n }\n function isCalendarSpec(input) {\n var objectTest = isObject(input) && !isObjectEmpty(input),\n propertyTest = false,\n properties = ['sameDay', 'nextDay', 'lastDay', 'nextWeek', 'lastWeek', 'sameElse'],\n i,\n property;\n for (i = 0; i < properties.length; i += 1) {\n property = properties[i];\n propertyTest = propertyTest || hasOwnProp(input, property);\n }\n return objectTest && propertyTest;\n }\n function getCalendarFormat(myMoment, now) {\n var diff = myMoment.diff(now, 'days', true);\n return diff < -6 ? 'sameElse' : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : 'sameElse';\n }\n function calendar$1(time, formats) {\n // Support for single parameter, formats only overload to the calendar function\n if (arguments.length === 1) {\n if (!arguments[0]) {\n time = undefined;\n formats = undefined;\n } else if (isMomentInput(arguments[0])) {\n time = arguments[0];\n formats = undefined;\n } else if (isCalendarSpec(arguments[0])) {\n formats = arguments[0];\n time = undefined;\n }\n }\n // We want to compare the start of today, vs this.\n // Getting start-of-today depends on whether we're local/utc/offset or not.\n var now = time || createLocal(),\n sod = cloneWithOffset(now, this).startOf('day'),\n format = hooks.calendarFormat(this, sod) || 'sameElse',\n output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]);\n return this.format(output || this.localeData().calendar(format, this, createLocal(now)));\n }\n function clone() {\n return new Moment(this);\n }\n function isAfter(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() > localInput.valueOf();\n } else {\n return localInput.valueOf() < this.clone().startOf(units).valueOf();\n }\n }\n function isBefore(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input);\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() < localInput.valueOf();\n } else {\n return this.clone().endOf(units).valueOf() < localInput.valueOf();\n }\n }\n function isBetween(from, to, units, inclusivity) {\n var localFrom = isMoment(from) ? from : createLocal(from),\n localTo = isMoment(to) ? to : createLocal(to);\n if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n return false;\n }\n inclusivity = inclusivity || '()';\n return (inclusivity[0] === '(' ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ')' ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));\n }\n function isSame(input, units) {\n var localInput = isMoment(input) ? input : createLocal(input),\n inputMs;\n if (!(this.isValid() && localInput.isValid())) {\n return false;\n }\n units = normalizeUnits(units) || 'millisecond';\n if (units === 'millisecond') {\n return this.valueOf() === localInput.valueOf();\n } else {\n inputMs = localInput.valueOf();\n return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();\n }\n }\n function isSameOrAfter(input, units) {\n return this.isSame(input, units) || this.isAfter(input, units);\n }\n function isSameOrBefore(input, units) {\n return this.isSame(input, units) || this.isBefore(input, units);\n }\n function diff(input, units, asFloat) {\n var that, zoneDelta, output;\n if (!this.isValid()) {\n return NaN;\n }\n that = cloneWithOffset(input, this);\n if (!that.isValid()) {\n return NaN;\n }\n zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n units = normalizeUnits(units);\n switch (units) {\n case 'year':\n output = monthDiff(this, that) / 12;\n break;\n case 'month':\n output = monthDiff(this, that);\n break;\n case 'quarter':\n output = monthDiff(this, that) / 3;\n break;\n case 'second':\n output = (this - that) / 1e3;\n break;\n // 1000\n case 'minute':\n output = (this - that) / 6e4;\n break;\n // 1000 * 60\n case 'hour':\n output = (this - that) / 36e5;\n break;\n // 1000 * 60 * 60\n case 'day':\n output = (this - that - zoneDelta) / 864e5;\n break;\n // 1000 * 60 * 60 * 24, negate dst\n case 'week':\n output = (this - that - zoneDelta) / 6048e5;\n break;\n // 1000 * 60 * 60 * 24 * 7, negate dst\n default:\n output = this - that;\n }\n return asFloat ? output : absFloor(output);\n }\n function monthDiff(a, b) {\n if (a.date() < b.date()) {\n // end-of-month calculations work correct when the start month has more\n // days than the end month.\n return -monthDiff(b, a);\n }\n // difference in months\n var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n // b is in (anchor - 1 month, anchor + 1 month)\n anchor = a.clone().add(wholeMonthDiff, 'months'),\n anchor2,\n adjust;\n if (b - anchor < 0) {\n anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor - anchor2);\n } else {\n anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n // linear across the month\n adjust = (b - anchor) / (anchor2 - anchor);\n }\n\n //check for negative zero, return zero if negative zero\n return -(wholeMonthDiff + adjust) || 0;\n }\n hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n function toString() {\n return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n }\n function toISOString(keepOffset) {\n if (!this.isValid()) {\n return null;\n }\n var utc = keepOffset !== true,\n m = utc ? this.clone().utc() : this;\n if (m.year() < 0 || m.year() > 9999) {\n return formatMoment(m, utc ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n if (isFunction(Date.prototype.toISOString)) {\n // native implementation is ~50x faster, use it when we can\n if (utc) {\n return this.toDate().toISOString();\n } else {\n return new Date(this.valueOf() + this.utcOffset() * 60 * 1000).toISOString().replace('Z', formatMoment(m, 'Z'));\n }\n }\n return formatMoment(m, utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ');\n }\n\n /**\n * Return a human readable representation of a moment that can\n * also be evaluated to get a new moment which is the same\n *\n * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n */\n function inspect() {\n if (!this.isValid()) {\n return 'moment.invalid(/* ' + this._i + ' */)';\n }\n var func = 'moment',\n zone = '',\n prefix,\n year,\n datetime,\n suffix;\n if (!this.isLocal()) {\n func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n zone = 'Z';\n }\n prefix = '[' + func + '(\"]';\n year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n datetime = '-MM-DD[T]HH:mm:ss.SSS';\n suffix = zone + '[\")]';\n return this.format(prefix + year + datetime + suffix);\n }\n function format(inputString) {\n if (!inputString) {\n inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;\n }\n var output = formatMoment(this, inputString);\n return this.localeData().postformat(output);\n }\n function from(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n to: this,\n from: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n function fromNow(withoutSuffix) {\n return this.from(createLocal(), withoutSuffix);\n }\n function to(time, withoutSuffix) {\n if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {\n return createDuration({\n from: this,\n to: time\n }).locale(this.locale()).humanize(!withoutSuffix);\n } else {\n return this.localeData().invalidDate();\n }\n }\n function toNow(withoutSuffix) {\n return this.to(createLocal(), withoutSuffix);\n }\n\n // If passed a locale key, it will set the locale for this\n // instance. Otherwise, it will return the locale configuration\n // variables for this instance.\n function locale(key) {\n var newLocaleData;\n if (key === undefined) {\n return this._locale._abbr;\n } else {\n newLocaleData = getLocale(key);\n if (newLocaleData != null) {\n this._locale = newLocaleData;\n }\n return this;\n }\n }\n var lang = deprecate('moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', function (key) {\n if (key === undefined) {\n return this.localeData();\n } else {\n return this.locale(key);\n }\n });\n function localeData() {\n return this._locale;\n }\n var MS_PER_SECOND = 1000,\n MS_PER_MINUTE = 60 * MS_PER_SECOND,\n MS_PER_HOUR = 60 * MS_PER_MINUTE,\n MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n // actual modulo - handles negative numbers (for dates before 1970):\n function mod$1(dividend, divisor) {\n return (dividend % divisor + divisor) % divisor;\n }\n function localStartOfDate(y, m, d) {\n // the date constructor remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return new Date(y, m, d).valueOf();\n }\n }\n function utcStartOfDate(y, m, d) {\n // Date.UTC remaps years 0-99 to 1900-1999\n if (y < 100 && y >= 0) {\n // preserve leap years using a full 400 year cycle, then reset\n return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n } else {\n return Date.UTC(y, m, d);\n }\n }\n function startOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n switch (units) {\n case 'year':\n time = startOfDate(this.year(), 0, 1);\n break;\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3, 1);\n break;\n case 'month':\n time = startOfDate(this.year(), this.month(), 1);\n break;\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday());\n break;\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1));\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date());\n break;\n case 'hour':\n time = this._d.valueOf();\n time -= mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR);\n break;\n case 'minute':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_MINUTE);\n break;\n case 'second':\n time = this._d.valueOf();\n time -= mod$1(time, MS_PER_SECOND);\n break;\n }\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n function endOf(units) {\n var time, startOfDate;\n units = normalizeUnits(units);\n if (units === undefined || units === 'millisecond' || !this.isValid()) {\n return this;\n }\n startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n switch (units) {\n case 'year':\n time = startOfDate(this.year() + 1, 0, 1) - 1;\n break;\n case 'quarter':\n time = startOfDate(this.year(), this.month() - this.month() % 3 + 3, 1) - 1;\n break;\n case 'month':\n time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n break;\n case 'week':\n time = startOfDate(this.year(), this.month(), this.date() - this.weekday() + 7) - 1;\n break;\n case 'isoWeek':\n time = startOfDate(this.year(), this.month(), this.date() - (this.isoWeekday() - 1) + 7) - 1;\n break;\n case 'day':\n case 'date':\n time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n break;\n case 'hour':\n time = this._d.valueOf();\n time += MS_PER_HOUR - mod$1(time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE), MS_PER_HOUR) - 1;\n break;\n case 'minute':\n time = this._d.valueOf();\n time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n break;\n case 'second':\n time = this._d.valueOf();\n time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n break;\n }\n this._d.setTime(time);\n hooks.updateOffset(this, true);\n return this;\n }\n function valueOf() {\n return this._d.valueOf() - (this._offset || 0) * 60000;\n }\n function unix() {\n return Math.floor(this.valueOf() / 1000);\n }\n function toDate() {\n return new Date(this.valueOf());\n }\n function toArray() {\n var m = this;\n return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()];\n }\n function toObject() {\n var m = this;\n return {\n years: m.year(),\n months: m.month(),\n date: m.date(),\n hours: m.hours(),\n minutes: m.minutes(),\n seconds: m.seconds(),\n milliseconds: m.milliseconds()\n };\n }\n function toJSON() {\n // new Date(NaN).toJSON() === null\n return this.isValid() ? this.toISOString() : null;\n }\n function isValid$2() {\n return isValid(this);\n }\n function parsingFlags() {\n return extend({}, getParsingFlags(this));\n }\n function invalidAt() {\n return getParsingFlags(this).overflow;\n }\n function creationData() {\n return {\n input: this._i,\n format: this._f,\n locale: this._locale,\n isUTC: this._isUTC,\n strict: this._strict\n };\n }\n addFormatToken('N', 0, 0, 'eraAbbr');\n addFormatToken('NN', 0, 0, 'eraAbbr');\n addFormatToken('NNN', 0, 0, 'eraAbbr');\n addFormatToken('NNNN', 0, 0, 'eraName');\n addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n addFormatToken('y', ['yy', 2], 0, 'eraYear');\n addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n addRegexToken('N', matchEraAbbr);\n addRegexToken('NN', matchEraAbbr);\n addRegexToken('NNN', matchEraAbbr);\n addRegexToken('NNNN', matchEraName);\n addRegexToken('NNNNN', matchEraNarrow);\n addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (input, array, config, token) {\n var era = config._locale.erasParse(input, token, config._strict);\n if (era) {\n getParsingFlags(config).era = era;\n } else {\n getParsingFlags(config).invalidEra = input;\n }\n });\n addRegexToken('y', matchUnsigned);\n addRegexToken('yy', matchUnsigned);\n addRegexToken('yyy', matchUnsigned);\n addRegexToken('yyyy', matchUnsigned);\n addRegexToken('yo', matchEraYearOrdinal);\n addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n addParseToken(['yo'], function (input, array, config, token) {\n var match;\n if (config._locale._eraYearOrdinalRegex) {\n match = input.match(config._locale._eraYearOrdinalRegex);\n }\n if (config._locale.eraYearOrdinalParse) {\n array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n } else {\n array[YEAR] = parseInt(input, 10);\n }\n });\n function localeEras(m, format) {\n var i,\n l,\n date,\n eras = this._eras || getLocale('en')._eras;\n for (i = 0, l = eras.length; i < l; ++i) {\n switch (typeof eras[i].since) {\n case 'string':\n // truncate time\n date = hooks(eras[i].since).startOf('day');\n eras[i].since = date.valueOf();\n break;\n }\n switch (typeof eras[i].until) {\n case 'undefined':\n eras[i].until = +Infinity;\n break;\n case 'string':\n // truncate time\n date = hooks(eras[i].until).startOf('day').valueOf();\n eras[i].until = date.valueOf();\n break;\n }\n }\n return eras;\n }\n function localeErasParse(eraName, format, strict) {\n var i,\n l,\n eras = this.eras(),\n name,\n abbr,\n narrow;\n eraName = eraName.toUpperCase();\n for (i = 0, l = eras.length; i < l; ++i) {\n name = eras[i].name.toUpperCase();\n abbr = eras[i].abbr.toUpperCase();\n narrow = eras[i].narrow.toUpperCase();\n if (strict) {\n switch (format) {\n case 'N':\n case 'NN':\n case 'NNN':\n if (abbr === eraName) {\n return eras[i];\n }\n break;\n case 'NNNN':\n if (name === eraName) {\n return eras[i];\n }\n break;\n case 'NNNNN':\n if (narrow === eraName) {\n return eras[i];\n }\n break;\n }\n } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n return eras[i];\n }\n }\n }\n function localeErasConvertYear(era, year) {\n var dir = era.since <= era.until ? +1 : -1;\n if (year === undefined) {\n return hooks(era.since).year();\n } else {\n return hooks(era.since).year() + (year - era.offset) * dir;\n }\n }\n function getEraName() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].name;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].name;\n }\n }\n return '';\n }\n function getEraNarrow() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].narrow;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].narrow;\n }\n }\n return '';\n }\n function getEraAbbr() {\n var i,\n l,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until) {\n return eras[i].abbr;\n }\n if (eras[i].until <= val && val <= eras[i].since) {\n return eras[i].abbr;\n }\n }\n return '';\n }\n function getEraYear() {\n var i,\n l,\n dir,\n val,\n eras = this.localeData().eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n // truncate time\n val = this.clone().startOf('day').valueOf();\n if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {\n return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;\n }\n }\n return this.year();\n }\n function erasNameRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNameRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNameRegex : this._erasRegex;\n }\n function erasAbbrRegex(isStrict) {\n if (!hasOwnProp(this, '_erasAbbrRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasAbbrRegex : this._erasRegex;\n }\n function erasNarrowRegex(isStrict) {\n if (!hasOwnProp(this, '_erasNarrowRegex')) {\n computeErasParse.call(this);\n }\n return isStrict ? this._erasNarrowRegex : this._erasRegex;\n }\n function matchEraAbbr(isStrict, locale) {\n return locale.erasAbbrRegex(isStrict);\n }\n function matchEraName(isStrict, locale) {\n return locale.erasNameRegex(isStrict);\n }\n function matchEraNarrow(isStrict, locale) {\n return locale.erasNarrowRegex(isStrict);\n }\n function matchEraYearOrdinal(isStrict, locale) {\n return locale._eraYearOrdinalRegex || matchUnsigned;\n }\n function computeErasParse() {\n var abbrPieces = [],\n namePieces = [],\n narrowPieces = [],\n mixedPieces = [],\n i,\n l,\n erasName,\n erasAbbr,\n erasNarrow,\n eras = this.eras();\n for (i = 0, l = eras.length; i < l; ++i) {\n erasName = regexEscape(eras[i].name);\n erasAbbr = regexEscape(eras[i].abbr);\n erasNarrow = regexEscape(eras[i].narrow);\n namePieces.push(erasName);\n abbrPieces.push(erasAbbr);\n narrowPieces.push(erasNarrow);\n mixedPieces.push(erasName);\n mixedPieces.push(erasAbbr);\n mixedPieces.push(erasNarrow);\n }\n this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n this._erasNarrowRegex = new RegExp('^(' + narrowPieces.join('|') + ')', 'i');\n }\n\n // FORMATTING\n\n addFormatToken(0, ['gg', 2], 0, function () {\n return this.weekYear() % 100;\n });\n addFormatToken(0, ['GG', 2], 0, function () {\n return this.isoWeekYear() % 100;\n });\n function addWeekYearFormatToken(token, getter) {\n addFormatToken(0, [token, token.length], 0, getter);\n }\n addWeekYearFormatToken('gggg', 'weekYear');\n addWeekYearFormatToken('ggggg', 'weekYear');\n addWeekYearFormatToken('GGGG', 'isoWeekYear');\n addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n // ALIASES\n\n // PARSING\n\n addRegexToken('G', matchSigned);\n addRegexToken('g', matchSigned);\n addRegexToken('GG', match1to2, match2);\n addRegexToken('gg', match1to2, match2);\n addRegexToken('GGGG', match1to4, match4);\n addRegexToken('gggg', match1to4, match4);\n addRegexToken('GGGGG', match1to6, match6);\n addRegexToken('ggggg', match1to6, match6);\n addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) {\n week[token.substr(0, 2)] = toInt(input);\n });\n addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n week[token] = hooks.parseTwoDigitYear(input);\n });\n\n // MOMENTS\n\n function getSetWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.week(), this.weekday() + this.localeData()._week.dow, this.localeData()._week.dow, this.localeData()._week.doy);\n }\n function getSetISOWeekYear(input) {\n return getSetWeekYearHelper.call(this, input, this.isoWeek(), this.isoWeekday(), 1, 4);\n }\n function getISOWeeksInYear() {\n return weeksInYear(this.year(), 1, 4);\n }\n function getISOWeeksInISOWeekYear() {\n return weeksInYear(this.isoWeekYear(), 1, 4);\n }\n function getWeeksInYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n }\n function getWeeksInWeekYear() {\n var weekInfo = this.localeData()._week;\n return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n }\n function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n var weeksTarget;\n if (input == null) {\n return weekOfYear(this, dow, doy).year;\n } else {\n weeksTarget = weeksInYear(input, dow, doy);\n if (week > weeksTarget) {\n week = weeksTarget;\n }\n return setWeekAll.call(this, input, week, weekday, dow, doy);\n }\n }\n function setWeekAll(weekYear, week, weekday, dow, doy) {\n var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n this.year(date.getUTCFullYear());\n this.month(date.getUTCMonth());\n this.date(date.getUTCDate());\n return this;\n }\n\n // FORMATTING\n\n addFormatToken('Q', 0, 'Qo', 'quarter');\n\n // PARSING\n\n addRegexToken('Q', match1);\n addParseToken('Q', function (input, array) {\n array[MONTH] = (toInt(input) - 1) * 3;\n });\n\n // MOMENTS\n\n function getSetQuarter(input) {\n return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);\n }\n\n // FORMATTING\n\n addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n // PARSING\n\n addRegexToken('D', match1to2, match1to2NoLeadingZero);\n addRegexToken('DD', match1to2, match2);\n addRegexToken('Do', function (isStrict, locale) {\n // TODO: Remove \"ordinalParse\" fallback in next major release.\n return isStrict ? locale._dayOfMonthOrdinalParse || locale._ordinalParse : locale._dayOfMonthOrdinalParseLenient;\n });\n addParseToken(['D', 'DD'], DATE);\n addParseToken('Do', function (input, array) {\n array[DATE] = toInt(input.match(match1to2)[0]);\n });\n\n // MOMENTS\n\n var getSetDayOfMonth = makeGetSet('Date', true);\n\n // FORMATTING\n\n addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n // PARSING\n\n addRegexToken('DDD', match1to3);\n addRegexToken('DDDD', match3);\n addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n config._dayOfYear = toInt(input);\n });\n\n // HELPERS\n\n // MOMENTS\n\n function getSetDayOfYear(input) {\n var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1;\n return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n }\n\n // FORMATTING\n\n addFormatToken('m', ['mm', 2], 0, 'minute');\n\n // PARSING\n\n addRegexToken('m', match1to2, match1to2HasZero);\n addRegexToken('mm', match1to2, match2);\n addParseToken(['m', 'mm'], MINUTE);\n\n // MOMENTS\n\n var getSetMinute = makeGetSet('Minutes', false);\n\n // FORMATTING\n\n addFormatToken('s', ['ss', 2], 0, 'second');\n\n // PARSING\n\n addRegexToken('s', match1to2, match1to2HasZero);\n addRegexToken('ss', match1to2, match2);\n addParseToken(['s', 'ss'], SECOND);\n\n // MOMENTS\n\n var getSetSecond = makeGetSet('Seconds', false);\n\n // FORMATTING\n\n addFormatToken('S', 0, 0, function () {\n return ~~(this.millisecond() / 100);\n });\n addFormatToken(0, ['SS', 2], 0, function () {\n return ~~(this.millisecond() / 10);\n });\n addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n addFormatToken(0, ['SSSS', 4], 0, function () {\n return this.millisecond() * 10;\n });\n addFormatToken(0, ['SSSSS', 5], 0, function () {\n return this.millisecond() * 100;\n });\n addFormatToken(0, ['SSSSSS', 6], 0, function () {\n return this.millisecond() * 1000;\n });\n addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n return this.millisecond() * 10000;\n });\n addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n return this.millisecond() * 100000;\n });\n addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n return this.millisecond() * 1000000;\n });\n\n // PARSING\n\n addRegexToken('S', match1to3, match1);\n addRegexToken('SS', match1to3, match2);\n addRegexToken('SSS', match1to3, match3);\n var token, getSetMillisecond;\n for (token = 'SSSS'; token.length <= 9; token += 'S') {\n addRegexToken(token, matchUnsigned);\n }\n function parseMs(input, array) {\n array[MILLISECOND] = toInt(('0.' + input) * 1000);\n }\n for (token = 'S'; token.length <= 9; token += 'S') {\n addParseToken(token, parseMs);\n }\n getSetMillisecond = makeGetSet('Milliseconds', false);\n\n // FORMATTING\n\n addFormatToken('z', 0, 0, 'zoneAbbr');\n addFormatToken('zz', 0, 0, 'zoneName');\n\n // MOMENTS\n\n function getZoneAbbr() {\n return this._isUTC ? 'UTC' : '';\n }\n function getZoneName() {\n return this._isUTC ? 'Coordinated Universal Time' : '';\n }\n var proto = Moment.prototype;\n proto.add = add;\n proto.calendar = calendar$1;\n proto.clone = clone;\n proto.diff = diff;\n proto.endOf = endOf;\n proto.format = format;\n proto.from = from;\n proto.fromNow = fromNow;\n proto.to = to;\n proto.toNow = toNow;\n proto.get = stringGet;\n proto.invalidAt = invalidAt;\n proto.isAfter = isAfter;\n proto.isBefore = isBefore;\n proto.isBetween = isBetween;\n proto.isSame = isSame;\n proto.isSameOrAfter = isSameOrAfter;\n proto.isSameOrBefore = isSameOrBefore;\n proto.isValid = isValid$2;\n proto.lang = lang;\n proto.locale = locale;\n proto.localeData = localeData;\n proto.max = prototypeMax;\n proto.min = prototypeMin;\n proto.parsingFlags = parsingFlags;\n proto.set = stringSet;\n proto.startOf = startOf;\n proto.subtract = subtract;\n proto.toArray = toArray;\n proto.toObject = toObject;\n proto.toDate = toDate;\n proto.toISOString = toISOString;\n proto.inspect = inspect;\n if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n return 'Moment<' + this.format() + '>';\n };\n }\n proto.toJSON = toJSON;\n proto.toString = toString;\n proto.unix = unix;\n proto.valueOf = valueOf;\n proto.creationData = creationData;\n proto.eraName = getEraName;\n proto.eraNarrow = getEraNarrow;\n proto.eraAbbr = getEraAbbr;\n proto.eraYear = getEraYear;\n proto.year = getSetYear;\n proto.isLeapYear = getIsLeapYear;\n proto.weekYear = getSetWeekYear;\n proto.isoWeekYear = getSetISOWeekYear;\n proto.quarter = proto.quarters = getSetQuarter;\n proto.month = getSetMonth;\n proto.daysInMonth = getDaysInMonth;\n proto.week = proto.weeks = getSetWeek;\n proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n proto.weeksInYear = getWeeksInYear;\n proto.weeksInWeekYear = getWeeksInWeekYear;\n proto.isoWeeksInYear = getISOWeeksInYear;\n proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n proto.date = getSetDayOfMonth;\n proto.day = proto.days = getSetDayOfWeek;\n proto.weekday = getSetLocaleDayOfWeek;\n proto.isoWeekday = getSetISODayOfWeek;\n proto.dayOfYear = getSetDayOfYear;\n proto.hour = proto.hours = getSetHour;\n proto.minute = proto.minutes = getSetMinute;\n proto.second = proto.seconds = getSetSecond;\n proto.millisecond = proto.milliseconds = getSetMillisecond;\n proto.utcOffset = getSetOffset;\n proto.utc = setOffsetToUTC;\n proto.local = setOffsetToLocal;\n proto.parseZone = setOffsetToParsedOffset;\n proto.hasAlignedHourOffset = hasAlignedHourOffset;\n proto.isDST = isDaylightSavingTime;\n proto.isLocal = isLocal;\n proto.isUtcOffset = isUtcOffset;\n proto.isUtc = isUtc;\n proto.isUTC = isUtc;\n proto.zoneAbbr = getZoneAbbr;\n proto.zoneName = getZoneName;\n proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth);\n proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth);\n proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear);\n proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone);\n proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted);\n function createUnix(input) {\n return createLocal(input * 1000);\n }\n function createInZone() {\n return createLocal.apply(null, arguments).parseZone();\n }\n function preParsePostFormat(string) {\n return string;\n }\n var proto$1 = Locale.prototype;\n proto$1.calendar = calendar;\n proto$1.longDateFormat = longDateFormat;\n proto$1.invalidDate = invalidDate;\n proto$1.ordinal = ordinal;\n proto$1.preparse = preParsePostFormat;\n proto$1.postformat = preParsePostFormat;\n proto$1.relativeTime = relativeTime;\n proto$1.pastFuture = pastFuture;\n proto$1.set = set;\n proto$1.eras = localeEras;\n proto$1.erasParse = localeErasParse;\n proto$1.erasConvertYear = localeErasConvertYear;\n proto$1.erasAbbrRegex = erasAbbrRegex;\n proto$1.erasNameRegex = erasNameRegex;\n proto$1.erasNarrowRegex = erasNarrowRegex;\n proto$1.months = localeMonths;\n proto$1.monthsShort = localeMonthsShort;\n proto$1.monthsParse = localeMonthsParse;\n proto$1.monthsRegex = monthsRegex;\n proto$1.monthsShortRegex = monthsShortRegex;\n proto$1.week = localeWeek;\n proto$1.firstDayOfYear = localeFirstDayOfYear;\n proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n proto$1.weekdays = localeWeekdays;\n proto$1.weekdaysMin = localeWeekdaysMin;\n proto$1.weekdaysShort = localeWeekdaysShort;\n proto$1.weekdaysParse = localeWeekdaysParse;\n proto$1.weekdaysRegex = weekdaysRegex;\n proto$1.weekdaysShortRegex = weekdaysShortRegex;\n proto$1.weekdaysMinRegex = weekdaysMinRegex;\n proto$1.isPM = localeIsPM;\n proto$1.meridiem = localeMeridiem;\n function get$1(format, index, field, setter) {\n var locale = getLocale(),\n utc = createUTC().set(setter, index);\n return locale[field](utc, format);\n }\n function listMonthsImpl(format, index, field) {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n if (index != null) {\n return get$1(format, index, field, 'month');\n }\n var i,\n out = [];\n for (i = 0; i < 12; i++) {\n out[i] = get$1(format, i, field, 'month');\n }\n return out;\n }\n\n // ()\n // (5)\n // (fmt, 5)\n // (fmt)\n // (true)\n // (true, 5)\n // (true, fmt, 5)\n // (true, fmt)\n function listWeekdaysImpl(localeSorted, format, index, field) {\n if (typeof localeSorted === 'boolean') {\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n } else {\n format = localeSorted;\n index = format;\n localeSorted = false;\n if (isNumber(format)) {\n index = format;\n format = undefined;\n }\n format = format || '';\n }\n var locale = getLocale(),\n shift = localeSorted ? locale._week.dow : 0,\n i,\n out = [];\n if (index != null) {\n return get$1(format, (index + shift) % 7, field, 'day');\n }\n for (i = 0; i < 7; i++) {\n out[i] = get$1(format, (i + shift) % 7, field, 'day');\n }\n return out;\n }\n function listMonths(format, index) {\n return listMonthsImpl(format, index, 'months');\n }\n function listMonthsShort(format, index) {\n return listMonthsImpl(format, index, 'monthsShort');\n }\n function listWeekdays(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n }\n function listWeekdaysShort(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n }\n function listWeekdaysMin(localeSorted, format, index) {\n return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n }\n getSetGlobalLocale('en', {\n eras: [{\n since: '0001-01-01',\n until: +Infinity,\n offset: 1,\n name: 'Anno Domini',\n narrow: 'AD',\n abbr: 'AD'\n }, {\n since: '0000-12-31',\n until: -Infinity,\n offset: 1,\n name: 'Before Christ',\n narrow: 'BC',\n abbr: 'BC'\n }],\n dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n ordinal: function (number) {\n var b = number % 10,\n output = toInt(number % 100 / 10) === 1 ? 'th' : b === 1 ? 'st' : b === 2 ? 'nd' : b === 3 ? 'rd' : 'th';\n return number + output;\n }\n });\n\n // Side effect imports\n\n hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', getSetGlobalLocale);\n hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', getLocale);\n var mathAbs = Math.abs;\n function abs() {\n var data = this._data;\n this._milliseconds = mathAbs(this._milliseconds);\n this._days = mathAbs(this._days);\n this._months = mathAbs(this._months);\n data.milliseconds = mathAbs(data.milliseconds);\n data.seconds = mathAbs(data.seconds);\n data.minutes = mathAbs(data.minutes);\n data.hours = mathAbs(data.hours);\n data.months = mathAbs(data.months);\n data.years = mathAbs(data.years);\n return this;\n }\n function addSubtract$1(duration, input, value, direction) {\n var other = createDuration(input, value);\n duration._milliseconds += direction * other._milliseconds;\n duration._days += direction * other._days;\n duration._months += direction * other._months;\n return duration._bubble();\n }\n\n // supports only 2.0-style add(1, 's') or add(duration)\n function add$1(input, value) {\n return addSubtract$1(this, input, value, 1);\n }\n\n // supports only 2.0-style subtract(1, 's') or subtract(duration)\n function subtract$1(input, value) {\n return addSubtract$1(this, input, value, -1);\n }\n function absCeil(number) {\n if (number < 0) {\n return Math.floor(number);\n } else {\n return Math.ceil(number);\n }\n }\n function bubble() {\n var milliseconds = this._milliseconds,\n days = this._days,\n months = this._months,\n data = this._data,\n seconds,\n minutes,\n hours,\n years,\n monthsFromDays;\n\n // if we have a mix of positive and negative values, bubble down first\n // check: https://github.com/moment/moment/issues/2166\n if (!(milliseconds >= 0 && days >= 0 && months >= 0 || milliseconds <= 0 && days <= 0 && months <= 0)) {\n milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n days = 0;\n months = 0;\n }\n\n // The following code bubbles up values, see the tests for\n // examples of what that means.\n data.milliseconds = milliseconds % 1000;\n seconds = absFloor(milliseconds / 1000);\n data.seconds = seconds % 60;\n minutes = absFloor(seconds / 60);\n data.minutes = minutes % 60;\n hours = absFloor(minutes / 60);\n data.hours = hours % 24;\n days += absFloor(hours / 24);\n\n // convert days to months\n monthsFromDays = absFloor(daysToMonths(days));\n months += monthsFromDays;\n days -= absCeil(monthsToDays(monthsFromDays));\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n data.days = days;\n data.months = months;\n data.years = years;\n return this;\n }\n function daysToMonths(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n // 400 years have 12 months === 4800\n return days * 4800 / 146097;\n }\n function monthsToDays(months) {\n // the reverse of daysToMonths\n return months * 146097 / 4800;\n }\n function as(units) {\n if (!this.isValid()) {\n return NaN;\n }\n var days,\n months,\n milliseconds = this._milliseconds;\n units = normalizeUnits(units);\n if (units === 'month' || units === 'quarter' || units === 'year') {\n days = this._days + milliseconds / 864e5;\n months = this._months + daysToMonths(days);\n switch (units) {\n case 'month':\n return months;\n case 'quarter':\n return months / 3;\n case 'year':\n return months / 12;\n }\n } else {\n // handle milliseconds separately because of floating point math errors (issue #1867)\n days = this._days + Math.round(monthsToDays(this._months));\n switch (units) {\n case 'week':\n return days / 7 + milliseconds / 6048e5;\n case 'day':\n return days + milliseconds / 864e5;\n case 'hour':\n return days * 24 + milliseconds / 36e5;\n case 'minute':\n return days * 1440 + milliseconds / 6e4;\n case 'second':\n return days * 86400 + milliseconds / 1000;\n // Math.floor prevents floating point math errors here\n case 'millisecond':\n return Math.floor(days * 864e5) + milliseconds;\n default:\n throw new Error('Unknown unit ' + units);\n }\n }\n }\n function makeAs(alias) {\n return function () {\n return this.as(alias);\n };\n }\n var asMilliseconds = makeAs('ms'),\n asSeconds = makeAs('s'),\n asMinutes = makeAs('m'),\n asHours = makeAs('h'),\n asDays = makeAs('d'),\n asWeeks = makeAs('w'),\n asMonths = makeAs('M'),\n asQuarters = makeAs('Q'),\n asYears = makeAs('y'),\n valueOf$1 = asMilliseconds;\n function clone$1() {\n return createDuration(this);\n }\n function get$2(units) {\n units = normalizeUnits(units);\n return this.isValid() ? this[units + 's']() : NaN;\n }\n function makeGetter(name) {\n return function () {\n return this.isValid() ? this._data[name] : NaN;\n };\n }\n var milliseconds = makeGetter('milliseconds'),\n seconds = makeGetter('seconds'),\n minutes = makeGetter('minutes'),\n hours = makeGetter('hours'),\n days = makeGetter('days'),\n months = makeGetter('months'),\n years = makeGetter('years');\n function weeks() {\n return absFloor(this.days() / 7);\n }\n var round = Math.round,\n thresholds = {\n ss: 44,\n // a few seconds to seconds\n s: 45,\n // seconds to minute\n m: 45,\n // minutes to hour\n h: 22,\n // hours to day\n d: 26,\n // days to month/week\n w: null,\n // weeks to month\n M: 11 // months to year\n };\n\n // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n }\n function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n var duration = createDuration(posNegDuration).abs(),\n seconds = round(duration.as('s')),\n minutes = round(duration.as('m')),\n hours = round(duration.as('h')),\n days = round(duration.as('d')),\n months = round(duration.as('M')),\n weeks = round(duration.as('w')),\n years = round(duration.as('y')),\n a = seconds <= thresholds.ss && ['s', seconds] || seconds < thresholds.s && ['ss', seconds] || minutes <= 1 && ['m'] || minutes < thresholds.m && ['mm', minutes] || hours <= 1 && ['h'] || hours < thresholds.h && ['hh', hours] || days <= 1 && ['d'] || days < thresholds.d && ['dd', days];\n if (thresholds.w != null) {\n a = a || weeks <= 1 && ['w'] || weeks < thresholds.w && ['ww', weeks];\n }\n a = a || months <= 1 && ['M'] || months < thresholds.M && ['MM', months] || years <= 1 && ['y'] || ['yy', years];\n a[2] = withoutSuffix;\n a[3] = +posNegDuration > 0;\n a[4] = locale;\n return substituteTimeAgo.apply(null, a);\n }\n\n // This function allows you to set the rounding function for relative time strings\n function getSetRelativeTimeRounding(roundingFunction) {\n if (roundingFunction === undefined) {\n return round;\n }\n if (typeof roundingFunction === 'function') {\n round = roundingFunction;\n return true;\n }\n return false;\n }\n\n // This function allows you to set a threshold for relative time strings\n function getSetRelativeTimeThreshold(threshold, limit) {\n if (thresholds[threshold] === undefined) {\n return false;\n }\n if (limit === undefined) {\n return thresholds[threshold];\n }\n thresholds[threshold] = limit;\n if (threshold === 's') {\n thresholds.ss = limit - 1;\n }\n return true;\n }\n function humanize(argWithSuffix, argThresholds) {\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n var withSuffix = false,\n th = thresholds,\n locale,\n output;\n if (typeof argWithSuffix === 'object') {\n argThresholds = argWithSuffix;\n argWithSuffix = false;\n }\n if (typeof argWithSuffix === 'boolean') {\n withSuffix = argWithSuffix;\n }\n if (typeof argThresholds === 'object') {\n th = Object.assign({}, thresholds, argThresholds);\n if (argThresholds.s != null && argThresholds.ss == null) {\n th.ss = argThresholds.s - 1;\n }\n }\n locale = this.localeData();\n output = relativeTime$1(this, !withSuffix, th, locale);\n if (withSuffix) {\n output = locale.pastFuture(+this, output);\n }\n return locale.postformat(output);\n }\n var abs$1 = Math.abs;\n function sign(x) {\n return (x > 0) - (x < 0) || +x;\n }\n function toISOString$1() {\n // for ISO strings we do not use the normal bubbling rules:\n // * milliseconds bubble up until they become hours\n // * days do not bubble at all\n // * months bubble up until they become years\n // This is because there is no context-free conversion between hours and days\n // (think of clock changes)\n // and also not between days and months (28-31 days per month)\n if (!this.isValid()) {\n return this.localeData().invalidDate();\n }\n var seconds = abs$1(this._milliseconds) / 1000,\n days = abs$1(this._days),\n months = abs$1(this._months),\n minutes,\n hours,\n years,\n s,\n total = this.asSeconds(),\n totalSign,\n ymSign,\n daysSign,\n hmsSign;\n if (!total) {\n // this is the same as C#'s (Noda) and python (isodate)...\n // but not other JS (goog.date)\n return 'P0D';\n }\n\n // 3600 seconds -> 60 minutes -> 1 hour\n minutes = absFloor(seconds / 60);\n hours = absFloor(minutes / 60);\n seconds %= 60;\n minutes %= 60;\n\n // 12 months -> 1 year\n years = absFloor(months / 12);\n months %= 12;\n\n // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n totalSign = total < 0 ? '-' : '';\n ymSign = sign(this._months) !== sign(total) ? '-' : '';\n daysSign = sign(this._days) !== sign(total) ? '-' : '';\n hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n return totalSign + 'P' + (years ? ymSign + years + 'Y' : '') + (months ? ymSign + months + 'M' : '') + (days ? daysSign + days + 'D' : '') + (hours || minutes || seconds ? 'T' : '') + (hours ? hmsSign + hours + 'H' : '') + (minutes ? hmsSign + minutes + 'M' : '') + (seconds ? hmsSign + s + 'S' : '');\n }\n var proto$2 = Duration.prototype;\n proto$2.isValid = isValid$1;\n proto$2.abs = abs;\n proto$2.add = add$1;\n proto$2.subtract = subtract$1;\n proto$2.as = as;\n proto$2.asMilliseconds = asMilliseconds;\n proto$2.asSeconds = asSeconds;\n proto$2.asMinutes = asMinutes;\n proto$2.asHours = asHours;\n proto$2.asDays = asDays;\n proto$2.asWeeks = asWeeks;\n proto$2.asMonths = asMonths;\n proto$2.asQuarters = asQuarters;\n proto$2.asYears = asYears;\n proto$2.valueOf = valueOf$1;\n proto$2._bubble = bubble;\n proto$2.clone = clone$1;\n proto$2.get = get$2;\n proto$2.milliseconds = milliseconds;\n proto$2.seconds = seconds;\n proto$2.minutes = minutes;\n proto$2.hours = hours;\n proto$2.days = days;\n proto$2.weeks = weeks;\n proto$2.months = months;\n proto$2.years = years;\n proto$2.humanize = humanize;\n proto$2.toISOString = toISOString$1;\n proto$2.toString = toISOString$1;\n proto$2.toJSON = toISOString$1;\n proto$2.locale = locale;\n proto$2.localeData = localeData;\n proto$2.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', toISOString$1);\n proto$2.lang = lang;\n\n // FORMATTING\n\n addFormatToken('X', 0, 0, 'unix');\n addFormatToken('x', 0, 0, 'valueOf');\n\n // PARSING\n\n addRegexToken('x', matchSigned);\n addRegexToken('X', matchTimestamp);\n addParseToken('X', function (input, array, config) {\n config._d = new Date(parseFloat(input) * 1000);\n });\n addParseToken('x', function (input, array, config) {\n config._d = new Date(toInt(input));\n });\n\n //! moment.js\n\n hooks.version = '2.30.1';\n setHookCallback(createLocal);\n hooks.fn = proto;\n hooks.min = min;\n hooks.max = max;\n hooks.now = now;\n hooks.utc = createUTC;\n hooks.unix = createUnix;\n hooks.months = listMonths;\n hooks.isDate = isDate;\n hooks.locale = getSetGlobalLocale;\n hooks.invalid = createInvalid;\n hooks.duration = createDuration;\n hooks.isMoment = isMoment;\n hooks.weekdays = listWeekdays;\n hooks.parseZone = createInZone;\n hooks.localeData = getLocale;\n hooks.isDuration = isDuration;\n hooks.monthsShort = listMonthsShort;\n hooks.weekdaysMin = listWeekdaysMin;\n hooks.defineLocale = defineLocale;\n hooks.updateLocale = updateLocale;\n hooks.locales = listLocales;\n hooks.weekdaysShort = listWeekdaysShort;\n hooks.normalizeUnits = normalizeUnits;\n hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n hooks.calendarFormat = getCalendarFormat;\n hooks.prototype = proto;\n\n // currently HTML5 input type only supports 24-hour formats\n hooks.HTML5_FMT = {\n DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm',\n // \n DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss',\n // \n DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS',\n // \n DATE: 'YYYY-MM-DD',\n // \n TIME: 'HH:mm',\n // \n TIME_SECONDS: 'HH:mm:ss',\n // \n TIME_MS: 'HH:mm:ss.SSS',\n // \n WEEK: 'GGGG-[W]WW',\n // \n MONTH: 'YYYY-MM' // \n };\n return hooks;\n});","'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n return isNonNullObject(value) && !isSpecial(value);\n};\nfunction isNonNullObject(value) {\n return !!value && typeof value === 'object';\n}\nfunction isSpecial(value) {\n var stringValue = Object.prototype.toString.call(value);\n return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value);\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\nfunction isReactElement(value) {\n return value.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction emptyTarget(val) {\n return Array.isArray(val) ? [] : {};\n}\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;\n}\nfunction defaultArrayMerge(target, source, options) {\n return target.concat(source).map(function (element) {\n return cloneUnlessOtherwiseSpecified(element, options);\n });\n}\nfunction getMergeFunction(key, options) {\n if (!options.customMerge) {\n return deepmerge;\n }\n var customMerge = options.customMerge(key);\n return typeof customMerge === 'function' ? customMerge : deepmerge;\n}\nfunction getEnumerableOwnPropertySymbols(target) {\n return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function (symbol) {\n return Object.propertyIsEnumerable.call(target, symbol);\n }) : [];\n}\nfunction getKeys(target) {\n return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));\n}\nfunction propertyIsOnObject(object, property) {\n try {\n return property in object;\n } catch (_) {\n return false;\n }\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n && Object.propertyIsEnumerable.call(target, key)); // and also unsafe if they're nonenumerable.\n}\nfunction mergeObject(target, source, options) {\n var destination = {};\n if (options.isMergeableObject(target)) {\n getKeys(target).forEach(function (key) {\n destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n });\n }\n getKeys(source).forEach(function (key) {\n if (propertyIsUnsafe(target, key)) {\n return;\n }\n if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n destination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n } else {\n destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n }\n });\n return destination;\n}\nfunction deepmerge(target, source, options) {\n options = options || {};\n options.arrayMerge = options.arrayMerge || defaultArrayMerge;\n options.isMergeableObject = options.isMergeableObject || isMergeableObject;\n // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n // implementations can use it. The caller may not replace it.\n options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n var sourceIsArray = Array.isArray(source);\n var targetIsArray = Array.isArray(target);\n var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n if (!sourceAndTargetTypesMatch) {\n return cloneUnlessOtherwiseSpecified(source, options);\n } else if (sourceIsArray) {\n return options.arrayMerge(target, source, options);\n } else {\n return mergeObject(target, source, options);\n }\n}\ndeepmerge.all = function deepmergeAll(array, options) {\n if (!Array.isArray(array)) {\n throw new Error('first argument should be an array');\n }\n return array.reduce(function (prev, next) {\n return deepmerge(prev, next, options);\n }, {});\n};\nvar deepmerge_1 = deepmerge;\nmodule.exports = deepmerge_1;","/**\n * @license Angular v19.1.7\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\n/**\n * The default equality function used for `signal` and `computed`, which uses referential equality.\n */\nfunction defaultEquals(a, b) {\n return Object.is(a, b);\n}\n\n/**\n * The currently active consumer `ReactiveNode`, if running code in a reactive context.\n *\n * Change this via `setActiveConsumer`.\n */\nlet activeConsumer = null;\nlet inNotificationPhase = false;\n/**\n * Global epoch counter. Incremented whenever a source signal is set.\n */\nlet epoch = 1;\n/**\n * Symbol used to tell `Signal`s apart from other functions.\n *\n * This can be used to auto-unwrap signals in various cases, or to auto-wrap non-signal values.\n */\nconst SIGNAL = /* @__PURE__ */Symbol('SIGNAL');\nfunction setActiveConsumer(consumer) {\n const prev = activeConsumer;\n activeConsumer = consumer;\n return prev;\n}\nfunction getActiveConsumer() {\n return activeConsumer;\n}\nfunction isInNotificationPhase() {\n return inNotificationPhase;\n}\nfunction isReactive(value) {\n return value[SIGNAL] !== undefined;\n}\nconst REACTIVE_NODE = {\n version: 0,\n lastCleanEpoch: 0,\n dirty: false,\n producerNode: undefined,\n producerLastReadVersion: undefined,\n producerIndexOfThis: undefined,\n nextProducerIndex: 0,\n liveConsumerNode: undefined,\n liveConsumerIndexOfThis: undefined,\n consumerAllowSignalWrites: false,\n consumerIsAlwaysLive: false,\n kind: 'unknown',\n producerMustRecompute: () => false,\n producerRecomputeValue: () => {},\n consumerMarkedDirty: () => {},\n consumerOnSignalRead: () => {}\n};\n/**\n * Called by implementations when a producer's signal is read.\n */\nfunction producerAccessed(node) {\n if (inNotificationPhase) {\n throw new Error(typeof ngDevMode !== 'undefined' && ngDevMode ? `Assertion error: signal read during notification phase` : '');\n }\n if (activeConsumer === null) {\n // Accessed outside of a reactive context, so nothing to record.\n return;\n }\n activeConsumer.consumerOnSignalRead(node);\n // This producer is the `idx`th dependency of `activeConsumer`.\n const idx = activeConsumer.nextProducerIndex++;\n assertConsumerNode(activeConsumer);\n if (idx < activeConsumer.producerNode.length && activeConsumer.producerNode[idx] !== node) {\n // There's been a change in producers since the last execution of `activeConsumer`.\n // `activeConsumer.producerNode[idx]` holds a stale dependency which will be be removed and\n // replaced with `this`.\n //\n // If `activeConsumer` isn't live, then this is a no-op, since we can replace the producer in\n // `activeConsumer.producerNode` directly. However, if `activeConsumer` is live, then we need\n // to remove it from the stale producer's `liveConsumer`s.\n if (consumerIsLive(activeConsumer)) {\n const staleProducer = activeConsumer.producerNode[idx];\n producerRemoveLiveConsumerAtIndex(staleProducer, activeConsumer.producerIndexOfThis[idx]);\n // At this point, the only record of `staleProducer` is the reference at\n // `activeConsumer.producerNode[idx]` which will be overwritten below.\n }\n }\n if (activeConsumer.producerNode[idx] !== node) {\n // We're a new dependency of the consumer (at `idx`).\n activeConsumer.producerNode[idx] = node;\n // If the active consumer is live, then add it as a live consumer. If not, then use 0 as a\n // placeholder value.\n activeConsumer.producerIndexOfThis[idx] = consumerIsLive(activeConsumer) ? producerAddLiveConsumer(node, activeConsumer, idx) : 0;\n }\n activeConsumer.producerLastReadVersion[idx] = node.version;\n}\n/**\n * Increment the global epoch counter.\n *\n * Called by source producers (that is, not computeds) whenever their values change.\n */\nfunction producerIncrementEpoch() {\n epoch++;\n}\n/**\n * Ensure this producer's `version` is up-to-date.\n */\nfunction producerUpdateValueVersion(node) {\n if (consumerIsLive(node) && !node.dirty) {\n // A live consumer will be marked dirty by producers, so a clean state means that its version\n // is guaranteed to be up-to-date.\n return;\n }\n if (!node.dirty && node.lastCleanEpoch === epoch) {\n // Even non-live consumers can skip polling if they previously found themselves to be clean at\n // the current epoch, since their dependencies could not possibly have changed (such a change\n // would've increased the epoch).\n return;\n }\n if (!node.producerMustRecompute(node) && !consumerPollProducersForChange(node)) {\n // None of our producers report a change since the last time they were read, so no\n // recomputation of our value is necessary, and we can consider ourselves clean.\n producerMarkClean(node);\n return;\n }\n node.producerRecomputeValue(node);\n // After recomputing the value, we're no longer dirty.\n producerMarkClean(node);\n}\n/**\n * Propagate a dirty notification to live consumers of this producer.\n */\nfunction producerNotifyConsumers(node) {\n if (node.liveConsumerNode === undefined) {\n return;\n }\n // Prevent signal reads when we're updating the graph\n const prev = inNotificationPhase;\n inNotificationPhase = true;\n try {\n for (const consumer of node.liveConsumerNode) {\n if (!consumer.dirty) {\n consumerMarkDirty(consumer);\n }\n }\n } finally {\n inNotificationPhase = prev;\n }\n}\n/**\n * Whether this `ReactiveNode` in its producer capacity is currently allowed to initiate updates,\n * based on the current consumer context.\n */\nfunction producerUpdatesAllowed() {\n return activeConsumer?.consumerAllowSignalWrites !== false;\n}\nfunction consumerMarkDirty(node) {\n node.dirty = true;\n producerNotifyConsumers(node);\n node.consumerMarkedDirty?.(node);\n}\nfunction producerMarkClean(node) {\n node.dirty = false;\n node.lastCleanEpoch = epoch;\n}\n/**\n * Prepare this consumer to run a computation in its reactive context.\n *\n * Must be called by subclasses which represent reactive computations, before those computations\n * begin.\n */\nfunction consumerBeforeComputation(node) {\n node && (node.nextProducerIndex = 0);\n return setActiveConsumer(node);\n}\n/**\n * Finalize this consumer's state after a reactive computation has run.\n *\n * Must be called by subclasses which represent reactive computations, after those computations\n * have finished.\n */\nfunction consumerAfterComputation(node, prevConsumer) {\n setActiveConsumer(prevConsumer);\n if (!node || node.producerNode === undefined || node.producerIndexOfThis === undefined || node.producerLastReadVersion === undefined) {\n return;\n }\n if (consumerIsLive(node)) {\n // For live consumers, we need to remove the producer -> consumer edge for any stale producers\n // which weren't dependencies after the recomputation.\n for (let i = node.nextProducerIndex; i < node.producerNode.length; i++) {\n producerRemoveLiveConsumerAtIndex(node.producerNode[i], node.producerIndexOfThis[i]);\n }\n }\n // Truncate the producer tracking arrays.\n // Perf note: this is essentially truncating the length to `node.nextProducerIndex`, but\n // benchmarking has shown that individual pop operations are faster.\n while (node.producerNode.length > node.nextProducerIndex) {\n node.producerNode.pop();\n node.producerLastReadVersion.pop();\n node.producerIndexOfThis.pop();\n }\n}\n/**\n * Determine whether this consumer has any dependencies which have changed since the last time\n * they were read.\n */\nfunction consumerPollProducersForChange(node) {\n assertConsumerNode(node);\n // Poll producers for change.\n for (let i = 0; i < node.producerNode.length; i++) {\n const producer = node.producerNode[i];\n const seenVersion = node.producerLastReadVersion[i];\n // First check the versions. A mismatch means that the producer's value is known to have\n // changed since the last time we read it.\n if (seenVersion !== producer.version) {\n return true;\n }\n // The producer's version is the same as the last time we read it, but it might itself be\n // stale. Force the producer to recompute its version (calculating a new value if necessary).\n producerUpdateValueVersion(producer);\n // Now when we do this check, `producer.version` is guaranteed to be up to date, so if the\n // versions still match then it has not changed since the last time we read it.\n if (seenVersion !== producer.version) {\n return true;\n }\n }\n return false;\n}\n/**\n * Disconnect this consumer from the graph.\n */\nfunction consumerDestroy(node) {\n assertConsumerNode(node);\n if (consumerIsLive(node)) {\n // Drop all connections from the graph to this node.\n for (let i = 0; i < node.producerNode.length; i++) {\n producerRemoveLiveConsumerAtIndex(node.producerNode[i], node.producerIndexOfThis[i]);\n }\n }\n // Truncate all the arrays to drop all connection from this node to the graph.\n node.producerNode.length = node.producerLastReadVersion.length = node.producerIndexOfThis.length = 0;\n if (node.liveConsumerNode) {\n node.liveConsumerNode.length = node.liveConsumerIndexOfThis.length = 0;\n }\n}\n/**\n * Add `consumer` as a live consumer of this node.\n *\n * Note that this operation is potentially transitive. If this node becomes live, then it becomes\n * a live consumer of all of its current producers.\n */\nfunction producerAddLiveConsumer(node, consumer, indexOfThis) {\n assertProducerNode(node);\n if (node.liveConsumerNode.length === 0 && isConsumerNode(node)) {\n // When going from 0 to 1 live consumers, we become a live consumer to our producers.\n for (let i = 0; i < node.producerNode.length; i++) {\n node.producerIndexOfThis[i] = producerAddLiveConsumer(node.producerNode[i], node, i);\n }\n }\n node.liveConsumerIndexOfThis.push(indexOfThis);\n return node.liveConsumerNode.push(consumer) - 1;\n}\n/**\n * Remove the live consumer at `idx`.\n */\nfunction producerRemoveLiveConsumerAtIndex(node, idx) {\n assertProducerNode(node);\n if (typeof ngDevMode !== 'undefined' && ngDevMode && idx >= node.liveConsumerNode.length) {\n throw new Error(`Assertion error: active consumer index ${idx} is out of bounds of ${node.liveConsumerNode.length} consumers)`);\n }\n if (node.liveConsumerNode.length === 1 && isConsumerNode(node)) {\n // When removing the last live consumer, we will no longer be live. We need to remove\n // ourselves from our producers' tracking (which may cause consumer-producers to lose\n // liveness as well).\n for (let i = 0; i < node.producerNode.length; i++) {\n producerRemoveLiveConsumerAtIndex(node.producerNode[i], node.producerIndexOfThis[i]);\n }\n }\n // Move the last value of `liveConsumers` into `idx`. Note that if there's only a single\n // live consumer, this is a no-op.\n const lastIdx = node.liveConsumerNode.length - 1;\n node.liveConsumerNode[idx] = node.liveConsumerNode[lastIdx];\n node.liveConsumerIndexOfThis[idx] = node.liveConsumerIndexOfThis[lastIdx];\n // Truncate the array.\n node.liveConsumerNode.length--;\n node.liveConsumerIndexOfThis.length--;\n // If the index is still valid, then we need to fix the index pointer from the producer to this\n // consumer, and update it from `lastIdx` to `idx` (accounting for the move above).\n if (idx < node.liveConsumerNode.length) {\n const idxProducer = node.liveConsumerIndexOfThis[idx];\n const consumer = node.liveConsumerNode[idx];\n assertConsumerNode(consumer);\n consumer.producerIndexOfThis[idxProducer] = idx;\n }\n}\nfunction consumerIsLive(node) {\n return node.consumerIsAlwaysLive || (node?.liveConsumerNode?.length ?? 0) > 0;\n}\nfunction assertConsumerNode(node) {\n node.producerNode ??= [];\n node.producerIndexOfThis ??= [];\n node.producerLastReadVersion ??= [];\n}\nfunction assertProducerNode(node) {\n node.liveConsumerNode ??= [];\n node.liveConsumerIndexOfThis ??= [];\n}\nfunction isConsumerNode(node) {\n return node.producerNode !== undefined;\n}\n\n/**\n * Create a computed signal which derives a reactive value from an expression.\n */\nfunction createComputed(computation) {\n const node = Object.create(COMPUTED_NODE);\n node.computation = computation;\n const computed = () => {\n // Check if the value needs updating before returning it.\n producerUpdateValueVersion(node);\n // Record that someone looked at this signal.\n producerAccessed(node);\n if (node.value === ERRORED) {\n throw node.error;\n }\n return node.value;\n };\n computed[SIGNAL] = node;\n return computed;\n}\n/**\n * A dedicated symbol used before a computed value has been calculated for the first time.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst UNSET = /* @__PURE__ */Symbol('UNSET');\n/**\n * A dedicated symbol used in place of a computed signal value to indicate that a given computation\n * is in progress. Used to detect cycles in computation chains.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst COMPUTING = /* @__PURE__ */Symbol('COMPUTING');\n/**\n * A dedicated symbol used in place of a computed signal value to indicate that a given computation\n * failed. The thrown error is cached until the computation gets dirty again.\n * Explicitly typed as `any` so we can use it as signal's value.\n */\nconst ERRORED = /* @__PURE__ */Symbol('ERRORED');\n// Note: Using an IIFE here to ensure that the spread assignment is not considered\n// a side-effect, ending up preserving `COMPUTED_NODE` and `REACTIVE_NODE`.\n// TODO: remove when https://github.com/evanw/esbuild/issues/3392 is resolved.\nconst COMPUTED_NODE = /* @__PURE__ */(() => {\n return {\n ...REACTIVE_NODE,\n value: UNSET,\n dirty: true,\n error: null,\n equal: defaultEquals,\n kind: 'computed',\n producerMustRecompute(node) {\n // Force a recomputation if there's no current value, or if the current value is in the\n // process of being calculated (which should throw an error).\n return node.value === UNSET || node.value === COMPUTING;\n },\n producerRecomputeValue(node) {\n if (node.value === COMPUTING) {\n // Our computation somehow led to a cyclic read of itself.\n throw new Error('Detected cycle in computations.');\n }\n const oldValue = node.value;\n node.value = COMPUTING;\n const prevConsumer = consumerBeforeComputation(node);\n let newValue;\n let wasEqual = false;\n try {\n newValue = node.computation();\n // We want to mark this node as errored if calling `equal` throws; however, we don't want\n // to track any reactive reads inside `equal`.\n setActiveConsumer(null);\n wasEqual = oldValue !== UNSET && oldValue !== ERRORED && newValue !== ERRORED && node.equal(oldValue, newValue);\n } catch (err) {\n newValue = ERRORED;\n node.error = err;\n } finally {\n consumerAfterComputation(node, prevConsumer);\n }\n if (wasEqual) {\n // No change to `valueVersion` - old and new values are\n // semantically equivalent.\n node.value = oldValue;\n return;\n }\n node.value = newValue;\n node.version++;\n }\n };\n})();\nfunction defaultThrowError() {\n throw new Error();\n}\nlet throwInvalidWriteToSignalErrorFn = defaultThrowError;\nfunction throwInvalidWriteToSignalError() {\n throwInvalidWriteToSignalErrorFn();\n}\nfunction setThrowInvalidWriteToSignalError(fn) {\n throwInvalidWriteToSignalErrorFn = fn;\n}\n\n/**\n * If set, called after `WritableSignal`s are updated.\n *\n * This hook can be used to achieve various effects, such as running effects synchronously as part\n * of setting a signal.\n */\nlet postSignalSetFn = null;\n/**\n * Create a `Signal` that can be set or updated directly.\n */\nfunction createSignal(initialValue) {\n const node = Object.create(SIGNAL_NODE);\n node.value = initialValue;\n const getter = () => {\n producerAccessed(node);\n return node.value;\n };\n getter[SIGNAL] = node;\n return getter;\n}\nfunction setPostSignalSetFn(fn) {\n const prev = postSignalSetFn;\n postSignalSetFn = fn;\n return prev;\n}\nfunction signalGetFn() {\n producerAccessed(this);\n return this.value;\n}\nfunction signalSetFn(node, newValue) {\n if (!producerUpdatesAllowed()) {\n throwInvalidWriteToSignalError();\n }\n if (!node.equal(node.value, newValue)) {\n node.value = newValue;\n signalValueChanged(node);\n }\n}\nfunction signalUpdateFn(node, updater) {\n if (!producerUpdatesAllowed()) {\n throwInvalidWriteToSignalError();\n }\n signalSetFn(node, updater(node.value));\n}\nfunction runPostSignalSetFn() {\n postSignalSetFn?.();\n}\n// Note: Using an IIFE here to ensure that the spread assignment is not considered\n// a side-effect, ending up preserving `COMPUTED_NODE` and `REACTIVE_NODE`.\n// TODO: remove when https://github.com/evanw/esbuild/issues/3392 is resolved.\nconst SIGNAL_NODE = /* @__PURE__ */(() => {\n return {\n ...REACTIVE_NODE,\n equal: defaultEquals,\n value: undefined,\n kind: 'signal'\n };\n})();\nfunction signalValueChanged(node) {\n node.version++;\n producerIncrementEpoch();\n producerNotifyConsumers(node);\n postSignalSetFn?.();\n}\nfunction createLinkedSignal(sourceFn, computationFn, equalityFn) {\n const node = Object.create(LINKED_SIGNAL_NODE);\n node.source = sourceFn;\n node.computation = computationFn;\n if (equalityFn != undefined) {\n node.equal = equalityFn;\n }\n const linkedSignalGetter = () => {\n // Check if the value needs updating before returning it.\n producerUpdateValueVersion(node);\n // Record that someone looked at this signal.\n producerAccessed(node);\n if (node.value === ERRORED) {\n throw node.error;\n }\n return node.value;\n };\n const getter = linkedSignalGetter;\n getter[SIGNAL] = node;\n return getter;\n}\nfunction linkedSignalSetFn(node, newValue) {\n producerUpdateValueVersion(node);\n signalSetFn(node, newValue);\n producerMarkClean(node);\n}\nfunction linkedSignalUpdateFn(node, updater) {\n producerUpdateValueVersion(node);\n signalUpdateFn(node, updater);\n producerMarkClean(node);\n}\n// Note: Using an IIFE here to ensure that the spread assignment is not considered\n// a side-effect, ending up preserving `LINKED_SIGNAL_NODE` and `REACTIVE_NODE`.\n// TODO: remove when https://github.com/evanw/esbuild/issues/3392 is resolved.\nconst LINKED_SIGNAL_NODE = /* @__PURE__ */(() => {\n return {\n ...REACTIVE_NODE,\n value: UNSET,\n dirty: true,\n error: null,\n equal: defaultEquals,\n producerMustRecompute(node) {\n // Force a recomputation if there's no current value, or if the current value is in the\n // process of being calculated (which should throw an error).\n return node.value === UNSET || node.value === COMPUTING;\n },\n producerRecomputeValue(node) {\n if (node.value === COMPUTING) {\n // Our computation somehow led to a cyclic read of itself.\n throw new Error('Detected cycle in computations.');\n }\n const oldValue = node.value;\n node.value = COMPUTING;\n const prevConsumer = consumerBeforeComputation(node);\n let newValue;\n try {\n const newSourceValue = node.source();\n const prev = oldValue === UNSET || oldValue === ERRORED ? undefined : {\n source: node.sourceValue,\n value: oldValue\n };\n newValue = node.computation(newSourceValue, prev);\n node.sourceValue = newSourceValue;\n } catch (err) {\n newValue = ERRORED;\n node.error = err;\n } finally {\n consumerAfterComputation(node, prevConsumer);\n }\n if (oldValue !== UNSET && newValue !== ERRORED && node.equal(oldValue, newValue)) {\n // No change to `valueVersion` - old and new values are\n // semantically equivalent.\n node.value = oldValue;\n return;\n }\n node.value = newValue;\n node.version++;\n }\n };\n})();\nfunction createWatch(fn, schedule, allowSignalWrites) {\n const node = Object.create(WATCH_NODE);\n if (allowSignalWrites) {\n node.consumerAllowSignalWrites = true;\n }\n node.fn = fn;\n node.schedule = schedule;\n const registerOnCleanup = cleanupFn => {\n node.cleanupFn = cleanupFn;\n };\n function isWatchNodeDestroyed(node) {\n return node.fn === null && node.schedule === null;\n }\n function destroyWatchNode(node) {\n if (!isWatchNodeDestroyed(node)) {\n consumerDestroy(node); // disconnect watcher from the reactive graph\n node.cleanupFn();\n // nullify references to the integration functions to mark node as destroyed\n node.fn = null;\n node.schedule = null;\n node.cleanupFn = NOOP_CLEANUP_FN;\n }\n }\n const run = () => {\n if (node.fn === null) {\n // trying to run a destroyed watch is noop\n return;\n }\n if (isInNotificationPhase()) {\n throw new Error(`Schedulers cannot synchronously execute watches while scheduling.`);\n }\n node.dirty = false;\n if (node.hasRun && !consumerPollProducersForChange(node)) {\n return;\n }\n node.hasRun = true;\n const prevConsumer = consumerBeforeComputation(node);\n try {\n node.cleanupFn();\n node.cleanupFn = NOOP_CLEANUP_FN;\n node.fn(registerOnCleanup);\n } finally {\n consumerAfterComputation(node, prevConsumer);\n }\n };\n node.ref = {\n notify: () => consumerMarkDirty(node),\n run,\n cleanup: () => node.cleanupFn(),\n destroy: () => destroyWatchNode(node),\n [SIGNAL]: node\n };\n return node.ref;\n}\nconst NOOP_CLEANUP_FN = () => {};\n// Note: Using an IIFE here to ensure that the spread assignment is not considered\n// a side-effect, ending up preserving `COMPUTED_NODE` and `REACTIVE_NODE`.\n// TODO: remove when https://github.com/evanw/esbuild/issues/3392 is resolved.\nconst WATCH_NODE = /* @__PURE__ */(() => {\n return {\n ...REACTIVE_NODE,\n consumerIsAlwaysLive: true,\n consumerAllowSignalWrites: false,\n consumerMarkedDirty: node => {\n if (node.schedule !== null) {\n node.schedule(node.ref);\n }\n },\n hasRun: false,\n cleanupFn: NOOP_CLEANUP_FN\n };\n})();\nfunction setAlternateWeakRefImpl(impl) {\n // TODO: remove this function\n}\nexport { REACTIVE_NODE, SIGNAL, SIGNAL_NODE, consumerAfterComputation, consumerBeforeComputation, consumerDestroy, consumerMarkDirty, consumerPollProducersForChange, createComputed, createLinkedSignal, createSignal, createWatch, defaultEquals, getActiveConsumer, isInNotificationPhase, isReactive, linkedSignalSetFn, linkedSignalUpdateFn, producerAccessed, producerIncrementEpoch, producerMarkClean, producerNotifyConsumers, producerUpdateValueVersion, producerUpdatesAllowed, runPostSignalSetFn, setActiveConsumer, setAlternateWeakRefImpl, setPostSignalSetFn, setThrowInvalidWriteToSignalError, signalSetFn, signalUpdateFn };\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n","export function createErrorClass(createImpl) {\n const _super = instance => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass(_super => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}` : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n","import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const {\n _parentage\n } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n } else {\n _parentage.remove(this);\n }\n }\n const {\n initialTeardown: initialFinalizer\n } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n } catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const {\n _finalizers\n } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n } catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n } else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n } else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const {\n _parentage\n } = this;\n return _parentage === parent || Array.isArray(_parentage) && _parentage.includes(parent);\n }\n _addParent(parent) {\n const {\n _parentage\n } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const {\n _parentage\n } = this;\n if (_parentage === parent) {\n this._parentage = null;\n } else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const {\n _finalizers\n } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return value instanceof Subscription || value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe);\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n } else {\n finalizer.unsubscribe();\n }\n}\n","export const config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false\n};\n","export const timeoutProvider = {\n setTimeout(handler, timeout, ...args) {\n const {\n delegate\n } = timeoutProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const {\n delegate\n } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined\n};\n","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(() => {\n const {\n onUnhandledError\n } = config;\n if (onUnhandledError) {\n onUnhandledError(err);\n } else {\n throw err;\n }\n });\n}\n","export function noop() {}\n","export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error\n };\n}\n","import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = {\n errorThrown: false,\n error: null\n };\n }\n cb();\n if (isRoot) {\n const {\n errorThrown,\n error\n } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n } else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n","import { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nexport class Subscriber extends Subscription {\n constructor(destination) {\n super();\n this.isStopped = false;\n if (destination) {\n this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(this);\n }\n } else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n static create(next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n }\n next(value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n } else {\n this._next(value);\n }\n }\n error(err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n } else {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n } else {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null;\n }\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n try {\n this.destination.error(err);\n } finally {\n this.unsubscribe();\n }\n }\n _complete() {\n try {\n this.destination.complete();\n } finally {\n this.unsubscribe();\n }\n }\n}\nconst _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nclass ConsumerObserver {\n constructor(partialObserver) {\n this.partialObserver = partialObserver;\n }\n next(value) {\n const {\n partialObserver\n } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n } catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n error(err) {\n const {\n partialObserver\n } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n } catch (error) {\n handleUnhandledError(error);\n }\n } else {\n handleUnhandledError(err);\n }\n }\n complete() {\n const {\n partialObserver\n } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n } catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(observerOrNext, error, complete) {\n super();\n let partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined,\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined\n };\n } else {\n let context;\n if (this && config.useDeprecatedNextContext) {\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context)\n };\n } else {\n partialObserver = observerOrNext;\n }\n }\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n } else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n const {\n onStoppedNotification\n } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\nexport const EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop\n};\n","export const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();\n","export function identity(x) {\n return x;\n}\n","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n","import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport let Observable = /*#__PURE__*/(() => {\n class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const {\n operator,\n source\n } = this;\n subscriber.add(operator ? operator.call(subscriber, source) : source ? this._subscribe(subscriber) : this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n } catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: value => {\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve\n });\n this.subscribe(subscriber);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe(x => value = x, err => reject(err), () => resolve(value));\n });\n }\n }\n Observable.create = subscribe => {\n return new Observable(subscribe);\n };\n return Observable;\n})();\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return value && value instanceof Subscriber || isObserver(value) && isSubscription(value);\n}\n","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return source => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n } catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext ? function (value) {\n try {\n onNext(value);\n } catch (err) {\n destination.error(err);\n }\n } : super._next;\n this._error = onError ? function (err) {\n try {\n onError(err);\n } catch (err) {\n destination.error(err);\n } finally {\n this.unsubscribe();\n }\n } : super._error;\n this._complete = onComplete ? function () {\n try {\n onComplete();\n } catch (err) {\n destination.error(err);\n } finally {\n this.unsubscribe();\n }\n } : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const {\n closed\n } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function refCount() {\n return operate((source, subscriber) => {\n let connection = null;\n source._refCount++;\n const refCounter = createOperatorSubscriber(subscriber, undefined, undefined, undefined, () => {\n if (!source || source._refCount <= 0 || 0 < --source._refCount) {\n connection = null;\n return;\n }\n const sharedConnection = source._connection;\n const conn = connection;\n connection = null;\n if (sharedConnection && (!conn || sharedConnection === conn)) {\n sharedConnection.unsubscribe();\n }\n subscriber.unsubscribe();\n });\n source.subscribe(refCounter);\n if (!refCounter.closed) {\n connection = source.connect();\n }\n });\n}\n","import { Observable } from '../Observable';\nimport { Subscription } from '../Subscription';\nimport { refCount as higherOrderRefCount } from '../operators/refCount';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { hasLift } from '../util/lift';\nexport class ConnectableObservable extends Observable {\n constructor(source, subjectFactory) {\n super();\n this.source = source;\n this.subjectFactory = subjectFactory;\n this._subject = null;\n this._refCount = 0;\n this._connection = null;\n if (hasLift(source)) {\n this.lift = source.lift;\n }\n }\n _subscribe(subscriber) {\n return this.getSubject().subscribe(subscriber);\n }\n getSubject() {\n const subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n }\n _teardown() {\n this._refCount = 0;\n const {\n _connection\n } = this;\n this._subject = this._connection = null;\n _connection === null || _connection === void 0 ? void 0 : _connection.unsubscribe();\n }\n connect() {\n let connection = this._connection;\n if (!connection) {\n connection = this._connection = new Subscription();\n const subject = this.getSubject();\n connection.add(this.source.subscribe(createOperatorSubscriber(subject, undefined, () => {\n this._teardown();\n subject.complete();\n }, err => {\n this._teardown();\n subject.error(err);\n }, () => this._teardown())));\n if (connection.closed) {\n this._connection = null;\n connection = Subscription.EMPTY;\n }\n }\n return connection;\n }\n refCount() {\n return higherOrderRefCount()(this);\n }\n}\n","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass(_super => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport let Subject = /*#__PURE__*/(() => {\n class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const {\n observers\n } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const {\n observers\n } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const {\n hasError,\n isStopped,\n observers\n } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const {\n hasError,\n thrownError,\n isStopped\n } = this;\n if (hasError) {\n subscriber.error(thrownError);\n } else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n }\n Subject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n };\n return Subject;\n})();\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n","import { Subject } from './Subject';\nexport class BehaviorSubject extends Subject {\n constructor(_value) {\n super();\n this._value = _value;\n }\n get value() {\n return this.getValue();\n }\n _subscribe(subscriber) {\n const subscription = super._subscribe(subscriber);\n !subscription.closed && subscriber.next(this._value);\n return subscription;\n }\n getValue() {\n const {\n hasError,\n thrownError,\n _value\n } = this;\n if (hasError) {\n throw thrownError;\n }\n this._throwIfClosed();\n return _value;\n }\n next(value) {\n super.next(this._value = value);\n }\n}\n","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined\n};\n","import { Subject } from './Subject';\nimport { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class ReplaySubject extends Subject {\n constructor(_bufferSize = Infinity, _windowTime = Infinity, _timestampProvider = dateTimestampProvider) {\n super();\n this._bufferSize = _bufferSize;\n this._windowTime = _windowTime;\n this._timestampProvider = _timestampProvider;\n this._buffer = [];\n this._infiniteTimeWindow = true;\n this._infiniteTimeWindow = _windowTime === Infinity;\n this._bufferSize = Math.max(1, _bufferSize);\n this._windowTime = Math.max(1, _windowTime);\n }\n next(value) {\n const {\n isStopped,\n _buffer,\n _infiniteTimeWindow,\n _timestampProvider,\n _windowTime\n } = this;\n if (!isStopped) {\n _buffer.push(value);\n !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);\n }\n this._trimBuffer();\n super.next(value);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._trimBuffer();\n const subscription = this._innerSubscribe(subscriber);\n const {\n _infiniteTimeWindow,\n _buffer\n } = this;\n const copy = _buffer.slice();\n for (let i = 0; i < copy.length && !subscriber.closed; i += _infiniteTimeWindow ? 1 : 2) {\n subscriber.next(copy[i]);\n }\n this._checkFinalizedStatuses(subscriber);\n return subscription;\n }\n _trimBuffer() {\n const {\n _bufferSize,\n _timestampProvider,\n _buffer,\n _infiniteTimeWindow\n } = this;\n const adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;\n _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);\n if (!_infiniteTimeWindow) {\n const now = _timestampProvider.now();\n let last = 0;\n for (let i = 1; i < _buffer.length && _buffer[i] <= now; i += 2) {\n last = i;\n }\n last && _buffer.splice(0, last + 1);\n }\n }\n}\n","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const {\n delegate\n } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const {\n delegate\n } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined\n};\n","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n } else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n } catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const {\n id,\n scheduler\n } = this;\n const {\n actions\n } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n","let nextHandle = 1;\nlet resolved;\nconst activeHandles = {};\nfunction findAndClearHandle(handle) {\n if (handle in activeHandles) {\n delete activeHandles[handle];\n return true;\n }\n return false;\n}\nexport const Immediate = {\n setImmediate(cb) {\n const handle = nextHandle++;\n activeHandles[handle] = true;\n if (!resolved) {\n resolved = Promise.resolve();\n }\n resolved.then(() => findAndClearHandle(handle) && cb());\n return handle;\n },\n clearImmediate(handle) {\n findAndClearHandle(handle);\n }\n};\nexport const TestTools = {\n pending() {\n return Object.keys(activeHandles).length;\n }\n};\n","import { Immediate } from '../util/Immediate';\nconst {\n setImmediate,\n clearImmediate\n} = Immediate;\nexport const immediateProvider = {\n setImmediate(...args) {\n const {\n delegate\n } = immediateProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.setImmediate) || setImmediate)(...args);\n },\n clearImmediate(handle) {\n const {\n delegate\n } = immediateProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearImmediate) || clearImmediate)(handle);\n },\n delegate: undefined\n};\n","import { AsyncAction } from './AsyncAction';\nimport { immediateProvider } from './immediateProvider';\nexport class AsapAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if (delay !== null && delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.actions.push(this);\n return scheduler._scheduled || (scheduler._scheduled = immediateProvider.setImmediate(scheduler.flush.bind(scheduler, undefined)));\n }\n recycleAsyncId(scheduler, id, delay = 0) {\n var _a;\n if (delay != null ? delay > 0 : this.delay > 0) {\n return super.recycleAsyncId(scheduler, id, delay);\n }\n const {\n actions\n } = scheduler;\n if (id != null && ((_a = actions[actions.length - 1]) === null || _a === void 0 ? void 0 : _a.id) !== id) {\n immediateProvider.clearImmediate(id);\n if (scheduler._scheduled === id) {\n scheduler._scheduled = undefined;\n }\n }\n return undefined;\n }\n}\n","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const {\n actions\n } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift());\n this._active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class AsapScheduler extends AsyncScheduler {\n flush(action) {\n this._active = true;\n const flushId = this._scheduled;\n this._scheduled = undefined;\n const {\n actions\n } = this;\n let error;\n action = action || actions.shift();\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while ((action = actions[0]) && action.id === flushId && actions.shift());\n this._active = false;\n if (error) {\n while ((action = actions[0]) && action.id === flushId && actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n","import { AsapAction } from './AsapAction';\nimport { AsapScheduler } from './AsapScheduler';\nexport const asapScheduler = new AsapScheduler(AsapAction);\nexport const asap = asapScheduler;\n","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n","import { AsyncAction } from './AsyncAction';\nexport class QueueAction extends AsyncAction {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n }\n schedule(state, delay = 0) {\n if (delay > 0) {\n return super.schedule(state, delay);\n }\n this.delay = delay;\n this.state = state;\n this.scheduler.flush(this);\n return this;\n }\n execute(state, delay) {\n return delay > 0 || this.closed ? super.execute(state, delay) : this._execute(state, delay);\n }\n requestAsyncId(scheduler, id, delay = 0) {\n if (delay != null && delay > 0 || delay == null && this.delay > 0) {\n return super.requestAsyncId(scheduler, id, delay);\n }\n scheduler.flush(this);\n return 0;\n }\n}\n","import { AsyncScheduler } from './AsyncScheduler';\nexport class QueueScheduler extends AsyncScheduler {}\n","import { QueueAction } from './QueueAction';\nimport { QueueScheduler } from './QueueScheduler';\nexport const queueScheduler = new QueueScheduler(QueueAction);\nexport const queue = queueScheduler;\n","import { Observable } from '../Observable';\nexport const EMPTY = new Observable(subscriber => subscriber.complete());\nexport function empty(scheduler) {\n return scheduler ? emptyScheduled(scheduler) : EMPTY;\n}\nfunction emptyScheduled(scheduler) {\n return new Observable(subscriber => scheduler.schedule(() => subscriber.complete()));\n}\n","import { isFunction } from './isFunction';\nexport function isScheduler(value) {\n return value && isFunction(value.schedule);\n}\n","import { isFunction } from './isFunction';\nimport { isScheduler } from './isScheduler';\nfunction last(arr) {\n return arr[arr.length - 1];\n}\nexport function popResultSelector(args) {\n return isFunction(last(args)) ? args.pop() : undefined;\n}\nexport function popScheduler(args) {\n return isScheduler(last(args)) ? args.pop() : undefined;\n}\nexport function popNumber(args, defaultValue) {\n return typeof last(args) === 'number' ? args.pop() : defaultValue;\n}\n","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nexport var __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) {\n if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\");\n return f;\n }\n var kind = contextIn.kind,\n key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _,\n done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) {\n if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\");\n extraInitializers.push(accept(f || null));\n };\n var result = (0, decorators[i])(kind === \"accessor\" ? {\n get: descriptor.get,\n set: descriptor.set\n } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n } else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n}\n;\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n}\n;\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n}\n;\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", {\n configurable: true,\n value: prefix ? \"\".concat(prefix, \" \", name) : name\n });\n}\n;\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport var __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function awaitReturn(f) {\n return function (v) {\n return Promise.resolve(v).then(f, reject);\n };\n }\n function verb(n, f) {\n if (g[n]) {\n i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n if (f) i[n] = f(i[n]);\n }\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: false\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nvar __setModuleDefault = Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n};\nvar ownKeys = function (o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;\n}\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || typeof receiver !== \"object\" && typeof receiver !== \"function\") throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function () {\n try {\n inner.call(this);\n } catch (e) {\n return Promise.reject(e);\n }\n };\n env.stack.push({\n value: value,\n dispose: dispose,\n async: async\n });\n } else if (async) {\n env.stack.push({\n async: true\n });\n }\n return value;\n}\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r,\n s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function (e) {\n fail(e);\n return next();\n });\n } else s |= 1;\n } catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : d + ext + \".\" + cm.toLowerCase() + \"js\";\n });\n }\n return path;\n}\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension\n};","export const isArrayLike = x => x && typeof x.length === 'number' && typeof x !== 'function';\n","import { isFunction } from \"./isFunction\";\nexport function isPromise(value) {\n return isFunction(value === null || value === void 0 ? void 0 : value.then);\n}\n","import { observable as Symbol_observable } from '../symbol/observable';\nimport { isFunction } from './isFunction';\nexport function isInteropObservable(input) {\n return isFunction(input[Symbol_observable]);\n}\n","import { isFunction } from './isFunction';\nexport function isAsyncIterable(obj) {\n return Symbol.asyncIterator && isFunction(obj === null || obj === void 0 ? void 0 : obj[Symbol.asyncIterator]);\n}\n","export function createInvalidObservableTypeError(input) {\n return new TypeError(`You provided ${input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);\n}\n","export function getSymbolIterator() {\n if (typeof Symbol !== 'function' || !Symbol.iterator) {\n return '@@iterator';\n }\n return Symbol.iterator;\n}\nexport const iterator = getSymbolIterator();\n","import { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from './isFunction';\nexport function isIterable(input) {\n return isFunction(input === null || input === void 0 ? void 0 : input[Symbol_iterator]);\n}\n","import { __asyncGenerator, __await } from \"tslib\";\nimport { isFunction } from './isFunction';\nexport function readableStreamLikeToAsyncGenerator(readableStream) {\n return __asyncGenerator(this, arguments, function* readableStreamLikeToAsyncGenerator_1() {\n const reader = readableStream.getReader();\n try {\n while (true) {\n const {\n value,\n done\n } = yield __await(reader.read());\n if (done) {\n return yield __await(void 0);\n }\n yield yield __await(value);\n }\n } finally {\n reader.releaseLock();\n }\n });\n}\nexport function isReadableStreamLike(obj) {\n return isFunction(obj === null || obj === void 0 ? void 0 : obj.getReader);\n}\n","import { __asyncValues, __awaiter } from \"tslib\";\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isPromise } from '../util/isPromise';\nimport { Observable } from '../Observable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isIterable } from '../util/isIterable';\nimport { isReadableStreamLike, readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nimport { isFunction } from '../util/isFunction';\nimport { reportUnhandledError } from '../util/reportUnhandledError';\nimport { observable as Symbol_observable } from '../symbol/observable';\nexport function innerFrom(input) {\n if (input instanceof Observable) {\n return input;\n }\n if (input != null) {\n if (isInteropObservable(input)) {\n return fromInteropObservable(input);\n }\n if (isArrayLike(input)) {\n return fromArrayLike(input);\n }\n if (isPromise(input)) {\n return fromPromise(input);\n }\n if (isAsyncIterable(input)) {\n return fromAsyncIterable(input);\n }\n if (isIterable(input)) {\n return fromIterable(input);\n }\n if (isReadableStreamLike(input)) {\n return fromReadableStreamLike(input);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\nexport function fromInteropObservable(obj) {\n return new Observable(subscriber => {\n const obs = obj[Symbol_observable]();\n if (isFunction(obs.subscribe)) {\n return obs.subscribe(subscriber);\n }\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n });\n}\nexport function fromArrayLike(array) {\n return new Observable(subscriber => {\n for (let i = 0; i < array.length && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n });\n}\nexport function fromPromise(promise) {\n return new Observable(subscriber => {\n promise.then(value => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, err => subscriber.error(err)).then(null, reportUnhandledError);\n });\n}\nexport function fromIterable(iterable) {\n return new Observable(subscriber => {\n for (const value of iterable) {\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n }\n subscriber.complete();\n });\n}\nexport function fromAsyncIterable(asyncIterable) {\n return new Observable(subscriber => {\n process(asyncIterable, subscriber).catch(err => subscriber.error(err));\n });\n}\nexport function fromReadableStreamLike(readableStream) {\n return fromAsyncIterable(readableStreamLikeToAsyncGenerator(readableStream));\n}\nfunction process(asyncIterable, subscriber) {\n var asyncIterable_1, asyncIterable_1_1;\n var e_1, _a;\n return __awaiter(this, void 0, void 0, function* () {\n try {\n for (asyncIterable_1 = __asyncValues(asyncIterable); asyncIterable_1_1 = yield asyncIterable_1.next(), !asyncIterable_1_1.done;) {\n const value = asyncIterable_1_1.value;\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n }\n } catch (e_1_1) {\n e_1 = {\n error: e_1_1\n };\n } finally {\n try {\n if (asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)) yield _a.call(asyncIterable_1);\n } finally {\n if (e_1) throw e_1.error;\n }\n }\n subscriber.complete();\n });\n}\n","export function executeSchedule(parentSubscription, scheduler, work, delay = 0, repeat = false) {\n const scheduleSubscription = scheduler.schedule(function () {\n work();\n if (repeat) {\n parentSubscription.add(this.schedule(null, delay));\n } else {\n this.unsubscribe();\n }\n }, delay);\n parentSubscription.add(scheduleSubscription);\n if (!repeat) {\n return scheduleSubscription;\n }\n}\n","import { executeSchedule } from '../util/executeSchedule';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function observeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, value => executeSchedule(subscriber, scheduler, () => subscriber.next(value), delay), () => executeSchedule(subscriber, scheduler, () => subscriber.complete(), delay), err => executeSchedule(subscriber, scheduler, () => subscriber.error(err), delay)));\n });\n}\n","import { operate } from '../util/lift';\nexport function subscribeOn(scheduler, delay = 0) {\n return operate((source, subscriber) => {\n subscriber.add(scheduler.schedule(() => source.subscribe(subscriber), delay));\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function scheduleObservable(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { observeOn } from '../operators/observeOn';\nimport { subscribeOn } from '../operators/subscribeOn';\nexport function schedulePromise(input, scheduler) {\n return innerFrom(input).pipe(subscribeOn(scheduler), observeOn(scheduler));\n}\n","import { Observable } from '../Observable';\nexport function scheduleArray(input, scheduler) {\n return new Observable(subscriber => {\n let i = 0;\n return scheduler.schedule(function () {\n if (i === input.length) {\n subscriber.complete();\n } else {\n subscriber.next(input[i++]);\n if (!subscriber.closed) {\n this.schedule();\n }\n }\n });\n });\n}\n","import { Observable } from '../Observable';\nimport { iterator as Symbol_iterator } from '../symbol/iterator';\nimport { isFunction } from '../util/isFunction';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleIterable(input, scheduler) {\n return new Observable(subscriber => {\n let iterator;\n executeSchedule(subscriber, scheduler, () => {\n iterator = input[Symbol_iterator]();\n executeSchedule(subscriber, scheduler, () => {\n let value;\n let done;\n try {\n ({\n value,\n done\n } = iterator.next());\n } catch (err) {\n subscriber.error(err);\n return;\n }\n if (done) {\n subscriber.complete();\n } else {\n subscriber.next(value);\n }\n }, 0, true);\n });\n return () => isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();\n });\n}\n","import { Observable } from '../Observable';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function scheduleAsyncIterable(input, scheduler) {\n if (!input) {\n throw new Error('Iterable cannot be null');\n }\n return new Observable(subscriber => {\n executeSchedule(subscriber, scheduler, () => {\n const iterator = input[Symbol.asyncIterator]();\n executeSchedule(subscriber, scheduler, () => {\n iterator.next().then(result => {\n if (result.done) {\n subscriber.complete();\n } else {\n subscriber.next(result.value);\n }\n });\n }, 0, true);\n });\n });\n}\n","import { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { readableStreamLikeToAsyncGenerator } from '../util/isReadableStreamLike';\nexport function scheduleReadableStreamLike(input, scheduler) {\n return scheduleAsyncIterable(readableStreamLikeToAsyncGenerator(input), scheduler);\n}\n","import { scheduleObservable } from './scheduleObservable';\nimport { schedulePromise } from './schedulePromise';\nimport { scheduleArray } from './scheduleArray';\nimport { scheduleIterable } from './scheduleIterable';\nimport { scheduleAsyncIterable } from './scheduleAsyncIterable';\nimport { isInteropObservable } from '../util/isInteropObservable';\nimport { isPromise } from '../util/isPromise';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isIterable } from '../util/isIterable';\nimport { isAsyncIterable } from '../util/isAsyncIterable';\nimport { createInvalidObservableTypeError } from '../util/throwUnobservableError';\nimport { isReadableStreamLike } from '../util/isReadableStreamLike';\nimport { scheduleReadableStreamLike } from './scheduleReadableStreamLike';\nexport function scheduled(input, scheduler) {\n if (input != null) {\n if (isInteropObservable(input)) {\n return scheduleObservable(input, scheduler);\n }\n if (isArrayLike(input)) {\n return scheduleArray(input, scheduler);\n }\n if (isPromise(input)) {\n return schedulePromise(input, scheduler);\n }\n if (isAsyncIterable(input)) {\n return scheduleAsyncIterable(input, scheduler);\n }\n if (isIterable(input)) {\n return scheduleIterable(input, scheduler);\n }\n if (isReadableStreamLike(input)) {\n return scheduleReadableStreamLike(input, scheduler);\n }\n }\n throw createInvalidObservableTypeError(input);\n}\n","import { scheduled } from '../scheduled/scheduled';\nimport { innerFrom } from './innerFrom';\nexport function from(input, scheduler) {\n return scheduler ? scheduled(input, scheduler) : innerFrom(input);\n}\n","import { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function of(...args) {\n const scheduler = popScheduler(args);\n return from(args, scheduler);\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from '../util/isFunction';\nexport function throwError(errorOrErrorFactory, scheduler) {\n const errorFactory = isFunction(errorOrErrorFactory) ? errorOrErrorFactory : () => errorOrErrorFactory;\n const init = subscriber => subscriber.error(errorFactory());\n return new Observable(scheduler ? subscriber => scheduler.schedule(init, 0, subscriber) : init);\n}\n","import { EMPTY } from './observable/empty';\nimport { of } from './observable/of';\nimport { throwError } from './observable/throwError';\nimport { isFunction } from './util/isFunction';\nexport var NotificationKind = /*#__PURE__*/function (NotificationKind) {\n NotificationKind[\"NEXT\"] = \"N\";\n NotificationKind[\"ERROR\"] = \"E\";\n NotificationKind[\"COMPLETE\"] = \"C\";\n return NotificationKind;\n}(NotificationKind || {});\nexport class Notification {\n constructor(kind, value, error) {\n this.kind = kind;\n this.value = value;\n this.error = error;\n this.hasValue = kind === 'N';\n }\n observe(observer) {\n return observeNotification(this, observer);\n }\n do(nextHandler, errorHandler, completeHandler) {\n const {\n kind,\n value,\n error\n } = this;\n return kind === 'N' ? nextHandler === null || nextHandler === void 0 ? void 0 : nextHandler(value) : kind === 'E' ? errorHandler === null || errorHandler === void 0 ? void 0 : errorHandler(error) : completeHandler === null || completeHandler === void 0 ? void 0 : completeHandler();\n }\n accept(nextOrObserver, error, complete) {\n var _a;\n return isFunction((_a = nextOrObserver) === null || _a === void 0 ? void 0 : _a.next) ? this.observe(nextOrObserver) : this.do(nextOrObserver, error, complete);\n }\n toObservable() {\n const {\n kind,\n value,\n error\n } = this;\n const result = kind === 'N' ? of(value) : kind === 'E' ? throwError(() => error) : kind === 'C' ? EMPTY : 0;\n if (!result) {\n throw new TypeError(`Unexpected notification kind ${kind}`);\n }\n return result;\n }\n static createNext(value) {\n return new Notification('N', value);\n }\n static createError(err) {\n return new Notification('E', undefined, err);\n }\n static createComplete() {\n return Notification.completeNotification;\n }\n}\nNotification.completeNotification = new Notification('C');\nexport function observeNotification(notification, observer) {\n var _a, _b, _c;\n const {\n kind,\n value,\n error\n } = notification;\n if (typeof kind !== 'string') {\n throw new TypeError('Invalid notification, missing \"kind\"');\n }\n kind === 'N' ? (_a = observer.next) === null || _a === void 0 ? void 0 : _a.call(observer, value) : kind === 'E' ? (_b = observer.error) === null || _b === void 0 ? void 0 : _b.call(observer, error) : (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.call(observer);\n}\n","import { Observable } from '../Observable';\nimport { isFunction } from './isFunction';\nexport function isObservable(obj) {\n return !!obj && (obj instanceof Observable || isFunction(obj.lift) && isFunction(obj.subscribe));\n}\n","import { createErrorClass } from './createErrorClass';\nexport const EmptyError = createErrorClass(_super => function EmptyErrorImpl() {\n _super(this);\n this.name = 'EmptyError';\n this.message = 'no elements in sequence';\n});\n","export function isValidDate(value) {\n return value instanceof Date && !isNaN(value);\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { isValidDate } from '../util/isDate';\nimport { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { createErrorClass } from '../util/createErrorClass';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport const TimeoutError = createErrorClass(_super => function TimeoutErrorImpl(info = null) {\n _super(this);\n this.message = 'Timeout has occurred';\n this.name = 'TimeoutError';\n this.info = info;\n});\nexport function timeout(config, schedulerArg) {\n const {\n first,\n each,\n with: _with = timeoutErrorFactory,\n scheduler = schedulerArg !== null && schedulerArg !== void 0 ? schedulerArg : asyncScheduler,\n meta = null\n } = isValidDate(config) ? {\n first: config\n } : typeof config === 'number' ? {\n each: config\n } : config;\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n return operate((source, subscriber) => {\n let originalSourceSubscription;\n let timerSubscription;\n let lastValue = null;\n let seen = 0;\n const startTimer = delay => {\n timerSubscription = executeSchedule(subscriber, scheduler, () => {\n try {\n originalSourceSubscription.unsubscribe();\n innerFrom(_with({\n meta,\n lastValue,\n seen\n })).subscribe(subscriber);\n } catch (err) {\n subscriber.error(err);\n }\n }, delay);\n };\n originalSourceSubscription = source.subscribe(createOperatorSubscriber(subscriber, value => {\n timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.unsubscribe();\n seen++;\n subscriber.next(lastValue = value);\n each > 0 && startTimer(each);\n }, undefined, undefined, () => {\n if (!(timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.closed)) {\n timerSubscription === null || timerSubscription === void 0 ? void 0 : timerSubscription.unsubscribe();\n }\n lastValue = null;\n }));\n !seen && startTimer(first != null ? typeof first === 'number' ? first : +first - scheduler.now() : each);\n });\n}\nfunction timeoutErrorFactory(info) {\n throw new TimeoutError(info);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function map(project, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n subscriber.next(project.call(thisArg, value, index++));\n }));\n });\n}\n","import { map } from \"../operators/map\";\nconst {\n isArray\n} = Array;\nfunction callOrApply(fn, args) {\n return isArray(args) ? fn(...args) : fn(args);\n}\nexport function mapOneOrManyArgs(fn) {\n return map(args => callOrApply(fn, args));\n}\n","const {\n isArray\n} = Array;\nconst {\n getPrototypeOf,\n prototype: objectProto,\n keys: getKeys\n} = Object;\nexport function argsArgArrayOrObject(args) {\n if (args.length === 1) {\n const first = args[0];\n if (isArray(first)) {\n return {\n args: first,\n keys: null\n };\n }\n if (isPOJO(first)) {\n const keys = getKeys(first);\n return {\n args: keys.map(key => first[key]),\n keys\n };\n }\n }\n return {\n args: args,\n keys: null\n };\n}\nfunction isPOJO(obj) {\n return obj && typeof obj === 'object' && getPrototypeOf(obj) === objectProto;\n}\n","export function createObject(keys, values) {\n return keys.reduce((result, key, i) => (result[key] = values[i], result), {});\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { from } from './from';\nimport { identity } from '../util/identity';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { popResultSelector, popScheduler } from '../util/args';\nimport { createObject } from '../util/createObject';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { executeSchedule } from '../util/executeSchedule';\nexport function combineLatest(...args) {\n const scheduler = popScheduler(args);\n const resultSelector = popResultSelector(args);\n const {\n args: observables,\n keys\n } = argsArgArrayOrObject(args);\n if (observables.length === 0) {\n return from([], scheduler);\n }\n const result = new Observable(combineLatestInit(observables, scheduler, keys ? values => createObject(keys, values) : identity));\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\nexport function combineLatestInit(observables, scheduler, valueTransform = identity) {\n return subscriber => {\n maybeSchedule(scheduler, () => {\n const {\n length\n } = observables;\n const values = new Array(length);\n let active = length;\n let remainingFirstValues = length;\n for (let i = 0; i < length; i++) {\n maybeSchedule(scheduler, () => {\n const source = from(observables[i], scheduler);\n let hasFirstValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n values[i] = value;\n if (!hasFirstValue) {\n hasFirstValue = true;\n remainingFirstValues--;\n }\n if (!remainingFirstValues) {\n subscriber.next(valueTransform(values.slice()));\n }\n }, () => {\n if (! --active) {\n subscriber.complete();\n }\n }));\n }, subscriber);\n }\n }, subscriber);\n };\n}\nfunction maybeSchedule(scheduler, execute, subscription) {\n if (scheduler) {\n executeSchedule(subscription, scheduler, execute);\n } else {\n execute();\n }\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { executeSchedule } from '../util/executeSchedule';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function mergeInternals(source, subscriber, project, concurrent, onBeforeNext, expand, innerSubScheduler, additionalFinalizer) {\n const buffer = [];\n let active = 0;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => {\n if (isComplete && !buffer.length && !active) {\n subscriber.complete();\n }\n };\n const outerNext = value => active < concurrent ? doInnerSub(value) : buffer.push(value);\n const doInnerSub = value => {\n expand && subscriber.next(value);\n active++;\n let innerComplete = false;\n innerFrom(project(value, index++)).subscribe(createOperatorSubscriber(subscriber, innerValue => {\n onBeforeNext === null || onBeforeNext === void 0 ? void 0 : onBeforeNext(innerValue);\n if (expand) {\n outerNext(innerValue);\n } else {\n subscriber.next(innerValue);\n }\n }, () => {\n innerComplete = true;\n }, undefined, () => {\n if (innerComplete) {\n try {\n active--;\n while (buffer.length && active < concurrent) {\n const bufferedValue = buffer.shift();\n if (innerSubScheduler) {\n executeSchedule(subscriber, innerSubScheduler, () => doInnerSub(bufferedValue));\n } else {\n doInnerSub(bufferedValue);\n }\n }\n checkComplete();\n } catch (err) {\n subscriber.error(err);\n }\n }\n }));\n };\n source.subscribe(createOperatorSubscriber(subscriber, outerNext, () => {\n isComplete = true;\n checkComplete();\n }));\n return () => {\n additionalFinalizer === null || additionalFinalizer === void 0 ? void 0 : additionalFinalizer();\n };\n}\n","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { mergeInternals } from './mergeInternals';\nimport { isFunction } from '../util/isFunction';\nexport function mergeMap(project, resultSelector, concurrent = Infinity) {\n if (isFunction(resultSelector)) {\n return mergeMap((a, i) => map((b, ii) => resultSelector(a, b, i, ii))(innerFrom(project(a, i))), concurrent);\n } else if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n }\n return operate((source, subscriber) => mergeInternals(source, subscriber, project, concurrent));\n}\n","import { mergeMap } from './mergeMap';\nimport { identity } from '../util/identity';\nexport function mergeAll(concurrent = Infinity) {\n return mergeMap(identity, concurrent);\n}\n","import { mergeAll } from './mergeAll';\nexport function concatAll() {\n return mergeAll(1);\n}\n","import { concatAll } from '../operators/concatAll';\nimport { popScheduler } from '../util/args';\nimport { from } from './from';\nexport function concat(...args) {\n return concatAll()(from(args, popScheduler(args)));\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from './innerFrom';\nexport function defer(observableFactory) {\n return new Observable(subscriber => {\n innerFrom(observableFactory()).subscribe(subscriber);\n });\n}\n","import { Observable } from '../Observable';\nimport { argsArgArrayOrObject } from '../util/argsArgArrayOrObject';\nimport { innerFrom } from './innerFrom';\nimport { popResultSelector } from '../util/args';\nimport { createOperatorSubscriber } from '../operators/OperatorSubscriber';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nimport { createObject } from '../util/createObject';\nexport function forkJoin(...args) {\n const resultSelector = popResultSelector(args);\n const {\n args: sources,\n keys\n } = argsArgArrayOrObject(args);\n const result = new Observable(subscriber => {\n const {\n length\n } = sources;\n if (!length) {\n subscriber.complete();\n return;\n }\n const values = new Array(length);\n let remainingCompletions = length;\n let remainingEmissions = length;\n for (let sourceIndex = 0; sourceIndex < length; sourceIndex++) {\n let hasValue = false;\n innerFrom(sources[sourceIndex]).subscribe(createOperatorSubscriber(subscriber, value => {\n if (!hasValue) {\n hasValue = true;\n remainingEmissions--;\n }\n values[sourceIndex] = value;\n }, () => remainingCompletions--, undefined, () => {\n if (!remainingCompletions || !hasValue) {\n if (!remainingEmissions) {\n subscriber.next(keys ? createObject(keys, values) : values);\n }\n subscriber.complete();\n }\n }));\n }\n });\n return resultSelector ? result.pipe(mapOneOrManyArgs(resultSelector)) : result;\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Observable } from '../Observable';\nimport { mergeMap } from '../operators/mergeMap';\nimport { isArrayLike } from '../util/isArrayLike';\nimport { isFunction } from '../util/isFunction';\nimport { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';\nconst nodeEventEmitterMethods = ['addListener', 'removeListener'];\nconst eventTargetMethods = ['addEventListener', 'removeEventListener'];\nconst jqueryMethods = ['on', 'off'];\nexport function fromEvent(target, eventName, options, resultSelector) {\n if (isFunction(options)) {\n resultSelector = options;\n options = undefined;\n }\n if (resultSelector) {\n return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));\n }\n const [add, remove] = isEventTarget(target) ? eventTargetMethods.map(methodName => handler => target[methodName](eventName, handler, options)) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [];\n if (!add) {\n if (isArrayLike(target)) {\n return mergeMap(subTarget => fromEvent(subTarget, eventName, options))(innerFrom(target));\n }\n }\n if (!add) {\n throw new TypeError('Invalid event target');\n }\n return new Observable(subscriber => {\n const handler = (...args) => subscriber.next(1 < args.length ? args : args[0]);\n add(handler);\n return () => remove(handler);\n });\n}\nfunction toCommonHandlerRegistry(target, eventName) {\n return methodName => handler => target[methodName](eventName, handler);\n}\nfunction isNodeStyleEventEmitter(target) {\n return isFunction(target.addListener) && isFunction(target.removeListener);\n}\nfunction isJQueryStyleEventEmitter(target) {\n return isFunction(target.on) && isFunction(target.off);\n}\nfunction isEventTarget(target) {\n return isFunction(target.addEventListener) && isFunction(target.removeEventListener);\n}\n","import { Observable } from '../Observable';\nimport { async as asyncScheduler } from '../scheduler/async';\nimport { isScheduler } from '../util/isScheduler';\nimport { isValidDate } from '../util/isDate';\nexport function timer(dueTime = 0, intervalOrScheduler, scheduler = asyncScheduler) {\n let intervalDuration = -1;\n if (intervalOrScheduler != null) {\n if (isScheduler(intervalOrScheduler)) {\n scheduler = intervalOrScheduler;\n } else {\n intervalDuration = intervalOrScheduler;\n }\n }\n return new Observable(subscriber => {\n let due = isValidDate(dueTime) ? +dueTime - scheduler.now() : dueTime;\n if (due < 0) {\n due = 0;\n }\n let n = 0;\n return scheduler.schedule(function () {\n if (!subscriber.closed) {\n subscriber.next(n++);\n if (0 <= intervalDuration) {\n this.schedule(undefined, intervalDuration);\n } else {\n subscriber.complete();\n }\n }\n }, due);\n });\n}\n","import { mergeAll } from '../operators/mergeAll';\nimport { innerFrom } from './innerFrom';\nimport { EMPTY } from './empty';\nimport { popNumber, popScheduler } from '../util/args';\nimport { from } from './from';\nexport function merge(...args) {\n const scheduler = popScheduler(args);\n const concurrent = popNumber(args, Infinity);\n const sources = args;\n return !sources.length ? EMPTY : sources.length === 1 ? innerFrom(sources[0]) : mergeAll(concurrent)(from(sources, scheduler));\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function filter(predicate, thisArg) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => predicate.call(thisArg, value, index++) && subscriber.next(value)));\n });\n}\n","import { operate } from '../util/lift';\nimport { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function audit(durationSelector) {\n return operate((source, subscriber) => {\n let hasValue = false;\n let lastValue = null;\n let durationSubscriber = null;\n let isComplete = false;\n const endDuration = () => {\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n durationSubscriber = null;\n if (hasValue) {\n hasValue = false;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n isComplete && subscriber.complete();\n };\n const cleanupDuration = () => {\n durationSubscriber = null;\n isComplete && subscriber.complete();\n };\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n hasValue = true;\n lastValue = value;\n if (!durationSubscriber) {\n innerFrom(durationSelector(value)).subscribe(durationSubscriber = createOperatorSubscriber(subscriber, endDuration, cleanupDuration));\n }\n }, () => {\n isComplete = true;\n (!hasValue || !durationSubscriber || durationSubscriber.closed) && subscriber.complete();\n }));\n });\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { audit } from './audit';\nimport { timer } from '../observable/timer';\nexport function auditTime(duration, scheduler = asyncScheduler) {\n return audit(() => timer(duration, scheduler));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { operate } from '../util/lift';\nexport function catchError(selector) {\n return operate((source, subscriber) => {\n let innerSub = null;\n let syncUnsub = false;\n let handledResult;\n innerSub = source.subscribe(createOperatorSubscriber(subscriber, undefined, undefined, err => {\n handledResult = innerFrom(selector(err, catchError(selector)(source)));\n if (innerSub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n } else {\n syncUnsub = true;\n }\n }));\n if (syncUnsub) {\n innerSub.unsubscribe();\n innerSub = null;\n handledResult.subscribe(subscriber);\n }\n });\n}\n","import { createOperatorSubscriber } from './OperatorSubscriber';\nexport function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) {\n return (source, subscriber) => {\n let hasState = hasSeed;\n let state = seed;\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const i = index++;\n state = hasState ? accumulator(state, value, i) : (hasState = true, value);\n emitOnNext && subscriber.next(state);\n }, emitBeforeComplete && (() => {\n hasState && subscriber.next(state);\n subscriber.complete();\n })));\n };\n}\n","import { mergeMap } from './mergeMap';\nimport { isFunction } from '../util/isFunction';\nexport function concatMap(project, resultSelector) {\n return isFunction(resultSelector) ? mergeMap(project, resultSelector, 1) : mergeMap(project, 1);\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function defaultIfEmpty(defaultValue) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n hasValue = true;\n subscriber.next(value);\n }, () => {\n if (!hasValue) {\n subscriber.next(defaultValue);\n }\n subscriber.complete();\n }));\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function take(count) {\n return count <= 0 ? () => EMPTY : operate((source, subscriber) => {\n let seen = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n if (++seen <= count) {\n subscriber.next(value);\n if (count <= seen) {\n subscriber.complete();\n }\n }\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nexport function ignoreElements() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, noop));\n });\n}\n","import { map } from './map';\nexport function mapTo(value) {\n return map(() => value);\n}\n","import { concat } from '../observable/concat';\nimport { take } from './take';\nimport { ignoreElements } from './ignoreElements';\nimport { mapTo } from './mapTo';\nimport { mergeMap } from './mergeMap';\nimport { innerFrom } from '../observable/innerFrom';\nexport function delayWhen(delayDurationSelector, subscriptionDelay) {\n if (subscriptionDelay) {\n return source => concat(subscriptionDelay.pipe(take(1), ignoreElements()), source.pipe(delayWhen(delayDurationSelector)));\n }\n return mergeMap((value, index) => innerFrom(delayDurationSelector(value, index)).pipe(take(1), mapTo(value)));\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { delayWhen } from './delayWhen';\nimport { timer } from '../observable/timer';\nexport function delay(due, scheduler = asyncScheduler) {\n const duration = timer(due, scheduler);\n return delayWhen(() => duration);\n}\n","import { observeNotification } from '../Notification';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function dematerialize() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, notification => observeNotification(notification, subscriber)));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { noop } from '../util/noop';\nimport { innerFrom } from '../observable/innerFrom';\nexport function distinct(keySelector, flushes) {\n return operate((source, subscriber) => {\n const distinctKeys = new Set();\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const key = keySelector ? keySelector(value) : value;\n if (!distinctKeys.has(key)) {\n distinctKeys.add(key);\n subscriber.next(value);\n }\n }));\n flushes && innerFrom(flushes).subscribe(createOperatorSubscriber(subscriber, () => distinctKeys.clear(), noop));\n });\n}\n","import { identity } from '../util/identity';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function distinctUntilChanged(comparator, keySelector = identity) {\n comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare;\n return operate((source, subscriber) => {\n let previousKey;\n let first = true;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const currentKey = keySelector(value);\n if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function throwIfEmpty(errorFactory = defaultErrorFactory) {\n return operate((source, subscriber) => {\n let hasValue = false;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n hasValue = true;\n subscriber.next(value);\n }, () => hasValue ? subscriber.complete() : subscriber.error(errorFactory())));\n });\n}\nfunction defaultErrorFactory() {\n return new EmptyError();\n}\n","import { map } from './map';\nimport { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function exhaustMap(project, resultSelector) {\n if (resultSelector) {\n return source => source.pipe(exhaustMap((a, i) => innerFrom(project(a, i)).pipe(map((b, ii) => resultSelector(a, b, i, ii)))));\n }\n return operate((source, subscriber) => {\n let index = 0;\n let innerSub = null;\n let isComplete = false;\n source.subscribe(createOperatorSubscriber(subscriber, outerValue => {\n if (!innerSub) {\n innerSub = createOperatorSubscriber(subscriber, undefined, () => {\n innerSub = null;\n isComplete && subscriber.complete();\n });\n innerFrom(project(outerValue, index++)).subscribe(innerSub);\n }\n }, () => {\n isComplete = true;\n !innerSub && subscriber.complete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nexport function finalize(callback) {\n return operate((source, subscriber) => {\n try {\n source.subscribe(subscriber);\n } finally {\n subscriber.add(callback);\n }\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { take } from './take';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { identity } from '../util/identity';\nexport function first(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return source => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, take(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { Observable } from '../Observable';\nimport { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber, OperatorSubscriber } from './OperatorSubscriber';\nexport function groupBy(keySelector, elementOrOptions, duration, connector) {\n return operate((source, subscriber) => {\n let element;\n if (!elementOrOptions || typeof elementOrOptions === 'function') {\n element = elementOrOptions;\n } else {\n ({\n duration,\n element,\n connector\n } = elementOrOptions);\n }\n const groups = new Map();\n const notify = cb => {\n groups.forEach(cb);\n cb(subscriber);\n };\n const handleError = err => notify(consumer => consumer.error(err));\n let activeGroups = 0;\n let teardownAttempted = false;\n const groupBySourceSubscriber = new OperatorSubscriber(subscriber, value => {\n try {\n const key = keySelector(value);\n let group = groups.get(key);\n if (!group) {\n groups.set(key, group = connector ? connector() : new Subject());\n const grouped = createGroupedObservable(key, group);\n subscriber.next(grouped);\n if (duration) {\n const durationSubscriber = createOperatorSubscriber(group, () => {\n group.complete();\n durationSubscriber === null || durationSubscriber === void 0 ? void 0 : durationSubscriber.unsubscribe();\n }, undefined, undefined, () => groups.delete(key));\n groupBySourceSubscriber.add(innerFrom(duration(grouped)).subscribe(durationSubscriber));\n }\n }\n group.next(element ? element(value) : value);\n } catch (err) {\n handleError(err);\n }\n }, () => notify(consumer => consumer.complete()), handleError, () => groups.clear(), () => {\n teardownAttempted = true;\n return activeGroups === 0;\n });\n source.subscribe(groupBySourceSubscriber);\n function createGroupedObservable(key, groupSubject) {\n const result = new Observable(groupSubscriber => {\n activeGroups++;\n const innerSub = groupSubject.subscribe(groupSubscriber);\n return () => {\n innerSub.unsubscribe();\n --activeGroups === 0 && teardownAttempted && groupBySourceSubscriber.unsubscribe();\n };\n });\n result.key = key;\n return result;\n }\n });\n}\n","import { EMPTY } from '../observable/empty';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeLast(count) {\n return count <= 0 ? () => EMPTY : operate((source, subscriber) => {\n let buffer = [];\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n buffer.push(value);\n count < buffer.length && buffer.shift();\n }, () => {\n for (const value of buffer) {\n subscriber.next(value);\n }\n subscriber.complete();\n }, undefined, () => {\n buffer = null;\n }));\n });\n}\n","import { EmptyError } from '../util/EmptyError';\nimport { filter } from './filter';\nimport { takeLast } from './takeLast';\nimport { throwIfEmpty } from './throwIfEmpty';\nimport { defaultIfEmpty } from './defaultIfEmpty';\nimport { identity } from '../util/identity';\nexport function last(predicate, defaultValue) {\n const hasDefaultValue = arguments.length >= 2;\n return source => source.pipe(predicate ? filter((v, i) => predicate(v, i, source)) : identity, takeLast(1), hasDefaultValue ? defaultIfEmpty(defaultValue) : throwIfEmpty(() => new EmptyError()));\n}\n","import { Notification } from '../Notification';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function materialize() {\n return operate((source, subscriber) => {\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n subscriber.next(Notification.createNext(value));\n }, () => {\n subscriber.next(Notification.createComplete());\n subscriber.complete();\n }, err => {\n subscriber.next(Notification.createError(err));\n subscriber.complete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function pairwise() {\n return operate((source, subscriber) => {\n let prev;\n let hasPrev = false;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const p = prev;\n prev = value;\n hasPrev && subscriber.next([p, value]);\n hasPrev = true;\n }));\n });\n}\n","import { map } from './map';\nexport function pluck(...properties) {\n const length = properties.length;\n if (length === 0) {\n throw new Error('list of properties cannot be empty.');\n }\n return map(x => {\n let currentProp = x;\n for (let i = 0; i < length; i++) {\n const p = currentProp === null || currentProp === void 0 ? void 0 : currentProp[properties[i]];\n if (typeof p !== 'undefined') {\n currentProp = p;\n } else {\n return undefined;\n }\n }\n return currentProp;\n });\n}\n","import { operate } from '../util/lift';\nimport { scanInternals } from './scanInternals';\nexport function scan(accumulator, seed) {\n return operate(scanInternals(accumulator, seed, arguments.length >= 2, true));\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { Subject } from '../Subject';\nimport { SafeSubscriber } from '../Subscriber';\nimport { operate } from '../util/lift';\nexport function share(options = {}) {\n const {\n connector = () => new Subject(),\n resetOnError = true,\n resetOnComplete = true,\n resetOnRefCountZero = true\n } = options;\n return wrapperSource => {\n let connection;\n let resetConnection;\n let subject;\n let refCount = 0;\n let hasCompleted = false;\n let hasErrored = false;\n const cancelReset = () => {\n resetConnection === null || resetConnection === void 0 ? void 0 : resetConnection.unsubscribe();\n resetConnection = undefined;\n };\n const reset = () => {\n cancelReset();\n connection = subject = undefined;\n hasCompleted = hasErrored = false;\n };\n const resetAndUnsubscribe = () => {\n const conn = connection;\n reset();\n conn === null || conn === void 0 ? void 0 : conn.unsubscribe();\n };\n return operate((source, subscriber) => {\n refCount++;\n if (!hasErrored && !hasCompleted) {\n cancelReset();\n }\n const dest = subject = subject !== null && subject !== void 0 ? subject : connector();\n subscriber.add(() => {\n refCount--;\n if (refCount === 0 && !hasErrored && !hasCompleted) {\n resetConnection = handleReset(resetAndUnsubscribe, resetOnRefCountZero);\n }\n });\n dest.subscribe(subscriber);\n if (!connection && refCount > 0) {\n connection = new SafeSubscriber({\n next: value => dest.next(value),\n error: err => {\n hasErrored = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnError, err);\n dest.error(err);\n },\n complete: () => {\n hasCompleted = true;\n cancelReset();\n resetConnection = handleReset(reset, resetOnComplete);\n dest.complete();\n }\n });\n innerFrom(source).subscribe(connection);\n }\n })(wrapperSource);\n };\n}\nfunction handleReset(reset, on, ...args) {\n if (on === true) {\n reset();\n return;\n }\n if (on === false) {\n return;\n }\n const onSubscriber = new SafeSubscriber({\n next: () => {\n onSubscriber.unsubscribe();\n reset();\n }\n });\n return innerFrom(on(...args)).subscribe(onSubscriber);\n}\n","import { ReplaySubject } from '../ReplaySubject';\nimport { share } from './share';\nexport function shareReplay(configOrBufferSize, windowTime, scheduler) {\n let bufferSize;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({\n bufferSize = Infinity,\n windowTime = Infinity,\n refCount = false,\n scheduler\n } = configOrBufferSize);\n } else {\n bufferSize = configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity;\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount\n });\n}\n","import { filter } from './filter';\nexport function skip(count) {\n return filter((_, index) => count <= index);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function skipWhile(predicate) {\n return operate((source, subscriber) => {\n let taking = false;\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => (taking || (taking = !predicate(value, index++))) && subscriber.next(value)));\n });\n}\n","import { concat } from '../observable/concat';\nimport { popScheduler } from '../util/args';\nimport { operate } from '../util/lift';\nexport function startWith(...values) {\n const scheduler = popScheduler(values);\n return operate((source, subscriber) => {\n (scheduler ? concat(values, source, scheduler) : concat(values, source)).subscribe(subscriber);\n });\n}\n","import { innerFrom } from '../observable/innerFrom';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function switchMap(project, resultSelector) {\n return operate((source, subscriber) => {\n let innerSubscriber = null;\n let index = 0;\n let isComplete = false;\n const checkComplete = () => isComplete && !innerSubscriber && subscriber.complete();\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n innerSubscriber === null || innerSubscriber === void 0 ? void 0 : innerSubscriber.unsubscribe();\n let innerIndex = 0;\n const outerIndex = index++;\n innerFrom(project(value, outerIndex)).subscribe(innerSubscriber = createOperatorSubscriber(subscriber, innerValue => subscriber.next(resultSelector ? resultSelector(value, innerValue, outerIndex, innerIndex++) : innerValue), () => {\n innerSubscriber = null;\n checkComplete();\n }));\n }, () => {\n isComplete = true;\n checkComplete();\n }));\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { noop } from '../util/noop';\nexport function takeUntil(notifier) {\n return operate((source, subscriber) => {\n innerFrom(notifier).subscribe(createOperatorSubscriber(subscriber, () => subscriber.complete(), noop));\n !subscriber.closed && source.subscribe(subscriber);\n });\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function takeWhile(predicate, inclusive = false) {\n return operate((source, subscriber) => {\n let index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n const result = predicate(value, index++);\n (result || inclusive) && subscriber.next(value);\n !result && subscriber.complete();\n }));\n });\n}\n","import { isFunction } from '../util/isFunction';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { identity } from '../util/identity';\nexport function tap(observerOrNext, error, complete) {\n const tapObserver = isFunction(observerOrNext) || error || complete ? {\n next: observerOrNext,\n error,\n complete\n } : observerOrNext;\n return tapObserver ? operate((source, subscriber) => {\n var _a;\n (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n let isUnsub = true;\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n var _a;\n (_a = tapObserver.next) === null || _a === void 0 ? void 0 : _a.call(tapObserver, value);\n subscriber.next(value);\n }, () => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.complete) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n subscriber.complete();\n }, err => {\n var _a;\n isUnsub = false;\n (_a = tapObserver.error) === null || _a === void 0 ? void 0 : _a.call(tapObserver, err);\n subscriber.error(err);\n }, () => {\n var _a, _b;\n if (isUnsub) {\n (_a = tapObserver.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);\n }\n (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);\n }));\n }) : identity;\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nexport function throttle(durationSelector, config) {\n return operate((source, subscriber) => {\n const {\n leading = true,\n trailing = false\n } = config !== null && config !== void 0 ? config : {};\n let hasValue = false;\n let sendValue = null;\n let throttled = null;\n let isComplete = false;\n const endThrottling = () => {\n throttled === null || throttled === void 0 ? void 0 : throttled.unsubscribe();\n throttled = null;\n if (trailing) {\n send();\n isComplete && subscriber.complete();\n }\n };\n const cleanupThrottling = () => {\n throttled = null;\n isComplete && subscriber.complete();\n };\n const startThrottle = value => throttled = innerFrom(durationSelector(value)).subscribe(createOperatorSubscriber(subscriber, endThrottling, cleanupThrottling));\n const send = () => {\n if (hasValue) {\n hasValue = false;\n const value = sendValue;\n sendValue = null;\n subscriber.next(value);\n !isComplete && startThrottle(value);\n }\n };\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n hasValue = true;\n sendValue = value;\n !(throttled && !throttled.closed) && (leading ? send() : startThrottle(value));\n }, () => {\n isComplete = true;\n !(trailing && hasValue && throttled && !throttled.closed) && subscriber.complete();\n }));\n });\n}\n","import { asyncScheduler } from '../scheduler/async';\nimport { throttle } from './throttle';\nimport { timer } from '../observable/timer';\nexport function throttleTime(duration, scheduler = asyncScheduler, config) {\n const duration$ = timer(duration, scheduler);\n return throttle(() => duration$, config);\n}\n","import { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nimport { innerFrom } from '../observable/innerFrom';\nimport { identity } from '../util/identity';\nimport { noop } from '../util/noop';\nimport { popResultSelector } from '../util/args';\nexport function withLatestFrom(...inputs) {\n const project = popResultSelector(inputs);\n return operate((source, subscriber) => {\n const len = inputs.length;\n const otherValues = new Array(len);\n let hasValue = inputs.map(() => false);\n let ready = false;\n for (let i = 0; i < len; i++) {\n innerFrom(inputs[i]).subscribe(createOperatorSubscriber(subscriber, value => {\n otherValues[i] = value;\n if (!ready && !hasValue[i]) {\n hasValue[i] = true;\n (ready = hasValue.every(identity)) && (hasValue = null);\n }\n }, noop));\n }\n source.subscribe(createOperatorSubscriber(subscriber, value => {\n if (ready) {\n const values = [value, ...otherValues];\n subscriber.next(project ? project(...values) : values);\n }\n }));\n });\n}\n","/**\n * @license Angular v19.1.7\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { SIGNAL_NODE as SIGNAL_NODE$1, signalSetFn as signalSetFn$1, producerAccessed as producerAccessed$1, SIGNAL as SIGNAL$1, getActiveConsumer as getActiveConsumer$1, setActiveConsumer as setActiveConsumer$1, createSignal as createSignal$1, signalUpdateFn as signalUpdateFn$1, consumerDestroy as consumerDestroy$1, REACTIVE_NODE as REACTIVE_NODE$1, consumerBeforeComputation as consumerBeforeComputation$1, consumerAfterComputation as consumerAfterComputation$1, consumerPollProducersForChange as consumerPollProducersForChange$1, createComputed as createComputed$1, setThrowInvalidWriteToSignalError as setThrowInvalidWriteToSignalError$1, createLinkedSignal as createLinkedSignal$1, linkedSignalSetFn as linkedSignalSetFn$1, linkedSignalUpdateFn as linkedSignalUpdateFn$1, createWatch as createWatch$1, isInNotificationPhase as isInNotificationPhase$1 } from '@angular/core/primitives/signals';\nexport { SIGNAL as ɵSIGNAL } from '@angular/core/primitives/signals';\nimport { BehaviorSubject, Subject, Subscription } from 'rxjs';\nimport { Attribute as Attribute$1, clearAppScopedEarlyEventContract, EventContract, EventContractContainer, getAppScopedQueuedEventInfos, EventDispatcher, registerDispatcher, isEarlyEventType, isCaptureEventType, EventPhase } from '@angular/core/primitives/event-dispatch';\nimport { map } from 'rxjs/operators';\n\n/**\n * Base URL for the error details page.\n *\n * Keep this constant in sync across:\n * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts\n * - packages/core/src/error_details_base_url.ts\n */\nconst ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.dev/errors';\n/**\n * URL for the XSS security documentation.\n */\nconst XSS_SECURITY_URL = 'https://g.co/ng/security#xss';\n\n/**\n * Class that represents a runtime error.\n * Formats and outputs the error message in a consistent way.\n *\n * Example:\n * ```ts\n * throw new RuntimeError(\n * RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,\n * ngDevMode && 'Injector has already been destroyed.');\n * ```\n *\n * Note: the `message` argument contains a descriptive error message as a string in development\n * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the\n * `message` argument becomes `false`, thus we account for it in the typings and the runtime\n * logic.\n */\nclass RuntimeError extends Error {\n code;\n constructor(code, message) {\n super(formatRuntimeError(code, message));\n this.code = code;\n }\n}\n/**\n * Called to format a runtime error.\n * See additional info on the `message` argument type in the `RuntimeError` class description.\n */\nfunction formatRuntimeError(code, message) {\n // Error code might be a negative number, which is a special marker that instructs the logic to\n // generate a link to the error details page on angular.io.\n // We also prepend `0` to non-compile-time errors.\n const fullCode = `NG0${Math.abs(code)}`;\n let errorMessage = `${fullCode}${message ? ': ' + message : ''}`;\n if (ngDevMode && code < 0) {\n const addPeriodSeparator = !errorMessage.match(/[.,;!?\\n]$/);\n const separator = addPeriodSeparator ? '.' : '';\n errorMessage = `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;\n }\n return errorMessage;\n}\nconst REQUIRED_UNSET_VALUE = /* @__PURE__ */Symbol('InputSignalNode#UNSET');\n// Note: Using an IIFE here to ensure that the spread assignment is not considered\n// a side-effect, ending up preserving `COMPUTED_NODE` and `REACTIVE_NODE`.\n// TODO: remove when https://github.com/evanw/esbuild/issues/3392 is resolved.\nconst INPUT_SIGNAL_NODE = /* @__PURE__ */(() => {\n return {\n ...SIGNAL_NODE$1,\n transformFn: undefined,\n applyValueToInputSignal(node, value) {\n signalSetFn$1(node, value);\n }\n };\n})();\nconst ɵINPUT_SIGNAL_BRAND_READ_TYPE = /* @__PURE__ */Symbol();\nconst ɵINPUT_SIGNAL_BRAND_WRITE_TYPE = /* @__PURE__ */Symbol();\n/**\n * Creates an input signal.\n *\n * @param initialValue The initial value.\n * Can be set to {@link REQUIRED_UNSET_VALUE} for required inputs.\n * @param options Additional options for the input. e.g. a transform, or an alias.\n */\nfunction createInputSignal(initialValue, options) {\n const node = Object.create(INPUT_SIGNAL_NODE);\n node.value = initialValue;\n // Perf note: Always set `transformFn` here to ensure that `node` always\n // has the same v8 class shape, allowing monomorphic reads on input signals.\n node.transformFn = options?.transform;\n function inputValueFn() {\n // Record that someone looked at this signal.\n producerAccessed$1(node);\n if (node.value === REQUIRED_UNSET_VALUE) {\n throw new RuntimeError(-950 /* RuntimeErrorCode.REQUIRED_INPUT_NO_VALUE */, ngDevMode && 'Input is required but no value is available yet.');\n }\n return node.value;\n }\n inputValueFn[SIGNAL$1] = node;\n if (ngDevMode) {\n inputValueFn.toString = () => `[Input Signal: ${inputValueFn()}]`;\n node.debugName = options?.debugName;\n }\n return inputValueFn;\n}\n\n/**\n * Convince closure compiler that the wrapped function has no side-effects.\n *\n * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to\n * allow us to execute a function but have closure compiler mark the call as no-side-effects.\n * It is important that the return value for the `noSideEffects` function be assigned\n * to something which is retained otherwise the call to `noSideEffects` will be removed by closure\n * compiler.\n */\nfunction noSideEffects(fn) {\n return {\n toString: fn\n }.toString();\n}\nconst ANNOTATIONS = '__annotations__';\nconst PARAMETERS = '__parameters__';\nconst PROP_METADATA = '__prop__metadata__';\n/**\n * @suppress {globalThis}\n */\nfunction makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function DecoratorFactory(...args) {\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, ...args);\n return this;\n }\n const annotationInstance = new DecoratorFactory(...args);\n return function TypeDecorator(cls) {\n if (typeFn) typeFn(cls, ...args);\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, {\n value: []\n })[ANNOTATIONS];\n annotations.push(annotationInstance);\n if (additionalProcessing) additionalProcessing(cls);\n return cls;\n };\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.ngMetadataName = name;\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n });\n}\nfunction makeMetadataCtor(props) {\n return function ctor(...args) {\n if (props) {\n const values = props(...args);\n for (const propName in values) {\n this[propName] = values[propName];\n }\n }\n };\n}\nfunction makeParamDecorator(name, props, parentClass) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory(...args) {\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const annotationInstance = new ParamDecoratorFactory(...args);\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n // Use of Object.defineProperty is important since it creates non-enumerable property which\n // prevents the property is copied during subclassing.\n const parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, {\n value: []\n })[PARAMETERS];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n (parameters[index] = parameters[index] || []).push(annotationInstance);\n return cls;\n }\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.ngMetadataName = name;\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n });\n}\nfunction makePropDecorator(name, props, parentClass, additionalProcessing) {\n return noSideEffects(() => {\n const metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory(...args) {\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n const decoratorInstance = new PropDecoratorFactory(...args);\n function PropDecorator(target, name) {\n // target is undefined with standard decorators. This case is not supported and will throw\n // if this decorator is used in JIT mode with standard decorators.\n if (target === undefined) {\n throw new Error('Standard Angular field decorators are not supported in JIT mode.');\n }\n const constructor = target.constructor;\n // Use of Object.defineProperty is important because it creates a non-enumerable property\n // which prevents the property from being copied during subclassing.\n const meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, {\n value: {}\n })[PROP_METADATA];\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n if (additionalProcessing) additionalProcessing(target, name, ...args);\n }\n return PropDecorator;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.ngMetadataName = name;\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n });\n}\nconst _global = globalThis;\nfunction ngDevModeResetPerfCounters() {\n const locationString = typeof location !== 'undefined' ? location.toString() : '';\n const newCounters = {\n namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,\n firstCreatePass: 0,\n tNode: 0,\n tView: 0,\n rendererCreateTextNode: 0,\n rendererSetText: 0,\n rendererCreateElement: 0,\n rendererAddEventListener: 0,\n rendererSetAttribute: 0,\n rendererRemoveAttribute: 0,\n rendererSetProperty: 0,\n rendererSetClassName: 0,\n rendererAddClass: 0,\n rendererRemoveClass: 0,\n rendererSetStyle: 0,\n rendererRemoveStyle: 0,\n rendererDestroy: 0,\n rendererDestroyNode: 0,\n rendererMoveNode: 0,\n rendererRemoveNode: 0,\n rendererAppendChild: 0,\n rendererInsertBefore: 0,\n rendererCreateComment: 0,\n hydratedNodes: 0,\n hydratedComponents: 0,\n dehydratedViewsRemoved: 0,\n dehydratedViewsCleanupRuns: 0,\n componentsSkippedHydration: 0,\n deferBlocksWithIncrementalHydration: 0\n };\n // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.\n const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;\n if (!allowNgDevModeTrue) {\n _global['ngDevMode'] = false;\n } else {\n if (typeof _global['ngDevMode'] !== 'object') {\n _global['ngDevMode'] = {};\n }\n Object.assign(_global['ngDevMode'], newCounters);\n }\n return newCounters;\n}\n/**\n * This function checks to see if the `ngDevMode` has been set. If yes,\n * then we honor it, otherwise we default to dev mode with additional checks.\n *\n * The idea is that unless we are doing production build where we explicitly\n * set `ngDevMode == false` we should be helping the developer by providing\n * as much early warning and errors as possible.\n *\n * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions\n * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode\n * is defined for the entire instruction set.\n *\n * When checking `ngDevMode` on toplevel, always init it before referencing it\n * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can\n * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.\n *\n * Details on possible values for `ngDevMode` can be found on its docstring.\n *\n * NOTE:\n * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.\n */\nfunction initNgDevMode() {\n // The below checks are to ensure that calling `initNgDevMode` multiple times does not\n // reset the counters.\n // If the `ngDevMode` is not an object, then it means we have not created the perf counters\n // yet.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (typeof ngDevMode !== 'object' || Object.keys(ngDevMode).length === 0) {\n ngDevModeResetPerfCounters();\n }\n return typeof ngDevMode !== 'undefined' && !!ngDevMode;\n }\n return false;\n}\nfunction getClosureSafeProperty(objWithPropertyToExtract) {\n for (let key in objWithPropertyToExtract) {\n if (objWithPropertyToExtract[key] === getClosureSafeProperty) {\n return key;\n }\n }\n throw Error('Could not find renamed property on target object.');\n}\n/**\n * Sets properties on a target object from a source object, but only if\n * the property doesn't already exist on the target object.\n * @param target The target to set properties on\n * @param source The source of the property keys and values to set\n */\nfunction fillProperties(target, source) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {\n target[key] = source[key];\n }\n }\n}\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (Array.isArray(token)) {\n return `[${token.map(stringify).join(', ')}]`;\n }\n if (token == null) {\n return '' + token;\n }\n const name = token.overriddenName || token.name;\n if (name) {\n return `${name}`;\n }\n const result = token.toString();\n if (result == null) {\n return '' + result;\n }\n const newLineIndex = result.indexOf('\\n');\n return newLineIndex >= 0 ? result.slice(0, newLineIndex) : result;\n}\n/**\n * Concatenates two strings with separator, allocating new strings only when necessary.\n *\n * @param before before string.\n * @param separator separator string.\n * @param after after string.\n * @returns concatenated string.\n */\nfunction concatStringsWithSpace(before, after) {\n if (!before) return after || '';\n if (!after) return before;\n return `${before} ${after}`;\n}\n/**\n * Ellipses the string in the middle when longer than the max length\n *\n * @param string\n * @param maxLength of the output string\n * @returns ellipsed string with ... in the middle\n */\nfunction truncateMiddle(str, maxLength = 100) {\n if (!str || maxLength < 1 || str.length <= maxLength) return str;\n if (maxLength == 1) return str.substring(0, 1) + '...';\n const halfLimit = Math.round(maxLength / 2);\n return str.substring(0, halfLimit) + '...' + str.substring(str.length - halfLimit);\n}\nconst __forward_ref__ = /*#__PURE__*/getClosureSafeProperty({\n __forward_ref__: getClosureSafeProperty\n});\n/**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared, but not yet defined. It is also used when the `token` which we use when creating\n * a query is not yet defined.\n *\n * `forwardRef` is also used to break circularities in standalone components imports.\n *\n * @usageNotes\n * ### Circular dependency example\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n *\n * ### Circular standalone reference import example\n * ```angular-ts\n * @Component({\n * standalone: true,\n * imports: [ChildComponent],\n * selector: 'app-parent',\n * template: ``,\n * })\n * export class ParentComponent {\n * @Input() hideParent: boolean;\n * }\n *\n *\n * @Component({\n * standalone: true,\n * imports: [CommonModule, forwardRef(() => ParentComponent)],\n * selector: 'app-child',\n * template: ``,\n * })\n * export class ChildComponent {\n * @Input() hideParent: boolean;\n * }\n * ```\n *\n * @publicApi\n */\nfunction forwardRef(forwardRefFn) {\n forwardRefFn.__forward_ref__ = forwardRef;\n forwardRefFn.toString = function () {\n return stringify(this());\n };\n return forwardRefFn;\n}\n/**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * @usageNotes\n * ### Example\n *\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * @see {@link forwardRef}\n * @publicApi\n */\nfunction resolveForwardRef(type) {\n return isForwardRef(type) ? type() : type;\n}\n/** Checks whether a function is wrapped by a `forwardRef`. */\nfunction isForwardRef(fn) {\n return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef;\n}\n\n// The functions in this file verify that the assumptions we are making\nfunction assertNumber(actual, msg) {\n if (!(typeof actual === 'number')) {\n throwError(msg, typeof actual, 'number', '===');\n }\n}\nfunction assertNumberInRange(actual, minInclusive, maxInclusive) {\n assertNumber(actual, 'Expected a number');\n assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');\n assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');\n}\nfunction assertString(actual, msg) {\n if (!(typeof actual === 'string')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');\n }\n}\nfunction assertFunction(actual, msg) {\n if (!(typeof actual === 'function')) {\n throwError(msg, actual === null ? 'null' : typeof actual, 'function', '===');\n }\n}\nfunction assertEqual(actual, expected, msg) {\n if (!(actual == expected)) {\n throwError(msg, actual, expected, '==');\n }\n}\nfunction assertNotEqual(actual, expected, msg) {\n if (!(actual != expected)) {\n throwError(msg, actual, expected, '!=');\n }\n}\nfunction assertSame(actual, expected, msg) {\n if (!(actual === expected)) {\n throwError(msg, actual, expected, '===');\n }\n}\nfunction assertNotSame(actual, expected, msg) {\n if (!(actual !== expected)) {\n throwError(msg, actual, expected, '!==');\n }\n}\nfunction assertLessThan(actual, expected, msg) {\n if (!(actual < expected)) {\n throwError(msg, actual, expected, '<');\n }\n}\nfunction assertLessThanOrEqual(actual, expected, msg) {\n if (!(actual <= expected)) {\n throwError(msg, actual, expected, '<=');\n }\n}\nfunction assertGreaterThan(actual, expected, msg) {\n if (!(actual > expected)) {\n throwError(msg, actual, expected, '>');\n }\n}\nfunction assertGreaterThanOrEqual(actual, expected, msg) {\n if (!(actual >= expected)) {\n throwError(msg, actual, expected, '>=');\n }\n}\nfunction assertNotDefined(actual, msg) {\n if (actual != null) {\n throwError(msg, actual, null, '==');\n }\n}\nfunction assertDefined(actual, msg) {\n if (actual == null) {\n throwError(msg, actual, null, '!=');\n }\n}\nfunction throwError(msg, actual, expected, comparison) {\n throw new Error(`ASSERTION ERROR: ${msg}` + (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));\n}\nfunction assertDomNode(node) {\n if (!(node instanceof Node)) {\n throwError(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`);\n }\n}\nfunction assertElement(node) {\n if (!(node instanceof Element)) {\n throwError(`The provided value must be an element but got ${stringify(node)}`);\n }\n}\nfunction assertIndexInRange(arr, index) {\n assertDefined(arr, 'Array must be defined.');\n const maxLen = arr.length;\n if (index < 0 || index >= maxLen) {\n throwError(`Index expected to be less than ${maxLen} but got ${index}`);\n }\n}\nfunction assertOneOf(value, ...validValues) {\n if (validValues.indexOf(value) !== -1) return true;\n throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);\n}\nfunction assertNotReactive(fn) {\n if (getActiveConsumer$1() !== null) {\n throwError(`${fn}() should never be called in a reactive context.`);\n }\n}\n\n/**\n * Construct an injectable definition which defines how a token will be constructed by the DI\n * system, and in which injectors (if any) it will be available.\n *\n * This should be assigned to a static `ɵprov` field on a type, which will then be an\n * `InjectableType`.\n *\n * Options:\n * * `providedIn` determines which injectors will include the injectable, by either associating it\n * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be\n * provided in the `'root'` injector, which will be the application-level injector in most apps.\n * * `factory` gives the zero argument function which will create an instance of the injectable.\n * The factory can call [`inject`](api/core/inject) to access the `Injector` and request injection\n * of dependencies.\n *\n * @codeGenApi\n * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.\n */\nfunction ɵɵdefineInjectable(opts) {\n return {\n token: opts.token,\n providedIn: opts.providedIn || null,\n factory: opts.factory,\n value: undefined\n };\n}\n/**\n * @deprecated in v8, delete after v10. This API should be used only by generated code, and that\n * code should now use ɵɵdefineInjectable instead.\n * @publicApi\n */\nconst defineInjectable = ɵɵdefineInjectable;\n/**\n * Construct an `InjectorDef` which configures an injector.\n *\n * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an\n * `InjectorType`.\n *\n * Options:\n *\n * * `providers`: an optional array of providers to add to the injector. Each provider must\n * either have a factory or point to a type which has a `ɵprov` static property (the\n * type must be an `InjectableType`).\n * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s\n * whose providers will also be added to the injector. Locally provided types will override\n * providers from imports.\n *\n * @codeGenApi\n */\nfunction ɵɵdefineInjector(options) {\n return {\n providers: options.providers || [],\n imports: options.imports || []\n };\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading\n * inherited value.\n *\n * @param type A type which may have its own (non-inherited) `ɵprov`.\n */\nfunction getInjectableDef(type) {\n return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF);\n}\nfunction isInjectable(type) {\n return getInjectableDef(type) !== null;\n}\n/**\n * Return definition only if it is defined directly on `type` and is not inherited from a base\n * class of `type`.\n */\nfunction getOwnDefinition(type, field) {\n return type.hasOwnProperty(field) ? type[field] : null;\n}\n/**\n * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.\n *\n * @param type A type which may have `ɵprov`, via inheritance.\n *\n * @deprecated Will be removed in a future version of Angular, where an error will occur in the\n * scenario if we find the `ɵprov` on an ancestor only.\n */\nfunction getInheritedInjectableDef(type) {\n const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);\n if (def) {\n ngDevMode && console.warn(`DEPRECATED: DI is instantiating a token \"${type.name}\" that inherits its @Injectable decorator but does not provide one itself.\\n` + `This will become an error in a future version of Angular. Please add @Injectable() to the \"${type.name}\" class.`);\n return def;\n } else {\n return null;\n }\n}\n/**\n * Read the injector def type in a way which is immune to accidentally reading inherited value.\n *\n * @param type type which may have an injector def (`ɵinj`)\n */\nfunction getInjectorDef(type) {\n return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ? type[NG_INJ_DEF] : null;\n}\nconst NG_PROV_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵprov: getClosureSafeProperty\n});\nconst NG_INJ_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵinj: getClosureSafeProperty\n});\n// We need to keep these around so we can read off old defs if new defs are unavailable\nconst NG_INJECTABLE_DEF = /*#__PURE__*/getClosureSafeProperty({\n ngInjectableDef: getClosureSafeProperty\n});\nconst NG_INJECTOR_DEF = /*#__PURE__*/getClosureSafeProperty({\n ngInjectorDef: getClosureSafeProperty\n});\n\n/**\n * Creates a token that can be used in a DI Provider.\n *\n * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a\n * runtime representation) such as when injecting an interface, callable type, array or\n * parameterized type.\n *\n * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by\n * the `Injector`. This provides an additional level of type safety.\n *\n *
\n *\n * **Important Note**: Ensure that you use the same instance of the `InjectionToken` in both the\n * provider and the injection call. Creating a new instance of `InjectionToken` in different places,\n * even with the same description, will be treated as different tokens by Angular's DI system,\n * leading to a `NullInjectorError`.\n *\n *
\n *\n * {@example injection-token/src/main.ts region='InjectionToken'}\n *\n * When creating an `InjectionToken`, you can optionally specify a factory function which returns\n * (possibly by creating) a default value of the parameterized type `T`. This sets up the\n * `InjectionToken` using this factory as a provider as if it was defined explicitly in the\n * application's root injector. If the factory function, which takes zero arguments, needs to inject\n * dependencies, it can do so using the [`inject`](api/core/inject) function.\n * As you can see in the Tree-shakable InjectionToken example below.\n *\n * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which\n * overrides the above behavior and marks the token as belonging to a particular `@NgModule` (note:\n * this option is now deprecated). As mentioned above, `'root'` is the default value for\n * `providedIn`.\n *\n * The `providedIn: NgModule` and `providedIn: 'any'` options are deprecated.\n *\n * @usageNotes\n * ### Basic Examples\n *\n * ### Plain InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='InjectionToken'}\n *\n * ### Tree-shakable InjectionToken\n *\n * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}\n *\n * @publicApi\n */\nclass InjectionToken {\n _desc;\n /** @internal */\n ngMetadataName = 'InjectionToken';\n ɵprov;\n /**\n * @param _desc Description for the token,\n * used only for debugging purposes,\n * it should but does not need to be unique\n * @param options Options for the token's usage, as described above\n */\n constructor(_desc, options) {\n this._desc = _desc;\n this.ɵprov = undefined;\n if (typeof options == 'number') {\n (typeof ngDevMode === 'undefined' || ngDevMode) && assertLessThan(options, 0, 'Only negative numbers are supported here');\n // This is a special hack to assign __NG_ELEMENT_ID__ to this instance.\n // See `InjectorMarkers`\n this.__NG_ELEMENT_ID__ = options;\n } else if (options !== undefined) {\n this.ɵprov = ɵɵdefineInjectable({\n token: this,\n providedIn: options.providedIn || 'root',\n factory: options.factory\n });\n }\n }\n /**\n * @internal\n */\n get multi() {\n return this;\n }\n toString() {\n return `InjectionToken ${this._desc}`;\n }\n}\nlet _injectorProfilerContext;\nfunction getInjectorProfilerContext() {\n !ngDevMode && throwError('getInjectorProfilerContext should never be called in production mode');\n return _injectorProfilerContext;\n}\nfunction setInjectorProfilerContext(context) {\n !ngDevMode && throwError('setInjectorProfilerContext should never be called in production mode');\n const previous = _injectorProfilerContext;\n _injectorProfilerContext = context;\n return previous;\n}\nlet injectorProfilerCallback = null;\n/**\n * Sets the callback function which will be invoked during certain DI events within the\n * runtime (for example: injecting services, creating injectable instances, configuring providers)\n *\n * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n * The contract of the function might be changed in any release and/or the function can be removed\n * completely.\n *\n * @param profiler function provided by the caller or null value to disable profiling.\n */\nconst setInjectorProfiler = injectorProfiler => {\n !ngDevMode && throwError('setInjectorProfiler should never be called in production mode');\n injectorProfilerCallback = injectorProfiler;\n};\n/**\n * Injector profiler function which emits on DI events executed by the runtime.\n *\n * @param event InjectorProfilerEvent corresponding to the DI event being emitted\n */\nfunction injectorProfiler(event) {\n !ngDevMode && throwError('Injector profiler should never be called in production mode');\n if (injectorProfilerCallback != null /* both `null` and `undefined` */) {\n injectorProfilerCallback(event);\n }\n}\n/**\n * Emits an InjectorProfilerEventType.ProviderConfigured to the injector profiler. The data in the\n * emitted event includes the raw provider, as well as the token that provider is providing.\n *\n * @param eventProvider A provider object\n */\nfunction emitProviderConfiguredEvent(eventProvider, isViewProvider = false) {\n !ngDevMode && throwError('Injector profiler should never be called in production mode');\n let token;\n // if the provider is a TypeProvider (typeof provider is function) then the token is the\n // provider itself\n if (typeof eventProvider === 'function') {\n token = eventProvider;\n }\n // if the provider is an injection token, then the token is the injection token.\n else if (eventProvider instanceof InjectionToken) {\n token = eventProvider;\n }\n // in all other cases we can access the token via the `provide` property of the provider\n else {\n token = resolveForwardRef(eventProvider.provide);\n }\n let provider = eventProvider;\n // Injection tokens may define their own default provider which gets attached to the token itself\n // as `ɵprov`. In this case, we want to emit the provider that is attached to the token, not the\n // token itself.\n if (eventProvider instanceof InjectionToken) {\n provider = eventProvider.ɵprov || eventProvider;\n }\n injectorProfiler({\n type: 2 /* InjectorProfilerEventType.ProviderConfigured */,\n context: getInjectorProfilerContext(),\n providerRecord: {\n token,\n provider,\n isViewProvider\n }\n });\n}\n/**\n * Emits an event to the injector profiler with the instance that was created. Note that\n * the injector associated with this emission can be accessed by using getDebugInjectContext()\n *\n * @param instance an object created by an injector\n */\nfunction emitInstanceCreatedByInjectorEvent(instance) {\n !ngDevMode && throwError('Injector profiler should never be called in production mode');\n injectorProfiler({\n type: 1 /* InjectorProfilerEventType.InstanceCreatedByInjector */,\n context: getInjectorProfilerContext(),\n instance: {\n value: instance\n }\n });\n}\n/**\n * @param token DI token associated with injected service\n * @param value the instance of the injected service (i.e the result of `inject(token)`)\n * @param flags the flags that the token was injected with\n */\nfunction emitInjectEvent(token, value, flags) {\n !ngDevMode && throwError('Injector profiler should never be called in production mode');\n injectorProfiler({\n type: 0 /* InjectorProfilerEventType.Inject */,\n context: getInjectorProfilerContext(),\n service: {\n token,\n value,\n flags\n }\n });\n}\nfunction emitEffectCreatedEvent(effect) {\n !ngDevMode && throwError('Injector profiler should never be called in production mode');\n injectorProfiler({\n type: 3 /* InjectorProfilerEventType.EffectCreated */,\n context: getInjectorProfilerContext(),\n effect\n });\n}\nfunction runInInjectorProfilerContext(injector, token, callback) {\n !ngDevMode && throwError('runInInjectorProfilerContext should never be called in production mode');\n const prevInjectContext = setInjectorProfilerContext({\n injector,\n token\n });\n try {\n callback();\n } finally {\n setInjectorProfilerContext(prevInjectContext);\n }\n}\nfunction isEnvironmentProviders(value) {\n return value && !!value.ɵproviders;\n}\nconst NG_COMP_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵcmp: getClosureSafeProperty\n});\nconst NG_DIR_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵdir: getClosureSafeProperty\n});\nconst NG_PIPE_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵpipe: getClosureSafeProperty\n});\nconst NG_MOD_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵmod: getClosureSafeProperty\n});\nconst NG_FACTORY_DEF = /*#__PURE__*/getClosureSafeProperty({\n ɵfac: getClosureSafeProperty\n});\n/**\n * If a directive is diPublic, bloomAdd sets a property on the type with this constant as\n * the key and the directive's unique ID as the value. This allows us to map directives to their\n * bloom filter bit for DI.\n */\n// TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.\nconst NG_ELEMENT_ID = /*#__PURE__*/getClosureSafeProperty({\n __NG_ELEMENT_ID__: getClosureSafeProperty\n});\n/**\n * The `NG_ENV_ID` field on a DI token indicates special processing in the `EnvironmentInjector`:\n * getting such tokens from the `EnvironmentInjector` will bypass the standard DI resolution\n * strategy and instead will return implementation produced by the `NG_ENV_ID` factory function.\n *\n * This particular retrieval of DI tokens is mostly done to eliminate circular dependencies and\n * improve tree-shaking.\n */\nconst NG_ENV_ID = /*#__PURE__*/getClosureSafeProperty({\n __NG_ENV_ID__: getClosureSafeProperty\n});\n\n/**\n * Used for stringify render output in Ivy.\n * Important! This function is very performance-sensitive and we should\n * be extra careful not to introduce megamorphic reads in it.\n * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations.\n */\nfunction renderStringify(value) {\n if (typeof value === 'string') return value;\n if (value == null) return '';\n // Use `String` so that it invokes the `toString` method of the value. Note that this\n // appears to be faster than calling `value.toString` (see `render_stringify` benchmark).\n return String(value);\n}\n/**\n * Used to stringify a value so that it can be displayed in an error message.\n *\n * Important! This function contains a megamorphic read and should only be\n * used for error messages.\n */\nfunction stringifyForError(value) {\n if (typeof value === 'function') return value.name || value.toString();\n if (typeof value === 'object' && value != null && typeof value.type === 'function') {\n return value.type.name || value.type.toString();\n }\n return renderStringify(value);\n}\n/**\n * Used to stringify a `Type` and including the file path and line number in which it is defined, if\n * possible, for better debugging experience.\n *\n * Important! This function contains a megamorphic read and should only be used for error messages.\n */\nfunction debugStringifyTypeForError(type) {\n // TODO(pmvald): Do some refactoring so that we can use getComponentDef here without creating\n // circular deps.\n let componentDef = type[NG_COMP_DEF] || null;\n if (componentDef !== null && componentDef.debugInfo) {\n return stringifyTypeFromDebugInfo(componentDef.debugInfo);\n }\n return stringifyForError(type);\n}\n// TODO(pmvald): Do some refactoring so that we can use the type ClassDebugInfo for the param\n// debugInfo here without creating circular deps.\nfunction stringifyTypeFromDebugInfo(debugInfo) {\n if (!debugInfo.filePath || !debugInfo.lineNumber) {\n return debugInfo.className;\n } else {\n return `${debugInfo.className} (at ${debugInfo.filePath}:${debugInfo.lineNumber})`;\n }\n}\n\n/** Called when directives inject each other (creating a circular dependency) */\nfunction throwCyclicDependencyError(token, path) {\n const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';\n throw new RuntimeError(-200 /* RuntimeErrorCode.CYCLIC_DI_DEPENDENCY */, ngDevMode ? `Circular dependency in DI detected for ${token}${depPath}` : token);\n}\nfunction throwMixedMultiProviderError() {\n throw new Error(`Cannot mix multi providers and regular providers`);\n}\nfunction throwInvalidProviderError(ngModuleType, providers, provider) {\n if (ngModuleType && providers) {\n const providerDetail = providers.map(v => v == provider ? '?' + provider + '?' : '...');\n throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`);\n } else if (isEnvironmentProviders(provider)) {\n if (provider.ɵfromNgModule) {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`);\n } else {\n throw new RuntimeError(207 /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */, `Invalid providers present in a non-environment injector. 'EnvironmentProviders' can't be used for component providers.`);\n }\n } else {\n throw new Error('Invalid provider');\n }\n}\n/** Throws an error when a token is not found in DI. */\nfunction throwProviderNotFoundError(token, injectorName) {\n const errorMessage = ngDevMode && `No provider for ${stringifyForError(token)} found${injectorName ? ` in ${injectorName}` : ''}`;\n throw new RuntimeError(-201 /* RuntimeErrorCode.PROVIDER_NOT_FOUND */, errorMessage);\n}\n\n/**\n * Injection flags for DI.\n *\n * @publicApi\n * @deprecated use an options object for [`inject`](api/core/inject) instead.\n */\nvar InjectFlags = /*#__PURE__*/function (InjectFlags) {\n // TODO(alxhub): make this 'const' (and remove `InternalInjectFlags` enum) when ngc no longer\n // writes exports of it into ngfactory files.\n /** Check self and check parent injector if needed */\n InjectFlags[InjectFlags[\"Default\"] = 0] = \"Default\";\n /**\n * Specifies that an injector should retrieve a dependency from any injector until reaching the\n * host element of the current component. (Only used with Element Injector)\n */\n InjectFlags[InjectFlags[\"Host\"] = 1] = \"Host\";\n /** Don't ascend to ancestors of the node requesting injection. */\n InjectFlags[InjectFlags[\"Self\"] = 2] = \"Self\";\n /** Skip the node that is requesting injection. */\n InjectFlags[InjectFlags[\"SkipSelf\"] = 4] = \"SkipSelf\";\n /** Inject `defaultValue` instead if token not found. */\n InjectFlags[InjectFlags[\"Optional\"] = 8] = \"Optional\";\n return InjectFlags;\n}(InjectFlags || {});\n/**\n * Current implementation of inject.\n *\n * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed\n * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this\n * way for two reasons:\n * 1. `Injector` should not depend on ivy logic.\n * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.\n */\nlet _injectImplementation;\nfunction getInjectImplementation() {\n return _injectImplementation;\n}\n/**\n * Sets the current inject implementation.\n */\nfunction setInjectImplementation(impl) {\n const previous = _injectImplementation;\n _injectImplementation = impl;\n return previous;\n}\n/**\n * Injects `root` tokens in limp mode.\n *\n * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to\n * `\"root\"`. This is known as the limp mode injection. In such case the value is stored in the\n * injectable definition.\n */\nfunction injectRootLimpMode(token, notFoundValue, flags) {\n const injectableDef = getInjectableDef(token);\n if (injectableDef && injectableDef.providedIn == 'root') {\n return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() : injectableDef.value;\n }\n if (flags & InjectFlags.Optional) return null;\n if (notFoundValue !== undefined) return notFoundValue;\n throwProviderNotFoundError(token, 'Injector');\n}\n/**\n * Assert that `_injectImplementation` is not `fn`.\n *\n * This is useful, to prevent infinite recursion.\n *\n * @param fn Function which it should not equal to\n */\nfunction assertInjectImplementationNotEqual(fn) {\n ngDevMode && assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');\n}\nconst _THROW_IF_NOT_FOUND = {};\nconst THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n/*\n * Name of a property (that we patch onto DI decorator), which is used as an annotation of which\n * InjectFlag this decorator represents. This allows to avoid direct references to the DI decorators\n * in the code, thus making them tree-shakable.\n */\nconst DI_DECORATOR_FLAG = '__NG_DI_FLAG__';\nconst NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';\nconst NG_TOKEN_PATH = 'ngTokenPath';\nconst NEW_LINE = /\\n/gm;\nconst NO_NEW_LINE = 'ɵ';\nconst SOURCE = '__source';\n/**\n * Current injector value used by `inject`.\n * - `undefined`: it is an error to call `inject`\n * - `null`: `inject` can be called but there is no injector (limp-mode).\n * - Injector instance: Use the injector for resolution.\n */\nlet _currentInjector = undefined;\nfunction getCurrentInjector() {\n return _currentInjector;\n}\nfunction setCurrentInjector(injector) {\n const former = _currentInjector;\n _currentInjector = injector;\n return former;\n}\nfunction injectInjectorOnly(token, flags = InjectFlags.Default) {\n if (_currentInjector === undefined) {\n throw new RuntimeError(-203 /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */, ngDevMode && `inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with \\`runInInjectionContext\\`.`);\n } else if (_currentInjector === null) {\n return injectRootLimpMode(token, undefined, flags);\n } else {\n const value = _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);\n ngDevMode && emitInjectEvent(token, value, flags);\n return value;\n }\n}\nfunction ɵɵinject(token, flags = InjectFlags.Default) {\n return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags);\n}\n/**\n * Throws an error indicating that a factory function could not be generated by the compiler for a\n * particular class.\n *\n * The name of the class is not mentioned here, but will be in the generated factory function name\n * and thus in the stack trace.\n *\n * @codeGenApi\n */\nfunction ɵɵinvalidFactoryDep(index) {\n throw new RuntimeError(202 /* RuntimeErrorCode.INVALID_FACTORY_DEPENDENCY */, ngDevMode && `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.\nThis can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.\n\nPlease check that 1) the type for the parameter at index ${index} is correct and 2) the correct Angular decorators are defined for this class and its ancestors.`);\n}\n/**\n * Injects a token from the currently active injector.\n * `inject` is only supported in an [injection context](guide/di/dependency-injection-context). It\n * can be used during:\n * - Construction (via the `constructor`) of a class being instantiated by the DI system, such\n * as an `@Injectable` or `@Component`.\n * - In the initializer for fields of such classes.\n * - In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`.\n * - In the `factory` function specified for an `InjectionToken`.\n * - In a stackframe of a function call in a DI context\n *\n * @param token A token that represents a dependency that should be injected.\n * @param flags Optional flags that control how injection is executed.\n * The flags correspond to injection strategies that can be specified with\n * parameter decorators `@Host`, `@Self`, `@SkipSelf`, and `@Optional`.\n * @returns the injected value if operation is successful, `null` otherwise.\n * @throws if called outside of a supported context.\n *\n * @usageNotes\n * In practice the `inject()` calls are allowed in a constructor, a constructor parameter and a\n * field initializer:\n *\n * ```ts\n * @Injectable({providedIn: 'root'})\n * export class Car {\n * radio: Radio|undefined;\n * // OK: field initializer\n * spareTyre = inject(Tyre);\n *\n * constructor() {\n * // OK: constructor body\n * this.radio = inject(Radio);\n * }\n * }\n * ```\n *\n * It is also legal to call `inject` from a provider's factory:\n *\n * ```ts\n * providers: [\n * {provide: Car, useFactory: () => {\n * // OK: a class factory\n * const engine = inject(Engine);\n * return new Car(engine);\n * }}\n * ]\n * ```\n *\n * Calls to the `inject()` function outside of the class creation context will result in error. Most\n * notably, calls to `inject()` are disallowed after a class instance was created, in methods\n * (including lifecycle hooks):\n *\n * ```ts\n * @Component({ ... })\n * export class CarComponent {\n * ngOnInit() {\n * // ERROR: too late, the component instance was already created\n * const engine = inject(Engine);\n * engine.start();\n * }\n * }\n * ```\n *\n * @publicApi\n */\nfunction inject(token, flags = InjectFlags.Default) {\n // The `as any` here _shouldn't_ be necessary, but without it JSCompiler\n // throws a disambiguation error due to the multiple signatures.\n return ɵɵinject(token, convertToBitFlags(flags));\n}\n// Converts object-based DI flags (`InjectOptions`) to bit flags (`InjectFlags`).\nfunction convertToBitFlags(flags) {\n if (typeof flags === 'undefined' || typeof flags === 'number') {\n return flags;\n }\n // While TypeScript doesn't accept it without a cast, bitwise OR with false-y values in\n // JavaScript is a no-op. We can use that for a very codesize-efficient conversion from\n // `InjectOptions` to `InjectFlags`.\n return 0 /* InternalInjectFlags.Default */ | (\n // comment to force a line break in the formatter\n flags.optional && 8 /* InternalInjectFlags.Optional */) | (flags.host && 1 /* InternalInjectFlags.Host */) | (flags.self && 2 /* InternalInjectFlags.Self */) | (flags.skipSelf && 4 /* InternalInjectFlags.SkipSelf */);\n}\nfunction injectArgs(types) {\n const args = [];\n for (let i = 0; i < types.length; i++) {\n const arg = resolveForwardRef(types[i]);\n if (Array.isArray(arg)) {\n if (arg.length === 0) {\n throw new RuntimeError(900 /* RuntimeErrorCode.INVALID_DIFFER_INPUT */, ngDevMode && 'Arguments array must have arguments.');\n }\n let type = undefined;\n let flags = InjectFlags.Default;\n for (let j = 0; j < arg.length; j++) {\n const meta = arg[j];\n const flag = getInjectFlag(meta);\n if (typeof flag === 'number') {\n // Special case when we handle @Inject decorator.\n if (flag === -1 /* DecoratorFlags.Inject */) {\n type = meta.token;\n } else {\n flags |= flag;\n }\n } else {\n type = meta;\n }\n }\n args.push(ɵɵinject(type, flags));\n } else {\n args.push(ɵɵinject(arg));\n }\n }\n return args;\n}\n/**\n * Attaches a given InjectFlag to a given decorator using monkey-patching.\n * Since DI decorators can be used in providers `deps` array (when provider is configured using\n * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we\n * attach the flag to make it available both as a static property and as a field on decorator\n * instance.\n *\n * @param decorator Provided DI decorator.\n * @param flag InjectFlag that should be applied.\n */\nfunction attachInjectFlag(decorator, flag) {\n decorator[DI_DECORATOR_FLAG] = flag;\n decorator.prototype[DI_DECORATOR_FLAG] = flag;\n return decorator;\n}\n/**\n * Reads monkey-patched property that contains InjectFlag attached to a decorator.\n *\n * @param token Token that may contain monkey-patched DI flags property.\n */\nfunction getInjectFlag(token) {\n return token[DI_DECORATOR_FLAG];\n}\nfunction catchInjectorError(e, token, injectorErrorName, source) {\n const tokenPath = e[NG_TEMP_TOKEN_PATH];\n if (token[SOURCE]) {\n tokenPath.unshift(token[SOURCE]);\n }\n e.message = formatError('\\n' + e.message, tokenPath, injectorErrorName, source);\n e[NG_TOKEN_PATH] = tokenPath;\n e[NG_TEMP_TOKEN_PATH] = null;\n throw e;\n}\nfunction formatError(text, obj, injectorErrorName, source = null) {\n text = text && text.charAt(0) === '\\n' && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text;\n let context = stringify(obj);\n if (Array.isArray(obj)) {\n context = obj.map(stringify).join(' -> ');\n } else if (typeof obj === 'object') {\n let parts = [];\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n let value = obj[key];\n parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));\n }\n }\n context = `{${parts.join(', ')}}`;\n }\n return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\\n ')}`;\n}\n\n/**\n * Inject decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Inject = /*#__PURE__*/attachInjectFlag(\n/*#__PURE__*/\n// Disable tslint because `DecoratorFlags` is a const enum which gets inlined.\nmakeParamDecorator('Inject', token => ({\n token\n})), -1 /* DecoratorFlags.Inject */);\n/**\n * Optional decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Optional =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(/*#__PURE__*/makeParamDecorator('Optional'), 8 /* InternalInjectFlags.Optional */);\n/**\n * Self decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Self =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(/*#__PURE__*/makeParamDecorator('Self'), 2 /* InternalInjectFlags.Self */);\n/**\n * `SkipSelf` decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst SkipSelf =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(/*#__PURE__*/makeParamDecorator('SkipSelf'), 4 /* InternalInjectFlags.SkipSelf */);\n/**\n * Host decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Host =\n/*#__PURE__*/\n// Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.\n// tslint:disable-next-line: no-toplevel-property-access\nattachInjectFlag(/*#__PURE__*/makeParamDecorator('Host'), 1 /* InternalInjectFlags.Host */);\nfunction getFactoryDef(type, throwNotFound) {\n const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);\n if (!hasFactoryDef && throwNotFound === true && ngDevMode) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);\n }\n return hasFactoryDef ? type[NG_FACTORY_DEF] : null;\n}\n\n/**\n * Determines if the contents of two arrays is identical\n *\n * @param a first array\n * @param b second array\n * @param identityAccessor Optional function for extracting stable object identity from a value in\n * the array.\n */\nfunction arrayEquals(a, b, identityAccessor) {\n if (a.length !== b.length) return false;\n for (let i = 0; i < a.length; i++) {\n let valueA = a[i];\n let valueB = b[i];\n if (identityAccessor) {\n valueA = identityAccessor(valueA);\n valueB = identityAccessor(valueB);\n }\n if (valueB !== valueA) {\n return false;\n }\n }\n return true;\n}\n/**\n * Flattens an array.\n */\nfunction flatten(list) {\n return list.flat(Number.POSITIVE_INFINITY);\n}\nfunction deepForEach(input, fn) {\n input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));\n}\nfunction addToArray(arr, index, value) {\n // perf: array.push is faster than array.splice!\n if (index >= arr.length) {\n arr.push(value);\n } else {\n arr.splice(index, 0, value);\n }\n}\nfunction removeFromArray(arr, index) {\n // perf: array.pop is faster than array.splice!\n if (index >= arr.length - 1) {\n return arr.pop();\n } else {\n return arr.splice(index, 1)[0];\n }\n}\nfunction newArray(size, value) {\n const list = [];\n for (let i = 0; i < size; i++) {\n list.push(value);\n }\n return list;\n}\n/**\n * Remove item from array (Same as `Array.splice()` but faster.)\n *\n * `Array.splice()` is not as fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * https://jsperf.com/fast-array-splice (About 20x faster)\n *\n * @param array Array to splice\n * @param index Index of element in array to remove.\n * @param count Number of items to remove.\n */\nfunction arraySplice(array, index, count) {\n const length = array.length - count;\n while (index < length) {\n array[index] = array[index + count];\n index++;\n }\n while (count--) {\n array.pop(); // shrink the array\n }\n}\n/**\n * Same as `Array.splice(index, 0, value)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value Value to add to array.\n */\nfunction arrayInsert(array, index, value) {\n ngDevMode && assertLessThanOrEqual(index, array.length, \"Can't insert past array end.\");\n let end = array.length;\n while (end > index) {\n const previousEnd = end - 1;\n array[end] = array[previousEnd];\n end = previousEnd;\n }\n array[index] = value;\n}\n/**\n * Same as `Array.splice2(index, 0, value1, value2)` but faster.\n *\n * `Array.splice()` is not fast because it has to allocate an array for the elements which were\n * removed. This causes memory pressure and slows down code when most of the time we don't\n * care about the deleted items array.\n *\n * @param array Array to splice.\n * @param index Index in array where the `value` should be added.\n * @param value1 Value to add to array.\n * @param value2 Value to add to array.\n */\nfunction arrayInsert2(array, index, value1, value2) {\n ngDevMode && assertLessThanOrEqual(index, array.length, \"Can't insert past array end.\");\n let end = array.length;\n if (end == index) {\n // inserting at the end.\n array.push(value1, value2);\n } else if (end === 1) {\n // corner case when we have less items in array than we have items to insert.\n array.push(value2, array[0]);\n array[0] = value1;\n } else {\n end--;\n array.push(array[end - 1], array[end]);\n while (end > index) {\n const previousEnd = end - 2;\n array[end] = array[previousEnd];\n end--;\n }\n array[index] = value1;\n array[index + 1] = value2;\n }\n}\n/**\n * Get an index of an `value` in a sorted `array`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * located)\n */\nfunction arrayIndexOfSorted(array, value) {\n return _arrayIndexOfSorted(array, value, 0);\n}\n/**\n * Set a `value` for a `key`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or create.\n * @param value The value to set for a `key`.\n * @returns index (always even) of where the value vas set.\n */\nfunction keyValueArraySet(keyValueArray, key, value) {\n let index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it set it.\n keyValueArray[index | 1] = value;\n } else {\n index = ~index;\n arrayInsert2(keyValueArray, index, key, value);\n }\n return index;\n}\n/**\n * Retrieve a `value` for a `key` (on `undefined` if not found.)\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @return The `value` stored at the `key` location or `undefined if not found.\n */\nfunction keyValueArrayGet(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it retrieve it.\n return keyValueArray[index | 1];\n }\n return undefined;\n}\n/**\n * Retrieve a `key` index value in the array or `-1` if not found.\n *\n * @param keyValueArray to search.\n * @param key The key to locate.\n * @returns index of where the key is (or should have been.)\n * - positive (even) index if key found.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been inserted.)\n */\nfunction keyValueArrayIndexOf(keyValueArray, key) {\n return _arrayIndexOfSorted(keyValueArray, key, 1);\n}\n/**\n * Delete a `key` (and `value`) from the `KeyValueArray`.\n *\n * @param keyValueArray to modify.\n * @param key The key to locate or delete (if exist).\n * @returns index of where the key was (or should have been.)\n * - positive (even) index if key found and deleted.\n * - negative index if key not found. (`~index` (even) to get the index where it should have\n * been.)\n */\nfunction keyValueArrayDelete(keyValueArray, key) {\n const index = keyValueArrayIndexOf(keyValueArray, key);\n if (index >= 0) {\n // if we found it remove it.\n arraySplice(keyValueArray, index, 2);\n }\n return index;\n}\n/**\n * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.\n *\n * NOTE:\n * - This uses binary search algorithm for fast removals.\n *\n * @param array A sorted array to binary search.\n * @param value The value to look for.\n * @param shift grouping shift.\n * - `0` means look at every location\n * - `1` means only look at every other (even) location (the odd locations are to be ignored as\n * they are values.)\n * @returns index of the value.\n * - positive index if value found.\n * - negative index if value not found. (`~index` to get the value where it should have been\n * inserted)\n */\nfunction _arrayIndexOfSorted(array, value, shift) {\n ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');\n let start = 0;\n let end = array.length >> shift;\n while (end !== start) {\n const middle = start + (end - start >> 1); // find the middle.\n const current = array[middle << shift];\n if (value === current) {\n return middle << shift;\n } else if (current > value) {\n end = middle;\n } else {\n start = middle + 1; // We already searched middle so make it non-inclusive by adding 1\n }\n }\n return ~(end << shift);\n}\n\n/**\n * This file contains reuseable \"empty\" symbols that can be used as default return values\n * in different parts of the rendering code. Because the same symbols are returned, this\n * allows for identity checks against these values to be consistently used by the framework\n * code.\n */\nconst EMPTY_OBJ = {};\nconst EMPTY_ARRAY = [];\n// freezing the values prevents any code from accidentally inserting new values in\nif ((typeof ngDevMode === 'undefined' || ngDevMode) && /*#__PURE__*/initNgDevMode()) {\n // These property accesses can be ignored because ngDevMode will be set to false\n // when optimizing code and the whole if statement will be dropped.\n // tslint:disable-next-line:no-toplevel-property-access\n /*#__PURE__*/Object.freeze(EMPTY_OBJ);\n // tslint:disable-next-line:no-toplevel-property-access\n /*#__PURE__*/Object.freeze(EMPTY_ARRAY);\n}\n\n/**\n * A multi-provider token for initialization functions that will run upon construction of an\n * environment injector.\n *\n * @deprecated from v19.0.0, use provideEnvironmentInitializer instead\n *\n * @see {@link provideEnvironmentInitializer}\n *\n * Note: As opposed to the `APP_INITIALIZER` token, the `ENVIRONMENT_INITIALIZER` functions are not awaited,\n * hence they should not be `async`.\n *\n * @publicApi\n */\nconst ENVIRONMENT_INITIALIZER = /*#__PURE__*/new InjectionToken(ngDevMode ? 'ENVIRONMENT_INITIALIZER' : '');\n\n/**\n * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.\n *\n * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a\n * project.\n *\n * @publicApi\n */\nconst INJECTOR$1 = /*#__PURE__*/new InjectionToken(ngDevMode ? 'INJECTOR' : '',\n// Disable tslint because this is const enum which gets inlined not top level prop access.\n// tslint:disable-next-line: no-toplevel-property-access\n-1 /* InjectorMarkers.Injector */);\nconst INJECTOR_DEF_TYPES = /*#__PURE__*/new InjectionToken(ngDevMode ? 'INJECTOR_DEF_TYPES' : '');\nclass NullInjector {\n get(token, notFoundValue = THROW_IF_NOT_FOUND) {\n if (notFoundValue === THROW_IF_NOT_FOUND) {\n const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);\n error.name = 'NullInjectorError';\n throw error;\n }\n return notFoundValue;\n }\n}\nfunction getNgModuleDef(type, throwNotFound) {\n const ngModuleDef = type[NG_MOD_DEF] || null;\n if (!ngModuleDef && throwNotFound === true) {\n throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);\n }\n return ngModuleDef;\n}\n/**\n * The following getter methods retrieve the definition from the type. Currently the retrieval\n * honors inheritance, but in the future we may change the rule to require that definitions are\n * explicit. This would require some sort of migration strategy.\n */\nfunction getComponentDef(type) {\n return type[NG_COMP_DEF] || null;\n}\nfunction getDirectiveDef(type) {\n return type[NG_DIR_DEF] || null;\n}\nfunction getPipeDef$1(type) {\n return type[NG_PIPE_DEF] || null;\n}\n/**\n * Checks whether a given Component, Directive or Pipe is marked as standalone.\n * This will return false if passed anything other than a Component, Directive, or Pipe class\n * See [this guide](guide/components/importing) for additional information:\n *\n * @param type A reference to a Component, Directive or Pipe.\n * @publicApi\n */\nfunction isStandalone(type) {\n const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);\n return def !== null && def.standalone;\n}\n\n/**\n * Wrap an array of `Provider`s into `EnvironmentProviders`, preventing them from being accidentally\n * referenced in `@Component` in a component injector.\n */\nfunction makeEnvironmentProviders(providers) {\n return {\n ɵproviders: providers\n };\n}\n/**\n * @description\n * This function is used to provide initialization functions that will be executed upon construction\n * of an environment injector.\n *\n * Note that the provided initializer is run in the injection context.\n *\n * Previously, this was achieved using the `ENVIRONMENT_INITIALIZER` token which is now deprecated.\n *\n * @see {@link ENVIRONMENT_INITIALIZER}\n *\n * @usageNotes\n * The following example illustrates how to configure an initialization function using\n * `provideEnvironmentInitializer()`\n * ```ts\n * createEnvironmentInjector(\n * [\n * provideEnvironmentInitializer(() => {\n * console.log('environment initialized');\n * }),\n * ],\n * parentInjector\n * );\n * ```\n *\n * @publicApi\n */\nfunction provideEnvironmentInitializer(initializerFn) {\n return makeEnvironmentProviders([{\n provide: ENVIRONMENT_INITIALIZER,\n multi: true,\n useValue: initializerFn\n }]);\n}\n/**\n * Collects providers from all NgModules and standalone components, including transitively imported\n * ones.\n *\n * Providers extracted via `importProvidersFrom` are only usable in an application injector or\n * another environment injector (such as a route injector). They should not be used in component\n * providers.\n *\n * More information about standalone components can be found in [this\n * guide](guide/components/importing).\n *\n * @usageNotes\n * The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:\n *\n * ```ts\n * await bootstrapApplication(RootComponent, {\n * providers: [\n * importProvidersFrom(NgModuleOne, NgModuleTwo)\n * ]\n * });\n * ```\n *\n * You can also use the `importProvidersFrom` results in the `providers` field of a route, when a\n * standalone component is used:\n *\n * ```ts\n * export const ROUTES: Route[] = [\n * {\n * path: 'foo',\n * providers: [\n * importProvidersFrom(NgModuleOne, NgModuleTwo)\n * ],\n * component: YourStandaloneComponent\n * }\n * ];\n * ```\n *\n * @returns Collected providers from the specified list of types.\n * @publicApi\n */\nfunction importProvidersFrom(...sources) {\n return {\n ɵproviders: internalImportProvidersFrom(true, sources),\n ɵfromNgModule: true\n };\n}\nfunction internalImportProvidersFrom(checkForStandaloneCmp, ...sources) {\n const providersOut = [];\n const dedup = new Set(); // already seen types\n let injectorTypesWithProviders;\n const collectProviders = provider => {\n providersOut.push(provider);\n };\n deepForEach(sources, source => {\n if ((typeof ngDevMode === 'undefined' || ngDevMode) && checkForStandaloneCmp) {\n const cmpDef = getComponentDef(source);\n if (cmpDef?.standalone) {\n throw new RuntimeError(800 /* RuntimeErrorCode.IMPORT_PROVIDERS_FROM_STANDALONE */, `Importing providers supports NgModule or ModuleWithProviders but got a standalone component \"${stringifyForError(source)}\"`);\n }\n }\n // Narrow `source` to access the internal type analogue for `ModuleWithProviders`.\n const internalSource = source;\n if (walkProviderTree(internalSource, collectProviders, [], dedup)) {\n injectorTypesWithProviders ||= [];\n injectorTypesWithProviders.push(internalSource);\n }\n });\n // Collect all providers from `ModuleWithProviders` types.\n if (injectorTypesWithProviders !== undefined) {\n processInjectorTypesWithProviders(injectorTypesWithProviders, collectProviders);\n }\n return providersOut;\n}\n/**\n * Collects all providers from the list of `ModuleWithProviders` and appends them to the provided\n * array.\n */\nfunction processInjectorTypesWithProviders(typesWithProviders, visitor) {\n for (let i = 0; i < typesWithProviders.length; i++) {\n const {\n ngModule,\n providers\n } = typesWithProviders[i];\n deepForEachProvider(providers, provider => {\n ngDevMode && validateProvider(provider, providers || EMPTY_ARRAY, ngModule);\n visitor(provider, ngModule);\n });\n }\n}\n/**\n * The logic visits an `InjectorType`, an `InjectorTypeWithProviders`, or a standalone\n * `ComponentType`, and all of its transitive providers and collects providers.\n *\n * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,\n * the function will return \"true\" to indicate that the providers of the type definition need\n * to be processed. This allows us to process providers of injector types after all imports of\n * an injector definition are processed. (following View Engine semantics: see FW-1349)\n */\nfunction walkProviderTree(container, visitor, parents, dedup) {\n container = resolveForwardRef(container);\n if (!container) return false;\n // The actual type which had the definition. Usually `container`, but may be an unwrapped type\n // from `InjectorTypeWithProviders`.\n let defType = null;\n let injDef = getInjectorDef(container);\n const cmpDef = !injDef && getComponentDef(container);\n if (!injDef && !cmpDef) {\n // `container` is not an injector type or a component type. It might be:\n // * An `InjectorTypeWithProviders` that wraps an injector type.\n // * A standalone directive or pipe that got pulled in from a standalone component's\n // dependencies.\n // Try to unwrap it as an `InjectorTypeWithProviders` first.\n const ngModule = container.ngModule;\n injDef = getInjectorDef(ngModule);\n if (injDef) {\n defType = ngModule;\n } else {\n // Not a component or injector type, so ignore it.\n return false;\n }\n } else if (cmpDef && !cmpDef.standalone) {\n return false;\n } else {\n defType = container;\n }\n // Check for circular dependencies.\n if (ngDevMode && parents.indexOf(defType) !== -1) {\n const defName = stringify(defType);\n const path = parents.map(stringify);\n throwCyclicDependencyError(defName, path);\n }\n // Check for multiple imports of the same module\n const isDuplicate = dedup.has(defType);\n if (cmpDef) {\n if (isDuplicate) {\n // This component definition has already been processed.\n return false;\n }\n dedup.add(defType);\n if (cmpDef.dependencies) {\n const deps = typeof cmpDef.dependencies === 'function' ? cmpDef.dependencies() : cmpDef.dependencies;\n for (const dep of deps) {\n walkProviderTree(dep, visitor, parents, dedup);\n }\n }\n } else if (injDef) {\n // First, include providers from any imports.\n if (injDef.imports != null && !isDuplicate) {\n // Before processing defType's imports, add it to the set of parents. This way, if it ends\n // up deeply importing itself, this can be detected.\n ngDevMode && parents.push(defType);\n // Add it to the set of dedups. This way we can detect multiple imports of the same module\n dedup.add(defType);\n let importTypesWithProviders;\n try {\n deepForEach(injDef.imports, imported => {\n if (walkProviderTree(imported, visitor, parents, dedup)) {\n importTypesWithProviders ||= [];\n // If the processed import is an injector type with providers, we store it in the\n // list of import types with providers, so that we can process those afterwards.\n importTypesWithProviders.push(imported);\n }\n });\n } finally {\n // Remove it from the parents set when finished.\n ngDevMode && parents.pop();\n }\n // Imports which are declared with providers (TypeWithProviders) need to be processed\n // after all imported modules are processed. This is similar to how View Engine\n // processes/merges module imports in the metadata resolver. See: FW-1349.\n if (importTypesWithProviders !== undefined) {\n processInjectorTypesWithProviders(importTypesWithProviders, visitor);\n }\n }\n if (!isDuplicate) {\n // Track the InjectorType and add a provider for it.\n // It's important that this is done after the def's imports.\n const factory = getFactoryDef(defType) || (() => new defType());\n // Append extra providers to make more info available for consumers (to retrieve an injector\n // type), as well as internally (to calculate an injection scope correctly and eagerly\n // instantiate a `defType` when an injector is created).\n // Provider to create `defType` using its factory.\n visitor({\n provide: defType,\n useFactory: factory,\n deps: EMPTY_ARRAY\n }, defType);\n // Make this `defType` available to an internal logic that calculates injector scope.\n visitor({\n provide: INJECTOR_DEF_TYPES,\n useValue: defType,\n multi: true\n }, defType);\n // Provider to eagerly instantiate `defType` via `INJECTOR_INITIALIZER`.\n visitor({\n provide: ENVIRONMENT_INITIALIZER,\n useValue: () => ɵɵinject(defType),\n multi: true\n }, defType);\n }\n // Next, include providers listed on the definition itself.\n const defProviders = injDef.providers;\n if (defProviders != null && !isDuplicate) {\n const injectorType = container;\n deepForEachProvider(defProviders, provider => {\n ngDevMode && validateProvider(provider, defProviders, injectorType);\n visitor(provider, injectorType);\n });\n }\n } else {\n // Should not happen, but just in case.\n return false;\n }\n return defType !== container && container.providers !== undefined;\n}\nfunction validateProvider(provider, providers, containerType) {\n if (isTypeProvider(provider) || isValueProvider(provider) || isFactoryProvider(provider) || isExistingProvider(provider)) {\n return;\n }\n // Here we expect the provider to be a `useClass` provider (by elimination).\n const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));\n if (!classRef) {\n throwInvalidProviderError(containerType, providers, provider);\n }\n}\nfunction deepForEachProvider(providers, fn) {\n for (let provider of providers) {\n if (isEnvironmentProviders(provider)) {\n provider = provider.ɵproviders;\n }\n if (Array.isArray(provider)) {\n deepForEachProvider(provider, fn);\n } else {\n fn(provider);\n }\n }\n}\nconst USE_VALUE$1 = /*#__PURE__*/getClosureSafeProperty({\n provide: String,\n useValue: getClosureSafeProperty\n});\nfunction isValueProvider(value) {\n return value !== null && typeof value == 'object' && USE_VALUE$1 in value;\n}\nfunction isExistingProvider(value) {\n return !!(value && value.useExisting);\n}\nfunction isFactoryProvider(value) {\n return !!(value && value.useFactory);\n}\nfunction isTypeProvider(value) {\n return typeof value === 'function';\n}\nfunction isClassProvider(value) {\n return !!value.useClass;\n}\n\n/**\n * An internal token whose presence in an injector indicates that the injector should treat itself\n * as a root scoped injector when processing requests for unknown tokens which may indicate\n * they are provided in the root scope.\n */\nconst INJECTOR_SCOPE = /*#__PURE__*/new InjectionToken(ngDevMode ? 'Set Injector scope.' : '');\n\n/**\n * Marker which indicates that a value has not yet been created from the factory function.\n */\nconst NOT_YET = {};\n/**\n * Marker which indicates that the factory function for a token is in the process of being called.\n *\n * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates\n * injection of a dependency has recursively attempted to inject the original token, and there is\n * a circular dependency among the providers.\n */\nconst CIRCULAR = {};\n/**\n * A lazily initialized NullInjector.\n */\nlet NULL_INJECTOR = undefined;\nfunction getNullInjector() {\n if (NULL_INJECTOR === undefined) {\n NULL_INJECTOR = new NullInjector();\n }\n return NULL_INJECTOR;\n}\n/**\n * An `Injector` that's part of the environment injector hierarchy, which exists outside of the\n * component tree.\n */\nclass EnvironmentInjector {}\nclass R3Injector extends EnvironmentInjector {\n parent;\n source;\n scopes;\n /**\n * Map of tokens to records which contain the instances of those tokens.\n * - `null` value implies that we don't have the record. Used by tree-shakable injectors\n * to prevent further searches.\n */\n records = /*#__PURE__*/new Map();\n /**\n * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.\n */\n _ngOnDestroyHooks = /*#__PURE__*/new Set();\n _onDestroyHooks = [];\n /**\n * Flag indicating that this injector was previously destroyed.\n */\n get destroyed() {\n return this._destroyed;\n }\n _destroyed = false;\n injectorDefTypes;\n constructor(providers, parent, source, scopes) {\n super();\n this.parent = parent;\n this.source = source;\n this.scopes = scopes;\n // Start off by creating Records for every provider.\n forEachSingleProvider(providers, provider => this.processProvider(provider));\n // Make sure the INJECTOR token provides this injector.\n this.records.set(INJECTOR$1, makeRecord(undefined, this));\n // And `EnvironmentInjector` if the current injector is supposed to be env-scoped.\n if (scopes.has('environment')) {\n this.records.set(EnvironmentInjector, makeRecord(undefined, this));\n }\n // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide\n // any injectable scoped to APP_ROOT_SCOPE.\n const record = this.records.get(INJECTOR_SCOPE);\n if (record != null && typeof record.value === 'string') {\n this.scopes.add(record.value);\n }\n this.injectorDefTypes = new Set(this.get(INJECTOR_DEF_TYPES, EMPTY_ARRAY, InjectFlags.Self));\n }\n /**\n * Destroy the injector and release references to every instance or provider associated with it.\n *\n * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a\n * hook was found.\n */\n destroy() {\n assertNotDestroyed(this);\n // Set destroyed = true first, in case lifecycle hooks re-enter destroy().\n this._destroyed = true;\n const prevConsumer = setActiveConsumer$1(null);\n try {\n // Call all the lifecycle hooks.\n for (const service of this._ngOnDestroyHooks) {\n service.ngOnDestroy();\n }\n const onDestroyHooks = this._onDestroyHooks;\n // Reset the _onDestroyHooks array before iterating over it to prevent hooks that unregister\n // themselves from mutating the array during iteration.\n this._onDestroyHooks = [];\n for (const hook of onDestroyHooks) {\n hook();\n }\n } finally {\n // Release all references.\n this.records.clear();\n this._ngOnDestroyHooks.clear();\n this.injectorDefTypes.clear();\n setActiveConsumer$1(prevConsumer);\n }\n }\n onDestroy(callback) {\n assertNotDestroyed(this);\n this._onDestroyHooks.push(callback);\n return () => this.removeOnDestroy(callback);\n }\n runInContext(fn) {\n assertNotDestroyed(this);\n const previousInjector = setCurrentInjector(this);\n const previousInjectImplementation = setInjectImplementation(undefined);\n let prevInjectContext;\n if (ngDevMode) {\n prevInjectContext = setInjectorProfilerContext({\n injector: this,\n token: null\n });\n }\n try {\n return fn();\n } finally {\n setCurrentInjector(previousInjector);\n setInjectImplementation(previousInjectImplementation);\n ngDevMode && setInjectorProfilerContext(prevInjectContext);\n }\n }\n get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) {\n assertNotDestroyed(this);\n if (token.hasOwnProperty(NG_ENV_ID)) {\n return token[NG_ENV_ID](this);\n }\n flags = convertToBitFlags(flags);\n // Set the injection context.\n let prevInjectContext;\n if (ngDevMode) {\n prevInjectContext = setInjectorProfilerContext({\n injector: this,\n token: token\n });\n }\n const previousInjector = setCurrentInjector(this);\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n // Check for the SkipSelf flag.\n if (!(flags & InjectFlags.SkipSelf)) {\n // SkipSelf isn't set, check if the record belongs to this injector.\n let record = this.records.get(token);\n if (record === undefined) {\n // No record, but maybe the token is scoped to this injector. Look for an injectable\n // def with a scope matching this injector.\n const def = couldBeInjectableType(token) && getInjectableDef(token);\n if (def && this.injectableDefInScope(def)) {\n // Found an injectable def and it's scoped to this injector. Pretend as if it was here\n // all along.\n if (ngDevMode) {\n runInInjectorProfilerContext(this, token, () => {\n emitProviderConfiguredEvent(token);\n });\n }\n record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);\n } else {\n record = null;\n }\n this.records.set(token, record);\n }\n // If a record was found, get the instance for it and return it.\n if (record != null /* NOT null || undefined */) {\n return this.hydrate(token, record);\n }\n }\n // Select the next injector based on the Self flag - if self is set, the next injector is\n // the NullInjector, otherwise it's the parent.\n const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector();\n // Set the notFoundValue based on the Optional flag - if optional is set and notFoundValue\n // is undefined, the value is null, otherwise it's the notFoundValue.\n notFoundValue = flags & InjectFlags.Optional && notFoundValue === THROW_IF_NOT_FOUND ? null : notFoundValue;\n return nextInjector.get(token, notFoundValue);\n } catch (e) {\n if (e.name === 'NullInjectorError') {\n const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];\n path.unshift(stringify(token));\n if (previousInjector) {\n // We still have a parent injector, keep throwing\n throw e;\n } else {\n // Format & throw the final error message when we don't have any previous injector\n return catchInjectorError(e, token, 'R3InjectorError', this.source);\n }\n } else {\n throw e;\n }\n } finally {\n // Lastly, restore the previous injection context.\n setInjectImplementation(previousInjectImplementation);\n setCurrentInjector(previousInjector);\n ngDevMode && setInjectorProfilerContext(prevInjectContext);\n }\n }\n /** @internal */\n resolveInjectorInitializers() {\n const prevConsumer = setActiveConsumer$1(null);\n const previousInjector = setCurrentInjector(this);\n const previousInjectImplementation = setInjectImplementation(undefined);\n let prevInjectContext;\n if (ngDevMode) {\n prevInjectContext = setInjectorProfilerContext({\n injector: this,\n token: null\n });\n }\n try {\n const initializers = this.get(ENVIRONMENT_INITIALIZER, EMPTY_ARRAY, InjectFlags.Self);\n if (ngDevMode && !Array.isArray(initializers)) {\n throw new RuntimeError(-209 /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */, 'Unexpected type of the `ENVIRONMENT_INITIALIZER` token value ' + `(expected an array, but got ${typeof initializers}). ` + 'Please check that the `ENVIRONMENT_INITIALIZER` token is configured as a ' + '`multi: true` provider.');\n }\n for (const initializer of initializers) {\n initializer();\n }\n } finally {\n setCurrentInjector(previousInjector);\n setInjectImplementation(previousInjectImplementation);\n ngDevMode && setInjectorProfilerContext(prevInjectContext);\n setActiveConsumer$1(prevConsumer);\n }\n }\n toString() {\n const tokens = [];\n const records = this.records;\n for (const token of records.keys()) {\n tokens.push(stringify(token));\n }\n return `R3Injector[${tokens.join(', ')}]`;\n }\n /**\n * Process a `SingleProvider` and add it.\n */\n processProvider(provider) {\n // Determine the token from the provider. Either it's its own token, or has a {provide: ...}\n // property.\n provider = resolveForwardRef(provider);\n let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide);\n // Construct a `Record` for the provider.\n const record = providerToRecord(provider);\n if (ngDevMode) {\n runInInjectorProfilerContext(this, token, () => {\n // Emit InjectorProfilerEventType.Create if provider is a value provider because\n // these are the only providers that do not go through the value hydration logic\n // where this event would normally be emitted from.\n if (isValueProvider(provider)) {\n emitInstanceCreatedByInjectorEvent(provider.useValue);\n }\n emitProviderConfiguredEvent(provider);\n });\n }\n if (!isTypeProvider(provider) && provider.multi === true) {\n // If the provider indicates that it's a multi-provider, process it specially.\n // First check whether it's been defined already.\n let multiRecord = this.records.get(token);\n if (multiRecord) {\n // It has. Throw a nice error if\n if (ngDevMode && multiRecord.multi === undefined) {\n throwMixedMultiProviderError();\n }\n } else {\n multiRecord = makeRecord(undefined, NOT_YET, true);\n multiRecord.factory = () => injectArgs(multiRecord.multi);\n this.records.set(token, multiRecord);\n }\n token = provider;\n multiRecord.multi.push(provider);\n } else {\n if (ngDevMode) {\n const existing = this.records.get(token);\n if (existing && existing.multi !== undefined) {\n throwMixedMultiProviderError();\n }\n }\n }\n this.records.set(token, record);\n }\n hydrate(token, record) {\n const prevConsumer = setActiveConsumer$1(null);\n try {\n if (ngDevMode && record.value === CIRCULAR) {\n throwCyclicDependencyError(stringify(token));\n } else if (record.value === NOT_YET) {\n record.value = CIRCULAR;\n if (ngDevMode) {\n runInInjectorProfilerContext(this, token, () => {\n record.value = record.factory();\n emitInstanceCreatedByInjectorEvent(record.value);\n });\n } else {\n record.value = record.factory();\n }\n }\n if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {\n this._ngOnDestroyHooks.add(record.value);\n }\n return record.value;\n } finally {\n setActiveConsumer$1(prevConsumer);\n }\n }\n injectableDefInScope(def) {\n if (!def.providedIn) {\n return false;\n }\n const providedIn = resolveForwardRef(def.providedIn);\n if (typeof providedIn === 'string') {\n return providedIn === 'any' || this.scopes.has(providedIn);\n } else {\n return this.injectorDefTypes.has(providedIn);\n }\n }\n removeOnDestroy(callback) {\n const destroyCBIdx = this._onDestroyHooks.indexOf(callback);\n if (destroyCBIdx !== -1) {\n this._onDestroyHooks.splice(destroyCBIdx, 1);\n }\n }\n}\nfunction injectableDefOrInjectorDefFactory(token) {\n // Most tokens will have an injectable def directly on them, which specifies a factory directly.\n const injectableDef = getInjectableDef(token);\n const factory = injectableDef !== null ? injectableDef.factory : getFactoryDef(token);\n if (factory !== null) {\n return factory;\n }\n // InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.\n // If it's missing that, it's an error.\n if (token instanceof InjectionToken) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);\n }\n // Undecorated types can sometimes be created if they have no constructor arguments.\n if (token instanceof Function) {\n return getUndecoratedInjectableFactory(token);\n }\n // There was no way to resolve a factory for this token.\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && 'unreachable');\n}\nfunction getUndecoratedInjectableFactory(token) {\n // If the token has parameters then it has dependencies that we cannot resolve implicitly.\n const paramLength = token.length;\n if (paramLength > 0) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${newArray(paramLength, '?').join(', ')}).`);\n }\n // The constructor function appears to have no parameters.\n // This might be because it inherits from a super-class. In which case, use an injectable\n // def from an ancestor if there is one.\n // Otherwise this really is a simple class with no dependencies, so return a factory that\n // just instantiates the zero-arg constructor.\n const inheritedInjectableDef = getInheritedInjectableDef(token);\n if (inheritedInjectableDef !== null) {\n return () => inheritedInjectableDef.factory(token);\n } else {\n return () => new token();\n }\n}\nfunction providerToRecord(provider) {\n if (isValueProvider(provider)) {\n return makeRecord(undefined, provider.useValue);\n } else {\n const factory = providerToFactory(provider);\n return makeRecord(factory, NOT_YET);\n }\n}\n/**\n * Converts a `SingleProvider` into a factory function.\n *\n * @param provider provider to convert to factory\n */\nfunction providerToFactory(provider, ngModuleType, providers) {\n let factory = undefined;\n if (ngDevMode && isEnvironmentProviders(provider)) {\n throwInvalidProviderError(undefined, providers, provider);\n }\n if (isTypeProvider(provider)) {\n const unwrappedProvider = resolveForwardRef(provider);\n return getFactoryDef(unwrappedProvider) || injectableDefOrInjectorDefFactory(unwrappedProvider);\n } else {\n if (isValueProvider(provider)) {\n factory = () => resolveForwardRef(provider.useValue);\n } else if (isFactoryProvider(provider)) {\n factory = () => provider.useFactory(...injectArgs(provider.deps || []));\n } else if (isExistingProvider(provider)) {\n factory = () => ɵɵinject(resolveForwardRef(provider.useExisting));\n } else {\n const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));\n if (ngDevMode && !classRef) {\n throwInvalidProviderError(ngModuleType, providers, provider);\n }\n if (hasDeps(provider)) {\n factory = () => new classRef(...injectArgs(provider.deps));\n } else {\n return getFactoryDef(classRef) || injectableDefOrInjectorDefFactory(classRef);\n }\n }\n }\n return factory;\n}\nfunction assertNotDestroyed(injector) {\n if (injector.destroyed) {\n throw new RuntimeError(205 /* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED */, ngDevMode && 'Injector has already been destroyed.');\n }\n}\nfunction makeRecord(factory, value, multi = false) {\n return {\n factory: factory,\n value: value,\n multi: multi ? [] : undefined\n };\n}\nfunction hasDeps(value) {\n return !!value.deps;\n}\nfunction hasOnDestroy(value) {\n return value !== null && typeof value === 'object' && typeof value.ngOnDestroy === 'function';\n}\nfunction couldBeInjectableType(value) {\n return typeof value === 'function' || typeof value === 'object' && value instanceof InjectionToken;\n}\nfunction forEachSingleProvider(providers, fn) {\n for (const provider of providers) {\n if (Array.isArray(provider)) {\n forEachSingleProvider(provider, fn);\n } else if (provider && isEnvironmentProviders(provider)) {\n forEachSingleProvider(provider.ɵproviders, fn);\n } else {\n fn(provider);\n }\n }\n}\n\n/**\n * Runs the given function in the [context](guide/di/dependency-injection-context) of the given\n * `Injector`.\n *\n * Within the function's stack frame, [`inject`](api/core/inject) can be used to inject dependencies\n * from the given `Injector`. Note that `inject` is only usable synchronously, and cannot be used in\n * any asynchronous callbacks or after any `await` points.\n *\n * @param injector the injector which will satisfy calls to [`inject`](api/core/inject) while `fn`\n * is executing\n * @param fn the closure to be run in the context of `injector`\n * @returns the return value of the function, if any\n * @publicApi\n */\nfunction runInInjectionContext(injector, fn) {\n if (injector instanceof R3Injector) {\n assertNotDestroyed(injector);\n }\n let prevInjectorProfilerContext;\n if (ngDevMode) {\n prevInjectorProfilerContext = setInjectorProfilerContext({\n injector,\n token: null\n });\n }\n const prevInjector = setCurrentInjector(injector);\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n return fn();\n } finally {\n setCurrentInjector(prevInjector);\n ngDevMode && setInjectorProfilerContext(prevInjectorProfilerContext);\n setInjectImplementation(previousInjectImplementation);\n }\n}\n/**\n * Whether the current stack frame is inside an injection context.\n */\nfunction isInInjectionContext() {\n return getInjectImplementation() !== undefined || getCurrentInjector() != null;\n}\n/**\n * Asserts that the current stack frame is within an [injection\n * context](guide/di/dependency-injection-context) and has access to `inject`.\n *\n * @param debugFn a reference to the function making the assertion (used for the error message).\n *\n * @publicApi\n */\nfunction assertInInjectionContext(debugFn) {\n // Taking a `Function` instead of a string name here prevents the unminified name of the function\n // from being retained in the bundle regardless of minification.\n if (!isInInjectionContext()) {\n throw new RuntimeError(-203 /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */, ngDevMode && debugFn.name + '() can only be used within an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`');\n }\n}\nvar FactoryTarget = /*#__PURE__*/function (FactoryTarget) {\n FactoryTarget[FactoryTarget[\"Directive\"] = 0] = \"Directive\";\n FactoryTarget[FactoryTarget[\"Component\"] = 1] = \"Component\";\n FactoryTarget[FactoryTarget[\"Injectable\"] = 2] = \"Injectable\";\n FactoryTarget[FactoryTarget[\"Pipe\"] = 3] = \"Pipe\";\n FactoryTarget[FactoryTarget[\"NgModule\"] = 4] = \"NgModule\";\n return FactoryTarget;\n}(FactoryTarget || {});\nvar R3TemplateDependencyKind = /*#__PURE__*/function (R3TemplateDependencyKind) {\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"Directive\"] = 0] = \"Directive\";\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"Pipe\"] = 1] = \"Pipe\";\n R3TemplateDependencyKind[R3TemplateDependencyKind[\"NgModule\"] = 2] = \"NgModule\";\n return R3TemplateDependencyKind;\n}(R3TemplateDependencyKind || {});\nvar ViewEncapsulation$1 = /*#__PURE__*/function (ViewEncapsulation) {\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n ViewEncapsulation[ViewEncapsulation[\"ShadowDom\"] = 3] = \"ShadowDom\";\n return ViewEncapsulation;\n}(ViewEncapsulation$1 || {});\nfunction getCompilerFacade(request) {\n const globalNg = _global['ng'];\n if (globalNg && globalNg.ɵcompilerFacade) {\n return globalNg.ɵcompilerFacade;\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n // Log the type as an error so that a developer can easily navigate to the type from the\n // console.\n console.error(`JIT compilation failed for ${request.kind}`, request.type);\n let message = `The ${request.kind} '${request.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\\n\\n`;\n if (request.usage === 1 /* JitCompilerUsage.PartialDeclaration */) {\n message += `The ${request.kind} is part of a library that has been partially compiled.\\n`;\n message += `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\\n`;\n message += '\\n';\n message += `Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\\n`;\n } else {\n message += `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\\n`;\n }\n message += `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\\n`;\n message += `or manually provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.`;\n throw new Error(message);\n } else {\n throw new Error('JIT compiler unavailable');\n }\n}\n\n/**\n * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.\n *\n * This should be kept up to date with the public exports of @angular/core.\n */\nconst angularCoreDiEnv = {\n 'ɵɵdefineInjectable': ɵɵdefineInjectable,\n 'ɵɵdefineInjector': ɵɵdefineInjector,\n 'ɵɵinject': ɵɵinject,\n 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,\n 'resolveForwardRef': resolveForwardRef\n};\n\n/**\n * @description\n *\n * Represents a type that a Component or other object is instances of.\n *\n * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by\n * the `MyCustomComponent` constructor function.\n *\n * @publicApi\n */\nconst Type = Function;\nfunction isType(v) {\n return typeof v === 'function';\n}\n\n/*\n * #########################\n * Attention: These Regular expressions have to hold even if the code is minified!\n * ##########################\n */\n/**\n * Regular expression that detects pass-through constructors for ES5 output. This Regex\n * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also\n * it intends to capture the pattern where existing constructors have been downleveled from\n * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.\n *\n * ```ts\n * function MyClass() {\n * var _this = _super.apply(this, arguments) || this;\n * ```\n *\n * downleveled to ES5 with `downlevelIteration` for TypeScript < 4.2:\n * ```ts\n * function MyClass() {\n * var _this = _super.apply(this, __spread(arguments)) || this;\n * ```\n *\n * or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:\n * ```ts\n * function MyClass() {\n * var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;\n * ```\n *\n * More details can be found in: https://github.com/angular/angular/issues/38453.\n */\nconst ES5_DELEGATE_CTOR = /^function\\s+\\S+\\(\\)\\s*{[\\s\\S]+\\.apply\\(this,\\s*(arguments|(?:[^()]+\\(\\[\\],)?[^()]+\\(arguments\\).*)\\)/;\n/** Regular expression that detects ES2015 classes which extend from other classes. */\nconst ES2015_INHERITED_CLASS = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes and\n * have an explicit constructor defined.\n */\nconst ES2015_INHERITED_CLASS_WITH_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(/;\n/**\n * Regular expression that detects ES2015 classes which extend from other classes\n * and inherit a constructor.\n */\nconst ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\\s+[A-Za-z\\d$_]*\\s*extends\\s+[^{]+{[\\s\\S]*constructor\\s*\\(\\)\\s*{[^}]*super\\(\\.\\.\\.arguments\\)/;\n/**\n * Determine whether a stringified type is a class which delegates its constructor\n * to its parent.\n *\n * This is not trivial since compiled code can actually contain a constructor function\n * even if the original source code did not. For instance, when the child class contains\n * an initialized instance property.\n */\nfunction isDelegateCtor(typeStr) {\n return ES5_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR.test(typeStr) || ES2015_INHERITED_CLASS.test(typeStr) && !ES2015_INHERITED_CLASS_WITH_CTOR.test(typeStr);\n}\nclass ReflectionCapabilities {\n _reflect;\n constructor(reflect) {\n this._reflect = reflect || _global['Reflect'];\n }\n factory(t) {\n return (...args) => new t(...args);\n }\n /** @internal */\n _zipTypesAndAnnotations(paramTypes, paramAnnotations) {\n let result;\n if (typeof paramTypes === 'undefined') {\n result = newArray(paramAnnotations.length);\n } else {\n result = newArray(paramTypes.length);\n }\n for (let i = 0; i < result.length; i++) {\n // TS outputs Object for parameters without types, while Traceur omits\n // the annotations. For now we preserve the Traceur behavior to aid\n // migration, but this can be revisited.\n if (typeof paramTypes === 'undefined') {\n result[i] = [];\n } else if (paramTypes[i] && paramTypes[i] != Object) {\n result[i] = [paramTypes[i]];\n } else {\n result[i] = [];\n }\n if (paramAnnotations && paramAnnotations[i] != null) {\n result[i] = result[i].concat(paramAnnotations[i]);\n }\n }\n return result;\n }\n _ownParameters(type, parentCtor) {\n const typeStr = type.toString();\n // If we have no decorators, we only have function.length as metadata.\n // In that case, to detect whether a child class declared an own constructor or not,\n // we need to look inside of that constructor to check whether it is\n // just calling the parent.\n // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439\n // that sets 'design:paramtypes' to []\n // if a class inherits from another class but has no ctor declared itself.\n if (isDelegateCtor(typeStr)) {\n return null;\n }\n // Prefer the direct API.\n if (type.parameters && type.parameters !== parentCtor.parameters) {\n return type.parameters;\n }\n // API of tsickle for lowering decorators to properties on the class.\n const tsickleCtorParams = type.ctorParameters;\n if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {\n // Newer tsickle uses a function closure\n // Retain the non-function case for compatibility with older tsickle\n const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n const paramTypes = ctorParameters.map(ctorParam => ctorParam && ctorParam.type);\n const paramAnnotations = ctorParameters.map(ctorParam => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // API for metadata created by invoking the decorators.\n const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];\n const paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata('design:paramtypes', type);\n if (paramTypes || paramAnnotations) {\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // If a class has no decorators, at least create metadata\n // based on function.length.\n // Note: We know that this is a real constructor as we checked\n // the content of the constructor above.\n return newArray(type.length);\n }\n parameters(type) {\n // Note: only report metadata if we have at least one class decorator\n // to stay in sync with the static reflector.\n if (!isType(type)) {\n return [];\n }\n const parentCtor = getParentCtor(type);\n let parameters = this._ownParameters(type, parentCtor);\n if (!parameters && parentCtor !== Object) {\n parameters = this.parameters(parentCtor);\n }\n return parameters || [];\n }\n _ownAnnotations(typeOrFunc, parentCtor) {\n // Prefer the direct API.\n if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {\n let annotations = typeOrFunc.annotations;\n if (typeof annotations === 'function' && annotations.annotations) {\n annotations = annotations.annotations;\n }\n return annotations;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {\n return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n }\n // API for metadata created by invoking the decorators.\n if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {\n return typeOrFunc[ANNOTATIONS];\n }\n return null;\n }\n annotations(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return [];\n }\n const parentCtor = getParentCtor(typeOrFunc);\n const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];\n const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];\n return parentAnnotations.concat(ownAnnotations);\n }\n _ownPropMetadata(typeOrFunc, parentCtor) {\n // Prefer the direct API.\n if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) {\n let propMetadata = typeOrFunc.propMetadata;\n if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n propMetadata = propMetadata.propMetadata;\n }\n return propMetadata;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) {\n const propDecorators = typeOrFunc.propDecorators;\n const propMetadata = {};\n Object.keys(propDecorators).forEach(prop => {\n propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);\n });\n return propMetadata;\n }\n // API for metadata created by invoking the decorators.\n if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {\n return typeOrFunc[PROP_METADATA];\n }\n return null;\n }\n propMetadata(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return {};\n }\n const parentCtor = getParentCtor(typeOrFunc);\n const propMetadata = {};\n if (parentCtor !== Object) {\n const parentPropMetadata = this.propMetadata(parentCtor);\n Object.keys(parentPropMetadata).forEach(propName => {\n propMetadata[propName] = parentPropMetadata[propName];\n });\n }\n const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);\n if (ownPropMetadata) {\n Object.keys(ownPropMetadata).forEach(propName => {\n const decorators = [];\n if (propMetadata.hasOwnProperty(propName)) {\n decorators.push(...propMetadata[propName]);\n }\n decorators.push(...ownPropMetadata[propName]);\n propMetadata[propName] = decorators;\n });\n }\n return propMetadata;\n }\n ownPropMetadata(typeOrFunc) {\n if (!isType(typeOrFunc)) {\n return {};\n }\n return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};\n }\n hasLifecycleHook(type, lcProperty) {\n return type instanceof Type && lcProperty in type.prototype;\n }\n}\nfunction convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n if (!decoratorInvocations) {\n return [];\n }\n return decoratorInvocations.map(decoratorInvocation => {\n const decoratorType = decoratorInvocation.type;\n const annotationCls = decoratorType.annotationCls;\n const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n return new annotationCls(...annotationArgs);\n });\n}\nfunction getParentCtor(ctor) {\n const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;\n const parentCtor = parentProto ? parentProto.constructor : null;\n // Note: We always use `Object` as the null value\n // to simplify checking later on.\n return parentCtor || Object;\n}\n\n// Below are constants for LView indices to help us look up LView members\n// without having to remember the specific indices.\n// Uglify will inline these when minifying so there shouldn't be a cost.\nconst HOST = 0;\nconst TVIEW = 1;\n// Shared with LContainer\nconst FLAGS = 2;\nconst PARENT = 3;\nconst NEXT = 4;\nconst T_HOST = 5;\n// End shared with LContainer\nconst HYDRATION = 6;\nconst CLEANUP = 7;\nconst CONTEXT = 8;\nconst INJECTOR = 9;\nconst ENVIRONMENT = 10;\nconst RENDERER = 11;\nconst CHILD_HEAD = 12;\nconst CHILD_TAIL = 13;\n// FIXME(misko): Investigate if the three declarations aren't all same thing.\nconst DECLARATION_VIEW = 14;\nconst DECLARATION_COMPONENT_VIEW = 15;\nconst DECLARATION_LCONTAINER = 16;\nconst PREORDER_HOOK_FLAGS = 17;\nconst QUERIES = 18;\nconst ID = 19;\nconst EMBEDDED_VIEW_INJECTOR = 20;\nconst ON_DESTROY_HOOKS = 21;\nconst EFFECTS_TO_SCHEDULE = 22;\nconst EFFECTS = 23;\nconst REACTIVE_TEMPLATE_CONSUMER = 24;\n/**\n * Size of LView's header. Necessary to adjust for it when setting slots.\n *\n * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate\n * instruction index into `LView` index. All other indexes should be in the `LView` index space and\n * there should be no need to refer to `HEADER_OFFSET` anywhere else.\n */\nconst HEADER_OFFSET = 25;\n\n/**\n * Special location which allows easy identification of type. If we have an array which was\n * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is\n * `LContainer`.\n */\nconst TYPE = 1;\n/**\n * Below are constants for LContainer indices to help us look up LContainer members\n * without having to remember the specific indices.\n * Uglify will inline these when minifying so there shouldn't be a cost.\n */\n// FLAGS, PARENT, NEXT, and T_HOST are indices 2, 3, 4, and 5\n// As we already have these constants in LView, we don't need to re-create them.\nconst DEHYDRATED_VIEWS = 6;\nconst NATIVE = 7;\nconst VIEW_REFS = 8;\nconst MOVED_VIEWS = 9;\n/**\n * Size of LContainer's header. Represents the index after which all views in the\n * container will be inserted. We need to keep a record of current views so we know\n * which views are already in the DOM (and don't need to be re-added) and so we can\n * remove views from the DOM when they are no longer required.\n */\nconst CONTAINER_HEADER_OFFSET = 10;\n\n/**\n * True if `value` is `LView`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLView(value) {\n return Array.isArray(value) && typeof value[TYPE] === 'object';\n}\n/**\n * True if `value` is `LContainer`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction isLContainer(value) {\n return Array.isArray(value) && value[TYPE] === true;\n}\nfunction isContentQueryHost(tNode) {\n return (tNode.flags & 4 /* TNodeFlags.hasContentQuery */) !== 0;\n}\nfunction isComponentHost(tNode) {\n return tNode.componentOffset > -1;\n}\nfunction isDirectiveHost(tNode) {\n return (tNode.flags & 1 /* TNodeFlags.isDirectiveHost */) === 1 /* TNodeFlags.isDirectiveHost */;\n}\nfunction isComponentDef(def) {\n return !!def.template;\n}\nfunction isRootView(target) {\n // Determines whether a given LView is marked as a root view.\n return (target[FLAGS] & 512 /* LViewFlags.IsRoot */) !== 0;\n}\nfunction isProjectionTNode(tNode) {\n return (tNode.type & 16 /* TNodeType.Projection */) === 16 /* TNodeType.Projection */;\n}\nfunction hasI18n(lView) {\n return (lView[FLAGS] & 32 /* LViewFlags.HasI18n */) === 32 /* LViewFlags.HasI18n */;\n}\nfunction isDestroyed(lView) {\n // Determines whether a given LView is marked as destroyed.\n return (lView[FLAGS] & 256 /* LViewFlags.Destroyed */) === 256 /* LViewFlags.Destroyed */;\n}\n\n// [Assert functions do not constraint type when they are guarded by a truthy\n// expression.](https://github.com/microsoft/TypeScript/issues/37295)\nfunction assertTNodeForLView(tNode, lView) {\n assertTNodeForTView(tNode, lView[TVIEW]);\n}\nfunction assertTNodeForTView(tNode, tView) {\n assertTNode(tNode);\n const tData = tView.data;\n for (let i = HEADER_OFFSET; i < tData.length; i++) {\n if (tData[i] === tNode) {\n return;\n }\n }\n throwError('This TNode does not belong to this TView.');\n}\nfunction assertTNode(tNode) {\n assertDefined(tNode, 'TNode must be defined');\n if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) {\n throwError('Not of type TNode, got: ' + tNode);\n }\n}\nfunction assertTIcu(tIcu) {\n assertDefined(tIcu, 'Expected TIcu to be defined');\n if (!(typeof tIcu.currentCaseLViewIndex === 'number')) {\n throwError('Object is not of TIcu type.');\n }\n}\nfunction assertComponentType(actual, msg = \"Type passed in is not ComponentType, it does not have 'ɵcmp' property.\") {\n if (!getComponentDef(actual)) {\n throwError(msg);\n }\n}\nfunction assertNgModuleType(actual, msg = \"Type passed in is not NgModuleType, it does not have 'ɵmod' property.\") {\n if (!getNgModuleDef(actual)) {\n throwError(msg);\n }\n}\nfunction assertCurrentTNodeIsParent(isParent) {\n assertEqual(isParent, true, 'currentTNode should be a parent');\n}\nfunction assertHasParent(tNode) {\n assertDefined(tNode, 'currentTNode should exist!');\n assertDefined(tNode.parent, 'currentTNode should have a parent');\n}\nfunction assertLContainer(value) {\n assertDefined(value, 'LContainer must be defined');\n assertEqual(isLContainer(value), true, 'Expecting LContainer');\n}\nfunction assertLViewOrUndefined(value) {\n value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');\n}\nfunction assertLView(value) {\n assertDefined(value, 'LView must be defined');\n assertEqual(isLView(value), true, 'Expecting LView');\n}\nfunction assertFirstCreatePass(tView, errMessage) {\n assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');\n}\nfunction assertFirstUpdatePass(tView, errMessage) {\n assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');\n}\n/**\n * This is a basic sanity check that an object is probably a directive def. DirectiveDef is\n * an interface, so we can't do a direct instanceof check.\n */\nfunction assertDirectiveDef(obj) {\n if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {\n throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);\n }\n}\nfunction assertIndexInDeclRange(tView, index) {\n assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index);\n}\nfunction assertIndexInExpandoRange(lView, index) {\n const tView = lView[1];\n assertBetween(tView.expandoStartIndex, lView.length, index);\n}\nfunction assertBetween(lower, upper, index) {\n if (!(lower <= index && index < upper)) {\n throwError(`Index out of range (expecting ${lower} <= ${index} < ${upper})`);\n }\n}\nfunction assertProjectionSlots(lView, errMessage) {\n assertDefined(lView[DECLARATION_COMPONENT_VIEW], 'Component views should exist.');\n assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, errMessage || 'Components with projection nodes () must have projection slots defined.');\n}\nfunction assertParentView(lView, errMessage) {\n assertDefined(lView, errMessage || \"Component views should always have a parent view (component's host view)\");\n}\nfunction assertNoDuplicateDirectives$1(directives) {\n // The array needs at least two elements in order to have duplicates.\n if (directives.length < 2) {\n return;\n }\n const seenDirectives = new Set();\n for (const current of directives) {\n if (seenDirectives.has(current)) {\n throw new RuntimeError(309 /* RuntimeErrorCode.DUPLICATE_DIRECTIVE */, `Directive ${current.type.name} matches multiple times on the same element. ` + `Directives can only match an element once.`);\n }\n seenDirectives.add(current);\n }\n}\n/**\n * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a\n * NodeInjector data structure.\n *\n * @param lView `LView` which should be checked.\n * @param injectorIndex index into the `LView` where the `NodeInjector` is expected.\n */\nfunction assertNodeInjector(lView, injectorIndex) {\n assertIndexInExpandoRange(lView, injectorIndex);\n assertIndexInExpandoRange(lView, injectorIndex + 8 /* NodeInjectorOffset.PARENT */);\n assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter');\n assertNumber(lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */], 'injectorIndex should point to parent injector');\n}\n\n/**\n * Represents a basic change from a previous to a new value for a single\n * property on a directive instance. Passed as a value in a\n * {@link SimpleChanges} object to the `ngOnChanges` hook.\n *\n * @see {@link OnChanges}\n *\n * @publicApi\n */\nclass SimpleChange {\n previousValue;\n currentValue;\n firstChange;\n constructor(previousValue, currentValue, firstChange) {\n this.previousValue = previousValue;\n this.currentValue = currentValue;\n this.firstChange = firstChange;\n }\n /**\n * Check whether the new value is the first value assigned.\n */\n isFirstChange() {\n return this.firstChange;\n }\n}\nfunction applyValueToInputField(instance, inputSignalNode, privateName, value) {\n if (inputSignalNode !== null) {\n inputSignalNode.applyValueToInputSignal(inputSignalNode, value);\n } else {\n instance[privateName] = value;\n }\n}\n\n/**\n * The NgOnChangesFeature decorates a component with support for the ngOnChanges\n * lifecycle hook, so it should be included in any component that implements\n * that hook.\n *\n * If the component or directive uses inheritance, the NgOnChangesFeature MUST\n * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise\n * inherited properties will not be propagated to the ngOnChanges lifecycle\n * hook.\n *\n * Example usage:\n *\n * ```ts\n * static ɵcmp = defineComponent({\n * ...\n * inputs: {name: 'publicName'},\n * features: [NgOnChangesFeature]\n * });\n * ```\n *\n * @codeGenApi\n */\nconst ɵɵNgOnChangesFeature = /* @__PURE__ */(() => {\n const ɵɵNgOnChangesFeatureImpl = () => NgOnChangesFeatureImpl;\n // This option ensures that the ngOnChanges lifecycle hook will be inherited\n // from superclasses (in InheritDefinitionFeature).\n /** @nocollapse */\n ɵɵNgOnChangesFeatureImpl.ngInherit = true;\n return ɵɵNgOnChangesFeatureImpl;\n})();\nfunction NgOnChangesFeatureImpl(definition) {\n if (definition.type.prototype.ngOnChanges) {\n definition.setInput = ngOnChangesSetInput;\n }\n return rememberChangeHistoryAndInvokeOnChangesHook;\n}\n/**\n * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate\n * `ngOnChanges`.\n *\n * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are\n * found it invokes `ngOnChanges` on the component instance.\n *\n * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,\n * it is guaranteed to be called with component instance.\n */\nfunction rememberChangeHistoryAndInvokeOnChangesHook() {\n const simpleChangesStore = getSimpleChangesStore(this);\n const current = simpleChangesStore?.current;\n if (current) {\n const previous = simpleChangesStore.previous;\n if (previous === EMPTY_OBJ) {\n simpleChangesStore.previous = current;\n } else {\n // New changes are copied to the previous store, so that we don't lose history for inputs\n // which were not changed this time\n for (let key in current) {\n previous[key] = current[key];\n }\n }\n simpleChangesStore.current = null;\n this.ngOnChanges(current);\n }\n}\nfunction ngOnChangesSetInput(instance, inputSignalNode, value, publicName, privateName) {\n const declaredName = this.declaredInputs[publicName];\n ngDevMode && assertString(declaredName, 'Name of input in ngOnChanges has to be a string');\n const simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, {\n previous: EMPTY_OBJ,\n current: null\n });\n const current = simpleChangesStore.current || (simpleChangesStore.current = {});\n const previous = simpleChangesStore.previous;\n const previousChange = previous[declaredName];\n current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);\n applyValueToInputField(instance, inputSignalNode, privateName, value);\n}\nconst SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';\nfunction getSimpleChangesStore(instance) {\n return instance[SIMPLE_CHANGES_STORE] || null;\n}\nfunction setSimpleChangesStore(instance, store) {\n return instance[SIMPLE_CHANGES_STORE] = store;\n}\nlet profilerCallback = null;\n/**\n * Sets the callback function which will be invoked before and after performing certain actions at\n * runtime (for example, before and after running change detection).\n *\n * Warning: this function is *INTERNAL* and should not be relied upon in application's code.\n * The contract of the function might be changed in any release and/or the function can be removed\n * completely.\n *\n * @param profiler function provided by the caller or null value to disable profiling.\n */\nconst setProfiler = profiler => {\n profilerCallback = profiler;\n};\n/**\n * Profiler function which wraps user code executed by the runtime.\n *\n * @param event ProfilerEvent corresponding to the execution context\n * @param instance component instance\n * @param hookOrListener lifecycle hook function or output listener. The value depends on the\n * execution context\n * @returns\n */\nconst profiler = function (event, instance, hookOrListener) {\n if (profilerCallback != null /* both `null` and `undefined` */) {\n profilerCallback(event, instance, hookOrListener);\n }\n};\nconst SVG_NAMESPACE = 'svg';\nconst MATH_ML_NAMESPACE = 'math';\n\n/**\n * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)\n * in same location in `LView`. This is because we don't want to pre-allocate space for it\n * because the storage is sparse. This file contains utilities for dealing with such data types.\n *\n * How do we know what is stored at a given location in `LView`.\n * - `Array.isArray(value) === false` => `RNode` (The normal storage value)\n * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.\n * - `typeof value[TYPE] === 'object'` => `LView`\n * - This happens when we have a component at a given location\n * - `typeof value[TYPE] === true` => `LContainer`\n * - This happens when we have `LContainer` binding at a given location.\n *\n *\n * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.\n */\n/**\n * Returns `RNode`.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapRNode(value) {\n while (Array.isArray(value)) {\n value = value[HOST];\n }\n return value;\n}\n/**\n * Returns `LView` or `null` if not found.\n * @param value wrapped value of `RNode`, `LView`, `LContainer`\n */\nfunction unwrapLView(value) {\n while (Array.isArray(value)) {\n // This check is same as `isLView()` but we don't call at as we don't want to call\n // `Array.isArray()` twice and give JITer more work for inlining.\n if (typeof value[TYPE] === 'object') return value;\n value = value[HOST];\n }\n return null;\n}\n/**\n * Retrieves an element value from the provided `viewData`, by unwrapping\n * from any containers, component views, or style contexts.\n */\nfunction getNativeByIndex(index, lView) {\n ngDevMode && assertIndexInRange(lView, index);\n ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET');\n return unwrapRNode(lView[index]);\n}\n/**\n * Retrieve an `RNode` for a given `TNode` and `LView`.\n *\n * This function guarantees in dev mode to retrieve a non-null `RNode`.\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNode(tNode, lView) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n ngDevMode && assertIndexInRange(lView, tNode.index);\n const node = unwrapRNode(lView[tNode.index]);\n return node;\n}\n/**\n * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.\n *\n * Some `TNode`s don't have associated `RNode`s. For example `Projection`\n *\n * @param tNode\n * @param lView\n */\nfunction getNativeByTNodeOrNull(tNode, lView) {\n const index = tNode === null ? -1 : tNode.index;\n if (index !== -1) {\n ngDevMode && assertTNodeForLView(tNode, lView);\n const node = unwrapRNode(lView[index]);\n return node;\n }\n return null;\n}\n// fixme(misko): The return Type should be `TNode|null`\nfunction getTNode(tView, index) {\n ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');\n ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');\n const tNode = tView.data[index];\n ngDevMode && tNode !== null && assertTNode(tNode);\n return tNode;\n}\n/** Retrieves a value from any `LView` or `TData`. */\nfunction load(view, index) {\n ngDevMode && assertIndexInRange(view, index);\n return view[index];\n}\nfunction getComponentLViewByIndex(nodeIndex, hostView) {\n // Could be an LView or an LContainer. If LContainer, unwrap to find LView.\n ngDevMode && assertIndexInRange(hostView, nodeIndex);\n const slotValue = hostView[nodeIndex];\n const lView = isLView(slotValue) ? slotValue : slotValue[HOST];\n return lView;\n}\n/** Checks whether a given view is in creation mode */\nfunction isCreationMode(view) {\n return (view[FLAGS] & 4 /* LViewFlags.CreationMode */) === 4 /* LViewFlags.CreationMode */;\n}\n/**\n * Returns a boolean for whether the view is attached to the change detection tree.\n *\n * Note: This determines whether a view should be checked, not whether it's inserted\n * into a container. For that, you'll want `viewAttachedToContainer` below.\n */\nfunction viewAttachedToChangeDetector(view) {\n return (view[FLAGS] & 128 /* LViewFlags.Attached */) === 128 /* LViewFlags.Attached */;\n}\n/** Returns a boolean for whether the view is attached to a container. */\nfunction viewAttachedToContainer(view) {\n return isLContainer(view[PARENT]);\n}\nfunction getConstant(consts, index) {\n if (index === null || index === undefined) return null;\n ngDevMode && assertIndexInRange(consts, index);\n return consts[index];\n}\n/**\n * Resets the pre-order hook flags of the view.\n * @param lView the LView on which the flags are reset\n */\nfunction resetPreOrderHookFlags(lView) {\n lView[PREORDER_HOOK_FLAGS] = 0;\n}\n/**\n * Adds the `RefreshView` flag from the lView and updates HAS_CHILD_VIEWS_TO_REFRESH flag of\n * parents.\n */\nfunction markViewForRefresh(lView) {\n if (lView[FLAGS] & 1024 /* LViewFlags.RefreshView */) {\n return;\n }\n lView[FLAGS] |= 1024 /* LViewFlags.RefreshView */;\n if (viewAttachedToChangeDetector(lView)) {\n markAncestorsForTraversal(lView);\n }\n}\n/**\n * Walks up the LView hierarchy.\n * @param nestingLevel Number of times to walk up in hierarchy.\n * @param currentView View from which to start the lookup.\n */\nfunction walkUpViews(nestingLevel, currentView) {\n while (nestingLevel > 0) {\n ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');\n currentView = currentView[DECLARATION_VIEW];\n nestingLevel--;\n }\n return currentView;\n}\nfunction requiresRefreshOrTraversal(lView) {\n return !!(lView[FLAGS] & (1024 /* LViewFlags.RefreshView */ | 8192 /* LViewFlags.HasChildViewsToRefresh */) || lView[REACTIVE_TEMPLATE_CONSUMER]?.dirty);\n}\n/**\n * Updates the `HasChildViewsToRefresh` flag on the parents of the `LView` as well as the\n * parents above.\n */\nfunction updateAncestorTraversalFlagsOnAttach(lView) {\n lView[ENVIRONMENT].changeDetectionScheduler?.notify(9 /* NotificationSource.ViewAttached */);\n if (lView[FLAGS] & 64 /* LViewFlags.Dirty */) {\n lView[FLAGS] |= 1024 /* LViewFlags.RefreshView */;\n }\n if (requiresRefreshOrTraversal(lView)) {\n markAncestorsForTraversal(lView);\n }\n}\n/**\n * Ensures views above the given `lView` are traversed during change detection even when they are\n * not dirty.\n *\n * This is done by setting the `HAS_CHILD_VIEWS_TO_REFRESH` flag up to the root, stopping when the\n * flag is already `true` or the `lView` is detached.\n */\nfunction markAncestorsForTraversal(lView) {\n lView[ENVIRONMENT].changeDetectionScheduler?.notify(0 /* NotificationSource.MarkAncestorsForTraversal */);\n let parent = getLViewParent(lView);\n while (parent !== null) {\n // We stop adding markers to the ancestors once we reach one that already has the marker. This\n // is to avoid needlessly traversing all the way to the root when the marker already exists.\n if (parent[FLAGS] & 8192 /* LViewFlags.HasChildViewsToRefresh */) {\n break;\n }\n parent[FLAGS] |= 8192 /* LViewFlags.HasChildViewsToRefresh */;\n if (!viewAttachedToChangeDetector(parent)) {\n break;\n }\n parent = getLViewParent(parent);\n }\n}\n/**\n * Stores a LView-specific destroy callback.\n */\nfunction storeLViewOnDestroy(lView, onDestroyCallback) {\n if (isDestroyed(lView)) {\n throw new RuntimeError(911 /* RuntimeErrorCode.VIEW_ALREADY_DESTROYED */, ngDevMode && 'View has already been destroyed.');\n }\n if (lView[ON_DESTROY_HOOKS] === null) {\n lView[ON_DESTROY_HOOKS] = [];\n }\n lView[ON_DESTROY_HOOKS].push(onDestroyCallback);\n}\n/**\n * Removes previously registered LView-specific destroy callback.\n */\nfunction removeLViewOnDestroy(lView, onDestroyCallback) {\n if (lView[ON_DESTROY_HOOKS] === null) return;\n const destroyCBIdx = lView[ON_DESTROY_HOOKS].indexOf(onDestroyCallback);\n if (destroyCBIdx !== -1) {\n lView[ON_DESTROY_HOOKS].splice(destroyCBIdx, 1);\n }\n}\n/**\n * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of\n * that LContainer, which is an LView\n * @param lView the lView whose parent to get\n */\nfunction getLViewParent(lView) {\n ngDevMode && assertLView(lView);\n const parent = lView[PARENT];\n return isLContainer(parent) ? parent[PARENT] : parent;\n}\nfunction getOrCreateLViewCleanup(view) {\n // top level variables should not be exported for performance reasons (PERF_NOTES.md)\n return view[CLEANUP] ??= [];\n}\nfunction getOrCreateTViewCleanup(tView) {\n return tView.cleanup ??= [];\n}\n/**\n * Saves context for this cleanup function in LView.cleanupInstances.\n *\n * On the first template pass, saves in TView:\n * - Cleanup function\n * - Index of context we just saved in LView.cleanupInstances\n */\nfunction storeCleanupWithContext(tView, lView, context, cleanupFn) {\n const lCleanup = getOrCreateLViewCleanup(lView);\n // Historically the `storeCleanupWithContext` was used to register both framework-level and\n // user-defined cleanup callbacks, but over time those two types of cleanups were separated.\n // This dev mode checks assures that user-level cleanup callbacks are _not_ stored in data\n // structures reserved for framework-specific hooks.\n ngDevMode && assertDefined(context, 'Cleanup context is mandatory when registering framework-level destroy hooks');\n lCleanup.push(context);\n if (tView.firstCreatePass) {\n getOrCreateTViewCleanup(tView).push(cleanupFn, lCleanup.length - 1);\n } else {\n // Make sure that no new framework-level cleanup functions are registered after the first\n // template pass is done (and TView data structures are meant to fully constructed).\n if (ngDevMode) {\n Object.freeze(getOrCreateTViewCleanup(tView));\n }\n }\n}\nconst instructionState = {\n lFrame: /*#__PURE__*/createLFrame(null),\n bindingsEnabled: true,\n skipHydrationRootTNode: null\n};\nvar CheckNoChangesMode = /*#__PURE__*/function (CheckNoChangesMode) {\n CheckNoChangesMode[CheckNoChangesMode[\"Off\"] = 0] = \"Off\";\n CheckNoChangesMode[CheckNoChangesMode[\"Exhaustive\"] = 1] = \"Exhaustive\";\n CheckNoChangesMode[CheckNoChangesMode[\"OnlyDirtyViews\"] = 2] = \"OnlyDirtyViews\";\n return CheckNoChangesMode;\n}(CheckNoChangesMode || {});\n/**\n * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.\n *\n * Necessary to support ChangeDetectorRef.checkNoChanges().\n *\n * The `checkNoChanges` function is invoked only in ngDevMode=true and verifies that no unintended\n * changes exist in the change detector or its children.\n */\nlet _checkNoChangesMode = 0; /* CheckNoChangesMode.Off */\n/**\n * Flag used to indicate that we are in the middle running change detection on a view\n *\n * @see detectChangesInViewWhileDirty\n */\nlet _isRefreshingViews = false;\n/**\n * Returns true if the instruction state stack is empty.\n *\n * Intended to be called from tests only (tree shaken otherwise).\n */\nfunction specOnlyIsInstructionStateEmpty() {\n return instructionState.lFrame.parent === null;\n}\nfunction getElementDepthCount() {\n return instructionState.lFrame.elementDepthCount;\n}\nfunction increaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount++;\n}\nfunction decreaseElementDepthCount() {\n instructionState.lFrame.elementDepthCount--;\n}\nfunction getBindingsEnabled() {\n return instructionState.bindingsEnabled;\n}\n/**\n * Returns true if currently inside a skip hydration block.\n * @returns boolean\n */\nfunction isInSkipHydrationBlock$1() {\n return instructionState.skipHydrationRootTNode !== null;\n}\n/**\n * Returns true if this is the root TNode of the skip hydration block.\n * @param tNode the current TNode\n * @returns boolean\n */\nfunction isSkipHydrationRootTNode(tNode) {\n return instructionState.skipHydrationRootTNode === tNode;\n}\n/**\n * Enables directive matching on elements.\n *\n * * Example:\n * ```html\n * \n * Should match component / directive.\n * \n *
\n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵenableBindings() {\n instructionState.bindingsEnabled = true;\n}\n/**\n * Sets a flag to specify that the TNode is in a skip hydration block.\n * @param tNode the current TNode\n */\nfunction enterSkipHydrationBlock(tNode) {\n instructionState.skipHydrationRootTNode = tNode;\n}\n/**\n * Disables directive matching on element.\n *\n * * Example:\n * ```html\n * \n * Should match component / directive.\n * \n *
\n * \n * \n * Should not match component / directive because we are in ngNonBindable.\n * \n * \n *
\n * ```\n *\n * @codeGenApi\n */\nfunction ɵɵdisableBindings() {\n instructionState.bindingsEnabled = false;\n}\n/**\n * Clears the root skip hydration node when leaving a skip hydration block.\n */\nfunction leaveSkipHydrationBlock() {\n instructionState.skipHydrationRootTNode = null;\n}\n/**\n * Return the current `LView`.\n */\nfunction getLView() {\n return instructionState.lFrame.lView;\n}\n/**\n * Return the current `TView`.\n */\nfunction getTView() {\n return instructionState.lFrame.tView;\n}\n/**\n * Restores `contextViewData` to the given OpaqueViewState instance.\n *\n * Used in conjunction with the getCurrentView() instruction to save a snapshot\n * of the current view and restore it when listeners are invoked. This allows\n * walking the declaration view tree in listeners to get vars from parent views.\n *\n * @param viewToRestore The OpaqueViewState instance to restore.\n * @returns Context of the restored OpaqueViewState instance.\n *\n * @codeGenApi\n */\nfunction ɵɵrestoreView(viewToRestore) {\n instructionState.lFrame.contextLView = viewToRestore;\n return viewToRestore[CONTEXT];\n}\n/**\n * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in\n * value so that it can be used as a return value of an instruction.\n *\n * @codeGenApi\n */\nfunction ɵɵresetView(value) {\n instructionState.lFrame.contextLView = null;\n return value;\n}\nfunction getCurrentTNode() {\n let currentTNode = getCurrentTNodePlaceholderOk();\n while (currentTNode !== null && currentTNode.type === 64 /* TNodeType.Placeholder */) {\n currentTNode = currentTNode.parent;\n }\n return currentTNode;\n}\nfunction getCurrentTNodePlaceholderOk() {\n return instructionState.lFrame.currentTNode;\n}\nfunction getCurrentParentTNode() {\n const lFrame = instructionState.lFrame;\n const currentTNode = lFrame.currentTNode;\n return lFrame.isParent ? currentTNode : currentTNode.parent;\n}\nfunction setCurrentTNode(tNode, isParent) {\n ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);\n const lFrame = instructionState.lFrame;\n lFrame.currentTNode = tNode;\n lFrame.isParent = isParent;\n}\nfunction isCurrentTNodeParent() {\n return instructionState.lFrame.isParent;\n}\nfunction setCurrentTNodeAsNotParent() {\n instructionState.lFrame.isParent = false;\n}\nfunction getContextLView() {\n const contextLView = instructionState.lFrame.contextLView;\n ngDevMode && assertDefined(contextLView, 'contextLView must be defined.');\n return contextLView;\n}\nfunction isInCheckNoChangesMode() {\n !ngDevMode && throwError('Must never be called in production mode');\n return _checkNoChangesMode !== CheckNoChangesMode.Off;\n}\nfunction isExhaustiveCheckNoChanges() {\n !ngDevMode && throwError('Must never be called in production mode');\n return _checkNoChangesMode === CheckNoChangesMode.Exhaustive;\n}\nfunction setIsInCheckNoChangesMode(mode) {\n !ngDevMode && throwError('Must never be called in production mode');\n _checkNoChangesMode = mode;\n}\nfunction isRefreshingViews() {\n return _isRefreshingViews;\n}\nfunction setIsRefreshingViews(mode) {\n const prev = _isRefreshingViews;\n _isRefreshingViews = mode;\n return prev;\n}\n// top level variables should not be exported for performance reasons (PERF_NOTES.md)\nfunction getBindingRoot() {\n const lFrame = instructionState.lFrame;\n let index = lFrame.bindingRootIndex;\n if (index === -1) {\n index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;\n }\n return index;\n}\nfunction getBindingIndex() {\n return instructionState.lFrame.bindingIndex;\n}\nfunction setBindingIndex(value) {\n return instructionState.lFrame.bindingIndex = value;\n}\nfunction nextBindingIndex() {\n return instructionState.lFrame.bindingIndex++;\n}\nfunction incrementBindingIndex(count) {\n const lFrame = instructionState.lFrame;\n const index = lFrame.bindingIndex;\n lFrame.bindingIndex = lFrame.bindingIndex + count;\n return index;\n}\nfunction isInI18nBlock() {\n return instructionState.lFrame.inI18n;\n}\nfunction setInI18nBlock(isInI18nBlock) {\n instructionState.lFrame.inI18n = isInI18nBlock;\n}\n/**\n * Set a new binding root index so that host template functions can execute.\n *\n * Bindings inside the host template are 0 index. But because we don't know ahead of time\n * how many host bindings we have we can't pre-compute them. For this reason they are all\n * 0 index and we just shift the root so that they match next available location in the LView.\n *\n * @param bindingRootIndex Root index for `hostBindings`\n * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive\n * whose `hostBindings` are being processed.\n */\nfunction setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {\n const lFrame = instructionState.lFrame;\n lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;\n setCurrentDirectiveIndex(currentDirectiveIndex);\n}\n/**\n * When host binding is executing this points to the directive index.\n * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`\n * `LView[getCurrentDirectiveIndex()]` is directive instance.\n */\nfunction getCurrentDirectiveIndex() {\n return instructionState.lFrame.currentDirectiveIndex;\n}\n/**\n * Sets an index of a directive whose `hostBindings` are being processed.\n *\n * @param currentDirectiveIndex `TData` index where current directive instance can be found.\n */\nfunction setCurrentDirectiveIndex(currentDirectiveIndex) {\n instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;\n}\n/**\n * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being\n * executed.\n *\n * @param tData Current `TData` where the `DirectiveDef` will be looked up at.\n */\nfunction getCurrentDirectiveDef(tData) {\n const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;\n return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex];\n}\nfunction getCurrentQueryIndex() {\n return instructionState.lFrame.currentQueryIndex;\n}\nfunction setCurrentQueryIndex(value) {\n instructionState.lFrame.currentQueryIndex = value;\n}\n/**\n * Returns a `TNode` of the location where the current `LView` is declared at.\n *\n * @param lView an `LView` that we want to find parent `TNode` for.\n */\nfunction getDeclarationTNode(lView) {\n const tView = lView[TVIEW];\n // Return the declaration parent for embedded views\n if (tView.type === 2 /* TViewType.Embedded */) {\n ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n return tView.declTNode;\n }\n // Components don't have `TView.declTNode` because each instance of component could be\n // inserted in different location, hence `TView.declTNode` is meaningless.\n // Falling back to `T_HOST` in case we cross component boundary.\n if (tView.type === 1 /* TViewType.Component */) {\n return lView[T_HOST];\n }\n // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode.\n return null;\n}\n/**\n * This is a light weight version of the `enterView` which is needed by the DI system.\n *\n * @param lView `LView` location of the DI context.\n * @param tNode `TNode` for DI context\n * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration\n * tree from `tNode` until we find parent declared `TElementNode`.\n * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared\n * `TNode` if `flags` has `SkipSelf`). Failing to enter DI implies that no associated\n * `NodeInjector` can be found and we should instead use `ModuleInjector`.\n * - If `true` than this call must be fallowed by `leaveDI`\n * - If `false` than this call failed and we should NOT call `leaveDI`\n */\nfunction enterDI(lView, tNode, flags) {\n ngDevMode && assertLViewOrUndefined(lView);\n if (flags & InjectFlags.SkipSelf) {\n ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]);\n let parentTNode = tNode;\n let parentLView = lView;\n while (true) {\n ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined');\n parentTNode = parentTNode.parent;\n if (parentTNode === null && !(flags & InjectFlags.Host)) {\n parentTNode = getDeclarationTNode(parentLView);\n if (parentTNode === null) break;\n // In this case, a parent exists and is definitely an element. So it will definitely\n // have an existing lView as the declaration view, which is why we can assume it's defined.\n ngDevMode && assertDefined(parentLView, 'Parent LView should be defined');\n parentLView = parentLView[DECLARATION_VIEW];\n // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives\n // We want to skip those and look only at Elements and ElementContainers to ensure\n // we're looking at true parent nodes, and not content or other types.\n if (parentTNode.type & (2 /* TNodeType.Element */ | 8 /* TNodeType.ElementContainer */)) {\n break;\n }\n } else {\n break;\n }\n }\n if (parentTNode === null) {\n // If we failed to find a parent TNode this means that we should use module injector.\n return false;\n } else {\n tNode = parentTNode;\n lView = parentLView;\n }\n }\n ngDevMode && assertTNodeForLView(tNode, lView);\n const lFrame = instructionState.lFrame = allocLFrame();\n lFrame.currentTNode = tNode;\n lFrame.lView = lView;\n return true;\n}\n/**\n * Swap the current lView with a new lView.\n *\n * For performance reasons we store the lView in the top level of the module.\n * This way we minimize the number of properties to read. Whenever a new view\n * is entered we have to store the lView for later, and when the view is\n * exited the state has to be restored\n *\n * @param newView New lView to become active\n * @returns the previously active lView;\n */\nfunction enterView(newView) {\n ngDevMode && assertNotEqual(newView[0], newView[1], '????');\n ngDevMode && assertLViewOrUndefined(newView);\n const newLFrame = allocLFrame();\n if (ngDevMode) {\n assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');\n assertEqual(newLFrame.lView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.tView, null, 'Expected clean LFrame');\n assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');\n assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');\n assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');\n assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');\n }\n const tView = newView[TVIEW];\n instructionState.lFrame = newLFrame;\n ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView);\n newLFrame.currentTNode = tView.firstChild;\n newLFrame.lView = newView;\n newLFrame.tView = tView;\n newLFrame.contextLView = newView;\n newLFrame.bindingIndex = tView.bindingStartIndex;\n newLFrame.inI18n = false;\n}\n/**\n * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.\n */\nfunction allocLFrame() {\n const currentLFrame = instructionState.lFrame;\n const childLFrame = currentLFrame === null ? null : currentLFrame.child;\n const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;\n return newLFrame;\n}\nfunction createLFrame(parent) {\n const lFrame = {\n currentTNode: null,\n isParent: true,\n lView: null,\n tView: null,\n selectedIndex: -1,\n contextLView: null,\n elementDepthCount: 0,\n currentNamespace: null,\n currentDirectiveIndex: -1,\n bindingRootIndex: -1,\n bindingIndex: -1,\n currentQueryIndex: 0,\n parent: parent,\n child: null,\n inI18n: false\n };\n parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.\n return lFrame;\n}\n/**\n * A lightweight version of leave which is used with DI.\n *\n * This function only resets `currentTNode` and `LView` as those are the only properties\n * used with DI (`enterDI()`).\n *\n * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where\n * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.\n */\nfunction leaveViewLight() {\n const oldLFrame = instructionState.lFrame;\n instructionState.lFrame = oldLFrame.parent;\n oldLFrame.currentTNode = null;\n oldLFrame.lView = null;\n return oldLFrame;\n}\n/**\n * This is a lightweight version of the `leaveView` which is needed by the DI system.\n *\n * NOTE: this function is an alias so that we can change the type of the function to have `void`\n * return type.\n */\nconst leaveDI = leaveViewLight;\n/**\n * Leave the current `LView`\n *\n * This pops the `LFrame` with the associated `LView` from the stack.\n *\n * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is\n * because for performance reasons we don't release `LFrame` but rather keep it for next use.\n */\nfunction leaveView() {\n const oldLFrame = leaveViewLight();\n oldLFrame.isParent = true;\n oldLFrame.tView = null;\n oldLFrame.selectedIndex = -1;\n oldLFrame.contextLView = null;\n oldLFrame.elementDepthCount = 0;\n oldLFrame.currentDirectiveIndex = -1;\n oldLFrame.currentNamespace = null;\n oldLFrame.bindingRootIndex = -1;\n oldLFrame.bindingIndex = -1;\n oldLFrame.currentQueryIndex = 0;\n}\nfunction nextContextImpl(level) {\n const contextLView = instructionState.lFrame.contextLView = walkUpViews(level, instructionState.lFrame.contextLView);\n return contextLView[CONTEXT];\n}\n/**\n * Gets the currently selected element index.\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n */\nfunction getSelectedIndex() {\n return instructionState.lFrame.selectedIndex;\n}\n/**\n * Sets the most recent index passed to {@link select}\n *\n * Used with {@link property} instruction (and more in the future) to identify the index in the\n * current `LView` to act on.\n *\n * (Note that if an \"exit function\" was set earlier (via `setElementExitFn()`) then that will be\n * run if and when the provided `index` value is different from the current selected index value.)\n */\nfunction setSelectedIndex(index) {\n ngDevMode && index !== -1 && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).');\n ngDevMode && assertLessThan(index, instructionState.lFrame.lView.length, \"Can't set index passed end of LView\");\n instructionState.lFrame.selectedIndex = index;\n}\n/**\n * Gets the `tNode` that represents currently selected element.\n */\nfunction getSelectedTNode() {\n const lFrame = instructionState.lFrame;\n return getTNode(lFrame.tView, lFrame.selectedIndex);\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceSVG() {\n instructionState.lFrame.currentNamespace = SVG_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceMathML() {\n instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n *\n * @codeGenApi\n */\nfunction ɵɵnamespaceHTML() {\n namespaceHTMLInternal();\n}\n/**\n * Sets the namespace used to create elements to `null`, which forces element creation to use\n * `createElement` rather than `createElementNS`.\n */\nfunction namespaceHTMLInternal() {\n instructionState.lFrame.currentNamespace = null;\n}\nfunction getNamespace() {\n return instructionState.lFrame.currentNamespace;\n}\nlet _wasLastNodeCreated = true;\n/**\n * Retrieves a global flag that indicates whether the most recent DOM node\n * was created or hydrated.\n */\nfunction wasLastNodeCreated() {\n return _wasLastNodeCreated;\n}\n/**\n * Sets a global flag to indicate whether the most recent DOM node\n * was created or hydrated.\n */\nfunction lastNodeWasCreated(flag) {\n _wasLastNodeCreated = flag;\n}\n\n/**\n * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.\n *\n * Must be run *only* on the first template pass.\n *\n * Sets up the pre-order hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * @param directiveIndex The index of the directive in LView\n * @param directiveDef The definition containing the hooks to setup in tView\n * @param tView The current TView\n */\nfunction registerPreOrderHooks(directiveIndex, directiveDef, tView) {\n ngDevMode && assertFirstCreatePass(tView);\n const {\n ngOnChanges,\n ngOnInit,\n ngDoCheck\n } = directiveDef.type.prototype;\n if (ngOnChanges) {\n const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef);\n (tView.preOrderHooks ??= []).push(directiveIndex, wrappedOnChanges);\n (tView.preOrderCheckHooks ??= []).push(directiveIndex, wrappedOnChanges);\n }\n if (ngOnInit) {\n (tView.preOrderHooks ??= []).push(0 - directiveIndex, ngOnInit);\n }\n if (ngDoCheck) {\n (tView.preOrderHooks ??= []).push(directiveIndex, ngDoCheck);\n (tView.preOrderCheckHooks ??= []).push(directiveIndex, ngDoCheck);\n }\n}\n/**\n *\n * Loops through the directives on the provided `tNode` and queues hooks to be\n * run that are not initialization hooks.\n *\n * Should be executed during `elementEnd()` and similar to\n * preserve hook execution order. Content, view, and destroy hooks for projected\n * components and directives must be called *before* their hosts.\n *\n * Sets up the content, view, and destroy hooks on the provided `tView`,\n * see {@link HookData} for details about the data structure.\n *\n * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up\n * separately at `elementStart`.\n *\n * @param tView The current TView\n * @param tNode The TNode whose directives are to be searched for hooks to queue\n */\nfunction registerPostOrderHooks(tView, tNode) {\n ngDevMode && assertFirstCreatePass(tView);\n // It's necessary to loop through the directives at elementEnd() (rather than processing in\n // directiveCreate) so we can preserve the current hook order. Content, view, and destroy\n // hooks for projected components and directives must be called *before* their hosts.\n for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {\n const directiveDef = tView.data[i];\n ngDevMode && assertDefined(directiveDef, 'Expecting DirectiveDef');\n const lifecycleHooks = directiveDef.type.prototype;\n const {\n ngAfterContentInit,\n ngAfterContentChecked,\n ngAfterViewInit,\n ngAfterViewChecked,\n ngOnDestroy\n } = lifecycleHooks;\n if (ngAfterContentInit) {\n (tView.contentHooks ??= []).push(-i, ngAfterContentInit);\n }\n if (ngAfterContentChecked) {\n (tView.contentHooks ??= []).push(i, ngAfterContentChecked);\n (tView.contentCheckHooks ??= []).push(i, ngAfterContentChecked);\n }\n if (ngAfterViewInit) {\n (tView.viewHooks ??= []).push(-i, ngAfterViewInit);\n }\n if (ngAfterViewChecked) {\n (tView.viewHooks ??= []).push(i, ngAfterViewChecked);\n (tView.viewCheckHooks ??= []).push(i, ngAfterViewChecked);\n }\n if (ngOnDestroy != null) {\n (tView.destroyHooks ??= []).push(i, ngOnDestroy);\n }\n }\n}\n/**\n * Executing hooks requires complex logic as we need to deal with 2 constraints.\n *\n * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only\n * once, across many change detection cycles. This must be true even if some hooks throw, or if\n * some recursively trigger a change detection cycle.\n * To solve that, it is required to track the state of the execution of these init hooks.\n * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},\n * and the index within that phase. They can be seen as a cursor in the following structure:\n * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]\n * They are stored as flags in LView[FLAGS].\n *\n * 2. Pre-order hooks can be executed in batches, because of the select instruction.\n * To be able to pause and resume their execution, we also need some state about the hook's array\n * that is being processed:\n * - the index of the next hook to be executed\n * - the number of init hooks already found in the processed part of the array\n * They are stored as flags in LView[PREORDER_HOOK_FLAGS].\n */\n/**\n * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were\n * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read\n * / write of the init-hooks related flags.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeCheckHooks(lView, hooks, nodeIndex) {\n callHooks(lView, hooks, 3 /* InitPhaseState.InitPhaseCompleted */, nodeIndex);\n}\n/**\n * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,\n * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.\n * @param lView The LView where hooks are defined\n * @param hooks Hooks to be run\n * @param initPhase A phase for which hooks should be run\n * @param nodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {\n ngDevMode && assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init pre-order hooks should not be called more than once');\n if ((lView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n callHooks(lView, hooks, initPhase, nodeIndex);\n }\n}\nfunction incrementInitPhaseFlags(lView, initPhase) {\n ngDevMode && assertNotEqual(initPhase, 3 /* InitPhaseState.InitPhaseCompleted */, 'Init hooks phase should not be incremented after all init hooks have been run.');\n let flags = lView[FLAGS];\n if ((flags & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n flags &= 16383 /* LViewFlags.IndexWithinInitPhaseReset */;\n flags += 1 /* LViewFlags.InitPhaseStateIncrementer */;\n lView[FLAGS] = flags;\n }\n}\n/**\n * Calls lifecycle hooks with their contexts, skipping init hooks if it's not\n * the first LView pass\n *\n * @param currentView The current view\n * @param arr The array in which the hooks are found\n * @param initPhaseState the current state of the init phase\n * @param currentNodeIndex 3 cases depending on the value:\n * - undefined: all hooks from the array should be executed (post-order case)\n * - null: execute hooks only from the saved index until the end of the array (pre-order case, when\n * flushing the remaining hooks)\n * - number: execute hooks only from the saved index until that node index exclusive (pre-order\n * case, when executing select(number))\n */\nfunction callHooks(currentView, arr, initPhase, currentNodeIndex) {\n ngDevMode && assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.');\n const startIndex = currentNodeIndex !== undefined ? currentView[PREORDER_HOOK_FLAGS] & 65535 /* PreOrderHookFlags.IndexOfTheNextPreOrderHookMaskMask */ : 0;\n const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;\n const max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1\n let lastNodeIndexFound = 0;\n for (let i = startIndex; i < max; i++) {\n const hook = arr[i + 1];\n if (typeof hook === 'number') {\n lastNodeIndexFound = arr[i];\n if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {\n break;\n }\n } else {\n const isInitHook = arr[i] < 0;\n if (isInitHook) {\n currentView[PREORDER_HOOK_FLAGS] += 65536 /* PreOrderHookFlags.NumberOfInitHooksCalledIncrementer */;\n }\n if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {\n callHook(currentView, initPhase, arr, i);\n currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760 /* PreOrderHookFlags.NumberOfInitHooksCalledMask */) + i + 2;\n }\n i++;\n }\n }\n}\n/**\n * Executes a single lifecycle hook, making sure that:\n * - it is called in the non-reactive context;\n * - profiling data are registered.\n */\nfunction callHookInternal(directive, hook) {\n profiler(4 /* ProfilerEvent.LifecycleHookStart */, directive, hook);\n const prevConsumer = setActiveConsumer$1(null);\n try {\n hook.call(directive);\n } finally {\n setActiveConsumer$1(prevConsumer);\n profiler(5 /* ProfilerEvent.LifecycleHookEnd */, directive, hook);\n }\n}\n/**\n * Execute one hook against the current `LView`.\n *\n * @param currentView The current view\n * @param initPhaseState the current state of the init phase\n * @param arr The array in which the hooks are found\n * @param i The current index within the hook data array\n */\nfunction callHook(currentView, initPhase, arr, i) {\n const isInitHook = arr[i] < 0;\n const hook = arr[i + 1];\n const directiveIndex = isInitHook ? -arr[i] : arr[i];\n const directive = currentView[directiveIndex];\n if (isInitHook) {\n const indexWithintInitPhase = currentView[FLAGS] >> 14 /* LViewFlags.IndexWithinInitPhaseShift */;\n // The init phase state must be always checked here as it may have been recursively updated.\n if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16 /* PreOrderHookFlags.NumberOfInitHooksCalledShift */ && (currentView[FLAGS] & 3 /* LViewFlags.InitPhaseStateMask */) === initPhase) {\n currentView[FLAGS] += 16384 /* LViewFlags.IndexWithinInitPhaseIncrementer */;\n callHookInternal(directive, hook);\n }\n } else {\n callHookInternal(directive, hook);\n }\n}\nconst NO_PARENT_INJECTOR = -1;\n/**\n * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in\n * `TView.data`. This allows us to store information about the current node's tokens (which\n * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be\n * shared, so they live in `LView`).\n *\n * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter\n * determines whether a directive is available on the associated node or not. This prevents us\n * from searching the directives array at this level unless it's probable the directive is in it.\n *\n * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.\n *\n * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed\n * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`\n * will differ based on where it is flattened into the main array, so it's not possible to know\n * the indices ahead of time and save their types here. The interfaces are still included here\n * for documentation purposes.\n *\n * export interface LInjector extends Array {\n *\n * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Cumulative bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Cumulative bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Cumulative bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Cumulative bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Cumulative bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Cumulative bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Cumulative bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // We need to store a reference to the injector's parent so DI can keep looking up\n * // the injector tree until it finds the dependency it's looking for.\n * [PARENT_INJECTOR]: number;\n * }\n *\n * export interface TInjector extends Array {\n *\n * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)\n * [0]: number;\n *\n * // Shared node bloom for directive IDs 32-63\n * [1]: number;\n *\n * // Shared node bloom for directive IDs 64-95\n * [2]: number;\n *\n * // Shared node bloom for directive IDs 96-127\n * [3]: number;\n *\n * // Shared node bloom for directive IDs 128-159\n * [4]: number;\n *\n * // Shared node bloom for directive IDs 160 - 191\n * [5]: number;\n *\n * // Shared node bloom for directive IDs 192 - 223\n * [6]: number;\n *\n * // Shared node bloom for directive IDs 224 - 255\n * [7]: number;\n *\n * // Necessary to find directive indices for a particular node.\n * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;\n * }\n */\n/**\n * Factory for creating instances of injectors in the NodeInjector.\n *\n * This factory is complicated by the fact that it can resolve `multi` factories as well.\n *\n * NOTE: Some of the fields are optional which means that this class has two hidden classes.\n * - One without `multi` support (most common)\n * - One with `multi` values, (rare).\n *\n * Since VMs can cache up to 4 inline hidden classes this is OK.\n *\n * - Single factory: Only `resolving` and `factory` is defined.\n * - `providers` factory: `componentProviders` is a number and `index = -1`.\n * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.\n */\nclass NodeInjectorFactory {\n factory;\n /**\n * The inject implementation to be activated when using the factory.\n */\n injectImpl;\n /**\n * Marker set to true during factory invocation to see if we get into recursive loop.\n * Recursive loop causes an error to be displayed.\n */\n resolving = false;\n /**\n * Marks that the token can see other Tokens declared in `viewProviders` on the same node.\n */\n canSeeViewProviders;\n /**\n * An array of factories to use in case of `multi` provider.\n */\n multi;\n /**\n * Number of `multi`-providers which belong to the component.\n *\n * This is needed because when multiple components and directives declare the `multi` provider\n * they have to be concatenated in the correct order.\n *\n * Example:\n *\n * If we have a component and directive active an a single element as declared here\n * ```ts\n * component:\n * providers: [ {provide: String, useValue: 'component', multi: true} ],\n * viewProviders: [ {provide: String, useValue: 'componentView', multi: true} ],\n *\n * directive:\n * providers: [ {provide: String, useValue: 'directive', multi: true} ],\n * ```\n *\n * Then the expected results are:\n *\n * ```ts\n * providers: ['component', 'directive']\n * viewProviders: ['component', 'componentView', 'directive']\n * ```\n *\n * The way to think about it is that the `viewProviders` have been inserted after the component\n * but before the directives, which is why we need to know how many `multi`s have been declared by\n * the component.\n */\n componentProviders;\n /**\n * Current index of the Factory in the `data`. Needed for `viewProviders` and `providers` merging.\n * See `providerFactory`.\n */\n index;\n /**\n * Because the same `multi` provider can be declared in `providers` and `viewProviders` it is\n * possible for `viewProviders` to shadow the `providers`. For this reason we store the\n * `provideFactory` of the `providers` so that `providers` can be extended with `viewProviders`.\n *\n * Example:\n *\n * Given:\n * ```ts\n * providers: [ {provide: String, useValue: 'all', multi: true} ],\n * viewProviders: [ {provide: String, useValue: 'viewOnly', multi: true} ],\n * ```\n *\n * We have to return `['all']` in case of content injection, but `['all', 'viewOnly']` in case\n * of view injection. We further have to make sure that the shared instances (in our case\n * `all`) are the exact same instance in both the content as well as the view injection. (We\n * have to make sure that we don't double instantiate.) For this reason the `viewProviders`\n * `Factory` has a pointer to the shadowed `providers` factory so that it can instantiate the\n * `providers` (`['all']`) and then extend it with `viewProviders` (`['all'] + ['viewOnly'] =\n * ['all', 'viewOnly']`).\n */\n providerFactory;\n constructor(\n /**\n * Factory to invoke in order to create a new instance.\n */\n factory,\n /**\n * Set to `true` if the token is declared in `viewProviders` (or if it is component).\n */\n isViewProvider, injectImplementation) {\n this.factory = factory;\n ngDevMode && assertDefined(factory, 'Factory not specified');\n ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.');\n this.canSeeViewProviders = isViewProvider;\n this.injectImpl = injectImplementation;\n }\n}\nfunction isFactory(obj) {\n return obj instanceof NodeInjectorFactory;\n}\n\n/**\n * Converts `TNodeType` into human readable text.\n * Make sure this matches with `TNodeType`\n */\nfunction toTNodeTypeAsString(tNodeType) {\n let text = '';\n tNodeType & 1 /* TNodeType.Text */ && (text += '|Text');\n tNodeType & 2 /* TNodeType.Element */ && (text += '|Element');\n tNodeType & 4 /* TNodeType.Container */ && (text += '|Container');\n tNodeType & 8 /* TNodeType.ElementContainer */ && (text += '|ElementContainer');\n tNodeType & 16 /* TNodeType.Projection */ && (text += '|Projection');\n tNodeType & 32 /* TNodeType.Icu */ && (text += '|IcuContainer');\n tNodeType & 64 /* TNodeType.Placeholder */ && (text += '|Placeholder');\n tNodeType & 128 /* TNodeType.LetDeclaration */ && (text += '|LetDeclaration');\n return text.length > 0 ? text.substring(1) : text;\n}\n/**\n * Helper function to detect if a given value matches a `TNode` shape.\n *\n * The logic uses the `insertBeforeIndex` and its possible values as\n * a way to differentiate a TNode shape from other types of objects\n * within the `TView.data`. This is not a perfect check, but it can\n * be a reasonable differentiator, since we control the shapes of objects\n * within `TView.data`.\n */\nfunction isTNodeShape(value) {\n return value != null && typeof value === 'object' && (value.insertBeforeIndex === null || typeof value.insertBeforeIndex === 'number' || Array.isArray(value.insertBeforeIndex));\n}\nfunction isLetDeclaration(tNode) {\n return !!(tNode.type & 128 /* TNodeType.LetDeclaration */);\n}\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding.\n *\n * ```html\n *
\n * ```\n * and\n * ```ts\n * @Directive({\n * })\n * class MyDirective {\n * @Input()\n * class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasClassInput(tNode) {\n return (tNode.flags & 8 /* TNodeFlags.hasClassInput */) !== 0;\n}\n/**\n * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding.\n *\n * ```html\n *
\n * ```\n * and\n * ```ts\n * @Directive({\n * })\n * class MyDirective {\n * @Input()\n * class: string;\n * }\n * ```\n *\n * In the above case it is necessary to write the reconciled styling information into the\n * directive's input.\n *\n * @param tNode\n */\nfunction hasStyleInput(tNode) {\n return (tNode.flags & 16 /* TNodeFlags.hasStyleInput */) !== 0;\n}\nfunction assertTNodeType(tNode, expectedTypes, message) {\n assertDefined(tNode, 'should be called with a TNode');\n if ((tNode.type & expectedTypes) === 0) {\n throwError(message || `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`);\n }\n}\nfunction assertPureTNodeType(type) {\n if (!(type === 2 /* TNodeType.Element */ || type === 1 /* TNodeType.Text */ || type === 4 /* TNodeType.Container */ || type === 8 /* TNodeType.ElementContainer */ || type === 32 /* TNodeType.Icu */ || type === 16 /* TNodeType.Projection */ || type === 64 /* TNodeType.Placeholder */ || type === 128 /* TNodeType.LetDeclaration */)) {\n throwError(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`);\n }\n}\n\n/**\n * Assigns all attribute values to the provided element via the inferred renderer.\n *\n * This function accepts two forms of attribute entries:\n *\n * default: (key, value):\n * attrs = [key1, value1, key2, value2]\n *\n * namespaced: (NAMESPACE_MARKER, uri, name, value)\n * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]\n *\n * The `attrs` array can contain a mix of both the default and namespaced entries.\n * The \"default\" values are set without a marker, but if the function comes across\n * a marker value then it will attempt to set a namespaced value. If the marker is\n * not of a namespaced value then the function will quit and return the index value\n * where it stopped during the iteration of the attrs array.\n *\n * See [AttributeMarker] to understand what the namespace marker value is.\n *\n * Note that this instruction does not support assigning style and class values to\n * an element. See `elementStart` and `elementHostAttrs` to learn how styling values\n * are applied to an element.\n * @param renderer The renderer to be used\n * @param native The element that the attributes will be assigned to\n * @param attrs The attribute array of values that will be assigned to the element\n * @returns the index value that was last accessed in the attributes array\n */\nfunction setUpAttributes(renderer, native, attrs) {\n let i = 0;\n while (i < attrs.length) {\n const value = attrs[i];\n if (typeof value === 'number') {\n // only namespaces are supported. Other value types (such as style/class\n // entries) are not supported in this function.\n if (value !== 0 /* AttributeMarker.NamespaceURI */) {\n break;\n }\n // we just landed on the marker value ... therefore\n // we should skip to the next entry\n i++;\n const namespaceURI = attrs[i++];\n const attrName = attrs[i++];\n const attrVal = attrs[i++];\n ngDevMode && ngDevMode.rendererSetAttribute++;\n renderer.setAttribute(native, attrName, attrVal, namespaceURI);\n } else {\n // attrName is string;\n const attrName = value;\n const attrVal = attrs[++i];\n // Standard attributes\n ngDevMode && ngDevMode.rendererSetAttribute++;\n if (isAnimationProp(attrName)) {\n renderer.setProperty(native, attrName, attrVal);\n } else {\n renderer.setAttribute(native, attrName, attrVal);\n }\n i++;\n }\n }\n // another piece of code may iterate over the same attributes array. Therefore\n // it may be helpful to return the exact spot where the attributes array exited\n // whether by running into an unsupported marker or if all the static values were\n // iterated over.\n return i;\n}\n/**\n * Test whether the given value is a marker that indicates that the following\n * attribute values in a `TAttributes` array are only the names of attributes,\n * and not name-value pairs.\n * @param marker The attribute marker to test.\n * @returns true if the marker is a \"name-only\" marker (e.g. `Bindings`, `Template` or `I18n`).\n */\nfunction isNameOnlyAttributeMarker(marker) {\n return marker === 3 /* AttributeMarker.Bindings */ || marker === 4 /* AttributeMarker.Template */ || marker === 6 /* AttributeMarker.I18n */;\n}\nfunction isAnimationProp(name) {\n // Perf note: accessing charCodeAt to check for the first character of a string is faster as\n // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that\n // charCodeAt doesn't allocate memory to return a substring.\n return name.charCodeAt(0) === 64 /* CharCode.AT_SIGN */;\n}\n/**\n * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.\n *\n * This merge function keeps the order of attrs same.\n *\n * @param dst Location of where the merged `TAttributes` should end up.\n * @param src `TAttributes` which should be appended to `dst`\n */\nfunction mergeHostAttrs(dst, src) {\n if (src === null || src.length === 0) {\n // do nothing\n } else if (dst === null || dst.length === 0) {\n // We have source, but dst is empty, just make a copy.\n dst = src.slice();\n } else {\n let srcMarker = -1 /* AttributeMarker.ImplicitAttributes */;\n for (let i = 0; i < src.length; i++) {\n const item = src[i];\n if (typeof item === 'number') {\n srcMarker = item;\n } else {\n if (srcMarker === 0 /* AttributeMarker.NamespaceURI */) {\n // Case where we need to consume `key1`, `key2`, `value` items.\n } else if (srcMarker === -1 /* AttributeMarker.ImplicitAttributes */ || srcMarker === 2 /* AttributeMarker.Styles */) {\n // Case where we have to consume `key1` and `value` only.\n mergeHostAttribute(dst, srcMarker, item, null, src[++i]);\n } else {\n // Case where we have to consume `key1` only.\n mergeHostAttribute(dst, srcMarker, item, null, null);\n }\n }\n }\n }\n return dst;\n}\n/**\n * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.\n *\n * @param dst `TAttributes` to append to.\n * @param marker Region where the `key`/`value` should be added.\n * @param key1 Key to add to `TAttributes`\n * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)\n * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.\n */\nfunction mergeHostAttribute(dst, marker, key1, key2, value) {\n let i = 0;\n // Assume that new markers will be inserted at the end.\n let markerInsertPosition = dst.length;\n // scan until correct type.\n if (marker === -1 /* AttributeMarker.ImplicitAttributes */) {\n markerInsertPosition = -1;\n } else {\n while (i < dst.length) {\n const dstValue = dst[i++];\n if (typeof dstValue === 'number') {\n if (dstValue === marker) {\n markerInsertPosition = -1;\n break;\n } else if (dstValue > marker) {\n // We need to save this as we want the markers to be inserted in specific order.\n markerInsertPosition = i - 1;\n break;\n }\n }\n }\n }\n // search until you find place of insertion\n while (i < dst.length) {\n const item = dst[i];\n if (typeof item === 'number') {\n // since `i` started as the index after the marker, we did not find it if we are at the next\n // marker\n break;\n } else if (item === key1) {\n // We already have same token\n if (key2 === null) {\n if (value !== null) {\n dst[i + 1] = value;\n }\n return;\n } else if (key2 === dst[i + 1]) {\n dst[i + 2] = value;\n return;\n }\n }\n // Increment counter.\n i++;\n if (key2 !== null) i++;\n if (value !== null) i++;\n }\n // insert at location.\n if (markerInsertPosition !== -1) {\n dst.splice(markerInsertPosition, 0, marker);\n i = markerInsertPosition + 1;\n }\n dst.splice(i++, 0, key1);\n if (key2 !== null) {\n dst.splice(i++, 0, key2);\n }\n if (value !== null) {\n dst.splice(i++, 0, value);\n }\n}\n\n// This default value is when checking the hierarchy for a token.\n//\n// It means both:\n// - the token is not provided by the current injector,\n// - only the element injectors should be checked (ie do not check module injectors\n//\n// mod1\n// /\n// el1 mod2\n// \\ /\n// el2\n//\n// When requesting el2.injector.get(token), we should check in the following order and return the\n// first found value:\n// - el2.injector.get(token, default)\n// - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module\n// - mod2.injector.get(token, default)\nconst NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};\n\n/**\n * Injector that looks up a value using a specific injector, before falling back to the module\n * injector. Used primarily when creating components or embedded views dynamically.\n */\nclass ChainedInjector {\n injector;\n parentInjector;\n constructor(injector, parentInjector) {\n this.injector = injector;\n this.parentInjector = parentInjector;\n }\n get(token, notFoundValue, flags) {\n flags = convertToBitFlags(flags);\n const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags);\n if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {\n // Return the value from the root element injector when\n // - it provides it\n // (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n // - the module injector should not be checked\n // (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)\n return value;\n }\n return this.parentInjector.get(token, notFoundValue, flags);\n }\n}\n\n/// Parent Injector Utils ///////////////////////////////////////////////////////////////\nfunction hasParentInjector(parentLocation) {\n return parentLocation !== NO_PARENT_INJECTOR;\n}\nfunction getParentInjectorIndex(parentLocation) {\n if (ngDevMode) {\n assertNumber(parentLocation, 'Number expected');\n assertNotEqual(parentLocation, -1, 'Not a valid state.');\n const parentInjectorIndex = parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.');\n }\n return parentLocation & 32767 /* RelativeInjectorLocationFlags.InjectorIndexMask */;\n}\nfunction getParentInjectorViewOffset(parentLocation) {\n return parentLocation >> 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */;\n}\n/**\n * Unwraps a parent injector location number to find the view offset from the current injector,\n * then walks up the declaration view tree until the view is found that contains the parent\n * injector.\n *\n * @param location The location of the parent injector, which contains the view offset\n * @param startView The LView instance from which to start walking up the view tree\n * @returns The LView instance that contains the parent injector\n */\nfunction getParentInjectorView(location, startView) {\n let viewOffset = getParentInjectorViewOffset(location);\n let parentView = startView;\n // For most cases, the parent injector can be found on the host node (e.g. for component\n // or container), but we must keep the loop here to support the rarer case of deeply nested\n // tags or inline views, where the parent injector might live many views\n // above the child injector.\n while (viewOffset > 0) {\n parentView = parentView[DECLARATION_VIEW];\n viewOffset--;\n }\n return parentView;\n}\n/**\n * Detects whether an injector is an instance of a `ChainedInjector`,\n * created based on the `OutletInjector`.\n */\nfunction isRouterOutletInjector(currentInjector) {\n return currentInjector instanceof ChainedInjector && typeof currentInjector.injector.__ngOutletInjector === 'function';\n}\n\n/**\n * Defines if the call to `inject` should include `viewProviders` in its resolution.\n *\n * This is set to true when we try to instantiate a component. This value is reset in\n * `getNodeInjectable` to a value which matches the declaration location of the token about to be\n * instantiated. This is done so that if we are injecting a token which was declared outside of\n * `viewProviders` we don't accidentally pull `viewProviders` in.\n *\n * Example:\n *\n * ```ts\n * @Injectable()\n * class MyService {\n * constructor(public value: String) {}\n * }\n *\n * @Component({\n * providers: [\n * MyService,\n * {provide: String, value: 'providers' }\n * ]\n * viewProviders: [\n * {provide: String, value: 'viewProviders'}\n * ]\n * })\n * class MyComponent {\n * constructor(myService: MyService, value: String) {\n * // We expect that Component can see into `viewProviders`.\n * expect(value).toEqual('viewProviders');\n * // `MyService` was not declared in `viewProviders` hence it can't see it.\n * expect(myService.value).toEqual('providers');\n * }\n * }\n *\n * ```\n */\nlet includeViewProviders = true;\nfunction setIncludeViewProviders(v) {\n const oldValue = includeViewProviders;\n includeViewProviders = v;\n return oldValue;\n}\n/**\n * The number of slots in each bloom filter (used by DI). The larger this number, the fewer\n * directives that will share slots, and thus, the fewer false positives when checking for\n * the existence of a directive.\n */\nconst BLOOM_SIZE = 256;\nconst BLOOM_MASK = BLOOM_SIZE - 1;\n/**\n * The number of bits that is represented by a single bloom bucket. JS bit operations are 32 bits,\n * so each bucket represents 32 distinct tokens which accounts for log2(32) = 5 bits of a bloom hash\n * number.\n */\nconst BLOOM_BUCKET_BITS = 5;\n/** Counter used to generate unique IDs for directives. */\nlet nextNgElementId = 0;\n/** Value used when something wasn't found by an injector. */\nconst NOT_FOUND = {};\n/**\n * Registers this directive as present in its node's injector by flipping the directive's\n * corresponding bit in the injector's bloom filter.\n *\n * @param injectorIndex The index of the node injector where this token should be registered\n * @param tView The TView for the injector's bloom filters\n * @param type The directive token to register\n */\nfunction bloomAdd(injectorIndex, tView, type) {\n ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');\n let id;\n if (typeof type === 'string') {\n id = type.charCodeAt(0) || 0;\n } else if (type.hasOwnProperty(NG_ELEMENT_ID)) {\n id = type[NG_ELEMENT_ID];\n }\n // Set a unique ID on the directive type, so if something tries to inject the directive,\n // we can easily retrieve the ID and hash it into the bloom bit that should be checked.\n if (id == null) {\n id = type[NG_ELEMENT_ID] = nextNgElementId++;\n }\n // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),\n // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.\n const bloomHash = id & BLOOM_MASK;\n // Create a mask that targets the specific bit associated with the directive.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n const mask = 1 << bloomHash;\n // Each bloom bucket in `tData` represents `BLOOM_BUCKET_BITS` number of bits of `bloomHash`.\n // Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset that the mask\n // should be written to.\n tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask;\n}\n/**\n * Creates (or gets an existing) injector for a given element or container.\n *\n * @param tNode for which an injector should be retrieved / created.\n * @param lView View where the node is stored\n * @returns Node injector\n */\nfunction getOrCreateNodeInjectorForNode(tNode, lView) {\n const existingInjectorIndex = getInjectorIndex(tNode, lView);\n if (existingInjectorIndex !== -1) {\n return existingInjectorIndex;\n }\n const tView = lView[TVIEW];\n if (tView.firstCreatePass) {\n tNode.injectorIndex = lView.length;\n insertBloom(tView.data, tNode); // foundation for node bloom\n insertBloom(lView, null); // foundation for cumulative bloom\n insertBloom(tView.blueprint, null);\n }\n const parentLoc = getParentInjectorLocation(tNode, lView);\n const injectorIndex = tNode.injectorIndex;\n // If a parent injector can't be found, its location is set to -1.\n // In that case, we don't need to set up a cumulative bloom\n if (hasParentInjector(parentLoc)) {\n const parentIndex = getParentInjectorIndex(parentLoc);\n const parentLView = getParentInjectorView(parentLoc, lView);\n const parentData = parentLView[TVIEW].data;\n // Creates a cumulative bloom filter that merges the parent's bloom filter\n // and its own cumulative bloom (which contains tokens for all ancestors)\n for (let i = 0; i < 8 /* NodeInjectorOffset.BLOOM_SIZE */; i++) {\n lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];\n }\n }\n lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */] = parentLoc;\n return injectorIndex;\n}\nfunction insertBloom(arr, footer) {\n arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);\n}\nfunction getInjectorIndex(tNode, lView) {\n if (tNode.injectorIndex === -1 ||\n // If the injector index is the same as its parent's injector index, then the index has been\n // copied down from the parent node. No injector has been created yet on this node.\n tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex ||\n // After the first template pass, the injector index might exist but the parent values\n // might not have been calculated yet for this instance\n lView[tNode.injectorIndex + 8 /* NodeInjectorOffset.PARENT */] === null) {\n return -1;\n } else {\n ngDevMode && assertIndexInRange(lView, tNode.injectorIndex);\n return tNode.injectorIndex;\n }\n}\n/**\n * Finds the index of the parent injector, with a view offset if applicable. Used to set the\n * parent injector initially.\n *\n * @returns Returns a number that is the combination of the number of LViews that we have to go up\n * to find the LView containing the parent inject AND the index of the injector within that LView.\n */\nfunction getParentInjectorLocation(tNode, lView) {\n if (tNode.parent && tNode.parent.injectorIndex !== -1) {\n // If we have a parent `TNode` and there is an injector associated with it we are done, because\n // the parent injector is within the current `LView`.\n return tNode.parent.injectorIndex; // ViewOffset is 0\n }\n // When parent injector location is computed it may be outside of the current view. (ie it could\n // be pointing to a declared parent location). This variable stores number of declaration parents\n // we need to walk up in order to find the parent injector location.\n let declarationViewOffset = 0;\n let parentTNode = null;\n let lViewCursor = lView;\n // The parent injector is not in the current `LView`. We will have to walk the declared parent\n // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent\n // `NodeInjector`.\n while (lViewCursor !== null) {\n parentTNode = getTNodeFromLView(lViewCursor);\n if (parentTNode === null) {\n // If we have no parent, than we are done.\n return NO_PARENT_INJECTOR;\n }\n ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]);\n // Every iteration of the loop requires that we go to the declared parent.\n declarationViewOffset++;\n lViewCursor = lViewCursor[DECLARATION_VIEW];\n if (parentTNode.injectorIndex !== -1) {\n // We found a NodeInjector which points to something.\n return parentTNode.injectorIndex | declarationViewOffset << 16 /* RelativeInjectorLocationFlags.ViewOffsetShift */;\n }\n }\n return NO_PARENT_INJECTOR;\n}\n/**\n * Makes a type or an injection token public to the DI system by adding it to an\n * injector's bloom filter.\n *\n * @param di The node injector in which a directive will be added\n * @param token The type or the injection token to be made public\n */\nfunction diPublicInInjector(injectorIndex, tView, token) {\n bloomAdd(injectorIndex, tView, token);\n}\n/**\n * Inject static attribute value into directive constructor.\n *\n * This method is used with `factory` functions which are generated as part of\n * `defineDirective` or `defineComponent`. The method retrieves the static value\n * of an attribute. (Dynamic attributes are not supported since they are not resolved\n * at the time of injection and can change over time.)\n *\n * # Example\n * Given:\n * ```ts\n * @Component(...)\n * class MyComponent {\n * constructor(@Attribute('title') title: string) { ... }\n * }\n * ```\n * When instantiated with\n * ```html\n * \n * ```\n *\n * Then factory method generated is:\n * ```ts\n * MyComponent.ɵcmp = defineComponent({\n * factory: () => new MyComponent(injectAttribute('title'))\n * ...\n * })\n * ```\n *\n * @publicApi\n */\nfunction injectAttributeImpl(tNode, attrNameToInject) {\n ngDevMode && assertTNodeType(tNode, 12 /* TNodeType.AnyContainer */ | 3 /* TNodeType.AnyRNode */);\n ngDevMode && assertDefined(tNode, 'expecting tNode');\n if (attrNameToInject === 'class') {\n return tNode.classes;\n }\n if (attrNameToInject === 'style') {\n return tNode.styles;\n }\n const attrs = tNode.attrs;\n if (attrs) {\n const attrsLength = attrs.length;\n let i = 0;\n while (i < attrsLength) {\n const value = attrs[i];\n // If we hit a `Bindings` or `Template` marker then we are done.\n if (isNameOnlyAttributeMarker(value)) break;\n // Skip namespaced attributes\n if (value === 0 /* AttributeMarker.NamespaceURI */) {\n // we skip the next two values\n // as namespaced attributes looks like\n // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',\n // 'existValue', ...]\n i = i + 2;\n } else if (typeof value === 'number') {\n // Skip to the first value of the marked attribute.\n i++;\n while (i < attrsLength && typeof attrs[i] === 'string') {\n i++;\n }\n } else if (value === attrNameToInject) {\n return attrs[i + 1];\n } else {\n i = i + 2;\n }\n }\n }\n return null;\n}\nfunction notFoundValueOrThrow(notFoundValue, token, flags) {\n if (flags & InjectFlags.Optional || notFoundValue !== undefined) {\n return notFoundValue;\n } else {\n throwProviderNotFoundError(token, 'NodeInjector');\n }\n}\n/**\n * Returns the value associated to the given token from the ModuleInjector or throws exception\n *\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector or throws an exception\n */\nfunction lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {\n if (flags & InjectFlags.Optional && notFoundValue === undefined) {\n // This must be set or the NullInjector will throw for optional deps\n notFoundValue = null;\n }\n if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {\n const moduleInjector = lView[INJECTOR];\n // switch to `injectInjectorOnly` implementation for module injector, since module injector\n // should not have access to Component/Directive DI scope (that may happen through\n // `directiveInject` implementation)\n const previousInjectImplementation = setInjectImplementation(undefined);\n try {\n if (moduleInjector) {\n return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);\n } else {\n return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);\n }\n } finally {\n setInjectImplementation(previousInjectImplementation);\n }\n }\n return notFoundValueOrThrow(notFoundValue, token, flags);\n}\n/**\n * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.\n *\n * Look for the injector providing the token by walking up the node injector tree and then\n * the module injector tree.\n *\n * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom\n * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {\n if (tNode !== null) {\n // If the view or any of its ancestors have an embedded\n // view injector, we have to look it up there first.\n if (lView[FLAGS] & 2048 /* LViewFlags.HasEmbeddedViewInjector */ &&\n // The token must be present on the current node injector when the `Self`\n // flag is set, so the lookup on embedded view injector(s) can be skipped.\n !(flags & InjectFlags.Self)) {\n const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);\n if (embeddedInjectorValue !== NOT_FOUND) {\n return embeddedInjectorValue;\n }\n }\n // Otherwise try the node injector.\n const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND);\n if (value !== NOT_FOUND) {\n return value;\n }\n }\n // Finally, fall back to the module injector.\n return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n}\n/**\n * Returns the value associated to the given token from the node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {\n const bloomHash = bloomHashBitOrFactory(token);\n // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef\n // so just call the factory function to create it.\n if (typeof bloomHash === 'function') {\n if (!enterDI(lView, tNode, flags)) {\n // Failed to enter DI, try module injector instead. If a token is injected with the @Host\n // flag, the module injector is not searched for that token in Ivy.\n return flags & InjectFlags.Host ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);\n }\n try {\n let value;\n if (ngDevMode) {\n runInInjectorProfilerContext(new NodeInjector(getCurrentTNode(), getLView()), token, () => {\n value = bloomHash(flags);\n if (value != null) {\n emitInstanceCreatedByInjectorEvent(value);\n }\n });\n } else {\n value = bloomHash(flags);\n }\n if (value == null && !(flags & InjectFlags.Optional)) {\n throwProviderNotFoundError(token);\n } else {\n return value;\n }\n } finally {\n leaveDI();\n }\n } else if (typeof bloomHash === 'number') {\n // A reference to the previous injector TView that was found while climbing the element\n // injector tree. This is used to know if viewProviders can be accessed on the current\n // injector.\n let previousTView = null;\n let injectorIndex = getInjectorIndex(tNode, lView);\n let parentLocation = NO_PARENT_INJECTOR;\n let hostTElementNode = flags & InjectFlags.Host ? lView[DECLARATION_COMPONENT_VIEW][T_HOST] : null;\n // If we should skip this injector, or if there is no injector on this node, start by\n // searching the parent injector.\n if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {\n parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) {\n injectorIndex = -1;\n } else {\n previousTView = lView[TVIEW];\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n }\n }\n // Traverse up the injector tree until we find a potential match or until we know there\n // *isn't* a match.\n while (injectorIndex !== -1) {\n ngDevMode && assertNodeInjector(lView, injectorIndex);\n // Check the current injector. If it matches, see if it contains token.\n const tView = lView[TVIEW];\n ngDevMode && assertTNodeForLView(tView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */], lView);\n if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {\n // At this point, we have an injector which *may* contain the token, so we step through\n // the providers and directives associated with the injector's corresponding node to get\n // the instance.\n const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);\n if (instance !== NOT_FOUND) {\n return instance;\n }\n }\n parentLocation = lView[injectorIndex + 8 /* NodeInjectorOffset.PARENT */];\n if (parentLocation !== NO_PARENT_INJECTOR && shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) {\n // The def wasn't found anywhere on this node, so it was a false positive.\n // Traverse up the tree and continue searching.\n previousTView = tView;\n injectorIndex = getParentInjectorIndex(parentLocation);\n lView = getParentInjectorView(parentLocation, lView);\n } else {\n // If we should not search parent OR If the ancestor bloom filter value does not have the\n // bit corresponding to the directive we can give up on traversing up to find the specific\n // injector.\n injectorIndex = -1;\n }\n }\n }\n return notFoundValue;\n}\nfunction searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {\n const currentTView = lView[TVIEW];\n const tNode = currentTView.data[injectorIndex + 8 /* NodeInjectorOffset.TNODE */];\n // First, we need to determine if view providers can be accessed by the starting element.\n // There are two possibilities\n const canAccessViewProviders = previousTView == null ?\n // 1) This is the first invocation `previousTView == null` which means that we are at the\n // `TNode` of where injector is starting to look. In such a case the only time we are allowed\n // to look into the ViewProviders is if:\n // - we are on a component\n // - AND the injector set `includeViewProviders` to true (implying that the token can see\n // ViewProviders because it is the Component or a Service which itself was declared in\n // ViewProviders)\n isComponentHost(tNode) && includeViewProviders :\n // 2) `previousTView != null` which means that we are now walking across the parent nodes.\n // In such a case we are only allowed to look into the ViewProviders if:\n // - We just crossed from child View to Parent View `previousTView != currentTView`\n // - AND the parent TNode is an Element.\n // This means that we just came from the Component's View and therefore are allowed to see\n // into the ViewProviders.\n previousTView != currentTView && (tNode.type & 3 /* TNodeType.AnyRNode */) !== 0;\n // This special case happens when there is a @host on the inject and when we are searching\n // on the host element node.\n const isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode;\n const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);\n if (injectableIdx !== null) {\n return getNodeInjectable(lView, currentTView, injectableIdx, tNode);\n } else {\n return NOT_FOUND;\n }\n}\n/**\n * Searches for the given token among the node's directives and providers.\n *\n * @param tNode TNode on which directives are present.\n * @param tView The tView we are currently processing\n * @param token Provider token or type of a directive to look for.\n * @param canAccessViewProviders Whether view providers should be considered.\n * @param isHostSpecialCase Whether the host special case applies.\n * @returns Index of a found directive or provider, or null when none found.\n */\nfunction locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {\n const nodeProviderIndexes = tNode.providerIndexes;\n const tInjectables = tView.data;\n const injectablesStart = nodeProviderIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n const directivesStart = tNode.directiveStart;\n const directiveEnd = tNode.directiveEnd;\n const cptViewProvidersCount = nodeProviderIndexes >> 20 /* TNodeProviderIndexes.CptViewProvidersCountShift */;\n const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount;\n // When the host special case applies, only the viewProviders and the component are visible\n const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;\n for (let i = startingIndex; i < endIndex; i++) {\n const providerTokenOrDef = tInjectables[i];\n if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart && providerTokenOrDef.type === token) {\n return i;\n }\n }\n if (isHostSpecialCase) {\n const dirDef = tInjectables[directivesStart];\n if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {\n return directivesStart;\n }\n }\n return null;\n}\n/**\n * Retrieve or instantiate the injectable from the `LView` at particular `index`.\n *\n * This function checks to see if the value has already been instantiated and if so returns the\n * cached `injectable`. Otherwise if it detects that the value is still a factory it\n * instantiates the `injectable` and caches the value.\n */\nfunction getNodeInjectable(lView, tView, index, tNode) {\n let value = lView[index];\n const tData = tView.data;\n if (isFactory(value)) {\n const factory = value;\n if (factory.resolving) {\n throwCyclicDependencyError(stringifyForError(tData[index]));\n }\n const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);\n factory.resolving = true;\n let prevInjectContext;\n if (ngDevMode) {\n // tData indexes mirror the concrete instances in its corresponding LView.\n // lView[index] here is either the injectable instace itself or a factory,\n // therefore tData[index] is the constructor of that injectable or a\n // definition object that contains the constructor in a `.type` field.\n const token = tData[index].type || tData[index];\n const injector = new NodeInjector(tNode, lView);\n prevInjectContext = setInjectorProfilerContext({\n injector,\n token\n });\n }\n const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null;\n const success = enterDI(lView, tNode, InjectFlags.Default);\n ngDevMode && assertEqual(success, true, \"Because flags do not contain `SkipSelf' we expect this to always succeed.\");\n try {\n value = lView[index] = factory.factory(undefined, tData, lView, tNode);\n ngDevMode && emitInstanceCreatedByInjectorEvent(value);\n // This code path is hit for both directives and providers.\n // For perf reasons, we want to avoid searching for hooks on providers.\n // It does no harm to try (the hooks just won't exist), but the extra\n // checks are unnecessary and this is a hot path. So we check to see\n // if the index of the dependency is in the directive range for this\n // tNode. If it's not, we know it's a provider and skip hook registration.\n if (tView.firstCreatePass && index >= tNode.directiveStart) {\n ngDevMode && assertDirectiveDef(tData[index]);\n registerPreOrderHooks(index, tData[index], tView);\n }\n } finally {\n ngDevMode && setInjectorProfilerContext(prevInjectContext);\n previousInjectImplementation !== null && setInjectImplementation(previousInjectImplementation);\n setIncludeViewProviders(previousIncludeViewProviders);\n factory.resolving = false;\n leaveDI();\n }\n }\n return value;\n}\n/**\n * Returns the bit in an injector's bloom filter that should be used to determine whether or not\n * the directive might be provided by the injector.\n *\n * When a directive is public, it is added to the bloom filter and given a unique ID that can be\n * retrieved on the Type. When the directive isn't public or the token is not a directive `null`\n * is returned as the node injector can not possibly provide that token.\n *\n * @param token the injection token\n * @returns the matching bit to check in the bloom filter or `null` if the token is not known.\n * When the returned value is negative then it represents special values such as `Injector`.\n */\nfunction bloomHashBitOrFactory(token) {\n ngDevMode && assertDefined(token, 'token must be defined');\n if (typeof token === 'string') {\n return token.charCodeAt(0) || 0;\n }\n const tokenId =\n // First check with `hasOwnProperty` so we don't get an inherited ID.\n token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined;\n // Negative token IDs are used for special objects such as `Injector`\n if (typeof tokenId === 'number') {\n if (tokenId >= 0) {\n return tokenId & BLOOM_MASK;\n } else {\n ngDevMode && assertEqual(tokenId, -1 /* InjectorMarkers.Injector */, 'Expecting to get Special Injector Id');\n return createNodeInjector;\n }\n } else {\n return tokenId;\n }\n}\nfunction bloomHasToken(bloomHash, injectorIndex, injectorView) {\n // Create a mask that targets the specific bit associated with the directive we're looking for.\n // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding\n // to bit positions 0 - 31 in a 32 bit integer.\n const mask = 1 << bloomHash;\n // Each bloom bucket in `injectorView` represents `BLOOM_BUCKET_BITS` number of bits of\n // `bloomHash`. Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset\n // that should be used.\n const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)];\n // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,\n // this injector is a potential match.\n return !!(value & mask);\n}\n/** Returns true if flags prevent parent injector from being searched for tokens */\nfunction shouldSearchParent(flags, isFirstHostTNode) {\n return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);\n}\nfunction getNodeInjectorLView(nodeInjector) {\n return nodeInjector._lView;\n}\nfunction getNodeInjectorTNode(nodeInjector) {\n return nodeInjector._tNode;\n}\nclass NodeInjector {\n _tNode;\n _lView;\n constructor(_tNode, _lView) {\n this._tNode = _tNode;\n this._lView = _lView;\n }\n get(token, notFoundValue, flags) {\n return getOrCreateInjectable(this._tNode, this._lView, token, convertToBitFlags(flags), notFoundValue);\n }\n}\n/** Creates a `NodeInjector` for the current node. */\nfunction createNodeInjector() {\n return new NodeInjector(getCurrentTNode(), getLView());\n}\n/**\n * @codeGenApi\n */\nfunction ɵɵgetInheritedFactory(type) {\n return noSideEffects(() => {\n const ownConstructor = type.prototype.constructor;\n const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);\n const objectPrototype = Object.prototype;\n let parent = Object.getPrototypeOf(type.prototype).constructor;\n // Go up the prototype until we hit `Object`.\n while (parent && parent !== objectPrototype) {\n const factory = parent[NG_FACTORY_DEF] || getFactoryOf(parent);\n // If we hit something that has a factory and the factory isn't the same as the type,\n // we've found the inherited factory. Note the check that the factory isn't the type's\n // own factory is redundant in most cases, but if the user has custom decorators on the\n // class, this lookup will start one level down in the prototype chain, causing us to\n // find the own factory first and potentially triggering an infinite loop downstream.\n if (factory && factory !== ownFactory) {\n return factory;\n }\n parent = Object.getPrototypeOf(parent);\n }\n // There is no factory defined. Either this was improper usage of inheritance\n // (no Angular decorator on the superclass) or there is no constructor at all\n // in the inheritance chain. Since the two cases cannot be distinguished, the\n // latter has to be assumed.\n return t => new t();\n });\n}\nfunction getFactoryOf(type) {\n if (isForwardRef(type)) {\n return () => {\n const factory = getFactoryOf(resolveForwardRef(type));\n return factory && factory();\n };\n }\n return getFactoryDef(type);\n}\n/**\n * Returns a value from the closest embedded or node injector.\n *\n * @param tNode The Node where the search for the injector should start\n * @param lView The `LView` that contains the `tNode`\n * @param token The token to look for\n * @param flags Injection flags\n * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`\n * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided\n */\nfunction lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {\n let currentTNode = tNode;\n let currentLView = lView;\n // When an LView with an embedded view injector is inserted, it'll likely be interlaced with\n // nodes who may have injectors (e.g. node injector -> embedded view injector -> node injector).\n // Since the bloom filters for the node injectors have already been constructed and we don't\n // have a way of extracting the records from an injector, the only way to maintain the correct\n // hierarchy when resolving the value is to walk it node-by-node while attempting to resolve\n // the token at each level.\n while (currentTNode !== null && currentLView !== null && currentLView[FLAGS] & 2048 /* LViewFlags.HasEmbeddedViewInjector */ && !isRootView(currentLView)) {\n ngDevMode && assertTNodeForLView(currentTNode, currentLView);\n // Note that this lookup on the node injector is using the `Self` flag, because\n // we don't want the node injector to look at any parent injectors since we\n // may hit the embedded view injector first.\n const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND);\n if (nodeInjectorValue !== NOT_FOUND) {\n return nodeInjectorValue;\n }\n // Has an explicit type due to a TS bug: https://github.com/microsoft/TypeScript/issues/33191\n let parentTNode = currentTNode.parent;\n // `TNode.parent` includes the parent within the current view only. If it doesn't exist,\n // it means that we've hit the view boundary and we need to go up to the next view.\n if (!parentTNode) {\n // Before we go to the next LView, check if the token exists on the current embedded injector.\n const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR];\n if (embeddedViewInjector) {\n const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND, flags);\n if (embeddedViewInjectorValue !== NOT_FOUND) {\n return embeddedViewInjectorValue;\n }\n }\n // Otherwise keep going up the tree.\n parentTNode = getTNodeFromLView(currentLView);\n currentLView = currentLView[DECLARATION_VIEW];\n }\n currentTNode = parentTNode;\n }\n return notFoundValue;\n}\n/** Gets the TNode associated with an LView inside of the declaration view. */\nfunction getTNodeFromLView(lView) {\n const tView = lView[TVIEW];\n const tViewType = tView.type;\n // The parent pointer differs based on `TView.type`.\n if (tViewType === 2 /* TViewType.Embedded */) {\n ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');\n return tView.declTNode;\n } else if (tViewType === 1 /* TViewType.Component */) {\n // Components don't have `TView.declTNode` because each instance of component could be\n // inserted in different location, hence `TView.declTNode` is meaningless.\n return lView[T_HOST];\n }\n return null;\n}\n\n/**\n * Facade for the attribute injection from DI.\n *\n * @codeGenApi\n */\nfunction ɵɵinjectAttribute(attrNameToInject) {\n return injectAttributeImpl(getCurrentTNode(), attrNameToInject);\n}\n\n/**\n * Attribute decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Attribute = /*#__PURE__*/makeParamDecorator('Attribute', attributeName => ({\n attributeName,\n __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName)\n}));\nlet _reflect = null;\nfunction getReflect() {\n return _reflect = _reflect || new ReflectionCapabilities();\n}\nfunction reflectDependencies(type) {\n return convertDependencies(getReflect().parameters(type));\n}\nfunction convertDependencies(deps) {\n return deps.map(dep => reflectDependency(dep));\n}\nfunction reflectDependency(dep) {\n const meta = {\n token: null,\n attribute: null,\n host: false,\n optional: false,\n self: false,\n skipSelf: false\n };\n if (Array.isArray(dep) && dep.length > 0) {\n for (let j = 0; j < dep.length; j++) {\n const param = dep[j];\n if (param === undefined) {\n // param may be undefined if type of dep is not set by ngtsc\n continue;\n }\n const proto = Object.getPrototypeOf(param);\n if (param instanceof Optional || proto.ngMetadataName === 'Optional') {\n meta.optional = true;\n } else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') {\n meta.skipSelf = true;\n } else if (param instanceof Self || proto.ngMetadataName === 'Self') {\n meta.self = true;\n } else if (param instanceof Host || proto.ngMetadataName === 'Host') {\n meta.host = true;\n } else if (param instanceof Inject) {\n meta.token = param.token;\n } else if (param instanceof Attribute) {\n if (param.attributeName === undefined) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `Attribute name must be defined.`);\n }\n meta.attribute = param.attributeName;\n } else {\n meta.token = param;\n }\n }\n } else if (dep === undefined || Array.isArray(dep) && dep.length === 0) {\n meta.token = null;\n } else {\n meta.token = dep;\n }\n return meta;\n}\n\n/**\n * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting\n * injectable def (`ɵprov`) onto the injectable type.\n */\nfunction compileInjectable(type, meta) {\n let ngInjectableDef = null;\n let ngFactoryDef = null;\n // if NG_PROV_DEF is already defined on this class then don't overwrite it\n if (!type.hasOwnProperty(NG_PROV_DEF)) {\n Object.defineProperty(type, NG_PROV_DEF, {\n get: () => {\n if (ngInjectableDef === null) {\n const compiler = getCompilerFacade({\n usage: 0 /* JitCompilerUsage.Decorator */,\n kind: 'injectable',\n type\n });\n ngInjectableDef = compiler.compileInjectable(angularCoreDiEnv, `ng:///${type.name}/ɵprov.js`, getInjectableMetadata(type, meta));\n }\n return ngInjectableDef;\n }\n });\n }\n // if NG_FACTORY_DEF is already defined on this class then don't overwrite it\n if (!type.hasOwnProperty(NG_FACTORY_DEF)) {\n Object.defineProperty(type, NG_FACTORY_DEF, {\n get: () => {\n if (ngFactoryDef === null) {\n const compiler = getCompilerFacade({\n usage: 0 /* JitCompilerUsage.Decorator */,\n kind: 'injectable',\n type\n });\n ngFactoryDef = compiler.compileFactory(angularCoreDiEnv, `ng:///${type.name}/ɵfac.js`, {\n name: type.name,\n type,\n typeArgumentCount: 0,\n // In JIT mode types are not available nor used.\n deps: reflectDependencies(type),\n target: compiler.FactoryTarget.Injectable\n });\n }\n return ngFactoryDef;\n },\n // Leave this configurable so that the factories from directives or pipes can take precedence.\n configurable: true\n });\n }\n}\nconst USE_VALUE = /*#__PURE__*/getClosureSafeProperty({\n provide: String,\n useValue: getClosureSafeProperty\n});\nfunction isUseClassProvider(meta) {\n return meta.useClass !== undefined;\n}\nfunction isUseValueProvider(meta) {\n return USE_VALUE in meta;\n}\nfunction isUseFactoryProvider(meta) {\n return meta.useFactory !== undefined;\n}\nfunction isUseExistingProvider(meta) {\n return meta.useExisting !== undefined;\n}\nfunction getInjectableMetadata(type, srcMeta) {\n // Allow the compilation of a class with a `@Injectable()` decorator without parameters\n const meta = srcMeta || {\n providedIn: null\n };\n const compilerMeta = {\n name: type.name,\n type: type,\n typeArgumentCount: 0,\n providedIn: meta.providedIn\n };\n if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {\n compilerMeta.deps = convertDependencies(meta.deps);\n }\n // Check to see if the user explicitly provided a `useXxxx` property.\n if (isUseClassProvider(meta)) {\n compilerMeta.useClass = meta.useClass;\n } else if (isUseValueProvider(meta)) {\n compilerMeta.useValue = meta.useValue;\n } else if (isUseFactoryProvider(meta)) {\n compilerMeta.useFactory = meta.useFactory;\n } else if (isUseExistingProvider(meta)) {\n compilerMeta.useExisting = meta.useExisting;\n }\n return compilerMeta;\n}\n\n/**\n * Injectable decorator and metadata.\n *\n * @Annotation\n * @publicApi\n */\nconst Injectable = /*#__PURE__*/makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));\n\n/**\n * Create a new `Injector` which is configured using a `defType` of `InjectorType`s.\n */\nfunction createInjector(defType, parent = null, additionalProviders = null, name) {\n const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);\n injector.resolveInjectorInitializers();\n return injector;\n}\n/**\n * Creates a new injector without eagerly resolving its injector types. Can be used in places\n * where resolving the injector types immediately can lead to an infinite loop. The injector types\n * should be resolved at a later point by calling `_resolveInjectorDefTypes`.\n */\nfunction createInjectorWithoutInjectorInstances(defType, parent = null, additionalProviders = null, name, scopes = new Set()) {\n const providers = [additionalProviders || EMPTY_ARRAY, importProvidersFrom(defType)];\n name = name || (typeof defType === 'object' ? undefined : stringify(defType));\n return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);\n}\n\n/**\n * Concrete injectors implement this interface. Injectors are configured\n * with [providers](guide/di/dependency-injection-providers) that associate\n * dependencies of various types with [injection tokens](guide/di/dependency-injection-providers).\n *\n * @see [DI Providers](guide/di/dependency-injection-providers).\n * @see {@link StaticProvider}\n *\n * @usageNotes\n *\n * The following example creates a service injector instance.\n *\n * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'}\n *\n * ### Usage example\n *\n * {@example core/di/ts/injector_spec.ts region='Injector'}\n *\n * `Injector` returns itself when given `Injector` as a token:\n *\n * {@example core/di/ts/injector_spec.ts region='injectInjector'}\n *\n * @publicApi\n */\nclass Injector {\n static THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;\n static NULL = /*#__PURE__*/new NullInjector();\n static create(options, parent) {\n if (Array.isArray(options)) {\n return createInjector({\n name: ''\n }, parent, options, '');\n } else {\n const name = options.name ?? '';\n return createInjector({\n name\n }, options.parent, options.providers, name);\n }\n }\n /** @nocollapse */\n static ɵprov = /** @pureOrBreakMyCode */ /* @__PURE__ */ɵɵdefineInjectable({\n token: Injector,\n providedIn: 'any',\n factory: () => ɵɵinject(INJECTOR$1)\n });\n /**\n * @internal\n * @nocollapse\n */\n static __NG_ELEMENT_ID__ = -1 /* InjectorMarkers.Injector */;\n}\n\n/*!\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n/**\n * Creates a token that can be used to inject static attributes of the host node.\n *\n * @usageNotes\n * ### Injecting an attribute that is known to exist\n * ```ts\n * @Directive()\n * class MyDir {\n * attr: string = inject(new HostAttributeToken('some-attr'));\n * }\n * ```\n *\n * ### Optionally injecting an attribute\n * ```ts\n * @Directive()\n * class MyDir {\n * attr: string | null = inject(new HostAttributeToken('some-attr'), {optional: true});\n * }\n * ```\n * @publicApi\n */\nclass HostAttributeToken {\n attributeName;\n constructor(attributeName) {\n this.attributeName = attributeName;\n }\n /** @internal */\n __NG_ELEMENT_ID__ = () => ɵɵinjectAttribute(this.attributeName);\n toString() {\n return `HostAttributeToken ${this.attributeName}`;\n }\n}\n\n/**\n * A token that can be used to inject the tag name of the host node.\n *\n * @usageNotes\n * ### Injecting a tag name that is known to exist\n * ```ts\n * @Directive()\n * class MyDir {\n * tagName: string = inject(HOST_TAG_NAME);\n * }\n * ```\n *\n * ### Optionally injecting a tag name\n * ```ts\n * @Directive()\n * class MyDir {\n * tagName: string | null = inject(HOST_TAG_NAME, {optional: true});\n * }\n * ```\n * @publicApi\n */\nconst HOST_TAG_NAME = /*#__PURE__*/new InjectionToken(ngDevMode ? 'HOST_TAG_NAME' : '');\n// HOST_TAG_NAME should be resolved at the current node, similar to e.g. ElementRef,\n// so we manually specify __NG_ELEMENT_ID__ here, instead of using a factory.\n// tslint:disable-next-line:no-toplevel-property-access\nHOST_TAG_NAME.__NG_ELEMENT_ID__ = flags => {\n const tNode = getCurrentTNode();\n if (tNode === null) {\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && 'HOST_TAG_NAME can only be injected in directives and components ' + 'during construction time (in a class constructor or as a class field initializer)');\n }\n if (tNode.type & 2 /* TNodeType.Element */) {\n return tNode.value;\n }\n if (flags & InjectFlags.Optional) {\n return null;\n }\n throw new RuntimeError(204 /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */, ngDevMode && `HOST_TAG_NAME was used on ${getDevModeNodeName(tNode)} which doesn't have an underlying element in the DOM. ` + `This is invalid, and so the dependency should be marked as optional.`);\n};\nfunction getDevModeNodeName(tNode) {\n if (tNode.type & 8 /* TNodeType.ElementContainer */) {\n return 'an ';\n } else if (tNode.type & 4 /* TNodeType.Container */) {\n return 'an ';\n } else if (tNode.type & 128 /* TNodeType.LetDeclaration */) {\n return 'an @let declaration';\n } else {\n return 'a node';\n }\n}\n\n/**\n * @module\n * @description\n * The `di` module provides dependency injection container services.\n */\n\n/**\n * This file should not be necessary because node resolution should just default to `./di/index`!\n *\n * However it does not seem to work and it breaks:\n * - //packages/animations/browser/test:test_web_chromium-local\n * - //packages/compiler-cli/test:extract_i18n\n * - //packages/compiler-cli/test:ngc\n * - //packages/compiler-cli/test:perform_watch\n * - //packages/compiler-cli/test/diagnostics:check_types\n * - //packages/compiler-cli/test/transformers:test\n * - //packages/compiler/test:test\n * - //tools/public_api_guard:core_api\n *\n * Remove this file once the above is solved or wait until `ngc` is deleted and then it should be\n * safe to delete this file.\n */\n\nconst SCHEDULE_IN_ROOT_ZONE_DEFAULT = false;\n\n/**\n * `DestroyRef` lets you set callbacks to run for any cleanup or destruction behavior.\n * The scope of this destruction depends on where `DestroyRef` is injected. If `DestroyRef`\n * is injected in a component or directive, the callbacks run when that component or\n * directive is destroyed. Otherwise the callbacks run when a corresponding injector is destroyed.\n *\n * @publicApi\n */\nlet DestroyRef = /*#__PURE__*/(() => {\n class DestroyRef {\n /**\n * @internal\n * @nocollapse\n */\n static __NG_ELEMENT_ID__ = injectDestroyRef;\n /**\n * @internal\n * @nocollapse\n */\n static __NG_ENV_ID__ = injector => injector;\n }\n return DestroyRef;\n})();\nclass NodeInjectorDestroyRef extends DestroyRef {\n _lView;\n constructor(_lView) {\n super();\n this._lView = _lView;\n }\n onDestroy(callback) {\n storeLViewOnDestroy(this._lView, callback);\n return () => removeLViewOnDestroy(this._lView, callback);\n }\n}\nfunction injectDestroyRef() {\n return new NodeInjectorDestroyRef(getLView());\n}\n\n/**\n * Injectable that is notified when an `LView` is made aware of changes to application state.\n */\nclass ChangeDetectionScheduler {}\n/** Token used to indicate if zoneless was enabled via provideZonelessChangeDetection(). */\nconst ZONELESS_ENABLED = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Zoneless enabled' : '', {\n providedIn: 'root',\n factory: () => false\n});\n/** Token used to indicate `provideExperimentalZonelessChangeDetection` was used. */\nconst PROVIDED_ZONELESS = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'Zoneless provided' : '', {\n providedIn: 'root',\n factory: () => false\n});\nconst ZONELESS_SCHEDULER_DISABLED = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'scheduler disabled' : '');\n// TODO(atscott): Remove in v19. Scheduler should be done with runOutsideAngular.\nconst SCHEDULE_IN_ROOT_ZONE = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'run changes outside zone in root' : '');\n\n/**\n * Internal implementation of the pending tasks service.\n */\nlet PendingTasksInternal = /*#__PURE__*/(() => {\n class PendingTasksInternal {\n taskId = 0;\n pendingTasks = new Set();\n get _hasPendingTasks() {\n return this.hasPendingTasks.value;\n }\n hasPendingTasks = new BehaviorSubject(false);\n add() {\n if (!this._hasPendingTasks) {\n this.hasPendingTasks.next(true);\n }\n const taskId = this.taskId++;\n this.pendingTasks.add(taskId);\n return taskId;\n }\n has(taskId) {\n return this.pendingTasks.has(taskId);\n }\n remove(taskId) {\n this.pendingTasks.delete(taskId);\n if (this.pendingTasks.size === 0 && this._hasPendingTasks) {\n this.hasPendingTasks.next(false);\n }\n }\n ngOnDestroy() {\n this.pendingTasks.clear();\n if (this._hasPendingTasks) {\n this.hasPendingTasks.next(false);\n }\n }\n /** @nocollapse */\n static ɵprov = /** @pureOrBreakMyCode */ /* @__PURE__ */ɵɵdefineInjectable({\n token: PendingTasksInternal,\n providedIn: 'root',\n factory: () => new PendingTasksInternal()\n });\n }\n return PendingTasksInternal;\n})();\n/**\n * Service that keeps track of pending tasks contributing to the stableness of Angular\n * application. While several existing Angular services (ex.: `HttpClient`) will internally manage\n * tasks influencing stability, this API gives control over stability to library and application\n * developers for specific cases not covered by Angular internals.\n *\n * The concept of stability comes into play in several important scenarios:\n * - SSR process needs to wait for the application stability before serializing and sending rendered\n * HTML;\n * - tests might want to delay assertions until the application becomes stable;\n *\n * @usageNotes\n * ```ts\n * const pendingTasks = inject(PendingTasks);\n * const taskCleanup = pendingTasks.add();\n * // do work that should block application's stability and then:\n * taskCleanup();\n * ```\n *\n * @publicApi\n * @developerPreview\n */\nlet PendingTasks = /*#__PURE__*/(() => {\n class PendingTasks {\n internalPendingTasks = inject(PendingTasksInternal);\n scheduler = inject(ChangeDetectionScheduler);\n /**\n * Adds a new task that should block application's stability.\n * @returns A cleanup function that removes a task when called.\n */\n add() {\n const taskId = this.internalPendingTasks.add();\n return () => {\n if (!this.internalPendingTasks.has(taskId)) {\n // This pending task has already been cleared.\n return;\n }\n // Notifying the scheduler will hold application stability open until the next tick.\n this.scheduler.notify(12 /* NotificationSource.PendingTaskRemoved */);\n this.internalPendingTasks.remove(taskId);\n };\n }\n /**\n * Runs an asynchronous function and blocks the application's stability until the function completes.\n *\n * ```ts\n * pendingTasks.run(async () => {\n * const userData = await fetch('/api/user');\n * this.userData.set(userData);\n * });\n * ```\n *\n * Application stability is at least delayed until the next tick after the `run` method resolves\n * so it is safe to make additional updates to application state that would require UI synchronization:\n *\n * ```ts\n * const userData = await pendingTasks.run(() => fetch('/api/user'));\n * this.userData.set(userData);\n * ```\n *\n * @param fn The asynchronous function to execute\n */\n async run(fn) {\n const removeTask = this.add();\n try {\n return await fn();\n } finally {\n removeTask();\n }\n }\n /** @nocollapse */\n static ɵprov = /** @pureOrBreakMyCode */ /* @__PURE__ */ɵɵdefineInjectable({\n token: PendingTasks,\n providedIn: 'root',\n factory: () => new PendingTasks()\n });\n }\n return PendingTasks;\n})();\nclass EventEmitter_ extends Subject {\n // tslint:disable-next-line:require-internal-with-underscore\n __isAsync;\n destroyRef = undefined;\n pendingTasks = undefined;\n constructor(isAsync = false) {\n super();\n this.__isAsync = isAsync;\n // Attempt to retrieve a `DestroyRef` and `PendingTasks` optionally.\n // For backwards compatibility reasons, this cannot be required.\n if (isInInjectionContext()) {\n // `DestroyRef` is optional because it is not available in all contexts.\n // But it is useful to properly complete the `EventEmitter` if used with `outputToObservable`\n // when the component/directive is destroyed. (See `outputToObservable` for more details.)\n this.destroyRef = inject(DestroyRef, {\n optional: true\n }) ?? undefined;\n this.pendingTasks = inject(PendingTasksInternal, {\n optional: true\n }) ?? undefined;\n }\n }\n emit(value) {\n const prevConsumer = setActiveConsumer$1(null);\n try {\n super.next(value);\n } finally {\n setActiveConsumer$1(prevConsumer);\n }\n }\n subscribe(observerOrNext, error, complete) {\n let nextFn = observerOrNext;\n let errorFn = error || (() => null);\n let completeFn = complete;\n if (observerOrNext && typeof observerOrNext === 'object') {\n const observer = observerOrNext;\n nextFn = observer.next?.bind(observer);\n errorFn = observer.error?.bind(observer);\n completeFn = observer.complete?.bind(observer);\n }\n if (this.__isAsync) {\n errorFn = this.wrapInTimeout(errorFn);\n if (nextFn) {\n nextFn = this.wrapInTimeout(nextFn);\n }\n if (completeFn) {\n completeFn = this.wrapInTimeout(completeFn);\n }\n }\n const sink = super.subscribe({\n next: nextFn,\n error: errorFn,\n complete: completeFn\n });\n if (observerOrNext instanceof Subscription) {\n observerOrNext.add(sink);\n }\n return sink;\n }\n wrapInTimeout(fn) {\n return value => {\n const taskId = this.pendingTasks?.add();\n setTimeout(() => {\n fn(value);\n if (taskId !== undefined) {\n this.pendingTasks?.remove(taskId);\n }\n });\n };\n }\n}\n/**\n * @publicApi\n */\nconst EventEmitter = EventEmitter_;\nfunction noop(...args) {\n // Do nothing.\n}\n\n/**\n * Gets a scheduling function that runs the callback after the first of setTimeout and\n * requestAnimationFrame resolves.\n *\n * - `requestAnimationFrame` ensures that change detection runs ahead of a browser repaint.\n * This ensures that the create and update passes of a change detection always happen\n * in the same frame.\n * - When the browser is resource-starved, `rAF` can execute _before_ a `setTimeout` because\n * rendering is a very high priority process. This means that `setTimeout` cannot guarantee\n * same-frame create and update pass, when `setTimeout` is used to schedule the update phase.\n * - While `rAF` gives us the desirable same-frame updates, it has two limitations that\n * prevent it from being used alone. First, it does not run in background tabs, which would\n * prevent Angular from initializing an application when opened in a new tab (for example).\n * Second, repeated calls to requestAnimationFrame will execute at the refresh rate of the\n * hardware (~16ms for a 60Hz display). This would cause significant slowdown of tests that\n * are written with several updates and asserts in the form of \"update; await stable; assert;\".\n * - Both `setTimeout` and `rAF` are able to \"coalesce\" several events from a single user\n * interaction into a single change detection. Importantly, this reduces view tree traversals when\n * compared to an alternative timing mechanism like `queueMicrotask`, where change detection would\n * then be interleaves between each event.\n *\n * By running change detection after the first of `setTimeout` and `rAF` to execute, we get the\n * best of both worlds.\n *\n * @returns a function to cancel the scheduled callback\n */\nfunction scheduleCallbackWithRafRace(callback) {\n let timeoutId;\n let animationFrameId;\n function cleanup() {\n callback = noop;\n try {\n if (animationFrameId !== undefined && typeof cancelAnimationFrame === 'function') {\n cancelAnimationFrame(animationFrameId);\n }\n if (timeoutId !== undefined) {\n clearTimeout(timeoutId);\n }\n } catch {\n // Clearing/canceling can fail in tests due to the timing of functions being patched and unpatched\n // Just ignore the errors - we protect ourselves from this issue by also making the callback a no-op.\n }\n }\n timeoutId = setTimeout(() => {\n callback();\n cleanup();\n });\n if (typeof requestAnimationFrame === 'function') {\n animationFrameId = requestAnimationFrame(() => {\n callback();\n cleanup();\n });\n }\n return () => cleanup();\n}\nfunction scheduleCallbackWithMicrotask(callback) {\n queueMicrotask(() => callback());\n return () => {\n callback = noop;\n };\n}\nclass AsyncStackTaggingZoneSpec {\n createTask;\n constructor(namePrefix, consoleAsyncStackTaggingImpl = console) {\n this.name = 'asyncStackTagging for ' + namePrefix;\n this.createTask = consoleAsyncStackTaggingImpl?.createTask ?? (() => null);\n }\n // ZoneSpec implementation below.\n name;\n onScheduleTask(delegate, _current, target, task) {\n task.consoleTask = this.createTask(`Zone - ${task.source || task.type}`);\n return delegate.scheduleTask(target, task);\n }\n onInvokeTask(delegate, _currentZone, targetZone, task, applyThis, applyArgs) {\n let ret;\n if (task.consoleTask) {\n ret = task.consoleTask.run(() => delegate.invokeTask(targetZone, task, applyThis, applyArgs));\n } else {\n ret = delegate.invokeTask(targetZone, task, applyThis, applyArgs);\n }\n return ret;\n }\n}\nconst isAngularZoneProperty = 'isAngularZone';\nconst angularZoneInstanceIdProperty = isAngularZoneProperty + '_ID';\nlet ngZoneInstanceId = 0;\n/**\n * An injectable service for executing work inside or outside of the Angular zone.\n *\n * The most common use of this service is to optimize performance when starting a work consisting of\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks\n * can reenter the Angular zone via {@link #run}.\n *\n * \n *\n * @usageNotes\n * ### Example\n *\n * ```ts\n * import {Component, NgZone} from '@angular/core';\n * import {NgIf} from '@angular/common';\n *\n * @Component({\n * selector: 'ng-zone-demo',\n * template: `\n *

Demo: NgZone

\n *\n *

Progress: {{progress}}%

\n *

= 100\">Done processing {{label}} of Angular zone!

\n *\n * \n * \n * `,\n * })\n * export class NgZoneDemo {\n * progress: number = 0;\n * label: string;\n *\n * constructor(private _ngZone: NgZone) {}\n *\n * // Loop inside the Angular zone\n * // so the UI DOES refresh after each setTimeout cycle\n * processWithinAngularZone() {\n * this.label = 'inside';\n * this.progress = 0;\n * this._increaseProgress(() => console.log('Inside Done!'));\n * }\n *\n * // Loop outside of the Angular zone\n * // so the UI DOES NOT refresh after each setTimeout cycle\n * processOutsideOfAngularZone() {\n * this.label = 'outside';\n * this.progress = 0;\n * this._ngZone.runOutsideAngular(() => {\n * this._increaseProgress(() => {\n * // reenter the Angular zone and display done\n * this._ngZone.run(() => { console.log('Outside Done!'); });\n * });\n * });\n * }\n *\n * _increaseProgress(doneCallback: () => void) {\n * this.progress += 1;\n * console.log(`Current progress: ${this.progress}%`);\n *\n * if (this.progress < 100) {\n * window.setTimeout(() => this._increaseProgress(doneCallback), 10);\n * } else {\n * doneCallback();\n * }\n * }\n * }\n * ```\n *\n * @publicApi\n */\nclass NgZone {\n hasPendingMacrotasks = false;\n hasPendingMicrotasks = false;\n /**\n * Whether there are no outstanding microtasks or macrotasks.\n */\n isStable = true;\n /**\n * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n */\n onUnstable = /*#__PURE__*/new EventEmitter(false);\n /**\n * Notifies when there is no more microtasks enqueued in the current VM Turn.\n * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n * For this reason this event can fire multiple times per VM Turn.\n */\n onMicrotaskEmpty = /*#__PURE__*/new EventEmitter(false);\n /**\n * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n * implies we are about to relinquish VM turn.\n * This event gets called just once.\n */\n onStable = /*#__PURE__*/new EventEmitter(false);\n /**\n * Notifies that an error has been delivered.\n */\n onError = /*#__PURE__*/new EventEmitter(false);\n constructor(options) {\n const {\n enableLongStackTrace = false,\n shouldCoalesceEventChangeDetection = false,\n shouldCoalesceRunChangeDetection = false,\n scheduleInRootZone = SCHEDULE_IN_ROOT_ZONE_DEFAULT\n } = options;\n if (typeof Zone == 'undefined') {\n throw new RuntimeError(908 /* RuntimeErrorCode.MISSING_ZONEJS */, ngDevMode && `In this configuration Angular requires Zone.js`);\n }\n Zone.assertZonePatched();\n const self = this;\n self._nesting = 0;\n self._outer = self._inner = Zone.current;\n // AsyncStackTaggingZoneSpec provides `linked stack traces` to show\n // where the async operation is scheduled. For more details, refer\n // to this article, https://developer.chrome.com/blog/devtools-better-angular-debugging/\n // And we only import this AsyncStackTaggingZoneSpec in development mode,\n // in the production mode, the AsyncStackTaggingZoneSpec will be tree shaken away.\n if (ngDevMode) {\n self._inner = self._inner.fork(new AsyncStackTaggingZoneSpec('Angular'));\n }\n if (Zone['TaskTrackingZoneSpec']) {\n self._inner = self._inner.fork(new Zone['TaskTrackingZoneSpec']());\n }\n if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {\n self._inner = self._inner.fork(Zone['longStackTraceZoneSpec']);\n }\n // if shouldCoalesceRunChangeDetection is true, all tasks including event tasks will be\n // coalesced, so shouldCoalesceEventChangeDetection option is not necessary and can be skipped.\n self.shouldCoalesceEventChangeDetection = !shouldCoalesceRunChangeDetection && shouldCoalesceEventChangeDetection;\n self.shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection;\n self.callbackScheduled = false;\n self.scheduleInRootZone = scheduleInRootZone;\n forkInnerZoneWithAngularBehavior(self);\n }\n /**\n This method checks whether the method call happens within an Angular Zone instance.\n */\n static isInAngularZone() {\n // Zone needs to be checked, because this method might be called even when NoopNgZone is used.\n return typeof Zone !== 'undefined' && Zone.current.get(isAngularZoneProperty) === true;\n }\n /**\n Assures that the method is called within the Angular Zone, otherwise throws an error.\n */\n static assertInAngularZone() {\n if (!NgZone.isInAngularZone()) {\n throw new RuntimeError(909 /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */, ngDevMode && 'Expected to be in Angular Zone, but it is not!');\n }\n }\n /**\n Assures that the method is called outside of the Angular Zone, otherwise throws an error.\n */\n static assertNotInAngularZone() {\n if (NgZone.isInAngularZone()) {\n throw new RuntimeError(909 /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */, ngDevMode && 'Expected to not be in Angular Zone, but it is!');\n }\n }\n /**\n * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n * the function.\n *\n * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * within the Angular zone.\n *\n * If a synchronous error happens it will be rethrown and not reported via `onError`.\n */\n run(fn, applyThis, applyArgs) {\n return this._inner.run(fn, applyThis, applyArgs);\n }\n /**\n * Executes the `fn` function synchronously within the Angular zone as a task and returns value\n * returned by the function.\n *\n * Running functions via `runTask` allows you to reenter Angular zone from a task that was executed\n * outside of the Angular zone (typically started via {@link #runOutsideAngular}).\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * within the Angular zone.\n *\n * If a synchronous error happens it will be rethrown and not reported via `onError`.\n */\n runTask(fn, applyThis, applyArgs, name) {\n const zone = this._inner;\n const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop);\n try {\n return zone.runTask(task, applyThis, applyArgs);\n } finally {\n zone.cancelTask(task);\n }\n }\n /**\n * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n * rethrown.\n */\n runGuarded(fn, applyThis, applyArgs) {\n return this._inner.runGuarded(fn, applyThis, applyArgs);\n }\n /**\n * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n * the function.\n *\n * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do\n * work that\n * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * outside of the Angular zone.\n *\n * Use {@link #run} to reenter the Angular zone and do work that updates the application model.\n */\n runOutsideAngular(fn) {\n return this._outer.run(fn);\n }\n}\nconst EMPTY_PAYLOAD = {};\nfunction checkStable(zone) {\n // TODO: @JiaLiPassion, should check zone.isCheckStableRunning to prevent\n // re-entry. The case is:\n //\n // @Component({...})\n // export class AppComponent {\n // constructor(private ngZone: NgZone) {\n // this.ngZone.onStable.subscribe(() => {\n // this.ngZone.run(() => console.log('stable'););\n // });\n // }\n //\n // The onStable subscriber run another function inside ngZone\n // which causes `checkStable()` re-entry.\n // But this fix causes some issues in g3, so this fix will be\n // launched in another PR.\n if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {\n try {\n zone._nesting++;\n zone.onMicrotaskEmpty.emit(null);\n } finally {\n zone._nesting--;\n if (!zone.hasPendingMicrotasks) {\n try {\n zone.runOutsideAngular(() => zone.onStable.emit(null));\n } finally {\n zone.isStable = true;\n }\n }\n }\n }\n}\nfunction delayChangeDetectionForEvents(zone) {\n /**\n * We also need to check _nesting here\n * Consider the following case with shouldCoalesceRunChangeDetection = true\n *\n * ngZone.run(() => {});\n * ngZone.run(() => {});\n *\n * We want the two `ngZone.run()` only trigger one change detection\n * when shouldCoalesceRunChangeDetection is true.\n * And because in this case, change detection run in async way(requestAnimationFrame),\n * so we also need to check the _nesting here to prevent multiple\n * change detections.\n */\n if (zone.isCheckStableRunning || zone.callbackScheduled) {\n return;\n }\n zone.callbackScheduled = true;\n function scheduleCheckStable() {\n scheduleCallbackWithRafRace(() => {\n zone.callbackScheduled = false;\n updateMicroTaskStatus(zone);\n zone.isCheckStableRunning = true;\n checkStable(zone);\n zone.isCheckStableRunning = false;\n });\n }\n if (zone.scheduleInRootZone) {\n Zone.root.run(() => {\n scheduleCheckStable();\n });\n } else {\n zone._outer.run(() => {\n scheduleCheckStable();\n });\n }\n updateMicroTaskStatus(zone);\n}\nfunction forkInnerZoneWithAngularBehavior(zone) {\n const delayChangeDetectionForEventsDelegate = () => {\n delayChangeDetectionForEvents(zone);\n };\n const instanceId = ngZoneInstanceId++;\n zone._inner = zone._inner.fork({\n name: 'angular',\n properties: {\n [isAngularZoneProperty]: true,\n [angularZoneInstanceIdProperty]: instanceId,\n [angularZoneInstanceIdProperty + instanceId]: true\n },\n onInvokeTask: (delegate, current, target, task, applyThis, applyArgs) => {\n // Prevent triggering change detection when the flag is detected.\n if (shouldBeIgnoredByZone(applyArgs)) {\n return delegate.invokeTask(target, task, applyThis, applyArgs);\n }\n try {\n onEnter(zone);\n return delegate.invokeTask(target, task, applyThis, applyArgs);\n } finally {\n if (zone.shouldCoalesceEventChangeDetection && task.type === 'eventTask' || zone.shouldCoalesceRunChangeDetection) {\n delayChangeDetectionForEventsDelegate();\n }\n onLeave(zone);\n }\n },\n onInvoke: (delegate, current, target, callback, applyThis, applyArgs, source) => {\n try {\n onEnter(zone);\n return delegate.invoke(target, callback, applyThis, applyArgs, source);\n } finally {\n if (zone.shouldCoalesceRunChangeDetection &&\n // Do not delay change detection when the task is the scheduler's tick.\n // We need to synchronously trigger the stability logic so that the\n // zone-based scheduler can prevent a duplicate ApplicationRef.tick\n // by first checking if the scheduler tick is running. This does seem a bit roundabout,\n // but we _do_ still want to trigger all the correct events when we exit the zone.run\n // (`onMicrotaskEmpty` and `onStable` _should_ emit; developers can have code which\n // relies on these events happening after change detection runs).\n // Note: `zone.callbackScheduled` is already in delayChangeDetectionForEventsDelegate\n // but is added here as well to prevent reads of applyArgs when not necessary\n !zone.callbackScheduled && !isSchedulerTick(applyArgs)) {\n delayChangeDetectionForEventsDelegate();\n }\n onLeave(zone);\n }\n },\n onHasTask: (delegate, current, target, hasTaskState) => {\n delegate.hasTask(target, hasTaskState);\n if (current === target) {\n // We are only interested in hasTask events which originate from our zone\n // (A child hasTask event is not interesting to us)\n if (hasTaskState.change == 'microTask') {\n zone._hasPendingMicrotasks = hasTaskState.microTask;\n updateMicroTaskStatus(zone);\n checkStable(zone);\n } else if (hasTaskState.change == 'macroTask') {\n zone.hasPendingMacrotasks = hasTaskState.macroTask;\n }\n }\n },\n onHandleError: (delegate, current, target, error) => {\n delegate.handleError(target, error);\n zone.runOutsideAngular(() => zone.onError.emit(error));\n return false;\n }\n });\n}\nfunction updateMicroTaskStatus(zone) {\n if (zone._hasPendingMicrotasks || (zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) && zone.callbackScheduled === true) {\n zone.hasPendingMicrotasks = true;\n } else {\n zone.hasPendingMicrotasks = false;\n }\n}\nfunction onEnter(zone) {\n zone._nesting++;\n if (zone.isStable) {\n zone.isStable = false;\n zone.onUnstable.emit(null);\n }\n}\nfunction onLeave(zone) {\n zone._nesting--;\n checkStable(zone);\n}\n/**\n * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls\n * to framework to perform rendering.\n */\nclass NoopNgZone {\n hasPendingMicrotasks = false;\n hasPendingMacrotasks = false;\n isStable = true;\n onUnstable = /*#__PURE__*/new EventEmitter();\n onMicrotaskEmpty = /*#__PURE__*/new EventEmitter();\n onStable = /*#__PURE__*/new EventEmitter();\n onError = /*#__PURE__*/new EventEmitter();\n run(fn, applyThis, applyArgs) {\n return fn.apply(applyThis, applyArgs);\n }\n runGuarded(fn, applyThis, applyArgs) {\n return fn.apply(applyThis, applyArgs);\n }\n runOutsideAngular(fn) {\n return fn();\n }\n runTask(fn, applyThis, applyArgs, name) {\n return fn.apply(applyThis, applyArgs);\n }\n}\nfunction shouldBeIgnoredByZone(applyArgs) {\n return hasApplyArgsData(applyArgs, '__ignore_ng_zone__');\n}\nfunction isSchedulerTick(applyArgs) {\n return hasApplyArgsData(applyArgs, '__scheduler_tick__');\n}\nfunction hasApplyArgsData(applyArgs, key) {\n if (!Array.isArray(applyArgs)) {\n return false;\n }\n // We should only ever get 1 arg passed through to invokeTask.\n // Short circuit here incase that behavior changes.\n if (applyArgs.length !== 1) {\n return false;\n }\n return applyArgs[0]?.data?.[key] === true;\n}\nfunction getNgZone(ngZoneToUse = 'zone.js', options) {\n if (ngZoneToUse === 'noop') {\n return new NoopNgZone();\n }\n if (ngZoneToUse === 'zone.js') {\n return new NgZone(options);\n }\n return ngZoneToUse;\n}\n\n// Public API for Zone\n\n/**\n * Provides a hook for centralized exception handling.\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * @usageNotes\n * ### Example\n *\n * ```ts\n * class MyErrorHandler implements ErrorHandler {\n * handleError(error) {\n * // do something with the exception\n * }\n * }\n *\n * // Provide in standalone apps\n * bootstrapApplication(AppComponent, {\n * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n *\n * // Provide in module-based apps\n * @NgModule({\n * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * @publicApi\n */\nclass ErrorHandler {\n /**\n * @internal\n */\n _console = console;\n handleError(error) {\n this._console.error('ERROR', error);\n }\n}\n/**\n * `InjectionToken` used to configure how to call the `ErrorHandler`.\n *\n * `NgZone` is provided by default today so the default (and only) implementation for this\n * is calling `ErrorHandler.handleError` outside of the Angular zone.\n */\nconst INTERNAL_APPLICATION_ERROR_HANDLER = /*#__PURE__*/new InjectionToken(typeof ngDevMode === 'undefined' || ngDevMode ? 'internal error handler' : '', {\n providedIn: 'root',\n factory: () => {\n const zone = inject(NgZone);\n const userErrorHandler = inject(ErrorHandler);\n return e => zone.runOutsideAngular(() => userErrorHandler.handleError(e));\n }\n});\n\n/**\n * An `OutputEmitterRef` is created by the `output()` function and can be\n * used to emit values to consumers of your directive or component.\n *\n * Consumers of your directive/component can bind to the output and\n * subscribe to changes via the bound event syntax. For example:\n *\n * ```html\n * \n * ```\n *\n * @publicAPI\n */\nclass OutputEmitterRef {\n destroyed = false;\n listeners = null;\n errorHandler = /*#__PURE__*/inject(ErrorHandler, {\n optional: true\n });\n /** @internal */\n destroyRef = /*#__PURE__*/inject(DestroyRef);\n constructor() {\n // Clean-up all listeners and mark as destroyed upon destroy.\n this.destroyRef.onDestroy(() => {\n this.destroyed = true;\n this.listeners = null;\n });\n }\n subscribe(callback) {\n if (this.destroyed) {\n throw new RuntimeError(953 /* RuntimeErrorCode.OUTPUT_REF_DESTROYED */, ngDevMode && 'Unexpected subscription to destroyed `OutputRef`. ' + 'The owning directive/component is destroyed.');\n }\n (this.listeners ??= []).push(callback);\n return {\n unsubscribe: () => {\n const idx = this.listeners?.indexOf(callback);\n if (idx !== undefined && idx !== -1) {\n this.listeners?.splice(idx, 1);\n }\n }\n };\n }\n /** Emits a new value to the output. */\n emit(value) {\n if (this.destroyed) {\n throw new RuntimeError(953 /* RuntimeErrorCode.OUTPUT_REF_DESTROYED */, ngDevMode && 'Unexpected emit for destroyed `OutputRef`. ' + 'The owning directive/component is destroyed.');\n }\n if (this.listeners === null) {\n return;\n }\n const previousConsumer = setActiveConsumer$1(null);\n try {\n for (const listenerFn of this.listeners) {\n try {\n listenerFn(value);\n } catch (err) {\n this.errorHandler?.handleError(err);\n }\n }\n } finally {\n setActiveConsumer$1(previousConsumer);\n }\n }\n}\n/** Gets the owning `DestroyRef` for the given output. */\nfunction getOutputDestroyRef(ref) {\n return ref.destroyRef;\n}\n\n/**\n * The `output` function allows declaration of Angular outputs in\n * directives and components.\n *\n * You can use outputs to emit values to parent directives and component.\n * Parents can subscribe to changes via:\n *\n * - template event bindings. For example, `(myOutput)=\"doSomething($event)\"`\n * - programmatic subscription by using `OutputRef#subscribe`.\n *\n * @usageNotes\n *\n * To use `output()`, import the function from `@angular/core`.\n *\n * ```ts\n * import {output} from '@angular/core';\n * ```\n *\n * Inside your component, introduce a new class member and initialize\n * it with a call to `output`.\n *\n * ```ts\n * @Directive({\n * ...\n * })\n * export class MyDir {\n * nameChange = output(); // OutputEmitterRef\n * onClick = output(); // OutputEmitterRef\n * }\n * ```\n *\n * You can emit values to consumers of your directive, by using\n * the `emit` method from `OutputEmitterRef`.\n *\n * ```ts\n * updateName(newName: string): void {\n * this.nameChange.emit(newName);\n * }\n * ```\n * @initializerApiFunction {\"showTypesInSignaturePreview\": true}\n * @publicAPI\n */\nfunction output(opts) {\n ngDevMode && assertInInjectionContext(output);\n return new OutputEmitterRef();\n}\nfunction inputFunction(initialValue, opts) {\n ngDevMode && assertInInjectionContext(input);\n return createInputSignal(initialValue, opts);\n}\nfunction inputRequiredFunction(opts) {\n ngDevMode && assertInInjectionContext(input);\n return createInputSignal(REQUIRED_UNSET_VALUE, opts);\n}\n/**\n * The `input` function allows declaration of Angular inputs in directives\n * and components.\n *\n * There are two variants of inputs that can be declared:\n *\n * 1. **Optional inputs** with an initial value.\n * 2. **Required inputs** that consumers need to set.\n *\n * By default, the `input` function will declare optional inputs that\n * always have an initial value. Required inputs can be declared\n * using the `input.required()` function.\n *\n * Inputs are signals. The values of an input are exposed as a `Signal`.\n * The signal always holds the latest value of the input that is bound\n * from the parent.\n *\n * @usageNotes\n * To use signal-based inputs, import `input` from `@angular/core`.\n *\n * ```ts\n * import {input} from '@angular/core`;\n * ```\n *\n * Inside your component, introduce a new class member and initialize\n * it with a call to `input` or `input.required`.\n *\n * ```ts\n * @Component({\n * ...\n * })\n * export class UserProfileComponent {\n * firstName = input(); // Signal\n * lastName = input.required(); // Signal\n * age = input(0) // Signal\n * }\n * ```\n *\n * Inside your component template, you can display values of the inputs\n * by calling the signal.\n *\n * ```html\n * {{firstName()}}\n * ```\n *\n * @publicAPI\n * @initializerApiFunction\n */\nconst input = /*#__PURE__*/(() => {\n // Note: This may be considered a side-effect, but nothing will depend on\n // this assignment, unless this `input` constant export is accessed. It's a\n // self-contained side effect that is local to the user facing`input` export.\n inputFunction.required = inputRequiredFunction;\n return inputFunction;\n})();\n\n/**\n * Creates an ElementRef from the most recent node.\n *\n * @returns The ElementRef instance to use\n */\nfunction injectElementRef() {\n return createElementRef(getCurrentTNode(), getLView());\n}\n/**\n * Creates an ElementRef given a node.\n *\n * @param tNode The node for which you'd like an ElementRef\n * @param lView The view to which the node belongs\n * @returns The ElementRef instance to use\n */\nfunction createElementRef(tNode, lView) {\n return new ElementRef(getNativeByTNode(tNode, lView));\n}\n/**\n * A wrapper around a native element inside of a View.\n *\n * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n * element.\n *\n * @security Permitting direct access to the DOM can make your application more vulnerable to\n * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n * [Security Guide](https://g.co/ng/security).\n *\n * @publicApi\n */\n// Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n// i.e. users have to ask for what they need. With that, we can build better analysis tools\n// and could do better codegen in the future.\nlet ElementRef = /*#__PURE__*/(() => {\n class ElementRef {\n /**\n *
\n *
Use with caution
\n *

\n * Use this API as the last resort when direct access to DOM is needed. Use templating and\n * data-binding provided by Angular instead. Alternatively you can take a look at\n * {@link Renderer2} which provides an API that can be safely used.\n *

\n *
\n */\n nativeElement;\n constructor(nativeElement) {\n this.nativeElement = nativeElement;\n }\n /**\n * @internal\n * @nocollapse\n */\n static __NG_ELEMENT_ID__ = injectElementRef;\n }\n return ElementRef;\n})();\n/**\n * Unwraps `ElementRef` and return the `nativeElement`.\n *\n * @param value value to unwrap\n * @returns `nativeElement` if `ElementRef` otherwise returns value as is.\n */\nfunction unwrapElementRef(value) {\n return value instanceof ElementRef ? value.nativeElement : value;\n}\nconst markedFeatures = /*#__PURE__*/new Set();\n// tslint:disable:ban\n/**\n * A guarded `performance.mark` for feature marking.\n *\n * This method exists because while all supported browser and node.js version supported by Angular\n * support performance.mark API. This is not the case for other environments such as JSDOM and\n * Cloudflare workers.\n */\nfunction performanceMarkFeature(feature) {\n if (markedFeatures.has(feature)) {\n return;\n }\n markedFeatures.add(feature);\n performance?.mark?.('mark_feature_usage', {\n detail: {\n feature\n }\n });\n}\n\n/**\n * Checks if the given `value` is a reactive `Signal`.\n */\nfunction isSignal(value) {\n return typeof value === 'function' && value[SIGNAL$1] !== undefined;\n}\n\n/** Symbol used distinguish `WritableSignal` from other non-writable signals and functions. */\nconst ɵWRITABLE_SIGNAL = /* @__PURE__ */Symbol('WRITABLE_SIGNAL');\n/**\n * Utility function used during template type checking to extract the value from a `WritableSignal`.\n * @codeGenApi\n */\nfunction ɵunwrapWritableSignal(value) {\n // Note: the function uses `WRITABLE_SIGNAL` as a brand instead of `WritableSignal`,\n // because the latter incorrectly unwraps non-signal getter functions.\n return null;\n}\n/**\n * Create a `Signal` that can be set or updated directly.\n */\nfunction signal(initialValue, options) {\n performanceMarkFeature('NgSignals');\n const signalFn = createSignal$1(initialValue);\n const node = signalFn[SIGNAL$1];\n if (options?.equal) {\n node.equal = options.equal;\n }\n signalFn.set = newValue => signalSetFn$1(node, newValue);\n signalFn.update = updateFn => signalUpdateFn$1(node, updateFn);\n signalFn.asReadonly = signalAsReadonlyFn.bind(signalFn);\n if (ngDevMode) {\n signalFn.toString = () => `[Signal: ${signalFn()}]`;\n node.debugName = options?.debugName;\n }\n return signalFn;\n}\nfunction signalAsReadonlyFn() {\n const node = this[SIGNAL$1];\n if (node.readonlyFn === undefined) {\n const readonlyFn = () => this();\n readonlyFn[SIGNAL$1] = node;\n node.readonlyFn = readonlyFn;\n }\n return node.readonlyFn;\n}\n/**\n * Checks if the given `value` is a writeable signal.\n */\nfunction isWritableSignal(value) {\n return isSignal(value) && typeof value.set === 'function';\n}\nfunction symbolIterator() {\n // @ts-expect-error accessing a private member\n return this._results[Symbol.iterator]();\n}\n/**\n * An unmodifiable list of items that Angular keeps up to date when the state\n * of the application changes.\n *\n * The type of object that {@link ViewChildren}, {@link ContentChildren}, and {@link QueryList}\n * provide.\n *\n * Implements an iterable interface, therefore it can be used in both ES6\n * javascript `for (var i of items)` loops as well as in Angular templates with\n * `*ngFor=\"let i of myList\"`.\n *\n * Changes can be observed by subscribing to the changes `Observable`.\n *\n * NOTE: In the future this class will implement an `Observable` interface.\n *\n * @usageNotes\n * ### Example\n * ```ts\n * @Component({...})\n * class Container {\n * @ViewChildren(Item) items:QueryList;\n * }\n * ```\n *\n * @publicApi\n */\nclass QueryList {\n _emitDistinctChangesOnly;\n dirty = true;\n _onDirty = undefined;\n _results = [];\n _changesDetected = false;\n _changes = undefined;\n length = 0;\n first = undefined;\n last = undefined;\n /**\n * Returns `Observable` of `QueryList` notifying the subscriber of changes.\n */\n get changes() {\n return this._changes ??= new Subject();\n }\n /**\n * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change\n * has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in\n * the same result)\n */\n constructor(_emitDistinctChangesOnly = false) {\n this._emitDistinctChangesOnly = _emitDistinctChangesOnly;\n }\n /**\n * Returns the QueryList entry at `index`.\n */\n get(index) {\n return this._results[index];\n }\n /**\n * See\n * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n */\n map(fn) {\n return this._results.map(fn);\n }\n filter(fn) {\n return this._results.filter(fn);\n }\n /**\n * See\n * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n */\n find(fn) {\n return this._results.find(fn);\n }\n /**\n * See\n * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n */\n reduce(fn, init) {\n return this._results.reduce(fn, init);\n }\n /**\n * See\n * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n */\n forEach(fn) {\n this._results.forEach(fn);\n }\n /**\n * See\n * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n */\n some(fn) {\n return this._results.some(fn);\n }\n /**\n * Returns a copy of the internal results list as an Array.\n */\n toArray() {\n return this._results.slice();\n }\n toString() {\n return this._results.toString();\n }\n /**\n * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that\n * on change detection, it will not notify of changes to the queries, unless a new change\n * occurs.\n *\n * @param resultsTree The query results to store\n * @param identityAccessor Optional function for extracting stable object identity from a value\n * in the array. This function is executed for each element of the query result list while\n * comparing current query list with the new one (provided as a first argument of the `reset`\n * function) to detect if the lists are different. If the function is not provided, elements\n * are compared as is (without any pre-processing).\n */\n reset(resultsTree, identityAccessor) {\n this.dirty = false;\n const newResultFlat = flatten(resultsTree);\n if (this._changesDetected = !arrayEquals(this._results, newResultFlat, identityAccessor)) {\n this._results = newResultFlat;\n this.length = newResultFlat.length;\n this.last = newResultFlat[this.length - 1];\n this.first = newResultFlat[0];\n }\n }\n /**\n * Triggers a change event by emitting on the `changes` {@link EventEmitter}.\n */\n notifyOnChanges() {\n if (this._changes !== undefined && (this._changesDetected || !this._emitDistinctChangesOnly)) this._changes.next(this);\n }\n /** @internal */\n onDirty(cb) {\n this._onDirty = cb;\n }\n /** internal */\n setDirty() {\n this.dirty = true;\n this._onDirty?.();\n }\n /** internal */\n destroy() {\n if (this._changes !== undefined) {\n this._changes.complete();\n this._changes.unsubscribe();\n }\n }\n [Symbol.iterator] = /*#__PURE__*/(() => symbolIterator)();\n}\n\n/**\n * The name of an attribute that can be added to the hydration boundary node\n * (component host node) to disable hydration for the content within that boundary.\n */\nconst SKIP_HYDRATION_ATTR_NAME = 'ngSkipHydration';\n/** Lowercase name of the `ngSkipHydration` attribute used for case-insensitive comparisons. */\nconst SKIP_HYDRATION_ATTR_NAME_LOWER_CASE = 'ngskiphydration';\n/**\n * Helper function to check if a given TNode has the 'ngSkipHydration' attribute.\n */\nfunction hasSkipHydrationAttrOnTNode(tNode) {\n const attrs = tNode.mergedAttrs;\n if (attrs === null) return false;\n // only ever look at the attribute name and skip the values\n for (let i = 0; i < attrs.length; i += 2) {\n const value = attrs[i];\n // This is a marker, which means that the static attributes section is over,\n // so we can exit early.\n if (typeof value === 'number') return false;\n if (typeof value === 'string' && value.toLowerCase() === SKIP_HYDRATION_ATTR_NAME_LOWER_CASE) {\n return true;\n }\n }\n return false;\n}\n/**\n * Helper function to check if a given RElement has the 'ngSkipHydration' attribute.\n */\nfunction hasSkipHydrationAttrOnRElement(rNode) {\n return rNode.hasAttribute(SKIP_HYDRATION_ATTR_NAME);\n}\n/**\n * Checks whether a TNode has a flag to indicate that it's a part of\n * a skip hydration block.\n */\nfunction hasInSkipHydrationBlockFlag(tNode) {\n return (tNode.flags & 128 /* TNodeFlags.inSkipHydrationBlock */) === 128 /* TNodeFlags.inSkipHydrationBlock */;\n}\n/**\n * Helper function that determines if a given node is within a skip hydration block\n * by navigating up the TNode tree to see if any parent nodes have skip hydration\n * attribute.\n */\nfunction isInSkipHydrationBlock(tNode) {\n if (hasInSkipHydrationBlockFlag(tNode)) {\n return true;\n }\n let currentTNode = tNode.parent;\n while (currentTNode) {\n if (hasInSkipHydrationBlockFlag(tNode) || hasSkipHydrationAttrOnTNode(currentTNode)) {\n return true;\n }\n currentTNode = currentTNode.parent;\n }\n return false;\n}\n/**\n * Check if an i18n block is in a skip hydration section by looking at a parent TNode\n * to determine if this TNode is in a skip hydration section or the TNode has\n * the `ngSkipHydration` attribute.\n */\nfunction isI18nInSkipHydrationBlock(parentTNode) {\n return hasInSkipHydrationBlockFlag(parentTNode) || hasSkipHydrationAttrOnTNode(parentTNode) || isInSkipHydrationBlock(parentTNode);\n}\n\n/**\n * The strategy that the default change detector uses to detect changes.\n * When set, takes effect the next time change detection is triggered.\n *\n * @see [Change detection usage](/api/core/ChangeDetectorRef?tab=usage-notes)\n * @see [Skipping component subtrees](/best-practices/skipping-subtrees)\n *\n * @publicApi\n */\nvar ChangeDetectionStrategy = /*#__PURE__*/function (ChangeDetectionStrategy) {\n /**\n * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated\n * until reactivated by setting the strategy to `Default` (`CheckAlways`).\n * Change detection can still be explicitly invoked.\n * This strategy applies to all child directives and cannot be overridden.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n /**\n * Use the default `CheckAlways` strategy, in which change detection is automatic until\n * explicitly deactivated.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n return ChangeDetectionStrategy;\n}(ChangeDetectionStrategy || {});\n// Keeps track of the currently-active LViews.\nconst TRACKED_LVIEWS = /*#__PURE__*/new Map();\n// Used for generating unique IDs for LViews.\nlet uniqueIdCounter = 0;\n/** Gets a unique ID that can be assigned to an LView. */\nfunction getUniqueLViewId() {\n return uniqueIdCounter++;\n}\n/** Starts tracking an LView. */\nfunction registerLView(lView) {\n ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');\n TRACKED_LVIEWS.set(lView[ID], lView);\n}\n/** Gets an LView by its unique ID. */\nfunction getLViewById(id) {\n ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');\n return TRACKED_LVIEWS.get(id) || null;\n}\n/** Stops tracking an LView. */\nfunction unregisterLView(lView) {\n ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');\n TRACKED_LVIEWS.delete(lView[ID]);\n}\n/** Gets the currently-tracked views. */\nfunction getTrackedLViews() {\n return TRACKED_LVIEWS;\n}\n\n/**\n * The internal view context which is specific to a given DOM element, directive or\n * component instance. Each value in here (besides the LView and element node details)\n * can be present, null or undefined. If undefined then it implies the value has not been\n * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.\n *\n * Each value will get filled when the respective value is examined within the getContext\n * function. The component, element and each directive instance will share the same instance\n * of the context.\n */\nclass LContext {\n lViewId;\n nodeIndex;\n native;\n /**\n * The instance of the Component node.\n */\n component;\n /**\n * The list of active directives that exist on this element.\n */\n directives;\n /**\n * The map of local references (local reference name => element or directive instance) that\n * exist on this element.\n */\n localRefs;\n /** Component's parent view data. */\n get lView() {\n return getLViewById(this.lViewId);\n }\n constructor(\n /**\n * ID of the component's parent view data.\n */\n lViewId,\n /**\n * The index instance of the node.\n */\n nodeIndex,\n /**\n * The instance of the DOM node that is attached to the lNode.\n */\n native) {\n this.lViewId = lViewId;\n this.nodeIndex = nodeIndex;\n this.native = native;\n }\n}\n\n/**\n * Returns the matching `LContext` data for a given DOM node, directive or component instance.\n *\n * This function will examine the provided DOM element, component, or directive instance\\'s\n * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched\n * value will be that of the newly created `LContext`.\n *\n * If the monkey-patched value is the `LView` instance then the context value for that\n * target will be created and the monkey-patch reference will be updated. Therefore when this\n * function is called it may mutate the provided element\\'s, component\\'s or any of the associated\n * directive\\'s monkey-patch values.\n *\n * If the monkey-patch value is not detected then the code will walk up the DOM until an element\n * is found which contains a monkey-patch reference. When that occurs then the provided element\n * will be updated with a new context (which is then returned). If the monkey-patch value is not\n * detected for a component/directive instance then it will throw an error (all components and\n * directives should be automatically monkey-patched by ivy).\n *\n * @param target Component, Directive or DOM Node.\n */\nfunction getLContext(target) {\n let mpValue = readPatchedData(target);\n if (mpValue) {\n // only when it's an array is it considered an LView instance\n // ... otherwise it's an already constructed LContext instance\n if (isLView(mpValue)) {\n const lView = mpValue;\n let nodeIndex;\n let component = undefined;\n let directives = undefined;\n if (isComponentInstance(target)) {\n nodeIndex = findViaComponent(lView, target);\n if (nodeIndex == -1) {\n throw new Error('The provided component was not found in the application');\n }\n component = target;\n } else if (isDirectiveInstance(target)) {\n nodeIndex = findViaDirective(lView, target);\n if (nodeIndex == -1) {\n throw new Error('The provided directive was not found in the application');\n }\n directives = getDirectivesAtNodeIndex(nodeIndex, lView);\n } else {\n nodeIndex = findViaNativeElement(lView, target);\n if (nodeIndex == -1) {\n return null;\n }\n }\n // the goal is not to fill the entire context full of data because the lookups\n // are expensive. Instead, only the target data (the element, component, container, ICU\n // expression or directive details) are filled into the context. If called multiple times\n // with different target values then the missing target data will be filled in.\n const native = unwrapRNode(lView[nodeIndex]);\n const existingCtx = readPatchedData(native);\n const context = existingCtx && !Array.isArray(existingCtx) ? existingCtx : createLContext(lView, nodeIndex, native);\n // only when the component has been discovered then update the monkey-patch\n if (component && context.component === undefined) {\n context.component = component;\n attachPatchData(context.component, context);\n }\n // only when the directives have been discovered then update the monkey-patch\n if (directives && context.directives === undefined) {\n context.directives = directives;\n for (let i = 0; i < directives.length; i++) {\n attachPatchData(directives[i], context);\n }\n }\n attachPatchData(context.native, context);\n mpValue = context;\n }\n } else {\n const rElement = target;\n ngDevMode && assertDomNode(rElement);\n // if the context is not found then we need to traverse upwards up the DOM\n // to find the nearest element that has already been monkey patched with data\n let parent = rElement;\n while (parent = parent.parentNode) {\n const parentContext = readPatchedData(parent);\n if (parentContext) {\n const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView;\n // the edge of the app was also reached here through another means\n // (maybe because the DOM was changed manually).\n if (!lView) {\n return null;\n }\n const index = findViaNativeElement(lView, rElement);\n if (index >= 0) {\n const native = unwrapRNode(lView[index]);\n const context = createLContext(lView, index, native);\n attachPatchData(native, context);\n mpValue = context;\n break;\n }\n }\n }\n }\n return mpValue || null;\n}\n/**\n * Creates an empty instance of a `LContext` context\n */\nfunction createLContext(lView, nodeIndex, native) {\n return new LContext(lView[ID], nodeIndex, native);\n}\n/**\n * Takes a component instance and returns the view for that component.\n *\n * @param componentInstance\n * @returns The component's view\n */\nfunction getComponentViewByInstance(componentInstance) {\n let patchedData = readPatchedData(componentInstance);\n let lView;\n if (isLView(patchedData)) {\n const contextLView = patchedData;\n const nodeIndex = findViaComponent(contextLView, componentInstance);\n lView = getComponentLViewByIndex(nodeIndex, contextLView);\n const context = createLContext(contextLView, nodeIndex, lView[HOST]);\n context.component = componentInstance;\n attachPatchData(componentInstance, context);\n attachPatchData(context.native, context);\n } else {\n const context = patchedData;\n const contextLView = context.lView;\n ngDevMode && assertLView(contextLView);\n lView = getComponentLViewByIndex(context.nodeIndex, contextLView);\n }\n return lView;\n}\n/**\n * This property will be monkey-patched on elements, components and directives.\n */\nconst MONKEY_PATCH_KEY_NAME = '__ngContext__';\nfunction attachLViewId(target, data) {\n target[MONKEY_PATCH_KEY_NAME] = data[ID];\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n */\nfunction readLView(target) {\n const data = readPatchedData(target);\n if (isLView(data)) {\n return data;\n }\n return data ? data.lView : null;\n}\n/**\n * Assigns the given data to the given target (which could be a component,\n * directive or DOM node instance) using monkey-patching.\n */\nfunction attachPatchData(target, data) {\n ngDevMode && assertDefined(target, 'Target expected');\n // Only attach the ID of the view in order to avoid memory leaks (see #41047). We only do this\n // for `LView`, because we have control over when an `LView` is created and destroyed, whereas\n // we can't know when to remove an `LContext`.\n if (isLView(data)) {\n target[MONKEY_PATCH_KEY_NAME] = data[ID];\n registerLView(data);\n } else {\n target[MONKEY_PATCH_KEY_NAME] = data;\n }\n}\n/**\n * Returns the monkey-patch value data present on the target (which could be\n * a component, directive or a DOM node).\n */\nfunction readPatchedData(target) {\n ngDevMode && assertDefined(target, 'Target expected');\n const data = target[MONKEY_PATCH_KEY_NAME];\n return typeof data === 'number' ? getLViewById(data) : data || null;\n}\nfunction readPatchedLView(target) {\n const value = readPatchedData(target);\n if (value) {\n return isLView(value) ? value : value.lView;\n }\n return null;\n}\nfunction isComponentInstance(instance) {\n return instance && instance.constructor && instance.constructor.ɵcmp;\n}\nfunction isDirectiveInstance(instance) {\n return instance && instance.constructor && instance.constructor.ɵdir;\n}\n/**\n * Locates the element within the given LView and returns the matching index\n */\nfunction findViaNativeElement(lView, target) {\n const tView = lView[TVIEW];\n for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {\n if (unwrapRNode(lView[i]) === target) {\n return i;\n }\n }\n return -1;\n}\n/**\n * Locates the next tNode (child, sibling or parent).\n */\nfunction traverseNextElement(tNode) {\n if (tNode.child) {\n return tNode.child;\n } else if (tNode.next) {\n return tNode.next;\n } else {\n // Let's take the following template:
text
\n // After checking the text node, we need to find the next parent that has a \"next\" TNode,\n // in this case the parent `div`, so that we can find the component.\n while (tNode.parent && !tNode.parent.next) {\n tNode = tNode.parent;\n }\n return tNode.parent && tNode.parent.next;\n }\n}\n/**\n * Locates the component within the given LView and returns the matching index\n */\nfunction findViaComponent(lView, componentInstance) {\n const componentIndices = lView[TVIEW].components;\n if (componentIndices) {\n for (let i = 0; i < componentIndices.length; i++) {\n const elementComponentIndex = componentIndices[i];\n const componentView = getComponentLViewByIndex(elementComponentIndex, lView);\n if (componentView[CONTEXT] === componentInstance) {\n return elementComponentIndex;\n }\n }\n } else {\n const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView);\n const rootComponent = rootComponentView[CONTEXT];\n if (rootComponent === componentInstance) {\n // we are dealing with the root element here therefore we know that the\n // element is the very first element after the HEADER data in the lView\n return HEADER_OFFSET;\n }\n }\n return -1;\n}\n/**\n * Locates the directive within the given LView and returns the matching index\n */\nfunction findViaDirective(lView, directiveInstance) {\n // if a directive is monkey patched then it will (by default)\n // have a reference to the LView of the current view. The\n // element bound to the directive being search lives somewhere\n // in the view data. We loop through the nodes and check their\n // list of directives for the instance.\n let tNode = lView[TVIEW].firstChild;\n while (tNode) {\n const directiveIndexStart = tNode.directiveStart;\n const directiveIndexEnd = tNode.directiveEnd;\n for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {\n if (lView[i] === directiveInstance) {\n return tNode.index;\n }\n }\n tNode = traverseNextElement(tNode);\n }\n return -1;\n}\n/**\n * Returns a list of directives applied to a node at a specific index. The list includes\n * directives matched by selector and any host directives, but it excludes components.\n * Use `getComponentAtNodeIndex` to find the component applied to a node.\n *\n * @param nodeIndex The node index\n * @param lView The target view data\n */\nfunction getDirectivesAtNodeIndex(nodeIndex, lView) {\n const tNode = lView[TVIEW].data[nodeIndex];\n if (tNode.directiveStart === 0) return EMPTY_ARRAY;\n const results = [];\n for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) {\n const directiveInstance = lView[i];\n if (!isComponentInstance(directiveInstance)) {\n results.push(directiveInstance);\n }\n }\n return results;\n}\nfunction getComponentAtNodeIndex(nodeIndex, lView) {\n const tNode = lView[TVIEW].data[nodeIndex];\n return isComponentHost(tNode) ? lView[tNode.directiveStart + tNode.componentOffset] : null;\n}\n/**\n * Returns a map of local references (local reference name => element or directive instance) that\n * exist on a given element.\n */\nfunction discoverLocalRefs(lView, nodeIndex) {\n const tNode = lView[TVIEW].data[nodeIndex];\n if (tNode && tNode.localNames) {\n const result = {};\n let localIndex = tNode.index + 1;\n for (let i = 0; i < tNode.localNames.length; i += 2) {\n result[tNode.localNames[i]] = lView[localIndex];\n localIndex++;\n }\n return result;\n }\n return null;\n}\n\n/**\n * Retrieve the root view from any component or `LView` by walking the parent `LView` until\n * reaching the root `LView`.\n *\n * @param componentOrLView any component or `LView`\n */\nfunction getRootView(componentOrLView) {\n ngDevMode && assertDefined(componentOrLView, 'component');\n let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView);\n while (lView && !isRootView(lView)) {\n lView = getLViewParent(lView);\n }\n ngDevMode && assertLView(lView);\n return lView;\n}\n/**\n * Returns the context information associated with the application where the target is situated. It\n * does this by walking the parent views until it gets to the root view, then getting the context\n * off of that.\n *\n * @param viewOrComponent the `LView` or component to get the root context for.\n */\nfunction getRootContext(viewOrComponent) {\n const rootView = getRootView(viewOrComponent);\n ngDevMode && assertDefined(rootView[CONTEXT], 'Root view has no context. Perhaps it is disconnected?');\n return rootView[CONTEXT];\n}\n/**\n * Gets the first `LContainer` in the LView or `null` if none exists.\n */\nfunction getFirstLContainer(lView) {\n return getNearestLContainer(lView[CHILD_HEAD]);\n}\n/**\n * Gets the next `LContainer` that is a sibling of the given container.\n */\nfunction getNextLContainer(container) {\n return getNearestLContainer(container[NEXT]);\n}\nfunction getNearestLContainer(viewOrContainer) {\n while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {\n viewOrContainer = viewOrContainer[NEXT];\n }\n return viewOrContainer;\n}\n\n/**\n * Retrieves the component instance associated with a given DOM element.\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * \n *
\n * \n *
\n *
\n * ```\n *\n * Calling `getComponent` on `` will return the instance of `ChildComponent`\n * associated with this DOM element.\n *\n * Calling the function on `` will return the `MyApp` instance.\n *\n *\n * @param element DOM element from which the component should be retrieved.\n * @returns Component instance associated with the element or `null` if there\n * is no component associated with it.\n *\n * @publicApi\n */\nfunction getComponent(element) {\n ngDevMode && assertDomElement(element);\n const context = getLContext(element);\n if (context === null) return null;\n if (context.component === undefined) {\n const lView = context.lView;\n if (lView === null) {\n return null;\n }\n context.component = getComponentAtNodeIndex(context.nodeIndex, lView);\n }\n return context.component;\n}\n/**\n * If inside an embedded view (e.g. `*ngIf` or `*ngFor`), retrieves the context of the embedded\n * view that the element is part of. Otherwise retrieves the instance of the component whose view\n * owns the element (in this case, the result is the same as calling `getOwningComponent`).\n *\n * @param element Element for which to get the surrounding component instance.\n * @returns Instance of the component that is around the element or null if the element isn't\n * inside any component.\n *\n * @publicApi\n */\nfunction getContext(element) {\n assertDomElement(element);\n const context = getLContext(element);\n const lView = context ? context.lView : null;\n return lView === null ? null : lView[CONTEXT];\n}\n/**\n * Retrieves the component instance whose view contains the DOM element.\n *\n * For example, if `` is used in the template of ``\n * (i.e. a `ViewChild` of ``), calling `getOwningComponent` on ``\n * would return ``.\n *\n * @param elementOrDir DOM element, component or directive instance\n * for which to retrieve the root components.\n * @returns Component instance whose view owns the DOM element or null if the element is not\n * part of a component view.\n *\n * @publicApi\n */\nfunction getOwningComponent(elementOrDir) {\n const context = getLContext(elementOrDir);\n let lView = context ? context.lView : null;\n if (lView === null) return null;\n let parent;\n while (lView[TVIEW].type === 2 /* TViewType.Embedded */ && (parent = getLViewParent(lView))) {\n lView = parent;\n }\n return isRootView(lView) ? null : lView[CONTEXT];\n}\n/**\n * Retrieves all root components associated with a DOM element, directive or component instance.\n * Root components are those which have been bootstrapped by Angular.\n *\n * @param elementOrDir DOM element, component or directive instance\n * for which to retrieve the root components.\n * @returns Root components associated with the target object.\n *\n * @publicApi\n */\nfunction getRootComponents(elementOrDir) {\n const lView = readPatchedLView(elementOrDir);\n return lView !== null ? [getRootContext(lView)] : [];\n}\n/**\n * Retrieves an `Injector` associated with an element, component or directive instance.\n *\n * @param elementOrDir DOM element, component or directive instance for which to\n * retrieve the injector.\n * @returns Injector associated with the element, component or directive instance.\n *\n * @publicApi\n */\nfunction getInjector(elementOrDir) {\n const context = getLContext(elementOrDir);\n const lView = context ? context.lView : null;\n if (lView === null) return Injector.NULL;\n const tNode = lView[TVIEW].data[context.nodeIndex];\n return new NodeInjector(tNode, lView);\n}\n/**\n * Retrieve a set of injection tokens at a given DOM node.\n *\n * @param element Element for which the injection tokens should be retrieved.\n */\nfunction getInjectionTokens(element) {\n const context = getLContext(element);\n const lView = context ? context.lView : null;\n if (lView === null) return [];\n const tView = lView[TVIEW];\n const tNode = tView.data[context.nodeIndex];\n const providerTokens = [];\n const startIndex = tNode.providerIndexes & 1048575 /* TNodeProviderIndexes.ProvidersStartIndexMask */;\n const endIndex = tNode.directiveEnd;\n for (let i = startIndex; i < endIndex; i++) {\n let value = tView.data[i];\n if (isDirectiveDefHack(value)) {\n // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a\n // design flaw. We should always store same type so that we can be monomorphic. The issue\n // is that for Components/Directives we store the def instead the type. The correct behavior\n // is that we should always be storing injectable type in this location.\n value = value.type;\n }\n providerTokens.push(value);\n }\n return providerTokens;\n}\n/**\n * Retrieves directive instances associated with a given DOM node. Does not include\n * component instances.\n *\n * @usageNotes\n * Given the following DOM structure:\n *\n * ```html\n * \n * \n * \n * \n * ```\n *\n * Calling `getDirectives` on `\r\n \r\n\r\n","import { AppState } from 'src/app/store/app.states';\r\nimport {\r\n Directive,\r\n Renderer2,\r\n Input,\r\n ViewContainerRef,\r\n TemplateRef,\r\n OnChanges,\r\n OnDestroy,\r\n} from '@angular/core';\r\nimport { Store, select } from '@ngrx/store';\r\nimport { commonState_SystemConfig_AccountFeatureToggles } from 'src/app/store/common/common.selectors';\r\nimport { Subscription, combineLatest } from 'rxjs';\r\nimport { memberAccountDropdown_SelectedAccount } from '../components/member-account-dropdown/selectors';\r\nimport { distinctUntilChanged } from 'rxjs/operators';\r\nimport { FeatureToggleLevel } from 'src/app/model/feature-toggle-level.model';\r\nimport { FeatureToggleValue } from 'src/app/model/feature-toggle-value.model';\r\n\r\n@Directive({\r\n selector: '[featuretoggle]',\r\n})\r\nexport class FeatureToggleDirective implements OnChanges, OnDestroy {\r\n featuretoggle$ = this.store.pipe(\r\n select(commonState_SystemConfig_AccountFeatureToggles)\r\n );\r\n selectedAccount$ = this.store.pipe(\r\n select(memberAccountDropdown_SelectedAccount)\r\n );\r\n\r\n sub: Subscription = null;\r\n\r\n @Input() featuretoggle: string;\r\n\r\n constructor(\r\n public store: Store,\r\n public renderer: Renderer2,\r\n public view: ViewContainerRef,\r\n public template: TemplateRef\r\n ) {}\r\n\r\n ngOnDestroy(): void {\r\n this.sub.unsubscribe();\r\n }\r\n\r\n ngOnChanges() {\r\n this.sub = combineLatest([this.featuretoggle$, this.selectedAccount$])\r\n .pipe(\r\n distinctUntilChanged((x, y) => {\r\n if (\r\n JSON.stringify(x[1]) !== JSON.stringify(y[1]) ||\r\n JSON.stringify(x[0]) !== JSON.stringify(y[0])\r\n )\r\n return false;\r\n\r\n return true;\r\n })\r\n )\r\n .subscribe(([featureToggles, selectedAccount]) => {\r\n if (featureToggles && selectedAccount) {\r\n var globalFlag = featureToggles.find(\r\n (x) =>\r\n x.level === FeatureToggleLevel.global &&\r\n x.name === this.featuretoggle &&\r\n x.value === FeatureToggleValue.available\r\n );\r\n\r\n // Check if global flag is turned on\r\n if (globalFlag) {\r\n // Check if account classification flag is turned on\r\n var accountFlag = featureToggles.find(\r\n (x) =>\r\n x.level === FeatureToggleLevel.accountClassification &&\r\n x.name === this.featuretoggle &&\r\n x.value === FeatureToggleValue.available &&\r\n Number(x.levelReference) ===\r\n selectedAccount.accountClassificationId\r\n );\r\n\r\n if (accountFlag) {\r\n // Check if its been disabled/hidden for that account type\r\n var accountTypeFlag = featureToggles.find(\r\n (x) =>\r\n x.level === FeatureToggleLevel.accountType &&\r\n x.name === this.featuretoggle &&\r\n x.value !== FeatureToggleValue.available &&\r\n Number(x.levelReference) === selectedAccount.accountTypeId\r\n );\r\n\r\n if (!accountTypeFlag) {\r\n this.view.createEmbeddedView(this.template);\r\n return;\r\n }\r\n }\r\n }\r\n }\r\n this.view.clear();\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { select, Store } from '@ngrx/store';\r\nimport { OnDestroy } from '@angular/core';\r\nimport { ComponentBase } from '../../../../views/component-base';\r\nimport {\r\n commomState_ElevatedAccess,\r\n commomState_LoggedinInfo,\r\n} from 'src/app/store/common/common.selectors';\r\nimport { AppState } from 'src/app/store/app.states';\r\nimport { LogoutRequestAction } from 'src/app/store/common/common.actions';\r\nimport { Router, RouterLink } from '@angular/router';\r\nimport { MsalService } from '@azure/msal-angular';\r\nimport { FeatureToggleName } from 'src/app/model/feature-toggle-name.model';\r\nimport { NgIf, AsyncPipe } from '@angular/common';\r\nimport { MatIcon } from '@angular/material/icon';\r\nimport { TranslatePipe } from '@ngx-translate/core';\r\nimport { FeatureToggleDirective } from '../../directives/feature-toggle.directive';\r\nimport { TextTransformPipe } from '../../pipes/textTransform';\r\n\r\n@Component({\r\n selector: 'app-user-top-dropdown',\r\n templateUrl: './user-top-dropdown.component.html',\r\n styleUrls: ['./user-top-dropdown.component.scss'],\r\n imports: [\r\n FeatureToggleDirective,\r\n TranslatePipe,\r\n NgIf,\r\n MatIcon,\r\n AsyncPipe,\r\n RouterLink,\r\n TextTransformPipe,\r\n ],\r\n})\r\nexport class UserTopDropdownComponent\r\n extends ComponentBase\r\n implements OnInit, OnDestroy\r\n{\r\n loggedInUser$ = this.store.pipe(select(commomState_LoggedinInfo));\r\n elevatedAccess$ = this.store.pipe(select(commomState_ElevatedAccess));\r\n changePasswordFeatureToggle = FeatureToggleName.member.changePassword.view;\r\n\r\n constructor(\r\n public store: Store,\r\n private router: Router,\r\n private msalInstance: MsalService\r\n ) {\r\n super();\r\n }\r\n\r\n ngOnInit() {\r\n super.ngOnInitBase();\r\n // this.store.dispatch(RequestAction());\r\n }\r\n\r\n ngOnDestroy() {\r\n super.ngOnDestroyBase();\r\n }\r\n\r\n inIframe() {\r\n try {\r\n return window.self !== window.top;\r\n } catch (e) {\r\n return true;\r\n }\r\n }\r\n\r\n sigout() {\r\n this.msalInstance.logout();\r\n // Redirect(\r\n // { postLogoutRedirectUri: environment.b2cLogoutUrl } );\r\n this.store.dispatch(LogoutRequestAction());\r\n }\r\n}\r\n","
\r\n \r\n \r\n
\r\n","import { ChangeScreenWidthAction } from './../../../store/common/common.actions';\r\nimport { AppState } from 'src/app/store/app.states';\r\nimport { Store } from '@ngrx/store';\r\nimport { Directive, ElementRef, Renderer2, HostListener } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[screen-width]',\r\n})\r\nexport class ScreenWidthDirective {\r\n constructor(\r\n public store: Store,\r\n public renderer: Renderer2,\r\n public hostElement: ElementRef\r\n ) {}\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n this.store.dispatch(\r\n ChangeScreenWidthAction({ payload: event.target.innerWidth })\r\n );\r\n }\r\n\r\n ngOnChanges() {\r\n var dd = '';\r\n }\r\n ngAfterViewInit(): void {}\r\n}\r\n","import { AppState } from 'src/app/store/app.states';\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { Store, select } from '@ngrx/store';\r\nimport { FeatureToggleValue } from 'src/app/model/feature-toggle-value.model';\r\nimport { FeatureToggleLevel } from 'src/app/model/feature-toggle-level.model';\r\nimport { Observable } from 'rxjs';\r\nimport { filter, first } from 'rxjs/operators';\r\nimport { commonState_SystemConfig_AccountFeatureToggles } from 'src/app/store/common/common.selectors';\r\nimport { memberAccountDropdown_SelectedAccount } from '../components/member-account-dropdown/selectors';\r\n\r\n@Pipe({\r\n name: 'featureToggle',\r\n})\r\nexport class FeatureTogglePipe implements PipeTransform {\r\n constructor(\r\n public store: Store,\r\n protected _sanitizer: DomSanitizer\r\n ) {}\r\n\r\n accountFeatureToggles$ = this.store.pipe(\r\n select(commonState_SystemConfig_AccountFeatureToggles)\r\n );\r\n selectedAccount$ = this.store.pipe(\r\n select(memberAccountDropdown_SelectedAccount)\r\n );\r\n\r\n async transform(value: string): Promise {\r\n var featureToggles = await this.getValue(this.accountFeatureToggles$);\r\n var selectedAccount = await this.getValue(this.selectedAccount$);\r\n\r\n if (!value) return FeatureToggleValue.available;\r\n\r\n var globalFlag = featureToggles.find(\r\n (x) => x.level === FeatureToggleLevel.global && x.name === value\r\n );\r\n\r\n if (!globalFlag) {\r\n return FeatureToggleValue.hidden;\r\n }\r\n\r\n if (globalFlag.value !== FeatureToggleValue.available)\r\n return globalFlag.value;\r\n\r\n var accountFlag = featureToggles.find(\r\n (x) =>\r\n x.level === FeatureToggleLevel.accountClassification &&\r\n x.name === value &&\r\n Number(x.levelReference) === selectedAccount?.accountClassificationId\r\n );\r\n\r\n if (!accountFlag) {\r\n return FeatureToggleValue.hidden;\r\n }\r\n\r\n return accountFlag.value;\r\n }\r\n\r\n hasValue(value: any) {\r\n return value !== null && value !== undefined;\r\n }\r\n\r\n getValue(observable: Observable): Promise {\r\n return observable.pipe(filter(this.hasValue), first()).toPromise();\r\n }\r\n}\r\n"],"mappings":"sGAAA,IAAAA,GAAAC,GAAA,CAAAC,GAAAC,KAAA,EAOC,SAAUC,EAAQC,EAAS,CAC1B,OAAOH,IAAY,UAAY,OAAOC,GAAW,IAAcA,GAAO,QAAUE,EAAQ,EAAI,OAAO,QAAW,YAAc,OAAO,IAAM,OAAOA,CAAO,EAAID,EAAO,OAASC,EAAQ,CACrL,GAAGH,GAAM,UAAY,CACnB,aAEA,IAAII,EACJ,SAASC,GAAQ,CACf,OAAOD,EAAa,MAAM,KAAM,SAAS,CAC3C,CAIA,SAASE,EAAgBC,EAAU,CACjCH,EAAeG,CACjB,CACA,SAASC,EAAQC,EAAO,CACtB,OAAOA,aAAiB,OAAS,OAAO,UAAU,SAAS,KAAKA,CAAK,IAAM,gBAC7E,CACA,SAASC,EAASD,EAAO,CAGvB,OAAOA,GAAS,MAAQ,OAAO,UAAU,SAAS,KAAKA,CAAK,IAAM,iBACpE,CACA,SAASE,EAAWC,EAAGC,EAAG,CACxB,OAAO,OAAO,UAAU,eAAe,KAAKD,EAAGC,CAAC,CAClD,CACA,SAASC,EAAcC,EAAK,CAC1B,GAAI,OAAO,oBACT,OAAO,OAAO,oBAAoBA,CAAG,EAAE,SAAW,EAElD,IAAIC,EACJ,IAAKA,KAAKD,EACR,GAAIJ,EAAWI,EAAKC,CAAC,EACnB,MAAO,GAGX,MAAO,EAEX,CACA,SAASC,EAAYR,EAAO,CAC1B,OAAOA,IAAU,MACnB,CACA,SAASS,EAAST,EAAO,CACvB,OAAO,OAAOA,GAAU,UAAY,OAAO,UAAU,SAAS,KAAKA,CAAK,IAAM,iBAChF,CACA,SAASU,EAAOV,EAAO,CACrB,OAAOA,aAAiB,MAAQ,OAAO,UAAU,SAAS,KAAKA,CAAK,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T,EAAG,CACD,IAAK,MACL,MAAO,YACT,EAAG,CACD,IAAK,KACL,MAAO,iBACT,EAAG,CACD,IAAK,MACL,MAAO,UACT,EAAG,CACD,IAAK,MACL,MAAO,UACT,EAAG,CACD,IAAK,KACL,MAAO,mBACT,CAAC,CAAC,EACIkL,IAA+BH,GAAeF,GAAW7K,GAAS,CAAC,CACvE,IAAK,EACL,MAAO,SACT,EAAG,CACD,IAAK,EACL,MAAO,UACT,EAAG,CACD,IAAK,EACL,MAAO,OACT,EAAG,CACD,IAAK,EACL,MAAO,OACT,EAAG,CACD,IAAK,EACL,MAAO,KACT,EAAG,CACD,IAAK,EACL,MAAO,MACT,EAAG,CACD,IAAK,EACL,MAAO,MACT,EAAG,CACD,IAAK,EACL,MAAO,QACT,EAAG,CACD,IAAK,EACL,MAAO,WACT,EAAG,CACD,IAAK,GACL,MAAO,SACT,EAAG,CACD,IAAK,GACL,MAAO,UACT,EAAG,CACD,IAAK,GACL,MAAO,UACT,CAAC,CAAC,EACImL,IAA4CJ,GAAeF,GAAW7K,GAAS,CAAC,CACpF,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,iBACL,MAAO,gBACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,sBACL,MAAO,qBACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,mCACL,MAAO,kCACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,yBACL,MAAO,wBACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,iCACL,MAAO,gCACT,EAAG,CACD,IAAK,oBACL,MAAO,mBACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,eACL,MAAO,cACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,iBACL,MAAO,gBACT,EAAG,CACD,IAAK,2BACL,MAAO,0BACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,mBACL,MAAO,kBACT,EAAG,CACD,IAAK,0BACL,MAAO,yBACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,eACL,MAAO,cACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,qBACL,MAAO,oBACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,oBACL,MAAO,mBACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,8BACL,MAAO,6BACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,mBACL,MAAO,kBACT,EAAG,CACD,IAAK,8BACL,MAAO,6BACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,oCACL,MAAO,mCACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,qBACL,MAAO,oBACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,kCACL,MAAO,iCACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,mBACL,MAAO,kBACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,mCACL,MAAO,kCACT,EAAG,CACD,IAAK,uBACL,MAAO,sBACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,iBACL,MAAO,gBACT,EAAG,CACD,IAAK,kBACL,MAAO,iBACT,EAAG,CACD,IAAK,2BACL,MAAO,0BACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,sBACL,MAAO,qBACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,mBACL,MAAO,kBACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,qBACL,MAAO,oBACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,mBACL,MAAO,kBACT,EAAG,CACD,IAAK,+CACL,MAAO,8CACT,EAAG,CACD,IAAK,wBACL,MAAO,uBACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,6BACL,MAAO,4BACT,EAAG,CACD,IAAK,4BACL,MAAO,2BACT,EAAG,CACD,IAAK,mCACL,MAAO,kCACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,wBACL,MAAO,uBACT,EAAG,CACD,IAAK,eACL,MAAO,cACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,eACL,MAAO,cACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,4BACL,MAAO,2BACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,kBACL,MAAO,iBACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,eACL,MAAO,cACT,EAAG,CACD,IAAK,+CACL,MAAO,8CACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,YACL,MAAO,WACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,yBACL,MAAO,wBACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,uBACL,MAAO,sBACT,EAAG,CACD,IAAK,4BACL,MAAO,2BACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,+BACL,MAAO,8BACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,cACL,MAAO,aACT,EAAG,CACD,IAAK,OACL,MAAO,MACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,QACL,MAAO,OACT,EAAG,CACD,IAAK,sBACL,MAAO,qBACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,eACL,MAAO,cACT,EAAG,CACD,IAAK,2BACL,MAAO,0BACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,SACL,MAAO,QACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,uBACL,MAAO,sBACT,EAAG,CACD,IAAK,iBACL,MAAO,gBACT,EAAG,CACD,IAAK,gBACL,MAAO,eACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,aACL,MAAO,YACT,EAAG,CACD,IAAK,UACL,MAAO,SACT,EAAG,CACD,IAAK,qCACL,MAAO,oCACT,EAAG,CACD,IAAK,WACL,MAAO,UACT,EAAG,CACD,IAAK,2BACL,MAAO,0BACT,EAAG,CACD,IA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,CACjB,OAAOA,GAAU,IACnB,CAEAG,SAAYkB,EAAyB,CACnC,OAAOA,EAAW3B,KAAK4B,GAAO,KAAKF,QAAQ,EAAGG,GAAK,CAAE,EAAEC,UAAS,CAClE,iDAlDWnC,GAAiBoC,EAAAC,GAAA,EAAA,EAAAD,EAAAE,GAAA,EAAA,CAAA,CAAA,CAAA,sDAAjBtC,EAAiBuC,KAAA,EAAA,CAAA,CAAA,SAAjBvC,CAAiB,GAAA","names":["require_moment","__commonJSMin","exports","module","global","factory","hookCallback","hooks","setHookCallback","callback","isArray","input","isObject","hasOwnProp","a","b","isObjectEmpty","obj","k","isUndefined","isNumber","isDate","map","arr","fn","res","i","arrLen","extend","createUTC","format","locale","strict","createLocalOrUTC","defaultParsingFlags","getParsingFlags","m","some","fun","t","len","isValid","flags","parsedParts","isNowValid","createInvalid","momentProperties","updateInProgress","copyConfig","to","from","prop","val","momentPropertiesLen","Moment","config","isMoment","warn","msg","deprecate","firstTime","args","arg","key","argLen","deprecations","deprecateSimple","name","isFunction","set","mergeConfigs","parentConfig","childConfig","Locale","keys","defaultCalendar","calendar","mom","now","output","zeroFill","number","targetLength","forceSign","absNumber","zerosToFill","sign","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","token","padded","ordinal","func","removeFormattingTokens","makeFormatFunction","array","length","formatMoment","expandFormat","replaceLongDateFormatTokens","defaultLongDateFormat","longDateFormat","formatUpper","tok","defaultInvalidDate","invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","defaultRelativeTime","relativeTime","withoutSuffix","string","isFuture","pastFuture","diff","aliases","normalizeUnits","units","normalizeObjectUnits","inputObject","normalizedInput","normalizedProp","priorities","getPrioritizedUnits","unitsObj","u","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","match1to2NoLeadingZero","match1to2HasZero","regexes","addRegexToken","regex","strictRegex","isStrict","localeData","getParseRegexForToken","unescapeFormat","s","regexEscape","matched","p1","p2","p3","p4","absFloor","toInt","argumentForCoercion","coercedNumber","value","tokens","addParseToken","tokenLen","addWeekParseToken","addTimeToArrayFromToken","isLeapYear","year","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","y","daysInYear","getSetYear","makeGetSet","getIsLeapYear","unit","keepTime","set$1","get","d","isUTC","month","date","stringGet","stringSet","prioritized","prioritizedLen","mod","n","x","indexOf","o","daysInMonth","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","localeMonthsShort","handleStrictParse","monthName","ii","llc","localeMonthsParse","setMonth","getSetMonth","getDaysInMonth","monthsShortRegex","computeMonthsParse","monthsRegex","cmpLenRev","shortPieces","longPieces","mixedPieces","shortP","longP","createDate","h","M","ms","createUTCDate","firstWeekOffset","dow","doy","fwd","fwdlw","dayOfYearFromWeeks","week","weekday","localWeekday","weekOffset","dayOfYear","resYear","resDayOfYear","weekOfYear","resWeek","weeksInYear","weekOffsetNext","localeWeek","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","parseIsoWeekday","shiftWeekdays","ws","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","weekdays","localeWeekdaysShort","localeWeekdaysMin","handleStrictParse$1","weekdayName","localeWeekdaysParse","getSetDayOfWeek","day","getSetLocaleDayOfWeek","getSetISODayOfWeek","weekdaysRegex","computeWeekdaysParse","weekdaysShortRegex","weekdaysMinRegex","minPieces","minp","shortp","longp","hFormat","kFormat","meridiem","lowercase","matchMeridiem","kInput","pos","pos1","pos2","localeIsPM","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","hours","minutes","isLower","baseConfig","locales","localeFamilies","globalLocale","commonPrefix","arr1","arr2","minl","normalizeLocale","chooseLocale","names","j","next","split","loadLocale","isLocaleNameSane","oldLocale","aliasedRequire","__require","getSetGlobalLocale","values","data","getLocale","defineLocale","updateLocale","tmpLocale","listLocales","checkOverflow","overflow","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","rfc2822","obsOffsets","configFromISO","l","match","allowTime","dateFormat","timeFormat","tzFormat","isoDatesLen","isoTimesLen","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","result","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","weekdayProvided","weekdayActual","calculateOffset","obsOffset","militaryOffset","numOffset","hm","configFromRFC2822","parsedArray","configFromString","defaults","c","currentDateArray","nowValue","configFromArray","currentDate","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","w","weekYear","temp","weekdayOverflow","curWeek","createLocal","skipped","stringLength","totalParsedInputLength","era","meridiemFixWrap","hour","isPm","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","configfLen","configFromObject","dayOrDate","createFromConfig","prepareConfig","configFromInput","prototypeMin","other","prototypeMax","pickBy","moments","min","max","ordering","isDurationValid","unitHasDecimal","orderLen","isValid$1","createInvalid$1","createDuration","Duration","duration","years","quarters","months","weeks","days","seconds","milliseconds","isDuration","absRound","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","offset","separator","offsetFromString","chunkOffset","matcher","matches","chunk","parts","cloneWithOffset","model","getDateOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","ret","diffRes","parseIso","momentsDifference","inp","positiveMomentsDifference","base","createAdder","direction","period","dur","tmp","isAdding","updateOffset","add","subtract","isString","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","properties","property","propertyLen","arrayTest","dataTypeTest","item","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","time","formats","sod","clone","isAfter","localInput","isBefore","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","asFloat","that","zoneDelta","monthDiff","wholeMonthDiff","anchor","anchor2","adjust","toString","toISOString","keepOffset","utc","inspect","zone","prefix","datetime","suffix","inputString","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","startOf","startOfDate","endOf","valueOf","unix","toDate","toArray","toObject","toJSON","isValid$2","parsingFlags","invalidAt","creationData","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","localeEras","eras","localeErasParse","eraName","abbr","narrow","localeErasConvertYear","dir","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","erasAbbrRegex","erasNarrowRegex","abbrPieces","namePieces","narrowPieces","erasName","erasAbbr","erasNarrow","addWeekYearFormatToken","getter","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetSecond","getSetMillisecond","parseMs","getZoneAbbr","getZoneName","proto","createUnix","createInZone","preParsePostFormat","proto$1","get$1","index","field","setter","listMonthsImpl","out","listWeekdaysImpl","localeSorted","shift","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","mathAbs","abs","addSubtract$1","add$1","subtract$1","absCeil","bubble","monthsFromDays","monthsToDays","daysToMonths","as","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","valueOf$1","clone$1","get$2","makeGetter","round","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","threshold","limit","humanize","argWithSuffix","argThresholds","withSuffix","th","abs$1","toISOString$1","total","totalSign","ymSign","daysSign","hmsSign","proto$2","require_cjs","__commonJSMin","exports","module","isMergeableObject","value","isNonNullObject","isSpecial","stringValue","isReactElement","canUseSymbol","REACT_ELEMENT_TYPE","emptyTarget","val","cloneUnlessOtherwiseSpecified","options","deepmerge","defaultArrayMerge","target","source","element","getMergeFunction","key","customMerge","getEnumerableOwnPropertySymbols","symbol","getKeys","propertyIsOnObject","object","property","propertyIsUnsafe","mergeObject","destination","sourceIsArray","targetIsArray","sourceAndTargetTypesMatch","array","prev","next","deepmerge_1","defaultEquals","a","b","activeConsumer","inNotificationPhase","epoch","SIGNAL","setActiveConsumer","consumer","prev","getActiveConsumer","isInNotificationPhase","REACTIVE_NODE","producerAccessed","node","inNotificationPhase","activeConsumer","idx","assertConsumerNode","consumerIsLive","staleProducer","producerRemoveLiveConsumerAtIndex","producerAddLiveConsumer","producerIncrementEpoch","epoch","producerUpdateValueVersion","consumerPollProducersForChange","producerMarkClean","producerNotifyConsumers","prev","consumer","consumerMarkDirty","producerUpdatesAllowed","consumerBeforeComputation","setActiveConsumer","consumerAfterComputation","prevConsumer","i","producer","seenVersion","consumerDestroy","indexOfThis","assertProducerNode","isConsumerNode","lastIdx","idxProducer","createComputed","computation","COMPUTED_NODE","computed","ERRORED","SIGNAL","UNSET","COMPUTING","__spreadProps","__spreadValues","defaultEquals","oldValue","newValue","wasEqual","err","defaultThrowError","throwInvalidWriteToSignalErrorFn","throwInvalidWriteToSignalError","setThrowInvalidWriteToSignalError","fn","postSignalSetFn","createSignal","initialValue","SIGNAL_NODE","getter","signalSetFn","node","newValue","producerUpdatesAllowed","throwInvalidWriteToSignalError","signalValueChanged","signalUpdateFn","updater","SIGNAL_NODE","__spreadProps","__spreadValues","REACTIVE_NODE","defaultEquals","signalValueChanged","node","producerIncrementEpoch","producerNotifyConsumers","postSignalSetFn","createWatch","fn","schedule","allowSignalWrites","node","WATCH_NODE","registerOnCleanup","cleanupFn","isWatchNodeDestroyed","destroyWatchNode","consumerDestroy","NOOP_CLEANUP_FN","run","isInNotificationPhase","consumerPollProducersForChange","prevConsumer","consumerBeforeComputation","consumerAfterComputation","consumerMarkDirty","SIGNAL","__spreadProps","__spreadValues","REACTIVE_NODE","isFunction","value","createErrorClass","createImpl","ctorFunc","instance","UnsubscriptionError","createErrorClass","_super","errors","err","arrRemove","arr","item","index","Subscription","_Subscription","initialTeardown","errors","_parentage","parent","initialFinalizer","isFunction","e","UnsubscriptionError","_finalizers","finalizer","execFinalizer","err","teardown","_a","arrRemove","empty","EMPTY_SUBSCRIPTION","isSubscription","value","config","timeoutProvider","handler","timeout","args","delegate","handle","reportUnhandledError","err","timeoutProvider","onUnhandledError","config","noop","COMPLETE_NOTIFICATION","createNotification","errorNotification","error","nextNotification","value","kind","context","errorContext","cb","config","isRoot","errorThrown","error","captureError","err","Subscriber","Subscription","destination","isSubscription","EMPTY_OBSERVER","next","error","complete","SafeSubscriber","value","handleStoppedNotification","nextNotification","err","errorNotification","COMPLETE_NOTIFICATION","_bind","bind","fn","thisArg","ConsumerObserver","partialObserver","handleUnhandledError","observerOrNext","isFunction","context","config","captureError","reportUnhandledError","defaultErrorHandler","notification","subscriber","onStoppedNotification","timeoutProvider","noop","observable","identity","x","pipe","fns","pipeFromArray","identity","input","prev","fn","Observable","subscribe","operator","observable","observerOrNext","error","complete","subscriber","isSubscriber","SafeSubscriber","errorContext","source","sink","err","next","promiseCtor","getPromiseCtor","resolve","reject","value","_a","operations","pipeFromArray","x","config","isObserver","isFunction","Subscriber","isSubscription","hasLift","source","isFunction","operate","init","liftedSource","err","createOperatorSubscriber","destination","onNext","onComplete","onError","onFinalize","OperatorSubscriber","Subscriber","shouldUnsubscribe","value","err","_a","closed","refCount","operate","source","subscriber","connection","refCounter","createOperatorSubscriber","sharedConnection","conn","ConnectableObservable","Observable","source","subjectFactory","hasLift","subscriber","subject","_connection","connection","Subscription","createOperatorSubscriber","err","refCount","ObjectUnsubscribedError","createErrorClass","_super","Subject","Observable","operator","subject","AnonymousSubject","ObjectUnsubscribedError","value","errorContext","observer","err","observers","_a","subscriber","hasError","isStopped","EMPTY_SUBSCRIPTION","Subscription","arrRemove","thrownError","observable","destination","source","_b","BehaviorSubject","Subject","_value","subscriber","subscription","hasError","thrownError","value","dateTimestampProvider","ReplaySubject","Subject","_bufferSize","_windowTime","_timestampProvider","dateTimestampProvider","value","isStopped","_buffer","_infiniteTimeWindow","subscriber","subscription","copy","i","adjustedBufferSize","now","last","Action","Subscription","scheduler","work","state","delay","intervalProvider","handler","timeout","args","delegate","handle","AsyncAction","Action","scheduler","work","state","delay","_a","id","_id","intervalProvider","_scheduler","error","_delay","errored","errorValue","e","actions","arrRemove","nextHandle","resolved","activeHandles","findAndClearHandle","handle","Immediate","cb","setImmediate","clearImmediate","Immediate","immediateProvider","args","delegate","handle","AsapAction","AsyncAction","scheduler","work","id","delay","immediateProvider","_a","actions","Scheduler","_Scheduler","schedulerActionCtor","now","work","delay","state","dateTimestampProvider","AsyncScheduler","Scheduler","SchedulerAction","now","action","actions","error","AsapScheduler","AsyncScheduler","action","flushId","actions","error","asapScheduler","AsapScheduler","AsapAction","asyncScheduler","AsyncScheduler","AsyncAction","async","QueueAction","AsyncAction","scheduler","work","state","delay","id","QueueScheduler","AsyncScheduler","queueScheduler","QueueScheduler","QueueAction","EMPTY","Observable","subscriber","isScheduler","value","isFunction","last","arr","popResultSelector","args","isFunction","popScheduler","isScheduler","popNumber","defaultValue","__awaiter","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__values","o","s","m","i","__await","v","__asyncGenerator","thisArg","_arguments","generator","g","q","verb","awaitReturn","f","reject","n","a","b","resume","step","e","settle","r","fulfill","value","__asyncValues","o","m","i","__values","verb","n","v","resolve","reject","settle","d","isArrayLike","x","isPromise","value","isFunction","isInteropObservable","input","isFunction","observable","isAsyncIterable","obj","isFunction","createInvalidObservableTypeError","input","getSymbolIterator","iterator","isIterable","input","isFunction","iterator","readableStreamLikeToAsyncGenerator","readableStream","__asyncGenerator","reader","value","done","__await","isReadableStreamLike","obj","isFunction","innerFrom","input","Observable","isInteropObservable","fromInteropObservable","isArrayLike","fromArrayLike","isPromise","fromPromise","isAsyncIterable","fromAsyncIterable","isIterable","fromIterable","isReadableStreamLike","fromReadableStreamLike","createInvalidObservableTypeError","obj","subscriber","obs","observable","isFunction","array","i","promise","value","err","reportUnhandledError","iterable","asyncIterable","process","readableStream","readableStreamLikeToAsyncGenerator","asyncIterable_1","asyncIterable_1_1","e_1","_a","__awaiter","__asyncValues","e_1_1","executeSchedule","parentSubscription","scheduler","work","delay","repeat","scheduleSubscription","observeOn","scheduler","delay","operate","source","subscriber","createOperatorSubscriber","value","executeSchedule","err","subscribeOn","scheduler","delay","operate","source","subscriber","scheduleObservable","input","scheduler","innerFrom","subscribeOn","observeOn","schedulePromise","input","scheduler","innerFrom","subscribeOn","observeOn","scheduleArray","input","scheduler","Observable","subscriber","i","scheduleIterable","input","scheduler","Observable","subscriber","iterator","executeSchedule","value","done","err","isFunction","scheduleAsyncIterable","input","scheduler","Observable","subscriber","executeSchedule","iterator","result","scheduleReadableStreamLike","input","scheduler","scheduleAsyncIterable","readableStreamLikeToAsyncGenerator","scheduled","input","scheduler","isInteropObservable","scheduleObservable","isArrayLike","scheduleArray","isPromise","schedulePromise","isAsyncIterable","scheduleAsyncIterable","isIterable","scheduleIterable","isReadableStreamLike","scheduleReadableStreamLike","createInvalidObservableTypeError","from","input","scheduler","scheduled","innerFrom","of","args","scheduler","popScheduler","from","throwError","errorOrErrorFactory","scheduler","errorFactory","isFunction","init","subscriber","Observable","Notification","_Notification","kind","value","error","observer","observeNotification","nextHandler","errorHandler","completeHandler","nextOrObserver","complete","_a","isFunction","result","of","throwError","EMPTY","err","notification","_b","_c","isObservable","obj","Observable","isFunction","EmptyError","createErrorClass","_super","isValidDate","value","TimeoutError","createErrorClass","_super","info","timeout","config","schedulerArg","first","each","_with","timeoutErrorFactory","scheduler","asyncScheduler","meta","isValidDate","operate","source","subscriber","originalSourceSubscription","timerSubscription","lastValue","seen","startTimer","delay","executeSchedule","innerFrom","err","createOperatorSubscriber","value","map","project","thisArg","operate","source","subscriber","index","createOperatorSubscriber","value","isArray","callOrApply","fn","args","mapOneOrManyArgs","map","isArray","getPrototypeOf","objectProto","getKeys","argsArgArrayOrObject","args","first","isPOJO","keys","key","obj","createObject","keys","values","result","key","combineLatest","args","scheduler","popScheduler","resultSelector","popResultSelector","observables","keys","argsArgArrayOrObject","from","result","Observable","combineLatestInit","values","createObject","identity","mapOneOrManyArgs","valueTransform","subscriber","maybeSchedule","length","active","remainingFirstValues","i","source","hasFirstValue","createOperatorSubscriber","value","execute","subscription","executeSchedule","mergeInternals","source","subscriber","project","concurrent","onBeforeNext","expand","innerSubScheduler","additionalFinalizer","buffer","active","index","isComplete","checkComplete","outerNext","value","doInnerSub","innerComplete","innerFrom","createOperatorSubscriber","innerValue","bufferedValue","executeSchedule","err","mergeMap","project","resultSelector","concurrent","isFunction","a","map","b","ii","innerFrom","operate","source","subscriber","mergeInternals","mergeAll","concurrent","mergeMap","identity","concatAll","mergeAll","concat","args","concatAll","from","popScheduler","defer","observableFactory","Observable","subscriber","innerFrom","forkJoin","args","resultSelector","popResultSelector","sources","keys","argsArgArrayOrObject","result","Observable","subscriber","length","values","remainingCompletions","remainingEmissions","sourceIndex","hasValue","innerFrom","createOperatorSubscriber","value","createObject","mapOneOrManyArgs","nodeEventEmitterMethods","eventTargetMethods","jqueryMethods","fromEvent","target","eventName","options","resultSelector","isFunction","mapOneOrManyArgs","add","remove","isEventTarget","methodName","handler","isNodeStyleEventEmitter","toCommonHandlerRegistry","isJQueryStyleEventEmitter","isArrayLike","mergeMap","subTarget","innerFrom","Observable","subscriber","args","timer","dueTime","intervalOrScheduler","scheduler","async","intervalDuration","isScheduler","Observable","subscriber","due","isValidDate","n","merge","args","scheduler","popScheduler","concurrent","popNumber","sources","innerFrom","mergeAll","from","EMPTY","filter","predicate","thisArg","operate","source","subscriber","index","createOperatorSubscriber","value","audit","durationSelector","operate","source","subscriber","hasValue","lastValue","durationSubscriber","isComplete","endDuration","value","cleanupDuration","createOperatorSubscriber","innerFrom","auditTime","duration","scheduler","asyncScheduler","audit","timer","catchError","selector","operate","source","subscriber","innerSub","syncUnsub","handledResult","createOperatorSubscriber","err","innerFrom","scanInternals","accumulator","seed","hasSeed","emitOnNext","emitBeforeComplete","source","subscriber","hasState","state","index","createOperatorSubscriber","value","i","concatMap","project","resultSelector","isFunction","mergeMap","debounceTime","dueTime","scheduler","asyncScheduler","operate","source","subscriber","activeTask","lastValue","lastTime","emit","value","emitWhenIdle","targetTime","now","createOperatorSubscriber","defaultIfEmpty","defaultValue","operate","source","subscriber","hasValue","createOperatorSubscriber","value","take","count","EMPTY","operate","source","subscriber","seen","createOperatorSubscriber","value","ignoreElements","operate","source","subscriber","createOperatorSubscriber","noop","mapTo","value","map","delayWhen","delayDurationSelector","subscriptionDelay","source","concat","take","ignoreElements","mergeMap","value","index","innerFrom","mapTo","delay","due","scheduler","asyncScheduler","duration","timer","delayWhen","dematerialize","operate","source","subscriber","createOperatorSubscriber","notification","observeNotification","distinct","keySelector","flushes","operate","source","subscriber","distinctKeys","createOperatorSubscriber","value","key","innerFrom","noop","distinctUntilChanged","comparator","keySelector","identity","defaultCompare","operate","source","subscriber","previousKey","first","createOperatorSubscriber","value","currentKey","a","b","throwIfEmpty","errorFactory","defaultErrorFactory","operate","source","subscriber","hasValue","createOperatorSubscriber","value","EmptyError","exhaustMap","project","resultSelector","source","a","innerFrom","map","b","ii","operate","subscriber","index","innerSub","isComplete","createOperatorSubscriber","outerValue","finalize","callback","operate","source","subscriber","first","predicate","defaultValue","hasDefaultValue","source","filter","v","i","identity","take","defaultIfEmpty","throwIfEmpty","EmptyError","groupBy","keySelector","elementOrOptions","duration","connector","operate","source","subscriber","element","groups","notify","cb","handleError","err","consumer","activeGroups","teardownAttempted","groupBySourceSubscriber","OperatorSubscriber","value","key","group","Subject","grouped","createGroupedObservable","durationSubscriber","createOperatorSubscriber","innerFrom","groupSubject","result","Observable","groupSubscriber","innerSub","takeLast","count","EMPTY","operate","source","subscriber","buffer","createOperatorSubscriber","value","last","predicate","defaultValue","hasDefaultValue","source","filter","v","i","identity","takeLast","defaultIfEmpty","throwIfEmpty","EmptyError","materialize","operate","source","subscriber","createOperatorSubscriber","value","Notification","err","pairwise","operate","source","subscriber","prev","hasPrev","createOperatorSubscriber","value","p","pluck","properties","length","map","x","currentProp","p","scan","accumulator","seed","operate","scanInternals","share","options","connector","Subject","resetOnError","resetOnComplete","resetOnRefCountZero","wrapperSource","connection","resetConnection","subject","refCount","hasCompleted","hasErrored","cancelReset","reset","resetAndUnsubscribe","conn","operate","source","subscriber","dest","handleReset","SafeSubscriber","value","err","innerFrom","on","args","onSubscriber","shareReplay","configOrBufferSize","windowTime","scheduler","bufferSize","refCount","share","ReplaySubject","skip","count","filter","_","index","skipWhile","predicate","operate","source","subscriber","taking","index","createOperatorSubscriber","value","startWith","values","scheduler","popScheduler","operate","source","subscriber","concat","switchMap","project","resultSelector","operate","source","subscriber","innerSubscriber","index","isComplete","checkComplete","createOperatorSubscriber","value","innerIndex","outerIndex","innerFrom","innerValue","takeUntil","notifier","operate","source","subscriber","innerFrom","createOperatorSubscriber","noop","takeWhile","predicate","inclusive","operate","source","subscriber","index","createOperatorSubscriber","value","result","tap","observerOrNext","error","complete","tapObserver","isFunction","operate","source","subscriber","_a","isUnsub","createOperatorSubscriber","value","err","_b","identity","throttle","durationSelector","config","operate","source","subscriber","leading","trailing","hasValue","sendValue","throttled","isComplete","endThrottling","send","cleanupThrottling","startThrottle","value","innerFrom","createOperatorSubscriber","throttleTime","duration","scheduler","asyncScheduler","config","duration$","timer","throttle","withLatestFrom","inputs","project","popResultSelector","operate","source","subscriber","len","otherValues","hasValue","ready","i","innerFrom","createOperatorSubscriber","value","identity","noop","values","XSS_SECURITY_URL","RuntimeError","code","message","formatRuntimeError","REQUIRED_UNSET_VALUE","INPUT_SIGNAL_NODE","__spreadProps","__spreadValues","SIGNAL_NODE","node","value","signalSetFn","createInputSignal","initialValue","options","node","INPUT_SIGNAL_NODE","inputValueFn","producerAccessed","REQUIRED_UNSET_VALUE","RuntimeError","SIGNAL","noSideEffects","fn","ANNOTATIONS","PARAMETERS","PROP_METADATA","makeDecorator","name","props","parentClass","additionalProcessing","typeFn","metaCtor","makeMetadataCtor","DecoratorFactory","args","annotationInstance","cls","values","propName","makeParamDecorator","ParamDecoratorFactory","ParamDecorator","unusedKey","index","parameters","_global","getClosureSafeProperty","objWithPropertyToExtract","key","fillProperties","target","source","stringify","token","name","result","newLineIndex","concatStringsWithSpace","before","after","__forward_ref__","getClosureSafeProperty","forwardRef","forwardRefFn","stringify","resolveForwardRef","type","isForwardRef","fn","ɵɵdefineInjectable","opts","ɵɵdefineInjector","options","getInjectableDef","type","getOwnDefinition","NG_PROV_DEF","NG_INJECTABLE_DEF","isInjectable","field","getInheritedInjectableDef","def","getInjectorDef","NG_INJ_DEF","NG_INJECTOR_DEF","getClosureSafeProperty","InjectionToken","_desc","ɵɵdefineInjectable","isEnvironmentProviders","value","NG_COMP_DEF","getClosureSafeProperty","NG_DIR_DEF","NG_PIPE_DEF","NG_MOD_DEF","NG_FACTORY_DEF","NG_ELEMENT_ID","NG_ENV_ID","renderStringify","stringifyForError","throwCyclicDependencyError","token","path","depPath","RuntimeError","throwProviderNotFoundError","token","injectorName","RuntimeError","InjectFlags","_injectImplementation","getInjectImplementation","setInjectImplementation","impl","previous","injectRootLimpMode","notFoundValue","flags","injectableDef","getInjectableDef","_THROW_IF_NOT_FOUND","THROW_IF_NOT_FOUND","DI_DECORATOR_FLAG","NG_TEMP_TOKEN_PATH","NG_TOKEN_PATH","NEW_LINE","NO_NEW_LINE","SOURCE","_currentInjector","getCurrentInjector","setCurrentInjector","injector","former","injectInjectorOnly","token","flags","InjectFlags","RuntimeError","injectRootLimpMode","ɵɵinject","getInjectImplementation","resolveForwardRef","ɵɵinvalidFactoryDep","index","inject","convertToBitFlags","injectArgs","types","args","i","arg","type","j","meta","flag","getInjectFlag","attachInjectFlag","decorator","catchInjectorError","e","injectorErrorName","source","tokenPath","formatError","text","obj","context","stringify","parts","key","value","Inject","makeParamDecorator","Optional","Self","SkipSelf","Host","getFactoryDef","throwNotFound","hasFactoryDef","NG_FACTORY_DEF","arrayEquals","a","b","identityAccessor","valueA","valueB","flatten","list","deepForEach","input","fn","addToArray","arr","removeFromArray","newArray","size","arrayInsert2","array","index","value1","value2","end","previousEnd","keyValueArraySet","keyValueArray","key","value","index","keyValueArrayIndexOf","arrayInsert2","keyValueArrayGet","_arrayIndexOfSorted","_arrayIndexOfSorted","array","value","shift","start","end","middle","current","EMPTY_OBJ","EMPTY_ARRAY","ENVIRONMENT_INITIALIZER","InjectionToken","INJECTOR$1","INJECTOR_DEF_TYPES","NullInjector","token","notFoundValue","THROW_IF_NOT_FOUND","error","stringify","getNgModuleDef","type","throwNotFound","ngModuleDef","NG_MOD_DEF","getComponentDef","NG_COMP_DEF","getDirectiveDef","NG_DIR_DEF","getPipeDef$1","NG_PIPE_DEF","isStandalone","def","makeEnvironmentProviders","providers","importProvidersFrom","sources","internalImportProvidersFrom","checkForStandaloneCmp","providersOut","dedup","injectorTypesWithProviders","collectProviders","provider","deepForEach","source","internalSource","walkProviderTree","processInjectorTypesWithProviders","typesWithProviders","visitor","i","ngModule","providers","deepForEachProvider","container","parents","resolveForwardRef","defType","injDef","getInjectorDef","cmpDef","getComponentDef","isDuplicate","deps","dep","importTypesWithProviders","imported","factory","getFactoryDef","EMPTY_ARRAY","INJECTOR_DEF_TYPES","ENVIRONMENT_INITIALIZER","ɵɵinject","defProviders","injectorType","deepForEachProvider","providers","fn","provider","isEnvironmentProviders","USE_VALUE$1","getClosureSafeProperty","isValueProvider","value","isExistingProvider","isFactoryProvider","isTypeProvider","isClassProvider","INJECTOR_SCOPE","InjectionToken","NOT_YET","CIRCULAR","NULL_INJECTOR","getNullInjector","NullInjector","EnvironmentInjector","R3Injector","parent","source","scopes","forEachSingleProvider","INJECTOR$1","makeRecord","record","INJECTOR_DEF_TYPES","EMPTY_ARRAY","InjectFlags","assertNotDestroyed","prevConsumer","setActiveConsumer","service","onDestroyHooks","hook","callback","previousInjector","setCurrentInjector","previousInjectImplementation","setInjectImplementation","prevInjectContext","token","notFoundValue","THROW_IF_NOT_FOUND","flags","NG_ENV_ID","convertToBitFlags","def","couldBeInjectableType","getInjectableDef","injectableDefOrInjectorDefFactory","nextInjector","e","NG_TEMP_TOKEN_PATH","stringify","catchInjectorError","initializers","ENVIRONMENT_INITIALIZER","initializer","tokens","records","resolveForwardRef","providerToRecord","multiRecord","injectArgs","hasOnDestroy","providedIn","destroyCBIdx","injectableDef","factory","getFactoryDef","RuntimeError","getUndecoratedInjectableFactory","inheritedInjectableDef","getInheritedInjectableDef","providerToFactory","ngModuleType","unwrappedProvider","ɵɵinject","classRef","hasDeps","injector","multi","runInInjectionContext","prevInjectorProfilerContext","prevInjector","isInInjectionContext","getInjectImplementation","getCurrentInjector","assertInInjectionContext","debugFn","getCompilerFacade","request","globalNg","_global","angularCoreDiEnv","ɵɵdefineInjectable","ɵɵdefineInjector","ɵɵinject","ɵɵinvalidFactoryDep","resolveForwardRef","Type","isType","v","ES5_DELEGATE_CTOR","ES2015_INHERITED_CLASS","ES2015_INHERITED_CLASS_WITH_CTOR","ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR","isDelegateCtor","typeStr","ReflectionCapabilities","reflect","t","args","paramTypes","paramAnnotations","result","newArray","type","parentCtor","tsickleCtorParams","ctorParameters","ctorParam","convertTsickleDecoratorIntoMetadata","PARAMETERS","getParentCtor","parameters","typeOrFunc","annotations","ANNOTATIONS","ownAnnotations","propMetadata","propDecorators","prop","PROP_METADATA","parentPropMetadata","propName","ownPropMetadata","decorators","lcProperty","decoratorInvocations","decoratorInvocation","annotationCls","annotationArgs","ctor","parentProto","HOST","TVIEW","FLAGS","PARENT","NEXT","T_HOST","HYDRATION","CLEANUP","CONTEXT","INJECTOR","ENVIRONMENT","RENDERER","CHILD_HEAD","CHILD_TAIL","DECLARATION_VIEW","DECLARATION_COMPONENT_VIEW","DECLARATION_LCONTAINER","PREORDER_HOOK_FLAGS","QUERIES","ID","EMBEDDED_VIEW_INJECTOR","ON_DESTROY_HOOKS","EFFECTS_TO_SCHEDULE","EFFECTS","REACTIVE_TEMPLATE_CONSUMER","HEADER_OFFSET","TYPE","NATIVE","VIEW_REFS","MOVED_VIEWS","CONTAINER_HEADER_OFFSET","isLView","value","TYPE","isLContainer","isContentQueryHost","tNode","isComponentHost","isDirectiveHost","isComponentDef","def","isRootView","target","FLAGS","isDestroyed","lView","FLAGS","SimpleChange","previousValue","currentValue","firstChange","applyValueToInputField","instance","inputSignalNode","privateName","value","ɵɵNgOnChangesFeature","ɵɵNgOnChangesFeatureImpl","NgOnChangesFeatureImpl","definition","ngOnChangesSetInput","rememberChangeHistoryAndInvokeOnChangesHook","simpleChangesStore","getSimpleChangesStore","current","previous","EMPTY_OBJ","key","publicName","declaredName","setSimpleChangesStore","previousChange","SIMPLE_CHANGES_STORE","store","profilerCallback","profiler","event","instance","hookOrListener","profilerCallback","SVG_NAMESPACE","MATH_ML_NAMESPACE","unwrapRNode","value","HOST","unwrapLView","TYPE","getNativeByIndex","index","lView","getNativeByTNode","tNode","getTNode","tView","index","load","view","getComponentLViewByIndex","nodeIndex","hostView","slotValue","isLView","HOST","isCreationMode","FLAGS","viewAttachedToChangeDetector","viewAttachedToContainer","isLContainer","PARENT","getConstant","consts","resetPreOrderHookFlags","lView","PREORDER_HOOK_FLAGS","markViewForRefresh","markAncestorsForTraversal","walkUpViews","nestingLevel","currentView","DECLARATION_VIEW","requiresRefreshOrTraversal","REACTIVE_TEMPLATE_CONSUMER","updateAncestorTraversalFlagsOnAttach","ENVIRONMENT","parent","getLViewParent","storeLViewOnDestroy","onDestroyCallback","isDestroyed","RuntimeError","ON_DESTROY_HOOKS","removeLViewOnDestroy","destroyCBIdx","getOrCreateLViewCleanup","CLEANUP","getOrCreateTViewCleanup","storeCleanupWithContext","context","cleanupFn","lCleanup","instructionState","createLFrame","_isRefreshingViews","getElementDepthCount","instructionState","increaseElementDepthCount","decreaseElementDepthCount","getBindingsEnabled","isInSkipHydrationBlock$1","isSkipHydrationRootTNode","tNode","leaveSkipHydrationBlock","instructionState","getLView","getTView","ɵɵrestoreView","viewToRestore","CONTEXT","ɵɵresetView","value","getCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","getCurrentParentTNode","lFrame","setCurrentTNode","tNode","isParent","isCurrentTNodeParent","setCurrentTNodeAsNotParent","getContextLView","isRefreshingViews","_isRefreshingViews","setIsRefreshingViews","mode","prev","getBindingRoot","lFrame","instructionState","index","getBindingIndex","setBindingIndex","value","nextBindingIndex","incrementBindingIndex","count","isInI18nBlock","setBindingRootForHostBindings","bindingRootIndex","currentDirectiveIndex","lFrame","instructionState","setCurrentDirectiveIndex","getCurrentDirectiveIndex","getCurrentDirectiveDef","tData","getCurrentQueryIndex","setCurrentQueryIndex","value","getDeclarationTNode","lView","tView","TVIEW","T_HOST","enterDI","tNode","flags","InjectFlags","parentTNode","parentLView","DECLARATION_VIEW","allocLFrame","enterView","newView","newLFrame","currentLFrame","childLFrame","createLFrame","parent","leaveViewLight","oldLFrame","leaveDI","leaveView","nextContextImpl","level","walkUpViews","CONTEXT","getSelectedIndex","setSelectedIndex","index","getSelectedTNode","getTNode","ɵɵnamespaceSVG","SVG_NAMESPACE","ɵɵnamespaceHTML","namespaceHTMLInternal","instructionState","getNamespace","_wasLastNodeCreated","wasLastNodeCreated","lastNodeWasCreated","flag","registerPreOrderHooks","directiveIndex","directiveDef","tView","ngOnChanges","ngOnInit","ngDoCheck","wrappedOnChanges","NgOnChangesFeatureImpl","registerPostOrderHooks","tNode","i","end","lifecycleHooks","ngAfterContentInit","ngAfterContentChecked","ngAfterViewInit","ngAfterViewChecked","ngOnDestroy","executeCheckHooks","lView","hooks","nodeIndex","callHooks","executeInitAndCheckHooks","initPhase","FLAGS","incrementInitPhaseFlags","flags","currentView","arr","currentNodeIndex","startIndex","PREORDER_HOOK_FLAGS","nodeIndexLimit","max","lastNodeIndexFound","callHook","callHookInternal","directive","hook","profiler","prevConsumer","setActiveConsumer","isInitHook","NO_PARENT_INJECTOR","NodeInjectorFactory","factory","isViewProvider","injectImplementation","isFactory","obj","hasClassInput","tNode","hasStyleInput","setUpAttributes","renderer","native","attrs","i","value","namespaceURI","attrName","attrVal","isAnimationProp","isNameOnlyAttributeMarker","marker","name","mergeHostAttrs","dst","src","srcMarker","item","mergeHostAttribute","key1","key2","markerInsertPosition","dstValue","NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR","ChainedInjector","injector","parentInjector","token","notFoundValue","flags","convertToBitFlags","hasParentInjector","parentLocation","NO_PARENT_INJECTOR","getParentInjectorIndex","getParentInjectorViewOffset","getParentInjectorView","location","startView","viewOffset","parentView","DECLARATION_VIEW","includeViewProviders","setIncludeViewProviders","v","oldValue","BLOOM_SIZE","BLOOM_MASK","BLOOM_BUCKET_BITS","nextNgElementId","NOT_FOUND","bloomAdd","injectorIndex","tView","type","id","NG_ELEMENT_ID","bloomHash","mask","getOrCreateNodeInjectorForNode","tNode","lView","existingInjectorIndex","getInjectorIndex","TVIEW","insertBloom","parentLoc","getParentInjectorLocation","hasParentInjector","parentIndex","getParentInjectorIndex","parentLView","getParentInjectorView","parentData","i","arr","footer","declarationViewOffset","parentTNode","lViewCursor","getTNodeFromLView","NO_PARENT_INJECTOR","DECLARATION_VIEW","diPublicInInjector","token","injectAttributeImpl","attrNameToInject","attrs","attrsLength","value","isNameOnlyAttributeMarker","notFoundValueOrThrow","notFoundValue","flags","InjectFlags","throwProviderNotFoundError","lookupTokenUsingModuleInjector","moduleInjector","INJECTOR","previousInjectImplementation","setInjectImplementation","injectRootLimpMode","getOrCreateInjectable","FLAGS","embeddedInjectorValue","lookupTokenUsingEmbeddedInjector","lookupTokenUsingNodeInjector","bloomHashBitOrFactory","enterDI","leaveDI","previousTView","parentLocation","hostTElementNode","DECLARATION_COMPONENT_VIEW","T_HOST","shouldSearchParent","bloomHasToken","instance","searchTokensOnInjector","currentTView","canAccessViewProviders","isComponentHost","isHostSpecialCase","injectableIdx","locateDirectiveOrProvider","getNodeInjectable","nodeProviderIndexes","tInjectables","injectablesStart","directivesStart","directiveEnd","cptViewProvidersCount","startingIndex","endIndex","providerTokenOrDef","dirDef","isComponentDef","index","tData","isFactory","factory","throwCyclicDependencyError","stringifyForError","previousIncludeViewProviders","prevInjectContext","success","registerPreOrderHooks","tokenId","createNodeInjector","injectorView","isFirstHostTNode","NodeInjector","_tNode","_lView","token","notFoundValue","flags","getOrCreateInjectable","convertToBitFlags","createNodeInjector","getCurrentTNode","getLView","ɵɵgetInheritedFactory","type","noSideEffects","ownConstructor","ownFactory","NG_FACTORY_DEF","getFactoryOf","objectPrototype","parent","factory","t","isForwardRef","resolveForwardRef","getFactoryDef","lookupTokenUsingEmbeddedInjector","tNode","lView","currentTNode","currentLView","FLAGS","isRootView","nodeInjectorValue","lookupTokenUsingNodeInjector","InjectFlags","NOT_FOUND","parentTNode","embeddedViewInjector","EMBEDDED_VIEW_INJECTOR","embeddedViewInjectorValue","getTNodeFromLView","DECLARATION_VIEW","tView","TVIEW","tViewType","T_HOST","ɵɵinjectAttribute","attrNameToInject","injectAttributeImpl","Attribute","makeParamDecorator","attributeName","_reflect","getReflect","ReflectionCapabilities","reflectDependencies","convertDependencies","deps","dep","reflectDependency","meta","j","param","proto","Optional","SkipSelf","Self","Host","Inject","RuntimeError","compileInjectable","ngInjectableDef","ngFactoryDef","NG_PROV_DEF","getCompilerFacade","angularCoreDiEnv","getInjectableMetadata","compiler","USE_VALUE","getClosureSafeProperty","isUseClassProvider","isUseValueProvider","isUseFactoryProvider","isUseExistingProvider","srcMeta","compilerMeta","Injectable","makeDecorator","createInjector","defType","additionalProviders","name","injector","createInjectorWithoutInjectorInstances","scopes","providers","EMPTY_ARRAY","importProvidersFrom","stringify","R3Injector","getNullInjector","Injector","_Injector","THROW_IF_NOT_FOUND","NullInjector","options","ɵɵdefineInjectable","ɵɵinject","INJECTOR$1","HostAttributeToken","HOST_TAG_NAME","InjectionToken","SCHEDULE_IN_ROOT_ZONE_DEFAULT","DestroyRef","injectDestroyRef","injector","NodeInjectorDestroyRef","_lView","callback","storeLViewOnDestroy","removeLViewOnDestroy","getLView","ChangeDetectionScheduler","ZONELESS_ENABLED","InjectionToken","ZONELESS_SCHEDULER_DISABLED","InjectionToken","SCHEDULE_IN_ROOT_ZONE","PendingTasksInternal","BehaviorSubject","taskId","ɵɵdefineInjectable","EventEmitter_","Subject","isAsync","isInInjectionContext","inject","DestroyRef","PendingTasksInternal","value","prevConsumer","setActiveConsumer","observerOrNext","error","complete","nextFn","errorFn","completeFn","observer","sink","Subscription","fn","taskId","EventEmitter","noop","args","scheduleCallbackWithRafRace","callback","timeoutId","animationFrameId","cleanup","scheduleCallbackWithMicrotask","isAngularZoneProperty","angularZoneInstanceIdProperty","ngZoneInstanceId","NgZone","_NgZone","EventEmitter","options","enableLongStackTrace","shouldCoalesceEventChangeDetection","shouldCoalesceRunChangeDetection","scheduleInRootZone","SCHEDULE_IN_ROOT_ZONE_DEFAULT","RuntimeError","self","forkInnerZoneWithAngularBehavior","fn","applyThis","applyArgs","name","zone","task","EMPTY_PAYLOAD","noop","checkStable","delayChangeDetectionForEvents","scheduleCheckStable","scheduleCallbackWithRafRace","updateMicroTaskStatus","delayChangeDetectionForEventsDelegate","instanceId","delegate","current","target","shouldBeIgnoredByZone","onEnter","onLeave","callback","source","isSchedulerTick","hasTaskState","error","NoopNgZone","hasApplyArgsData","key","ErrorHandler","error","INTERNAL_APPLICATION_ERROR_HANDLER","InjectionToken","zone","inject","NgZone","userErrorHandler","OutputEmitterRef","DestroyRef","callback","RuntimeError","idx","value","previousConsumer","setActiveConsumer","listenerFn","err","output","opts","OutputEmitterRef","inputFunction","initialValue","createInputSignal","inputRequiredFunction","REQUIRED_UNSET_VALUE","input","injectElementRef","createElementRef","getCurrentTNode","getLView","tNode","lView","ElementRef","getNativeByTNode","nativeElement","unwrapElementRef","value","markedFeatures","performanceMarkFeature","feature","isSignal","SIGNAL","signal","initialValue","options","performanceMarkFeature","signalFn","createSignal","node","SIGNAL","newValue","signalSetFn","updateFn","signalUpdateFn","signalAsReadonlyFn","readonlyFn","isWritableSignal","value","isSignal","symbolIterator","QueryList","Subject","_emitDistinctChangesOnly","index","fn","init","resultsTree","identityAccessor","newResultFlat","flatten","arrayEquals","cb","hasInSkipHydrationBlockFlag","tNode","ChangeDetectionStrategy","TRACKED_LVIEWS","uniqueIdCounter","getUniqueLViewId","registerLView","lView","ID","unregisterLView","lView","TRACKED_LVIEWS","ID","MONKEY_PATCH_KEY_NAME","attachPatchData","target","data","isLView","MONKEY_PATCH_KEY_NAME","ID","registerLView","getFirstLContainer","lView","getNearestLContainer","CHILD_HEAD","getNextLContainer","container","NEXT","viewOrContainer","isLContainer","DOCUMENT","setDocument","document","getDocument","RuntimeError","APP_ID","InjectionToken","DEFAULT_APP_ID","PLATFORM_INITIALIZER","PLATFORM_ID","ANIMATION_MODULE_TYPE","InjectionToken","CSP_NONCE","getDocument","REFERENCE_NODE_HOST","REFERENCE_NODE_BODY","PRESERVE_HOST_CONTENT_DEFAULT","PRESERVE_HOST_CONTENT","InjectionToken","TracingAction","TracingService","InjectionToken","AfterRenderPhase","AfterRenderManager","ɵɵdefineInjectable","AFTER_RENDER_PHASES","AfterRenderImpl","inject","NgZone","ChangeDetectionScheduler","ErrorHandler","TracingService","phase","sequence","err","fn","snapshot","TracingAction","AfterRenderSequence","impl","hooks","once","destroyRef","afterRender","callbackOrSpec","options","assertInInjectionContext","injector","Injector","performanceMarkFeature","afterRenderImpl","afterNextRender","getHooks","manager","tracing","DestroyRef","_retrieveHydrationInfoImpl","retrieveHydrationInfo","rNode","injector","isRootView","_retrieveHydrationInfoImpl","refreshContentQueries","tView","lView","contentQueries","prevConsumer","setActiveConsumer","queryStartIdx","directiveDefIdx","directiveDef","setCurrentQueryIndex","executeViewQueryFn","flags","viewQueryFn","component","executeContentQueries","tNode","isContentQueryHost","start","end","directiveIndex","def","directiveInstance","ViewEncapsulation","policy$1","getPolicy$1","_global","s","trustedHTMLFromString","html","trustedScriptURLFromString","url","getPolicy$1","policy","getPolicy","_global","s","trustedHTMLFromStringBypass","html","trustedScriptURLFromStringBypass","url","getPolicy","SafeValueImpl","changingThisBreaksApplicationSecurity","XSS_SECURITY_URL","SafeHtmlImpl","SafeStyleImpl","SafeScriptImpl","SafeUrlImpl","SafeResourceUrlImpl","unwrapSafeValue","value","allowSanitizationBypassAndThrow","type","actualType","getSanitizationBypassType","bypassSanitizationTrustHtml","trustedHtml","bypassSanitizationTrustStyle","trustedStyle","bypassSanitizationTrustScript","trustedScript","bypassSanitizationTrustUrl","trustedUrl","bypassSanitizationTrustResourceUrl","trustedResourceUrl","getInertBodyHelper","defaultDoc","inertDocumentHelper","InertDocumentHelper","isDOMParserAvailable","DOMParserHelper","html","body","trustedHTMLFromString","templateEl","SAFE_URL_PATTERN","_sanitizeUrl","tagSet","tags","res","t","merge","sets","s","v","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","OPTIONAL_END_TAG_ELEMENTS","BLOCK_ELEMENTS","INLINE_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","HTML_ATTRS","ARIA_ATTRS","VALID_ATTRS","SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS","SanitizingHtmlSerializer","el","current","traverseContent","parentNodes","getFirstChild","next","getNextSibling","element","tagName","getNodeName","elAttrs","elAttr","attrName","lower","encodeEntities","chars","isClobberedElement","parentNode","childNode","node","nextSibling","clobberedElementError","firstChild","nodeName","SURROGATE_PAIR_REGEXP","NON_ALPHANUMERIC_REGEXP","match","hi","low","inertBodyHelper","_sanitizeHtml","unsafeHtmlInput","inertBodyElement","unsafeHtml","mXSSAttempts","parsedHtml","safeHtml","getTemplateContent","parent","isTemplateElement","SecurityContext","ɵɵsanitizeHtml","sanitizer","getSanitizer","trustedHTMLFromStringBypass","getDocument","renderStringify","ɵɵsanitizeUrl","unsafeUrl","sanitizer","getSanitizer","SecurityContext","allowSanitizationBypassAndThrow","unwrapSafeValue","_sanitizeUrl","renderStringify","ɵɵsanitizeResourceUrl","unsafeResourceUrl","trustedScriptURLFromStringBypass","RuntimeError","ɵɵtrustConstantResourceUrl","url","trustedScriptURLFromString","getUrlSanitizer","tag","prop","ɵɵsanitizeResourceUrl","ɵɵsanitizeUrl","ɵɵsanitizeUrlOrResourceUrl","unsafeUrl","getSanitizer","lView","getLView","ENVIRONMENT","COMMENT_DISALLOWED","COMMENT_DELIMITER","COMMENT_DELIMITER_ESCAPED","escapeCommentText","value","text","ɵɵresolveWindow","element","maybeUnwrapFn","value","classIndexOf","className","classToSearch","startingIndex","end","foundIndex","length","NG_TEMPLATE_SELECTOR","isCssClassMatching","tNode","attrs","cssClassToMatch","isProjectionMode","isInlineTemplate","item","hasTagAndTypeMatch","currentSelector","tagNameToCompare","isNodeMatchingSelector","selector","mode","nodeAttrs","nameOnlyMarkerIdx","getNameOnlyMarkerIndex","skipToNextSelector","i","current","isPositive","selectorAttrValue","attrIndexInNode","findAttrIndexInNode","nodeAttrValue","name","bindingsMode","maybeAttrName","value","matchTemplateAttribute","isNodeMatchingSelectorList","getProjectAsAttrValue","ngProjectAsAttrIdx","nodeAttr","isNameOnlyAttributeMarker","attr","isSelectorInSelectorList","list","selectorListLoop","currentSelectorInList","j","maybeWrapInNotSelector","isNegativeMode","chunk","stringifyCSSSelector","result","currentChunk","valueOrMarker","attrValue","stringifyCSSSelectorList","selectorList","extractAttrsAndClassesFromSelector","classes","NO_CHANGE","createTextNode","renderer","updateTextNode","rNode","createCommentNode","escapeCommentText","createElementNode","namespace","nativeInsertBefore","parent","child","beforeNode","isMove","nativeAppendChild","nativeAppendOrInsertBefore","nativeRemoveNode","isHostElement","writeDirectStyle","renderer","element","newValue","writeDirectClass","setupStaticAttributes","tNode","mergedAttrs","classes","styles","setUpAttributes","createTView","type","declTNode","templateFn","decls","vars","directives","pipes","viewQuery","schemas","constsOrFactory","ssrId","bindingStartIndex","HEADER_OFFSET","initialViewLength","blueprint","createViewBlueprint","consts","TVIEW","i","NO_CHANGE","getOrCreateComponentTView","def","tView","createLView","parentLView","context","flags","host","tHostNode","environment","injector","embeddedViewInjector","hydrationInfo","lView","HOST","FLAGS","resetPreOrderHookFlags","PARENT","DECLARATION_VIEW","CONTEXT","ENVIRONMENT","RENDERER","INJECTOR","T_HOST","ID","getUniqueLViewId","HYDRATION","EMBEDDED_VIEW_INJECTOR","DECLARATION_COMPONENT_VIEW","createComponentLView","hostTNode","native","getNativeByTNode","rendererFactory","componentView","addToEndOfViewTree","getInitialLViewFlagsFromDef","allocExpando","numSlotsToAlloc","initialValue","allocIdx","lViewOrLContainer","CHILD_HEAD","CHILD_TAIL","NEXT","ɵɵadvance","delta","selectIndexInternal","getTView","getLView","getSelectedIndex","index","checkNoChangesMode","preOrderCheckHooks","executeCheckHooks","preOrderHooks","executeInitAndCheckHooks","setSelectedIndex","InputFlags","writeToDirectiveInput","instance","publicName","value","prevConsumer","setActiveConsumer","privateName","transform","inputSignalNode","SIGNAL","applyValueToInputField","executeTemplate","rf","prevSelectedIndex","isUpdatePhase","profiler","createDirectivesInstancesInInstruction","getBindingsEnabled","attachPatchData","createDirectivesInstances","instantiateAllDirectives","invokeDirectivesHostBindings","saveResolvedLocalsInData","viewData","localRefExtractor","localNames","localIndex","locateHostElement","elementOrSelector","encapsulation","preserveContent","PRESERVE_HOST_CONTENT","PRESERVE_HOST_CONTENT_DEFAULT","ViewEncapsulation","rootElement","applyRootElementTransform","_applyRootElementTransformImpl","mapPropName","name","elementPropertyInternal","tView","tNode","lView","propName","value","renderer","sanitizer","nativeOnly","inputData","dataValue","setInputsForProperty","isComponentHost","markDirtyIfOnPush","element","getNativeByTNode","viewIndex","childComponentLView","getComponentLViewByIndex","FLAGS","instantiateAllDirectives","tView","lView","tNode","start","end","isComponentHost","createComponentLView","getOrCreateNodeInjectorForNode","initialInputs","i","def","directive","getNodeInjectable","attachPatchData","setInputsFromAttrs","isComponentDef","componentView","getComponentLViewByIndex","CONTEXT","invokeDirectivesHostBindings","elementIndex","currentDirectiveIndex","getCurrentDirectiveIndex","setSelectedIndex","dirIndex","setCurrentDirectiveIndex","invokeHostBindingsInCreationMode","findDirectiveDefMatches","registry","matches","isNodeMatchingSelectorList","elementAttributeInternal","name","value","sanitizer","namespace","element","getNativeByTNode","setElementAttribute","RENDERER","renderer","tagName","strValue","renderStringify","directiveIndex","instance","initialInputData","lookupName","writeToDirectiveInput","loadComponentRenderer","currentDef","tNode","lView","isComponentDef","unwrapLView","RENDERER","handleError","error","injector","INJECTOR","errorHandler","ErrorHandler","setInputsForProperty","tView","inputs","publicName","value","i","index","privateName","instance","def","writeToDirectiveInput","renderComponent","hostLView","componentHostIdx","componentView","getComponentLViewByIndex","componentTView","TVIEW","syncViewWithBlueprint","hostRNode","HOST","HYDRATION","retrieveHydrationInfo","renderView","CONTEXT","context","enterView","viewQuery","executeViewQueryFn","templateFn","executeTemplate","QUERIES","refreshContentQueries","components","renderChildComponents","FLAGS","leaveView","createAndRenderEmbeddedLView","declarationLView","templateTNode","options","prevConsumer","setActiveConsumer","embeddedTView","viewFlags","embeddedLView","createLView","declarationLContainer","DECLARATION_LCONTAINER","declarationViewLQueries","shouldAddViewToDom","dehydratedView","hasInSkipHydrationBlockFlag","_icuContainerIterate","icuContainerIterate","tIcuContainerNode","RendererStyleFlags2","isDetachedByI18n","tNode","applyToElementOrContainer","action","renderer","parent","lNodeToHandle","beforeNode","lContainer","isComponent","isLContainer","isLView","HOST","rNode","unwrapRNode","nativeAppendChild","nativeInsertBefore","nativeRemoveNode","applyContainer","removeViewFromDOM","tView","lView","detachViewFromDOM","T_HOST","addViewToDOM","parentTNode","parentNativeNode","applyView","ENVIRONMENT","RENDERER","destroyViewTree","rootView","lViewOrLContainer","CHILD_HEAD","cleanUpView","TVIEW","next","firstView","CONTAINER_HEADER_OFFSET","NEXT","PARENT","detachMovedView","declarationContainer","movedViews","MOVED_VIEWS","declarationViewIndex","destroyLView","isDestroyed","prevConsumer","setActiveConsumer","FLAGS","REACTIVE_TEMPLATE_CONSUMER","consumerDestroy","executeOnDestroys","processCleanups","DECLARATION_LCONTAINER","lQueries","QUERIES","unregisterLView","tCleanup","lCleanup","CLEANUP","i","targetIdx","context","destroyHooks","ON_DESTROY_HOOKS","destroyHooksFn","effects","EFFECTS","effect","NodeInjectorFactory","toCall","j","callContext","hook","profiler","getParentRElement","getClosestRElement","isComponentHost","encapsulation","ViewEncapsulation","getNativeByTNode","getInsertInFrontOfRNode","currentTNode","_getInsertInFrontOfRNodeWithI18n","getInsertInFrontOfRNodeWithNoI18n","_processI18nInsertBefore","appendChild","tView","lView","childRNode","childTNode","parentRNode","getParentRElement","renderer","RENDERER","parentTNode","T_HOST","anchorNode","getInsertInFrontOfRNode","i","nativeAppendOrInsertBefore","_processI18nInsertBefore","getFirstNativeNode","tNode","tNodeType","getNativeByTNode","getBeforeNodeForView","elIcuContainerChild","rNodeOrLContainer","isLContainer","unwrapRNode","icuContainerIterate","projectionNodes","getProjectionNodes","parentView","getLViewParent","DECLARATION_COMPONENT_VIEW","componentHost","slotIdx","viewIndexInContainer","lContainer","nextViewIndex","CONTAINER_HEADER_OFFSET","firstTNodeOfView","TVIEW","NATIVE","applyNodes","action","parentRElement","beforeNode","isProjection","rawSlotValue","attachPatchData","isDetachedByI18n","applyToElementOrContainer","nextRNode","rNode","applyProjectionRecursive","applyView","applyProjection","tProjectionNode","componentLView","nodeToProjectOrRNodes","nodeToProject","projectedComponentLView","PARENT","hasInSkipHydrationBlockFlag","applyContainer","anchor","native","applyStyling","isClassBased","prop","value","flags","RendererStyleFlags2","collectNativeNodes","result","lNode","collectNativeNodesInLContainer","nodesInSlot","lViewInAContainer","lViewFirstChildTNode","HOST","freeConsumers","getOrBorrowReactiveLViewConsumer","REACTIVE_TEMPLATE_CONSUMER","borrowReactiveLViewConsumer","consumer","REACTIVE_LVIEW_CONSUMER_NODE","maybeReturnReactiveLViewConsumer","__spreadProps","__spreadValues","REACTIVE_NODE","node","markAncestorsForTraversal","getOrCreateTemporaryConsumer","TEMPORARY_CONSUMER_NODE","parent","viewShouldHaveReactiveConsumer","markViewForRefresh","runEffectsInView","view","EFFECTS","tryFlushEffects","foundDirtyEffect","effect","FLAGS","MAXIMUM_REFRESH_RERUNS$1","detectChangesInternal","notifyErrorHandler","mode","rendererFactory","ENVIRONMENT","checkNoChangesMode","detectChangesInViewWhileDirty","error","handleError","lastIsRefreshingViewsValue","isRefreshingViews","setIsRefreshingViews","detectChangesInView","retries","requiresRefreshOrTraversal","RuntimeError","refreshView","tView","lView","templateFn","context","isDestroyed","flags","FLAGS","isInCheckNoChangesPass","isInExhaustiveCheckNoChangesPass","enterView","returnConsumerToPool","prevConsumer","currentConsumer","viewShouldHaveReactiveConsumer","getOrBorrowReactiveLViewConsumer","consumerBeforeComputation","getActiveConsumer","getOrCreateTemporaryConsumer","REACTIVE_TEMPLATE_CONSUMER","consumerDestroy","resetPreOrderHookFlags","setBindingIndex","executeTemplate","hooksInitPhaseCompleted","preOrderCheckHooks","executeCheckHooks","preOrderHooks","executeInitAndCheckHooks","incrementInitPhaseFlags","markTransplantedViewsForRefresh","runEffectsInView","detectChangesInEmbeddedViews","refreshContentQueries","contentCheckHooks","contentHooks","processHostBindingOpCodes","components","detectChangesInChildComponents","viewQuery","executeViewQueryFn","viewCheckHooks","viewHooks","EFFECTS_TO_SCHEDULE","notifyEffect","e","markAncestorsForTraversal","consumerAfterComputation","maybeReturnReactiveLViewConsumer","leaveView","mode","lContainer","getFirstLContainer","getNextLContainer","i","CONTAINER_HEADER_OFFSET","embeddedLView","detectChangesInViewIfAttached","movedViews","MOVED_VIEWS","movedLView","markViewForRefresh","detectChangesInComponent","hostLView","componentHostIdx","componentView","getComponentLViewByIndex","viewAttachedToChangeDetector","detectChangesInView","TVIEW","consumer","shouldRefreshView","consumerPollProducersForChange","CONTEXT","hostBindingOpCodes","opCode","setSelectedIndex","directiveIdx","bindingRootIndx","hostBindingFn","setBindingRootForHostBindings","profiler","markViewDirty","source","dirtyBitsToUse","isRefreshingViews","ENVIRONMENT","parent","getLViewParent","isRootView","createLContainer","hostNative","currentView","native","tNode","getLViewFromLContainer","index","adjustedIndex","addLViewToLContainer","addToDOM","insertView","beforeNode","getBeforeNodeForView","renderer","RENDERER","parentRNode","NATIVE","addViewToDOM","T_HOST","hydrationInfo","HYDRATION","removeLViewFromLContainer","detachView","destroyLView","removeIndex","indexInContainer","viewToDetach","declarationLContainer","DECLARATION_LCONTAINER","detachMovedView","NEXT","removedLView","removeFromArray","removeViewFromDOM","lQueries","QUERIES","PARENT","containerLength","addToArray","trackMovedView","updateAncestorTraversalFlagsOnAttach","declarationContainer","isLView","insertedComponentLView","DECLARATION_COMPONENT_VIEW","ViewRef$1","collectNativeNodes","_lView","_cdRefInjectingView","notifyErrorHandler","value","isLContainer","viewRefs","VIEW_REFS","callback","storeLViewOnDestroy","detectChangesInternal","RuntimeError","isRoot","detachViewFromDOM","appRef","TemplateRef","injectTemplateRef","ViewEngineTemplateRef","R3TemplateRef","_declarationLView","_declarationTContainer","elementRef","injector","dehydratedView","createAndRenderEmbeddedLView","createTemplateRef","getCurrentTNode","getLView","hostTNode","createElementRef","getOrCreateTNode","tView","index","type","name","attrs","tNode","createTNodeAtIndex","isInI18nBlock","parent","getCurrentParentTNode","setCurrentTNode","currentTNode","getCurrentTNodePlaceholderOk","isParent","isCurrentTNodeParent","createTNode","linkTNodeInTView","tParent","value","injectorIndex","flags","isInSkipHydrationBlock$1","REF_EXTRACTOR_REGEXP","REFERENCE_NODE_BODY","REFERENCE_NODE_HOST","_findMatchingDehydratedViewImpl","findMatchingDehydratedView","lContainer","template","_findMatchingDehydratedViewImpl","ComponentRef$1","ComponentFactory$1","_NullComponentFactoryResolver","component","stringify","ComponentFactoryResolver$1","RendererFactory2","Renderer2","injectRenderer2","lView","getLView","tNode","getCurrentTNode","nodeAtIndex","getComponentLViewByIndex","isLView","RENDERER","Sanitizer","ɵɵdefineInjectable","computeStaticStyling","tNode","attrs","writeToHost","styles","classes","mode","i","value","concatStringsWithSpace","style","styleValue","ɵɵdirectiveInject","token","flags","InjectFlags","lView","getLView","ɵɵinject","getCurrentTNode","getOrCreateInjectable","resolveForwardRef","ɵɵinvalidFactory","msg","resolveDirectives","tView","localRefs","directiveMatcher","exportsMap","matchedDirectiveDefs","directiveDefs","hostDirectiveDefs","resolveHostDirectives","initializeDirectives","cacheMatchingLocalNames","localNames","index","RuntimeError","matches","allDirectiveDefs","def","isComponentDef","markAsComponentHost","isComponentHost","hostTNode","componentOffset","directives","diPublicInInjector","getOrCreateNodeInjectorForNode","initTNodeFlags","preOrderHooksFound","preOrderCheckHooksFound","directiveIdx","allocExpando","mergeHostAttrs","configureViewWithDirective","saveNameToExportMap","lifeCycleHooks","initializeInputAndOutputAliases","hostDirectiveDefinitionMap","start","end","tViewData","tNodeAttrs","inputsFromAttrs","inputsStore","outputsStore","directiveIndex","directiveDef","aliasData","aliasedInputs","aliasedOutputs","captureNodeBindings","initialInputs","isInlineTemplate","generateInitialInputs","aliasMap","bindingsResult","hostDirectiveAliasMap","publicName","finalPublicName","addPropertyBinding","bindings","lookupName","inputs","inputsToStore","attrName","inputConfig","j","directiveFactory","getFactoryDef","nodeInjectorFactory","NodeInjectorFactory","registerHostBindingOpCodes","NO_CHANGE","directiveVarsIdx","hostBindings","hostBindingOpCodes","elementIndx","lastSelectedElementIdx","numberOfDirectives","elementStartFirstCreatePass","index","tView","lView","name","directiveMatcher","bindingsEnabled","attrsIndex","localRefsIndex","tViewConsts","attrs","getConstant","tNode","getOrCreateTNode","resolveDirectives","mergeHostAttrs","computeStaticStyling","elementEndFirstCreatePass","registerPostOrderHooks","isContentQueryHost","ComponentFactoryResolver","ComponentFactoryResolver$1","ngModule","component","componentDef","getComponentDef","ComponentFactory","toInputRefArray","map","propName","flags","transform","inputData","InputFlags","toOutputRefArray","createRootViewInjector","componentDef","environmentInjector","injector","realEnvironmentInjector","EnvironmentInjector","ChainedInjector","createRootLViewEnvironment","rootLViewInjector","rendererFactory","RendererFactory2","RuntimeError","sanitizer","Sanitizer","changeDetectionScheduler","ChangeDetectionScheduler","createHostElement","render","tagName","createElementNode","SVG_NAMESPACE","MATH_ML_NAMESPACE","ComponentFactory","ComponentFactory$1","toInputRefArray","toOutputRefArray","ngModule","stringifyCSSSelectorList","projectableNodes","rootSelectorOrNode","prevConsumer","setActiveConsumer","cmpDef","tAttributes","extractAttrsAndClassesFromSelector","rootTView","createTView","rootViewInjector","environment","hostRenderer","hostElement","locateHostElement","rootLView","createLView","getInitialLViewFlagsFromDef","retrieveHydrationInfo","HEADER_OFFSET","enterView","componentView","hostTNode","elementStartFirstCreatePass","setupStaticAttributes","attachPatchData","createDirectivesInstances","executeContentQueries","elementEndFirstCreatePass","projectNodes","getComponentLViewByIndex","CONTEXT","renderView","e","unregisterLView","leaveView","ComponentRef","ComponentRef$1","componentType","_rootLView","getTNode","TVIEW","createElementRef","ViewRef$1","name","value","inputData","dataValue","lView","setInputsForProperty","childComponentLView","markViewDirty","NodeInjector","callback","tNode","ngContentSelectors","projection","nodesforSlot","ViewContainerRef","injectViewContainerRef","previousTNode","getCurrentTNode","createContainerRef","getLView","VE_ViewContainerRef","R3ViewContainerRef","_lContainer","_hostTNode","_hostLView","parentLocation","getParentInjectorLocation","hasParentInjector","parentView","getParentInjectorView","injectorIndex","getParentInjectorIndex","parentTNode","index","viewRefs","getViewRefs","CONTAINER_HEADER_OFFSET","templateRef","context","indexOrOptions","dehydratedView","findMatchingDehydratedView","viewRef","shouldAddViewToDom","componentFactoryOrType","isComponentFactory","isType","options","componentFactory","getComponentDef","contextInjector","result","rNode","componentRef","addToDOM","viewAttachedToContainer","prevIdx","prevLContainer","PARENT","prevVCRef","T_HOST","adjustedIdx","lContainer","addLViewToLContainer","addToArray","getOrCreateViewRefs","newIndex","viewRefsArr","detachedView","detachView","removeFromArray","destroyLView","view","shift","VIEW_REFS","hostLView","slotValue","isLContainer","createLContainer","addToEndOfViewTree","_locateOrCreateAnchorNode","insertAnchorNode","renderer","RENDERER","commentNode","hostNative","getNativeByTNode","parentOfHostNative","nativeInsertBefore","createAnchorNode","_populateDehydratedViewsInLContainer","populateDehydratedViewsInLContainer","NATIVE","unwrapRNode","LQuery_","_LQuery_","queryList","LQueries_","_LQueries_","queries","tView","tQueries","noOfInheritedQueries","viewLQueries","i","tQuery","parentLQuery","getTQuery","TQueryMetadata_","predicate","flags","read","splitQueryMultiSelectors","TQueries_","_TQueries_","tNode","queriesForTemplateRef","childQueryIndex","tqueryClone","index","tquery","TQuery_","_TQuery_","metadata","nodeIndex","declarationNodeIdx","parent","name","getIdxOfMatchingSelector","locateDirectiveOrProvider","TemplateRef","nodeMatchIdx","ElementRef","ViewContainerRef","directiveOrProviderIdx","tNodeIdx","matchIdx","selector","localNames","createResultByTNodeType","currentView","createElementRef","createTemplateRef","createResultForNode","lView","matchingIdx","createSpecialToken","getNodeInjectable","TVIEW","createContainerRef","materializeViewResults","queryIndex","lQuery","QUERIES","tViewData","tQueryMatches","result","matchedNodeIdx","collectQueryResults","lViewResults","declarationLContainer","CONTAINER_HEADER_OFFSET","embeddedLView","DECLARATION_LCONTAINER","PARENT","MOVED_VIEWS","embeddedLViews","loadQueryInternal","createLQuery","QueryList","storeCleanupWithContext","createViewQuery","getTView","createTQuery","getLView","createContentQuery","directiveIndex","getCurrentTNode","saveContentQueryAndDirectiveIndex","locator","s","tViewContentQueries","lastSavedDirectiveIndex","getQueryResults","createQuerySignalFn","firstOnly","required","opts","node","signalFn","createComputed","value","refreshSignalQuery","RuntimeError","SIGNAL","signal","createSingleResultOptionalQuerySignalFn","createSingleResultRequiredQuerySignalFn","bindQueryToSignal","target","queryIndex","node","SIGNAL","getLView","loadQueryInternal","v","refreshSignalQuery","firstOnly","lView","FLAGS","EMPTY_ARRAY","queryList","results","getQueryResults","unwrapElementRef","viewChildFn","locator","opts","createSingleResultOptionalQuerySignalFn","viewChildRequiredFn","createSingleResultRequiredQuerySignalFn","viewChild","contentChildFn","locator","opts","createSingleResultOptionalQuerySignalFn","contentChildRequiredFn","createSingleResultRequiredQuerySignalFn","contentChild","NgModuleRef$1","NgModuleFactory$1","NgModuleRef","NgModuleRef$1","ComponentFactoryResolver","ngModuleType","_parent","additionalProviders","runInjectorInitializers","ngModuleDef","getNgModuleDef","maybeUnwrapFn","createInjectorWithoutInjectorInstances","ComponentFactoryResolver$1","stringify","injector","fn","callback","NgModuleFactory","NgModuleFactory$1","moduleType","parentInjector","EnvironmentNgModuleRefAdapter","NgModuleRef$1","ComponentFactoryResolver","config","injector","R3Injector","ComponentFactoryResolver$1","getNullInjector","callback","createEnvironmentInjector","providers","parent","debugName","StandaloneService","_injector","componentDef","internalImportProvidersFrom","standaloneInjector","ɵɵdefineInjectable","ɵɵinject","EnvironmentInjector","ɵɵdefineComponent","componentDefinition","noSideEffects","baseDef","getNgDirectiveDef","def","__spreadProps","__spreadValues","ChangeDetectionStrategy","parentInjector","ViewEncapsulation","EMPTY_ARRAY","performanceMarkFeature","initFeatures","dependencies","extractDefListOrFactory","getComponentId","extractDirectiveDef","type","getComponentDef","getDirectiveDef","nonNull","value","ɵɵdefineNgModule","parseAndConvertInputsForDefinition","obj","declaredInputs","EMPTY_OBJ","newLookup","minifiedKey","publicName","declaredName","inputFlags","transform","InputFlags","parseAndConvertOutputsForDefinition","ɵɵdefineDirective","directiveDefinition","ɵɵdefinePipe","pipeDef","definition","fn","defExtractor","getPipeDef$1","dep","getComponentId","componentDef","hash","componentDefConsts","hashSelectors","char","getSuperType","type","ɵɵInheritDefinitionFeature","definition","superType","shouldInheritFields","inheritanceChain","superDef","isComponentDef","RuntimeError","writeableDef","maybeUnwrapEmpty","superHostBindings","inheritHostBindings","superViewQuery","superContentQueries","inheritViewQuery","inheritContentQueries","mergeInputsWithTransforms","fillProperties","defData","features","i","feature","mergeHostAttrsAcrossInheritance","target","source","key","value","hostVars","hostAttrs","def","mergeHostAttrs","EMPTY_OBJ","EMPTY_ARRAY","prevViewQuery","rf","ctx","prevContentQueries","directiveIndex","prevHostBindings","ɵɵHostDirectivesFeature","rawHostDirectives","feature","definition","isEager","findHostDirectiveDefs","createHostDirectiveDef","currentDef","matchedDefs","hostDirectiveDefs","configOrFn","resolved","config","trackHostDirectiveDef","def","hostDirectiveDef","getDirectiveDef","patchDeclaredInputs","resolveForwardRef","EMPTY_OBJ","bindingArrayToMap","bindings","result","i","declaredInputs","exposedInputs","publicName","remappedPublicName","privateName","isListLikeIterable","obj","isJsObject","iterateListLike","obj","fn","i","iterator","item","isJsObject","o","updateBinding","lView","bindingIndex","value","getBinding","bindingUpdated","oldValue","bindingUpdated2","exp1","exp2","different","bindingUpdated3","exp3","templateFirstCreatePass","index","tView","lView","templateFn","decls","vars","tagName","attrs","localRefsIndex","tViewConsts","tNode","getOrCreateTNode","getBindingsEnabled","resolveDirectives","getConstant","findDirectiveDefMatches","mergeHostAttrs","registerPostOrderHooks","embeddedTView","createTView","declareTemplate","declarationLView","declarationTView","localRefExtractor","adjustedIndex","HEADER_OFFSET","setCurrentTNode","comment","_locateOrCreateContainerAnchor","wasLastNodeCreated","appendChild","attachPatchData","lContainer","createLContainer","addToEndOfViewTree","populateDehydratedViewsInLContainer","isDirectiveHost","createDirectivesInstancesInInstruction","saveResolvedLocalsInData","ɵɵtemplate","attrsIndex","getLView","getTView","createContainerAnchorImpl","lastNodeWasCreated","RENDERER","Console","message","__ngFactoryType__","ɵɵdefineInjectable","TESTABILITY","InjectionToken","TESTABILITY_GETTER","Testability","_ngZone","registry","testabilityGetter","_testabilityGetter","setTestabilityGetter","NgZone","cb","pending","t","timeout","updateCb","timeoutId","doneCb","token","using","provider","exactMatch","__ngFactoryType__","ɵɵinject","TestabilityRegistry","ɵɵdefineInjectable","testability","elem","findInAncestors","getter","isPromise","obj","isSubscribable","APP_INITIALIZER","provideAppInitializer","initializerFn","makeEnvironmentProviders","ApplicationInitStatus","res","rej","inject","Injector","asyncInitPromises","appInits","initResult","runInInjectionContext","observableAsPromise","resolve","reject","complete","e","EffectScheduler","ZoneAwareEffectScheduler","handle","zone","queue","APP_BOOTSTRAP_LISTENER","publishSignalConfiguration","setThrowInvalidWriteToSignalError","RuntimeError","isBoundToModule","cf","MAXIMUM_REFRESH_RERUNS","ApplicationRef","inject","INTERNAL_APPLICATION_ERROR_HANDLER","AfterRenderManager","ZONELESS_ENABLED","EffectScheduler","Subject","PendingTasksInternal","map","pending","TracingService","subscription","resolve","stable","EnvironmentInjector","componentOrFactory","rootSelectorOrNode","isComponentFactory","ComponentFactory$1","ApplicationInitStatus","standalone","isStandalone","errorMessage","RuntimeError","componentFactory","ComponentFactoryResolver$1","ngModule","isBoundToModule","NgModuleRef$1","selectorOrNode","compRef","Injector","nativeElement","testability","TESTABILITY","remove","snapshot","TracingAction","prevConsumer","setActiveConsumer","e","RendererFactory2","runs","MAXIMUM_REFRESH_RERUNS","useGlobalCheck","_lView","notifyErrorHandler","detectChangesInViewIfRequired","requiresRefreshOrTraversal","viewRef","view","componentRef","APP_BOOTSTRAP_LISTENER","listener","callback","injector","__ngFactoryType__","ɵɵdefineInjectable","remove","list","el","index","detectChangesInViewIfRequired","lView","notifyErrorHandler","isFirstPass","zonelessEnabled","requiresRefreshOrTraversal","detectChangesInternal","ɵɵattribute","name","value","sanitizer","namespace","lView","getLView","bindingIndex","nextBindingIndex","bindingUpdated","tView","getTView","tNode","getSelectedTNode","elementAttributeInternal","interpolation1","lView","prefix","v0","suffix","bindingUpdated","nextBindingIndex","renderStringify","NO_CHANGE","interpolation2","i0","v1","bindingIndex","getBindingIndex","different","bindingUpdated2","incrementBindingIndex","interpolation3","i1","v2","bindingUpdated3","ɵɵattributeInterpolate2","attrName","prefix","v0","i0","v1","suffix","sanitizer","namespace","lView","getLView","interpolatedValue","interpolation2","NO_CHANGE","tNode","getSelectedTNode","elementAttributeInternal","toTStylingRange","prev","next","getTStylingRangePrev","tStylingRange","getTStylingRangePrevDuplicate","setTStylingRangePrev","previous","setTStylingRangePrevDuplicate","getTStylingRangeNext","setTStylingRangeNext","getTStylingRangeNextDuplicate","setTStylingRangeNextDuplicate","insertTStylingBinding","tData","tNode","tStylingKeyWithStatic","index","isHostBinding","isClassBinding","tBindings","tmplHead","getTStylingRangePrev","tmplTail","getTStylingRangeNext","isKeyDuplicateOfStatic","tStylingKey","staticKeyValueArray","keyValueArrayIndexOf","previousNode","toTStylingRange","setTStylingRangeNext","setTStylingRangePrev","setTStylingRangePrevDuplicate","markDuplicates","markDuplicateOfResidualStyling","residual","setTStylingRangeNextDuplicate","isPrevDir","tStylingAtIndex","isMap","cursor","foundDuplicate","tStylingValueAtCursor","tStyleRangeAtCursor","isStylingMatch","tStylingKeyCursor","parserState","getLastParsedKey","text","getLastParsedValue","parseClassName","resetParserState","parseClassNameNext","consumeWhitespace","end","consumeClassToken","parseStyle","parseStyleNext","startIndex","consumeStyleKey","consumeSeparator","consumeStyleValue","endIndex","ch","separator","ch1","ch2","ch3","i","lastChIndex","consumeQuotedText","quoteCharCode","ɵɵproperty","propName","value","sanitizer","lView","getLView","bindingIndex","nextBindingIndex","bindingUpdated","tView","getTView","tNode","getSelectedTNode","elementPropertyInternal","RENDERER","setDirectiveInputsWhichShadowsStyling","isClassBased","inputs","property","setInputsForProperty","ɵɵstyleProp","prop","suffix","checkStylingProperty","ɵɵclassProp","className","ɵɵstyleMap","styles","checkStylingMap","styleKeyValueArraySet","styleStringParser","keyValueArray","text","i","parseStyle","parseStyleNext","getLastParsedKey","getLastParsedValue","ɵɵclassMap","classes","classKeyValueArraySet","classStringParser","parseClassName","parseClassNameNext","keyValueArraySet","incrementBindingIndex","stylingFirstUpdatePass","NO_CHANGE","getSelectedIndex","updateStyling","normalizeSuffix","stringParser","hasStylingInputShadow","isInHostBindings","staticPrefix","concatStringsWithSpace","updateStylingMap","toStylingKeyValueArray","tStylingKey","tData","isHostBindings","wrapInStaticStylingKey","insertTStylingBinding","stylingKey","hostDirectiveDef","getCurrentDirectiveDef","residual","collectStylingFromDirectives","collectStylingFromTAttrs","directiveStylingLast","templateStylingKey","getTemplateHeadTStylingKey","setTemplateHeadTStylingKey","collectResidual","bindings","getTStylingRangeNext","getTStylingRangePrev","directiveEnd","attrs","currentDirective","desiredMarker","currentMarker","item","EMPTY_ARRAY","styleKeyValueArray","unwrappedValue","unwrapSafeValue","key","stringKey","renderer","oldKeyValueArray","newKeyValueArray","oldIndex","newIndex","oldKey","newKey","oldValue","newValue","setKey","setValue","tRange","higherPriorityValue","getTStylingRangeNextDuplicate","findStylingValue","isStylingValuePresent","getTStylingRangePrevDuplicate","rNode","getNativeByIndex","applyStyling","index","isPrevDirection","rawKey","containsStatics","isStylingMap","valueAtLViewIndex","currentValue","keyValueArrayGet","stringify","ɵɵclassMapInterpolate1","prefix","v0","interpolatedValue","interpolation1","ɵɵclassMapInterpolate2","i0","v1","interpolation2","LiveCollection","item","index","value","index1","index2","startIdx","endIdx","endItem","startItem","prevIndex","newIdx","valuesMatching","liveIdx","liveValue","newValue","trackBy","reconcile","liveCollection","newCollection","trackByFn","detachedItems","liveKeysInTheFuture","liveStartIdx","liveEndIdx","duplicateKeys","newEndIdx","liveStartValue","newStartValue","isStartMatching","valuesMatching","liveEndValue","newEndValue","isEndMatching","liveStartKey","liveEndKey","newStartKey","newEndKey","UniqueValueMultiKeyMap","initLiveItemsInTheFuture","attachPreviouslyDetached","newItem","createOrAttach","newCollectionIterator","newIterationResult","liveValue","newValue","newKey","liveKey","item","prevCollection","index","key","value","start","end","keys","i","prevValue","vMap","cb","ɵɵconditional","matchingTemplateIndex","contextValue","performanceMarkFeature","hostLView","getLView","bindingIndex","nextBindingIndex","prevMatchingTemplateIndex","NO_CHANGE","prevContainer","getLContainer","HEADER_OFFSET","viewInContainerIdx","bindingUpdated","prevConsumer","setActiveConsumer","removeLViewFromLContainer","nextLContainerIndex","nextContainer","templateTNode","getExistingTNode","TVIEW","dehydratedView","findMatchingDehydratedView","embeddedLView","createAndRenderEmbeddedLView","addLViewToLContainer","shouldAddViewToDom","lView","getLViewFromLContainer","CONTEXT","RepeaterContext","lContainer","$implicit","$index","CONTAINER_HEADER_OFFSET","ɵɵrepeaterTrackByIdentity","_","value","RepeaterMetadata","hasEmptyBlock","trackByFn","liveCollection","ɵɵrepeaterCreate","index","templateFn","decls","vars","tagName","attrsIndex","trackByUsesComponentInstance","emptyTemplateFn","emptyDecls","emptyVars","emptyTagName","emptyAttrsIndex","performanceMarkFeature","lView","getLView","tView","getTView","hostLView","boundTrackBy","DECLARATION_COMPONENT_VIEW","CONTEXT","metadata","HEADER_OFFSET","declareTemplate","getConstant","LiveCollectionLContainerImpl","LiveCollection","lContainer","hostLView","templateTNode","CONTAINER_HEADER_OFFSET","index","CONTEXT","lView","dehydratedView","HYDRATION","addLViewToLContainer","shouldAddViewToDom","detachExistingView","value","findMatchingDehydratedView","embeddedLView","createAndRenderEmbeddedLView","RepeaterContext","destroyLView","TVIEW","i","getExistingLViewFromLContainer","ɵɵrepeater","collection","prevConsumer","setActiveConsumer","metadataSlotIdx","getSelectedIndex","getLView","hostTView","metadata","containerIndex","getLContainer","itemTemplateTNode","getExistingTNode","liveCollection","reconcile","bindingIndex","nextBindingIndex","isCollectionEmpty","bindingUpdated","emptyTemplateIndex","lContainerForEmpty","emptyTemplateTNode","removeLViewFromLContainer","detachView","getLViewFromLContainer","tView","getTNode","ɵɵelementStart","name","attrsIndex","localRefsIndex","getTView","adjustedIndex","HEADER_OFFSET","renderer","RENDERER","tNode","elementStartFirstCreatePass","findDirectiveDefMatches","getBindingsEnabled","native","_locateOrCreateElementNode","hasDirectives","isDirectiveHost","setCurrentTNode","setupStaticAttributes","isDetachedByI18n","wasLastNodeCreated","appendChild","getElementDepthCount","attachPatchData","increaseElementDepthCount","createDirectivesInstancesInInstruction","executeContentQueries","saveResolvedLocalsInData","ɵɵelementEnd","currentTNode","getCurrentTNode","isCurrentTNodeParent","setCurrentTNodeAsNotParent","isSkipHydrationRootTNode","leaveSkipHydrationBlock","decreaseElementDepthCount","elementEndFirstCreatePass","hasClassInput","setDirectiveInputsWhichShadowsStyling","hasStyleInput","ɵɵelement","lastNodeWasCreated","createElementNode","getNamespace","elementContainerStartFirstCreatePass","index","tView","lView","attrsIndex","localRefsIndex","tViewConsts","attrs","getConstant","tNode","getOrCreateTNode","computeStaticStyling","localRefs","getBindingsEnabled","resolveDirectives","findDirectiveDefMatches","mergeHostAttrs","ɵɵelementContainerStart","getLView","getTView","adjustedIndex","HEADER_OFFSET","setCurrentTNode","comment","_locateOrCreateElementContainerNode","wasLastNodeCreated","appendChild","attachPatchData","isDirectiveHost","createDirectivesInstancesInInstruction","executeContentQueries","saveResolvedLocalsInData","ɵɵelementContainerEnd","currentTNode","getCurrentTNode","isCurrentTNodeParent","setCurrentTNodeAsNotParent","registerPostOrderHooks","isContentQueryHost","ɵɵelementContainer","lastNodeWasCreated","createCommentNode","RENDERER","ɵɵgetCurrentView","getLView","ɵɵhostProperty","propName","value","sanitizer","lView","bindingIndex","nextBindingIndex","bindingUpdated","tView","getTView","tNode","getSelectedTNode","elementPropertyInternal","RENDERER","ɵɵsyntheticHostProperty","currentDef","getCurrentDirectiveDef","renderer","loadComponentRenderer","u","plural","val","i","v","localeEn","LOCALE_DATA","findLocaleData","locale","normalizedLocale","normalizeLocale","match","getLocaleData","parentLocale","localeEn","RuntimeError","getLocaleData","normalizedLocale","LOCALE_DATA","_global","LocaleDataIndex","normalizeLocale","locale","DEFAULT_LOCALE_ID","USD_CURRENCY_CODE","LOCALE_ID$1","DEFAULT_LOCALE_ID","setLocaleId","localeId","stashEventListener","el","eventName","listenerFn","ɵɵlistener","eventName","listenerFn","useCapture","eventTargetResolver","lView","getLView","tView","getTView","tNode","getCurrentTNode","listenerInternal","RENDERER","ɵɵsyntheticHostListener","currentDef","getCurrentDirectiveDef","renderer","loadComponentRenderer","findExistingListener","tNodeIdx","tCleanup","i","cleanupEventName","lCleanup","CLEANUP","listenerIdxInLCleanup","isTNodeDirectiveHost","isDirectiveHost","getOrCreateTViewCleanup","context","CONTEXT","getOrCreateLViewCleanup","processOutputs","native","getNativeByTNode","target","lCleanupIndex","idxOrTargetGetter","_lView","unwrapRNode","existingListener","lastListenerFn","wrapListener","stashEventListener","cleanupFn","outputs","props","propsLength","index","minifiedName","subscription","idx","executeListenerWithErrorHandling","e","prevConsumer","setActiveConsumer","profiler","error","handleError","wrapListenerIn_markDirtyAndPreventDefault","startView","isComponentHost","getComponentLViewByIndex","markViewDirty","result","nextListenerFn","ɵɵnextContext","level","nextContextImpl","matchingProjectionSlotIndex","tNode","projectionSlots","wildcardNgContentIndex","ngProjectAsAttrVal","getProjectAsAttrValue","slotValue","isNodeMatchingSelectorList","isSelectorInSelectorList","ɵɵprojectionDef","componentNode","getLView","DECLARATION_COMPONENT_VIEW","T_HOST","numProjectionSlots","projectionHeads","newArray","tails","componentChild","slotIndex","ɵɵprojection","nodeIndex","selectorIndex","attrs","fallbackTemplateFn","fallbackDecls","fallbackVars","lView","tView","getTView","fallbackIndex","declareTemplate","tProjectionNode","getOrCreateTNode","HEADER_OFFSET","setCurrentTNodeAsNotParent","isNodeCreationMode","HYDRATION","isInSkipHydrationBlock$1","insertFallbackContent","isDetachedByI18n","applyProjection","adjustedIndex","fallbackTNode","fallbackLContainer","dehydratedView","findMatchingDehydratedView","fallbackLView","createAndRenderEmbeddedLView","addLViewToLContainer","shouldAddViewToDom","ɵɵpropertyInterpolate","propName","v0","sanitizer","ɵɵpropertyInterpolate1","prefix","suffix","interpolatedValue","interpolation1","NO_CHANGE","getSelectedTNode","elementPropertyInternal","RENDERER","ɵɵpropertyInterpolate2","i0","v1","interpolation2","ɵɵcontentQuery","directiveIndex","predicate","flags","read","createContentQuery","ɵɵviewQuery","createViewQuery","ɵɵqueryRefresh","queryList","lView","getLView","tView","getTView","queryIndex","getCurrentQueryIndex","setCurrentQueryIndex","tQuery","getTQuery","isCreationMode","result","getQueryResults","unwrapElementRef","ɵɵloadQuery","loadQueryInternal","ɵɵcontentQuerySignal","target","bindQueryToSignal","ɵɵviewQuerySignal","ɵɵqueryAdvance","indexOffset","store","index","value","ɵɵreference","contextLView","getContextLView","load","HEADER_OFFSET","ɵɵstyleMapInterpolate1","prefix","v0","suffix","interpolatedValue","interpolation1","ɵɵstyleMap","ɵɵtext","index","value","lView","getLView","tView","getTView","adjustedIndex","HEADER_OFFSET","tNode","getOrCreateTNode","textNative","_locateOrCreateTextNode","wasLastNodeCreated","appendChild","setCurrentTNode","lastNodeWasCreated","createTextNode","RENDERER","ɵɵtextInterpolate","v0","ɵɵtextInterpolate1","prefix","suffix","lView","getLView","interpolated","interpolation1","NO_CHANGE","textBindingInternal","getSelectedIndex","ɵɵtextInterpolate2","i0","v1","interpolation2","ɵɵtextInterpolate3","i1","v2","interpolation3","textBindingInternal","lView","index","value","element","getNativeByIndex","updateTextNode","RENDERER","ɵɵtwoWayProperty","propName","sanitizer","isWritableSignal","getLView","bindingIndex","nextBindingIndex","bindingUpdated","tView","getTView","tNode","getSelectedTNode","elementPropertyInternal","ɵɵtwoWayBindingSet","target","canWrite","ɵɵtwoWayListener","eventName","listenerFn","getCurrentTNode","listenerInternal","providersResolver","def","providers","viewProviders","tView","getTView","isComponent","isComponentDef","resolveProvider","provider","tInjectables","lInjectablesBlueprint","isViewProvider","resolveForwardRef","i","lView","getLView","tNode","getCurrentTNode","token","isTypeProvider","providerFactory","providerToFactory","beginIndex","endIndex","cptViewProvidersCount","factory","NodeInjectorFactory","ɵɵdirectiveInject","existingFactoryIndex","indexOf","diPublicInInjector","getOrCreateNodeInjectorForNode","registerDestroyHooksIfSupported","existingProvidersFactoryIndex","existingViewProvidersFactoryIndex","doesProvidersFactoryExist","doesViewProvidersFactoryExist","multiFactory","multiViewProvidersFactoryResolver","multiProvidersFactoryResolver","indexInFactory","multiFactoryAdd","contextIndex","providerIsTypeProvider","providerIsClassProvider","isClassProvider","ngOnDestroy","hooks","existingCallbacksIndex","isComponentProvider","item","arr","begin","end","_","tData","lData","multiResolve","factories","result","componentCount","multiProviders","getNodeInjectable","TVIEW","factoryFn","index","f","ɵɵProvidersFeature","definition","processProvidersFn","ɵɵpureFunction0","slotOffset","pureFn","thisArg","bindingIndex","getBindingRoot","lView","getLView","NO_CHANGE","updateBinding","getBinding","ɵɵpureFunction1","exp","pureFunction1Internal","ɵɵpureFunction2","exp1","exp2","pureFunction2Internal","ɵɵpureFunction3","exp3","pureFunction3Internal","getPureFunctionReturnValue","lView","returnValueIndex","lastReturnValue","NO_CHANGE","pureFunction1Internal","bindingRoot","slotOffset","pureFn","exp","thisArg","bindingIndex","bindingUpdated","updateBinding","pureFunction2Internal","exp1","exp2","bindingUpdated2","pureFunction3Internal","exp3","bindingUpdated3","ɵɵpipe","index","pipeName","tView","getTView","pipeDef","adjustedIndex","HEADER_OFFSET","getPipeDef","pipeFactory","getFactoryDef","previousInjectorProfilerContext","previousInjectImplementation","setInjectImplementation","ɵɵdirectiveInject","previousIncludeViewProviders","setIncludeViewProviders","pipeInstance","store","getLView","name","registry","i","ɵɵpipeBind1","index","offset","v1","adjustedIndex","HEADER_OFFSET","lView","getLView","pipeInstance","load","isPure","pureFunction1Internal","getBindingRoot","ɵɵpipeBind2","slotOffset","v2","pureFunction2Internal","isPure","lView","index","TVIEW","ɵɵtemplateRefExtractor","tNode","createTemplateRef","ModuleWithComponentFactories","ngModuleFactory","componentFactories","Compiler","moduleType","NgModuleFactory","moduleDef","getNgModuleDef","maybeUnwrapFn","factories","declaration","componentDef","getComponentDef","ComponentFactory","type","__ngFactoryType__","ɵɵdefineInjectable","NgZoneChangeDetectionScheduler","inject","NgZone","ChangeDetectionScheduler","ApplicationRef","__ngFactoryType__","ɵɵdefineInjectable","internalProvideZoneChangeDetection","ngZoneFactory","ignoreChangesOutsideZone","scheduleInRootZone","NgZone","__spreadProps","__spreadValues","getNgZoneOptions","ENVIRONMENT_INITIALIZER","ngZoneChangeDetectionScheduler","inject","NgZoneChangeDetectionScheduler","service","ZoneStablePendingTask","ZONELESS_SCHEDULER_DISABLED","SCHEDULE_IN_ROOT_ZONE","SCHEDULE_IN_ROOT_ZONE_DEFAULT","getNgZoneOptions","options","ZoneStablePendingTask","Subscription","inject","NgZone","PendingTasksInternal","task","__ngFactoryType__","ɵɵdefineInjectable","ChangeDetectionSchedulerImpl","inject","ApplicationRef","PendingTasksInternal","NgZone","ZONELESS_ENABLED","TracingService","ZONELESS_SCHEDULER_DISABLED","Subscription","angularZoneInstanceIdProperty","SCHEDULE_IN_ROOT_ZONE","NoopNgZone","source","force","scheduleCallback","scheduleCallbackWithMicrotask","scheduleCallbackWithRafRace","task","e","taskId","__ngFactoryType__","ɵɵdefineInjectable","getGlobalLocale","DEFAULT_LOCALE_ID","LOCALE_ID","InjectionToken","inject","InjectFlags","DEFAULT_CURRENCY_CODE","USD_CURRENCY_CODE","PLATFORM_DESTROY_LISTENERS","InjectionToken","ENABLE_ROOT_COMPONENT_BOOTSTRAP","isApplicationBootstrapConfig","config","bootstrap","envInjector","ngZone","NgZone","exceptionHandler","ErrorHandler","onErrorSubscription","error","destroyListener","onPlatformDestroyListeners","remove","_callAndReportToErrorHandler","initStatus","ApplicationInitStatus","localeId","LOCALE_ID","DEFAULT_LOCALE_ID","setLocaleId","ApplicationRef","appRef","moduleDoBootstrap","moduleRef","allPlatformModules","f","RuntimeError","errorHandler","callback","result","isPromise","e","_platformInjector","createPlatformInjector","providers","name","Injector","INJECTOR_SCOPE","PLATFORM_DESTROY_LISTENERS","_platformInjector","createOrReusePlatformInjector","providers","_platformInjector","injector","createPlatformInjector","publishSignalConfiguration","runPlatformInitializers","runPlatformInitializers","injector","inits","PLATFORM_INITIALIZER","runInInjectionContext","init","isDevMode","ChangeDetectorRef","injectChangeDetectorRef","flags","createViewRef","getCurrentTNode","getLView","tNode","lView","isPipe","isComponentHost","componentView","getComponentLViewByIndex","ViewRef$1","hostComponentView","DECLARATION_COMPONENT_VIEW","DefaultIterableDifferFactory","obj","isListLikeIterable","trackByFn","DefaultIterableDiffer","trackByIdentity","index","item","fn","record","nextIt","nextRemove","addRemoveOffset","moveOffsets","getPreviousIndex","adjPreviousIndex","currentIndex","localMovePreviousIndex","localCurrentIndex","i","offset","previousIndex","collection","RuntimeError","mayBeDirty","itemTrackBy","iterateListLike","previousRecord","IterableChangeRecord_","reinsertRecord","nextRecord","prevRecord","prev","next","_DuplicateMap","toIndex","trackById","_DuplicateItemRecordList","atOrAfterIndex","key","duplicates","recordList","moveOffset","DefaultKeyValueDifferFactory","isJsObject","DefaultKeyValueDiffer","map","insertBefore","value","before","KeyValueChangeRecord_","newValue","k","defaultIterableDiffersFactory","IterableDiffers","ɵɵdefineInjectable","factories","parent","copied","SkipSelf","Optional","iterable","factory","f","defaultKeyValueDiffersFactory","KeyValueDiffers","DefaultKeyValueDifferFactory","ɵɵdefineInjectable","factories","parent","copied","SkipSelf","Optional","kv","factory","f","RuntimeError","ApplicationModule","appRef","__ngFactoryType__","ɵɵinject","ApplicationRef","ɵɵdefineNgModule","ɵɵdefineInjector","internalCreateApplication","config","rootComponent","appProviders","platformProviders","platformInjector","createOrReusePlatformInjector","allAppProviders","internalProvideZoneChangeDetection","ChangeDetectionScheduler","ChangeDetectionSchedulerImpl","adapter","EnvironmentNgModuleRefAdapter","bootstrap","e","booleanAttribute","value","numberAttribute","fallbackValue","computed","computation","options","performanceMarkFeature","getter","createComputed","SIGNAL","untracked","nonReactiveReadsFn","prevConsumer","setActiveConsumer","ViewContext","view","node","injectViewContext","getLView","getCurrentTNode","USE_MICROTASK_EFFECT_BY_DEFAULT","MicrotaskEffectScheduler","ZoneAwareEffectScheduler","inject","PendingTasksInternal","effect","ɵɵdefineInjectable","EffectHandle","scheduler","effectFn","zone","destroyRef","injector","allowSignalWrites","createWatch","onCleanup","err","ErrorHandler","effect$1","microtaskEffect","options","performanceMarkFeature","assertInInjectionContext","Injector","DestroyRef","handle","cdr","ChangeDetectorRef","FLAGS","EFFECTS_TO_SCHEDULE","useMicrotaskEffectsByDefault","EffectRefImpl","SIGNAL","node","effect","effectFn","options","useMicrotaskEffectsByDefault","microtaskEffect","performanceMarkFeature","assertInInjectionContext","injector","inject","Injector","destroyRef","DestroyRef","viewContext","ViewContext","notifier","ChangeDetectionScheduler","createViewEffect","NodeInjectorDestroyRef","createRootEffect","EffectScheduler","BASE_EFFECT_NODE","__spreadProps","__spreadValues","REACTIVE_NODE","noop","consumerPollProducersForChange","registerCleanupFn","cleanupFn","prevNode","consumerBeforeComputation","prevRefreshingViews","setIsRefreshingViews","consumerAfterComputation","ROOT_EFFECT_NODE","consumerDestroy","VIEW_EFFECT_NODE","FLAGS","markAncestorsForTraversal","EFFECTS","createViewEffect","view","notifier","fn","node","createRootEffect","scheduler","createComponent","component","options","componentDef","getComponentDef","elementInjector","getNullInjector","ComponentFactory","reflectComponentType","factory","environment","production","apiUrl","code","dashboard","bugsnagApiKey","bugsnagEnv","recaptchaApi","ga","buttonTitleTextTransform","titleTextTransform","greenIdEnv","greenIdCode","greenIdVerifiedIcon","greenIdNotVerifiedIcon","entryFileAttachedIcon","entryFileDefaultIcon","underlyingInvestmentsChartColors","undefined","b2cClientId","b2cPolicySignIn","b2cSignInAuthority","b2cPolicyElevatedSignIn","b2cElevatedSignInAuthority","b2cPolicyAdviserElevatedSignIn","b2cAdviserElevatedSignInAuthority","b2cAuthorityDomain","b2cReadScope","b2cWriteScope","b2cApiEndpoint","b2cLogoutUrl","postLogoutRedirectUri","takeMeWithYouUrl","underlyingInvestment","showButtonIcon","startAPension","eligibilitySection","showCitizenQuestion","views","global","displayEntryIcons","loginView","animateContentWrapper","animateWrapper","historicalChart","displayUnits","memberViewOverview","displayMemberNumber","displayAccountNumber","showChosenName","investmentEdit","showComplexComponent","takeMeWithYou","displayChoiceOfFundForm","insurance","showEffectiveDate","showLapseColumn","calculator","superannuationCalculator","retirementProjectionCalculator","superContributionOptimiser","memberAlerts","BindingNominationOfBeneficiaries","environment","__spreadProps","__spreadValues","base","code","dashboard","ga","b2cPolicySignUp","b2cPolicySignIn","b2cSignInAuthority","b2cSignUpAuthority","b2cAuthorityDomain","b2cClientId","b2cReadScope","b2cWriteScope","views","historicalChart","displayUnits","takeMeWithYou","displayChoiceOfFundForm","insurance","showEffectiveDate","calculator","superannuationCalculator","retirementProjectionCalculator","superContributionOptimiser","environment","__spreadProps","__spreadValues","base","production","bugsnagEnv","apiUrl","b2cApiEndpoint","b2cClientId","b2cReadScope","b2cWriteScope","b2cLogoutUrl","b2cPolicySignIn","b2cSignInAuthority","b2cPolicyElevatedSignIn","b2cElevatedSignInAuthority","b2cAuthorityDomain","greenIdEnv","greenIdCode","_DOM","getDOM","setRootDomAdapter","adapter","DomAdapter","DOCUMENT","InjectionToken","PlatformLocation","relativePosition","__ngFactoryType__","ɵɵdefineInjectable","inject","BrowserPlatformLocation","LOCATION_INITIALIZED","getDOM","fn","window","newPath","state","title","url","joinWithSlash","start","end","stripTrailingSlash","pathEndIdx","normalizeQueryParams","params","LocationStrategy","PathLocationStrategy","APP_BASE_HREF","_platformLocation","href","internal","includeHash","pathname","hash","queryParams","externalUrl","ɵɵinject","HashLocationStrategy","_baseHref","path","Location","Subject","locationStrategy","baseHref","_stripOrigin","_stripIndexHtml","ev","query","_stripBasePath","v","fnIndex","onNext","onThrow","onReturn","createLocation","basePath","strippedUrl","CURRENCIES_EN","NumberFormatStyle","FormStyle","TranslationWidth","FormatWidth","NumberSymbol","getLocaleId","locale","findLocaleData","LocaleDataIndex","getLocaleDayPeriods","formStyle","width","data","amPmData","amPm","getLastDefinedValue","getLocaleDayNames","daysData","days","getLocaleMonthNames","monthsData","months","getLocaleEraNames","erasData","getLocaleDateFormat","locale","width","data","findLocaleData","getLastDefinedValue","LocaleDataIndex","getLocaleTimeFormat","getLocaleDateTimeFormat","dateTimeFormatData","getLocaleNumberSymbol","symbol","res","NumberSymbol","getLocaleNumberFormat","type","getLocaleCurrencies","locale","findLocaleData","LocaleDataIndex","checkFullData","data","LocaleDataIndex","getLocaleExtraDayPeriodRules","locale","findLocaleData","rule","extractTime","getLocaleExtraDayPeriods","formStyle","width","dayPeriodsData","dayPeriods","getLastDefinedValue","getLastDefinedValue","data","index","i","extractTime","time","h","m","getCurrencySymbol","code","format","locale","currency","getLocaleCurrencies","CURRENCIES_EN","symbolNarrow","DEFAULT_NB_OF_CURRENCY_DIGITS","getNumberOfCurrencyDigits","digits","ISO8601_DATE_REGEX","NAMED_FORMATS","DATE_FORMATS_SPLIT","formatDate","value","timezone","date","toDate","getNamedFormat","parts","match","part","dateTimezoneOffset","timezoneToOffset","convertTimezoneToLocal","text","dateFormatter","getDateFormatter","createDate","year","month","newDate","localeId","getLocaleId","formatValue","getLocaleDateFormat","FormatWidth","getLocaleTimeFormat","shortTime","shortDate","formatDateTime","getLocaleDateTimeFormat","mediumTime","mediumDate","longTime","longDate","fullTime","fullDate","str","opt_values","key","padNumber","num","minusSign","trim","negWrap","neg","strNum","formatFractionalSeconds","milliseconds","dateGetter","name","size","offset","getDatePart","localeMinus","getLocaleNumberSymbol","NumberSymbol","dateStrGetter","width","form","FormStyle","extended","getDateTranslation","getLocaleMonthNames","getLocaleDayNames","currentHours","currentMinutes","rules","getLocaleExtraDayPeriodRules","dayPeriods","getLocaleExtraDayPeriods","rule","from","to","afterFrom","beforeTo","getLocaleDayPeriods","getLocaleEraNames","unexpected","timeZoneGetter","zone","hours","JANUARY","THURSDAY","getFirstThursdayOfYear","firstDayOfYear","getThursdayThisIsoWeek","datetime","currentDay","deltaToThursday","weekGetter","monthBased","result","nbDaysBefore1stDayOfMonth","today","thisThurs","firstThurs","diff","weekNumberingYearGetter","weekNumberingYear","DATE_FORMATS","formatter","TranslationWidth","fallback","requestedTimezoneOffset","addDateMinutes","minutes","reverse","reverseValue","timezoneOffset","isDate","y","d","val","parsedNb","isoStringToDate","tzHour","tzMin","dateSetter","timeSetter","s","ms","NUMBER_FORMAT_REGEXP","MAX_DIGITS","DECIMAL_SEP","ZERO_CHAR","PATTERN_SEP","GROUP_SEP","DIGIT_CHAR","CURRENCY_CHAR","formatNumberToLocaleString","value","pattern","locale","groupSymbol","decimalSymbol","digitsInfo","isPercent","formattedText","isZero","getLocaleNumberSymbol","NumberSymbol","parsedNumber","parseNumber","toPercent","minInt","minFraction","maxFraction","parts","NUMBER_FORMAT_REGEXP","minIntPart","minFractionPart","maxFractionPart","parseIntAutoRadix","roundNumber","digits","integerLen","exponent","decimals","d","groups","formatCurrency","currency","currencyCode","format","getLocaleNumberFormat","NumberFormatStyle","parseNumberFormat","getNumberOfCurrencyDigits","CURRENCY_CHAR","formatNumber","value","locale","digitsInfo","format","getLocaleNumberFormat","NumberFormatStyle","pattern","parseNumberFormat","getLocaleNumberSymbol","NumberSymbol","formatNumberToLocaleString","minusSign","p","patternParts","PATTERN_SEP","positive","negative","positiveParts","DECIMAL_SEP","ZERO_CHAR","integer","fraction","DIGIT_CHAR","i","ch","groups","GROUP_SEP","trunkLen","pos","toPercent","parsedNumber","fractionLen","parseNumber","num","numStr","exponent","digits","integerLen","j","zeros","MAX_DIGITS","roundNumber","minFrac","maxFrac","fractionSize","roundAt","digit","k","dropTrailingZeros","minLen","carry","d","parseIntAutoRadix","text","result","parseCookieValue","cookieStr","name","cookie","eqIndex","cookieName","cookieValue","WS_REGEXP","EMPTY_ARRAY","NgClass","_ngEl","_renderer","value","klass","rawClass","nextEnabled","state","stateEntry","enabled","__ngFactoryType__","ɵɵdirectiveInject","ElementRef","Renderer2","ɵɵdefineDirective","NgForOfContext","$implicit","ngForOf","index","count","NgForOf","fn","_viewContainer","_template","_differs","value","changes","viewContainer","item","adjustedPreviousIndex","currentIndex","view","applyViewChange","ilen","context","record","viewRef","dir","ctx","__ngFactoryType__","ɵɵdirectiveInject","ViewContainerRef","TemplateRef","IterableDiffers","ɵɵdefineDirective","NgIf","NgIfContext","_viewContainer","templateRef","condition","assertTemplate","dir","ctx","__ngFactoryType__","ɵɵdirectiveInject","ViewContainerRef","TemplateRef","ɵɵdefineDirective","property","stringify","SwitchView","_viewContainerRef","_templateRef","created","NgSwitch","newValue","view","value","matched","useDefault","defaultView","NgSwitchCase","viewContainer","ngSwitch","NgSwitchDefault","NgStyle","_ngEl","_differs","_renderer","values","changes","nameAndUnit","value","name","unit","flags","RendererStyleFlags2","record","__ngFactoryType__","ɵɵdirectiveInject","ElementRef","KeyValueDiffers","Renderer2","ɵɵdefineDirective","NgTemplateOutlet","_viewContainerRef","viewContainerRef","viewContext","_target","prop","newValue","receiver","ViewContainerRef","ɵɵNgOnChangesFeature","invalidPipeArgumentError","type","value","RuntimeError","SubscribableStrategy","async","updateLatestValue","untracked","e","subscription","PromiseStrategy","_promiseStrategy","_subscribableStrategy","AsyncPipe","ref","obj","isPromise","isSubscribable","__ngFactoryType__","ɵɵdirectiveInject","ChangeDetectorRef","ɵɵdefinePipe","DEFAULT_DATE_FORMAT","DATE_PIPE_DEFAULT_TIMEZONE","InjectionToken","DATE_PIPE_DEFAULT_OPTIONS","DatePipe","locale","defaultTimezone","defaultOptions","value","format","timezone","_format","_timezone","formatDate","error","invalidPipeArgumentError","__ngFactoryType__","ɵɵdirectiveInject","LOCALE_ID","ɵɵdefinePipe","DecimalPipe","_locale","value","digitsInfo","locale","isValue","num","strToNumber","formatNumber","error","invalidPipeArgumentError","__ngFactoryType__","ɵɵdirectiveInject","LOCALE_ID","ɵɵdefinePipe","CurrencyPipe","_locale","_defaultCurrencyCode","value","currencyCode","display","digitsInfo","locale","isValue","currency","getCurrencySymbol","num","strToNumber","formatCurrency","error","invalidPipeArgumentError","__ngFactoryType__","ɵɵdirectiveInject","LOCALE_ID","DEFAULT_CURRENCY_CODE","ɵɵdefinePipe","CommonModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","PLATFORM_BROWSER_ID","PLATFORM_SERVER_ID","isPlatformBrowser","platformId","isPlatformServer","ViewportScroller","ɵɵdefineInjectable","BrowserViewportScroller","inject","DOCUMENT","document","window","offset","position","target","elSelected","findAnchorFromDocument","scrollRestoration","el","rect","left","top","documentResult","treeWalker","currentNode","shadowRoot","result","XhrFactory","HttpHandler","HttpBackend","HttpHeaders","_HttpHeaders","headers","line","index","name","value","values","lcName","update","other","key","clone","base","toDelete","existing","headerValues","fn","HttpUrlEncodingCodec","key","standardEncoding","value","paramParser","rawParams","codec","map","param","eqIdx","val","list","STANDARD_ENCODING_REGEX","STANDARD_ENCODING_REPLACEMENTS","v","s","t","valueToString","HttpParams","_HttpParams","options","RuntimeError","values","res","params","updates","_value","eKey","update","clone","base","idx","HttpContext","token","value","mightHaveBody","method","isArrayBuffer","isBlob","isFormData","isUrlSearchParams","CONTENT_TYPE_HEADER","ACCEPT_HEADER","X_REQUEST_URL_HEADER","TEXT_CONTENT_TYPE","JSON_CONTENT_TYPE","ACCEPT_HEADER_VALUE","HttpRequest","_HttpRequest","url","third","fourth","options","HttpHeaders","HttpParams","params","qIdx","sep","update","responseType","transferCache","body","withCredentials","reportProgress","headers","context","name","param","HttpEventType","HttpResponseBase","init","defaultStatus","defaultStatusText","HttpHeaderResponse","_HttpHeaderResponse","HttpResponse","_HttpResponse","HttpErrorResponse","HTTP_STATUS_CODE_OK","HTTP_STATUS_CODE_NO_CONTENT","addBody","options","body","HttpClient","handler","first","url","req","HttpRequest","headers","HttpHeaders","params","HttpParams","events$","of","concatMap","res$","filter","event","HttpResponse","map","res","RuntimeError","callbackParam","__ngFactoryType__","ɵɵinject","HttpHandler","ɵɵdefineInjectable","FETCH_BACKEND","InjectionToken","interceptorChainEndFn","req","finalHandlerFn","adaptLegacyInterceptorToChain","chainTailFn","interceptor","initialRequest","downstreamRequest","chainedInterceptorFn","interceptorFn","injector","runInInjectionContext","HTTP_INTERCEPTORS","InjectionToken","HTTP_INTERCEPTOR_FNS","HTTP_ROOT_INTERCEPTOR_FNS","REQUESTS_CONTRIBUTE_TO_STABILITY","legacyInterceptorFnFactory","chain","handler","inject","pendingTasks","PendingTasksInternal","taskId","finalize","HttpInterceptorHandler","HttpHandler","inject","PendingTasksInternal","REQUESTS_CONTRIBUTE_TO_STABILITY","backend","injector","initialRequest","dedupedInterceptorFns","HTTP_INTERCEPTOR_FNS","HTTP_ROOT_INTERCEPTOR_FNS","nextSequencedFn","interceptorFn","chainedInterceptorFn","interceptorChainEndFn","taskId","downstreamRequest","finalize","__ngFactoryType__","ɵɵinject","HttpBackend","EnvironmentInjector","ɵɵdefineInjectable","XSSI_PREFIX","X_REQUEST_URL_REGEXP","X_REQUEST_URL_HEADER","getResponseUrl","xhr","HttpXhrBackend","xhrFactory","req","RuntimeError","from","of","switchMap","Observable","observer","name","values","ACCEPT_HEADER","ACCEPT_HEADER_VALUE","CONTENT_TYPE_HEADER","detectedType","responseType","reqBody","headerResponse","partialFromXhr","statusText","headers","HttpHeaders","url","HttpHeaderResponse","onLoad","status","body","HTTP_STATUS_CODE_NO_CONTENT","HTTP_STATUS_CODE_OK","ok","originalBody","error","HttpResponse","HttpErrorResponse","onError","res","sentHeaders","onDownProgress","event","progressEvent","HttpEventType","onUpProgress","progress","__ngFactoryType__","ɵɵinject","XhrFactory","ɵɵdefineInjectable","XSRF_ENABLED","InjectionToken","XSRF_DEFAULT_COOKIE_NAME","XSRF_COOKIE_NAME","XSRF_DEFAULT_HEADER_NAME","XSRF_HEADER_NAME","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","doc","platform","cookieName","cookieString","parseCookieValue","DOCUMENT","PLATFORM_ID","xsrfInterceptorFn","next","lcUrl","inject","token","headerName","HttpFeatureKind","makeHttpFeature","kind","providers","provideHttpClient","features","HttpClient","HttpXhrBackend","HttpInterceptorHandler","HttpHandler","HttpBackend","inject","FETCH_BACKEND","HTTP_INTERCEPTOR_FNS","xsrfInterceptorFn","XSRF_ENABLED","HttpXsrfTokenExtractor","HttpXsrfCookieExtractor","feature","makeEnvironmentProviders","LEGACY_INTERCEPTOR_FN","InjectionToken","withInterceptorsFromDi","makeHttpFeature","HttpFeatureKind","legacyInterceptorFnFactory","HTTP_INTERCEPTOR_FNS","HttpClientModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","provideHttpClient","withInterceptorsFromDi","NG_VALUE_ACCESSOR","InjectionToken","isEmptyInputValue","value","hasValidLength","NG_VALIDATORS","InjectionToken","NG_ASYNC_VALIDATORS","EMAIL_REGEXP","Validators","min","minValidator","max","maxValidator","control","requiredValidator","requiredTrueValidator","emailValidator","minLength","minLengthValidator","maxLength","maxLengthValidator","pattern","patternValidator","nullValidator","validators","compose","composeAsync","regex","regexStr","isPresent","o","toObservable","isPromise","from","mergeErrors","arrayOfErrors","res","errors","__spreadValues","executeValidators","validator","isValidatorFn","normalizeValidators","c","presentValidators","composeValidators","observables","forkJoin","map","composeAsyncValidators","mergeValidators","controlValidators","dirValidator","getControlValidators","getControlAsyncValidators","makeValidatorsArray","hasValidator","addValidators","currentValidators","current","v","removeValidators","AbstractControlDirective","fn","errorCode","path","ControlContainer","NgControl","AbstractControlStatus","cd","ngControlStatusHost","ngGroupStatusHost","__spreadProps","NgControlStatusGroup","AbstractControlStatus","cd","__ngFactoryType__","ɵɵdirectiveInject","ControlContainer","ɵɵdefineDirective","rf","ctx","ɵɵclassProp","ɵɵInheritDefinitionFeature","VALID","INVALID","PENDING","DISABLED","ControlEvent","ValueChangeEvent","value","source","PristineChangeEvent","pristine","TouchedChangeEvent","touched","StatusChangeEvent","status","FormSubmittedEvent","FormResetEvent","pickValidators","validatorOrOpts","isOptionsObj","coerceToValidator","validator","composeValidators","pickAsyncValidators","asyncValidator","coerceToAsyncValidator","composeAsyncValidators","assertControlPresent","parent","isGroup","key","controls","RuntimeError","assertAllValuesPresent","control","_","AbstractControl","validators","asyncValidators","validatorFn","asyncValidatorFn","untracked","v","computed","signal","Subject","addValidators","removeValidators","hasValidator","opts","changed","sourceControl","__spreadProps","__spreadValues","skipPristineCheck","changeFn","shouldHaveEmitted","ctrl","emitEvent","obs","toObservable","errors","path","currPath","name","errorCode","x","changedControl","EventEmitter","newPristine","fn","onlySelf","parentDirty","FormGroup","options","controlName","acc","subtreeUpdated","updated","child","cb","condition","initValue","res","FormRecord","FormGroup","CALL_SET_DISABLED_STATE","InjectionToken","setDisabledStateDefault","setUpControl","control","dir","callSetDisabledState","setDisabledStateDefault","setUpValidators","setUpViewChangePipeline","setUpModelChangePipeline","setUpBlurPipeline","setUpDisabledChangeHandler","cleanUpControl","validateControlPresenceOnChange","noop","cleanUpValidators","registerOnValidatorChange","validators","onChange","validator","onDisabledChange","isDisabled","getControlValidators","mergeValidators","asyncValidators","getControlAsyncValidators","onValidatorChange","isControlUpdated","updatedValidators","updatedAsyncValidators","asyncValidator","newValue","updateControl","emitModelEvent","setUpFormContainer","cleanUpFormContainer","syncPendingControls","form","directives","dir","control","removeListItem$1","list","el","index","formDirectiveProvider$1","ControlContainer","forwardRef","NgForm","resolvedPromise$1","untracked","computed","signal","EventEmitter","validators","asyncValidators","callSetDisabledState","FormGroup","composeValidators","composeAsyncValidators","dir","container","setUpControl","group","setUpFormContainer","value","$event","syncPendingControls","path","__ngFactoryType__","ɵɵdirectiveInject","NG_VALIDATORS","NG_ASYNC_VALIDATORS","CALL_SET_DISABLED_STATE","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","removeListItem","list","el","index","isFormControlState","formState","FormControl","AbstractControl","validatorOrOpts","asyncValidator","pickValidators","pickAsyncValidators","isOptionsObj","options","changeFn","condition","fn","cb","isFormControl","control","FormControl","ɵNgNoValidate","__ngFactoryType__","ɵɵdefineDirective","NG_MODEL_WITH_FORM_CONTROL_WARNING","InjectionToken","formDirectiveProvider","ControlContainer","forwardRef","FormGroupDirective","untracked","value","computed","signal","EventEmitter","validators","asyncValidators","callSetDisabledState","changes","cleanUpValidators","dir","ctrl","setUpControl","cleanUpControl","removeListItem$1","$event","syncPendingControls","FormSubmittedEvent","FormResetEvent","oldCtrl","newCtrl","isFormControl","setUpFormContainer","cleanUpFormContainer","setUpValidators","__ngFactoryType__","ɵɵdirectiveInject","NG_VALIDATORS","NG_ASYNC_VALIDATORS","CALL_SET_DISABLED_STATE","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","ɵɵNgOnChangesFeature","ɵInternalFormsSharedModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","FormArray","AbstractControl","controls","validatorOrOpts","asyncValidator","pickValidators","pickAsyncValidators","index","control","options","adjustedIndex","value","assertAllValuesPresent","newValue","assertControlPresent","subtreeUpdated","updated","child","cb","condition","name","isAbstractControlOptions","options","FormBuilder","nnfb","controls","reducedControls","newOptions","FormGroup","FormRecord","formState","validatorOrOpts","asyncValidator","FormControl","__spreadProps","__spreadValues","createdControls","c","FormArray","controlName","AbstractControl","value","validator","__ngFactoryType__","ɵɵdefineInjectable","FormsModule","opts","CALL_SET_DISABLED_STATE","setDisabledStateDefault","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","ɵInternalFormsSharedModule","ReactiveFormsModule","NG_MODEL_WITH_FORM_CONTROL_WARNING","GenericBrowserDomAdapter","DomAdapter","BrowserDomAdapter","_BrowserDomAdapter","setRootDomAdapter","el","evt","listener","options","node","tagName","doc","target","href","getBaseElementHref","relativePath","baseElement","name","parseCookieValue","url","BrowserGetTestability","registry","_global","elem","findInAncestors","testability","RuntimeError","whenAllStable","callback","testabilities","count","decrement","t","getDOM","BrowserXhr","__ngFactoryType__","ɵɵdefineInjectable","EVENT_MANAGER_PLUGINS","InjectionToken","EventManager","plugins","_zone","plugin","element","eventName","handler","ɵɵinject","NgZone","EventManagerPlugin","_doc","APP_ID_ATTRIBUTE_NAME","removeElements","elements","createStyleElement","style","styleElement","addServerStyles","appId","inline","external","createLinkElement","linkElement","SharedStylesHost","nonce","platformId","isPlatformServer","styles","urls","value","usages","creator","record","host","hostNode","DOCUMENT","APP_ID","CSP_NONCE","PLATFORM_ID","NAMESPACE_URIS","COMPONENT_REGEX","COMPONENT_VARIABLE","HOST_ATTR","CONTENT_ATTR","REMOVE_STYLES_ON_COMPONENT_DESTROY_DEFAULT","REMOVE_STYLES_ON_COMPONENT_DESTROY","InjectionToken","shimContentAttribute","componentShortId","COMPONENT_REGEX","shimHostAttribute","shimStylesContent","compId","styles","s","DomRendererFactory2","eventManager","sharedStylesHost","appId","removeStylesOnCompDestroy","doc","platformId","ngZone","nonce","tracingService","isPlatformServer","DefaultDomRenderer2","element","type","ViewEncapsulation","__spreadProps","__spreadValues","renderer","EmulatedEncapsulationDomRenderer2","NoneEncapsulationDomRenderer","rendererByCompId","platformIsServer","ShadowDomRenderer","componentId","__ngFactoryType__","ɵɵinject","EventManager","SharedStylesHost","APP_ID","REMOVE_STYLES_ON_COMPONENT_DESTROY","DOCUMENT","PLATFORM_ID","NgZone","CSP_NONCE","TracingService","ɵɵdefineInjectable","name","namespace","NAMESPACE_URIS","value","parent","newChild","isTemplateNode","refChild","_parent","oldChild","selectorOrNode","preserveContent","el","RuntimeError","node","namespaceUri","style","flags","RendererStyleFlags2","target","event","callback","options","getDOM","wrappedCallback","eventHandler","isTemplateNode","node","ShadowDomRenderer","DefaultDomRenderer2","eventManager","sharedStylesHost","hostEl","component","doc","ngZone","nonce","platformIsServer","tracingService","styles","shimStylesContent","style","styleEl","styleUrls","styleUrl","linkEl","createLinkElement","parent","newChild","refChild","_parent","oldChild","NoneEncapsulationDomRenderer","removeStylesOnCompDestroy","compId","EmulatedEncapsulationDomRenderer2","appId","shimContentAttribute","shimHostAttribute","element","name","el","DomEventsPlugin","EventManagerPlugin","eventName","handler","options","target","callback","__ngFactoryType__","ɵɵinject","DOCUMENT","ɵɵdefineInjectable","MODIFIER_KEYS","_keyMap","MODIFIER_KEY_GETTERS","event","KeyEventsPlugin","parsedEvent","outsideHandler","getDOM","parts","domEventName","key","fullKey","codeIX","modifierName","index","result","fullKeyCode","keycode","modifierGetter","zone","keyName","bootstrapApplication","rootComponent","internalCreateApplication","__spreadValues","createProvidersConfig","createProvidersConfig","options","BROWSER_MODULE_PROVIDERS","INTERNAL_BROWSER_PLATFORM_PROVIDERS","initDomAdapter","BrowserDomAdapter","errorHandler","ErrorHandler","_document","setDocument","INTERNAL_BROWSER_PLATFORM_PROVIDERS","PLATFORM_ID","PLATFORM_BROWSER_ID","PLATFORM_INITIALIZER","DOCUMENT","TESTABILITY_PROVIDERS","TESTABILITY_GETTER","BrowserGetTestability","TESTABILITY","Testability","NgZone","TestabilityRegistry","BROWSER_MODULE_PROVIDERS","INJECTOR_SCOPE","ErrorHandler","errorHandler","EVENT_MANAGER_PLUGINS","DomEventsPlugin","DOCUMENT","KeyEventsPlugin","DomRendererFactory2","SharedStylesHost","EventManager","RendererFactory2","XhrFactory","BrowserXhr","BrowserModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","ApplicationModule","Meta","_doc","getDOM","tag","forceCreation","tags","result","attrSelector","list","selector","meta","elem","element","el","prop","attr","key","META_KEYS_MAP","ɵɵinject","ɵɵdefineInjectable","Title","newTitle","EVENT_NAMES","HAMMER_GESTURE_CONFIG","InjectionToken","HAMMER_LOADER","HammerGestureConfig","element","mc","eventName","__ngFactoryType__","ɵɵdefineInjectable","HammerGesturesPlugin","EventManagerPlugin","doc","_config","_injector","loader","handler","zone","cancelRegistration","deregister","callback","eventObj","ɵɵinject","DOCUMENT","Injector","HammerModule","ɵɵdefineNgModule","ɵɵdefineInjector","EVENT_MANAGER_PLUGINS","Optional","DomSanitizer","__ngConditionalFactory__","DomSanitizerImpl","_doc","ctx","value","SecurityContext","allowSanitizationBypassAndThrow","unwrapSafeValue","_sanitizeHtml","RuntimeError","_sanitizeUrl","bypassSanitizationTrustHtml","bypassSanitizationTrustStyle","bypassSanitizationTrustScript","bypassSanitizationTrustUrl","bypassSanitizationTrustResourceUrl","Constants","HttpStatus","OIDC_DEFAULT_SCOPES","OIDC_SCOPES","HeaderNames","PersistentCacheKeys","AADAuthorityConstants","ClaimsRequestKeys","PromptValue","CodeChallengeMethodValues","ServerResponseType","ResponseMode","__spreadProps","__spreadValues","GrantType","CacheAccountType","Separators","CredentialType","APP_METADATA","CLIENT_INFO","THE_FAMILY_ID","AUTHORITY_METADATA_CONSTANTS","AuthorityMetadataSource","SERVER_TELEM_CONSTANTS","AuthenticationScheme","ThrottlingConstants","Errors","PasswordGrantConstants","ResponseCodes","RegionDiscoverySources","RegionDiscoveryOutcomes","CacheOutcome","JsonWebTokenTypes","DEFAULT_TOKEN_RENEWAL_OFFSET_SEC","AuthErrorCodes_exports","__export","postRequestFailed","unexpectedError","AuthErrorMessages","unexpectedError","postRequestFailed","AuthErrorMessage","AuthError","_AuthError","errorCode","errorMessage","suberror","errorString","Constants","correlationId","createAuthError","code","additionalMessage","ClientAuthErrorCodes_exports","__export","authTimeNotFound","authorizationCodeMissingFromServerResponse","bindingKeyNotRemoved","cannotAppendScopeSet","cannotRemoveEmptyScope","clientInfoDecodingError","clientInfoEmptyError","deviceCodeExpired","deviceCodePollingCancelled","deviceCodeUnknownError","emptyInputScopeSet","endSessionEndpointNotSupported","endpointResolutionError","hashNotDeserialized","invalidAssertion","invalidCacheEnvironment","invalidCacheRecord","invalidClientCredential","invalidState","keyIdMissing","maxAgeTranspired","methodNotImplemented","missingTenantIdError","multipleMatchingAccounts","multipleMatchingAppMetadata","multipleMatchingTokens","nestedAppAuthBridgeDisabled","networkError","noAccountFound","noAccountInSilentRequest","noCryptoObject","noNetworkConnectivity","nonceMismatch","nullOrEmptyToken","openIdConfigError","requestCannotBeMade","stateMismatch","stateNotFound","tokenClaimsCnfRequiredForSignedJwt","tokenParsingError","tokenRefreshRequired","unexpectedCredentialType","userCanceled","userTimeoutReached","ClientAuthErrorMessages","clientInfoDecodingError","clientInfoEmptyError","tokenParsingError","nullOrEmptyToken","endpointResolutionError","networkError","openIdConfigError","hashNotDeserialized","invalidState","stateMismatch","stateNotFound","nonceMismatch","authTimeNotFound","maxAgeTranspired","multipleMatchingTokens","multipleMatchingAccounts","multipleMatchingAppMetadata","requestCannotBeMade","cannotRemoveEmptyScope","cannotAppendScopeSet","emptyInputScopeSet","deviceCodePollingCancelled","deviceCodeExpired","deviceCodeUnknownError","noAccountInSilentRequest","invalidCacheRecord","invalidCacheEnvironment","noAccountFound","noCryptoObject","unexpectedCredentialType","invalidAssertion","invalidClientCredential","tokenRefreshRequired","userTimeoutReached","tokenClaimsCnfRequiredForSignedJwt","authorizationCodeMissingFromServerResponse","bindingKeyNotRemoved","endSessionEndpointNotSupported","keyIdMissing","noNetworkConnectivity","userCanceled","missingTenantIdError","methodNotImplemented","nestedAppAuthBridgeDisabled","ClientAuthErrorMessage","ClientAuthError","_ClientAuthError","AuthError","errorCode","additionalMessage","createClientAuthError","DEFAULT_CRYPTO_IMPLEMENTATION","createClientAuthError","methodNotImplemented","__async","LogLevel","Logger","_Logger","loggerOptions","packageName","packageVersion","defaultLoggerCallback","setLoggerOptions","Constants","correlationId","logMessage","options","log","level","message","containsPii","name","version","AzureCloudInstance","CacheHelpers_exports","__export","createAccessTokenEntity","createIdTokenEntity","createRefreshTokenEntity","generateAppMetadataKey","generateAuthorityMetadataExpiresAt","generateCredentialKey","isAccessTokenEntity","isAppMetadataEntity","isAuthorityMetadataEntity","isAuthorityMetadataExpired","isCredentialEntity","isIdTokenEntity","isRefreshTokenEntity","isServerTelemetryEntity","isThrottlingEntity","updateAuthorityEndpointMetadata","updateCloudDiscoveryMetadata","AuthToken_exports","__export","checkMaxAge","extractTokenClaims","getJWSPayload","extractTokenClaims","encodedToken","base64Decode","jswPayload","getJWSPayload","base64Decoded","createClientAuthError","tokenParsingError","authToken","nullOrEmptyToken","matches","checkMaxAge","authTime","maxAge","maxAgeTranspired","TimeUtils_exports","__export","delay","isTokenExpired","nowSeconds","wasClockTurnedBack","expiresOn","offset","expirationSec","cachedAt","value","resolve","generateCredentialKey","credentialEntity","generateAccountId","generateCredentialId","generateTarget","generateClaimsHash","generateScheme","Separators","createIdTokenEntity","homeAccountId","environment","idToken","clientId","tenantId","CredentialType","createAccessTokenEntity","accessToken","scopes","expiresOn","extExpiresOn","base64Decode","refreshOn","tokenType","userAssertionHash","keyId","requestedClaims","requestedClaimsHash","atEntity","nowSeconds","AuthenticationScheme","tokenClaims","extractTokenClaims","createClientAuthError","tokenClaimsCnfRequiredForSignedJwt","createRefreshTokenEntity","refreshToken","familyId","rtEntity","isCredentialEntity","entity","isAccessTokenEntity","isIdTokenEntity","isRefreshTokenEntity","clientOrFamilyId","isServerTelemetryEntity","key","validateKey","SERVER_TELEM_CONSTANTS","validateEntity","isThrottlingEntity","ThrottlingConstants","generateAppMetadataKey","APP_METADATA","isAppMetadataEntity","isAuthorityMetadataEntity","AUTHORITY_METADATA_CONSTANTS","generateAuthorityMetadataExpiresAt","updateAuthorityEndpointMetadata","authorityMetadata","updatedValues","fromNetwork","updateCloudDiscoveryMetadata","isAuthorityMetadataExpired","metadata","ClientConfigurationErrorCodes_exports","__export","authorityMismatch","authorityUriInsecure","cannotAllowPlatformBroker","cannotSetOIDCOptions","claimsRequestParsingError","emptyInputScopesError","invalidAuthenticationHeader","invalidAuthorityMetadata","invalidClaims","invalidCloudDiscoveryMetadata","invalidCodeChallengeMethod","invalidPromptValue","logoutRequestEmpty","missingNonceAuthenticationHeader","missingSshJwk","missingSshKid","pkceParamsMissing","redirectUriEmpty","tokenRequestEmpty","untrustedAuthority","urlEmptyError","urlParseError","ClientConfigurationErrorMessages","redirectUriEmpty","claimsRequestParsingError","authorityUriInsecure","urlParseError","urlEmptyError","emptyInputScopesError","invalidPromptValue","invalidClaims","tokenRequestEmpty","logoutRequestEmpty","invalidCodeChallengeMethod","pkceParamsMissing","invalidCloudDiscoveryMetadata","invalidAuthorityMetadata","untrustedAuthority","missingSshJwk","missingSshKid","missingNonceAuthenticationHeader","invalidAuthenticationHeader","cannotSetOIDCOptions","cannotAllowPlatformBroker","authorityMismatch","ClientConfigurationErrorMessage","ClientConfigurationError","_ClientConfigurationError","AuthError","errorCode","createClientConfigurationError","StringUtils","strObj","obj","str","search","query","params","decode","s","pair","key","value","arr","entry","pattern","input","ScopeSet","_ScopeSet","inputScopes","scopeArr","StringUtils","filteredInput","createClientConfigurationError","emptyInputScopesError","scope","inputScopeString","Constants","scopeSet","lowerCaseScopes","lowerCaseScopesSet","defaultScopeCount","OIDC_SCOPES","defaultScope","newScope","newScopes","createClientAuthError","cannotAppendScopeSet","cannotRemoveEmptyScope","otherScopes","emptyInputScopeSet","unionScopes","sizeOtherScopes","sizeThisScopes","array","val","buildClientInfo","rawClientInfo","base64Decode","createClientAuthError","clientInfoEmptyError","decodedClientInfo","clientInfoDecodingError","buildClientInfoFromHomeAccountId","homeAccountId","clientInfoParts","Separators","Constants","tenantIdMatchesHomeTenant","tenantId","homeAccountId","buildTenantProfile","localAccountId","idTokenClaims","oid","sub","tid","name","tfp","acr","updateAccountTenantProfileData","baseAccountInfo","tenantProfile","idTokenSecret","updatedAccountInfo","_a","isHomeTenant","tenantProfileOverride","__objRest","__spreadValues","_b","claimsSourcedTenantProfile","__spreadProps","AuthorityType","getTenantIdFromIdTokenClaims","idTokenClaims","ProtocolMode","AccountEntity","_AccountEntity","Separators","tenantProfile","accountInterface","homeTenantId","accountDetails","authority","base64Decode","account","AuthorityType","CacheAccountType","ProtocolMode","clientInfo","buildClientInfo","env","createClientAuthError","invalidCacheEnvironment","getTenantIdFromIdTokenClaims","preferredUsername","email","buildTenantProfile","accountInfo","cloudGraphHostName","msGraphHost","serverClientInfo","authType","logger","cryptoObj","idTokenClaims","entity","accountA","accountB","compareClaims","claimsMatch","accountAClaims","accountBClaims","UrlUtils_exports","__export","getDeserializedResponse","stripLeadingHashOrQuery","stripLeadingHashOrQuery","responseString","getDeserializedResponse","normalizedResponse","deserializedHash","createClientAuthError","hashNotDeserialized","UrlString","_UrlString","url","createClientConfigurationError","urlEmptyError","lowerCaseUrl","StringUtils","components","urlParseError","authorityUriInsecure","queryString","tenantId","urlObject","pathArray","AADAuthorityConstants","regEx","match","urlComponents","pathSegments","val","relativeUrl","baseUrl","Constants","baseComponents","response","getDeserializedResponse","rawMetdataJSON","EndpointMetadata","InstanceDiscoveryMetadata","InstanceDiscoveryMetadataAliases","metadataEntry","alias","getAliasesFromStaticSources","staticAuthorityOptions","logger","staticAliases","canonicalAuthority","authorityHost","UrlString","getAliasesFromMetadata","AuthorityMetadataSource","cloudDiscoveryMetadata","source","metadata","getCloudDiscoveryMetadataFromNetworkResponse","getCloudDiscoveryMetadataFromHardcodedValues","response","i","cacheQuotaExceededErrorCode","cacheUnknownErrorCode","CacheErrorMessages","cacheQuotaExceededErrorCode","cacheUnknownErrorCode","CacheError","_CacheError","errorCode","errorMessage","message","CacheManager","clientId","cryptoImpl","logger","staticAuthorityOptions","name","version","accountFilter","allAccounts","account","accountEntities","cachedAccounts","accountEntity","accountInfo","tokenKeys","tenantProfile","tenantProfileFilter","tenantedAccountInfo","idTokenClaims","idToken","extractTokenClaims","updateAccountTenantProfileData","targetTenantId","searchTenantProfiles","matchingTenantProfiles","cacheRecord","correlationId","storeInCache","__async","createClientAuthError","invalidCacheRecord","e","CacheError","cacheQuotaExceededErrorCode","cacheUnknownErrorCode","credential","accessTokenFilter","currentScopes","ScopeSet","removedAccessTokens","key","tokenEntity","allAccountKeys","matchingAccounts","cacheKey","entity","homeAccountId","tenantId","Separators","lowerCaseKey","CredentialType","clientIdValidation","familyIdValidation","THE_FAMILY_ID","filter","AuthenticationScheme","allCacheKeys","matchingAppMetadata","host","matchedEntity","removedAccounts","accountKey","allTokenKeys","accountId","removedCredentials","kid","bindingKeyNotRemoved","AccountEntity","targetRealm","performanceClient","idTokenFilter","idTokenMap","numIdTokens","tokensToBeRemoved","homeIdTokenMap","numHomeIdTokens","idTokenKeys","idTokens","__spreadValues","inputKey","request","scopes","authScheme","credentialType","accessTokenKeys","accessTokens","accessToken","numAccessTokens","generateCredentialKey","keyMustContainAllScopes","i","familyRT","id","refreshTokenFilter","refreshTokenKeys","refreshTokens","refreshToken","numRefreshTokens","environment","appMetadataFilter","appMetadata","appMetadataEntries","numAppMetadata","multipleMatchingAppMetadata","tokenClaims","localAccountId","idTokenLocalAccountId","claims","cachedUsername","filterUsername","userAssertionHash","staticAliases","getAliasesFromStaticSources","cloudMetadata","familyId","realm","nativeAccountId","loginHint","sid","authorityType","target","tokenType","keyId","APP_METADATA","AUTHORITY_METADATA_CONSTANTS","authority","obj","json","propertyName","DefaultStorageClass","methodNotImplemented","DEFAULT_SYSTEM_OPTIONS","DEFAULT_TOKEN_RENEWAL_OFFSET_SEC","DEFAULT_LOGGER_IMPLEMENTATION","LogLevel","Constants","DEFAULT_CACHE_OPTIONS","DEFAULT_NETWORK_IMPLEMENTATION","__async","createClientAuthError","methodNotImplemented","DEFAULT_LIBRARY_INFO","version","DEFAULT_CLIENT_CREDENTIALS","DEFAULT_AZURE_CLOUD_OPTIONS","AzureCloudInstance","DEFAULT_TELEMETRY_OPTIONS","buildClientConfiguration","userAuthOptions","userSystemOptions","userLoggerOption","userCacheOptions","storageImplementation","networkImplementation","cryptoImplementation","clientCredentials","libraryInfo","telemetry","serverTelemetryManager","persistencePlugin","serializableCache","loggerOptions","__spreadValues","buildAuthOptions","DefaultStorageClass","DEFAULT_CRYPTO_IMPLEMENTATION","Logger","authOptions","isOidcProtocolMode","config","ProtocolMode","CcsCredentialType","AADServerParamKeys_exports","__export","ACCESS_TOKEN","BROKER_CLIENT_ID","BROKER_REDIRECT_URI","CCS_HEADER","CLAIMS","CLIENT_ASSERTION","CLIENT_ASSERTION_TYPE","CLIENT_ID","CLIENT_INFO","CLIENT_REQUEST_ID","CLIENT_SECRET","CODE","CODE_CHALLENGE","CODE_CHALLENGE_METHOD","CODE_VERIFIER","DEVICE_CODE","DOMAIN_HINT","ERROR","ERROR_DESCRIPTION","EXPIRES_IN","FOCI","GRANT_TYPE","ID_TOKEN","ID_TOKEN_HINT","LOGIN_HINT","LOGOUT_HINT","NATIVE_BROKER","NONCE","OBO_ASSERTION","ON_BEHALF_OF","POST_LOGOUT_URI","PROMPT","REDIRECT_URI","REFRESH_TOKEN","REFRESH_TOKEN_EXPIRES_IN","REQUESTED_TOKEN_USE","REQ_CNF","RESPONSE_MODE","RESPONSE_TYPE","RETURN_SPA_CODE","SCOPE","SESSION_STATE","SID","STATE","TOKEN_TYPE","X_APP_NAME","X_APP_VER","X_CLIENT_CPU","X_CLIENT_CURR_TELEM","X_CLIENT_EXTRA_SKU","X_CLIENT_LAST_TELEM","X_CLIENT_OS","X_CLIENT_SKU","X_CLIENT_VER","X_MS_LIB_CAPABILITY","RequestValidator","redirectUri","createClientConfigurationError","redirectUriEmpty","prompt","promptValues","value","PromptValue","invalidPromptValue","claims","invalidClaims","codeChallenge","codeChallengeMethod","pkceParamsMissing","CodeChallengeMethodValues","invalidCodeChallengeMethod","instrumentBrokerParams","parameters","correlationId","performanceClient","clientId","CLIENT_ID","BROKER_CLIENT_ID","REDIRECT_URI","RequestParameterBuilder","RESPONSE_TYPE","Constants","responseMode","RESPONSE_MODE","ResponseMode","NATIVE_BROKER","scopes","addOidcScopes","defaultScopes","OIDC_DEFAULT_SCOPES","requestScopes","scopeSet","ScopeSet","SCOPE","redirectUri","RequestValidator","POST_LOGOUT_URI","idTokenHint","ID_TOKEN_HINT","domainHint","DOMAIN_HINT","loginHint","LOGIN_HINT","HeaderNames","clientInfo","sid","SID","claims","clientCapabilities","mergedClaims","CLAIMS","CLIENT_REQUEST_ID","libraryInfo","X_CLIENT_SKU","X_CLIENT_VER","X_CLIENT_OS","X_CLIENT_CPU","appTelemetry","X_APP_NAME","X_APP_VER","prompt","PROMPT","state","STATE","nonce","NONCE","codeChallenge","codeChallengeMethod","CODE_CHALLENGE","CODE_CHALLENGE_METHOD","createClientConfigurationError","pkceParamsMissing","code","CODE","DEVICE_CODE","refreshToken","REFRESH_TOKEN","codeVerifier","CODE_VERIFIER","clientSecret","CLIENT_SECRET","clientAssertion","CLIENT_ASSERTION","clientAssertionType","CLIENT_ASSERTION_TYPE","oboAssertion","OBO_ASSERTION","tokenUse","REQUESTED_TOKEN_USE","grantType","GRANT_TYPE","CLIENT_INFO","eQParams","key","value","invalidClaims","ClaimsRequestKeys","username","PasswordGrantConstants","password","cnfString","TOKEN_TYPE","AuthenticationScheme","REQ_CNF","sshJwkString","serverTelemetryManager","X_CLIENT_CURR_TELEM","X_CLIENT_LAST_TELEM","X_MS_LIB_CAPABILITY","ThrottlingConstants","logoutHint","LOGOUT_HINT","params","brokerParams","BROKER_REDIRECT_URI","queryParameterArray","AuthorityFactory_exports","__export","createDiscoveredInstance","isOpenIdConfigResponse","response","isCloudInstanceDiscoveryResponse","response","isCloudInstanceDiscoveryErrorResponse","response","PerformanceEvents","PerformanceEventAbbreviations","PerformanceEventStatus","invoke","callback","eventName","logger","telemetryClient","correlationId","args","inProgressEvent","eventCount","result","e","invokeAsync","response","RegionDiscovery","networkInterface","logger","performanceClient","correlationId","environmentRegion","regionDiscoveryMetadata","__async","PerformanceEvents","autodetectedRegionName","RegionDiscoverySources","options","localIMDSVersionResponse","invokeAsync","Constants","ResponseCodes","currentIMDSVersion","currentIMDSVersionResponse","version","response","Authority","_Authority","authority","networkInterface","cacheManager","authorityOptions","logger","correlationId","performanceClient","managedIdentity","RegionDiscovery","authorityUri","Constants","AuthorityType","pathSegments","url","UrlString","createClientAuthError","endpointResolutionError","endSessionEndpointNotSupported","ProtocolMode","urlString","endpoint","cachedAuthorityUrlComponents","cachedAuthorityParts","currentPart","index","cachedPart","tenantId","canonicalAuthorityHost","__async","PerformanceEvents","metadataEntity","cloudDiscoverySource","invokeAsync","endpointSource","generateAuthorityMetadataExpiresAt","endpointMetadataResult","AuthorityMetadataSource","cacheKey","localMetadata","hardcodedMetadata","updateAuthorityEndpointMetadata","metadata","openIdConfigError","configMetadata","metadataEntityExpired","isAuthorityMetadataExpired","createClientConfigurationError","invalidAuthorityMetadata","options","openIdConfigurationEndpoint","response","isOpenIdConfigResponse","e","EndpointMetadata","userConfiguredAzureRegion","RegionDiscoveryOutcomes","autodetectedRegionName","localMetadataSource","updateCloudDiscoveryMetadata","untrustedAuthority","getCloudDiscoveryMetadataFromHardcodedValues","parsedResponse","getCloudDiscoveryMetadataFromNetworkResponse","invalidCloudDiscoveryMetadata","instanceDiscoveryEndpoint","match","typedResponseBody","isCloudInstanceDiscoveryResponse","isCloudInstanceDiscoveryErrorResponse","error","AuthError","typedError","authorityString","azureCloudOptions","authorityAzureCloudInstance","AzureCloudInstance","tenant","host","InstanceDiscoveryMetadataAliases","region","queryString","authorityUrlInstance","authorityUrlParts","hostNameAndPort","__spreadProps","__spreadValues","azureRegion","regionalMetadata","ciamAuthority","authorityUrlComponents","tenantIdOrDomain","AADAuthorityConstants","getTenantFromAuthorityString","formatAuthorityUri","buildStaticAuthorityOptions","authOptions","rawCloudDiscoveryMetadata","cloudDiscoveryMetadata","createDiscoveredInstance","authorityUri","networkClient","cacheManager","authorityOptions","logger","correlationId","performanceClient","__async","PerformanceEvents","authorityUriFinal","Authority","formatAuthorityUri","acquireTokenAuthority","invokeAsync","createClientAuthError","endpointResolutionError","ServerError","_ServerError","AuthError","errorCode","errorMessage","subError","errorNo","status","ThrottlingUtils","_ThrottlingUtils","thumbprint","ThrottlingConstants","cacheManager","key","value","ServerError","Constants","response","thumbprintValue","HeaderNames","throttleTime","time","currentSeconds","clientId","request","homeAccountIdentifier","NetworkError","_NetworkError","AuthError","error","httpStatus","responseHeaders","createNetworkError","BaseClient","configuration","performanceClient","buildClientConfiguration","Logger","name","version","ccsCred","headers","HeaderNames","Constants","CcsCredentialType","clientInfo","buildClientInfoFromHomeAccountId","e","tokenEndpoint","queryString","thumbprint","correlationId","queuedEvent","__async","response","options","ThrottlingUtils","invokeAsync","PerformanceEvents","responseHeaders","NetworkError","AuthError","createClientAuthError","networkError","cloudInstanceHostname","cloudInstanceAuthorityUri","cloudInstanceAuthority","createDiscoveredInstance","request","parameterBuilder","RequestParameterBuilder","InteractionRequiredAuthErrorCodes_exports","__export","badToken","consentRequired","interactionRequired","loginRequired","nativeAccountUnavailable","noTokensFound","refreshTokenExpired","InteractionRequiredServerErrorMessage","interactionRequired","consentRequired","loginRequired","badToken","InteractionRequiredAuthSubErrorMessage","InteractionRequiredAuthErrorMessages","noTokensFound","nativeAccountUnavailable","refreshTokenExpired","InteractionRequiredAuthErrorMessage","InteractionRequiredAuthError","_InteractionRequiredAuthError","AuthError","errorCode","errorMessage","subError","timestamp","traceId","correlationId","claims","errorNo","Constants","isInteractionRequiredError","errorString","isInteractionRequiredErrorCode","isInteractionRequiredSubError","isInteractionRequiredErrorDesc","irErrorCode","createInteractionRequiredAuthError","ProtocolUtils","_ProtocolUtils","cryptoObj","userState","meta","libraryState","Constants","createClientAuthError","noCryptoObject","stateObj","stateString","state","invalidState","splitState","libraryStateString","libraryStateObj","KeyLocation","PopTokenGenerator","cryptoUtils","performanceClient","request","logger","__async","PerformanceEvents","reqCnf","invokeAsync","reqCnfString","accessToken","keyId","payload","claims","resourceRequestMethod","resourceRequestUri","shrClaims","shrNonce","shrOptions","resourceUrlComponents","UrlString","__spreadValues","nowSeconds","TokenCacheContext","tokenCache","hasChanged","parseServerErrorNo","serverResponse","errorCodePrefix","errorCodePrefixIndex","ResponseHandler","_ResponseHandler","clientId","cacheStorage","cryptoObj","logger","serializableCache","persistencePlugin","performanceClient","requestState","createClientAuthError","stateNotFound","decodedServerResponseState","decodedRequestState","invalidState","stateMismatch","serverErrorNo","isInteractionRequiredError","InteractionRequiredAuthError","ServerError","refreshAccessToken","errString","Constants","serverError","HttpStatus","serverTokenResponse","authority","reqTimestamp","request","authCodePayload","userAssertionHash","handlingRefreshTokenResponse","forceCacheRefreshTokenResponse","serverRequestId","__async","PerformanceEvents","idTokenClaims","extractTokenClaims","nonceMismatch","authTime","authTimeNotFound","checkMaxAge","AccountEntity","requestStateObj","ProtocolUtils","cacheRecord","cacheContext","TokenCacheContext","key","env","invalidCacheEnvironment","claimsTenantId","getTenantIdFromIdTokenClaims","cachedIdToken","cachedAccount","createIdTokenEntity","buildAccountToCache","cachedAccessToken","responseScopes","ScopeSet","expiresIn","extExpiresIn","refreshIn","tokenExpirationSeconds","extendedTokenExpirationSeconds","refreshOnSeconds","createAccessTokenEntity","cachedRefreshToken","rtExpiresOn","rtExpiresIn","createRefreshTokenEntity","cachedAppMetadata","fromTokenCache","requestId","accessToken","expiresOn","extExpiresOn","refreshOn","familyId","AuthenticationScheme","popTokenGenerator","PopTokenGenerator","secret","keyId","keyIdMissing","THE_FAMILY_ID","uid","tid","accountInfo","updateAccountTenantProfileData","homeAccountId","base64Decode","clientInfo","environment","nativeAccountId","baseAccountKey","accountKey","baseAccount","tenantProfiles","tenantId","tenantProfile","newTenantProfile","buildTenantProfile","getClientAssertion","clientAssertion","clientId","tokenEndpoint","__async","AuthorizationCodeClient","BaseClient","configuration","performanceClient","request","__async","PerformanceEvents","queryString","invokeAsync","UrlString","authCodePayload","createClientAuthError","requestCannotBeMade","reqTimestamp","nowSeconds","response","requestId","HeaderNames","responseHandler","ResponseHandler","serverParams","cachedState","authorizationCodeMissingFromServerResponse","logoutRequest","createClientConfigurationError","logoutRequestEmpty","authority","queryParametersString","endpoint","requestBody","ccsCredential","clientInfo","buildClientInfo","Separators","CcsCredentialType","e","headers","thumbprint","parameterBuilder","RequestParameterBuilder","CLIENT_ID","RequestValidator","isOidcProtocolMode","clientAssertion","getClientAssertion","GrantType","AuthenticationScheme","popTokenGenerator","PopTokenGenerator","reqCnfData","missingSshJwk","StringUtils","ccsCred","buildClientInfoFromHomeAccountId","RETURN_SPA_CODE","correlationId","requestScopes","PromptValue","accountSid","accountLoginHintClaim","account","DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS","RefreshTokenClient","BaseClient","configuration","performanceClient","request","__async","PerformanceEvents","reqTimestamp","nowSeconds","response","invokeAsync","requestId","HeaderNames","responseHandler","ResponseHandler","createClientConfigurationError","tokenRequestEmpty","createClientAuthError","noAccountInSilentRequest","e","noFamilyRTInCache","InteractionRequiredAuthError","noTokensFound","clientMismatchErrorWithFamilyRT","ServerError","Errors","foci","refreshToken","invoke","createInteractionRequiredAuthError","isTokenExpired","refreshTokenExpired","refreshTokenRequest","__spreadProps","__spreadValues","AuthenticationScheme","CcsCredentialType","badToken","badRefreshTokenKey","generateCredentialKey","authority","queryParametersString","endpoint","UrlString","requestBody","headers","thumbprint","correlationId","parameterBuilder","RequestParameterBuilder","CLIENT_ID","GrantType","isOidcProtocolMode","clientAssertion","getClientAssertion","popTokenGenerator","PopTokenGenerator","reqCnfData","missingSshJwk","StringUtils","clientInfo","buildClientInfoFromHomeAccountId","SilentFlowClient","BaseClient","configuration","performanceClient","request","__async","PerformanceEvents","lastCacheOutcome","CacheOutcome","StringUtils","createClientAuthError","tokenRefreshRequired","noAccountInSilentRequest","requestTenantId","getTenantFromAuthorityString","tokenKeys","cachedAccessToken","wasClockTurnedBack","isTokenExpired","environment","cacheRecord","invokeAsync","cacheOutcome","correlationId","idTokenClaims","extractTokenClaims","authTime","authTimeNotFound","checkMaxAge","ResponseHandler","StubbedNetworkModule","createClientAuthError","methodNotImplemented","skuGroupSeparator","skuValueSeparator","makeExtraSkuString","params","skus","libraryName","libraryVersion","extensionName","extensionVersion","skuMap","skuArr","value","key","setSku","index","skuName","skuVersion","ServerTelemetryManager","_ServerTelemetryManager","telemetryRequest","cacheManager","CacheOutcome","Constants","SERVER_TELEM_CONSTANTS","Separators","request","platformFieldsArr","nativeBrokerErrorCode","platformFields","regionDiscoveryFields","requestWithRegionDiscoveryFields","lastRequests","maxErrors","failedRequests","errors","errorCount","overflow","error","AuthError","initialValue","numErrorsFlushed","serverTelemEntity","serverTelemetryEntity","i","dataSize","apiId","correlationId","errorCode","regionDiscoveryMetadata","cacheOutcome","missingKidError","missingAlgError","JoseHeaderErrorMessages","missingKidError","missingAlgError","JoseHeaderError","_JoseHeaderError","AuthError","errorCode","errorMessage","createJoseHeaderError","code","JoseHeader","_JoseHeader","options","shrHeaderOptions","createJoseHeaderError","missingKidError","missingAlgError","shrHeader","JsonWebTokenTypes","StubPerformanceMeasurement","StubPerformanceClient","measureName","correlationId","PerformanceEventStatus","BrowserConstants","NativeConstants","NativeExtensionMethod","BrowserCacheLocation","HTTP_REQUEST_TYPE","TemporaryCacheKeys","StaticCacheKeys","InMemoryCacheKeys","ApiId","InteractionType","InteractionStatus","DEFAULT_REQUEST","OIDC_DEFAULT_SCOPES","KEY_FORMAT_JWK","WrapperSKU","DB_NAME","DB_VERSION","DB_TABLE_NAME","CacheLookupPolicy","iFrameRenewalPolicies","LOG_LEVEL_CACHE_KEY","LOG_PII_CACHE_KEY","NavigationClient","_NavigationClient","url","options","resolve","pkceNotCreated","cryptoNonExistent","emptyNavigateUri","hashEmptyError","noStateInHash","hashDoesNotContainKnownProperties","unableToParseState","stateInteractionTypeMismatch","interactionInProgress","popupWindowError","emptyWindowError","userCancelled","monitorPopupTimeout","monitorWindowTimeout","redirectInIframe","blockIframeReload","blockNestedPopups","iframeClosedPrematurely","silentLogoutUnsupported","noAccountError","silentPromptValueError","noTokenRequestCacheError","unableToParseTokenRequestCacheError","noCachedAuthorityError","authRequestNotSetError","invalidCacheType","nonBrowserEnvironment","databaseNotOpen","noNetworkConnectivity","postRequestFailed","getRequestFailed","failedToParseResponse","unableToLoadToken","cryptoKeyNotFound","authCodeRequired","authCodeOrNativeAccountIdRequired","spaCodeAndNativeAccountIdPresent","databaseUnavailable","unableToAcquireTokenFromNativePlatform","nativeHandshakeTimeout","nativeExtensionNotInstalled","nativeConnectionNotEstablished","uninitializedPublicClientApplication","nativePromptNotSupported","invalidBase64String","invalidPopTokenRequest","failedToBuildHeaders","failedToParseHeaders","ErrorLink","BrowserAuthErrorMessages","pkceNotCreated","cryptoNonExistent","emptyNavigateUri","hashEmptyError","noStateInHash","hashDoesNotContainKnownProperties","unableToParseState","stateInteractionTypeMismatch","interactionInProgress","popupWindowError","emptyWindowError","userCancelled","monitorPopupTimeout","monitorWindowTimeout","redirectInIframe","blockIframeReload","blockNestedPopups","iframeClosedPrematurely","silentLogoutUnsupported","noAccountError","silentPromptValueError","noTokenRequestCacheError","unableToParseTokenRequestCacheError","noCachedAuthorityError","authRequestNotSetError","invalidCacheType","nonBrowserEnvironment","databaseNotOpen","noNetworkConnectivity","postRequestFailed","getRequestFailed","failedToParseResponse","unableToLoadToken","cryptoKeyNotFound","authCodeRequired","authCodeOrNativeAccountIdRequired","spaCodeAndNativeAccountIdPresent","databaseUnavailable","unableToAcquireTokenFromNativePlatform","nativeHandshakeTimeout","nativeExtensionNotInstalled","nativeConnectionNotEstablished","uninitializedPublicClientApplication","nativePromptNotSupported","invalidBase64String","invalidPopTokenRequest","failedToBuildHeaders","failedToParseHeaders","BrowserAuthErrorMessage","BrowserAuthError","_BrowserAuthError","AuthError","errorCode","subError","createBrowserAuthError","FetchClient","url","options","__async","response","responseHeaders","responseStatus","reqHeaders","getFetchHeaders","HTTP_REQUEST_TYPE","createBrowserAuthError","getRequestFailed","noNetworkConnectivity","getHeaderDict","createNetworkError","failedToParseResponse","reqBody","postRequestFailed","headers","optionsHeaders","key","value","failedToBuildHeaders","headerDict","failedToParseHeaders","BrowserUtils_exports","__export","blockAPICallsBeforeInitialize","blockAcquireTokenInPopups","blockNonBrowserEnvironment","blockRedirectInIframe","blockReloadInHiddenIframes","clearHash","createGuid","getCurrentUri","getHomepage","invoke","invokeAsync","isInIframe","isInPopup","preconnect","preflightCheck","redirectPreflightCheck","replaceHash","urlEncode","input","base64Encode","urlEncodeArr","inputArr","base64EncArr","aBytes","binString","x","base64Decode","input","base64DecToArr","base64String","encodedString","createBrowserAuthError","invalidBase64String","binString","m","PKCS1_V15_KEYGEN_ALG","AES_GCM","HKDF","S256_HASH_ALG","MODULUS_LENGTH","PUBLIC_EXPONENT","UUID_CHARS","UINT32_ARR","RAW","ENCRYPT","DECRYPT","DERIVE_KEY","SUBTLE_SUBERROR","keygenAlgorithmOptions","validateCryptoAvailable","skipValidateSubtleCrypto","createBrowserAuthError","nonBrowserEnvironment","cryptoNonExistent","sha256Digest","dataString","performanceClient","correlationId","__async","PerformanceEvents","data","getRandomValues","dataBuffer","getRandomUint32","createNewGuid","currentTimestamp","baseRand","bytes","randA","randBHi","randBLo","text","i","generateKeyPair","extractable","usages","exportJwk","key","KEY_FORMAT_JWK","importJwk","sign","generateBaseKey","generateHKDF","baseKey","deriveKey","nonce","context","encrypt","rawData","encodedData","derivedKey","encryptedData","urlEncodeArr","decrypt","base64DecToArr","decryptedData","hashString","plainText","hashBuffer","hashBytes","storageNotSupported","stubbedPublicClientApplicationCalled","inMemRedirectUnavailable","BrowserConfigurationAuthErrorMessages","storageNotSupported","stubbedPublicClientApplicationCalled","inMemRedirectUnavailable","BrowserConfigurationAuthErrorMessage","BrowserConfigurationAuthError","_BrowserConfigurationAuthError","AuthError","errorCode","errorMessage","createBrowserConfigurationAuthError","clearHash","contentWindow","replaceHash","url","urlParts","isInIframe","isInPopup","BrowserConstants","getCurrentUri","getHomepage","urlComponents","UrlString","blockReloadInHiddenIframes","createBrowserAuthError","blockIframeReload","blockRedirectInIframe","allowRedirectInIframe","redirectInIframe","blockAcquireTokenInPopups","blockNestedPopups","blockNonBrowserEnvironment","nonBrowserEnvironment","blockAPICallsBeforeInitialize","initialized","uninitializedPublicClientApplication","preflightCheck","redirectPreflightCheck","config","BrowserCacheLocation","createBrowserConfigurationAuthError","inMemRedirectUnavailable","preconnect","authority","link","createGuid","createNewGuid","DEFAULT_POPUP_TIMEOUT_MS","DEFAULT_IFRAME_TIMEOUT_MS","DEFAULT_REDIRECT_TIMEOUT_MS","DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS","buildConfiguration","userInputAuth","userInputCache","userInputSystem","userInputTelemetry","isBrowserEnvironment","DEFAULT_AUTH_OPTIONS","Constants","getCurrentUri","ProtocolMode","ServerResponseType","AzureCloudInstance","DEFAULT_CACHE_OPTIONS","BrowserCacheLocation","DEFAULT_LOGGER_OPTIONS","LogLevel","DEFAULT_BROWSER_SYSTEM_OPTIONS","__spreadProps","__spreadValues","DEFAULT_SYSTEM_OPTIONS","FetchClient","StubbedNetworkModule","NavigationClient","BrowserConstants","providedSystemOptions","DEFAULT_TELEMETRY_OPTIONS","StubPerformanceClient","Logger","createClientConfigurationError","ClientConfigurationErrorCodes_exports","name","version","BaseOperatingContext","_BaseOperatingContext","level","message","LogLevel","config","buildConfiguration","sessionStorage","BrowserCacheLocation","logLevelKey","LOG_LEVEL_CACHE_KEY","piiLoggingKey","LOG_PII_CACHE_KEY","piiLoggingEnabled","loggerOptions","__spreadValues","logLevel","Logger","name","version","StandardOperatingContext","BaseOperatingContext","__async","DatabaseStorage","DB_NAME","DB_VERSION","DB_TABLE_NAME","__async","resolve","reject","openDB","e","event","createBrowserAuthError","databaseUnavailable","db","key","databaseNotOpen","dbGet","payload","dbPut","dbDelete","dbGetKeys","dbContainsKey","deleteDbRequest","id","MemoryStorage","__async","key","value","cacheKeys","AsyncMemoryStorage","logger","MemoryStorage","DatabaseStorage","error","BrowserAuthError","databaseUnavailable","key","__async","item","e","value","cacheKeys","containsKey","dbDeleted","CryptoOps","logger","performanceClient","skipValidateSubtleCrypto","validateCryptoAvailable","AsyncMemoryStorage","createNewGuid","input","base64Encode","base64Decode","urlEncode","inputKid","request","__async","publicKeyThumbMeasurement","PerformanceEvents","keyPair","generateKeyPair","publicKeyJwk","exportJwk","pubKeyThumprintObj","publicJwkString","getSortedObjectString","publicJwkHash","privateKeyJwk","unextractablePrivateKey","importJwk","kid","payload","shrOptions","correlationId","signJwtMeasurement","cachedKeyPair","createBrowserAuthError","cryptoKeyNotFound","publicKeyJwkString","encodedKeyIdThumbprint","shrHeader","JoseHeader","__spreadProps","__spreadValues","encodedShrHeader","encodedPayload","tokenString","tokenBuffer","signatureBuffer","sign","encodedSignature","urlEncodeArr","signedJwt","plainText","hashString","obj","COOKIE_LIFE_MULTIPLIER","SameSiteOptions","CookieStorage","key","name","cookieList","cookie","rest","value","createClientAuthError","ClientAuthErrorCodes_exports","cookieLifeDays","secure","sameSite","cookieStr","expireTime","getCookieExpirationTime","__async","keys","cookieParts","today","getAccountKeys","storage","accountKeys","StaticCacheKeys","getTokenKeys","clientId","item","tokenKeys","ENCRYPTION_KEY","BROADCAST_CHANNEL_NAME","LocalStorage","clientId","logger","performanceClient","createBrowserConfigurationAuthError","storageNotSupported","MemoryStorage","correlationId","__async","cookies","CookieStorage","cookieString","parsedCookie","baseKey","invoke","base64DecToArr","PerformanceEvents","invokeAsync","generateHKDF","id","createNewGuid","generateBaseKey","keyStr","urlEncodeArr","cookieData","SameSiteOptions","key","createBrowserAuthError","uninitializedPublicClientApplication","value","data","nonce","encrypt","encryptedData","getAccountKeys","tokenKeys","getTokenKeys","cacheKey","Constants","accountKeys","StaticCacheKeys","rawCache","encObj","decrypt","arr","importedArr","promiseArr","promise","context","event","perfMeasurement","SessionStorage","createBrowserConfigurationAuthError","storageNotSupported","__async","key","value","extractBrowserRequestState","browserCrypto","state","ProtocolUtils","createClientAuthError","ClientAuthErrorCodes_exports","EventType","BrowserCacheManager","_BrowserCacheManager","CacheManager","clientId","cacheConfig","cryptoImpl","logger","performanceClient","eventHandler","staticAuthorityOptions","MemoryStorage","getStorageImplementation","CookieStorage","correlationId","__async","jsonValue","parsedJson","accountKey","serializedAccount","parsedAccount","AccountEntity","account","key","invokeAsync","PerformanceEvents","wasAdded","BrowserCacheLocation","EventType","getAccountKeys","accountKeys","StaticCacheKeys","removalIndex","__superGet","CredentialType","getTokenKeys","type","tokenKeys","createClientAuthError","ClientAuthErrorCodes_exports","idRemoval","accessRemoval","refreshRemoval","idTokenKey","value","parsedIdToken","CacheHelpers_exports","idToken","accessTokenKey","parsedAccessToken","accessToken","refreshTokenKey","parsedRefreshToken","refreshToken","appMetadataKey","parsedMetadata","appMetadata","serverTelemetryKey","parsedEntity","serverTelemetry","wrapperSKU","wrapperVersion","InMemoryCacheKeys","sku","Constants","version","entity","activeAccountKeyFilters","PersistentCacheKeys","activeAccountValueFilters","activeAccountValueObj","activeAccountKey","activeAccountValue","throttlingCacheKey","parsedThrottlingCache","throttlingCache","cacheKey","generateKey","itemCookie","item","removedAccessTokens","credential","StringUtils","stateString","stateId","ProtocolUtils","TemporaryCacheKeys","cachedState","stateCacheKey","state","authorityCacheKey","nonce","authorityInstance","loginHint","nonceCacheKey","ccsCredential","CcsCredentialType","stateKey","interactionType","stateValue","parsedState","extractBrowserRequestState","authCodeRequest","encodedValue","base64Encode","encodedTokenRequest","createBrowserAuthError","noTokenRequestCacheError","parsedRequest","base64Decode","e","unableToParseTokenRequestCacheError","cachedAuthority","noCachedAuthorityError","cachedRequest","matchClientId","inProgress","interactionInProgress","result","request","idTokenEntity","claimsHash","accessTokenEntity","cacheRecord","storeInCache","CacheError","cacheLocation","LocalStorage","SessionStorage","DEFAULT_BROWSER_CACHE_MANAGER","cacheOptions","DEFAULT_CRYPTO_IMPLEMENTATION","getAllAccounts","logger","browserStorage","isInBrowser","accountFilter","getAccount","account","getAccountByUsername","username","getAccountByHomeId","homeAccountId","getAccountByLocalId","localAccountId","setActiveAccount","getActiveAccount","BROADCAST_CHANNEL_NAME","EventHandler","logger","Logger","callback","eventTypes","callbackId","id","createGuid","eventType","interactionType","payload","error","message","EventType","event","BaseInteractionClient","config","storageImpl","browserCrypto","logger","eventHandler","navigationClient","performanceClient","nativeMessageHandler","correlationId","createNewGuid","BrowserConstants","version","account","__async","AccountEntity","requestRedirectUri","redirectUri","UrlString","getCurrentUri","apiId","forceRefresh","telemetryPayload","ServerTelemetryManager","params","instanceAwareEQ","PerformanceEvents","authorityOptions","resolvedAuthority","resolvedInstanceAware","userAuthority","builtAuthority","Authority","discoveredAuthority","invokeAsync","AuthorityFactory_exports","createClientConfigurationError","ClientConfigurationErrorCodes_exports","RANDOM_BYTE_ARR_LENGTH","generatePkceCodes","performanceClient","logger","correlationId","__async","PerformanceEvents","codeVerifier","invoke","generateCodeVerifier","codeChallenge","invokeAsync","generateCodeChallengeFromVerifier","buffer","getRandomValues","urlEncodeArr","createBrowserAuthError","pkceNotCreated","pkceCodeVerifier","pkceHashedCodeVerifier","sha256Digest","initializeBaseRequest","request","config","performanceClient","logger","__async","PerformanceEvents","authority","scopes","validatedRequest","__spreadProps","__spreadValues","AuthenticationScheme","createClientConfigurationError","ClientConfigurationErrorCodes_exports","StringUtils","hashString","initializeSilentRequest","account","baseRequest","invokeAsync","StandardInteractionClient","BaseInteractionClient","request","pkceCodes","__async","PerformanceEvents","generatedPkceParams","invokeAsync","generatePkceCodes","authCodeRequest","__spreadProps","__spreadValues","Constants","logoutRequest","validLogoutRequest","createNewGuid","logoutHint","UrlString","getCurrentUri","account","idTokenClaims","params","clientConfig","AuthorizationCodeClient","serverTelemetryManager","requestAuthority","requestAzureCloudOptions","requestExtraQueryParameters","discoveredAuthority","logger","BrowserConstants","version","interactionType","redirectUri","browserState","state","ProtocolUtils","baseRequest","initializeBaseRequest","validatedRequest","contentError","userSwitch","USER_INTERACTION_REQUIRED","USER_CANCEL","NO_NETWORK","PERSISTENT_ERROR","DISABLED","ACCOUNT_UNAVAILABLE","INVALID_METHOD_ERROR","NativeAuthErrorMessages","userSwitch","NativeAuthError","_NativeAuthError","AuthError","errorCode","description","ext","isFatalNativeAuthError","error","PERSISTENT_ERROR","DISABLED","contentError","createNativeAuthError","code","ACCOUNT_UNAVAILABLE","createInteractionRequiredAuthError","InteractionRequiredAuthErrorCodes_exports","USER_INTERACTION_REQUIRED","InteractionRequiredAuthError","USER_CANCEL","createBrowserAuthError","userCancelled","NO_NETWORK","noNetworkConnectivity","SilentCacheClient","StandardInteractionClient","silentRequest","__async","PerformanceEvents","serverTelemetryManager","ApiId","clientConfig","invokeAsync","silentAuthClient","SilentFlowClient","authResponse","error","BrowserAuthError","cryptoKeyNotFound","logoutRequest","validLogoutRequest","NativeInteractionClient","BaseInteractionClient","config","browserStorage","browserCrypto","logger","eventHandler","navigationClient","apiId","performanceClient","provider","accountId","nativeStorageImpl","correlationId","SilentCacheClient","extensionName","NativeConstants","ServerTelemetryManager","BrowserConstants","version","request","__spreadProps","__spreadValues","AADServerParamKeys_exports","__async","PerformanceEvents","nativeATMeasurement","reqTimestamp","TimeUtils_exports","serverTelemetryManager","nativeRequest","result","nativeTokenRequest","__objRest","messageBody","NativeExtensionMethod","response","validatedResponse","error","e","NativeAuthError","cachedAccount","ScopeSet","nativeAccountId","createClientAuthError","ClientAuthErrorCodes_exports","account","silentRequest","fullAccount","rootMeasurement","remainingParameters","isFatalNativeAuthError","TemporaryCacheKeys","navigationOptions","ApiId","redirectUri","cachedRequest","_a","prompt","res","idTokenClaims","AuthToken_exports","base64Decode","homeAccountIdentifier","cachedhomeAccountId","createNativeAuthError","userSwitch","authority","baseAccount","buildAccountToCache","AccountEntity","Constants","AuthorityType","AuthenticationScheme","popTokenGenerator","PopTokenGenerator","shrParameters","accountEntity","mats","responseScopes","accountProperties","uid","tid","accountInfo","updateAccountTenantProfileData","responseAccessToken","tokenType","tenantId","cachedIdToken","CacheHelpers_exports","expiresIn","tokenExpirationSeconds","cachedAccessToken","nativeCacheRecord","createAuthError","AuthErrorCodes_exports","requestAuthority","canonicalAuthority","UrlString","scopes","remainingProperties","scopeSet","OIDC_DEFAULT_SCOPES","getPrompt","PromptValue","createBrowserAuthError","nativePromptNotSupported","validatedRequest","invalidPopTokenRequest","reqCnfData","generatedReqCnfData","invokeAsync","hasExtraBrokerParams","child_client_id","child_redirect_uri","NativeMessageHandler","_NativeMessageHandler","logger","handshakeTimeoutMs","performanceClient","extensionId","PerformanceEvents","body","__async","req","NativeConstants","createNewGuid","resolve","reject","preferredProvider","backupProvider","NativeExtensionMethod","event","createBrowserAuthError","nativeHandshakeTimeout","request","handshakeResolver","nativeExtensionNotInstalled","resolver","method","response","createNativeAuthError","createAuthError","AuthErrorCodes_exports","err","config","nativeExtensionProvider","authenticationScheme","AuthenticationScheme","InteractionHandler","authCodeModule","storageImpl","authCodeRequest","logger","performanceClient","response","request","__async","PerformanceEvents","authCodeResponse","e","ServerError","userCancelled","createBrowserAuthError","invokeAsync","validateNonce","ccsCred","CcsCredentialType","deserializeResponse","responseString","responseLocation","logger","serverParams","UrlUtils_exports","createBrowserAuthError","hashDoesNotContainKnownProperties","hashEmptyError","validateInteractionType","response","browserCrypto","interactionType","noStateInHash","platformStateObj","extractBrowserRequestState","unableToParseState","stateInteractionTypeMismatch","PopupClient","StandardInteractionClient","config","storageImpl","browserCrypto","logger","eventHandler","navigationClient","performanceClient","nativeStorageImpl","nativeMessageHandler","correlationId","request","pkceCodes","popupParams","OIDC_DEFAULT_SCOPES","e","logoutRequest","validLogoutRequest","authority","mainWindowRedirectUri","__async","serverTelemetryManager","ApiId","validRequest","invokeAsync","PerformanceEvents","InteractionType","preconnect","authCodeRequest","authClient","isPlatformBroker","NativeMessageHandler","fetchNativeAccountIdMeasurement","navigateUrl","__spreadProps","__spreadValues","interactionHandler","InteractionHandler","popupWindow","EventType","responseString","serverParams","invoke","deserializeResponse","ThrottlingUtils","createBrowserAuthError","nativeConnectionNotEstablished","nativeInteractionClient","NativeInteractionClient","userRequestState","ProtocolUtils","AuthError","requestAuthority","ProtocolMode","navigationOptions","absoluteUrl","UrlString","getCurrentUri","logoutUri","requestUrl","params","emptyNavigateUri","popupWindowParent","resolve","reject","intervalId","userCancelled","href","responseType","ServerResponseType","urlNavigate","emptyWindowError","popupWindowError","popupName","popupWindowAttributes","winLeft","winTop","winWidth","winHeight","width","height","top","left","BrowserConstants","scopes","homeAccountId","RedirectHandler","authCodeModule","storageImpl","authCodeRequest","logger","performanceClient","requestUrl","params","__async","TemporaryCacheKeys","navigationOptions","ApiId","createBrowserAuthError","emptyNavigateUri","response","state","stateKey","requestState","createClientAuthError","ClientAuthErrorCodes_exports","authCodeResponse","e","ServerError","userCancelled","nonceKey","cachedNonce","invokeAsync","PerformanceEvents","cachedCcsCred","tokenResponse","getNavigationType","navigationEntries","RedirectClient","StandardInteractionClient","config","storageImpl","browserCrypto","logger","eventHandler","navigationClient","performanceClient","nativeStorageImpl","nativeMessageHandler","correlationId","request","__async","validRequest","invokeAsync","PerformanceEvents","InteractionType","serverTelemetryManager","ApiId","handleBackButton","event","EventType","authCodeRequest","authClient","interactionHandler","RedirectHandler","navigateUrl","__spreadProps","__spreadValues","NativeMessageHandler","redirectStartPage","e","AuthError","hash","parentMeasurement","serverParams","responseString","loginRequestUrl","TemporaryCacheKeys","Constants","loginRequestUrlNormalized","UrlString","currentUrlNormalized","replaceHash","isInIframe","navigationOptions","processHashOnRedirect","homepage","getHomepage","userProvidedResponse","ServerResponseType","response","UrlUtils_exports","validateInteractionType","clearHash","cachedHash","state","createBrowserAuthError","noStateInHash","cachedRequest","nativeConnectionNotEstablished","nativeInteractionClient","NativeInteractionClient","userRequestState","ProtocolUtils","currentAuthority","noCachedAuthorityError","ThrottlingUtils","logoutRequest","validLogoutRequest","ProtocolMode","logoutUri","requestStartPage","getCurrentUri","initiateAuthRequest","requestUrl","performanceClient","logger","correlationId","navigateFrameWait","__async","PerformanceEvents","createBrowserAuthError","emptyNavigateUri","invokeAsync","loadFrame","invoke","loadFrameSync","monitorIframeForHash","iframe","timeout","pollIntervalMilliseconds","responseType","resolve","reject","DEFAULT_IFRAME_TIMEOUT_MS","timeoutId","intervalId","monitorWindowTimeout","href","contentWindow","responseString","ServerResponseType","removeHiddenIframe","urlNavigate","frameHandle","createHiddenIframe","authFrame","SilentIframeClient","StandardInteractionClient","config","storageImpl","browserCrypto","logger","eventHandler","navigationClient","apiId","performanceClient","nativeStorageImpl","nativeMessageHandler","correlationId","request","__async","PerformanceEvents","inputRequest","__spreadValues","PromptValue","silentRequest","invokeAsync","InteractionType","preconnect","serverTelemetryManager","authClient","e","AuthError","BrowserConstants","retrySilentRequest","createBrowserAuthError","silentLogoutUnsupported","authCodeRequest","navigateUrl","__spreadProps","NativeMessageHandler","interactionHandler","InteractionHandler","msalFrame","initiateAuthRequest","responseType","responseString","monitorIframeForHash","serverParams","invoke","deserializeResponse","nativeConnectionNotEstablished","nativeInteractionClient","NativeInteractionClient","userRequestState","ProtocolUtils","SilentRefreshClient","StandardInteractionClient","request","__async","PerformanceEvents","baseRequest","invokeAsync","initializeBaseRequest","silentRequest","__spreadValues","serverTelemetryManager","ApiId","refreshTokenClient","e","createBrowserAuthError","silentLogoutUnsupported","params","clientConfig","RefreshTokenClient","TokenCache","configuration","storage","logger","cryptoObj","request","response","options","__async","createBrowserAuthError","nonBrowserEnvironment","correlationId","createNewGuid","idTokenClaims","AuthToken_exports","base64Decode","authorityOptions","authority","Authority","cacheRecordAccount","idToken","accessToken","refreshToken","clientInfo","accountEntity","AccountEntity","unableToLoadToken","homeAccountId","claimsTenantId","cachedAccount","buildAccountToCache","environment","tenantId","idTokenEntity","CacheHelpers_exports","scopes","ScopeSet","expiresOn","extendedExpiresOn","accessTokenEntity","refreshTokenEntity","cacheRecord","responseScopes","extExpiresOn","HybridSpaAuthorizationCodeClient","AuthorizationCodeClient","config","SilentAuthCodeClient","StandardInteractionClient","config","storageImpl","browserCrypto","logger","eventHandler","navigationClient","apiId","performanceClient","nativeMessageHandler","correlationId","request","__async","createBrowserAuthError","authCodeRequired","silentRequest","invokeAsync","PerformanceEvents","InteractionType","serverTelemetryManager","authCodeRequest","__spreadProps","__spreadValues","clientConfig","authClient","HybridSpaAuthorizationCodeClient","interactionHandler","InteractionHandler","e","AuthError","silentLogoutUnsupported","getAccountType","account","idTokenClaims","preflightCheck","initialized","performanceEvent","StandardController","_StandardController","operatingContext","CryptoOps","DEFAULT_CRYPTO_IMPLEMENTATION","EventHandler","BrowserCacheManager","buildStaticAuthorityOptions","DEFAULT_BROWSER_CACHE_MANAGER","nativeCacheOptions","BrowserCacheLocation","TokenCache","request","__async","controller","correlationId","EventType","initCorrelationId","allowPlatformBroker","initMeasurement","PerformanceEvents","invokeAsync","NativeMessageHandler","e","hash","blockAPICallsBeforeInitialize","redirectResponseKey","response","loggedInAccounts","useNative","TemporaryCacheKeys","rootMeasurement","InteractionType","redirectResponse","nativeClient","NativeInteractionClient","ApiId","redirectClient","result","eventError","atrMeasurement","onRedirectNavigateCb","url","navigate","configOnRedirectNavigateCb","isLoggedIn","redirectPreflightCheck","NativeAuthError","isFatalNativeAuthError","InteractionRequiredAuthError","atPopupMeasurement","pkce","__spreadProps","__spreadValues","measurement","validRequest","atbcMeasurement","createBrowserAuthError","spaCodeAndNativeAccountIdPresent","hybridAuthCode","error","unableToAcquireTokenFromNativePlatform","authCodeOrNativeAccountIdRequired","tokenRenewalError","commonRequest","cacheLookupPolicy","CacheLookupPolicy","silentCacheClient","createClientAuthError","ClientAuthErrorCodes_exports","silentRefreshClient","silentIframeClient","logoutRequest","accountFilter","getAllAccounts","getAccount","username","getAccountByUsername","homeAccountId","getAccountByHomeId","localAccountId","getAccountByLocalId","setActiveAccount","getActiveAccount","accountEntity","AccountEntity","apiId","accountId","nativeConnectionNotEstablished","PromptValue","PopupClient","RedirectClient","SilentIframeClient","SilentCacheClient","SilentRefreshClient","SilentAuthCodeClient","callback","eventTypes","callbackId","blockNonBrowserEnvironment","logger","sku","version","navigationClient","createNewGuid","Constants","DEFAULT_REQUEST","atsMeasurement","noAccountError","thumbprint","silentRequestKey","cachedResponse","trackPageVisibility","silentRequest","initializeSilentRequest","refreshTokenError","checkIfRefreshTokenErrorCanBeResolvedSilently","activePromise","activeCorrelationId","awaitConcurrentIframeMeasure","activePromiseResult","_resolve","resolve","iframeResult","cacheError","generatePkceCodes","res","noInteractionRequired","InteractionRequiredAuthErrorCodes_exports","refreshTokenRefreshRequired","BrowserConstants","isSilentlyResolvable","tryIframeRenewal","iFrameRenewalPolicies","createV3Controller","config","request","__async","standard","StandardOperatingContext","StandardController","PublicClientApplication","_PublicClientApplication","configuration","__async","controller","createV3Controller","StandardController","StandardOperatingContext","request","silentRequest","callback","eventTypes","callbackId","accountFilter","homeAccountId","localId","userName","hash","logoutRequest","logger","account","sku","version","navigationClient","result","EventMessageUtils","message","currentStatus","EventType","InteractionStatus","InteractionType","PRIMARY_OUTLET","RouteTitleKey","ParamsAsMap","params","name","v","convertToParamMap","defaultUrlMatcher","segments","segmentGroup","route","parts","posParams","index","part","segment","shallowEqualArrays","a","b","i","shallowEqual","k1","getDataKeys","k2","key","equalArraysOrString","obj","aSorted","bSorted","val","last","wrapIntoObservable","value","isObservable","isPromise","from","of","pathCompareMap","equalSegmentGroups","containsSegmentGroup","paramCompareMap","equalParams","containsParams","containsTree","container","containee","options","matrixParams","equalPath","matrixParamsMatch","c","containsSegmentGroupHelper","containeePaths","current","next","containerPaths","containeeSegment","UrlTree","root","UrlSegmentGroup","queryParams","fragment","DEFAULT_SERIALIZER","children","serializePaths","UrlSegment","path","parameters","serializePath","equalSegments","as","bs","mapChildrenIntoArray","fn","res","childOutlet","child","UrlSerializer","__ngFactoryType__","ɵɵdefineInjectable","DefaultUrlSerializer","url","p","UrlParser","tree","serializeSegment","query","serializeQueryParams","encodeUriFragment","primary","k","encodeUriString","s","encodeUriQuery","encodeUriSegment","decode","decodeQuery","serializeMatrixParams","strParams","SEGMENT_RE","matchSegments","str","match","MATRIX_PARAM_SEGMENT_RE","matchMatrixKeySegments","QUERY_PARAM_RE","matchQueryParams","QUERY_PARAM_VALUE_RE","matchUrlQueryParamValue","RuntimeError","valueMatch","decodedKey","decodedVal","currentVal","allowPrimary","outletName","createRoot","rootCandidate","squashSegmentGroup","newChildren","childCandidate","grandChildOutlet","grandChild","mergeTrivialChildren","isUrlTree","createUrlTreeFromSnapshot","relativeTo","commands","relativeToUrlSegmentGroup","createSegmentGroupFromRoute","createUrlTreeFromSegmentGroup","targetGroup","createSegmentGroupFromRouteRecursive","currentRoute","childOutlets","childSnapshot","rootSegmentGroup","nav","computeNavigation","position","findStartingPositionForTargetGroup","newSegmentGroup","updateSegmentGroupChildren","updateSegmentGroup","isMatrixParams","command","isCommandWithOutlets","oldRoot","oldSegmentGroup","qp","replaceSegment","newRoot","oldSegment","newSegment","Navigation","isAbsolute","numberOfDoubleDots","cmdWithOutlet","cmd","cmdIdx","outlets","urlPart","partIndex","Position","processChildren","target","modifier","createPositionApplyingDoubleDots","group","g","ci","dd","getOutlets","startIndex","m","prefixedWith","slicedCommands","createNewSegmentGroup","childrenOfEmptyChild","outlet","currentCommandIndex","currentPathIndex","noMatch","curr","compare","paths","createNewSegmentChildren","stringify","IMPERATIVE_NAVIGATION","EventType","RouterEvent","id","NavigationStart","navigationTrigger","restoredState","NavigationEnd","urlAfterRedirects","NavigationCancellationCode","NavigationSkippedCode","NavigationCancel","reason","code","NavigationSkipped","NavigationError","error","RoutesRecognized","state","GuardsCheckStart","GuardsCheckEnd","shouldActivate","ResolveStart","ResolveEnd","RouteConfigLoadStart","RouteConfigLoadEnd","ChildActivationStart","snapshot","ChildActivationEnd","ActivationStart","ActivationEnd","Scroll","routerEvent","anchor","pos","BeforeActivateRoutes","RedirectRequest","navigationBehaviorOptions","getOrCreateRouteInjectorIfNeeded","route","currentInjector","createEnvironmentInjector","getOutlet","route","PRIMARY_OUTLET","sortByMatchingOutlets","routes","outletName","sortedConfig","getClosestRouteInjector","snapshot","s","OutletContext","rootInjector","ChildrenOutletContexts","childName","outlet","context","contexts","__ngFactoryType__","ɵɵinject","EnvironmentInjector","ɵɵdefineInjectable","Tree","root","t","p","n","findNode","findPath","c","cc","value","node","child","path","TreeNode","children","nodeChildrenAsMap","map","RouterState","setRouterState","createEmptyState","rootComponent","createEmptyStateSnapshot","emptyUrl","BehaviorSubject","UrlSegment","emptyParams","emptyData","emptyQueryParams","fragment","activated","ActivatedRoute","ActivatedRouteSnapshot","RouterStateSnapshot","urlSubject","paramsSubject","queryParamsSubject","fragmentSubject","dataSubject","component","futureSnapshot","d","RouteTitleKey","of","convertToParamMap","getInherited","parent","paramsInheritanceStrategy","inherited","routeConfig","__spreadValues","hasStaticTitle","url","params","queryParams","data","resolve","segment","matched","serializeNode","state","advanceActivatedRoute","currentSnapshot","nextSnapshot","shallowEqual","shallowEqualArrays","equalParamsAndUrlSegments","a","b","equalUrlParams","equalSegments","parentsMismatch","config","ROUTER_OUTLET_DATA","InjectionToken","RouterOutlet","EventEmitter","input","inject","ViewContainerRef","ChangeDetectorRef","INPUT_BINDER","changes","firstChange","previousValue","RuntimeError","cmp","ref","activatedRoute","environmentInjector","location","childContexts","injector","OutletInjector","ɵɵdefineDirective","ɵɵNgOnChangesFeature","_OutletInjector","parentInjector","outletData","token","notFoundValue","RoutedComponentInputBinder","dataSubscription","combineLatest","switchMap","index","mirror","reflectComponentType","templateName","createRouterState","routeReuseStrategy","curr","prevState","createNode","createOrReuseChildren","detachedRouteHandle","tree","createActivatedRoute","RedirectCommand","redirectTo","navigationBehaviorOptions","NAVIGATION_CANCELING_ERROR","redirectingNavigationError","urlSerializer","redirect","isUrlTree","error","navigationCancelingError","NavigationCancellationCode","message","code","isRedirectingNavigationCancelingError","isNavigationCancelingError","activateRoutes","rootContexts","routeReuseStrategy","forwardEvent","inputBindingEnabled","map","t","ActivateRoutes","futureState","currState","parentContexts","futureRoot","currRoot","advanceActivatedRoute","futureNode","currNode","contexts","children","nodeChildrenAsMap","futureChild","childOutletName","v","parentContext","future","curr","context","route","treeNode","componentRef","c","ActivationEnd","ChildActivationEnd","stored","CanActivate","path","CanDeactivate","component","getAllRouteGuards","getChildRouteGuards","getCanActivateChild","p","canActivateChild","getTokenOrFunctionIdentity","tokenOrFunction","injector","NOT_FOUND","result","isInjectable","futurePath","checks","prevChildren","getRouteGuards","k","deactivateRouteAndItsChildren","shouldRun","shouldRunGuardsAndResolvers","mode","equalPath","shallowEqual","equalParamsAndUrlSegments","r","childName","node","isFunction","isBoolean","isCanLoad","guard","isCanActivate","isCanActivateChild","isCanDeactivate","isCanMatch","isEmptyError","e","EmptyError","INITIAL_VALUE","prioritizedGuardValue","switchMap","obs","combineLatest","o","take","startWith","results","isRedirect","filter","item","val","isUrlTree","RedirectCommand","checkGuards","mergeMap","targetSnapshot","currentSnapshot","canActivateChecks","canDeactivateChecks","of","__spreadProps","__spreadValues","runCanDeactivateChecks","canDeactivate","runCanActivateChecks","guardsResult","futureRSS","currRSS","from","check","runCanDeactivate","first","futureSnapshot","concatMap","concat","fireChildActivationStart","fireActivationStart","runCanActivateChild","runCanActivate","snapshot","ActivationStart","ChildActivationStart","futureARS","canActivate","canActivateObservables","defer","closestInjector","getClosestRouteInjector","guardVal","runInInjectionContext","wrapIntoObservable","canActivateChildGuardsMapped","_","d","guardsMapped","currARS","canDeactivateObservables","runCanLoadGuards","segments","urlSerializer","canLoad","canLoadObservables","injectionToken","redirectIfUrlTree","pipe","tap","redirectingNavigationError","runCanMatchGuards","canMatch","canMatchObservables","NoMatch","segmentGroup","AbsoluteRedirect","urlTree","noMatch$1","throwError","namedOutletsRedirect","redirectTo","throwError","RuntimeError","canLoadFails","route","navigationCancelingError","NavigationCancellationCode","ApplyRedirects","urlSerializer","urlTree","res","c","of","PRIMARY_OUTLET","segments","posParams","currentSnapshot","injector","redirectToFn","queryParams","fragment","routeConfig","url","outlet","params","data","title","newRedirect","runInInjectionContext","UrlTree","AbsoluteRedirect","newTree","newRoot","redirectToParams","actualParams","k","v","sourceName","group","updatedSegments","children","name","child","UrlSegmentGroup","redirectToSegments","actualSegments","s","redirectToUrlSegment","pos","idx","noMatch","matchWithChecks","segmentGroup","result","match","getOrCreateRouteInjectorIfNeeded","runCanMatchGuards","map","__spreadValues","createWildcardMatchResult","defaultUrlMatcher","parameters","last","split","consumedSegments","slicedSegments","config","containsEmptyPathMatchesWithNamedOutlets","createChildrenForEmptyPaths","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","routes","r","emptyPathMatch","getOutlet","primarySegment","noLeftoversInUrl","NoLeftoversInUrl","recognize$1","configLoader","rootComponentType","paramsInheritanceStrategy","Recognizer","MAX_ALLOWED_REDIRECTS","e","rootSegmentGroup","rootSnapshot","rootNode","TreeNode","routeState","RouterStateSnapshot","tree","createUrlTreeFromSnapshot","ActivatedRouteSnapshot","catchError","NoMatch","parentRoute","childOutlets","from","concatMap","childOutlet","sortedConfig","sortByMatchingOutlets","scan","outletChildren","defaultIfEmpty","mergeMap","noMatch$1","mergedChildren","mergeEmptyPathMatches","sortActivatedRouteSnapshots","allowRedirects","first","x","isEmptyError","rawSegment","matched","positionalParamSegments","remainingSegments","getData","getResolve","inherited","getInherited","newSegments","matchResult","switchMap","childConfig","childInjector","snapshot","matchedOnOutlet","runCanLoadGuards","shouldLoadResult","tap","cfg","nodes","a","b","hasEmptyPathConfig","node","mergedNodes","duplicateEmptyPathNode","resultNode","mergedNode","n","getData","route","getResolve","recognize","injector","configLoader","rootComponentType","config","serializer","paramsInheritanceStrategy","mergeMap","t","recognize$1","map","targetSnapshot","urlAfterRedirects","__spreadProps","__spreadValues","resolveData","canActivateChecks","of","routesWithResolversToRun","check","routesNeedingDataUpdates","newRoute","flattenRouteTree","routesProcessed","from","concatMap","runResolve","getInherited","tap","takeLast","_","EMPTY","descendants","child","futureARS","futureRSS","resolve","hasStaticTitle","RouteTitleKey","resolveNode","resolvedData","keys","getDataKeys","data","key","getResolver","first","value","RedirectCommand","redirectingNavigationError","DefaultUrlSerializer","catchError","e","isEmptyError","throwError","injectionToken","closestInjector","getClosestRouteInjector","resolver","getTokenOrFunctionIdentity","resolverValue","runInInjectionContext","wrapIntoObservable","switchTap","next","switchMap","v","nextResult","TitleStrategy","snapshot","pageTitle","PRIMARY_OUTLET","__ngFactoryType__","ɵɵdefineInjectable","inject","DefaultTitleStrategy","title","ɵɵinject","Title","ROUTER_CONFIGURATION","InjectionToken","ɵEmptyOutletComponent","ɵɵdefineComponent","rf","ctx","ɵɵelement","RouterOutlet","standardizeConfig","r","children","c","ROUTES","RouterConfigLoader","Compiler","loadRunner","maybeUnwrapDefaultExport","component","finalize","loader","ConnectableObservable","Subject","refCount","parentInjector","loadChildren","compiler","onLoadEndListener","NgModuleFactory$1","factoryOrRoutes","rawRoutes","requireStandaloneComponents","isWrappedDefaultExport","input","UrlHandlingStrategy","DefaultUrlHandlingStrategy","url","newUrlPart","wholeUrl","CREATE_VIEW_TRANSITION","VIEW_TRANSITION_OPTIONS","createViewTransition","to","transitionOptions","document","DOCUMENT","NgZone","resolveViewTransitionStarted","viewTransitionStarted","transition","createRenderPromise","onViewTransitionCreated","afterNextRender","NAVIGATION_ERROR_HANDLER","NavigationTransitions","EnvironmentInjector","DestroyRef","UrlSerializer","ChildrenOutletContexts","Location","INPUT_BINDER","onLoadStart","RouteConfigLoadStart","onLoadEnd","RouteConfigLoadEnd","request","id","router","initialUrlTree","initialRouterState","BehaviorSubject","IMPERATIVE_NAVIGATION","filter","overallTransitionState","completed","errored","NavigationCancellationCode","urlTransition","onSameUrlNavigation","reason","NavigationSkipped","NavigationSkippedCode","NavigationStart","routesRecognized","RoutesRecognized","extractedUrl","source","restoredState","extras","navStart","createEmptyState","guardsStart","GuardsCheckStart","getAllRouteGuards","checkGuards","evt","guardsEnd","GuardsCheckEnd","resolveStart","ResolveStart","dataResolved","resolveEnd","ResolveEnd","loadComponents","loaders","loadedComponent","combineLatest","defaultIfEmpty","take","currentSnapshot","targetRouterState","createRouterState","BeforeActivateRoutes","activateRoutes","NavigationEnd","takeUntil","err","isNavigationCancelingError","NavigationCancel","isRedirectingNavigationCancelingError","RedirectRequest","navigationError","NavigationError","navigationErrorHandlerResult","message","cancellationCode","ee","code","navCancel","currentBrowserUrl","targetBrowserUrl","isBrowserTriggeredNavigation","RouteReuseStrategy","DefaultRouteReuseStrategy","BaseRouteReuseStrategy","detachedTree","future","curr","ɵDefaultRouteReuseStrategy_BaseFactory","ɵɵgetInheritedFactory","StateManager","HistoryStateManager","UrlTree","listener","event","currentTransition","rawUrl","path","currentBrowserPageId","state","navigation","restoringFromCaughtError","targetPagePosition","navigationId","routerPageId","ɵHistoryStateManager_BaseFactory","afterNextNavigation","action","result","exactMatchOptions","subsetMatchOptions","Router","Console","PendingTasksInternal","Subscription","subscription","currentNavigation","opts","mergedTree","isPublicRouterEvent","stateCopy","urlTree","commands","navigationExtras","relativeTo","queryParams","fragment","queryParamsHandling","preserveFragment","f","q","relativeToUrlSegmentGroup","relativeToSnapshot","createSegmentGroupFromRoute","createUrlTreeFromSegmentGroup","isUrlTree","validateCommands","matchOptions","options","containsTree","params","priorPromise","reject","promise","res","rej","taskId","i","RuntimeError","RouterLink","tabIndexAttribute","renderer","el","locationStrategy","tagName","s","newTabIndex","changes","commandsOrUrlTree","button","ctrlKey","shiftKey","altKey","metaKey","sanitizedValue","ɵɵsanitizeUrlOrResourceUrl","attrName","attrValue","nativeElement","ɵɵdirectiveInject","ActivatedRoute","ɵɵinjectAttribute","Renderer2","ElementRef","LocationStrategy","ɵɵdefineDirective","ɵɵlistener","$event","ɵɵattribute","booleanAttribute","ɵɵNgOnChangesFeature","RouterLinkActive","EventEmitter","element","cdr","link","mergeAll","allLinkChanges","classes","hasActiveLinks","isActiveMatchOptions","isActiveCheckFn","ChangeDetectorRef","dirIndex","ɵɵcontentQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","PreloadingStrategy","RouterPreloader","router","compiler","injector","preloadingStrategy","loader","filter","NavigationEnd","concatMap","routes","res","route","createEnvironmentInjector","injectorForCurrentRoute","injectorForChildren","from","mergeAll","loadedChildren$","of","recursiveLoadChildren$","mergeMap","config","loadComponent$","__ngFactoryType__","ɵɵinject","Router","Compiler","EnvironmentInjector","PreloadingStrategy","RouterConfigLoader","ɵɵdefineInjectable","ROUTER_SCROLLER","InjectionToken","RouterScroller","urlSerializer","transitions","viewportScroller","zone","options","NavigationStart","NavigationSkipped","NavigationSkippedCode","Scroll","routerEvent","anchor","ɵɵinvalidFactory","rootRoute","router","routerFeature","kind","providers","getBootstrapListener","injector","inject","Injector","bootstrappedComponentRef","ref","ApplicationRef","router","Router","bootstrapDone","BOOTSTRAP_DONE","INITIAL_NAVIGATION","ROUTER_PRELOADER","InjectFlags","ROUTER_SCROLLER","InjectionToken","Subject","withEnabledBlockingInitialNavigation","routerFeature","APP_INITIALIZER","locationInitialized","LOCATION_INITIALIZED","resolve","afterNextNavigation","NavigationTransitions","of","withDisabledInitialNavigation","ROUTER_PRELOADER","InjectionToken","withPreloading","preloadingStrategy","routerFeature","RouterPreloader","PreloadingStrategy","withComponentInputBinding","routerFeature","RoutedComponentInputBinder","INPUT_BINDER","withViewTransitions","options","providers","CREATE_VIEW_TRANSITION","createViewTransition","VIEW_TRANSITION_OPTIONS","__spreadValues","ROUTER_PROVIDERS","Location","UrlSerializer","DefaultUrlSerializer","Router","ChildrenOutletContexts","ActivatedRoute","rootRoute","RouterConfigLoader","RouterModule","routes","config","ROUTES","NAVIGATION_ERROR_HANDLER","ROUTER_CONFIGURATION","provideHashLocationStrategy","providePathLocationStrategy","provideRouterScroller","withPreloading","provideInitialNavigation","withComponentInputBinding","withViewTransitions","provideRouterInitializer","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","ROUTER_SCROLLER","viewportScroller","inject","ViewportScroller","zone","NgZone","transitions","NavigationTransitions","urlSerializer","RouterScroller","LocationStrategy","HashLocationStrategy","PathLocationStrategy","provideInitialNavigation","config","withDisabledInitialNavigation","withEnabledBlockingInitialNavigation","ROUTER_INITIALIZER","InjectionToken","provideRouterInitializer","getBootstrapListener","APP_BOOTSTRAP_LISTENER","name","version","MSAL_INSTANCE","InjectionToken","MSAL_GUARD_CONFIG","MSAL_INTERCEPTOR_CONFIG","MSAL_BROADCAST_CONFIG","MsalService","instance","location","hash","WrapperSKU","from","request","silentRequest","logoutRequest","logger","__ngFactoryType__","ɵɵinject","Location","ɵɵdefineInjectable","MsalBroadcastService","msalInstance","authService","msalBroadcastConfig","ReplaySubject","Subject","BehaviorSubject","InteractionStatus","message","status","EventMessageUtils","MsalGuard","msalGuardConfig","msalBroadcastService","router","url","path","baseElements","baseUrl","pathUrl","state","authRequest","__spreadValues","InteractionType","map","response","redirectStartPage","BrowserConfigurationAuthError","UrlString","BrowserUtils_exports","of","currentPath","concatMap","urlContainsCode","fragmentContainsCode","hashRouting","catchError","error","route","Router","MsalInterceptor","msalInterceptorConfig","document","req","next","scopes","account","__spreadProps","switchMap","result","headers","requestClone","take","filter","EMPTY","endpoint","httpMethod","normalizedEndpoint","protectedResourcesArray","matchingProtectedResources","protectedResourcesEndpoints","matchingResources","key","normalizedKey","absoluteKey","keyComponents","absoluteEndpoint","endpointComponents","urlProperties","property","decodedInput","StringUtils","link","protectedResourceMap","endpointArray","allMatchedScopes","matchedEndpoint","scopesForEndpoint","methodAndScopesArray","entry","normalizedRequestMethod","scope","DOCUMENT","MsalRedirectComponent","ɵɵdirectiveInject","ɵɵdefineComponent","rf","ctx","toSignal","source","options","requiresCleanup","assertInInjectionContext","cleanupRef","DestroyRef","inject","equal","makeToSignalEqual","state","signal","sub","value","error","RuntimeError","computed","current","userEquality","a","b","REGISTERED_ACTION_TYPES","createAction","type","config","REGISTERED_ACTION_TYPES","defineType","args","__spreadProps","__spreadValues","props","defineType","type","creator","assertDefined","value","name","INIT","ActionsSubject","BehaviorSubject","action","__ngFactoryType__","ɵɵdefineInjectable","ACTIONS_SUBJECT_PROVIDERS","_ROOT_STORE_GUARD","InjectionToken","_INITIAL_STATE","INITIAL_STATE","REDUCER_FACTORY","_REDUCER_FACTORY","INITIAL_REDUCERS","_INITIAL_REDUCERS","STORE_FEATURES","_STORE_REDUCERS","_FEATURE_REDUCERS","_FEATURE_CONFIGS","_STORE_FEATURES","_FEATURE_REDUCERS_TOKEN","FEATURE_REDUCERS","USER_PROVIDED_META_REDUCERS","META_REDUCERS","_RESOLVED_META_REDUCERS","USER_RUNTIME_CHECKS","_USER_RUNTIME_CHECKS","ACTIVE_RUNTIME_CHECKS","_ACTION_TYPE_UNIQUENESS_CHECK","ROOT_STORE_PROVIDER","FEATURE_STATE_PROVIDER","combineReducers","reducers","initialState","reducerKeys","finalReducers","i","key","finalReducerKeys","state","hasChanged","nextState","reducer","previousStateForKey","nextStateForKey","omit","object","keyToRemove","result","compose","functions","arg","last","composed","fn","createReducerFactory","reducerFactory","metaReducers","createFeatureReducerFactory","r","ReducerObservable","Observable","ReducerManagerDispatcher","UPDATE","ReducerManager","dispatcher","feature","features","reducerDict","p","__spreadValues","featureKey","featureKeys","ɵɵinject","REDUCER_MANAGER_PROVIDERS","ScannedActionsSubject","Subject","ɵScannedActionsSubject_BaseFactory","ɵɵgetInheritedFactory","SCANNED_ACTIONS_SUBJECT_PROVIDERS","StateObservable","State","actions$","reducer$","scannedActions","withLatestReducer$","observeOn","queueScheduler","withLatestFrom","seed","stateAndAction$","scan","reduceState","toSignal","stateActionPair","STATE_PROVIDERS","Store","state$","actionsObserver","reducerManager","injector","pathOrMapFn","paths","select","selector","options","computed","operator","store","actionOrDispatchFn","config","err","dispatchFn","assertDefined","effectInjector","getCallerInjector","effect","untracked","Injector","STORE_PROVIDERS","propsOrPath","source$","mapped$","pathSlices","pluck","map","source","distinctUntilChanged","inject","RUNTIME_CHECK_URL","isUndefined","target","isNull","isArray","isString","isBoolean","isNumber","isObjectLike","isObject","isPlainObject","targetPrototype","isFunction","isComponent","hasOwnProperty","propertyName","_ngrxMockEnvironment","isNgrxMockEnvironment","_ngrxMockEnvironment","isEqualCheck","a","b","isArgumentsChanged","args","lastArguments","comparator","i","defaultMemoize","projectionFn","isArgumentsEqual","isEqualCheck","isResultEqual","lastArguments","lastResult","overrideResult","reset","setResult","result","clearResult","memoized","isArgumentsChanged","newResult","createSelector","input","createSelectorFactory","defaultStateFn","state","selectors","props","memoizedProjector","args","fn","memoize","options","head","tail","isSelectorsDictionary","extractArgsFromSelectorsDictionary","projector","memoizedSelectors","selector","memoizedState","release","createFeatureSelector","featureName","featureState","isNgrxMockEnvironment","isDevMode","selectorsDictionary","resultKeys","selectorResults","key","index","__spreadProps","__spreadValues","_createStoreReducers","reducers","InjectionToken","inject","_createFeatureStore","configs","featureStores","feat","index","conf","combineReducers","_createFeatureReducers","reducerCollection","reducer","_initialStateFactory","initialState","_concatMetaReducers","metaReducers","userProvidedMetaReducers","_provideForRootGuard","Store","immutabilityCheckMetaReducer","checks","state","action","act","freeze","nextState","target","targetIsFunction","isFunction","prop","hasOwnProperty","propValue","isObjectLike","serializationCheckMetaReducer","unserializableAction","getUnserializable","throwIfUnserializable","unserializableState","path","isUndefined","isNull","result","key","value","isComponent","isNumber","isBoolean","isString","isArray","isPlainObject","unserializable","context","unserializablePath","error","RUNTIME_CHECK_URL","inNgZoneAssertMetaReducer","NgZone","createActiveRuntimeChecks","runtimeChecks","isDevMode","__spreadValues","createSerializationCheckMetaReducer","strictActionSerializability","strictStateSerializability","ignoreNgrxAction","createImmutabilityCheckMetaReducer","strictActionImmutability","strictStateImmutability","createInNgZoneCheckMetaReducer","strictActionWithinNgZone","provideRuntimeChecks","_USER_RUNTIME_CHECKS","USER_RUNTIME_CHECKS","_runtimeChecksFactory","ACTIVE_RUNTIME_CHECKS","META_REDUCERS","checkForActionTypeUniqueness","_ACTION_TYPE_UNIQUENESS_CHECK","_actionTypeUniquenessCheck","config","duplicates","REGISTERED_ACTION_TYPES","registrations","type","_provideStore","reducers","config","_ROOT_STORE_GUARD","_provideForRootGuard","_INITIAL_STATE","INITIAL_STATE","_initialStateFactory","_INITIAL_REDUCERS","_STORE_REDUCERS","InjectionToken","INITIAL_REDUCERS","Inject","_createStoreReducers","USER_PROVIDED_META_REDUCERS","_RESOLVED_META_REDUCERS","META_REDUCERS","_concatMetaReducers","_REDUCER_FACTORY","combineReducers","REDUCER_FACTORY","createReducerFactory","ACTIONS_SUBJECT_PROVIDERS","REDUCER_MANAGER_PROVIDERS","SCANNED_ACTIONS_SUBJECT_PROVIDERS","STATE_PROVIDERS","STORE_PROVIDERS","provideRuntimeChecks","checkForActionTypeUniqueness","_provideState","featureNameOrSlice","reducers","config","_FEATURE_CONFIGS","STORE_FEATURES","InjectionToken","combineReducers","_STORE_FEATURES","_createFeatureStore","_FEATURE_REDUCERS","_FEATURE_REDUCERS_TOKEN","FEATURE_REDUCERS","Inject","_createFeatureReducers","checkForActionTypeUniqueness","StoreRootModule","actions$","reducer$","scannedActions$","store","guard","actionCheck","__ngFactoryType__","ɵɵinject","ActionsSubject","ReducerObservable","ScannedActionsSubject","Store","_ROOT_STORE_GUARD","_ACTION_TYPE_UNIQUENESS_CHECK","ɵɵdefineNgModule","ɵɵdefineInjector","StoreFeatureModule","features","featureReducers","reducerManager","root","feats","feature","index","__spreadProps","__spreadValues","_initialStateFactory","ReducerManager","StoreModule","_provideStore","on","args","reducer","types","creator","createReducer","initialState","ons","map","type","existingReducer","newReducer","state","action","SetValueAction","controlId","value","SetErrorsAction","errors","SetAsyncErrorAction","name","ClearAsyncErrorAction","StartAsyncValidationAction","MarkAsDirtyAction","MarkAsPristineAction","EnableAction","DisableAction","MarkAsTouchedAction","MarkAsUntouchedAction","FocusAction","UnfocusAction","MarkAsSubmittedAction","MarkAsUnsubmittedAction","AddArrayControlAction","index","AddGroupControlAction","RemoveArrayControlAction","SwapArrayControlAction","fromIndex","toIndex","MoveArrayControlAction","RemoveGroupControlAction","SetUserDefinedPropertyAction","ResetAction","isNgrxFormsAction","action","ALL_NGRX_FORMS_ACTION_TYPES","isBoxed","box","unbox","a","k","isEmpty","obj","defaultOptions","deepEquals","_1","_2","options","treatUndefinedAndMissingKeyAsSame","leftChain","rightChain","compare2Objects","x","y","p","isFormState","state","isArrayState","isGroupState","createChildState","id","childValue","createFormControlState","createFormArrayState","createFormGroupState","verifyFormControlValueIsValid","errorMsg","serialized","deserialized","getFormGroupValue","controls","originalValue","hasChanged","newValue","res","key","control","getFormGroupErrors","originalErrors","groupErrors","newErrors","controlErrors","computeGroupState","pendingValidations","userDefinedProperties","flags","isValid","isDirty","isEnabled","isTouched","isSubmitted","isValidationPending","initialValue","getFormArrayValue","i","getFormArrayErrors","computeArrayState","inferredControls","clearAsyncErrorReducer$2","v","disableReducer$2","enableReducer$2","focusReducer","markAsDirtyReducer$2","markAsPristineReducer$2","markAsSubmittedReducer$2","markAsTouchedReducer$2","markAsUnsubmittedReducer$2","markAsUntouchedReducer$2","resetReducer$2","setAsyncErrorReducer$2","setErrorsReducer$2","asyncErrors","setUserDefinedPropertyReducer$2","setValueReducer$2","startAsyncValidationReducer$2","unfocusReducer","formControlReducerInternal","formControlReducer","dispatchActionPerChild$1","actionCreator","newControls","newState","formStateReducer","callChildReducers$1","childReducer$1","updateIdRecursiveForGroup","newId","agg","updateIdRecursive","updateIdRecursiveForArray","c","addControlReducer$1","clearAsyncErrorReducer$1","disableReducer$1","enableReducer$1","markAsDirtyReducer$1","markAsPristineReducer$1","markAsSubmittedReducer$1","markAsTouchedReducer$1","markAsUnsubmittedReducer$1","markAsUntouchedReducer$1","move","array","item","length","targetIndex","moveControlReducer","removeControlReducer$1","_","resetReducer$1","setAsyncErrorReducer$1","setErrorsReducer$1","childAndAsyncErrors","setUserDefinedPropertyReducer$1","setValueReducer$1","startAsyncValidationReducer$1","swapArrayValues","j","n","swapControlReducer","formArrayReducerInternal","formArrayReducer","formGroupReducer","reduceNestedFormState","state","key","action","value","isFormState","formStateReducer","reduceNestedFormStates","s","onNgrxForms","ALL_NGRX_FORMS_ACTION_TYPES","onNgrxFormsAction","actionCons","reducer","wrapReducerWithFormStateUpdate","formStateLocator","updateFn","updatedState","formState","formStateKey","updatedFormState","dispatchActionPerChild","controls","actionCreator","hasChanged","newControls","c","callChildReducers","res","childReducer","computeGroupState","addControlReducer","AddGroupControlAction","createChildState","clearAsyncErrorReducer","ClearAsyncErrorAction","name","errors","pendingValidations","v","disableReducer","DisableAction","controlId","enableReducer","EnableAction","markAsDirtyReducer","MarkAsDirtyAction","markAsPristineReducer","MarkAsPristineAction","markAsSubmittedReducer","MarkAsSubmittedAction","markAsTouchedReducer","MarkAsTouchedAction","markAsUnsubmittedReducer","MarkAsUnsubmittedAction","markAsUntouchedReducer","MarkAsUntouchedAction","removeControlReducer","RemoveGroupControlAction","resetReducer","ResetAction","setAsyncErrorReducer","SetAsyncErrorAction","deepEquals","setErrorsReducer","SetErrorsAction","childAndAsyncErrors","newErrors","setUserDefinedPropertyReducer","SetUserDefinedPropertyAction","setValueReducer","SetValueAction","startAsyncValidationReducer","StartAsyncValidationAction","formGroupReducerInternal","isGroupState","isNgrxFormsAction","FocusAction","UnfocusAction","AddArrayControlAction","RemoveArrayControlAction","MoveArrayControlAction","SwapArrayControlAction","formGroupReducer","abstractControlReducer","isArrayState","formArrayReducer","formControlReducer","ensureState","state","updateArrayControlsState","filterFn","updateFn","hasChanged","newControls","control","idx","newControl","updateArraySingle","computeArrayState","updateArray","stateOrFunctionOrFunctionArray","updateFnOrUpdateFnArr","rest","isArrayState","s","updateFn","updateArraySingle","updateFnArr","ensureState","updateGroupControlsState","updateFns","state","hasChanged","newControls","res","key","control","newControl","updateGroupSingle","computeGroupState","updateGroup","stateOrUpdateFnOrUpdateFnArray","isGroupState","setValue","valueOrState","value","isFormState","abstractControlReducer","SetValueAction","s","ensureState","setErrors","errorsOrErrorsArrayOrState","errorsOrErrorsArray","rest","state","errors","agg","err","formStateReducer","SetErrorsAction","errorsArray","validate","stateOrFunctionOrFunctionArray","functionOrFunctionArr","validationFn","functionOrFunctionArray","updateFnArr","enable","EnableAction","disable","DisableAction","markAsTouched","state","abstractControlReducer","MarkAsTouchedAction","addArrayControl","valueOrState","indexOrValue","index","isArrayState","formArrayReducer","AddArrayControlAction","s","ensureState","removeArrayControl","indexOrState","index","isArrayState","formArrayReducer","RemoveArrayControlAction","s","ensureState","NGRX_FORM_VIEW_ADAPTER","InjectionToken","NgrxCheckboxViewAdapter","renderer","elementRef","value","nativeId","fn","isDisabled","target","__ngFactoryType__","ɵɵdirectiveInject","Renderer2","ElementRef","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","ɵɵProvidersFeature","forwardRef","isAndroid","navigator","NgrxDefaultViewAdapter","platformId","isPlatformBrowser","normalizedValue","PLATFORM_ID","NgrxNumberViewAdapter","NgrxSelectViewAdapter","id","NgrxSelectMultipleViewAdapter","renderer","elementRef","value","nativeId","v","id","fn","isDisabled","option","__ngFactoryType__","ɵɵdirectiveInject","Renderer2","ElementRef","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ɵɵProvidersFeature","NGRX_FORM_VIEW_ADAPTER","forwardRef","NgrxRadioViewAdapter","renderer","elementRef","val","value","nativeName","fn","isDisabled","__ngFactoryType__","ɵɵdirectiveInject","Renderer2","ElementRef","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ɵɵProvidersFeature","NGRX_FORM_VIEW_ADAPTER","forwardRef","NgrxRangeViewAdapter","nativeId","target","$event","BUILTIN_ADAPTERS","NgrxCheckboxViewAdapter","NgrxNumberViewAdapter","NgrxSelectViewAdapter","NgrxSelectMultipleViewAdapter","isBuiltInViewAdapter","viewAdapter","a","selectViewAdapter","viewAdapters","defaultAdapter","builtinAdapter","customAdapter","v","NgrxDefaultViewAdapter","NgrxValueConverters","box","unbox","date","s","NGRX_UPDATE_ON_TYPE","ControlValueAccessorAdapter","valueAccessor","NgrxFormControlDirective","el","dom","actionsSubject","valueAccessors","newState","oldState","_","action","dispatchMarkAsDirtyAction","MarkAsDirtyAction","dispatchSetValueAction","SetValueAction","viewValue","MarkAsTouchedAction","isControlFocused","FocusAction","UnfocusAction","DOCUMENT","ActionsSubject","NG_VALUE_ACCESSOR","ɵɵattribute","NgrxFormDirective","actionsSubject","action","event","MarkAsSubmittedAction","__ngFactoryType__","ɵɵdirectiveInject","ActionsSubject","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","NgrxStatusCssClassesDirective","state","__ngFactoryType__","ɵɵdefineDirective","rf","ctx","ɵɵclassProp","NgrxFormsModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","AnimationMetadataType","AUTO_STYLE","trigger","name","definitions","animate","timings","styles","group","steps","options","sequence","style","tokens","state","keyframes","transition","stateChangeExpr","animateChild","options","AnimationMetadataType","query","selector","animation","options","AnimationMetadataType","NoopAnimationPlayer","duration","delay","fn","position","phaseName","methods","AnimationGroupPlayer","_players","doneCount","destroyCount","startCount","total","player","time","p","timeAtPosition","longestPlayer","longestSoFar","ɵPRE_STYLE","_c0","Toast_button_0_Template","rf","ctx","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","ctx_r1","ɵɵnextContext","ɵɵresetView","ɵɵtext","ɵɵelementEnd","Toast_div_1_ng_container_2_Template","ɵɵelementContainerStart","ɵɵelementContainerEnd","ɵɵadvance","ɵɵtextInterpolate1","Toast_div_1_Template","ɵɵtemplate","ɵɵclassMap","ɵɵattribute","ɵɵproperty","Toast_div_2_Template","ɵɵelement","ɵɵsanitizeHtml","Toast_div_3_Template","Toast_div_4_Template","ɵɵstyleProp","ToastNoAnimation_button_0_Template","ToastNoAnimation_div_1_ng_container_2_Template","ToastNoAnimation_div_1_Template","ToastNoAnimation_div_2_Template","ToastNoAnimation_div_3_Template","ToastNoAnimation_div_4_Template","ComponentPortal","component","injector","host","newestOnTop","BasePortalHost","portal","fn","ToastRef","Subject","_overlayRef","resetTimeout","countDuplicate","ToastPackage","toastId","config","message","title","toastType","toastRef","action","DefaultNoComponentGlobalConfig","TOAST_CONFIG","InjectionToken","DomPortalHost","_hostDomElement","_componentFactoryResolver","_appRef","componentFactory","componentRef","OverlayContainer","inject","DOCUMENT","container","__ngFactoryType__","ɵɵdefineInjectable","OverlayRef","_portalHost","Overlay","ComponentFactoryResolver$1","ApplicationRef","positionClass","overlayContainer","pane","ToastrService","token","overlay","_injector","sanitizer","ngZone","__spreadValues","override","type","toast","found","p","resetOnDuplicate","countDuplicates","includeTitleDuplicates","hasDuplicateTitle","i","duplicate","keepInactive","overlayRef","sanitizedMessage","SecurityContext","toastPackage","providers","toastInjector","Injector","ins","ɵɵinject","DomSanitizer","NgZone","Toast","signal","toastrService","count","state","__spreadProps","now","remaining","width","func","timeout","ɵɵdirectiveInject","ɵɵdefineComponent","rf","ctx","ɵɵlistener","ɵɵsyntheticHostProperty","ɵɵclassMap","ɵɵstyleProp","_c0","ɵɵtemplate","Toast_button_0_Template","Toast_div_1_Template","Toast_div_2_Template","Toast_div_3_Template","Toast_div_4_Template","ɵɵproperty","ɵɵadvance","NgIf","trigger","style","transition","animate","DefaultGlobalConfig","provideToastr","makeEnvironmentProviders","ToastrModule","ɵɵdefineNgModule","ɵɵdefineInjector","ToastNoAnimation","signal","toastrService","toastPackage","appRef","count","now","remaining","width","__ngFactoryType__","ɵɵdirectiveInject","ToastrService","ToastPackage","ApplicationRef","ɵɵdefineComponent","rf","ctx","ɵɵlistener","ɵɵclassMap","ɵɵstyleProp","_c0","ɵɵtemplate","ToastNoAnimation_button_0_Template","ToastNoAnimation_div_1_Template","ToastNoAnimation_div_2_Template","ToastNoAnimation_div_3_Template","ToastNoAnimation_div_4_Template","ɵɵproperty","ɵɵadvance","NgIf","DefaultNoAnimationsGlobalConfig","__spreadProps","__spreadValues","DefaultNoComponentGlobalConfig","_c0","PdfJsViewerComponent","EventEmitter","_page","_src","pdfViewerOptions","pdfViewer","viewerEvent","viewerId","event","param","fileUrl","url","blob","viewerUrl","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵelement","ɵɵproperty","PdfJsViewerModule","ɵɵdefineNgModule","ɵɵdefineInjector","CommonModule","DEFAULT_EFFECT_CONFIG","CREATE_EFFECT_METADATA_KEY","createEffect","source","config","effect","value","__spreadValues","getCreateEffectMetadata","instance","propertyName","metaData","getSourceMetadata","instance","getCreateEffectMetadata","getSourceForInstance","isClassInstance","obj","isClass","classOrRecord","getClasses","classesAndRecords","isToken","tokenOrRecord","InjectionToken","mergeEffects","sourceInstance","globalErrorHandler","effectsErrorHandler","source","sourceName","observables$","propertyName","dispatch","useEffectsErrorHandler","observable$","effectAction$","ignoreElements","materialize","map","notification","merge","MAX_NUMBER_OF_RETRY_ATTEMPTS","defaultEffectsErrorHandler","errorHandler","retryAttemptLeft","catchError","error","Actions","Observable","operator","observable","__ngFactoryType__","ɵɵinject","ScannedActionsSubject","ɵɵdefineInjectable","ofType","allowedTypes","filter","action","typeOrActionCreator","_ROOT_EFFECTS_GUARD","USER_PROVIDED_EFFECTS","_ROOT_EFFECTS","_ROOT_EFFECTS_INSTANCES","_FEATURE_EFFECTS","_FEATURE_EFFECTS_INSTANCE_GROUPS","EFFECTS_ERROR_HANDLER","ROOT_EFFECTS_INIT","rootEffectsInit","createAction","reportInvalidActions","output","reporter","isAction","getEffectName","stringify","isMethod","onIdentifyEffectsKey","isOnIdentifyEffects","isFunction","onRunEffectsKey","isOnRunEffects","onInitEffects","isOnInitEffects","functionName","EffectSources","Subject","effectSourceInstance","groupBy","effectsInstance","mergeMap","source$","effect$","exhaustMap","resolveEffectSource","dematerialize","init$","take","ErrorHandler","mergedEffects$","EffectsRunner","effectSources","store","Store","EffectsRootModule","sources","runner","rootEffectsInstances","storeRootModule","storeFeatureModule","guard","StoreRootModule","StoreFeatureModule","ɵɵdefineNgModule","ɵɵdefineInjector","EffectsFeatureModule","effectsRootModule","effectsInstanceGroups","effectsInstances","EffectsModule","featureEffects","effects","effectsClasses","createEffectsInstances","rootEffects","_provideForRootGuard","effectsGroups","userProvidedEffectsGroups","effectsGroup","userProvidedEffectsGroup","effectsTokenOrRecord","inject","hasV8BreakIterator","Platform","inject","PLATFORM_ID","isPlatformBrowser","__ngFactoryType__","ɵɵdefineInjectable","supportedInputTypes","candidateInputTypes","getSupportedInputTypes","featureTestInput","value","supportsPassiveEvents","supportsPassiveEventListeners","normalizePassiveListenerOptions","options","RtlScrollAxisType","rtlScrollAxisType","scrollBehaviorSupported","supportsScrollBehavior","scrollToFunction","getRtlScrollAxisType","scrollContainer","containerStyle","content","contentStyle","shadowDomIsSupported","_supportsShadowDom","head","_getShadowRoot","element","rootNode","_getFocusedElementPierceShadowDom","activeElement","newActiveElement","_getEventTarget","event","_isTestEnvironment","appsWithLoaders","_CdkPrivateStyleLoader","inject","Injector","EnvironmentInjector","loader","appRef","ApplicationRef","data","ref","createComponent","__ngFactoryType__","ɵɵdefineInjectable","_VisuallyHiddenLoader","ɵɵdefineComponent","rf","ctx","hasModifierKey","event","modifiers","modifier","coerceBooleanProperty","value","coerceNumberProperty","fallbackValue","_isNumberValue","coerceArray","coerceCssPixelValue","coerceElement","elementOrRef","ElementRef","coerceStringArray","separator","result","sourceValues","sourceValue","trimmedString","MutationObserverFactory","callback","__ngFactoryType__","ɵɵdefineInjectable","ObserversModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MutationObserverFactory","mediaQueriesForWebkitCompatibility","mediaQueryStyleNode","MediaMatcher","inject","Platform","CSP_NONCE","noopMatchMedia","query","createEmptyStyleRule","__ngFactoryType__","ɵɵdefineInjectable","nonce","BreakpointObserver","NgZone","Subject","value","splitQueries","coerceArray","mediaQuery","observables","stateObservable","combineLatest","concat","take","skip","debounceTime","map","breakpointStates","response","matches","mql","output","Observable","observer","handler","e","startWith","takeUntil","queries","a1","a2","Breakpoints","ID_DELIMITER","addAriaReferencedId","el","attr","id","ids","getAriaReferenceIds","existingId","removeAriaReferencedId","filteredIds","val","CDK_DESCRIBEDBY_ID_PREFIX","CDK_DESCRIBEDBY_HOST_ATTRIBUTE","nextId","AriaDescriber","inject","Platform","DOCUMENT","_CdkPrivateStyleLoader","_VisuallyHiddenLoader","APP_ID","hostElement","message","role","key","getKey","setMessageId","registeredMessage","describedElements","i","messageElement","containerClassName","serverContainers","messagesContainer","element","originalReferenceIds","getAriaReferenceIds","id","addAriaReferencedId","removeAriaReferencedId","referenceIds","messageId","trimmedMessage","ariaLabel","__ngFactoryType__","ɵɵdefineInjectable","serviceId","DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS","Typeahead","Subject","initialItems","config","typeAheadInterval","index","items","event","keyCode","tap","letter","debounceTime","filter","map","inputString","item","ListKeyManager","signal","Subscription","_items","injector","QueryList","newItems","isSignal","effect","predicate","shouldWrap","enabled","direction","keys","debounceInterval","delta","previousActiveItem","isModifierAllowed","modifier","targetIndex","itemsLength","hasModifierKey","itemArray","activeItem","fallbackDelta","newIndex","ActiveDescendantKeyManager","FocusKeyManager","origin","InteractivityChecker","inject","Platform","element","hasGeometry","frameElement","getFrameElement","getWindow","getTabIndexValue","nodeName","tabIndexValue","isPotentiallyTabbableIOS","config","isPotentiallyFocusable","__ngFactoryType__","ɵɵdefineInjectable","window","isNativeFormElement","isHiddenInput","isInputElement","isAnchorWithHref","isAnchorElement","hasValidTabIndex","tabIndex","inputType","node","FocusTrap","value","_element","_checker","_ngZone","_document","deferAnchors","_injector","startAnchor","endAnchor","options","resolve","bound","markers","redirectToElement","focusableChild","root","children","i","tabbableChild","anchor","isEnabled","enabled","fn","afterNextRender","FocusTrapFactory","NgZone","DOCUMENT","Injector","_CdkPrivateStyleLoader","_VisuallyHiddenLoader","deferCaptureElements","CdkTrapFocus","ElementRef","changes","autoCaptureChange","_getFocusedElementPierceShadowDom","ɵɵdefineDirective","booleanAttribute","ɵɵNgOnChangesFeature","isFakeMousedownFromScreenReader","event","isFakeTouchstartFromScreenReader","touch","INPUT_MODALITY_DETECTOR_OPTIONS","InjectionToken","INPUT_MODALITY_DETECTOR_DEFAULT_OPTIONS","TOUCH_BUFFER_MS","modalityEventListenerOptions","normalizePassiveListenerOptions","InputModalityDetector","inject","Platform","BehaviorSubject","keyCode","_getEventTarget","ngZone","NgZone","document","DOCUMENT","options","__spreadValues","skip","distinctUntilChanged","__ngFactoryType__","ɵɵdefineInjectable","LIVE_ANNOUNCER_ELEMENT_TOKEN","LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORY","LIVE_ANNOUNCER_DEFAULT_OPTIONS","uniqueIds","LiveAnnouncer","elementToken","message","args","defaultOptions","politeness","duration","resolve","elementClass","previousElements","liveEl","i","id","modals","modal","ariaOwns","FocusMonitorDetectionMode","FOCUS_MONITOR_DEFAULT_OPTIONS","InjectionToken","captureEventListenerOptions","normalizePassiveListenerOptions","FocusMonitor","inject","NgZone","Platform","InputModalityDetector","DOCUMENT","Subject","options","event","target","_getEventTarget","element","checkChildren","nativeElement","coerceElement","of","rootNode","_getShadowRoot","cachedInfo","info","elementInfo","origin","focusedElement","currentElement","_info","focusEventTarget","isFromInteraction","ms","TOUCH_BUFFER_MS","rootNodeFocusListeners","takeUntil","modality","results","mostRecentTarget","mostRecentModality","labels","i","__ngFactoryType__","ɵɵdefineInjectable","CdkMonitorFocus","ElementRef","EventEmitter","ɵɵdefineDirective","HighContrastMode","BLACK_ON_WHITE_CSS_CLASS","WHITE_ON_BLACK_CSS_CLASS","HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS","HighContrastModeDetector","BreakpointObserver","testElement","documentWindow","computedStyle","computedColor","bodyClasses","mode","A11yModule","ɵɵdefineNgModule","ɵɵdefineInjector","ObserversModule","counters","_IdGenerator","APP_ID","prefix","DIR_DOCUMENT","InjectionToken","DIR_DOCUMENT_FACTORY","inject","DOCUMENT","RTL_LOCALE_PATTERN","_resolveDirectionality","rawValue","value","Directionality","EventEmitter","_document","bodyDir","htmlDir","__ngFactoryType__","ɵɵdefineInjectable","BidiModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","SingleBoxSharedResizeObserver","Subject","_box","entries","target","Observable","observer","subscription","filter","entry","shareReplay","takeUntil","SharedResizeObserver","inject","NgZone","options","box","__ngFactoryType__","ɵɵdefineInjectable","_c0","_c1","_c2","_c3","_c4","MatOption_Conditional_0_Template","rf","ctx","ɵɵelement","ctx_r0","ɵɵnextContext","ɵɵproperty","MatOption_Conditional_5_Template","MatOption_Conditional_6_Template","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","_c5","_c6","AnimationCurves","AnimationDurations","MatCommonModule","inject","HighContrastModeDetector","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","BidiModule","_ErrorStateTracker","_defaultMatcher","ngControl","_parentFormGroup","_parentForm","_stateChanges","oldState","parent","matcher","control","newState","MAT_DATE_LOCALE","InjectionToken","MAT_DATE_LOCALE_FACTORY","LOCALE_ID","NOT_IMPLEMENTED","DateAdapter","Subject","target","hours","minutes","seconds","date","value","parseFormat","amount","obj","locale","first","second","firstValid","secondValid","min","max","MAT_DATE_FORMATS","ISO_8601_REGEX","TIME_REGEX","range","length","valueFunction","valuesArray","i","NativeDateAdapter","matDateLocale","style","dtf","firstDay","year","month","result","displayFormat","__spreadProps","__spreadValues","years","months","newDate","days","clone","userValue","withoutExtras","d","n","parsed","amPm","inRange","ɵɵdefineInjectable","MAT_NATIVE_DATE_FORMATS","MatNativeDateModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","provideNativeDateAdapter","formats","MAT_NATIVE_DATE_FORMATS","DateAdapter","NativeDateAdapter","MAT_DATE_FORMATS","ErrorStateMatcher","control","form","__ngFactoryType__","ɵɵdefineInjectable","_StructuralStylesLoader","ɵɵdefineComponent","rf","ctx","RippleState","RippleRef","_renderer","element","config","_animationForciblyDisabledThroughCss","passiveCapturingEventOptions$1","normalizePassiveListenerOptions","RippleEventManager","ngZone","name","handler","handlersForEvent","handlersForElement","event","target","_getEventTarget","handlers","defaultRippleAnimationConfig","ignoreMouseEventsTimeout","passiveCapturingEventOptions","pointerDownEvents","pointerUpEvents","_MatRippleStylesLoader","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","RippleRenderer","_RippleRenderer","_target","_ngZone","elementOrElementRef","_platform","injector","coerceElement","_CdkPrivateStyleLoader","x","y","containerRect","animationConfig","__spreadValues","radius","distanceToFurthestCorner","offsetX","offsetY","enterDuration","ripple","computedStyles","userTransitionProperty","userTransitionDuration","animationForciblyDisabledThroughCss","rippleRef","eventListeners","onTransitionEnd","fallbackTimer","onTransitionCancel","rippleEl","type","isMostRecentTransientRipple","persistent","isFakeMousedown","isFakeMousedownFromScreenReader","isSyntheticEvent","isFakeTouchstartFromScreenReader","touches","i","isVisible","trigger","rect","distX","distY","MAT_RIPPLE_GLOBAL_OPTIONS","InjectionToken","MatRipple","inject","ElementRef","ANIMATION_MODULE_TYPE","value","NgZone","platform","Platform","globalOptions","Injector","configOrX","ɵɵdefineDirective","ɵɵclassProp","MatRippleModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","MatPseudoCheckbox","MatPseudoCheckboxModule","MAT_OPTION_PARENT_COMPONENT","MAT_OPTGROUP","MatOptgroup","_IdGenerator","parent","ɵɵattribute","booleanAttribute","ɵɵProvidersFeature","_c1","ɵɵprojectionDef","_c0","ɵɵelementStart","ɵɵtext","ɵɵprojection","ɵɵelementEnd","ɵɵproperty","ɵɵadvance","ɵɵtextInterpolate1","MatOptionSelectionChange","source","isUserInput","MatOption","ChangeDetectorRef","EventEmitter","Subject","styleLoader","_StructuralStylesLoader","_VisuallyHiddenLoader","isSignal","emitEvent","_origin","options","hasModifierKey","viewValue","ɵɵviewQuery","_c2","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵlistener","$event","ɵɵhostProperty","_c4","_c3","ɵɵtemplate","MatOption_Conditional_0_Template","MatOption_Conditional_5_Template","MatOption_Conditional_6_Template","ɵɵelement","ɵɵconditional","_countGroupLabelsBeforeOption","optionIndex","optionGroups","optionsArray","groups","groupCounter","_getOptionScrollPosition","optionOffset","optionHeight","currentScrollPosition","panelHeight","MatOptionModule","eventListenerOptions","rippleInteractionEvents","matRippleUninitialized","matRippleClassName","matRippleCentered","matRippleDisabled","MatRippleLoader","DOCUMENT","hosts","host","disabled","eventTarget","isNoopAnimations","exitDuration","renderer","hasSetUpEvents","ɵɵdefineInjectable","_MatInternalFormField","_c5","_c6","_c0","_c1","_c2","_c3","_c4","_c5","_c6","_c7","_c8","_c9","MatFormField_ng_template_0_Conditional_0_Conditional_2_Template","rf","ctx","ɵɵelement","MatFormField_ng_template_0_Conditional_0_Template","ɵɵelementStart","ɵɵprojection","ɵɵtemplate","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵproperty","ɵɵattribute","ɵɵadvance","ɵɵconditional","MatFormField_ng_template_0_Template","MatFormField_Conditional_4_Template","MatFormField_Conditional_6_Conditional_1_ng_template_0_Template","MatFormField_Conditional_6_Conditional_1_Template","labelTemplate_r3","ɵɵreference","MatFormField_Conditional_6_Template","MatFormField_Conditional_7_Template","MatFormField_Conditional_8_Template","MatFormField_Conditional_10_ng_template_0_Template","MatFormField_Conditional_10_Template","MatFormField_Conditional_12_Template","MatFormField_Conditional_13_Template","MatFormField_Conditional_14_Template","MatFormField_Case_16_Template","MatFormField_Case_17_Conditional_1_Template","ɵɵtext","ɵɵtextInterpolate","MatFormField_Case_17_Template","MatLabel","__ngFactoryType__","ɵɵdefineDirective","MAT_ERROR","InjectionToken","MatError","inject","_IdGenerator","HostAttributeToken","ElementRef","ɵɵhostProperty","ɵɵProvidersFeature","MatHint","ɵɵclassProp","MAT_PREFIX","MatPrefix","value","MAT_SUFFIX","MatSuffix","FLOATING_LABEL_PARENT","MatFormFieldFloatingLabel","SharedResizeObserver","NgZone","Subscription","estimateScrollWidth","element","htmlEl","clone","scrollWidth","ACTIVATE_CLASS","DEACTIVATING_CLASS","MatFormFieldLineRipple","ngZone","renderer","Renderer2","classList","event","isDeactivating","MatFormFieldNotchedOutline","label","labelWidth","ɵɵdefineComponent","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵprojectionDef","matFormFieldAnimations","trigger","state","style","transition","animate","MatFormFieldControl","MAT_FORM_FIELD","InjectionToken","MAT_FORM_FIELD_DEFAULT_OPTIONS","DEFAULT_APPEARANCE","DEFAULT_FLOAT_LABEL","DEFAULT_SUBSCRIPT_SIZING","FLOATING_LABEL_DEFAULT_DOCKED_TRANSFORM","MatFormField","inject","ElementRef","ChangeDetectorRef","Directionality","Platform","_IdGenerator","ANIMATION_MODULE_TYPE","contentChild","MatLabel","value","coerceBooleanProperty","oldValue","newAppearance","Subject","Injector","defaults","computed","previousControl","control","classPrefix","startWith","map","pairwise","filter","prevErrorState","prevDescribedBy","currentErrorState","currentDescribedBy","takeUntil","p","s","merge","afterRender","prop","ids","startHint","hint","endHint","error","floatingLabel","iconPrefixContainer","textPrefixContainer","iconSuffixContainer","textSuffixContainer","iconPrefixContainerWidth","textPrefixContainerWidth","iconSuffixContainerWidth","textSuffixContainerWidth","negate","prefixWidth","labelHorizontalOffset","prefixAndSuffixWidth","element","rootNode","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","dirIndex","ɵɵcontentQuerySignal","ɵɵcontentQuery","MatFormFieldControl","MAT_PREFIX","MAT_SUFFIX","MAT_ERROR","MatHint","ɵɵqueryAdvance","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","_c3","_c4","_c5","_c6","_c7","MatFormFieldFloatingLabel","MatFormFieldNotchedOutline","MatFormFieldLineRipple","ɵɵclassProp","ɵɵProvidersFeature","FLOATING_LABEL_PARENT","_c9","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","_c8","ɵɵtemplate","MatFormField_ng_template_0_Template","ɵɵtemplateRefExtractor","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","MatFormField_Conditional_4_Template","MatFormField_Conditional_6_Template","MatFormField_Conditional_7_Template","MatFormField_Conditional_8_Template","MatFormField_Conditional_10_Template","ɵɵprojection","ɵɵelementEnd","MatFormField_Conditional_12_Template","MatFormField_Conditional_13_Template","MatFormField_Conditional_14_Template","MatFormField_Case_16_Template","MatFormField_Case_17_Template","tmp_16_0","ɵɵadvance","ɵɵconditional","NgTemplateOutlet","matFormFieldAnimations","MatFormFieldModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","ObserversModule","_c0","policy","getPolicy","ttWindow","s","trustedHTMLFromString","html","getMatIconNameNotFoundError","iconName","getMatIconNoHttpProviderError","getMatIconFailedToSanitizeUrlError","url","getMatIconFailedToSanitizeLiteralError","literal","SvgIconConfig","svgText","options","MatIconRegistry","_httpClient","_sanitizer","document","_errorHandler","namespace","resolver","cleanLiteral","SecurityContext","trustedLiteral","alias","classNames","safeUrl","cachedIcon","of","cloneSvg","tap","svg","map","name","key","iconKey","config","iconSetConfigs","throwError","namedIcon","iconSetFetchRequests","iconSetConfig","catchError","err","errorMessage","forkJoin","foundIcon","iconSet","iconSource","iconElement","str","div","element","attributes","i","value","iconConfig","withCredentials","inProgressFetch","req","finalize","share","configNamespace","result","isSafeUrlWithOptions","__ngFactoryType__","ɵɵinject","HttpClient","DomSanitizer","DOCUMENT","ErrorHandler","ɵɵdefineInjectable","cloneSvg","svg","iconKey","namespace","name","isSafeUrlWithOptions","value","MAT_ICON_DEFAULT_OPTIONS","InjectionToken","MAT_ICON_LOCATION","MAT_ICON_LOCATION_FACTORY","_document","inject","DOCUMENT","_location","funcIriAttributes","funcIriAttributeSelector","attr","funcIriPattern","MatIcon","ElementRef","MatIconRegistry","ErrorHandler","newValue","Subscription","ariaHidden","HostAttributeToken","defaults","iconName","parts","cachedElements","newPath","path","layoutElement","childCount","child","elem","fontSetClasses","className","elements","attrs","element","elementsWithFuncIri","i","elementWithReference","match","attributes","rawName","take","err","errorMessage","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","booleanAttribute","_c0","ɵɵprojectionDef","ɵɵprojection","MatIconModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","_CdkTextFieldStyleLoader","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","listenerOptions","normalizePassiveListenerOptions","AutofillMonitor","inject","Platform","NgZone","_CdkPrivateStyleLoader","elementOrRef","EMPTY","element","coerceElement","info","result","Subject","cssClass","listener","event","_info","ɵɵdefineInjectable","CdkTextareaAutosize","inject","ElementRef","Platform","NgZone","Renderer2","Subject","value","coerceNumberProperty","DOCUMENT","_CdkPrivateStyleLoader","_CdkTextFieldStyleLoader","minHeight","maxHeight","auditTime","cleanup","textareaClone","cloneStyles","element","previousMargin","isFirefox","needsMarginFiller","measuringClass","scrollHeight","event","force","textarea","height","selectionStart","selectionEnd","__ngFactoryType__","ɵɵdefineDirective","rf","ctx","ɵɵlistener","booleanAttribute","TextFieldModule","ɵɵdefineNgModule","ɵɵdefineInjector","MAT_INPUT_VALUE_ACCESSOR","InjectionToken","MAT_INPUT_INVALID_TYPES","MAT_INPUT_CONFIG","MatInput","inject","ElementRef","Platform","NgControl","AutofillMonitor","NgZone","MAT_FORM_FIELD","Renderer2","_IdGenerator","Subject","value","coerceBooleanProperty","Validators","prevType","getSupportedInputTypes","t","parentForm","NgForm","parentFormGroup","FormGroupDirective","defaultErrorStateMatcher","ErrorStateMatcher","accessor","element","nodeName","isSignal","_ErrorStateTracker","effect","event","options","isFocused","newValue","placeholder","validity","selectElement","firstOption","ids","existingDescribedBy","toAssign","exclude","id","el","__ngFactoryType__","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ɵɵhostProperty","ɵɵattribute","ɵɵclassProp","booleanAttribute","ɵɵProvidersFeature","MatFormFieldControl","ɵɵNgOnChangesFeature","MatInputModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","MatFormFieldModule","TextFieldModule","SelectionModel","Subject","_multiple","initiallySelectedValues","_emitChanges","compareWith","value","values","changed","oldValues","newSelectedSet","flushEvent","predicate","inputValue","selection","selectedValue","UniqueSelectionDispatcher","id","name","listener","registered","__ngFactoryType__","ɵɵdefineInjectable","DEFAULT_SCROLL_TIME","ScrollDispatcher","inject","NgZone","Platform","RendererFactory2","Subject","scrollable","scrollableReference","auditTimeInMs","Observable","observer","subscription","auditTime","of","_","container","elementOrElementRef","ancestors","filter","target","scrollingContainers","_subscription","element","coerceElement","scrollableElement","__ngFactoryType__","ɵɵdefineInjectable","CdkScrollable","ElementRef","Directionality","Renderer2","event","options","el","isRtl","getRtlScrollAxisType","RtlScrollAxisType","supportsScrollBehavior","from","LEFT","RIGHT","ɵɵdefineDirective","DEFAULT_RESIZE_TIME","ViewportRuler","DOCUMENT","ngZone","renderer","changeListener","cleanup","output","scrollPosition","width","height","document","window","documentElement","documentRect","top","left","throttleTime","CdkScrollableModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","ScrollingModule","BidiModule","Portal","host","ComponentPortal","component","viewContainerRef","injector","_componentFactoryResolver","projectableNodes","TemplatePortal","templateRef","context","DomPortal","element","ElementRef","BasePortalOutlet","portal","fn","DomPortalOutlet","BasePortalOutlet","outletElement","_unusedComponentFactoryResolver","_appRef","_defaultInjector","_document","portal","componentRef","injector","ngModuleRef","NgModuleRef$1","createComponent","Injector","viewContainer","viewRef","rootNode","index","element","anchorNode","CdkPortalOutlet","BasePortalOutlet","inject","NgModuleRef$1","DOCUMENT","ViewContainerRef","portal","EventEmitter","viewContainerRef","ref","viewRef","element","anchorNode","nativeElement","__ngFactoryType__","ɵɵdefineDirective","ɵɵInheritDefinitionFeature","PortalModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","scrollBehaviorSupported","supportsScrollBehavior","BlockScrollStrategy","_viewportRuler","document","root","coerceCssPixelValue","html","body","htmlStyle","bodyStyle","previousHtmlScrollBehavior","previousBodyScrollBehavior","viewport","CloseScrollStrategy","_scrollDispatcher","_ngZone","_viewportRuler","_config","overlayRef","stream","filter","scrollable","scrollPosition","NoopScrollStrategy","isElementScrolledOutsideView","element","scrollContainers","containerBounds","outsideAbove","outsideBelow","outsideLeft","outsideRight","isElementClippedByScrolling","scrollContainerRect","clippedAbove","clippedBelow","clippedLeft","clippedRight","RepositionScrollStrategy","throttle","overlayRect","width","height","ScrollStrategyOptions","inject","ScrollDispatcher","ViewportRuler","NgZone","DOCUMENT","config","BlockScrollStrategy","__ngFactoryType__","ɵɵdefineInjectable","OverlayConfig","configKeys","key","ConnectedOverlayPositionChange","connectionPair","scrollableViewProperties","BaseOverlayDispatcher","inject","DOCUMENT","overlayRef","index","__ngFactoryType__","ɵɵdefineInjectable","OverlayKeyboardDispatcher","NgZone","RendererFactory2","event","overlays","ɵOverlayKeyboardDispatcher_BaseFactory","ɵɵgetInheritedFactory","OverlayOutsideClickDispatcher","Platform","body","_getEventTarget","target","origin","i","containsPierceShadowDom","outsidePointerEvents","ɵOverlayOutsideClickDispatcher_BaseFactory","parent","child","supportsShadowRoot","current","_CdkOverlayStyleLoader","ɵɵdefineComponent","rf","ctx","OverlayContainer","_CdkPrivateStyleLoader","containerClass","_isTestEnvironment","oppositePlatformContainers","container","BackdropRef","document","_renderer","_ngZone","onClick","element","OverlayRef","Subject","Subscription","_portalOutlet","_host","_pane","_config","_keyboardDispatcher","_document","_location","_outsideClickDispatcher","_animationsDisabled","_injector","untracked","afterRender","portal","attachResult","afterNextRender","detachmentResult","isAttached","strategy","sizeConfig","__spreadValues","dir","__spreadProps","classes","direction","style","coerceCssPixelValue","enablePointer","showingClass","cssClasses","isAdd","coerceArray","c","subscription","takeUntil","merge","scrollStrategy","boundingBoxClass","cssUnitPattern","FlexibleConnectedPositionStrategy","connectedTo","_viewportRuler","_platform","_overlayContainer","originRect","overlayRect","viewportRect","containerRect","flexibleFits","fallback","pos","originPoint","overlayPoint","overlayFit","bestFit","bestScore","fit","score","extendStyles","lastPosition","scrollables","positions","margin","flexibleDimensions","growAfterOpen","canPush","isLocked","offset","selector","x","startX","endX","y","overlayStartX","overlayStartY","point","rawOverlayRect","viewport","position","overlay","getRoundedBoundingClientRect","offsetX","offsetY","leftOverflow","rightOverflow","topOverflow","bottomOverflow","visibleWidth","visibleHeight","visibleArea","availableHeight","availableWidth","minHeight","getPixelValue","minWidth","verticalFit","horizontalFit","start","scrollPosition","overflowRight","overflowBottom","overflowTop","overflowLeft","pushX","pushY","scrollVisibility","compareScrollVisibility","changeEvent","ConnectedOverlayPositionChange","elements","xOrigin","yOrigin","isRtl","height","top","bottom","smallestDistanceToViewportEdge","previousHeight","isBoundedByRightViewportEdge","isBoundedByLeftViewportEdge","width","left","right","previousWidth","boundingBoxRect","styles","maxHeight","maxWidth","hasExactPosition","hasFlexibleDimensions","config","transformString","documentHeight","horizontalStyleProperty","documentWidth","originBounds","overlayBounds","scrollContainerBounds","scrollable","isElementClippedByScrolling","isElementScrolledOutsideView","length","overflows","currentValue","currentOverflow","axis","cssClass","ElementRef","destination","source","key","input","value","units","clientRect","a","b","wrapperClass","GlobalPositionStrategy","overlayRef","config","value","offset","styles","parentStyles","width","height","maxWidth","maxHeight","shouldBeFlushHorizontally","shouldBeFlushVertically","xPosition","xOffset","isRtl","marginLeft","marginRight","justifyContent","parent","OverlayPositionBuilder","inject","ViewportRuler","DOCUMENT","Platform","OverlayContainer","origin","FlexibleConnectedPositionStrategy","__ngFactoryType__","ɵɵdefineInjectable","Overlay","ScrollStrategyOptions","OverlayKeyboardDispatcher","Injector","NgZone","Directionality","Location","OverlayOutsideClickDispatcher","ANIMATION_MODULE_TYPE","_IdGenerator","RendererFactory2","_CdkPrivateStyleLoader","_CdkOverlayStyleLoader","host","pane","portalOutlet","overlayConfig","OverlayConfig","OverlayRef","EnvironmentInjector","ApplicationRef","DomPortalOutlet","defaultPositionList","CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY","InjectionToken","overlay","CdkOverlayOrigin","ElementRef","ɵɵdefineDirective","CdkConnectedOverlay","Subscription","offsetX","offsetY","EventEmitter","templateRef","TemplateRef","viewContainerRef","ViewContainerRef","TemplatePortal","changes","event","hasModifierKey","target","_getEventTarget","positionStrategy","positions","currentPosition","strategy","takeWhile","position","booleanAttribute","ɵɵNgOnChangesFeature","CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY","CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER","OverlayModule","ɵɵdefineNgModule","ɵɵdefineInjector","BidiModule","PortalModule","ScrollingModule","_c0","_c1","MatAutocomplete_ng_template_0_Template","rf","ctx","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ctx_r1","ɵɵnextContext","ɵɵresetView","ɵɵprojection","ɵɵelementEnd","formFieldId_r3","ɵɵclassMap","ɵɵclassProp","ɵɵproperty","ɵɵattribute","panelAnimation","trigger","state","style","transition","group","animate","MatAutocompleteSelectedEvent","source","option","MAT_AUTOCOMPLETE_DEFAULT_OPTIONS","InjectionToken","MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY","MatAutocomplete","inject","ChangeDetectorRef","ElementRef","Subscription","EventEmitter","value","_IdGenerator","platform","Platform","ActiveDescendantKeyManager","index","scrollTop","event","labelId","labelExpression","__ngFactoryType__","ɵɵdefineComponent","dirIndex","ɵɵcontentQuery","MatOption","MAT_OPTGROUP","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","TemplateRef","booleanAttribute","ɵɵProvidersFeature","MAT_OPTION_PARENT_COMPONENT","ɵɵprojectionDef","ɵɵtemplate","MAT_AUTOCOMPLETE_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatAutocompleteTrigger","MAT_AUTOCOMPLETE_SCROLL_STRATEGY","InjectionToken","overlay","inject","Overlay","MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY","MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER","MatAutocompleteTrigger","EnvironmentInjector","ElementRef","ViewContainerRef","NgZone","ChangeDetectorRef","Directionality","MAT_FORM_FIELD","DOCUMENT","ViewportRuler","Renderer2","MAT_AUTOCOMPLETE_DEFAULT_OPTIONS","Subject","Subscription","BreakpointObserver","changes","removeAriaReferencedId","merge","filter","of","map","event","MatOptionSelectionChange","defer","options","startWith","switchMap","option","Observable","observer","listener","clickTarget","_getEventTarget","formField","customOrigin","cleanups","current","value","fn","isDisabled","keyCode","hasModifier","hasModifierKey","prevActiveItem","isArrowKey","target","selectedOption","display","valueOnAttach","shouldAnimate","initialRender","subscriber","afterNextRender","optionChanges","tap","delay","wasOpen","take","autocomplete","toDisplay","panel","toSelect","skip","emitEvent","panelId","addAriaReferencedId","overlayRef","TemplatePortal","Breakpoints","result","OverlayConfig","strategy","positionStrategy","belowPositions","panelClass","abovePositions","positions","firstEnabledOptionIndex","index","element","labelCount","_countGroupLabelsBeforeOption","newScrollPosition","_getOptionScrollPosition","modal","__ngFactoryType__","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","ɵɵattribute","booleanAttribute","ɵɵProvidersFeature","MAT_AUTOCOMPLETE_VALUE_ACCESSOR","ɵɵNgOnChangesFeature","MatAutocompleteModule","ɵɵdefineNgModule","ɵɵdefineInjector","OverlayModule","MatOptionModule","MatCommonModule","CdkScrollableModule","_c0","_c1","MatSlideToggle_Conditional_10_Template","rf","ctx","ɵɵelementStart","ɵɵnamespaceSVG","ɵɵelement","ɵɵelementEnd","MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS","InjectionToken","MAT_SLIDE_TOGGLE_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatSlideToggle","MatSlideToggleChange","source","checked","inject","ElementRef","FocusMonitor","ChangeDetectorRef","_","isChecked","value","EventEmitter","_CdkPrivateStyleLoader","_StructuralStylesLoader","tabIndex","HostAttributeToken","defaults","animationMode","ANIMATION_MODULE_TYPE","_IdGenerator","focusOrigin","changes","fn","control","isDisabled","__ngFactoryType__","ɵɵdefineComponent","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵhostProperty","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","booleanAttribute","numberAttribute","ɵɵProvidersFeature","NG_VALIDATORS","ɵɵNgOnChangesFeature","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","ɵɵlistener","ɵɵrestoreView","ɵɵresetView","ɵɵtemplate","$event","ɵɵprojection","switch_r2","ɵɵreference","ɵɵproperty","ɵɵadvance","ɵɵconditional","MatRipple","_MatInternalFormField","MatSlideToggleModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MatSlideToggle","MatCommonModule","_c0","_c1","_c2","_c3","MatSelect_Conditional_4_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵtextInterpolate","MatSelect_Conditional_5_Conditional_1_Template","ɵɵprojection","MatSelect_Conditional_5_Conditional_2_Template","MatSelect_Conditional_5_Template","ɵɵtemplate","ɵɵconditional","MatSelect_ng_template_10_Template","_r3","ɵɵgetCurrentView","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","ɵɵclassMapInterpolate1","ɵɵproperty","ɵɵattribute","matSelectAnimations","trigger","transition","query","animateChild","state","style","animate","MAT_SELECT_SCROLL_STRATEGY","InjectionToken","overlay","inject","Overlay","MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY","MAT_SELECT_CONFIG","MAT_SELECT_SCROLL_STRATEGY_PROVIDER","MAT_SELECT_TRIGGER","MatSelectChange","source","value","MatSelect","ViewportRuler","ChangeDetectorRef","ElementRef","Directionality","_IdGenerator","MAT_FORM_FIELD","NgControl","LiveAnnouncer","Subject","index","option","panel","labelCount","_countGroupLabelsBeforeOption","element","_getOptionScrollPosition","o1","o2","Validators","fn","newValue","defer","options","startWith","switchMap","merge","EventEmitter","filter","o","map","defaultErrorStateMatcher","ErrorStateMatcher","parentForm","NgForm","parentFormGroup","FormGroupDirective","tabIndex","HostAttributeToken","_ErrorStateTracker","SelectionModel","distinctUntilChanged","takeUntil","event","newAriaLabelledby","ngControl","changes","modal","panelId","removeAriaReferencedId","addAriaReferencedId","isDisabled","selectedOptions","keyCode","isArrowKey","isOpenKey","manager","hasModifierKey","previouslySelectedOption","selectedOption","isTyping","hasDeselectedOptions","opt","previouslyFocusedIndex","take","currentValue","correspondingOption","preferredOrigin","CdkOverlayOrigin","ActiveDescendantKeyManager","changedOrDestroyed","isUserInput","wasSelected","a","b","fallbackValue","valueToEmit","firstEnabledOptionIndex","labelId","labelExpression","isOpen","ids","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","dirIndex","ɵɵcontentQuery","MatOption","MAT_OPTGROUP","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵviewQuery","_c0","_c1","CdkConnectedOverlay","ɵɵlistener","$event","ɵɵattribute","ɵɵclassProp","booleanAttribute","numberAttribute","ɵɵProvidersFeature","MatFormFieldControl","MAT_OPTION_PARENT_COMPONENT","ɵɵNgOnChangesFeature","_c3","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","_c2","ɵɵelementStart","ɵɵrestoreView","ɵɵresetView","ɵɵtemplate","MatSelect_Conditional_4_Template","MatSelect_Conditional_5_Template","ɵɵelementEnd","ɵɵnamespaceSVG","ɵɵelement","MatSelect_ng_template_10_Template","fallbackOverlayOrigin_r4","ɵɵreference","ɵɵadvance","ɵɵconditional","ɵɵproperty","NgClass","matSelectAnimations","MatSelectModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MAT_SELECT_SCROLL_STRATEGY_PROVIDER","OverlayModule","MatOptionModule","MatCommonModule","CdkScrollableModule","MatFormFieldModule","_c0","_c1","_c2","MatRadioChange","source","value","MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatRadioGroup","MAT_RADIO_GROUP","InjectionToken","MAT_RADIO_DEFAULT_OPTIONS","MAT_RADIO_DEFAULT_OPTIONS_FACTORY","inject","ChangeDetectorRef","_IdGenerator","EventEmitter","v","newValue","selected","radio","isAlreadySelected","fn","isDisabled","__ngFactoryType__","ɵɵdefineDirective","rf","ctx","dirIndex","ɵɵcontentQuery","MatRadioButton","_t","ɵɵqueryRefresh","ɵɵloadQuery","booleanAttribute","ɵɵProvidersFeature","ElementRef","FocusMonitor","UniqueSelectionDispatcher","NgZone","Renderer2","Injector","_CdkPrivateStyleLoader","_StructuralStylesLoader","radioGroup","animationMode","ANIMATION_MODULE_TYPE","tabIndex","HostAttributeToken","numberAttribute","options","origin","id","name","focusOrigin","event","groupValueChanged","group","input","afterNextRender","ɵɵdefineComponent","ɵɵviewQuery","ɵɵlistener","ɵɵattribute","ɵɵclassProp","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","ɵɵelementStart","$event","ɵɵrestoreView","ɵɵresetView","ɵɵelementEnd","ɵɵelement","ɵɵprojection","ɵɵproperty","ɵɵadvance","MatRipple","_MatInternalFormField","MatRadioModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","MatRippleModule","_c0","SCROLL_THROTTLE_MS","MAT_TOOLTIP_SCROLL_STRATEGY","InjectionToken","overlay","inject","Overlay","SCROLL_THROTTLE_MS","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER","MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY","MAT_TOOLTIP_DEFAULT_OPTIONS","PANEL_CLASS","passiveListenerOptions","normalizePassiveListenerOptions","MIN_VIEWPORT_TOOLTIP_THRESHOLD","UNBOUNDED_ANCHOR_GAP","MIN_HEIGHT","MAX_WIDTH","MatTooltip","inject","ElementRef","NgZone","Platform","AriaDescriber","FocusMonitor","Directionality","Injector","ViewContainerRef","MAT_TOOLTIP_DEFAULT_OPTIONS","TooltipComponent","value","coerceBooleanProperty","isDisabled","coerceNumberProperty","oldMessage","Subject","defaultOptions","takeUntil","origin","nativeElement","event","listener","delay","overlayRef","ComponentPortal","instance","existingStrategy","scrollableAncestors","ScrollDispatcher","overlay","Overlay","strategy","change","MAT_TOOLTIP_SCROLL_STRATEGY","hasModifierKey","position","__spreadValues","offset","isLtr","originPosition","x","y","overlayPosition","afterNextRender","tooltipClass","connectionPair","overlayY","originX","originY","newPosition","classPrefix","point","touch","DEFAULT_LONGPRESS_DELAY","exitListeners","newTarget","touchendListener","listeners","elementUnderPointer","DOCUMENT","element","gestures","style","__ngFactoryType__","ɵɵdefineDirective","rf","ctx","ɵɵclassProp","ChangeDetectorRef","animationMode","ANIMATION_MODULE_TYPE","relatedTarget","rect","animationName","toVisible","isVisible","tooltip","showClass","hideClass","styles","ɵɵdefineComponent","ɵɵviewQuery","_c0","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵlistener","$event","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵrestoreView","ɵɵresetView","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ɵɵadvance","ɵɵtextInterpolate","NgClass","MatTooltipModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER","A11yModule","OverlayModule","MatCommonModule","CdkScrollableModule","CdkDialogContainer_ng_template_0_Template","rf","ctx","DialogConfig","CdkDialogContainer","BasePortalOutlet","inject","ElementRef","FocusTrapFactory","InteractivityChecker","NgZone","OverlayRef","FocusMonitor","Renderer2","Platform","DOCUMENT","ChangeDetectorRef","Injector","DialogConfig","id","index","portal","result","element","options","callback","deregisterBlur","deregisterMousedown","selector","elementToFocus","afterNextRender","focusConfig","focusTargetElement","activeElement","_getFocusedElementPierceShadowDom","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵviewQuery","CdkPortalOutlet","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵattribute","ɵɵInheritDefinitionFeature","ɵɵtemplate","CdkDialogContainer_ng_template_0_Template","DialogRef","Subject","overlayRef","config","event","hasModifierKey","closedSubject","width","height","classes","DIALOG_SCROLL_STRATEGY","InjectionToken","overlay","Overlay","DIALOG_DATA","DEFAULT_DIALOG_CONFIG","Dialog","inject","Overlay","Injector","DEFAULT_DIALOG_CONFIG","OverlayContainer","_IdGenerator","Subject","DIALOG_SCROLL_STRATEGY","defer","startWith","componentOrTemplateRef","config","defaults","DialogConfig","__spreadValues","overlayConfig","overlayRef","dialogRef","DialogRef","dialogContainer","reverseForEach","dialog","id","state","OverlayConfig","overlay","userInjector","providers","OverlayRef","containerType","CdkDialogContainer","containerPortal","ComponentPortal","TemplateRef","injector","context","TemplatePortal","contentRef","fallbackInjector","DIALOG_DATA","Directionality","of","emitEvent","index","previousValue","element","overlayContainer","siblings","sibling","parent","__ngFactoryType__","ɵɵdefineInjectable","items","callback","i","DialogModule","ɵɵdefineNgModule","ɵɵdefineInjector","OverlayModule","PortalModule","A11yModule","MatDialogContainer_ng_template_2_Template","rf","ctx","MatDialogConfig","OPEN_CLASS","OPENING_CLASS","CLOSING_CLASS","OPEN_ANIMATION_DURATION","CLOSE_ANIMATION_DURATION","MatDialogContainer","CdkDialogContainer","inject","ANIMATION_MODULE_TYPE","EventEmitter","parseCssTime","TRANSITION_DURATION_PROPERTY","delta","duration","callback","totalTime","portal","ref","ɵMatDialogContainer_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","ɵɵhostProperty","ɵɵattribute","ɵɵclassProp","ɵɵInheritDefinitionFeature","ɵɵelementStart","ɵɵtemplate","ɵɵelementEnd","CdkPortalOutlet","time","coerceNumberProperty","MatDialogState","MatDialogRef","Subject","_ref","config","_containerInstance","filter","event","take","merge","hasModifierKey","_closeDialogVia","dialogResult","position","strategy","width","height","classes","interactionType","result","MAT_DIALOG_DATA","InjectionToken","MAT_DIALOG_DEFAULT_OPTIONS","MAT_DIALOG_SCROLL_STRATEGY","overlay","Overlay","MatDialog","inject","Overlay","MAT_DIALOG_DEFAULT_OPTIONS","MAT_DIALOG_SCROLL_STRATEGY","_IdGenerator","Dialog","Subject","MatDialogConfig","parent","defer","startWith","MatDialogRef","MatDialogContainer","MAT_DIALOG_DATA","componentOrTemplateRef","config","dialogRef","__spreadValues","cdkRef","__spreadProps","DialogConfig","ref","cdkConfig","dialogContainer","index","id","dialog","dialogs","i","__ngFactoryType__","ɵɵdefineInjectable","MatDialogClose","ElementRef","getClosestDialog","changes","proxiedChange","event","_closeDialogVia","ɵɵdefineDirective","rf","ctx","ɵɵlistener","$event","ɵɵattribute","ɵɵNgOnChangesFeature","MatDialogLayoutSection","MatDialogTitle","ɵMatDialogTitle_BaseFactory","ɵɵgetInheritedFactory","ɵɵhostProperty","ɵɵInheritDefinitionFeature","MatDialogContent","ɵɵHostDirectivesFeature","CdkScrollable","MatDialogActions","ɵMatDialogActions_BaseFactory","ɵɵclassProp","element","openDialogs","MatDialogModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MatDialog","DialogModule","OverlayModule","PortalModule","MatCommonModule","_c0","MatProgressSpinner_ng_template_0_Template","rf","ctx","ɵɵnamespaceSVG","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ctx_r0","ɵɵnextContext","ɵɵattribute","ɵɵadvance","ɵɵstyleProp","MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS","InjectionToken","MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY","BASE_SIZE","BASE_STROKE_WIDTH","MatProgressSpinner","inject","ElementRef","value","animationMode","ANIMATION_MODULE_TYPE","defaults","v","size","viewBox","__ngFactoryType__","ɵɵdefineComponent","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵclassMap","ɵɵclassProp","numberAttribute","ɵɵtemplate","ɵɵtemplateRefExtractor","ɵɵnamespaceHTML","ɵɵelementContainer","circle_r2","ɵɵreference","ɵɵproperty","NgTemplateOutlet","MatProgressSpinnerModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","_c0","_c1","_c2","_c4","_c6","_c7","_c8","_c9","MAT_BUTTON_CONFIG","InjectionToken","HOST_SELECTOR_MDC_CLASS_PAIR","MatButtonBase","inject","ElementRef","NgZone","ANIMATION_MODULE_TYPE","FocusMonitor","MatRippleLoader","value","_CdkPrivateStyleLoader","_StructuralStylesLoader","config","MAT_BUTTON_CONFIG","element","classList","attribute","mdcClasses","origin","options","__ngFactoryType__","ɵɵdefineDirective","booleanAttribute","MatButton","MatButtonBase","ɵMatButton_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineComponent","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","ɵɵInheritDefinitionFeature","_c0","_c2","ɵɵprojectionDef","_c1","ɵɵelement","ɵɵprojection","ɵɵelementStart","ɵɵelementEnd","MAT_FAB_DEFAULT_OPTIONS","InjectionToken","MAT_FAB_DEFAULT_OPTIONS_FACTORY","defaults","MatMiniFabButton","MatButtonBase","inject","MAT_FAB_DEFAULT_OPTIONS","defaults","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","ɵɵInheritDefinitionFeature","_c6","_c2","ɵɵprojectionDef","_c1","ɵɵelement","ɵɵprojection","ɵɵelementStart","ɵɵelementEnd","_c7","MatIconButton","MatButtonBase","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","ɵɵInheritDefinitionFeature","_c8","_c9","ɵɵprojectionDef","ɵɵelement","ɵɵprojection","_c4","MatButtonModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","MatRippleModule","PendingCopy","text","_document","textarea","styles","successful","currentFocus","Clipboard","inject","DOCUMENT","pendingCopy","__ngFactoryType__","ɵɵdefineInjectable","CDK_COPY_TO_CLIPBOARD_CONFIG","InjectionToken","CdkCopyToClipboard","NgZone","EventEmitter","config","attempts","remainingAttempts","pending","attempt","copy","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ClipboardModule","ɵɵdefineNgModule","ɵɵdefineInjector","_c0","_forTrack0","$index","$item","_forTrack1","MatCalendarBody_Conditional_0_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ctx_r0","ɵɵnextContext","ɵɵadvance","ɵɵstyleProp","ɵɵattribute","ɵɵtextInterpolate1","MatCalendarBody_For_2_Conditional_1_Template","MatCalendarBody_For_2_For_3_Template","_r2","ɵɵgetCurrentView","ɵɵlistener","$event","item_r3","ɵɵrestoreView","ɵɵresetView","ɵɵelement","ɵ$index_14_r4","ɵ$index_7_r5","ɵɵclassProp","ɵɵproperty","MatCalendarBody_For_2_Template","ɵɵtemplate","ɵɵrepeaterCreate","row_r6","ɵɵconditional","ɵɵrepeater","MatMonthView_For_4_Template","day_r1","ɵɵtextInterpolate","_c1","MatCalendar_ng_template_0_Template","MatCalendar_Case_2_Template","_r1","ɵɵtwoWayListener","ctx_r1","ɵɵtwoWayBindingSet","ɵɵtwoWayProperty","MatCalendar_Case_3_Template","_r3","MatCalendar_Case_4_Template","_r4","MatDatepickerContent_ng_template_2_Template","_c2","_c3","_c4","MatDatepickerToggle_Conditional_2_Template","ɵɵnamespaceSVG","MatDatepickerIntl","Subject","start","end","__ngFactoryType__","ɵɵdefineInjectable","uniqueIdCounter$1","MatCalendarCell","value","displayValue","ariaLabel","enabled","cssClasses","compareValue","rawValue","activeCapturingEventOptions","normalizePassiveListenerOptions","passiveCapturingEventOptions","passiveEventOptions","MatCalendarBody","inject","ElementRef","NgZone","Platform","EventEmitter","Injector","row","idGenerator","_IdGenerator","_CdkPrivateStyleLoader","_StructuralStylesLoader","element","cell","event","changes","columnChanges","rows","numCols","rowIndex","colIndex","cellNumber","movePreview","afterNextRender","activeCell","isStart","isEnd","isInRange","previousCell","previousRow","nextCell","nextRow","target","getActualTouchTarget","getCellElement","cellElement","col","ɵɵdefineComponent","ɵɵNgOnChangesFeature","_c0","rf","ctx","ɵɵtemplate","MatCalendarBody_Conditional_0_Template","ɵɵrepeaterCreate","MatCalendarBody_For_2_Template","_forTrack0","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵconditional","ɵɵadvance","ɵɵrepeater","ɵɵproperty","ɵɵtextInterpolate1","ɵɵtextInterpolate2","NgClass","isTableCell","node","rangeEnabled","touchLocation","DateRange","MatDateSelectionModel","selection","_adapter","source","oldValue","date","ɵɵinvalidFactory","MatSingleDateSelectionModel","adapter","clone","ɵɵinject","DateAdapter","MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY","parent","adapter","MatSingleDateSelectionModel","MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER","MatDateSelectionModel","Optional","SkipSelf","DateAdapter","MAT_DATE_RANGE_SELECTION_STRATEGY","InjectionToken","DAYS_PER_WEEK","uniqueIdCounter","MatMonthView","inject","ChangeDetectorRef","MAT_DATE_FORMATS","DateAdapter","Directionality","MAT_DATE_RANGE_SELECTION_STRATEGY","Subscription","value","oldActiveDate","validDate","DateRange","EventEmitter","_CdkPrivateStyleLoader","_VisuallyHiddenLoader","startWith","changes","comparisonChange","event","date","selectedDate","rangeStartDate","rangeEndDate","month","isRtl","hasModifierKey","firstOfMonth","movePreview","cell","previewRange","dragRange","dragDropResult","dayOfMonth","firstDayOfWeek","narrowWeekdays","weekdays","long","i","daysInMonth","dateNames","enabled","ariaLabel","cellClasses","MatCalendarCell","d1","d2","year","day","selectedValue","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵviewQuery","MatCalendarBody","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵNgOnChangesFeature","ɵɵelementStart","ɵɵrepeaterCreate","MatMonthView_For_4_Template","_forTrack1","ɵɵelementEnd","ɵɵelement","ɵɵlistener","$event","ɵɵadvance","ɵɵrepeater","ɵɵproperty","yearsPerPage","yearsPerRow","MatMultiYearView","isSameMultiYearView","minYearOfPage","getActiveOffset","row","selectedYear","activeMonth","yearName","firstOfYear","displayValue","dateAdapter","date1","date2","minDate","maxDate","year1","year2","startingYear","getStartingYear","activeDate","activeYear","euclideanModulo","a","b","MatYearView","selectedMonth","monthNames","normalizedDate","monthName","maxYear","maxMonth","minYear","minMonth","MatCalendarHeader","MatDatepickerIntl","MatCalendar","changeDetectorRef","maxYearOfPage","minYearLabel","maxYearLabel","_IdGenerator","_c1","ɵɵprojectionDef","ɵɵtext","ɵɵnamespaceSVG","ɵɵnamespaceHTML","ɵɵprojection","ɵɵtextInterpolate","ɵɵattribute","ɵɵclassProp","MatButton","MatIconButton","viewChangedResult","Subject","ComponentPortal","minDateChange","maxDateChange","changeRequiringRerender","view","normalizedYear","normalizedMonth","ɵɵProvidersFeature","MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER","ɵɵtemplate","MatCalendar_ng_template_0_Template","MatCalendar_Case_2_Template","MatCalendar_Case_3_Template","MatCalendar_Case_4_Template","tmp_1_0","ɵɵconditional","CdkPortalOutlet","CdkMonitorFocus","matDatepickerAnimations","trigger","transition","animate","keyframes","style","state","MAT_DATEPICKER_SCROLL_STRATEGY","InjectionToken","overlay","Overlay","MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY","MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER","MatDatepickerContent","ElementRef","MatDateSelectionModel","intl","selection","isRange","newSelection","portal","forceRerender","ɵɵsyntheticHostListener","ɵɵsyntheticHostProperty","ɵɵclassMap","MatDatepickerContent_ng_template_2_Template","tmp_3_0","CdkTrapFocus","MatDatepickerBase","ViewContainerRef","DOCUMENT","coerceStringArray","Injector","positionChange","positionStrategy","FlexibleConnectedPositionStrategy","input","_getFocusedElementPierceShadowDom","canRestoreFocus","completeClose","instance","location","take","activeElement","isDialog","overlayRef","OverlayConfig","keyCode","afterNextRender","strategy","primaryX","secondaryX","primaryY","secondaryY","ctrlShiftMetaModifiers","merge","filter","modifier","ɵɵdefineDirective","booleanAttribute","MatDatepicker","ɵMatDatepicker_BaseFactory","ɵɵgetInheritedFactory","ɵɵInheritDefinitionFeature","MatDatepickerInputEvent","target","targetElement","MatDatepickerInputBase","newValue","element","control","controlValue","min","max","model","dateInputsHaveChanged","fn","c","isDisabled","lastValueWasValid","hasChanged","adapter","keys","key","previousValue","currentValue","MAT_DATEPICKER_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatDatepickerInput","MAT_DATEPICKER_VALIDATORS","NG_VALIDATORS","MAT_FORM_FIELD","datepicker","signal","validValue","wasMatchingValue","Validators","modelValue","ɵɵhostProperty","MAT_INPUT_VALUE_ACCESSOR","MatDatepickerToggleIcon","MatDatepickerToggle","defaultTabIndex","HostAttributeToken","parsedTabIndex","datepickerStateChanged","of","inputStateChanged","datepickerToggled","dirIndex","ɵɵcontentQuery","_c2","_c4","_c3","MatDatepickerToggle_Conditional_2_Template","MatDatepickerModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MatDatepickerIntl","MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER","MatButtonModule","OverlayModule","A11yModule","PortalModule","MatCommonModule","MatDatepickerContent","MatDatepickerToggle","MatCalendarHeader","CdkScrollableModule","import_moment","_c0","_c1","_c2","MAT_CHECKBOX_DEFAULT_OPTIONS","InjectionToken","MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY","TransitionCheckState","MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatCheckbox","MatCheckboxChange","defaults","inject","ElementRef","ChangeDetectorRef","NgZone","ANIMATION_MODULE_TYPE","isChecked","event","EventEmitter","_CdkPrivateStyleLoader","_StructuralStylesLoader","tabIndex","HostAttributeToken","_IdGenerator","changes","value","changed","fn","isDisabled","control","newState","oldState","element","animationClass","clickAction","nativeCheckbox","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵhostProperty","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","booleanAttribute","numberAttribute","ɵɵProvidersFeature","NG_VALIDATORS","ɵɵNgOnChangesFeature","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","ɵɵelementEnd","ɵɵelement","ɵɵnamespaceSVG","ɵɵnamespaceHTML","ɵɵprojection","checkbox_r2","ɵɵreference","ɵɵproperty","ɵɵadvance","MatRipple","_MatInternalFormField","MatCheckboxModule","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","MatCheckbox","MatCommonModule","import_moment","NGX_MOMENT_OPTIONS","InjectionToken","MomentModule","options","NGX_MOMENT_OPTIONS","__spreadValues","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","_c0","_c1","MatButtonToggle_Conditional_2_Template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵproperty","MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS","InjectionToken","MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY","MAT_BUTTON_TOGGLE_GROUP","MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR","NG_VALUE_ACCESSOR","forwardRef","MatButtonToggleGroup","MatButtonToggleChange","source","value","inject","ChangeDetectorRef","Directionality","_IdGenerator","selected","toggle","newValue","EventEmitter","defaultOptions","SelectionModel","fn","isDisabled","event","buttonId","index","nextButton","select","isUserInput","deferEvents","i","startIndex","offset","items","item","toggles","currentValue","__ngFactoryType__","ɵɵdefineDirective","dirIndex","ɵɵcontentQuery","MatButtonToggle","_t","ɵɵqueryRefresh","ɵɵloadQuery","ɵɵlistener","$event","ɵɵattribute","ɵɵclassProp","booleanAttribute","ɵɵProvidersFeature","ElementRef","FocusMonitor","ANIMATION_MODULE_TYPE","_CdkPrivateStyleLoader","_StructuralStylesLoader","toggleGroup","defaultTabIndex","HostAttributeToken","group","options","newChecked","focusable","ɵɵdefineComponent","ɵɵviewQuery","_r1","ɵɵgetCurrentView","ɵɵprojectionDef","ɵɵrestoreView","ɵɵresetView","ɵɵtemplate","ɵɵprojection","button_r3","ɵɵreference","ɵɵconditional","MatRipple","MatPseudoCheckbox","MatButtonToggleModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","MatRippleModule","_rollupMoment","import_moment","moment","_rollupMoment__default","MAT_MOMENT_DATE_ADAPTER_OPTIONS","InjectionToken","MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY","range","length","valueFunction","valuesArray","i","MomentDateAdapter","DateAdapter","inject","dateLocale","MAT_DATE_LOCALE","locale","momentLocaleData","date","style","year","month","result","value","parseFormat","displayFormat","years","months","days","obj","target","hours","minutes","seconds","amount","format","strict","useUtc","__ngFactoryType__","ɵɵdefineInjectable","PrintBase","nonce","values","key","cssList","linkTagFn","cssFileName","valueArr","val","elements","i","element","selectedIdx","selectedOption","printSectionId","printContents","inputEls","selectEls","textAreaEls","canvasEls","tag","html","index","printOptions","styles","links","popOut","baseTag","popupWin","__ngFactoryType__","ɵɵinject","CSP_NONCE","ɵɵdefineInjectable","PrintOptions","options","NgxPrintDirective","PrintBase","value","__spreadProps","__spreadValues","values","cssList","ɵNgxPrintDirective_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineDirective","rf","ctx","ɵɵlistener","ɵɵInheritDefinitionFeature","NgxPrintModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatProgressBar_Conditional_2_Template","rf","ctx","ɵɵelement","MAT_PROGRESS_BAR_DEFAULT_OPTIONS","InjectionToken","MatProgressBar","inject","ElementRef","NgZone","ChangeDetectorRef","Renderer2","ANIMATION_MODULE_TYPE","defaults","MAT_PROGRESS_BAR_DEFAULT_OPTIONS","value","v","clamp","EventEmitter","event","__ngFactoryType__","ɵɵdefineComponent","rf","ctx","ɵɵattribute","ɵɵclassMap","ɵɵclassProp","numberAttribute","ɵɵelementStart","ɵɵelement","ɵɵtemplate","MatProgressBar_Conditional_2_Template","ɵɵelementEnd","ɵɵadvance","ɵɵstyleProp","ɵɵconditional","min","max","MatProgressBarModule","ɵɵdefineNgModule","ɵɵdefineInjector","MatCommonModule","_c0","_c1","a0","EntryFieldAutocompleteComponent_mat_form_field_0_mat_icon_3_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵtextInterpolate","EntryFieldAutocompleteComponent_mat_form_field_0_ng_container_8_mat_option_1_Template","option_r3","ɵɵclassMap","ɵɵproperty","ɵɵtextInterpolate1","EntryFieldAutocompleteComponent_mat_form_field_0_ng_container_8_Template","ɵɵelementContainerStart","ɵɵtemplate","ɵɵelementContainerEnd","EntryFieldAutocompleteComponent_mat_form_field_0_ng_container_9_mat_optgroup_1_mat_option_1_Template","child_r4","EntryFieldAutocompleteComponent_mat_form_field_0_ng_container_9_mat_optgroup_1_Template","group_r5","EntryFieldAutocompleteComponent_mat_form_field_0_ng_container_9_Template","EntryFieldAutocompleteComponent_mat_form_field_0_mat_icon_10_Template","EntryFieldAutocompleteComponent_mat_form_field_0_mat_error_11_Template","EntryFieldAutocompleteComponent_mat_form_field_0_mat_hint_12_Template","EntryFieldAutocompleteComponent_mat_form_field_0_Template","_r1","ɵɵgetCurrentView","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","auto_r6","ɵɵreference","ɵɵpureFunction1","EntryFieldAutocompleteComponent_div_1_Template","AppButtonComponent_button_1_mat_spinner_1_Template","ɵɵelement","AppButtonComponent_button_1_span_2_mat_icon_1_Template","AppButtonComponent_button_1_span_2_Template","AppButtonComponent_button_1_Template","ɵɵclassMapInterpolate2","ɵɵpropertyInterpolate","AppButtonComponent_button_2_mat_spinner_1_Template","AppButtonComponent_button_2_span_2_mat_icon_1_Template","AppButtonComponent_button_2_span_2_Template","AppButtonComponent_button_2_Template","_r3","EntryFieldComponent_mat_icon_5_Template","EntryFieldComponent_mat_icon_6_Template","EntryFieldComponent_mat_icon_7_Template","EntryFieldComponent_mat_option_10_Template","EntryFieldComponent_a_11_Template","_r4","EntryFieldComponent_button_12_Template","_r5","EntryFieldComponent_mat_error_13_Template","EntryFieldComponent_mat_hint_14_Template","input_r6","ɵɵtextInterpolate2","EntryFieldComponent_mat_hint_15_Template","ɵɵsanitizeHtml","EntryFieldComponent_mat_hint_16_Template","_r7","AppCopyableComponent_mat_icon_2_Template","AppReadonlyComponent_mat_icon_3_Template","ctx_r0","AppReadonlyComponent_mat_icon_4_Template","AppReadonlyComponent_mat_icon_6_Template","_c2","_c3","EntryFieldDropdownComponent_mat_form_field_0_mat_icon_3_Template","EntryFieldDropdownComponent_mat_form_field_0_mat_icon_4_Template","EntryFieldDropdownComponent_mat_form_field_0_mat_option_7_Template","EntryFieldDropdownComponent_mat_form_field_0_mat_icon_9_Template","EntryFieldDropdownComponent_mat_form_field_0_mat_error_10_Template","EntryFieldDropdownComponent_mat_form_field_0_mat_hint_11_Template","EntryFieldDropdownComponent_mat_form_field_0_Template","ɵɵpipe","ɵɵpipeBind1","EntryFieldDropdownComponent_div_1_Template","_c4","EntryFieldAddressComponent_div_0_app_entry_1_Template","EntryFieldAddressComponent_div_0_mat_error_2_Template","EntryFieldAddressComponent_div_0_Template","EntryFieldAddressComponent_div_1_span_3_Template","EntryFieldAddressComponent_div_1_div_4_app_entry_5_Template","EntryFieldAddressComponent_div_1_div_4_app_readonly_6_Template","EntryFieldAddressComponent_div_1_div_4_Template","EntryFieldAddressComponent_div_1_Template","_c5","a1","EntryFieldDateComponent_mat_icon_6_Template","EntryFieldDateComponent_mat_error_17_Template","_c6","EntrySlideToggleFieldComponent_mat_icon_1_Template","EntrySlideToggleFieldComponent_mat_icon_2_Template","EntrySlideToggleFieldComponent_mat_icon_3_Template","EntrySlideToggleFieldComponent_div_7_Template","EntrySlideToggleFieldComponent_div_9_Template","EntryTextAreaFieldComponent_mat_icon_6_Template","EntryTextAreaFieldComponent_mat_error_7_Template","EntryTextAreaFieldComponent_mat_hint_8_Template","input_r2","EntryTextAreaFieldComponent_mat_icon_9_Template","AppToolbarOptionsComponent_app_goback_3_Template","AppToolbarOptionsComponent_mat_icon_4_Template","_c7","EntryFieldRadioComponent_mat_icon_3_Template","EntryFieldRadioComponent_mat_radio_button_5_Template","option_r2","EntryFieldRadioComponent_mat_error_7_Template","EntryFieldRadioComponent_mat_hint_8_Template","EntryFieldRadioComponent_div_9_Template","_c8","EntryCheckboxFieldComponent_mat_icon_5_Template","EntryCheckboxFieldComponent_mat_error_6_Template","_c9","_c10","NumberEntryFieldComponent_div_5_Template","_r2","ctx_r2","NumberEntryFieldComponent_mat_icon_6_Template","NumberEntryFieldComponent_mat_icon_7_Template","NumberEntryFieldComponent_mat_icon_8_Template","NumberEntryFieldComponent_mat_error_9_Template","NumberEntryFieldComponent_mat_hint_10_Template","input_r4","NumberEntryFieldComponent_mat_hint_11_Template","_c11","FileEntryFieldComponent_div_1_mat_icon_3_Template","FileEntryFieldComponent_div_1_mat_icon_4_Template","FileEntryFieldComponent_div_1_mat_icon_5_Template","FileEntryFieldComponent_div_1_label_6_Template","FileEntryFieldComponent_div_1_label_7_Template","FileEntryFieldComponent_div_1_label_8_Template","ɵɵclassMapInterpolate1","FileEntryFieldComponent_div_1_label_9_Template","FileEntryFieldComponent_div_1_mat_error_12_Template","FileEntryFieldComponent_div_1_div_13_mat_icon_3_Template","FileEntryFieldComponent_div_1_div_13_Template","FileEntryFieldComponent_div_1_Template","FileEntryFieldComponent_div_2_Template","ɵɵpureFunction2","AppButtonToggleComponent_h4_1_mat_icon_2_Template","AppButtonToggleComponent_h4_1_Template","AppButtonToggleComponent_mat_button_toggle_3_mat_icon_3_Template","AppButtonToggleComponent_mat_button_toggle_3_Template","AppButtonToggleComponent_mat_error_5_Template","AppButtonToggleComponent_mat_hint_6_Template","AppButtonToggleComponent_div_7_Template","EntryFieldDateMonthYearComponent_mat_datepicker_toggle_7_Template","picker_r2","EntryFieldDateMonthYearComponent_mat_error_11_Template","ctx_r3","_c12","AppPdfViewerComponent_object_0_Template","ɵɵpipeBind2","ɵɵsanitizeResourceUrl","ɵɵattribute","ɵɵsanitizeUrl","AppPdfViewerComponent_div_1_Template","AppPdfViewerComponent_img_2_Template","AppPdfViewerComponent_ng2_pdfjs_viewer_3_Template","AppPdfViewerComponent_div_4_Template","AppPdfViewerComponent_div_5_Template","GreenIdDocsVerificationDialog_h4_3_Template","GreenIdDocsVerificationDialog_div_6_li_4_Template","i_r2","GreenIdDocsVerificationDialog_div_6_Template","list_r3","GreenIdDocsVerificationDialog_button_10_Template","AppGreenIdComponent_div_0_div_1_mat_progress_bar_9_Template","AppGreenIdComponent_div_0_div_1_Template","model_r2","AppGreenIdComponent_div_0_div_2_Template","AppGreenIdComponent_div_0_Template","EntryFieldAddressAccurityComponent_h5_0_Template","EntryFieldAddressAccurityComponent_app_entry_radio_1_Template","EntryFieldAddressAccurityComponent_mat_hint_3_Template","EntryFieldAddressAccurityComponent_app_entry_4_Template","EntryFieldAddressAccurityComponent_mat_error_5_Template","EntryFieldAddressAccurityComponent_div_6_mat_hint_1_Template","_r6","EntryFieldAddressAccurityComponent_div_6_app_entry_2_Template","EntryFieldAddressAccurityComponent_div_6_Template","EntryFieldAddressAccurityComponent_div_8_Template","_r8","EntryComponentBase","control","event","fn","value","tt","isDisabled","changeAction","store","noop","MyErrorStateMatcher","_","__ngFactoryType__","ɵɵdirectiveInject","Store","ɵɵdefineComponent","ɵɵviewQuery","_t","ɵɵqueryRefresh","ɵɵloadQuery","form","isSubmitted","TFNValidator","tfn","len","numArray","weights","product","num","index","number","digit","UserServiceConfig","config","GreenIdConfigModel","ɵɵinject","ɵɵdefineInjectable","Helper","value","inject","UserServiceConfig","isNumber","length","validator","TFNValidator","url","callback","body","script","object","observable","filter","first","date","address","bytes","decimals","k","dm","sizes","i","expr","comparand","unbox","__ngFactoryType__","ɵɵdefineInjectable","CustomErrorStateMatcherDirective","state","errorsAreShown","el","toggle","input","select","autocomplete","radio","ɵɵdirectiveInject","MatSlideToggle","MatInput","MatSelect","MatAutocomplete","MatRadioButton","ɵɵdefineDirective","InputDisabledDirective","isDisabled","EntryFieldAutocompleteComponent","EntryComponentBase","val","list","takeUntil","values","store","userConfig","EventEmitter","createFormControlState","Subject","event","a","t","__spreadProps","__spreadValues","x","dd","parent","index","item","user","obj","element","find","selectedKey","SetValueAction","Store","ɵɵdefineComponent","ɵɵProvidersFeature","ControlContainer","FormGroupDirective","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵtemplate","EntryFieldAutocompleteComponent_mat_form_field_0_Template","EntryFieldAutocompleteComponent_div_1_Template","ɵɵproperty","ɵɵadvance","NgIf","MatFormField","NgClass","MatLabel","MatIcon","MatPrefix","NgrxFormsModule","NgrxFormControlDirective","NgrxDefaultViewAdapter","NgrxStatusCssClassesDirective","MatAutocompleteTrigger","NgForOf","MatOption","MatOptgroup","MatSuffix","MatTooltip","MatError","MatHint","NgrxMatSelectViewDirective","matSelect","s","selectedOption","v","fn","MarkAsDirtyAction","NGRX_FORM_VIEW_ADAPTER","forwardRef","CancelEditDialog","formBuilder","dialogRef","data","FormBuilder","MatDialogRef","MAT_DIALOG_DATA","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵlistener","ɵɵtextInterpolate","MatDialogTitle","MatDialogContent","MatDialogActions","AppButtonComponent","toastr","dialog","MarkAsTouchedAction","isLoading","result","ToastrService","MatDialog","AppButtonComponent_button_1_Template","AppButtonComponent_button_2_Template","MatProgressSpinnerModule","MatProgressSpinner","MatIconModule","Regex_NoPunctuation","Regex_AlphaSpaceDash","RemovePunctuationDirective","regex","oldValue","currentValue","ElementRef","$event","EntryFieldComponent","_autofill","NgrxValueConverters","isFocused","option","email","clipboardData","pastedText","text","clipText","characters","charactersLength","AutofillMonitor","ɵɵviewQuery","_c0","_t","ɵɵqueryRefresh","ɵɵloadQuery","_r1","ɵɵgetCurrentView","ɵɵrestoreView","ɵɵresetView","EntryFieldComponent_mat_icon_5_Template","EntryFieldComponent_mat_icon_6_Template","EntryFieldComponent_mat_icon_7_Template","EntryFieldComponent_mat_option_10_Template","EntryFieldComponent_a_11_Template","EntryFieldComponent_button_12_Template","EntryFieldComponent_mat_error_13_Template","EntryFieldComponent_mat_hint_14_Template","EntryFieldComponent_mat_hint_15_Template","EntryFieldComponent_mat_hint_16_Template","auto_r8","ɵɵreference","ɵɵclassMapInterpolate2","ɵɵpureFunction1","_c1","ɵɵpropertyInterpolate","ɵɵattribute","MatFormFieldModule","MatTooltipModule","CommonModule","MatInputModule","MatAutocompleteModule","MatIconButton","AppGoBackComponent","location","router","Location","Router","ɵɵclassMapInterpolate1","AppNoItemsComponent","ɵɵtextInterpolate1","getCommon","commomState_IsLoading","createSelector","commomState_AddressAccurityOptions","commomState_AddressAccurityAustraliaStateOptions","commomState_MonthListOptions","commomState_AddressAccurityCountryOptions","AppCopyableComponent","ɵɵelement","AppCopyableComponent_mat_icon_2_Template","ɵɵsanitizeHtml","ClipboardModule","CdkCopyToClipboard","AppReadonlyComponent","AppReadonlyComponent_mat_icon_3_Template","AppReadonlyComponent_mat_icon_4_Template","AppReadonlyComponent_mat_icon_6_Template","RemoveAriaOwnsDirective","el","__ngFactoryType__","ɵɵdirectiveInject","ElementRef","ɵɵdefineDirective","EntryFieldDropdownComponent","EntryComponentBase","val","list","parent","store","userConfig","EventEmitter","index","item","value","Store","UserServiceConfig","ɵɵdefineComponent","ɵɵProvidersFeature","ControlContainer","FormGroupDirective","ɵɵInheritDefinitionFeature","rf","ctx","ɵɵtemplate","EntryFieldDropdownComponent_mat_form_field_0_Template","EntryFieldDropdownComponent_div_1_Template","ɵɵproperty","ɵɵadvance","MatFormField","NgIf","NgClass","MatLabel","MatIconModule","MatIcon","MatTooltipModule","MatTooltip","MatSelectModule","MatHint","MatError","MatPrefix","MatSuffix","MatSelect","MatOption","MatOptionModule","NgForOf","CommonModule","AsyncPipe","CustomErrorStateMatcherDirective","NgrxMatSelectViewDirective","NgrxFormsModule","NgrxFormControlDirective","NgrxStatusCssClassesDirective","AddressModel","EntryFieldAddressComponent","createFormControlState","addrClone","setValue","address","isValid","Helper","SetValueAction","input","domRepresentation","displaySuggestions","predictions","status","callback","geocoder","results","options","place","address_components","__async","addressType","ɵɵviewQuery","_c4","_t","ɵɵqueryRefresh","ɵɵloadQuery","EntryFieldAddressComponent_div_0_Template","EntryFieldAddressComponent_div_1_Template","EntryFieldComponent","AppReadonlyComponent","NumericDirective","regExpString","event","oldValue","currentValue","ɵɵlistener","$event","EntryFieldDateComponent","createFormGroupState","data","data1","isFocused","MarkAsTouchedAction","type","date","MatDatepickerInputEvent","moment","dateString","dateMomentObject","dateObject","SetAsyncErrorAction","ClearAsyncErrorAction","components","dateComponent","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵrestoreView","ɵɵresetView","EntryFieldDateComponent_mat_icon_6_Template","ɵɵelement","EntryFieldDateComponent_mat_error_17_Template","picker_r3","ɵɵreference","ɵɵpureFunction2","_c5","ɵɵtextInterpolate","MatInput","MatDatepickerInput","MatDatepickerToggle","MatDatepicker","MatDatepickerModule","MatNativeDateModule","EntrySlideToggleFieldComponent","_ngZone","NgZone","EntrySlideToggleFieldComponent_mat_icon_1_Template","EntrySlideToggleFieldComponent_mat_icon_2_Template","EntrySlideToggleFieldComponent_mat_icon_3_Template","EntrySlideToggleFieldComponent_div_7_Template","EntrySlideToggleFieldComponent_div_9_Template","NgStyle","MatSlideToggle","InputDisabledDirective","EntryTextAreaFieldComponent","EntryTextAreaFieldComponent_mat_icon_6_Template","EntryTextAreaFieldComponent_mat_error_7_Template","EntryTextAreaFieldComponent_mat_hint_8_Template","EntryTextAreaFieldComponent_mat_icon_9_Template","ɵɵtextInterpolate1","ɵɵpropertyInterpolate","ɵɵattribute","CdkTextareaAutosize","NgrxDefaultViewAdapter","SafePipe","_sanitizer","DomSanitizer","ɵɵdefinePipe","JoinPipe","DashPipe","AppToolbarOptionsComponent","store","select","commomState_IsLoading","EventEmitter","__ngFactoryType__","ɵɵdirectiveInject","Store","ɵɵdefineComponent","ɵɵProvidersFeature","_c3","rf","ctx","ɵɵprojectionDef","_c2","ɵɵelementStart","ɵɵtemplate","AppToolbarOptionsComponent_app_goback_3_Template","AppToolbarOptionsComponent_mat_icon_4_Template","ɵɵelementEnd","ɵɵprojection","ɵɵclassMapInterpolate1","ɵɵadvance","ɵɵproperty","AppGoBackComponent","NgIf","MatIcon","AppScrollUpComponent","document","smoothscroll","currentScroll","DOCUMENT","ɵɵlistener","ɵɵresolveWindow","ɵɵtext","ɵɵpureFunction1","_c7","NgClass","EntryFieldRadioComponent","EntryComponentBase","val","list","parent","index","item","value","ControlContainer","FormGroupDirective","ɵɵInheritDefinitionFeature","EntryFieldRadioComponent_mat_icon_3_Template","$event","EntryFieldRadioComponent_mat_radio_button_5_Template","ɵɵpipe","EntryFieldRadioComponent_mat_error_7_Template","EntryFieldRadioComponent_mat_hint_8_Template","EntryFieldRadioComponent_div_9_Template","ɵɵtextInterpolate","ɵɵpipeBind1","NgrxFormsModule","NgrxFormControlDirective","NgrxStatusCssClassesDirective","CommonModule","NgForOf","AsyncPipe","MatInputModule","MatLabel","MatHint","MatError","MatSuffix","CustomErrorStateMatcherDirective","InputDisabledDirective","MatTooltip","MatRadioGroup","MatRadioButton","_c8","EntryCheckboxFieldComponent","EntryComponentBase","store","userConfig","_ngZone","EventEmitter","value","control","errors","x","__ngFactoryType__","ɵɵdirectiveInject","Store","UserServiceConfig","NgZone","ɵɵdefineComponent","ɵɵProvidersFeature","ControlContainer","FormGroupDirective","ɵɵInheritDefinitionFeature","rf","ctx","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","ɵɵelement","ɵɵelementEnd","ɵɵtemplate","EntryCheckboxFieldComponent_mat_icon_5_Template","EntryCheckboxFieldComponent_mat_error_6_Template","ɵɵadvance","ɵɵproperty","ɵɵsanitizeHtml","MatCheckbox","NgrxFormsModule","NgrxFormControlDirective","NgrxStatusCssClassesDirective","CustomErrorStateMatcherDirective","InputDisabledDirective","NgIf","MatIcon","MatSuffix","MatTooltip","MatError","ConfirmationDialog","formBuilder","dialogRef","data","FormBuilder","MatDialogRef","MAT_DIALOG_DATA","ɵɵtext","ɵɵtextInterpolate","MatDialogTitle","MatDialogContent","MatDialogActions","_c9","formAccountingConverter","s","NumberEntryFieldComponent","_autofill","document","isFocused","event","SetValueAction","length","result","characters","charactersLength","i","AutofillMonitor","DOCUMENT","ɵɵviewQuery","_c0","_c10","_t","ɵɵqueryRefresh","ɵɵloadQuery","NumberEntryFieldComponent_div_5_Template","NumberEntryFieldComponent_mat_icon_6_Template","NumberEntryFieldComponent_mat_icon_7_Template","NumberEntryFieldComponent_mat_icon_8_Template","NumberEntryFieldComponent_mat_error_9_Template","NumberEntryFieldComponent_mat_hint_10_Template","NumberEntryFieldComponent_mat_hint_11_Template","ɵɵpureFunction1","_c1","ɵɵtextInterpolate1","ɵɵattribute","MatFormFieldModule","MatFormField","MatLabel","MatHint","MatPrefix","NgClass","MatInput","CommonModule","NgrxDefaultViewAdapter","NumericDirective","FileEntryFieldComponent","val","toastr","Helper","files","reader","fileLoadedEvent","file","extension","__spreadProps","__spreadValues","fileToRead","fileReader","textFromFileLoaded","ToastrService","FileEntryFieldComponent_div_1_Template","FileEntryFieldComponent_div_2_Template","NgrxMatButtonToggleDirective","matButtonToggleGroup","selectedOption","v","fn","MarkAsDirtyAction","isDisabled","MatButtonToggleGroup","ɵɵdefineDirective","NGRX_FORM_VIEW_ADAPTER","forwardRef","AppButtonToggleComponent","list","parent","key","filter","index","item","AppButtonToggleComponent_h4_1_Template","AppButtonToggleComponent_mat_button_toggle_3_Template","ɵɵpipe","AppButtonToggleComponent_mat_error_5_Template","AppButtonToggleComponent_mat_hint_6_Template","AppButtonToggleComponent_div_7_Template","ɵɵpipeBind1","NgForOf","MatButtonToggle","AsyncPipe","_c8","MY_FORMATS","EntryFieldDateMonthYearComponent","EntryComponentBase","val","createFormGroupState","data","data1","setValue","month","enable","disable","store","userConfig","EventEmitter","select","commomState_MonthListOptions","createFormControlState","input","normalizedYear","year","normalizedMonth","datepicker","value","SetValueAction","isFocused","MarkAsTouchedAction","type","date","MatDatepickerInputEvent","moment","dateString","dateMomentObject","dateObject","SetAsyncErrorAction","ClearAsyncErrorAction","__ngFactoryType__","ɵɵdirectiveInject","Store","UserServiceConfig","ɵɵdefineComponent","ɵɵProvidersFeature","DateAdapter","MomentDateAdapter","MAT_DATE_LOCALE","MAT_MOMENT_DATE_ADAPTER_OPTIONS","MAT_DATE_FORMATS","ControlContainer","FormGroupDirective","ɵɵInheritDefinitionFeature","rf","ctx","_r1","ɵɵgetCurrentView","ɵɵelementStart","ɵɵlistener","$event","ɵɵrestoreView","ɵɵresetView","ɵɵelementEnd","ɵɵtemplate","EntryFieldDateMonthYearComponent_mat_datepicker_toggle_7_Template","dp_r3","ɵɵreference","EntryFieldDateMonthYearComponent_mat_error_11_Template","picker_r2","ɵɵadvance","ɵɵpropertyInterpolate","ɵɵproperty","ɵɵpureFunction2","_c5","EntryFieldDropdownComponent","MatFormField","NgClass","MatInput","NumericDirective","MatDatepickerInput","NgIf","MatDatepickerToggle","MatSuffix","MatDatepicker","MatError","MatDatepickerModule","MatNativeDateModule","AppPdfViewerComponent","x","error","EMPTY","base64Split","byteCharacters","byteNumbers","i","http","sanitizer","dataURI","base64Index","base64","raw","rawLength","array","HttpClient","DomSanitizer","ɵɵviewQuery","_c12","_t","ɵɵqueryRefresh","ɵɵloadQuery","AppPdfViewerComponent_object_0_Template","AppPdfViewerComponent_div_1_Template","AppPdfViewerComponent_img_2_Template","AppPdfViewerComponent_ng2_pdfjs_viewer_3_Template","AppPdfViewerComponent_div_4_Template","AppPdfViewerComponent_div_5_Template","NgxPrintDirective","MatIcon","PdfJsViewerModule","PdfJsViewerComponent","MatProgressSpinner","SafePipe","GreenIdService","toastr","account","verificationId","obj","ɵɵinject","ToastrService","ɵɵdefineInjectable","RequestVerificationCodeAction","createAction","props","ResponseVerificationCodeAction","UpdateOverallStatusAction","RequestVerifiedAction","ResponseVerifiedAction","ScriptLoadedAction","GreenIdEffects","actions$","service","createEffect","ofType","switchMap","action","map","Actions","GreenIdModel","greenIdFormName","homeState","GreenIdModel","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseVerificationCodeAction","data","m","createFormGroupState","__spreadProps","__spreadValues","ScriptLoadedAction","UpdateOverallStatusAction","status","RequestVerifiedAction","account","verificationId","RequestVerificationCodeAction","ResponseVerifiedAction","greenIdReducer","IsLoadingAction","createAction","props","commonState","reducerList","payload","commonReducer","featureKey","reducers","uiComponentState","createFeatureSelector","createSelector","greenId_Model","greenId_IsLoading","greenId_SubmittedDate","greenId_ScriptLoaded","greenId_MemberData","TenantService","__ngFactoryType__","ɵɵdefineInjectable","GreenIdDocsVerificationDialog","store","formBuilder","document","toastr","router","dialogRef","userConfig","tenantService","select","Subject","verificationToken","errorName","code","err","overallState","sourceName","checkState","userData","tt","a","rr","errMessage","elem","ɵɵdirectiveInject","Store","FormBuilder","DOCUMENT","ToastrService","Router","MatDialogRef","UserServiceConfig","MAT_DIALOG_DATA","ɵɵdefineComponent","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵtemplate","GreenIdDocsVerificationDialog_h4_3_Template","ɵɵpipe","ɵɵelement","GreenIdDocsVerificationDialog_div_6_Template","ɵɵlistener","GreenIdDocsVerificationDialog_button_10_Template","tmp_0_0","ɵɵadvance","ɵɵproperty","ɵɵpipeBind1","MatDialogTitle","MatDialogContent","NgIf","NgForOf","MatDialogActions","AsyncPipe","AppGreenIdComponent","val","location","dialog","EventEmitter","Helper","takeUntil","x","distinctUntilChanged","model","__async","result","loaded","Location","MatDialog","ɵɵProvidersFeature","AppGreenIdComponent_div_0_Template","MatIcon","MatProgressBar","EntryFieldAddressAccurityComponent","EntryComponentBase","content","value","createFormControlState","setValue","addr","setErrors","markAsTouched","userServiceConfig","Regex_AlphaSpaceDash","commomState_AddressAccurityOptions","commomState_AddressAccurityAustraliaStateOptions","commomState_AddressAccurityCountryOptions","address","required","validateFields","element","SetErrorsAction","control","australiaAddress","AddressModel","event","input","isValid","MarkAsTouchedAction","displaySuggestions","predictions","callback","geocoder","results","options","place","e","ex","address_components","addressType","ɵɵviewQuery","_c4","_t","ɵɵqueryRefresh","ɵɵloadQuery","ControlContainer","FormGroupDirective","ɵɵInheritDefinitionFeature","EntryFieldAddressAccurityComponent_h5_0_Template","EntryFieldAddressAccurityComponent_app_entry_radio_1_Template","EntryFieldAddressAccurityComponent_mat_hint_3_Template","EntryFieldAddressAccurityComponent_app_entry_4_Template","EntryFieldAddressAccurityComponent_mat_error_5_Template","EntryFieldAddressAccurityComponent_div_6_Template","EntryFieldAddressAccurityComponent_div_8_Template","EntryFieldRadioComponent","MatHint","EntryFieldComponent","MatError","EntryFieldDropdownComponent","AppInjector","IfaaUiComponentsModule","injector","config","ɵɵinject","Injector","ɵɵdefineNgModule","ɵɵdefineInjector","SafePipe","JoinPipe","DashPipe","GreenIdService","NgxPrintModule","NgrxFormsModule","HttpClientModule","CommonModule","MomentModule","FormsModule","PdfJsViewerModule","ReactiveFormsModule","StoreModule","EffectsModule","GreenIdEffects","AppToolbarOptionsComponent","AppButtonComponent","NumberEntryFieldComponent","AppReadonlyComponent","AppCopyableComponent","EntrySlideToggleFieldComponent","EntryTextAreaFieldComponent","FileEntryFieldComponent","AppButtonToggleComponent","AppGoBackComponent","AppPdfViewerComponent","AppScrollUpComponent","EntryCheckboxFieldComponent","EntryFieldAddressComponent","EntryFieldAutocompleteComponent","EntryFieldDateComponent","EntryFieldDateMonthYearComponent","AppFileModel","TranslateLoader","TranslateFakeLoader","lang","of","ɵTranslateFakeLoader_BaseFactory","__ngFactoryType__","ɵɵgetInheritedFactory","ɵɵdefineInjectable","MissingTranslationHandler","FakeMissingTranslationHandler","params","equals","o1","o2","t1","t2","length","key","keySet","isDefined","value","isDict","isObject","isArray","isString","isFunction","mergeDeep","target","source","output","getValue","keys","setValue","current","i","TranslateParser","TranslateDefaultParser","expr","fn","substring","b","r","ɵTranslateDefaultParser_BaseFactory","TranslateCompiler","TranslateFakeCompiler","translations","ɵTranslateFakeCompiler_BaseFactory","TranslateStore","EventEmitter","ISOLATE_TRANSLATE_SERVICE","InjectionToken","USE_DEFAULT_LANG","DEFAULT_LANGUAGE","USE_EXTEND","makeObservable","isObservable","TranslateService","defaultLang","currentLang","langs","store","currentLoader","compiler","parser","missingTranslationHandler","useDefaultLang","isolate","extend","defaultLanguage","pending","take","loadingTranslations","shareReplay","map","res","__spreadValues","err","shouldMerge","interpolatableTranslations","newLangs","interpolateParams","translation","result","observables","k","sources","forkJoin","arr","obj","index","concatMap","concat","defer","switchMap","event","acc","currKey","browserLang","ɵɵinject","TranslatePipe","translate","_ref","key","interpolateParams","translations","onTranslation","res","isObservable","query","args","equals","isDefined","isString","validArgs","e","isDict","event","__ngFactoryType__","ɵɵdirectiveInject","TranslateService","ChangeDetectorRef","ɵɵdefinePipe","ɵɵdefineInjectable","TranslateModule","config","TranslateLoader","TranslateFakeLoader","TranslateCompiler","TranslateFakeCompiler","TranslateParser","TranslateDefaultParser","MissingTranslationHandler","FakeMissingTranslationHandler","TranslateStore","ISOLATE_TRANSLATE_SERVICE","USE_DEFAULT_LANG","USE_EXTEND","DEFAULT_LANGUAGE","TranslateService","__ngFactoryType__","ɵɵdefineNgModule","ɵɵdefineInjector","RequestAction","createAction","ResponseAction","props","SelectAccountAction","ResetSelectedAccountDataAction","FeatureToggleLevel","global","fund","accountClassification","accountType","FeatureToggleValue","available","disabled","hidden","RequestAction","createAction","props","ResponseAction","beneficiariesViewState","list","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","beneficiariesViewReducer","BeneficiaryModel","constructor","beneficiaryId","name","beneficiaryTypeId","beneficiaryTypeName","percentage","relationship","expirationDate","editable","AddNewBeneficiaryAction","createAction","RemoveBeneficiaryAction","props","ResetAction","RequestAction","ResponseAction","SubmitRequestAction","SubmitResponseAction","SetupMaxBeneficiariesAction","NGRX_FORMS_EMAIL_VALIDATION_REGEXP","email","value","unbox","greaterThan","comparand","value","unbox","lessThanOrEqualTo","comparand","value","unbox","required","value","unbox","requiredTrue","value","unbox","formName","helper","Helper","state","form","createFormArrayState","lastModifiedTime","maxBeneficiaries","validateForm","updateArray","updateGroup","name","validate","required","relationship","percentage","greaterThan","lessThanOrEqualTo","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetAction","__spreadProps","__spreadValues","SetupMaxBeneficiariesAction","value","RequestAction","setValue","AddNewBeneficiaryAction","b","BeneficiaryModel","beneficiaryTypeId","newForm","addArrayControl","RemoveBeneficiaryAction","index","removeArrayControl","ResponseAction","payload","controls","map","control","editable","formStateReducer","EnableAction","id","DisableAction","SubmitResponseAction","Date","reducerFormState","wrapReducerWithFormStateUpdate","s","beneficiariesEditReducer","loginState","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","memberViewReducer","RequestAction","createAction","ResponseAction","props","CommunicationPreference","CommunicationPreferenceDescription","unknown","byEmail","byPost","MemberModel","constructor","memberNumber","firstName","lastName","secondName","taxFileNumber","mobile","homePhone","occupation","email","postalAddress","AddressModel","residentialAddress","dateOfBirth","isPostalSameAsResidential","hasTFN","preferredName","tfnTermsAndCondition","communicationPreference","CommunicationPreference","unknown","communicationPreferenceDescription","loginState","model","MemberModel","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","memberViewOverviewReducer","RequestAction","createAction","ResponseAction","props","SubmitRequestAction","SubmitResponseAction","ResetAction","formName","helper","Helper","state","form","createFormGroupState","MemberModel","lastModifiedTime","originalEmail","accountId","validateEditMemberForm","updateGroup","firstName","validate","required","lastName","email","taxFileNumber","tfnValidator","tfnTermsAndCondition","parentState","value","hasTFN","requiredTrue","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetAction","__spreadProps","__spreadValues","RequestAction","setValue","ResponseAction","payload","clone","Object","assign","postalAddress","AddressModel","residentialAddress","SubmitResponseAction","Date","editMemberReducerFormState","wrapReducerWithFormStateUpdate","s","memberEditReducer","CashTransactionFilter","constructor","from","to","transactionType","transactionDescription","currentPage","CashTransactionsSetFromToDateAction","createAction","props","CashTransactionsRequestAction","CashTransactionsResponseAction","CashTransactionsTypesRequestAction","CashTransactionsTypesResponseAction","CashTransactionsDescriptionRequestAction","CashTransactionsDescriptionResponseAction","CashTransactionIncrementPageAction","ResetFormAction","ResetFilterAction","cashtransactionsListFilter","helper","Helper","cashTransactionListState","list","transactionTypes","transactionDescription","filter","createFormGroupState","CashTransactionFilter","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","controlId","newFilter","__spreadProps","__spreadValues","value","currentPage","setValue","on","CashTransactionsSetFromToDateAction","from","to","clone","CashTransactionsResponseAction","payload","ResetFormAction","CashTransactionsTypesResponseAction","CashTransactionsDescriptionResponseAction","CashTransactionIncrementPageAction","ResetFilterAction","isLoading","cashTransactionListReducer","defaultState","accounts","selectedAccount","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","on","ResponseAction","payload","__spreadProps","__spreadValues","SelectAccountAction","ResetSelectedAccountDataAction","_state","memberAccountDropdownReducer","action","RequestAction","createAction","props","ResponseAction","SelectFilterAction","HistoricalGraphModel","constructor","graphDescription","totalAmount","asAt","data","pendingAmount","state","model","HistoricalGraphModel","activeOptionButton","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","SelectFilterAction","historicalChartViewReducer","ShowQuestionnaireRequestAction","createAction","props","ShowQuestionnaireResponseAction","InsuranceQuestionnaireModel","constructor","ageNextBirthday","gender","employmentArrangement","occupationDescription","isCitizenOrPermanent","isPaidEmployment","isHazardousOccupation","statementsApplyToYou","takeReasonableCare","confirmReadAndAcceptInsuranceGuide","youAcknowledge","confirmReadInsuranceRequestInsuranceGuide","isLegallyRecognisedAsGender","legallyRecognisedGender","hasPreExistingConditionOrDisability","engageInHazardousPursuits","isPlanningToTakeLeaveWithoutPay","InsuranceQuestionnaireResultModel","deathCover","referenceNumber","tpdCover","costOfCoverWithTpd","costOfCoverWithoutTpd","optOutTdpCover","eligibleForTpd","InsuranceRequestModel","constructor","confirmReadInsuranceRequestInsuranceGuide","InsurancePreQuestionnaireRequestModel","constructor","hasPreExistingConditionOrDisability","engageInHazardousPursuits","isPlanningToTakeLeaveWithoutPay","formName","validateInsuranceRequestForm","updateGroup","confirmReadInsuranceRequestInsuranceGuide","validate","requiredTrue","state","form","createFormGroupState","InsuranceRequestModel","ageNextBirthday","showQuestionnaire","elegibilityDate","helper","Helper","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ShowQuestionnaireResponseAction","payload","__spreadProps","__spreadValues","show","offerExpiryDate","insuranceQuestionnaireReducer","editInsuranceRequestReducerFormState","wrapReducerWithFormStateUpdate","s","ResetFormAction","createAction","ValidateFormAction","NextStepAction","PreviousStepAction","LegallyRecognisedAsGenderAction","SubmitRequestAction","props","SubmitResponseAction","ConfirmRequestAction","ConfirmResponseAction","ConfirmReadInsuranceRequestInsuranceGuideAction","formName","submittedFormName","helper","Helper","state","form","createFormGroupState","InsuranceQuestionnaireModel","confirmedTime","currentStep","validated","totalSteps","submitted","validateEditMemberForm1","updateGroup","gender","validate","required","isLegallyRecognisedAsGender","legallyRecognisedGender","validateEditMemberForm2","isCitizenOrPermanent","validateEditMemberForm3","isPaidEmployment","validateEditMemberForm4","employmentArrangement","validateEditMemberForm5","isHazardousOccupation","validateEditMemberForm6","occupationDescription","validateEditMemberForm7","statementsApplyToYou","validateEditMemberForm8","youAcknowledge","requiredTrue","ValidateStep","action","myForm","formGroupReducer","validatedForm","__spreadProps","__spreadValues","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","newState","controlId","value","clone","setValue","on","ResetFormAction","SubmitResponseAction","data","Object","assign","InsuranceQuestionnaireResultModel","LegallyRecognisedAsGenderAction","ConfirmReadInsuranceRequestInsuranceGuideAction","confirmReadInsuranceRequestInsuranceGuide","ShowQuestionnaireResponseAction","payload","ageNextBirthday","ConfirmResponseAction","referenceNumber","Date","ValidateFormAction","NextStepAction","PreviousStepAction","insuranceQuestionnaireStartReducer","RequestAction","createAction","props","ResponseAction","InsuranceDetailsModel","constructor","hasInsurance","insuranceCoverUrl","fundDocuments","insurances","premiumStartDate","lastModified","loginState","model","InsuranceDetailsModel","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","insuranceDetailsReducer","RollInEditModel","constructor","provider","SuperannuationProviderItemModel","memberNumber","amountToTransferOption","amountToTransfer","confirm","RollInEditConfirmModel","step","insurance","termsAndConditions","name","productName","abn","usi","ResetAction","createAction","ContinueAction","ConfirmBackAction","SelectedProviderAction","props","SubmitRequestAction","SubmitResponseAction","formName","helper","Helper","state","form","createFormGroupState","RollInEditModel","lastModifiedTime","validateEditMemberForm","updateGroup","memberNumber","validate","required","amountToTransferOption","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetAction","__spreadProps","__spreadValues","ConfirmBackAction","clone","value","step","SelectedProviderAction","payload","provider","setValue","ContinueAction","SubmitResponseAction","reducerFormState","wrapReducerWithFormStateUpdate","s","rollInEditReducer","SwitchInvestmentModel","constructor","selected","newSelected","options","RequestOptionsAction","createAction","props","ResponseOptionsAction","RequestSwitchOptionAction","ResponseSwitchOptionAction","formName","state","form","createFormGroupState","SwitchInvestmentModel","lastModifiedTime","submitText","validateForm","updateGroup","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseOptionsAction","payload","__spreadProps","__spreadValues","setValue","Object","assign","ResponseSwitchOptionAction","Date","reducerFormState","wrapReducerWithFormStateUpdate","s","switchInvestmentsReducer","RequestAction","createAction","props","ResponseAction","ResetFormAction","ContributionDetailModel","constructor","description","concessionalAmount","concessionalCap","concessionalExceeded","nonConcessionalAmount","nonConcessionalCap","nonConcessionalExceeded","contributionsState","data","ContributionDetailModel","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetFormAction","contributionsLimitsReducer","ResetAction","createAction","ClearSearchAction","RequestAction","props","ResponseAction","SelectOptionAction","SuperannuationProviderSearchModel","constructor","list","selected","SuperannuationProviderItemModel","q","formName","helper","Helper","state","form","createFormGroupState","SuperannuationProviderSearchModel","lastModifiedTime","validateEditMemberForm","updateGroup","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetAction","RequestAction","q","__spreadValues","clone","value","list","__spreadProps","setValue","ResponseAction","payload","SelectOptionAction","selected","ClearSearchAction","reducerFormState","wrapReducerWithFormStateUpdate","s","superannuationProviderSearchReducer","PersonalContributionModel","constructor","eligibilityToContribute","contributeFrequency","personalContribution","bankPayments","paymentsMethods","declaration_Option1","declaration_Option2","declaration_Option3","declaration_Option4","declaration_Option5","ResetFormAction","createAction","SubmitRequestAction","props","SubmitResponseAction","SetDefaultPaymentMethodAction","BankDetailsRequestAction","BankDetailsResponseAction","formName","helper","Helper","state","form","createFormGroupState","PersonalContributionModel","lastModifiedTime","bankDetails","validateForm","updateGroup","declaration_Option1","validate","requiredTrue","declaration_Option2","declaration_Option3","declaration_Option4","declaration_Option5","personalContribution","greaterThan","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","SetDefaultPaymentMethodAction","payload","clone","value","paymentsMethods","__spreadProps","__spreadValues","setValue","BankDetailsResponseAction","SubmitResponseAction","Date","ResetFormAction","reducerFormState","wrapReducerWithFormStateUpdate","s","personalContributionEditReducer","RequestAction","createAction","props","ResponseAction","cashTransactionListState","list","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","consolidateSuperReducer","RequestAction","createAction","props","ResponseAction","state","model","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","unitPriceViewReducer","RequestAction","createAction","props","ResponseAction","FileRequestAction","ResetFileAction","state","list","selectedFile","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","FileRequestAction","accountId","correspondenceSource","correspondenceId","link","environment","apiUrl","ResetFileAction","documentViewerListReducer","RequestAction","createAction","props","ResponseAction","state","list","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","notificationDropdownReducer","RequestAction","createAction","props","ResponseAction","state","model","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","accountUnderlyingViewReducer","RequestAction","createAction","props","ResponseAction","bpayDetailsViewState","item","undefined","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","bpayDetailsViewReducer","ResetDataAction","createAction","RequestAction","props","ResponseAction","RequestBeneficiariesAction","ResponseBeneficiariesAction","loginState","model","beneficiaryList","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResetDataAction","__spreadProps","__spreadValues","ResponseAction","payload","ResponseBeneficiariesAction","list","filter","x","beneficiaryTypeId","memberPensionViewReducer","CurrentInvestmentModel","constructor","current","future","currentFuture","hasPendingCurrentOptions","disclaimer","hiddenFuture","hiddenCurrent","RequestAction","createAction","ResponseAction","props","SubmitRequestAction","SubmitResponseAction","ResetAction","GoToStepAction","RequestCurrentDataAction","ResponseCurrentDataAction","RequestOptionsDataAction","ResponseOptionsDataAction","SetStepsAction","SetIsPensionAction","SetSubmitText","SetIsSimpleSwitch","formName","helper","Helper","state","form","createFormGroupState","CurrentInvestmentModel","lastModifiedTime","currentStep","steps","currentInfo","originalCurrentInfo","options","isPension","futureModelList","submitText","failedPerformanceMessage","isSimpleSwitch","validateEditMemberForm","updateGroup","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetAction","__spreadProps","__spreadValues","SetStepsAction","GoToStepAction","step","JSON","stringify","setValue","Object","assign","indexOf","val","clone","value","future","current","filter","x","percentage","forEach","element","hasPendingCurrentOptions","length","SetIsPensionAction","payload","ResponseCurrentDataAction","ResponseOptionsDataAction","SubmitResponseAction","Date","SetSubmitText","SetIsSimpleSwitch","editInvestmentReducerFormState","wrapReducerWithFormStateUpdate","s","investmentEditReducer","RequestAction","createAction","props","ResponseAction","CancelApplicationAction","MoveApplicationToCancelledAction","SetApplicationToCancelledAction","RequestContinueApplicationAction","ContinueApplicationAction","ResetComponentStateAction","UpdateSubmittedApplicationAction","AccessYourSuperFilterModel","constructor","activeOptionButton","accessYourSuperStartFilter","state","model","filter","createFormGroupState","AccessYourSuperFilterModel","applicationAccountId","applicationToCancelled","applicationData","updatingSubmittedDocuments","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","RequestAction","accountId","__spreadProps","__spreadValues","ResponseAction","payload","helper","Helper","clone","length","sort","a","b","Date","lastModified","getTime","SetApplicationToCancelledAction","MoveApplicationToCancelledAction","applicationId","localModel","Object","assign","applicationIndex","findIndex","o","application","cancelledList","push","draftList","splice","ContinueApplicationAction","UpdateSubmittedApplicationAction","ResetComponentStateAction","accessYourSuperStartComponentReducer","SetCurrentStepAction","createAction","props","UpdateCurrentStepAction","CurrentStepUpdatedAction","SaveApplicationDataAction","SaveLastEmployerDetailsAction","SaveBankDetailsAction","SaveDocumentModelAction","ResetComponentStateAction","UpdateDocumentRequiredAction","GetApplicationTypesRequestAction","GetApplicationTypesResponseAction","state","currentStep","currentStepUpdated","applicationId","applicationData","applicationTypes","helper","Helper","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","GetApplicationTypesResponseAction","payload","__spreadProps","__spreadValues","hasError","ResetComponentStateAction","SetCurrentStepAction","nextStep","SaveApplicationDataAction","model","CurrentStepUpdatedAction","Date","SaveLastEmployerDetailsAction","employerDetails","lastEmployerName","stillWithEmployer","finishDate","waitingOnFinalContribution","SaveBankDetailsAction","bankDetails","bankName","accountName","accountNumber","bsb","SaveDocumentModelAction","applicationDocuments","UpdateDocumentRequiredAction","documentTypeId","isRequired","clone","documentIndex","findIndex","x","isDocumentRequired","accessYourSuperFormComponentReducer","SetFirstDropdownValuesAction","createAction","props","SetSecondDropdownValuesAction","ResetSecondDropdownValueAction","ResetComponentStateAction","SelectApplicationTypeAction","SaveApplicationIdAction","GetApplicationDataAction","SaveApplicationDataAction","AccessYourSuperTypeSelectionDropdowns","constructor","firstDropdown","secondDropdown","state","form","createFormGroupState","AccessYourSuperTypeSelectionDropdowns","firstDropdownValues","secondDropdownValues","applicationId","applicationData","validateDropdowns","updateGroup","firstDropdown","validate","required","secondDropdown","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","SetFirstDropdownValuesAction","payload","__spreadProps","__spreadValues","SetSecondDropdownValuesAction","ResetSecondDropdownValueAction","setValue","value","ResetComponentStateAction","model","SaveApplicationIdAction","SaveApplicationDataAction","accessYourSuperTypeSelectionFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperTypeSelectionComponentReducer","ResetComponentStateAction","createAction","SaveLastEmployerDetailsAction","props","LastEmployerDetailsSavedAction","AccessYourSuperLastEmployerForm","constructor","lastEmployerName","stillWithEmployer","finishDate","waitingOnFinalContribution","state","form","createFormGroupState","AccessYourSuperLastEmployerForm","lastEmployerDetailsSaved","maxDateValidator","input","errors","finishDate","Date","setHours","validateLastEmployerForm","updateGroup","lastEmployerName","validate","required","stillWithEmployer","parentState","value","waitingOnFinalContribution","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetComponentStateAction","LastEmployerDetailsSavedAction","__spreadProps","__spreadValues","editLastEmployerReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperLastEmployerFormReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SetCurrentInvestmentMixAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperSfhDependantModel","constructor","name","age","relationship","AccessYourSuperDrawdownModel","AccessYourSuperRetirementForm","AccessYourSuperDrawdownModel","constructor","paymentType","fullAmountSelection","partialAmountSpecified","partialWithdrawalSelection","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperRetirementForm","fullAmountRadioOptions","savedFormData","validateRetirementForm","updateGroup","paymentType","validate","required","fullAmountSelection","parentState","value","partialAmountSpecified","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","Math","round","greaterThan","lessThanOrEqualTo","partialWithdrawalSelection","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetFullAmountRadioOptionsAction","SavedFormDataAction","Date","editRetirementReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperRetirementComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SetCurrentInvestmentMixAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperCeasedWorkSixtyForm","AccessYourSuperDrawdownModel","constructor","paymentType","fullAmountSelection","partialAmountSpecified","partialWithdrawalSelection","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperCeasedWorkSixtyForm","fullAmountRadioOptions","savedFormData","validateCeasedWorkSixtyForm","updateGroup","paymentType","validate","required","fullAmountSelection","parentState","value","partialAmountSpecified","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","Math","round","greaterThan","lessThanOrEqualTo","partialWithdrawalSelection","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetFullAmountRadioOptionsAction","SavedFormDataAction","Date","editCeasedWorkSixtyReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperCeasedWorkSixtyComponentReducer","ResetComponentStateAction","createAction","SearchBankNameAction","props","SetBankNameAction","SetFieldValuesAction","SaveBankDetailsAction","SetBankDetailsSavedAction","AccessYourSuperBankDetailsForm","constructor","financialInstitutionName","bankAccountName","bankAccountNumber","bankAccountBsb","state","form","createFormGroupState","AccessYourSuperBankDetailsForm","bankDetailsSaved","validateAccessYourSuperBankDetailForm","updateGroup","financialInstitutionName","validate","required","bankAccountBsb","parentState","invalidBsb","errors","value","bankAccountName","bankAccountNumber","validateAccountNumber","test","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","SetFieldValuesAction","bankName","accountName","accountNumber","bsb","__spreadProps","__spreadValues","setValue","Object","assign","SetBankNameAction","payload","ResetComponentStateAction","SetBankDetailsSavedAction","Date","editAccessYourSuperBankDetailsReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperBankDetailsComponentReducer","RequestUnderlyingInvestmentSummaryAction","createAction","props","ResponseUnderlyingInvestmentSummaryAction","InvestmentOptionChangedAction","ShowInvestmentOptionsAction","state","model","selectedInvestmentOption","investmentOptions","hasMultipleInvestments","noOfInvestments","isConsolidatedView","underlyingInvestmentSummeryReducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state1","action","on","ResponseUnderlyingInvestmentSummaryAction","payload","consolidatedInvestment","investmentSummaries","filter","o","investmentOptionId","investmentOptionsList","sort","a","b","amountInvested","defaultInvestmentOption","investmentCount","length","__spreadProps","__spreadValues","InvestmentOptionChangedAction","list","selected","ShowInvestmentOptionsAction","first","accountUnderlyingInvestmentSummaryViewReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SetCurrentInvestmentMixAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperPermanentRetirementPreservationForm","AccessYourSuperDrawdownModel","constructor","paymentType","fullAmountSelection","partialAmountSpecified","isPermanentlyRetired","partialWithdrawalSelection","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperPermanentRetirementPreservationForm","fullAmountRadioOptions","savedFormData","validatePermanentRetirementPreservationForm","updateGroup","paymentType","validate","required","fullAmountSelection","parentState","value","partialAmountSpecified","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","Math","round","greaterThan","lessThanOrEqualTo","isPermanentlyRetired","partialWithdrawalSelection","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetFullAmountRadioOptionsAction","SavedFormDataAction","Date","editPermanentRetirementPreservationReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperPermanentRetirementPreservationComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetTaxOptionsAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperCeasedPaidEmploymentForm","AccessYourSuperDrawdownModel","constructor","paymentType","partialAmountSpecified","isBeforeTax","restrictedNonPreservedAmount","partialWithdrawalSelection","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperCeasedPaidEmploymentForm","taxOptions","savedFormData","validateCeasedPaidEmploymentForm","updateGroup","paymentType","validate","required","partialAmountSpecified","parentState","value","valueValidator","errors","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","formattedNumber","Intl","NumberFormat","style","currency","format","greaterThan","isBeforeTax","partialWithdrawalSelection","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetTaxOptionsAction","SavedFormDataAction","Date","editCeasedPaidEmploymentReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperCeasedPaidEmploymentComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SetTaxOptionsAction","SetCurrentInvestmentMixAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperPensionCommutationsForm","AccessYourSuperDrawdownModel","constructor","paymentType","fullAmountSelection","partialAmountSpecified","isBeforeTax","isPermanentlyRetired","partialWithdrawalSelection","investmentOptionDrawdown","unrestrictedNonPreservedAmount","isTtr","state","model","form","createFormGroupState","AccessYourSuperPensionCommutationsForm","fullAmountRadioOptions","taxOptions","savedFormData","validatePensionCommutationsForm","updateGroup","paymentType","parentState","value","isTtr","isPermanentlyRetired","ttrIsPermRetiredValidator","errors","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","Math","round","fullAmountPossible","unrestrictedNonPreservedAmount","validate","required","fullAmountSelection","partialAmountSpecified","greaterThan","lessThanOrEqualTo","partialWithdrawalSelection","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetFullAmountRadioOptionsAction","SetTaxOptionsAction","SavedFormDataAction","Date","editPensionCommutationsReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperPensionCommutationsComponentReducer","ResetComponentStateAction","createAction","GreenIdVerifiedAction","props","SetupSupportingDocumentOverviewAction","AddNewAppFileAction","RemoveAppFileAction","SaveDocumentAction","UpdateSavedDocumentAction","ReplaceDocumentAction","UpdateReplacedDocumentAction","DeleteDocumentAction","UpdateDeletedDocumentAction","SetFileRequestFailedAction","ResetFileRequestFailedAction","CompleteDocumentsAction","DocumentsCompletedAction","AccessYourSuperDocumentsForm","constructor","greenIdVerified","supportingDocuments","state","form","createFormGroupState","AccessYourSuperDocumentsForm","uploadedDocument","deletedDocument","replacedDocument","fileRequestFailed","documentsCompleted","helper","Helper","validateAccessYourSuperDocumentsForm","updateGroup","greenIdVerified","validate","requiredTrue","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetComponentStateAction","GreenIdVerifiedAction","verified","__spreadProps","__spreadValues","setValue","Object","assign","value","SetupSupportingDocumentOverviewAction","documentTypeId","documentAmount","referenceRequired","authorityGiven","referenceValue","previouslyProvided","isDocumentRequired","clone","supportingDocuments","files","i","push","AppFileModel","documentOverview","requestAuthority","AddNewAppFileAction","overviewIndex","RemoveAppFileAction","uploadIndex","splice","UpdateSavedDocumentAction","uploadedDocumentId","fileName","documentIndex","controlId","loading","UpdateDeletedDocumentAction","UpdateReplacedDocumentAction","payload","SetFileRequestFailedAction","file","ResetFileRequestFailedAction","DocumentsCompletedAction","Date","editAccessYourSuperDocumentsReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperDocumentsComponentReducer","ShowPreQuestionnaireRequestAction","createAction","props","ShowPreQuestionnaireResponseAction","ShowStartQuestionnaireRequestAction","ResetPreQuestionnaireRequestAction","formName","validatePreInsuranceQuestionnaireRequestForm","updateGroup","hasPreExistingConditionOrDisability","validate","required","isPlanningToTakeLeaveWithoutPay","engageInHazardousPursuits","state","form","createFormGroupState","InsurancePreQuestionnaireRequestModel","showQuestionnaire","showPreQuestionnaire","showStartQuestionnaire","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetPreQuestionnaireRequestAction","__spreadProps","__spreadValues","ShowStartQuestionnaireRequestAction","display","ShowPreQuestionnaireResponseAction","payload","show","insurancePreQuestionnaireReducer","editInsuranceRequestReducerFormState","wrapReducerWithFormStateUpdate","s","AccessYourSuperReviewForm","constructor","disclaimer","GetCustomDataAction","createAction","props","SaveCustomDataAction","GetKiwiSaverDataAction","GetSfhDataAction","ResetComponentStateAction","SubmitApplicationAction","ApplicationSubmittedAction","state","form","createFormGroupState","AccessYourSuperReviewForm","applicationSubmitted","customData","validateReviewForm","updateGroup","disclaimer","validate","requiredTrue","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetComponentStateAction","_state","SaveCustomDataAction","payload","__spreadProps","__spreadValues","ApplicationSubmittedAction","editReviewReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperReviewComponentReducer","RequestAction","createAction","props","ResponseAction","state","employer","Array","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","recentEmploymentDetailsReducer","AccountSummaryRequestAction","createAction","props","AccountSummaryResponseAction","AccountComponentsModel","constructor","eligibleServiceDate","asAt","accountSummaryState","accountSummary","AccountComponentsModel","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","AccountSummaryResponseAction","payload","__spreadProps","__spreadValues","accountSummaryReducer","RequestCurrentDataAction","createAction","props","ResponseCurrentDataAction","state","currentInfo","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseCurrentDataAction","payload","__spreadProps","__spreadValues","investmentOptionReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SetReleaseConditionOptionsAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperTerminalMedicationConditionForm","constructor","paymentType","fullAmountSelection","partialAmountSpecified","releaseCondition","illHealthDate","showMedicalConditionSummary","medicalConditionSummary","partialWithdrawalSelection","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperTerminalMedicationConditionForm","releaseConditionOptions","fullAmountRadioOptions","savedFormData","maxDateValidator","input","errors","finishDate","Date","setHours","validateTerminalMedicalConditionForm","updateGroup","paymentType","validate","required","partialAmountSpecified","parentState","value","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","Math","round","greaterThan","lessThanOrEqualTo","releaseCondition","illHealthDate","medicalConditionSummary","showMedicalConditionSummary","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetReleaseConditionOptionsAction","SetFullAmountRadioOptionsAction","SavedFormDataAction","editTerminalMedicalCOnditionReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperTerminalMedicalConditionComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SetTaxOptionsAction","SaveFormDataAction","SavedFormDataAction","SetDependendantFormDataAction","SetSfhStepAction","SetFormVersionAction","SetFormThreeValidAction","SfhBenefitPaymentDetailsForm","constructor","paymentType","fullAmountSelection","partialAmountSpecified","isPermanentlyRetired","isBeforeTax","sfhSummary","receivingQualifyingSupport","receivingQualifyingSupportErrorMsg","partialWithdrawalSelection","investmentOptionDrawdown","memberReachedPreservationAge","SfhDependantsForm","dependants","SfhBenefitPaymentDetailsFormName","SfhDependantsFormName","state","model","formOne","createFormGroupState","SfhBenefitPaymentDetailsForm","formTwo","SfhDependantsForm","formThreeValid","taxOptions","fullAmountRadioOptions","savedFormData","sfhStep","formVersion","validateFormOne","updateGroup","paymentType","validate","required","sfhSummary","partialAmountSpecified","parentState","value","checkPartialAmount","errors","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","Math","round","memberReachedPreservationAge","receivingQualifyingSupport","validateReceivingQualifyingSupport","receivingQualifyingSupportErrorMsg","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetTaxOptionsAction","SetFullAmountRadioOptionsAction","SavedFormDataAction","Date","SetSfhStepAction","step","SetDependendantFormDataAction","dependants","setValue","Object","assign","SetFormVersionAction","SetFormThreeValidAction","isValid","editSevereFinancialHardshipReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperSevereFinancialHardshipComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperCompassionateGroundsForm","constructor","isAtoApproved","partialAmountSpecified","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperCompassionateGroundsForm","savedFormData","validateCompassionateGroundsForm","updateGroup","partialAmountSpecified","parentState","totalBalance","value","investmentOptionDrawdown","reduce","a","b","amount","Math","round","validate","required","greaterThan","lessThanOrEqualTo","isAtoApproved","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SavedFormDataAction","Date","editCompassionateGroundsReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperCompassionateGroundsComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SetFullAmountRadioOptionsAction","SaveFormDataAction","SavedFormDataAction","AccessYourSuperUnrestrictedNonPreservedForm","constructor","paymentType","fullAmountSelection","partialAmountSpecified","unrestrictedNonPreserved","partialWithdrawalSelection","investmentOptionDrawdown","state","model","form","createFormGroupState","AccessYourSuperUnrestrictedNonPreservedForm","fullAmountRadioOptions","savedFormData","validateUnrestrictedNonPreservedForm","updateGroup","paymentType","validate","required","fullAmountSelection","parentState","value","partialAmountSpecified","valueValidator","errors","totalBalance","investmentOptionDrawdown","reduce","a","b","amount","formattedNumber","Intl","NumberFormat","style","currency","format","greaterThan","partialWithdrawalSelection","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ResetComponentStateAction","SetFullAmountRadioOptionsAction","SavedFormDataAction","Date","editUnrestrictedNonPreservedReducerFormState","wrapReducerWithFormStateUpdate","s","accessYourSuperUnrestrictedNonPreservedComponentReducer","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","SaveFormDataAction","SavedFormDataAction","SetKiwiSaverStepAction","AccessYourSuperKiwiSaverFormOne","constructor","currentEmployerName","isCurrentEmployerLastAusEmployer","lastAusEmployerName","lastAusEmploymentDate","isEmployerConfirmationRequested","isEmployerConfirmationRequired","AccessYourSuperKiwiSaverFormTwo","lastAusResidentialAddress","AddressModel","nzResidentialAddress","lineOne","lineTwo","suburb","postCode","state","country","isRequired","AccessYourSuperKiwiSaverFormThree","nzIrdNumber","kiwiSaverSchemeName","kiwiSaverSchemeRegistrationNumber","kiwiSaverSchemeAccountNumber","schemePostalAddress","state","model","formOne","createFormGroupState","AccessYourSuperKiwiSaverFormOne","formTwo","AccessYourSuperKiwiSaverFormTwo","formThree","AccessYourSuperKiwiSaverFormThree","savedFormData","kiwiSaverStep","maxDateValidator","input","errors","finishDate","Date","setHours","validateKiwiSaverFormOne","updateGroup","currentEmployerName","validate","required","lastAusEmployerName","parentState","value","isCurrentEmployerLastAusEmployer","lastAusEmploymentDate","isEmployerConfirmationRequested","isEmployerConfirmationRequired","requiredTrue","validateKiwiSaverFormTwo","lastAusResidentialAddress","nzResidentialAddress","validateKiwiSaverFormThree","nzIrdNumber","kiwiSaverSchemeName","kiwiSaverSchemeRegistrationNumber","kiwiSaverSchemeAccountNumber","schemePostalAddress","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","submissionData","setValue","Object","assign","toISOString","split","AddressModel","isRequired","ResetComponentStateAction","SavedFormDataAction","SetKiwiSaverStepAction","step","editKiwiSaverReducerFormState","wrapReducerWithFormStateUpdate","s","editKiwiSaverReducerFormStateTwo","editKiwiSaverReducerFormStateThree","accessYourSuperKiwiSaverComponentReducer","TwilioChatModel","constructor","message","TwilioModel","twilioToken","twilioChannel","ToggleChatAction","createAction","ChatLoadedAction","RequestChatClosedAction","ResponseChatClosedAction","props","RequestNewChatAction","ResponseNewChatAction","RequestAction","ResponseAction","AddMessageAction","ClearChatFormAction","RequestDeleteChatAction","ResponseDeleteChatAction","formName","helper","Helper","state","model","TwilioModel","isChatOpened","form","createFormGroupState","TwilioChatModel","lastUpdated","loaded","validateForm","updateGroup","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","ChatLoadedAction","ResponseChatClosedAction","clone","twilioToken","Date","AddMessageAction","conversationHistory","push","ClearChatFormAction","ToggleChatAction","reducerFormState","wrapReducerWithFormStateUpdate","s","chatViewReducer","GetCustomDataAction","createAction","props","SaveCustomDataAction","GetKiwiSaverDataAction","GetSfhDataAction","ResetComponentStateAction","SaveApplicationDataForUpdateSubmittedAction","state","customData","applicationData","applicationId","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetComponentStateAction","SaveCustomDataAction","payload","__spreadProps","__spreadValues","SaveApplicationDataForUpdateSubmittedAction","model","AccessYourSuperUpdateSubmittedComponentReducer","NoticeOfIntentTaxDeductionContainerDislaimerForm","constructor","disclaimer","RequestAction","createAction","props","ResponseAction","SetCurrentStepAction","GetFormDataAction","SetFormDataAction","ResetComponentStateAction","state","currentStep","applications","formComponentData","form","createFormGroupState","NoticeOfIntentTaxDeductionContainerDislaimerForm","validateNoticeOfIntentTaxDeductionContainerForm","updateGroup","disclaimer","validate","requiredTrue","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","SetCurrentStepAction","SetFormDataAction","formData","hasError","ResetComponentStateAction","editNoticeOfIntentTaxDeductionContainerReducerFormState","wrapReducerWithFormStateUpdate","s","noticeOfIntentTaxDeductionContainerReducer","RequestAction","createAction","props","ResponseAction","SetTaxDeductionRadioOptionsAction","SetFinancialYearDropdownOptionsAction","SetFinancialYearContributionAmountsAction","SetDisclaimerAction","ResetFormStateAction","NoticeOfIntentTaxDeductionContributions","constructor","previousYear","previousYearAgeCutOffAmount","currentYear","currentYearAgeCutOffAmount","NoticeOfIntentTaxDeductionFormComponentForm","constructor","claimType","financialYear","personalContribution","originalClaimAmount","claimAmount","hasWithdrawalPending","disclaimer","financialYearContributions","NoticeOfIntentTaxDeductionContributions","state","submitted","form","createFormGroupState","NoticeOfIntentTaxDeductionFormComponentForm","taxDeductionClaimTypes","financialYearDropdownOptions","disclaimer","validateNoticeOfIntentTaxDeductionFormComponentForm","updateGroup","validate","requiredTrue","claimAmount","parentState","value","claimType","required","newTypeClaimValidation","errors","financialYear","financialYearContributions","currentYear","currentYearAgeCutOffAmount","previousYear","previousYearAgeCutOffAmount","variantTypeClaimValidation","originalClaimAmount","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","__spreadProps","__spreadValues","SetTaxDeductionRadioOptionsAction","payload","SetFinancialYearDropdownOptionsAction","ResetFormStateAction","isSubmitting","SetDisclaimerAction","editNoticeOfIntentTaxDeductionFormComponentReducerFormState","wrapReducerWithFormStateUpdate","s","noticeOfIntentTaxDeductionFormComponentReducer","SfhFinancialDetailsFormV1","constructor","assetsBankBalance","assetsOwnHome","assetsInvestmentProperties","assetsSharesInvestments","assetsVehicles","assetsHomeContents","assetsOtherAssets","assetsOtherAssetsDetails","liabilitiesHomeLoanRepayments","liabilitiesInvestmentLoanRepayments","liabilitiesPersonalLoanRepayments","liabilitiesCreditCardRepayments","liabilitiesVehicleRepayments","liabilitiesOtherDebts","liabilitiesOtherDebtsDetails","ownWeeklyIncome","partnersWeeklyIncome","dependantsWeeklyIncome","weeklyIncomeSupportPayments","rentalWeeklyIncome","investmentInterestWeeklyIncome","otherWeeklyIncome","otherWeeklyIncomeDetails","weeklyRentMortgageExpenses","weeklyCreditCardExpenses","weeklyCouncilRateExpenses","weeklyGroceriesExpenses","weeklyMedicalExpenses","weeklyVehicleExpenses","weeklyElectricityExpenses","weeklyGasExpenses","weeklyWaterExpenses","weeklyPhoneExpenses","weeklyInternetExpenses","weeklyInsuranceExpenses","weeklyEducationExpenses","weeklyOtherExpenses","weeklyOtherExpensesDetails","attemptedRenegotiateLoans","attemptedRenegotiateLoansDetails","ResetComponentStateAction","createAction","SetFormDataAction","props","SfhFinancialDetailsFormName","state","form","createFormGroupState","SfhFinancialDetailsFormV1","customValueGreaterThanEqualToValidator","value","errors","customValueGreaterThanValidator","validateForm","updateGroup","assetsBankBalance","validate","assetsOwnHome","assetsInvestmentProperties","assetsSharesInvestments","assetsVehicles","assetsHomeContents","assetsOtherAssets","assetsOtherAssetsDetails","parentState","required","setErrors","liabilitiesHomeLoanRepayments","liabilitiesInvestmentLoanRepayments","liabilitiesPersonalLoanRepayments","liabilitiesCreditCardRepayments","liabilitiesVehicleRepayments","liabilitiesOtherDebts","liabilitiesOtherDebtsDetails","ownWeeklyIncome","partnersWeeklyIncome","dependantsWeeklyIncome","weeklyIncomeSupportPayments","rentalWeeklyIncome","investmentInterestWeeklyIncome","otherWeeklyIncome","otherWeeklyIncomeDetails","weeklyRentMortgageExpenses","weeklyCreditCardExpenses","weeklyCouncilRateExpenses","weeklyGroceriesExpenses","weeklyMedicalExpenses","weeklyVehicleExpenses","weeklyElectricityExpenses","weeklyGasExpenses","weeklyWaterExpenses","weeklyPhoneExpenses","weeklyInternetExpenses","weeklyInsuranceExpenses","weeklyEducationExpenses","weeklyOtherExpenses","weeklyOtherExpensesDetails","attemptedRenegotiateLoansDetails","attemptedRenegotiateLoans","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetComponentStateAction","__spreadProps","__spreadValues","SetFormDataAction","financialDetails","setValue","Object","assign","editSfhFinancialDetailsV1ReducerFormState","wrapReducerWithFormStateUpdate","s","severeFinancialHardshipFinancialDetailsV1ComponentReducer","RequestAction","createAction","props","ResponseAction","state","model","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResponseAction","payload","__spreadProps","__spreadValues","memberAlertViewReducer","PensionChangePaymentScheduleForm","constructor","paymentFrequency","paymentType","paymentAmount","freqMin","freqMax","ResetFormAction","createAction","GetPaymentScheduleRequestAction","props","GetPaymentScheduleResponseAction","SetFilteredPaymentTypesAction","SetFilteredFrequenciesAction","SubmitPaymentScheduleRequestAction","SubmitPaymentScheduleResponseAction","SubmitPaymentScheduleErrorResponseAction","FrequencyEnum","PensionHelper","constructor","getStartOfFinancialYear","today","Date","year","getFullYear","getMonth","getEndOfFinancialYear","monthsBetween","endDate","nextPaymentDate","start","end","setHours","Error","count","setMonth","paymentIntervalsRemaining","freqId","currentDate","endOfFy","month","tenthOfMonth","nxtPaymentDate","paymentDateCopy","intervalsRemaining","FrequencyEnum","Annually","getDate","HalfYearly","halfYearlyIntervals","interval","Quarterly","quarterlyIntervals","Monthly","calculateFreqAmount","scheduleData","isMax","remainingAmount","annualMaximum","paymentAmountAlreadyMade","annualMinimum","paymentsRemaining","pensionNextPaymentDate","amount","Math","floor","ceil","PensionPaymentTypeEnum","formName","helper","Helper","pensionHelper","PensionHelper","state","form","createFormGroupState","PensionChangePaymentScheduleForm","data","isAcctPension","filteredPaymentTypes","filteredFrequencies","formSubmitted","validatePensionChangeScheduleForm","updateGroup","paymentAmount","parentState","validate","required","input","errors","value","freqMin","freqMax","paymentType","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","actionSplit","controlId","split","actionFormName","__spreadProps","__spreadValues","setValue","Object","assign","freqId","freqMaxCalc","calculateFreqAmount","freqMinCalc","PensionPaymentTypeEnum","Maximum","on","ResetFormAction","submitting","GetPaymentScheduleRequestAction","isPension","GetPaymentScheduleResponseAction","scheduleData","currentFrequencyId","currentPensionPaymentTypeId","Minimum","currentFrequencyAmount","Nominated","paymentFrequency","SetFilteredPaymentTypesAction","paymentTypes","SetFilteredFrequenciesAction","frequencies","SubmitPaymentScheduleResponseAction","editPensionChangeScheduleFormState","wrapReducerWithFormStateUpdate","s","pensionChangePaymentScheduleReducer","ResetFormAction","createAction","GetChangePaymentScheduleRequestsRequestAction","props","GetChangePaymentScheduleRequestsResponseAction","state","data","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","ResetFormAction","GetChangePaymentScheduleRequestsResponseAction","requests","__spreadProps","__spreadValues","pensionChangePaymentScheduleRequestsReducer","RequestAction","createAction","props","ResponseAction","AccountFeesModel","constructor","accountNumber","fundCode","product","adminAssetFee","memberFee","loginState","model","AccountFeesModel","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","accountFeesReducer","InvestmentSwitchHistoryFilter","constructor","from","to","currentPage","switchType","switchStatus","RequestAction","createAction","props","ResetAction","ResponseAction","ResetFilterAction","SwitchHistoryIncrementPageAction","SwitchHistorySetFromToDateAction","SwitchHistoryChangeSwitchTypeFilterAction","SwitchHistoryChangeSwitchStatusFilterAction","switchHistoryFilter","helper","Helper","defaultState","data","filter","createFormGroupState","InvestmentSwitchHistoryFilter","isLoading","switchTypes","switchStatuses","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","controlId","newFilter","__spreadProps","__spreadValues","value","currentPage","setValue","on","ResetAction","_state","ResponseAction","clone","dataClone","switchHistory","length","switchStatusFilters","unshift","key","switchTypeFilters","SwitchHistorySetFromToDateAction","from","to","ResetFilterAction","SwitchHistoryIncrementPageAction","SwitchHistoryChangeSwitchTypeFilterAction","switchType","SwitchHistoryChangeSwitchStatusFilterAction","switchStatus","investmentSwitchHistoryReducer","StartAPensionFilterModel","constructor","activeOptionButton","ResetComponentStateAction","createAction","RequestAction","props","ResponseAction","CancelApplicationAction","SetApplicationToCancelledAction","ContinueApplicationRequestAction","UpdateSubmittedApplicationRequestAction","ProcessStartedAction","startAPensionStartFilter","initialState","model","filter","createFormGroupState","StartAPensionFilterModel","processStarted","updatingSubmitted","helper","Helper","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResponseAction","payload","__spreadProps","__spreadValues","SetApplicationToCancelledAction","applicationId","summaryCopy","clone","cancelledApp","draftApplications","find","x","pensionApplicationId","cancelledOn","Date","cancelledApplications","push","ResetComponentStateAction","_state","ProcessStartedAction","UpdateSubmittedApplicationRequestAction","startAPensionStartComponentReducer","ResetParentFormStateAction","createAction","SetCurrentStepAction","props","IncrementCurrentStepWithApiRequestAction","IncrementCurrentStepWithApiResponseAction","GetInitialFormDataRequestAction","GetInitialFormDataResponseAction","SetApplicationIdAction","ApplicationDataRequestAction","ApplicationDataResponseAction","SetApplicationDocumentsAction","SetApplicationSavedAccountDetailsAction","SetApplicationSavedPaymentDetailsAction","SetApplicationSavedBankDetailsAction","SetApplicationSavedBeneficiaryAction","SetApplicationSavedDocumentsAction","state","currentStep","applicationData","applicationId","initialFormData","helper","Helper","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","_action","on","ResetParentFormStateAction","_state","SetCurrentStepAction","step","__spreadProps","__spreadValues","GetInitialFormDataResponseAction","data","SetApplicationIdAction","ApplicationDataResponseAction","pensionApplicationBaseDetails","pensionApplicationId","IncrementCurrentStepWithApiResponseAction","SetApplicationSavedAccountDetailsAction","accountDetails","pensionApplicationAccountDetails","savedData","transferTypeId","transferType","transferAmount","currentOptions","pensionApplicationPaymentDetails","futureOptions","SetApplicationSavedPaymentDetailsAction","paymentDetails","frequencyId","pensionPaymentTypeId","paymentTypeId","paymentAmount","paymentCommencementDate","commencementOfPayments","SetApplicationSavedBankDetailsAction","bankDetails","pensionApplicationBankDetails","bankAccountNumber","bankAccountBsb","bankAccountName","financialInstitutionName","financialInstituteName","SetApplicationSavedBeneficiaryAction","beneficiary","clone","beneficiaryDetails","beneficiaryAdded","beneficiaryName","name","beneficiaryDob","dob","beneficiaryRelationshipId","relationshipId","genderId","beneficiaryAddress","address","isAddressSame","fullAddress","lineOne","suburb","postCode","country","pensionApplicationBeneficiaryDetails","SetApplicationDocumentsAction","documents","pensionApplicationDocumentsDetails","SetApplicationSavedDocumentsAction","startAPensionFormComponentReducer","action","StartAPensionEligibilityForm","constructor","sapAusCitizen","sapTypeOfAccount","sapConditionOfRelease","otherReasonText","hasReachedPreservationAge","SetEligibilityFormDataAction","createAction","props","ResetComponentStateAction","SetTypesOfAccountsAction","SetConditionsAction","SubmitFormAction","SubmitFormErrorAction","formName","state","formData","form","createFormGroupState","StartAPensionEligibilityForm","typeOfAccounts","conditionsOfRelease","validateStartAPensionEligibilityForm","updateGroup","sapAusCitizen","_parentState","validate","required","input","errors","sapTypeOfAccount","parentState","value","hasReachedPreservationAge","wording","otherReasonText","sapConditionOfRelease","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","actionSplit","controlId","split","actionFormName","conditionOfReleaseId","__spreadProps","__spreadValues","setValue","Object","assign","on","SetEligibilityFormDataAction","data","formWording","memberSixtyFiveOrOver","pensionTypeKeyValues","filter","x","key","conditionOfReleaseKeyValues","ResetComponentStateAction","_state","SetTypesOfAccountsAction","types","SetConditionsAction","conditions","editStartAPensionEligibilityFormState","wrapReducerWithFormStateUpdate","s","startAPensionEligibilityFormComponentReducer","StartAPensionAccountDetailsForm","constructor","transferType","partialAmount","accountBalance","SetAccountDetailsFormDataAction","createAction","props","ResetComponentStateAction","SubmitFormAction","SubmitFormErrorAction","formName","helper","Helper","state","formData","form","createFormGroupState","StartAPensionAccountDetailsForm","transferTypes","investmentOptions","validateStartAPensionAccountDetailsForm","updateGroup","partialAmount","parentState","validate","input","errors","value","transferType","accountBalance","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","_action","on","SetAccountDetailsFormDataAction","data","options","clone","forEach","option","existingOption","savedData","currentOptions","find","x","investmentOptionId","percentage","__spreadProps","__spreadValues","setValue","Object","assign","transferTypeId","transferAmount","wording","customWording","transferAmountTypes","ResetComponentStateAction","_state","editStartAPensionAccountDetailsFormState","wrapReducerWithFormStateUpdate","s","startAPensionAccountDetailsFormComponentReducer","action","StartAPensionPaymentDetailsForm","constructor","frequencyType","commencementOfDateOption","commencementOfDate","paymentType","paymentAmount","accountBalance","annualMax","isTtr","SetPaymentDetailsFormDataAction","createAction","props","ResetComponentStateAction","SubmitFormAction","SubmitFormErrorAction","formName","helper","Helper","state","formData","form","createFormGroupState","StartAPensionPaymentDetailsForm","frequencyTypes","paymentTypes","commencementOfPaymentsOption","investmentOptions","validateStartAPensionPaymentDetailsForm","updateGroup","commencementOfDate","parentState","validate","date","errors","value","commencementOfDateOption","currentMonth","Date","getFullYear","getMonth","selectedMonth","selectedMonthFormatted","isNaN","getTime","paymentAmount","paymentType","annualMax","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","_action","on","SetPaymentDetailsFormDataAction","data","isTtr","accountBalance","options","clone","forEach","option","existingOption","savedData","futureOptions","find","x","investmentOptionId","percentage","length","nextMonth","setMonth","formattedDate","toString","padStart","getDate","__spreadProps","__spreadValues","setValue","Object","assign","frequencyType","frequencyId","paymentCommencementDate","split","pensionPaymentTypeId","wording","customWording","paymentFrequencyTypes","filter","Number","key","reverse","paymentTypeTypes","ResetComponentStateAction","_state","editStartAPensionPaymentDetailsFormState","wrapReducerWithFormStateUpdate","s","startAPensionPaymentDetailsFormComponentReducer","action","StartAPensionBankDetailsForm","constructor","financialInstitutionName","bankAccountName","bankAccountNumber","bankAccountBsb","SetBankDetailsFormDataAction","createAction","props","ResetComponentStateAction","SubmitFormAction","SubmitFormErrorAction","SearchBankNameAction","SetBankNameAction","formName","state","formData","form","createFormGroupState","StartAPensionBankDetailsForm","validateStartAPensionBankDetailsForm","updateGroup","financialInstitutionName","validate","required","bankAccountBsb","parentState","invalidBsb","errors","value","bankAccountName","bankAccountNumber","validateAccountNumber","test","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","_action","on","SetBankDetailsFormDataAction","data","__spreadProps","__spreadValues","setValue","Object","assign","ResetComponentStateAction","_state","SetBankNameAction","payload","editStartAPensionBankDetailsFormState","wrapReducerWithFormStateUpdate","s","startAPensionBankDetailsFormComponentReducer","action","StartAPensionBeneficiaryForm","constructor","beneficiaryAdded","name","dob","relationshipId","genderId","isAddressSame","address","lineOne","lineTwo","suburb","postCode","state","country","isRequired","memberPostalAddress","AddressModel","SetBeneficiaryFormDataAction","createAction","props","ResetComponentStateAction","SubmitFormAction","SubmitFormErrorAction","AddBeneficiaryAction","RemoveBeneficiaryAction","formName","state","formData","form","createFormGroupState","StartAPensionBeneficiaryForm","relationshipTypes","genderTypes","validateStartAPensionBeneficiaryForm","updateGroup","name","parentState","validate","errors","value","beneficiaryAdded","length","dob","Date","address","required","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","actionSplit","controlId","split","actionFormName","__spreadProps","__spreadValues","setValue","Object","assign","memberPostalAddress","savedData","beneficiaryAddress","isRequired","on","SetBeneficiaryFormDataAction","data","beneficiaryName","beneficiaryDob","relationshipId","beneficiaryRelationshipId","genderId","isAddressSame","ResetComponentStateAction","_state","AddBeneficiaryAction","RemoveBeneficiaryAction","editStartAPensionBeneficiaryFormState","wrapReducerWithFormStateUpdate","s","startAPensionBeneficiaryFormComponentReducer","SetDocumentsFormDataAction","createAction","props","ResetComponentStateAction","GreenIdVerifiedAction","SetupSupportingDocumentOverviewAction","AddNewAppFileAction","RemoveAppFileAction","SaveDocumentAction","UpdateSavedDocumentAction","ReplaceDocumentAction","UpdateReplacedDocumentAction","DeleteDocumentAction","UpdateDeletedDocumentAction","SetFileRequestFailedAction","ResetFileRequestFailedAction","SubmitFormAction","SubmitFormErrorAction","StartAPensionDocumentsForm","constructor","greenIdVerified","supportingDocuments","initialState","formData","form","createFormGroupState","StartAPensionDocumentsForm","uploadedDocument","deletedDocument","replacedDocument","fileRequestFailed","helper","Helper","validateStartAPensionDocumentsForm","updateGroup","greenIdVerified","validate","requiredTrue","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","_action","on","SetDocumentsFormDataAction","data","__spreadProps","__spreadValues","ResetComponentStateAction","_state","GreenIdVerifiedAction","verified","setValue","Object","assign","value","SetupSupportingDocumentOverviewAction","documentTypeId","documentAmount","isDocumentRequired","clone","supportingDocuments","files","i","push","AppFileModel","documentOverview","AddNewAppFileAction","overviewIndex","RemoveAppFileAction","uploadIndex","splice","UpdateSavedDocumentAction","uploadedDocumentId","fileName","documentIndex","controlId","UpdateDeletedDocumentAction","UpdateReplacedDocumentAction","payload","SetFileRequestFailedAction","file","ResetFileRequestFailedAction","editStartAPensionDocumentsReducerFormState","wrapReducerWithFormStateUpdate","s","startAPensionDocumentFormComponentReducer","action","StartAPensionReviewForm","constructor","disclaimer","ResetComponentStateAction","createAction","SubmitApplicationAction","props","ApplicationSubmittedAction","initialState","form","createFormGroupState","StartAPensionReviewForm","applicationSubmitted","validateReviewForm","updateGroup","disclaimer","validate","requiredTrue","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResetComponentStateAction","_state","ApplicationSubmittedAction","__spreadProps","__spreadValues","editReviewReducerFormState","wrapReducerWithFormStateUpdate","s","StartAPensionReviewComponentReducer","ResetComponentStateAction","createAction","SaveApplicationDataForUpdateSubmittedAction","props","state","applicationData","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","action","on","SaveApplicationDataForUpdateSubmittedAction","model","__spreadProps","__spreadValues","StartAPensionUpdateSubmittedComponentReducer","InitialInsuranceSelectionForm","InsuranceUpdateCancelForm","constructor","checkbox","InsuranceUpdateReduceForm","constructor","checkbox","ResetStateAction","createAction","SetInsuranceDetailsAction","props","SetInsuranceDetailsToReduceAction","SetInsuranceDetailsToCancelAction","SubmitInsuranceToReduceAction","SubmitInsuranceToCancelAction","SubmissionErrorAction","SubmissionSuccessAction","initialFormName","reduceFormName","cancelFormName","initialState","initialForm","createFormGroupState","InitialInsuranceSelectionForm","reduceForm","InsuranceUpdateReduceForm","cancelForm","InsuranceUpdateCancelForm","model","submitted","insuranceToReduce","insuranceToCancel","validateInsuranceReduceForm","updateGroup","checkbox","validate","requiredTrue","validateInsuranceCancelForm","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResetStateAction","_state","SetInsuranceDetailsAction","insurance","__spreadProps","__spreadValues","setValue","Object","assign","value","insuranceItems","insurances","map","insuranceId","description","insuranceCoverTypeDescription","amount","SetInsuranceDetailsToCancelAction","code","insuranceCoverTypeCode","covers","coverTypeDetails","coverTypeDetail","insuranceCoverTypeDetailId","coverType","name","SetInsuranceDetailsToReduceAction","newAmount","SubmissionSuccessAction","editInsuranceUpdateFormState","wrapReducerWithFormStateUpdate","s","editInsuranceUpdateSubmissionFormState","insuranceUpdateFormComponentReducer","InsuranceUpdateHistoryFilter","constructor","currentPage","ResetStateAction","createAction","RequestAction","props","ResponseAction","RequestErrorAction","IncrementPageAction","insuranceHistoryFilter","helper","Helper","initialState","model","filter","createFormGroupState","InsuranceUpdateHistoryFilter","isLoading","reducer","createReducer","onNgrxForms","onNgrxFormsAction","SetValueAction","state","action","on","ResetStateAction","_state","ResponseAction","insuranceHistory","clone","value","dataClone","currentPage","length","__spreadProps","__spreadValues","setValue","IncrementPageAction","RequestErrorAction","insuranceUpdateHistoryComponentReducer","import_deepmerge","INIT_ACTION","UPDATE_ACTION","detectDate","dateReviver","_key","value","dummyReviver","checkIsBrowserEnv","validateStateKeys","keys","key","attr","rehydrateApplicationState","storage","storageKeySerializer","restoreDates","acc","curr","reviver","deserialize","decrypt","stateSlice","isObjectRegex","raw","createStateSlice","existingSlice","filter","memo","element","syncStateUpdate","state","removeOnUndefined","syncCondition","e","replacer","space","encrypt","name","defaultMergeReducer","rehydratedState","action","deepmerge","destinationArray","sourceArray","options","localStorageSync","config","reducer","mergeReducer","stateKeys","nextState","__spreadValues","localStorageSyncMetaReducer","reducer","localStorageSync","keys","rehydrate","removeOnUndefined","featureKey","reducers","InjectionToken","factory","memberViewState","memberViewReducer","memberPensionViewState","memberPensionViewReducer","memberViewOverviewState","memberViewOverviewReducer","beneficiariesViewState","beneficiariesViewReducer","bpayDetailsViewState","bpayDetailsViewReducer","beneficiariesEditState","beneficiariesEditReducer","accountUnderlyingViewState","accountUnderlyingViewReducer","accountUnderlyingInvestmentSummaryViewState","accountUnderlyingInvestmentSummaryViewReducer","memberEditState","memberEditReducer","cashTransactionListState","cashTransactionListReducer","memberAccountDropdownState","memberAccountDropdownReducer","historicalChartViewState","historicalChartViewReducer","insuranceQuestionnaireState","insuranceQuestionnaireReducer","insurancePreQuestionnaireState","insurancePreQuestionnaireReducer","insuranceQuestionnaireStartState","insuranceQuestionnaireStartReducer","insuranceDetailsState","insuranceDetailsReducer","switchInvestmentsState","switchInvestmentsReducer","rollInEditState","rollInEditReducer","superannuationProviderSearchState","superannuationProviderSearchReducer","contributionsLimitsState","contributionsLimitsReducer","personalContributionEditState","personalContributionEditReducer","consolidateSuperState","consolidateSuperReducer","accountSummaryState","accountSummaryReducer","unitPriceViewState","unitPriceViewReducer","documentViewerListState","documentViewerListReducer","notificationDropdownState","notificationDropdownReducer","investmentEditState","investmentEditReducer","accessYourSuperStartComponentState","accessYourSuperStartComponentReducer","accessYourSuperFormComponentState","accessYourSuperFormComponentReducer","accessYourSuperTypeSelectionComponentState","accessYourSuperTypeSelectionComponentReducer","accessYourSuperLastEmployerComponentState","accessYourSuperLastEmployerFormReducer","accessYourSuperBankDetailComponentState","accessYourSuperBankDetailsComponentReducer","accessYourSuperDocumentsComponentState","accessYourSuperDocumentsComponentReducer","accessYourSuperRetirementComponentState","accessYourSuperRetirementComponentReducer","accessYourSuperCeasedWorkSixtyComponentState","accessYourSuperCeasedWorkSixtyComponentReducer","accessYourSuperPermanentRetirementPreservationComponentState","accessYourSuperPermanentRetirementPreservationComponentReducer","accessYourSuperCeasedPaidEmploymentComponentState","accessYourSuperCeasedPaidEmploymentComponentReducer","accessYourSuperPensionCommutationsComponentState","accessYourSuperPensionCommutationsComponentReducer","accessYourSuperReviewComponentState","accessYourSuperReviewComponentReducer","recentEmploymentDetailState","recentEmploymentDetailsReducer","investmentOptionState","investmentOptionReducer","accessYourSuperTerminalMedicalConditionComponentState","accessYourSuperTerminalMedicalConditionComponentReducer","accessYourSuperSevereFinancialHardshipComponentState","accessYourSuperSevereFinancialHardshipComponentReducer","accessYourSuperCompassionateGroundsComponentState","accessYourSuperCompassionateGroundsComponentReducer","accessYourSuperUnrestrictedNonPreservedComponentState","accessYourSuperUnrestrictedNonPreservedComponentReducer","accessYourSuperKiwiSaverComponentState","accessYourSuperKiwiSaverComponentReducer","chatViewState","chatViewReducer","accessYourSuperUpdateSubmittedComponentState","AccessYourSuperUpdateSubmittedComponentReducer","noticeOfIntentTaxDeductionContainerComponentState","noticeOfIntentTaxDeductionContainerReducer","noticeOfIntentTaxDeductionFormComponentState","noticeOfIntentTaxDeductionFormComponentReducer","severeFinancialHardshipFinancialDetailsV1ComponentState","severeFinancialHardshipFinancialDetailsV1ComponentReducer","memberAlertViewState","memberAlertViewReducer","accountFeesState","accountFeesReducer","pensionChangePaymentScheduleState","pensionChangePaymentScheduleReducer","pensionChangePaymentScheduleRequestsState","pensionChangePaymentScheduleRequestsReducer","investmentSwitchHistoryState","investmentSwitchHistoryReducer","startAPensionStartComponentState","startAPensionStartComponentReducer","startAPensionFormComponentState","startAPensionFormComponentReducer","startAPensionEligibilityFormComponentState","startAPensionEligibilityFormComponentReducer","startAPensionAccountDetailsFormComponentState","startAPensionAccountDetailsFormComponentReducer","startAPensionPaymentDetailsFormComponentState","startAPensionPaymentDetailsFormComponentReducer","startAPensionBankDetailsFormComponentState","startAPensionBankDetailsFormComponentReducer","startAPensionBeneficiaryFormComponentState","startAPensionBeneficiaryFormComponentReducer","startAPensionDocumentFormComponentState","startAPensionDocumentFormComponentReducer","startAPensionReviewComponentState","StartAPensionReviewComponentReducer","startAPensionUpdateSubmittedComponentState","StartAPensionUpdateSubmittedComponentReducer","insuranceUpdateFormComponentState","insuranceUpdateFormComponentReducer","insuranceUpdateHistoryComponentState","insuranceUpdateHistoryComponentReducer","memberPortalState","createFeatureSelector","featureKey","memberAccountDropdown","createSelector","state","memberAccountDropdownState","memberAccountDropdown_Accounts","accounts","memberAccountDropdown_SelectedAccount","selectedAccount","getCommon","state","commonState","commomState_IsLoading","createSelector","isLoading","commonState_IsFetching","isFetching","commonState_IsSending","isSending","commomState_MenuList","menuList","commomState_loginViewVideoUrl","loginViewVideoUrl","commomState_SystemConfig_FeatureToggle","systemConfig","featureToggle","commonState_SystemConfig_AccountFeatureToggles","accountFeatureToggles","commonState_SystemConfig_AccountIdFeatureToggles","accountIdFeatureToggles","commonState_SystemConfig_LimitedServiceToggles","limitedServiceToggles","commonState_SystemConfig_SiteError","siteError","commomState_SystemConfig_Messages","messages","commomState_SystemConfig_Config","tenantConfig","commomState_Env","env","commomState_Version","version","commomState_LoggedinInfo","loggedInModel","commomState_GenderList","app","genderList","commomState_ElevatedAccess","isAdviserElevated","isFundElevated","commonState_IsAdviserElevatedAccess","commonState_IsFundElevatedAccess","commomState_AmountToTransferList","amountToTransfer","commomState_EmploymentArrangementList","employmentArrangement","commomState_OccupationDescriptionList","occupationDescription","commomState_AustralianCitizenOrAustralianPermanentResident","australianCitizenOrAustralianPermanentResident","commomState_ScreenWidth","screenWidth","commomState_PersonalContributions_ElegibilityToContribute","personalContributions_ElegibilityToContribute","commomState_PersonalContributions_ContributeFrequency","personalContributions_ContributeFrequency","commomState_PersonalContributions_PaymentsMethods","personalContributions_PaymentsMethods","commomState_PersonalContributions_BankPayments","personalContributions_BankPayments","commomState_BooleanList","key","value","commomState_YesNoList","commomState_AmountTypeList","commomState_ClaimTypeList","commomState_CommunicationPreferenceList","communicationPreferenceList","commonState_AccessYourSuperApplicationStatuses","accessYourSuperApplicationStatuses","commonState_AccessYourSuperPaymentTypes","accessYourSuperPaymentTypes","commonState_StartAPensionApplicationStatuses","startAPensionApplicationStatuses","commonState_MemberData","member","commonState_AccountDataRetrieved","accountDataRetrieved","FeatureToggleHelper","constructor","checkToggle","value","featureToggles","selectedAccount","checkAccountLevel","globalFlag","find","x","level","FeatureToggleLevel","global","name","FeatureToggleValue","hidden","accountFlag","accountClassification","Number","levelReference","accountClassificationId","FeatureToggleCheckService","store","appStore","selectedAccount$","pipe","select","memberAccountDropdown_SelectedAccount","featuretoggle$","commonState_SystemConfig_AccountFeatureToggles","accountIdFeaturetoggle$","commonState_SystemConfig_AccountIdFeatureToggles","toggleHelper","destroy$","callback","combineLatest","takeUntil","subscribe","accountIdFeaturetoggle","accountId","toggleCheck","ɵɵinject","Store","factory","ɵfac","providedIn","CommonService","constructor","store","ɵɵinject","Store","factory","ɵfac","ComponentBase","sub","value","addSubscription","destroy$","Subject","subscriptions","commomService","inject","toggleCheck","FeatureToggleCheckService","window","scrollTo","pipe","takeUntil","select","commomState_ScreenWidth","subscribe","x","screenWidth","dispatch","action","setTimeout","checkAccountFeatureToggle","callback","checkToggle","screenWidthChange","subscription","push","ngOnInitBase","getRouteParam","route","name","callbackNotFound","params","val","ngOnDestroyBase","next","complete","forEach","unsubscribe","getUrlParameterByName","url","location","href","replace","results","RegExp","exec","decodeURIComponent","FeatureToggleName","member","account","accessYourSuper","view","kiwiSaverEmployerConfirmation","terminalIllnesssSummaryField","benefitAmountTooltip","accountBalWithGraph","accountFees","spouseBPAYContribution","accountBalWithoutGraph","accountSummary","advisors","beneficiaries","update","centrelinkSchedule","changePensionSchedule","contributionCapLimits","currentEmployer","definedBenefitAccountSummary","editBankDetails","employerBalances","feesAndCosts","insuranceChangeRequest","insuranceDetails","insuranceQuestionnaire","intentToClaimTaxDeduction","JetcoClaim","JetcoTraining","lodgeCirtClaim","makeAContribution","manageInvestments","showFees","otherDocuments","pensionDetails","personalContribution","recentEmployerDetails","recentEmployerDetailDates","rollIn","startAPension","superMatch","takeMeWithYou","transactions","underlyingInvestmentView","tableDollarColumn","underlyingInvestmentSummary","viewStatements","changePassword","knowledgeAcademy","maintenance","memberProfileSummary","personalDetails","communicationPreference","dob","email","legalName","occupation","tfn","addressTraditionalPlaceName","superCalculator","twilioChat","unitPriceListing","AnimateCssDirective","constructor","renderer","hostElement","ngOnChanges","dd","ngAfterViewInit","addClass","nativeElement","appanimatecss","value","toString","removeClass","classList","split","map","x","indexOf","ɵɵdirectiveInject","Renderer2","ElementRef","selectors","inputs","features","ɵɵNgOnChangesFeature","ChangeScreenWidthAction","createAction","props","IsLoadingAction","IsFetchingAction","IsSendingAction","SystemConfigurationRequestAction","SystemConfigurationResponseAction","IsLoggedInRequestAction","IsLoggedInResponseAction","LogoutRequestAction","SetMenuAction","AccountFeatureTogglesRequestAction","AccountFeatureTogglesResponseAction","SetSiteError","SetLoginVideoUrlAction","SetIsAdviserElevatedAccessAction","SetIsFundElevatedAccessAction","RequestMemberDataAction","ResponseMemberDataAction","AccountDataRetrievedAction","memberPortalState","createFeatureSelector","featureKey","insuranceQuestionnaire","createSelector","state","insuranceQuestionnaireState","insuranceQuestionnaire_ShowQuestionnaire","showQuestionnaire","insuranceQuestionnaire_AgeNextBirthday","ageNextBirthday","insuranceQuestionnaire_ElegibilityDate","elegibilityDate","insuranceQuestionnaire_Form","form","TextTransformPipe","constructor","store","_sanitizer","transform","value","environment","buttonTitleTextTransform","toLowerCase","toUpperCase","val","trim","charAt","slice","ɵɵdirectiveInject","Store","DomSanitizer","pure","ɵɵelementStart","ɵɵlistener","item_r2","ɵɵrestoreView","_r1","$implicit","ctx_r2","ɵɵnextContext","ɵɵresetView","onSelecteAccountClick","ɵɵtext","ɵɵelementEnd","ɵɵclassMap","accountId","tmp_3_0","ɵɵpipeBind1","selected$","ɵɵadvance","ɵɵtextInterpolate1","accountNumber","accountTypeName","ɵɵtemplate","MemberAccountDropdownComponent_ul_16_li_1_Template","ɵɵproperty","list$","MemberAccountDropdownComponent","ComponentBase","constructor","store","router","appstore","pipe","select","memberAccountDropdown_Accounts","memberAccountDropdown_SelectedAccount","loggedIn$","commomState_LoggedinInfo","helper","Helper","ngOnInit","__async","__superGet","ngOnInitBase","hasDataLoaded","sub","combineLatest","distinctUntilChanged","x","y","JSON","stringify","subscribe","loggedIn","selectedAccount","dispatch","RequestAction","pairwise","AccountFeatureTogglesRequestAction","getValue","memberNumber","ngOnDestroy","ngOnDestroyBase","item","SelectAccountAction","payload","setTimeout","navigate","ɵɵdirectiveInject","Store","Router","selectors","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","rf","ctx","MemberAccountDropdownComponent_ul_16_Template","ɵɵpureFunction1","_c0","tmp_0_0","length","tmp_2_0","tmp_4_0","tmp_5_0","TextTransformPipe","AsyncPipe","NgClass","NgIf","NgFor","MatIcon","styles","FeatureToggleDirective","constructor","store","renderer","view","template","featuretoggle$","pipe","select","commonState_SystemConfig_AccountFeatureToggles","selectedAccount$","memberAccountDropdown_SelectedAccount","sub","ngOnDestroy","unsubscribe","ngOnChanges","combineLatest","distinctUntilChanged","x","y","JSON","stringify","subscribe","featureToggles","selectedAccount","globalFlag","find","level","FeatureToggleLevel","global","name","featuretoggle","value","FeatureToggleValue","available","accountFlag","accountClassification","Number","levelReference","accountClassificationId","accountTypeFlag","accountType","accountTypeId","createEmbeddedView","clear","ɵɵdirectiveInject","Store","Renderer2","ViewContainerRef","TemplateRef","selectors","inputs","features","ɵɵNgOnChangesFeature","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵtextInterpolate1","ɵɵpipeBind1","ɵɵelementContainerStart","ɵɵtemplate","UserTopDropdownComponent_ng_container_7_li_1_Template","ctx_r0","elevatedAccess$","ɵɵlistener","ɵɵrestoreView","_r2","ɵɵnextContext","ɵɵresetView","sigout","UserTopDropdownComponent","ComponentBase","constructor","store","router","msalInstance","loggedInUser$","pipe","select","commomState_LoggedinInfo","commomState_ElevatedAccess","changePasswordFeatureToggle","FeatureToggleName","member","changePassword","view","ngOnInit","ngOnInitBase","ngOnDestroy","ngOnDestroyBase","inIframe","window","self","top","logout","dispatch","LogoutRequestAction","ɵɵdirectiveInject","Store","Router","MsalService","selectors","features","ɵɵInheritDefinitionFeature","decls","vars","consts","template","rf","ctx","UserTopDropdownComponent_span_3_Template","UserTopDropdownComponent_mat_icon_4_Template","UserTopDropdownComponent_mat_icon_5_Template","UserTopDropdownComponent_ng_container_7_Template","UserTopDropdownComponent_li_8_Template","ɵɵclassMapInterpolate1","screenWidth","FeatureToggleDirective","TranslatePipe","NgIf","MatIcon","AsyncPipe","RouterLink","TextTransformPipe","styles","ScreenWidthDirective","constructor","store","renderer","hostElement","onResize","event","dispatch","ChangeScreenWidthAction","payload","target","innerWidth","ngOnChanges","dd","ngAfterViewInit","ɵɵdirectiveInject","Store","Renderer2","ElementRef","selectors","hostBindings","rf","ctx","ɵɵlistener","$event","ɵɵresolveWindow","FeatureTogglePipe","constructor","store","_sanitizer","accountFeatureToggles$","pipe","select","commonState_SystemConfig_AccountFeatureToggles","selectedAccount$","memberAccountDropdown_SelectedAccount","transform","value","__async","featureToggles","getValue","selectedAccount","FeatureToggleValue","available","globalFlag","find","x","level","FeatureToggleLevel","global","name","hidden","accountFlag","accountClassification","Number","levelReference","accountClassificationId","hasValue","observable","filter","first","toPromise","ɵɵdirectiveInject","Store","DomSanitizer","pure"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,302,485]}