diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-11-16 19:08:29 +0800 |
| commit | 434aa8343fdcbb4d5002f934979913c099489bee (patch) | |
| tree | 55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@firebase/app-compat | |
| parent | 893c388d4e99442a36005e5971a87730623f946e (diff) | |
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/app-compat')
42 files changed, 0 insertions, 2748 deletions
diff --git a/frontend-old/node_modules/@firebase/app-compat/README.md b/frontend-old/node_modules/@firebase/app-compat/README.md deleted file mode 100644 index 7077bc7..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# @firebase/app-compat - -This is the compatibility layer for the Firebase App package, which recreates the v8 API. - -**This package is not intended for direct usage, and should only be used via the officially supported [firebase](https://www.npmjs.com/package/firebase) package.** diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/app-compat-public.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/app-compat-public.d.ts deleted file mode 100644 index e52773a..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/app-compat-public.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { Compat } from '@firebase/util'; -import { Component } from '@firebase/component'; -import { LogCallback } from '@firebase/logger'; -import { LogLevelString } from '@firebase/logger'; -import { LogOptions } from '@firebase/logger'; -import { Name } from '@firebase/component'; - -declare const firebase: FirebaseNamespace; -export default firebase; - -/** - * This interface will be enhanced by other products by adding e.g. firestore(), messaging() methods. - * As a result, FirebaseAppImpl can't directly implement it, otherwise there will be typings errors: - * - * For example, "Class 'FirebaseAppImpl' incorrectly implements interface 'FirebaseApp'. - * Property 'installations' is missing in type 'FirebaseAppImpl' but required in type 'FirebaseApp'" - * - * To workaround this issue, we defined a _FirebaseApp interface which is implemented by FirebaseAppImpl - * and let FirebaseApp extends it. - */ -export declare interface FirebaseApp extends _FirebaseApp { -} - -declare interface _FirebaseApp { - /** - * The (read-only) name (identifier) for this App. '[DEFAULT]' is the default - * App. - */ - name: string; - /** - * The (read-only) configuration options from the app initialization. - */ - options: FirebaseOptions; - /** - * The settable config flag for GDPR opt-in/opt-out - */ - automaticDataCollectionEnabled: boolean; - /** - * Make the given App unusable and free resources. - */ - delete(): Promise<void>; -} - -declare interface FirebaseAppConfig { - name?: string; - automaticDataCollectionEnabled?: boolean; -} - -declare interface FirebaseAppConstructor { - new (): FirebaseApp; -} - -export declare interface FirebaseNamespace { - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param config The optional config for your firebase app - */ - initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp; - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param name The optional name of the app to initialize ('[DEFAULT]' if - * omitted) - */ - initializeApp(options: FirebaseOptions, name?: string): FirebaseApp; - app: { - /** - * Retrieve an instance of a FirebaseApp. - * - * Usage: firebase.app() - * - * @param name The optional name of the app to return ('[DEFAULT]' if omitted) - */ - (name?: string): FirebaseApp; - /** - * For testing FirebaseApp instances: - * app() instanceof firebase.app.App - * - * DO NOT call this constuctor directly (use firebase.app() instead). - */ - App: FirebaseAppConstructor; - }; - /** - * A (read-only) array of all the initialized Apps. - */ - apps: FirebaseApp[]; - /** - * Registers a library's name and version for platform logging purposes. - * @param library Name of 1p or 3p library (e.g. firestore, angularfire) - * @param version Current version of that library. - */ - registerVersion(library: string, version: string, variant?: string): void; - setLogLevel(logLevel: LogLevelString): void; - onLog(logCallback: LogCallback, options?: LogOptions): void; - SDK_VERSION: string; -} - -export declare interface _FirebaseNamespace extends FirebaseNamespace { - INTERNAL: { - /** - * Internal API to register a Firebase Service into the firebase namespace. - * - * Each service will create a child namespace (firebase.<name>) which acts as - * both a namespace for service specific properties, and also as a service - * accessor function (firebase.<name>() or firebase.<name>(app)). - * - * @param name The Firebase Service being registered. - * @param createService Factory function to create a service instance. - * @param serviceProperties Properties to copy to the service's namespace. - * @param appHook All appHooks called before initializeApp returns to caller. - * @param allowMultipleInstances Whether the registered service supports - * multiple instances per app. If not specified, the default is false. - */ - registerComponent<T extends Name>(component: Component<T>): FirebaseServiceNamespace<_FirebaseService> | null; - /** - * Internal API to remove an app from the list of registered apps. - */ - removeApp(name: string): void; - useAsService(app: FirebaseApp, serviceName: string): string | null; - [index: string]: unknown; - }; -} - -declare interface FirebaseOptions { - apiKey?: string; - authDomain?: string; - databaseURL?: string; - projectId?: string; - storageBucket?: string; - messagingSenderId?: string; - appId?: string; - measurementId?: string; -} - -export declare interface _FirebaseService extends Compat<unknown> { - app: FirebaseApp; - INTERNAL?: FirebaseServiceInternals; -} - -declare interface FirebaseServiceInternals { - /** - * Delete the service and free it's resources - called from - * app.delete(). - */ - delete(): Promise<void>; -} - -/** - * All ServiceNamespaces extend from FirebaseServiceNamespace - */ -declare interface FirebaseServiceNamespace<T extends _FirebaseService> { - (app?: FirebaseApp): T; -} - -export { } diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/app-compat.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/app-compat.d.ts deleted file mode 100644 index e52773a..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/app-compat.d.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { Compat } from '@firebase/util'; -import { Component } from '@firebase/component'; -import { LogCallback } from '@firebase/logger'; -import { LogLevelString } from '@firebase/logger'; -import { LogOptions } from '@firebase/logger'; -import { Name } from '@firebase/component'; - -declare const firebase: FirebaseNamespace; -export default firebase; - -/** - * This interface will be enhanced by other products by adding e.g. firestore(), messaging() methods. - * As a result, FirebaseAppImpl can't directly implement it, otherwise there will be typings errors: - * - * For example, "Class 'FirebaseAppImpl' incorrectly implements interface 'FirebaseApp'. - * Property 'installations' is missing in type 'FirebaseAppImpl' but required in type 'FirebaseApp'" - * - * To workaround this issue, we defined a _FirebaseApp interface which is implemented by FirebaseAppImpl - * and let FirebaseApp extends it. - */ -export declare interface FirebaseApp extends _FirebaseApp { -} - -declare interface _FirebaseApp { - /** - * The (read-only) name (identifier) for this App. '[DEFAULT]' is the default - * App. - */ - name: string; - /** - * The (read-only) configuration options from the app initialization. - */ - options: FirebaseOptions; - /** - * The settable config flag for GDPR opt-in/opt-out - */ - automaticDataCollectionEnabled: boolean; - /** - * Make the given App unusable and free resources. - */ - delete(): Promise<void>; -} - -declare interface FirebaseAppConfig { - name?: string; - automaticDataCollectionEnabled?: boolean; -} - -declare interface FirebaseAppConstructor { - new (): FirebaseApp; -} - -export declare interface FirebaseNamespace { - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param config The optional config for your firebase app - */ - initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp; - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param name The optional name of the app to initialize ('[DEFAULT]' if - * omitted) - */ - initializeApp(options: FirebaseOptions, name?: string): FirebaseApp; - app: { - /** - * Retrieve an instance of a FirebaseApp. - * - * Usage: firebase.app() - * - * @param name The optional name of the app to return ('[DEFAULT]' if omitted) - */ - (name?: string): FirebaseApp; - /** - * For testing FirebaseApp instances: - * app() instanceof firebase.app.App - * - * DO NOT call this constuctor directly (use firebase.app() instead). - */ - App: FirebaseAppConstructor; - }; - /** - * A (read-only) array of all the initialized Apps. - */ - apps: FirebaseApp[]; - /** - * Registers a library's name and version for platform logging purposes. - * @param library Name of 1p or 3p library (e.g. firestore, angularfire) - * @param version Current version of that library. - */ - registerVersion(library: string, version: string, variant?: string): void; - setLogLevel(logLevel: LogLevelString): void; - onLog(logCallback: LogCallback, options?: LogOptions): void; - SDK_VERSION: string; -} - -export declare interface _FirebaseNamespace extends FirebaseNamespace { - INTERNAL: { - /** - * Internal API to register a Firebase Service into the firebase namespace. - * - * Each service will create a child namespace (firebase.<name>) which acts as - * both a namespace for service specific properties, and also as a service - * accessor function (firebase.<name>() or firebase.<name>(app)). - * - * @param name The Firebase Service being registered. - * @param createService Factory function to create a service instance. - * @param serviceProperties Properties to copy to the service's namespace. - * @param appHook All appHooks called before initializeApp returns to caller. - * @param allowMultipleInstances Whether the registered service supports - * multiple instances per app. If not specified, the default is false. - */ - registerComponent<T extends Name>(component: Component<T>): FirebaseServiceNamespace<_FirebaseService> | null; - /** - * Internal API to remove an app from the list of registered apps. - */ - removeApp(name: string): void; - useAsService(app: FirebaseApp, serviceName: string): string | null; - [index: string]: unknown; - }; -} - -declare interface FirebaseOptions { - apiKey?: string; - authDomain?: string; - databaseURL?: string; - projectId?: string; - storageBucket?: string; - messagingSenderId?: string; - appId?: string; - measurementId?: string; -} - -export declare interface _FirebaseService extends Compat<unknown> { - app: FirebaseApp; - INTERNAL?: FirebaseServiceInternals; -} - -declare interface FirebaseServiceInternals { - /** - * Delete the service and free it's resources - called from - * app.delete(). - */ - delete(): Promise<void>; -} - -/** - * All ServiceNamespaces extend from FirebaseServiceNamespace - */ -declare interface FirebaseServiceNamespace<T extends _FirebaseService> { - (app?: FirebaseApp): T; -} - -export { } diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/index.esm.js b/frontend-old/node_modules/@firebase/app-compat/dist/esm/index.esm.js deleted file mode 100644 index f75cf43..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/index.esm.js +++ /dev/null @@ -1,440 +0,0 @@ -import { ErrorFactory, contains, deepExtend, createSubscribe, getGlobal } from '@firebase/util'; -import { Component } from '@firebase/component'; -import * as modularAPIs from '@firebase/app'; -import { _addComponent, deleteApp, _DEFAULT_ENTRY_NAME, _addOrOverwriteComponent, registerVersion } from '@firebase/app'; -import { Logger } from '@firebase/logger'; - -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Global context object for a collection of services using - * a shared authentication state. - * - * marked as internal because it references internal types exported from @firebase/app - * @internal - */ -class FirebaseAppImpl { - constructor(_delegate, firebase) { - this._delegate = _delegate; - this.firebase = firebase; - // add itself to container - _addComponent(_delegate, new Component('app-compat', () => this, "PUBLIC" /* ComponentType.PUBLIC */)); - this.container = _delegate.container; - } - get automaticDataCollectionEnabled() { - return this._delegate.automaticDataCollectionEnabled; - } - set automaticDataCollectionEnabled(val) { - this._delegate.automaticDataCollectionEnabled = val; - } - get name() { - return this._delegate.name; - } - get options() { - return this._delegate.options; - } - delete() { - return new Promise(resolve => { - this._delegate.checkDestroyed(); - resolve(); - }).then(() => { - this.firebase.INTERNAL.removeApp(this.name); - return deleteApp(this._delegate); - }); - } - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage and functions are the only ones that are leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name, instanceIdentifier = _DEFAULT_ENTRY_NAME) { - this._delegate.checkDestroyed(); - // Initialize instance if InstantiationMode is `EXPLICIT`. - const provider = this._delegate.container.getProvider(name); - if (!provider.isInitialized() && - provider.getComponent()?.instantiationMode === "EXPLICIT" /* InstantiationMode.EXPLICIT */) { - provider.initialize(); - } - // getImmediate will always succeed because _getService is only called for registered components. - return provider.getImmediate({ - identifier: instanceIdentifier - }); - } - /** - * Remove a service instance from the cache, so we will create a new instance for this service - * when people try to get it again. - * - * NOTE: currently only firestore uses this functionality to support firestore shutdown. - * - * @param name The service name - * @param instanceIdentifier instance identifier in case multiple instances are allowed - * @internal - */ - _removeServiceInstance(name, instanceIdentifier = _DEFAULT_ENTRY_NAME) { - this._delegate.container - // eslint-disable-next-line @typescript-eslint/no-explicit-any - .getProvider(name) - .clearInstance(instanceIdentifier); - } - /** - * @param component the component being added to this app's container - * @internal - */ - _addComponent(component) { - _addComponent(this._delegate, component); - } - _addOrOverwriteComponent(component) { - _addOrOverwriteComponent(this._delegate, component); - } - toJSON() { - return { - name: this.name, - automaticDataCollectionEnabled: this.automaticDataCollectionEnabled, - options: this.options - }; - } -} -// TODO: investigate why the following needs to be commented out -// Prevent dead-code elimination of these methods w/o invalid property -// copying. -// (FirebaseAppImpl.prototype.name && FirebaseAppImpl.prototype.options) || -// FirebaseAppImpl.prototype.delete || -// console.log('dc'); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const ERRORS = { - ["no-app" /* AppError.NO_APP */]: "No Firebase App '{$appName}' has been created - " + - 'call Firebase App.initializeApp()', - ["invalid-app-argument" /* AppError.INVALID_APP_ARGUMENT */]: 'firebase.{$appName}() takes either no argument or a ' + - 'Firebase App instance.' -}; -const ERROR_FACTORY = new ErrorFactory('app-compat', 'Firebase', ERRORS); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Because auth can't share code with other components, we attach the utility functions - * in an internal namespace to share code. - * This function return a firebase namespace object without - * any utility functions, so it can be shared between the regular firebaseNamespace and - * the lite version. - */ -function createFirebaseNamespaceCore(firebaseAppImpl) { - const apps = {}; - // // eslint-disable-next-line @typescript-eslint/no-explicit-any - // const components = new Map<string, Component<any>>(); - // A namespace is a plain JavaScript Object. - const namespace = { - // Hack to prevent Babel from modifying the object returned - // as the firebase namespace. - // @ts-ignore - __esModule: true, - initializeApp: initializeAppCompat, - // @ts-ignore - app, - registerVersion: modularAPIs.registerVersion, - setLogLevel: modularAPIs.setLogLevel, - onLog: modularAPIs.onLog, - // @ts-ignore - apps: null, - SDK_VERSION: modularAPIs.SDK_VERSION, - INTERNAL: { - registerComponent: registerComponentCompat, - removeApp, - useAsService, - modularAPIs - } - }; - // Inject a circular default export to allow Babel users who were previously - // using: - // - // import firebase from 'firebase'; - // which becomes: var firebase = require('firebase').default; - // - // instead of - // - // import * as firebase from 'firebase'; - // which becomes: var firebase = require('firebase'); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace['default'] = namespace; - // firebase.apps is a read-only getter. - Object.defineProperty(namespace, 'apps', { - get: getApps - }); - /** - * Called by App.delete() - but before any services associated with the App - * are deleted. - */ - function removeApp(name) { - delete apps[name]; - } - /** - * Get the App object for a given name (or DEFAULT). - */ - function app(name) { - name = name || modularAPIs._DEFAULT_ENTRY_NAME; - if (!contains(apps, name)) { - throw ERROR_FACTORY.create("no-app" /* AppError.NO_APP */, { appName: name }); - } - return apps[name]; - } - // @ts-ignore - app['App'] = firebaseAppImpl; - /** - * Create a new App instance (name must be unique). - * - * This function is idempotent. It can be called more than once and return the same instance using the same options and config. - */ - function initializeAppCompat(options, rawConfig = {}) { - const app = modularAPIs.initializeApp(options, rawConfig); - if (contains(apps, app.name)) { - return apps[app.name]; - } - const appCompat = new firebaseAppImpl(app, namespace); - apps[app.name] = appCompat; - return appCompat; - } - /* - * Return an array of all the non-deleted FirebaseApps. - */ - function getApps() { - // Make a copy so caller cannot mutate the apps list. - return Object.keys(apps).map(name => apps[name]); - } - function registerComponentCompat(component) { - const componentName = component.name; - const componentNameWithoutCompat = componentName.replace('-compat', ''); - if (modularAPIs._registerComponent(component) && - component.type === "PUBLIC" /* ComponentType.PUBLIC */) { - // create service namespace for public components - // The Service namespace is an accessor function ... - const serviceNamespace = (appArg = app()) => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - if (typeof appArg[componentNameWithoutCompat] !== 'function') { - // Invalid argument. - // This happens in the following case: firebase.storage('gs:/') - throw ERROR_FACTORY.create("invalid-app-argument" /* AppError.INVALID_APP_ARGUMENT */, { - appName: componentName - }); - } - // Forward service instance lookup to the FirebaseApp. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return appArg[componentNameWithoutCompat](); - }; - // ... and a container for service-level properties. - if (component.serviceProps !== undefined) { - deepExtend(serviceNamespace, component.serviceProps); - } - // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace[componentNameWithoutCompat] = serviceNamespace; - // Patch the FirebaseAppImpl prototype - // eslint-disable-next-line @typescript-eslint/no-explicit-any - firebaseAppImpl.prototype[componentNameWithoutCompat] = - // TODO: The eslint disable can be removed and the 'ignoreRestArgs' - // option added to the no-explicit-any rule when ESlint releases it. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - function (...args) { - const serviceFxn = this._getService.bind(this, componentName); - return serviceFxn.apply(this, component.multipleInstances ? args : []); - }; - } - return component.type === "PUBLIC" /* ComponentType.PUBLIC */ - ? // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace[componentNameWithoutCompat] - : null; - } - // Map the requested service to a registered service name - // (used to map auth to serverAuth service when needed). - function useAsService(app, name) { - if (name === 'serverAuth') { - return null; - } - const useService = name; - return useService; - } - return namespace; -} - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Return a firebase namespace object. - * - * In production, this will be called exactly once and the result - * assigned to the 'firebase' global. It may be called multiple times - * in unit tests. - */ -function createFirebaseNamespace() { - const namespace = createFirebaseNamespaceCore(FirebaseAppImpl); - namespace.INTERNAL = { - ...namespace.INTERNAL, - createFirebaseNamespace, - extendNamespace, - createSubscribe, - ErrorFactory, - deepExtend - }; - /** - * Patch the top-level firebase namespace with additional properties. - * - * firebase.INTERNAL.extendNamespace() - */ - function extendNamespace(props) { - deepExtend(namespace, props); - } - return namespace; -} -const firebase$1 = createFirebaseNamespace(); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const logger = new Logger('@firebase/app-compat'); - -const name = "@firebase/app-compat"; -const version = "0.5.5"; - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function registerCoreComponents(variant) { - // Register `app` package. - registerVersion(name, version, variant); -} - -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -try { - const globals = getGlobal(); - // Firebase Lite detection - // eslint-disable-next-line @typescript-eslint/no-explicit-any - if (globals.firebase !== undefined) { - logger.warn(` - Warning: Firebase is already defined in the global scope. Please make sure - Firebase library is only loaded once. - `); - // eslint-disable-next-line - const sdkVersion = globals.firebase - .SDK_VERSION; - if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) { - logger.warn(` - Warning: You are trying to load Firebase while using Firebase Performance standalone script. - You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code. - `); - } - } -} -catch { - // ignore errors thrown by getGlobal -} -const firebase = firebase$1; -registerCoreComponents(); - -export { firebase as default }; -//# sourceMappingURL=index.esm.js.map diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/index.esm.js.map b/frontend-old/node_modules/@firebase/app-compat/dist/esm/index.esm.js.map deleted file mode 100644 index 7b54acf..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/index.esm.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.esm.js","sources":["../../src/firebaseApp.ts","../../src/errors.ts","../../src/firebaseNamespaceCore.ts","../../src/firebaseNamespace.ts","../../src/logger.ts","../../src/registerCoreComponents.ts","../../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseOptions } from './public-types';\nimport {\n Component,\n ComponentContainer,\n ComponentType,\n InstantiationMode,\n Name\n} from '@firebase/component';\nimport {\n deleteApp,\n _addComponent,\n _addOrOverwriteComponent,\n _DEFAULT_ENTRY_NAME,\n _FirebaseAppInternal as _FirebaseAppExp\n} from '@firebase/app';\nimport { _FirebaseService, _FirebaseNamespace } from './types';\nimport { Compat } from '@firebase/util';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport interface _FirebaseApp {\n /**\n * The (read-only) name (identifier) for this App. '[DEFAULT]' is the default\n * App.\n */\n name: string;\n\n /**\n * The (read-only) configuration options from the app initialization.\n */\n options: FirebaseOptions;\n\n /**\n * The settable config flag for GDPR opt-in/opt-out\n */\n automaticDataCollectionEnabled: boolean;\n\n /**\n * Make the given App unusable and free resources.\n */\n delete(): Promise<void>;\n}\n/**\n * Global context object for a collection of services using\n * a shared authentication state.\n *\n * marked as internal because it references internal types exported from @firebase/app\n * @internal\n */\nexport class FirebaseAppImpl implements Compat<_FirebaseAppExp>, _FirebaseApp {\n private container: ComponentContainer;\n\n constructor(\n readonly _delegate: _FirebaseAppExp,\n private readonly firebase: _FirebaseNamespace\n ) {\n // add itself to container\n _addComponent(\n _delegate,\n new Component('app-compat', () => this, ComponentType.PUBLIC)\n );\n\n this.container = _delegate.container;\n }\n\n get automaticDataCollectionEnabled(): boolean {\n return this._delegate.automaticDataCollectionEnabled;\n }\n\n set automaticDataCollectionEnabled(val) {\n this._delegate.automaticDataCollectionEnabled = val;\n }\n\n get name(): string {\n return this._delegate.name;\n }\n\n get options(): FirebaseOptions {\n return this._delegate.options;\n }\n\n delete(): Promise<void> {\n return new Promise<void>(resolve => {\n this._delegate.checkDestroyed();\n resolve();\n }).then(() => {\n this.firebase.INTERNAL.removeApp(this.name);\n return deleteApp(this._delegate);\n });\n }\n\n /**\n * Return a service instance associated with this app (creating it\n * on demand), identified by the passed instanceIdentifier.\n *\n * NOTE: Currently storage and functions are the only ones that are leveraging this\n * functionality. They invoke it by calling:\n *\n * ```javascript\n * firebase.app().storage('STORAGE BUCKET ID')\n * ```\n *\n * The service name is passed to this already\n * @internal\n */\n _getService(\n name: string,\n instanceIdentifier: string = _DEFAULT_ENTRY_NAME\n ): _FirebaseService {\n this._delegate.checkDestroyed();\n\n // Initialize instance if InstantiationMode is `EXPLICIT`.\n const provider = this._delegate.container.getProvider(name as Name);\n if (\n !provider.isInitialized() &&\n provider.getComponent()?.instantiationMode === InstantiationMode.EXPLICIT\n ) {\n provider.initialize();\n }\n\n // getImmediate will always succeed because _getService is only called for registered components.\n return provider.getImmediate({\n identifier: instanceIdentifier\n }) as unknown as _FirebaseService;\n }\n\n /**\n * Remove a service instance from the cache, so we will create a new instance for this service\n * when people try to get it again.\n *\n * NOTE: currently only firestore uses this functionality to support firestore shutdown.\n *\n * @param name The service name\n * @param instanceIdentifier instance identifier in case multiple instances are allowed\n * @internal\n */\n _removeServiceInstance(\n name: string,\n instanceIdentifier: string = _DEFAULT_ENTRY_NAME\n ): void {\n this._delegate.container\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .getProvider(name as any)\n .clearInstance(instanceIdentifier);\n }\n\n /**\n * @param component the component being added to this app's container\n * @internal\n */\n _addComponent(component: Component): void {\n _addComponent(this._delegate, component);\n }\n\n _addOrOverwriteComponent(component: Component): void {\n _addOrOverwriteComponent(this._delegate, component);\n }\n\n toJSON(): object {\n return {\n name: this.name,\n automaticDataCollectionEnabled: this.automaticDataCollectionEnabled,\n options: this.options\n };\n }\n}\n\n// TODO: investigate why the following needs to be commented out\n// Prevent dead-code elimination of these methods w/o invalid property\n// copying.\n// (FirebaseAppImpl.prototype.name && FirebaseAppImpl.prototype.options) ||\n// FirebaseAppImpl.prototype.delete ||\n// console.log('dc');\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ErrorFactory, ErrorMap } from '@firebase/util';\n\nexport const enum AppError {\n NO_APP = 'no-app',\n INVALID_APP_ARGUMENT = 'invalid-app-argument'\n}\n\nconst ERRORS: ErrorMap<AppError> = {\n [AppError.NO_APP]:\n \"No Firebase App '{$appName}' has been created - \" +\n 'call Firebase App.initializeApp()',\n [AppError.INVALID_APP_ARGUMENT]:\n 'firebase.{$appName}() takes either no argument or a ' +\n 'Firebase App instance.'\n};\n\ntype ErrorParams = { [key in AppError]: { appName: string } };\n\nexport const ERROR_FACTORY = new ErrorFactory<AppError, ErrorParams>(\n 'app-compat',\n 'Firebase',\n ERRORS\n);\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseApp, FirebaseOptions } from './public-types';\nimport {\n _FirebaseNamespace,\n _FirebaseService,\n FirebaseServiceNamespace\n} from './types';\nimport * as modularAPIs from '@firebase/app';\nimport { _FirebaseAppInternal as _FirebaseAppExp } from '@firebase/app';\nimport { Component, ComponentType, Name } from '@firebase/component';\n\nimport { deepExtend, contains } from '@firebase/util';\nimport { FirebaseAppImpl } from './firebaseApp';\nimport { ERROR_FACTORY, AppError } from './errors';\nimport { FirebaseAppLiteImpl } from './lite/firebaseAppLite';\n\n/**\n * Because auth can't share code with other components, we attach the utility functions\n * in an internal namespace to share code.\n * This function return a firebase namespace object without\n * any utility functions, so it can be shared between the regular firebaseNamespace and\n * the lite version.\n */\nexport function createFirebaseNamespaceCore(\n firebaseAppImpl: typeof FirebaseAppImpl | typeof FirebaseAppLiteImpl\n): _FirebaseNamespace {\n const apps: { [name: string]: FirebaseApp } = {};\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const components = new Map<string, Component<any>>();\n\n // A namespace is a plain JavaScript Object.\n const namespace: _FirebaseNamespace = {\n // Hack to prevent Babel from modifying the object returned\n // as the firebase namespace.\n // @ts-ignore\n __esModule: true,\n initializeApp: initializeAppCompat,\n // @ts-ignore\n app,\n registerVersion: modularAPIs.registerVersion,\n setLogLevel: modularAPIs.setLogLevel,\n onLog: modularAPIs.onLog,\n // @ts-ignore\n apps: null,\n SDK_VERSION: modularAPIs.SDK_VERSION,\n INTERNAL: {\n registerComponent: registerComponentCompat,\n removeApp,\n useAsService,\n modularAPIs\n }\n };\n\n // Inject a circular default export to allow Babel users who were previously\n // using:\n //\n // import firebase from 'firebase';\n // which becomes: var firebase = require('firebase').default;\n //\n // instead of\n //\n // import * as firebase from 'firebase';\n // which becomes: var firebase = require('firebase');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)['default'] = namespace;\n\n // firebase.apps is a read-only getter.\n Object.defineProperty(namespace, 'apps', {\n get: getApps\n });\n\n /**\n * Called by App.delete() - but before any services associated with the App\n * are deleted.\n */\n function removeApp(name: string): void {\n delete apps[name];\n }\n\n /**\n * Get the App object for a given name (or DEFAULT).\n */\n function app(name?: string): FirebaseApp {\n name = name || modularAPIs._DEFAULT_ENTRY_NAME;\n if (!contains(apps, name)) {\n throw ERROR_FACTORY.create(AppError.NO_APP, { appName: name });\n }\n return apps[name];\n }\n\n // @ts-ignore\n app['App'] = firebaseAppImpl;\n\n /**\n * Create a new App instance (name must be unique).\n *\n * This function is idempotent. It can be called more than once and return the same instance using the same options and config.\n */\n function initializeAppCompat(\n options: FirebaseOptions,\n rawConfig = {}\n ): FirebaseApp {\n const app = modularAPIs.initializeApp(\n options,\n rawConfig\n ) as _FirebaseAppExp;\n\n if (contains(apps, app.name)) {\n return apps[app.name];\n }\n\n const appCompat = new firebaseAppImpl(app, namespace);\n apps[app.name] = appCompat;\n return appCompat;\n }\n\n /*\n * Return an array of all the non-deleted FirebaseApps.\n */\n function getApps(): FirebaseApp[] {\n // Make a copy so caller cannot mutate the apps list.\n return Object.keys(apps).map(name => apps[name]);\n }\n\n function registerComponentCompat<T extends Name>(\n component: Component<T>\n ): FirebaseServiceNamespace<_FirebaseService> | null {\n const componentName = component.name;\n const componentNameWithoutCompat = componentName.replace('-compat', '');\n if (\n modularAPIs._registerComponent(component) &&\n component.type === ComponentType.PUBLIC\n ) {\n // create service namespace for public components\n // The Service namespace is an accessor function ...\n const serviceNamespace = (\n appArg: FirebaseApp = app()\n ): _FirebaseService => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (typeof (appArg as any)[componentNameWithoutCompat] !== 'function') {\n // Invalid argument.\n // This happens in the following case: firebase.storage('gs:/')\n throw ERROR_FACTORY.create(AppError.INVALID_APP_ARGUMENT, {\n appName: componentName\n });\n }\n\n // Forward service instance lookup to the FirebaseApp.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (appArg as any)[componentNameWithoutCompat]();\n };\n\n // ... and a container for service-level properties.\n if (component.serviceProps !== undefined) {\n deepExtend(serviceNamespace, component.serviceProps);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)[componentNameWithoutCompat] = serviceNamespace;\n\n // Patch the FirebaseAppImpl prototype\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (firebaseAppImpl.prototype as any)[componentNameWithoutCompat] =\n // TODO: The eslint disable can be removed and the 'ignoreRestArgs'\n // option added to the no-explicit-any rule when ESlint releases it.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function (...args: any) {\n const serviceFxn = this._getService.bind(this, componentName);\n return serviceFxn.apply(\n this,\n component.multipleInstances ? args : []\n );\n };\n }\n\n return component.type === ComponentType.PUBLIC\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)[componentNameWithoutCompat]\n : null;\n }\n\n // Map the requested service to a registered service name\n // (used to map auth to serverAuth service when needed).\n function useAsService(app: FirebaseApp, name: string): string | null {\n if (name === 'serverAuth') {\n return null;\n }\n\n const useService = name;\n\n return useService;\n }\n\n return namespace;\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseNamespace } from './public-types';\nimport { createSubscribe, deepExtend, ErrorFactory } from '@firebase/util';\nimport { FirebaseAppImpl } from './firebaseApp';\nimport { createFirebaseNamespaceCore } from './firebaseNamespaceCore';\n\n/**\n * Return a firebase namespace object.\n *\n * In production, this will be called exactly once and the result\n * assigned to the 'firebase' global. It may be called multiple times\n * in unit tests.\n */\nexport function createFirebaseNamespace(): FirebaseNamespace {\n const namespace = createFirebaseNamespaceCore(FirebaseAppImpl);\n namespace.INTERNAL = {\n ...namespace.INTERNAL,\n createFirebaseNamespace,\n extendNamespace,\n createSubscribe,\n ErrorFactory,\n deepExtend\n };\n\n /**\n * Patch the top-level firebase namespace with additional properties.\n *\n * firebase.INTERNAL.extendNamespace()\n */\n function extendNamespace(props: { [prop: string]: unknown }): void {\n deepExtend(namespace, props);\n }\n\n return namespace;\n}\n\nexport const firebase = createFirebaseNamespace();\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Logger } from '@firebase/logger';\n\nexport const logger = new Logger('@firebase/app-compat');\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { registerVersion } from '@firebase/app';\n\nimport { name, version } from '../package.json';\n\nexport function registerCoreComponents(variant?: string): void {\n // Register `app` package.\n registerVersion(name, version, variant);\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseNamespace } from './public-types';\nimport { getGlobal } from '@firebase/util';\nimport { firebase as firebaseNamespace } from './firebaseNamespace';\nimport { logger } from './logger';\nimport { registerCoreComponents } from './registerCoreComponents';\n\ndeclare global {\n interface Window {\n firebase: FirebaseNamespace;\n }\n}\n\ntry {\n const globals = getGlobal();\n // Firebase Lite detection\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((globals as any).firebase !== undefined) {\n logger.warn(`\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n `);\n\n // eslint-disable-next-line\n const sdkVersion = ((globals as any).firebase as FirebaseNamespace)\n .SDK_VERSION;\n if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) {\n logger.warn(`\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n `);\n }\n }\n} catch {\n // ignore errors thrown by getGlobal\n}\n\nconst firebase = firebaseNamespace;\n\nregisterCoreComponents();\n\n// eslint-disable-next-line import/no-default-export\nexport default firebase;\n\nexport { _FirebaseNamespace, _FirebaseService } from './types';\nexport { FirebaseApp, FirebaseNamespace } from './public-types';\n"],"names":["firebase","firebaseNamespace"],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AA2CH;;;;;;AAMG;MACU,eAAe,CAAA;IAG1B,WACW,CAAA,SAA0B,EAClB,QAA4B,EAAA;QADpC,IAAS,CAAA,SAAA,GAAT,SAAS,CAAiB;QAClB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAoB;;AAG7C,QAAA,aAAa,CACX,SAAS,EACT,IAAI,SAAS,CAAC,YAAY,EAAE,MAAM,IAAI,EAAA,QAAA,4BAAuB,CAC9D,CAAC;AAEF,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;KACtC;AAED,IAAA,IAAI,8BAA8B,GAAA;AAChC,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC;KACtD;IAED,IAAI,8BAA8B,CAAC,GAAG,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,8BAA8B,GAAG,GAAG,CAAC;KACrD;AAED,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC5B;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;KAC/B;IAED,MAAM,GAAA;AACJ,QAAA,OAAO,IAAI,OAAO,CAAO,OAAO,IAAG;AACjC,YAAA,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,CAAC;AAChC,YAAA,OAAO,EAAE,CAAC;AACZ,SAAC,C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AAE;;;;"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/package.json b/frontend-old/node_modules/@firebase/app-compat/dist/esm/package.json deleted file mode 100644 index 7c34deb..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type":"module"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/errors.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/errors.d.ts deleted file mode 100644 index bb66c09..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/errors.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { ErrorFactory } from '@firebase/util'; -export declare const enum AppError { - NO_APP = "no-app", - INVALID_APP_ARGUMENT = "invalid-app-argument" -} -type ErrorParams = { - [key in AppError]: { - appName: string; - }; -}; -export declare const ERROR_FACTORY: ErrorFactory<AppError, ErrorParams>; -export {}; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseApp.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseApp.d.ts deleted file mode 100644 index f00b305..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseApp.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseOptions } from './public-types'; -import { Component } from '@firebase/component'; -import { _FirebaseAppInternal as _FirebaseAppExp } from '@firebase/app'; -import { _FirebaseService, _FirebaseNamespace } from './types'; -import { Compat } from '@firebase/util'; -export interface _FirebaseApp { - /** - * The (read-only) name (identifier) for this App. '[DEFAULT]' is the default - * App. - */ - name: string; - /** - * The (read-only) configuration options from the app initialization. - */ - options: FirebaseOptions; - /** - * The settable config flag for GDPR opt-in/opt-out - */ - automaticDataCollectionEnabled: boolean; - /** - * Make the given App unusable and free resources. - */ - delete(): Promise<void>; -} -/** - * Global context object for a collection of services using - * a shared authentication state. - * - * marked as internal because it references internal types exported from @firebase/app - * @internal - */ -export declare class FirebaseAppImpl implements Compat<_FirebaseAppExp>, _FirebaseApp { - readonly _delegate: _FirebaseAppExp; - private readonly firebase; - private container; - constructor(_delegate: _FirebaseAppExp, firebase: _FirebaseNamespace); - get automaticDataCollectionEnabled(): boolean; - set automaticDataCollectionEnabled(val: boolean); - get name(): string; - get options(): FirebaseOptions; - delete(): Promise<void>; - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage and functions are the only ones that are leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name: string, instanceIdentifier?: string): _FirebaseService; - /** - * Remove a service instance from the cache, so we will create a new instance for this service - * when people try to get it again. - * - * NOTE: currently only firestore uses this functionality to support firestore shutdown. - * - * @param name The service name - * @param instanceIdentifier instance identifier in case multiple instances are allowed - * @internal - */ - _removeServiceInstance(name: string, instanceIdentifier?: string): void; - /** - * @param component the component being added to this app's container - * @internal - */ - _addComponent(component: Component): void; - _addOrOverwriteComponent(component: Component): void; - toJSON(): object; -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseNamespace.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseNamespace.d.ts deleted file mode 100644 index 78bb27b..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseNamespace.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseNamespace } from './public-types'; -/** - * Return a firebase namespace object. - * - * In production, this will be called exactly once and the result - * assigned to the 'firebase' global. It may be called multiple times - * in unit tests. - */ -export declare function createFirebaseNamespace(): FirebaseNamespace; -export declare const firebase: FirebaseNamespace; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseNamespaceCore.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseNamespaceCore.d.ts deleted file mode 100644 index c3fe4a7..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/firebaseNamespaceCore.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { _FirebaseNamespace } from './types'; -import { FirebaseAppImpl } from './firebaseApp'; -import { FirebaseAppLiteImpl } from './lite/firebaseAppLite'; -/** - * Because auth can't share code with other components, we attach the utility functions - * in an internal namespace to share code. - * This function return a firebase namespace object without - * any utility functions, so it can be shared between the regular firebaseNamespace and - * the lite version. - */ -export declare function createFirebaseNamespaceCore(firebaseAppImpl: typeof FirebaseAppImpl | typeof FirebaseAppLiteImpl): _FirebaseNamespace; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/index.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/index.d.ts deleted file mode 100644 index b59db2b..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/index.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseNamespace } from './public-types'; -declare global { - interface Window { - firebase: FirebaseNamespace; - } -} -declare const firebase: FirebaseNamespace; -export default firebase; -export { _FirebaseNamespace, _FirebaseService } from './types'; -export { FirebaseApp, FirebaseNamespace } from './public-types'; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/index.lite.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/index.lite.d.ts deleted file mode 100644 index 4823bc1..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/index.lite.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -declare const firebase: import("./public-types").FirebaseNamespace; -export default firebase; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/lite/firebaseAppLite.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/lite/firebaseAppLite.d.ts deleted file mode 100644 index 826e4a1..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/lite/firebaseAppLite.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseApp, FirebaseOptions } from '../public-types'; -import { _FirebaseNamespace, _FirebaseService } from '../types'; -import { _FirebaseAppInternal as FirebaseAppExp } from '@firebase/app'; -import { Compat } from '@firebase/util'; -/** - * Global context object for a collection of services using - * a shared authentication state. - */ -export declare class FirebaseAppLiteImpl implements FirebaseApp, Compat<FirebaseAppExp> { - readonly _delegate: FirebaseAppExp; - private readonly firebase; - constructor(_delegate: FirebaseAppExp, firebase: _FirebaseNamespace); - get automaticDataCollectionEnabled(): boolean; - set automaticDataCollectionEnabled(val: boolean); - get name(): string; - get options(): FirebaseOptions; - delete(): Promise<void>; - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage is the only one that is leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name: string, instanceIdentifier?: string): _FirebaseService; -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/lite/firebaseNamespaceLite.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/lite/firebaseNamespaceLite.d.ts deleted file mode 100644 index 1a1eed0..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/lite/firebaseNamespaceLite.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseNamespace } from '../public-types'; -export declare function createFirebaseNamespaceLite(): FirebaseNamespace; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/logger.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/logger.d.ts deleted file mode 100644 index 4a4edbd..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/logger.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { Logger } from '@firebase/logger'; -export declare const logger: Logger; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/public-types.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/public-types.d.ts deleted file mode 100644 index 0bb8a86..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/public-types.d.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { LogCallback, LogLevelString, LogOptions } from '@firebase/logger'; -import { _FirebaseApp } from './firebaseApp'; -export interface FirebaseOptions { - apiKey?: string; - authDomain?: string; - databaseURL?: string; - projectId?: string; - storageBucket?: string; - messagingSenderId?: string; - appId?: string; - measurementId?: string; -} -export interface FirebaseAppConfig { - name?: string; - automaticDataCollectionEnabled?: boolean; -} -interface FirebaseAppConstructor { - new (): FirebaseApp; -} -/** - * This interface will be enhanced by other products by adding e.g. firestore(), messaging() methods. - * As a result, FirebaseAppImpl can't directly implement it, otherwise there will be typings errors: - * - * For example, "Class 'FirebaseAppImpl' incorrectly implements interface 'FirebaseApp'. - * Property 'installations' is missing in type 'FirebaseAppImpl' but required in type 'FirebaseApp'" - * - * To workaround this issue, we defined a _FirebaseApp interface which is implemented by FirebaseAppImpl - * and let FirebaseApp extends it. - */ -export interface FirebaseApp extends _FirebaseApp { -} -export interface FirebaseNamespace { - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param config The optional config for your firebase app - */ - initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp; - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param name The optional name of the app to initialize ('[DEFAULT]' if - * omitted) - */ - initializeApp(options: FirebaseOptions, name?: string): FirebaseApp; - app: { - /** - * Retrieve an instance of a FirebaseApp. - * - * Usage: firebase.app() - * - * @param name The optional name of the app to return ('[DEFAULT]' if omitted) - */ - (name?: string): FirebaseApp; - /** - * For testing FirebaseApp instances: - * app() instanceof firebase.app.App - * - * DO NOT call this constuctor directly (use firebase.app() instead). - */ - App: FirebaseAppConstructor; - }; - /** - * A (read-only) array of all the initialized Apps. - */ - apps: FirebaseApp[]; - /** - * Registers a library's name and version for platform logging purposes. - * @param library Name of 1p or 3p library (e.g. firestore, angularfire) - * @param version Current version of that library. - */ - registerVersion(library: string, version: string, variant?: string): void; - setLogLevel(logLevel: LogLevelString): void; - onLog(logCallback: LogCallback, options?: LogOptions): void; - SDK_VERSION: string; -} -declare module '@firebase/component' { - interface NameServiceMapping { - 'app-compat': FirebaseApp; - } -} -export {}; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/registerCoreComponents.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/registerCoreComponents.d.ts deleted file mode 100644 index 45612e1..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/registerCoreComponents.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export declare function registerCoreComponents(variant?: string): void; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/types.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/types.d.ts deleted file mode 100644 index c6ba71c..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/src/types.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * THIS FILE IS FOR INTERNAL USAGE ONLY, IF YOU ARE NOT DEVELOPING THE FIREBASE - * SDKs, PLEASE DO NOT REFERENCE THIS FILE AS IT MAY CHANGE WITHOUT WARNING - */ -import { FirebaseApp, FirebaseNamespace } from './public-types'; -import { Compat } from '@firebase/util'; -import { Component, ComponentContainer, Name } from '@firebase/component'; -export interface FirebaseServiceInternals { - /** - * Delete the service and free it's resources - called from - * app.delete(). - */ - delete(): Promise<void>; -} -export interface _FirebaseService extends Compat<unknown> { - app: FirebaseApp; - INTERNAL?: FirebaseServiceInternals; -} -/** - * All ServiceNamespaces extend from FirebaseServiceNamespace - */ -export interface FirebaseServiceNamespace<T extends _FirebaseService> { - (app?: FirebaseApp): T; -} -export interface _FirebaseApp extends FirebaseApp { - container: ComponentContainer; - _addComponent<T extends Name>(component: Component<T>): void; - _addOrOverwriteComponent<T extends Name>(component: Component<T>): void; - _removeServiceInstance(name: string, instanceIdentifier?: string): void; -} -export interface _FirebaseNamespace extends FirebaseNamespace { - INTERNAL: { - /** - * Internal API to register a Firebase Service into the firebase namespace. - * - * Each service will create a child namespace (firebase.<name>) which acts as - * both a namespace for service specific properties, and also as a service - * accessor function (firebase.<name>() or firebase.<name>(app)). - * - * @param name The Firebase Service being registered. - * @param createService Factory function to create a service instance. - * @param serviceProperties Properties to copy to the service's namespace. - * @param appHook All appHooks called before initializeApp returns to caller. - * @param allowMultipleInstances Whether the registered service supports - * multiple instances per app. If not specified, the default is false. - */ - registerComponent<T extends Name>(component: Component<T>): FirebaseServiceNamespace<_FirebaseService> | null; - /** - * Internal API to remove an app from the list of registered apps. - */ - removeApp(name: string): void; - useAsService(app: FirebaseApp, serviceName: string): string | null; - [index: string]: unknown; - }; -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/firebaseAppCompat.test.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/firebaseAppCompat.test.d.ts deleted file mode 100644 index 9192607..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/firebaseAppCompat.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import './setup'; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/setup.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/setup.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/setup.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export {}; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/util.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/util.d.ts deleted file mode 100644 index 46cad0a..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/esm/test/util.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { _FirebaseService } from '../src/types'; -import { FirebaseApp } from '../src/public-types'; -import { ComponentType, Component } from '@firebase/component'; -export declare class TestService implements _FirebaseService { - private app_; - instanceIdentifier?: string | undefined; - readonly _delegate: {}; - constructor(app_: FirebaseApp, instanceIdentifier?: string | undefined); - get app(): FirebaseApp; - delete(): Promise<void>; -} -export declare function createTestComponent(name: string, multiInstances?: boolean, type?: ComponentType): Component; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/index.cjs.js b/frontend-old/node_modules/@firebase/app-compat/dist/index.cjs.js deleted file mode 100644 index 334d9a2..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/index.cjs.js +++ /dev/null @@ -1,461 +0,0 @@ -'use strict'; - -var util = require('@firebase/util'); -var component = require('@firebase/component'); -var modularAPIs = require('@firebase/app'); -var logger$1 = require('@firebase/logger'); - -function _interopNamespace(e) { - if (e && e.__esModule) return e; - var n = Object.create(null); - if (e) { - Object.keys(e).forEach(function (k) { - if (k !== 'default') { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - } - n["default"] = e; - return Object.freeze(n); -} - -var modularAPIs__namespace = /*#__PURE__*/_interopNamespace(modularAPIs); - -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Global context object for a collection of services using - * a shared authentication state. - * - * marked as internal because it references internal types exported from @firebase/app - * @internal - */ -class FirebaseAppImpl { - constructor(_delegate, firebase) { - this._delegate = _delegate; - this.firebase = firebase; - // add itself to container - modularAPIs._addComponent(_delegate, new component.Component('app-compat', () => this, "PUBLIC" /* ComponentType.PUBLIC */)); - this.container = _delegate.container; - } - get automaticDataCollectionEnabled() { - return this._delegate.automaticDataCollectionEnabled; - } - set automaticDataCollectionEnabled(val) { - this._delegate.automaticDataCollectionEnabled = val; - } - get name() { - return this._delegate.name; - } - get options() { - return this._delegate.options; - } - delete() { - return new Promise(resolve => { - this._delegate.checkDestroyed(); - resolve(); - }).then(() => { - this.firebase.INTERNAL.removeApp(this.name); - return modularAPIs.deleteApp(this._delegate); - }); - } - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage and functions are the only ones that are leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name, instanceIdentifier = modularAPIs._DEFAULT_ENTRY_NAME) { - this._delegate.checkDestroyed(); - // Initialize instance if InstantiationMode is `EXPLICIT`. - const provider = this._delegate.container.getProvider(name); - if (!provider.isInitialized() && - provider.getComponent()?.instantiationMode === "EXPLICIT" /* InstantiationMode.EXPLICIT */) { - provider.initialize(); - } - // getImmediate will always succeed because _getService is only called for registered components. - return provider.getImmediate({ - identifier: instanceIdentifier - }); - } - /** - * Remove a service instance from the cache, so we will create a new instance for this service - * when people try to get it again. - * - * NOTE: currently only firestore uses this functionality to support firestore shutdown. - * - * @param name The service name - * @param instanceIdentifier instance identifier in case multiple instances are allowed - * @internal - */ - _removeServiceInstance(name, instanceIdentifier = modularAPIs._DEFAULT_ENTRY_NAME) { - this._delegate.container - // eslint-disable-next-line @typescript-eslint/no-explicit-any - .getProvider(name) - .clearInstance(instanceIdentifier); - } - /** - * @param component the component being added to this app's container - * @internal - */ - _addComponent(component) { - modularAPIs._addComponent(this._delegate, component); - } - _addOrOverwriteComponent(component) { - modularAPIs._addOrOverwriteComponent(this._delegate, component); - } - toJSON() { - return { - name: this.name, - automaticDataCollectionEnabled: this.automaticDataCollectionEnabled, - options: this.options - }; - } -} -// TODO: investigate why the following needs to be commented out -// Prevent dead-code elimination of these methods w/o invalid property -// copying. -// (FirebaseAppImpl.prototype.name && FirebaseAppImpl.prototype.options) || -// FirebaseAppImpl.prototype.delete || -// console.log('dc'); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const ERRORS = { - ["no-app" /* AppError.NO_APP */]: "No Firebase App '{$appName}' has been created - " + - 'call Firebase App.initializeApp()', - ["invalid-app-argument" /* AppError.INVALID_APP_ARGUMENT */]: 'firebase.{$appName}() takes either no argument or a ' + - 'Firebase App instance.' -}; -const ERROR_FACTORY = new util.ErrorFactory('app-compat', 'Firebase', ERRORS); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Because auth can't share code with other components, we attach the utility functions - * in an internal namespace to share code. - * This function return a firebase namespace object without - * any utility functions, so it can be shared between the regular firebaseNamespace and - * the lite version. - */ -function createFirebaseNamespaceCore(firebaseAppImpl) { - const apps = {}; - // // eslint-disable-next-line @typescript-eslint/no-explicit-any - // const components = new Map<string, Component<any>>(); - // A namespace is a plain JavaScript Object. - const namespace = { - // Hack to prevent Babel from modifying the object returned - // as the firebase namespace. - // @ts-ignore - __esModule: true, - initializeApp: initializeAppCompat, - // @ts-ignore - app, - registerVersion: modularAPIs__namespace.registerVersion, - setLogLevel: modularAPIs__namespace.setLogLevel, - onLog: modularAPIs__namespace.onLog, - // @ts-ignore - apps: null, - SDK_VERSION: modularAPIs__namespace.SDK_VERSION, - INTERNAL: { - registerComponent: registerComponentCompat, - removeApp, - useAsService, - modularAPIs: modularAPIs__namespace - } - }; - // Inject a circular default export to allow Babel users who were previously - // using: - // - // import firebase from 'firebase'; - // which becomes: var firebase = require('firebase').default; - // - // instead of - // - // import * as firebase from 'firebase'; - // which becomes: var firebase = require('firebase'); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace['default'] = namespace; - // firebase.apps is a read-only getter. - Object.defineProperty(namespace, 'apps', { - get: getApps - }); - /** - * Called by App.delete() - but before any services associated with the App - * are deleted. - */ - function removeApp(name) { - delete apps[name]; - } - /** - * Get the App object for a given name (or DEFAULT). - */ - function app(name) { - name = name || modularAPIs__namespace._DEFAULT_ENTRY_NAME; - if (!util.contains(apps, name)) { - throw ERROR_FACTORY.create("no-app" /* AppError.NO_APP */, { appName: name }); - } - return apps[name]; - } - // @ts-ignore - app['App'] = firebaseAppImpl; - /** - * Create a new App instance (name must be unique). - * - * This function is idempotent. It can be called more than once and return the same instance using the same options and config. - */ - function initializeAppCompat(options, rawConfig = {}) { - const app = modularAPIs__namespace.initializeApp(options, rawConfig); - if (util.contains(apps, app.name)) { - return apps[app.name]; - } - const appCompat = new firebaseAppImpl(app, namespace); - apps[app.name] = appCompat; - return appCompat; - } - /* - * Return an array of all the non-deleted FirebaseApps. - */ - function getApps() { - // Make a copy so caller cannot mutate the apps list. - return Object.keys(apps).map(name => apps[name]); - } - function registerComponentCompat(component) { - const componentName = component.name; - const componentNameWithoutCompat = componentName.replace('-compat', ''); - if (modularAPIs__namespace._registerComponent(component) && - component.type === "PUBLIC" /* ComponentType.PUBLIC */) { - // create service namespace for public components - // The Service namespace is an accessor function ... - const serviceNamespace = (appArg = app()) => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - if (typeof appArg[componentNameWithoutCompat] !== 'function') { - // Invalid argument. - // This happens in the following case: firebase.storage('gs:/') - throw ERROR_FACTORY.create("invalid-app-argument" /* AppError.INVALID_APP_ARGUMENT */, { - appName: componentName - }); - } - // Forward service instance lookup to the FirebaseApp. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return appArg[componentNameWithoutCompat](); - }; - // ... and a container for service-level properties. - if (component.serviceProps !== undefined) { - util.deepExtend(serviceNamespace, component.serviceProps); - } - // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace[componentNameWithoutCompat] = serviceNamespace; - // Patch the FirebaseAppImpl prototype - // eslint-disable-next-line @typescript-eslint/no-explicit-any - firebaseAppImpl.prototype[componentNameWithoutCompat] = - // TODO: The eslint disable can be removed and the 'ignoreRestArgs' - // option added to the no-explicit-any rule when ESlint releases it. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - function (...args) { - const serviceFxn = this._getService.bind(this, componentName); - return serviceFxn.apply(this, component.multipleInstances ? args : []); - }; - } - return component.type === "PUBLIC" /* ComponentType.PUBLIC */ - ? // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace[componentNameWithoutCompat] - : null; - } - // Map the requested service to a registered service name - // (used to map auth to serverAuth service when needed). - function useAsService(app, name) { - if (name === 'serverAuth') { - return null; - } - const useService = name; - return useService; - } - return namespace; -} - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Return a firebase namespace object. - * - * In production, this will be called exactly once and the result - * assigned to the 'firebase' global. It may be called multiple times - * in unit tests. - */ -function createFirebaseNamespace() { - const namespace = createFirebaseNamespaceCore(FirebaseAppImpl); - namespace.INTERNAL = { - ...namespace.INTERNAL, - createFirebaseNamespace, - extendNamespace, - createSubscribe: util.createSubscribe, - ErrorFactory: util.ErrorFactory, - deepExtend: util.deepExtend - }; - /** - * Patch the top-level firebase namespace with additional properties. - * - * firebase.INTERNAL.extendNamespace() - */ - function extendNamespace(props) { - util.deepExtend(namespace, props); - } - return namespace; -} -const firebase$1 = createFirebaseNamespace(); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const logger = new logger$1.Logger('@firebase/app-compat'); - -const name = "@firebase/app-compat"; -const version = "0.5.5"; - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function registerCoreComponents(variant) { - // Register `app` package. - modularAPIs.registerVersion(name, version, variant); -} - -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -try { - const globals = util.getGlobal(); - // Firebase Lite detection - // eslint-disable-next-line @typescript-eslint/no-explicit-any - if (globals.firebase !== undefined) { - logger.warn(` - Warning: Firebase is already defined in the global scope. Please make sure - Firebase library is only loaded once. - `); - // eslint-disable-next-line - const sdkVersion = globals.firebase - .SDK_VERSION; - if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) { - logger.warn(` - Warning: You are trying to load Firebase while using Firebase Performance standalone script. - You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code. - `); - } - } -} -catch { - // ignore errors thrown by getGlobal -} -const firebase = firebase$1; -registerCoreComponents(); - -module.exports = firebase; -//# sourceMappingURL=index.cjs.js.map diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/index.cjs.js.map b/frontend-old/node_modules/@firebase/app-compat/dist/index.cjs.js.map deleted file mode 100644 index 1bdaeb9..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/index.cjs.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.cjs.js","sources":["../src/firebaseApp.ts","../src/errors.ts","../src/firebaseNamespaceCore.ts","../src/firebaseNamespace.ts","../src/logger.ts","../src/registerCoreComponents.ts","../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseOptions } from './public-types';\nimport {\n Component,\n ComponentContainer,\n ComponentType,\n InstantiationMode,\n Name\n} from '@firebase/component';\nimport {\n deleteApp,\n _addComponent,\n _addOrOverwriteComponent,\n _DEFAULT_ENTRY_NAME,\n _FirebaseAppInternal as _FirebaseAppExp\n} from '@firebase/app';\nimport { _FirebaseService, _FirebaseNamespace } from './types';\nimport { Compat } from '@firebase/util';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport interface _FirebaseApp {\n /**\n * The (read-only) name (identifier) for this App. '[DEFAULT]' is the default\n * App.\n */\n name: string;\n\n /**\n * The (read-only) configuration options from the app initialization.\n */\n options: FirebaseOptions;\n\n /**\n * The settable config flag for GDPR opt-in/opt-out\n */\n automaticDataCollectionEnabled: boolean;\n\n /**\n * Make the given App unusable and free resources.\n */\n delete(): Promise<void>;\n}\n/**\n * Global context object for a collection of services using\n * a shared authentication state.\n *\n * marked as internal because it references internal types exported from @firebase/app\n * @internal\n */\nexport class FirebaseAppImpl implements Compat<_FirebaseAppExp>, _FirebaseApp {\n private container: ComponentContainer;\n\n constructor(\n readonly _delegate: _FirebaseAppExp,\n private readonly firebase: _FirebaseNamespace\n ) {\n // add itself to container\n _addComponent(\n _delegate,\n new Component('app-compat', () => this, ComponentType.PUBLIC)\n );\n\n this.container = _delegate.container;\n }\n\n get automaticDataCollectionEnabled(): boolean {\n return this._delegate.automaticDataCollectionEnabled;\n }\n\n set automaticDataCollectionEnabled(val) {\n this._delegate.automaticDataCollectionEnabled = val;\n }\n\n get name(): string {\n return this._delegate.name;\n }\n\n get options(): FirebaseOptions {\n return this._delegate.options;\n }\n\n delete(): Promise<void> {\n return new Promise<void>(resolve => {\n this._delegate.checkDestroyed();\n resolve();\n }).then(() => {\n this.firebase.INTERNAL.removeApp(this.name);\n return deleteApp(this._delegate);\n });\n }\n\n /**\n * Return a service instance associated with this app (creating it\n * on demand), identified by the passed instanceIdentifier.\n *\n * NOTE: Currently storage and functions are the only ones that are leveraging this\n * functionality. They invoke it by calling:\n *\n * ```javascript\n * firebase.app().storage('STORAGE BUCKET ID')\n * ```\n *\n * The service name is passed to this already\n * @internal\n */\n _getService(\n name: string,\n instanceIdentifier: string = _DEFAULT_ENTRY_NAME\n ): _FirebaseService {\n this._delegate.checkDestroyed();\n\n // Initialize instance if InstantiationMode is `EXPLICIT`.\n const provider = this._delegate.container.getProvider(name as Name);\n if (\n !provider.isInitialized() &&\n provider.getComponent()?.instantiationMode === InstantiationMode.EXPLICIT\n ) {\n provider.initialize();\n }\n\n // getImmediate will always succeed because _getService is only called for registered components.\n return provider.getImmediate({\n identifier: instanceIdentifier\n }) as unknown as _FirebaseService;\n }\n\n /**\n * Remove a service instance from the cache, so we will create a new instance for this service\n * when people try to get it again.\n *\n * NOTE: currently only firestore uses this functionality to support firestore shutdown.\n *\n * @param name The service name\n * @param instanceIdentifier instance identifier in case multiple instances are allowed\n * @internal\n */\n _removeServiceInstance(\n name: string,\n instanceIdentifier: string = _DEFAULT_ENTRY_NAME\n ): void {\n this._delegate.container\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .getProvider(name as any)\n .clearInstance(instanceIdentifier);\n }\n\n /**\n * @param component the component being added to this app's container\n * @internal\n */\n _addComponent(component: Component): void {\n _addComponent(this._delegate, component);\n }\n\n _addOrOverwriteComponent(component: Component): void {\n _addOrOverwriteComponent(this._delegate, component);\n }\n\n toJSON(): object {\n return {\n name: this.name,\n automaticDataCollectionEnabled: this.automaticDataCollectionEnabled,\n options: this.options\n };\n }\n}\n\n// TODO: investigate why the following needs to be commented out\n// Prevent dead-code elimination of these methods w/o invalid property\n// copying.\n// (FirebaseAppImpl.prototype.name && FirebaseAppImpl.prototype.options) ||\n// FirebaseAppImpl.prototype.delete ||\n// console.log('dc');\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ErrorFactory, ErrorMap } from '@firebase/util';\n\nexport const enum AppError {\n NO_APP = 'no-app',\n INVALID_APP_ARGUMENT = 'invalid-app-argument'\n}\n\nconst ERRORS: ErrorMap<AppError> = {\n [AppError.NO_APP]:\n \"No Firebase App '{$appName}' has been created - \" +\n 'call Firebase App.initializeApp()',\n [AppError.INVALID_APP_ARGUMENT]:\n 'firebase.{$appName}() takes either no argument or a ' +\n 'Firebase App instance.'\n};\n\ntype ErrorParams = { [key in AppError]: { appName: string } };\n\nexport const ERROR_FACTORY = new ErrorFactory<AppError, ErrorParams>(\n 'app-compat',\n 'Firebase',\n ERRORS\n);\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseApp, FirebaseOptions } from './public-types';\nimport {\n _FirebaseNamespace,\n _FirebaseService,\n FirebaseServiceNamespace\n} from './types';\nimport * as modularAPIs from '@firebase/app';\nimport { _FirebaseAppInternal as _FirebaseAppExp } from '@firebase/app';\nimport { Component, ComponentType, Name } from '@firebase/component';\n\nimport { deepExtend, contains } from '@firebase/util';\nimport { FirebaseAppImpl } from './firebaseApp';\nimport { ERROR_FACTORY, AppError } from './errors';\nimport { FirebaseAppLiteImpl } from './lite/firebaseAppLite';\n\n/**\n * Because auth can't share code with other components, we attach the utility functions\n * in an internal namespace to share code.\n * This function return a firebase namespace object without\n * any utility functions, so it can be shared between the regular firebaseNamespace and\n * the lite version.\n */\nexport function createFirebaseNamespaceCore(\n firebaseAppImpl: typeof FirebaseAppImpl | typeof FirebaseAppLiteImpl\n): _FirebaseNamespace {\n const apps: { [name: string]: FirebaseApp } = {};\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const components = new Map<string, Component<any>>();\n\n // A namespace is a plain JavaScript Object.\n const namespace: _FirebaseNamespace = {\n // Hack to prevent Babel from modifying the object returned\n // as the firebase namespace.\n // @ts-ignore\n __esModule: true,\n initializeApp: initializeAppCompat,\n // @ts-ignore\n app,\n registerVersion: modularAPIs.registerVersion,\n setLogLevel: modularAPIs.setLogLevel,\n onLog: modularAPIs.onLog,\n // @ts-ignore\n apps: null,\n SDK_VERSION: modularAPIs.SDK_VERSION,\n INTERNAL: {\n registerComponent: registerComponentCompat,\n removeApp,\n useAsService,\n modularAPIs\n }\n };\n\n // Inject a circular default export to allow Babel users who were previously\n // using:\n //\n // import firebase from 'firebase';\n // which becomes: var firebase = require('firebase').default;\n //\n // instead of\n //\n // import * as firebase from 'firebase';\n // which becomes: var firebase = require('firebase');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)['default'] = namespace;\n\n // firebase.apps is a read-only getter.\n Object.defineProperty(namespace, 'apps', {\n get: getApps\n });\n\n /**\n * Called by App.delete() - but before any services associated with the App\n * are deleted.\n */\n function removeApp(name: string): void {\n delete apps[name];\n }\n\n /**\n * Get the App object for a given name (or DEFAULT).\n */\n function app(name?: string): FirebaseApp {\n name = name || modularAPIs._DEFAULT_ENTRY_NAME;\n if (!contains(apps, name)) {\n throw ERROR_FACTORY.create(AppError.NO_APP, { appName: name });\n }\n return apps[name];\n }\n\n // @ts-ignore\n app['App'] = firebaseAppImpl;\n\n /**\n * Create a new App instance (name must be unique).\n *\n * This function is idempotent. It can be called more than once and return the same instance using the same options and config.\n */\n function initializeAppCompat(\n options: FirebaseOptions,\n rawConfig = {}\n ): FirebaseApp {\n const app = modularAPIs.initializeApp(\n options,\n rawConfig\n ) as _FirebaseAppExp;\n\n if (contains(apps, app.name)) {\n return apps[app.name];\n }\n\n const appCompat = new firebaseAppImpl(app, namespace);\n apps[app.name] = appCompat;\n return appCompat;\n }\n\n /*\n * Return an array of all the non-deleted FirebaseApps.\n */\n function getApps(): FirebaseApp[] {\n // Make a copy so caller cannot mutate the apps list.\n return Object.keys(apps).map(name => apps[name]);\n }\n\n function registerComponentCompat<T extends Name>(\n component: Component<T>\n ): FirebaseServiceNamespace<_FirebaseService> | null {\n const componentName = component.name;\n const componentNameWithoutCompat = componentName.replace('-compat', '');\n if (\n modularAPIs._registerComponent(component) &&\n component.type === ComponentType.PUBLIC\n ) {\n // create service namespace for public components\n // The Service namespace is an accessor function ...\n const serviceNamespace = (\n appArg: FirebaseApp = app()\n ): _FirebaseService => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (typeof (appArg as any)[componentNameWithoutCompat] !== 'function') {\n // Invalid argument.\n // This happens in the following case: firebase.storage('gs:/')\n throw ERROR_FACTORY.create(AppError.INVALID_APP_ARGUMENT, {\n appName: componentName\n });\n }\n\n // Forward service instance lookup to the FirebaseApp.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (appArg as any)[componentNameWithoutCompat]();\n };\n\n // ... and a container for service-level properties.\n if (component.serviceProps !== undefined) {\n deepExtend(serviceNamespace, component.serviceProps);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)[componentNameWithoutCompat] = serviceNamespace;\n\n // Patch the FirebaseAppImpl prototype\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (firebaseAppImpl.prototype as any)[componentNameWithoutCompat] =\n // TODO: The eslint disable can be removed and the 'ignoreRestArgs'\n // option added to the no-explicit-any rule when ESlint releases it.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function (...args: any) {\n const serviceFxn = this._getService.bind(this, componentName);\n return serviceFxn.apply(\n this,\n component.multipleInstances ? args : []\n );\n };\n }\n\n return component.type === ComponentType.PUBLIC\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)[componentNameWithoutCompat]\n : null;\n }\n\n // Map the requested service to a registered service name\n // (used to map auth to serverAuth service when needed).\n function useAsService(app: FirebaseApp, name: string): string | null {\n if (name === 'serverAuth') {\n return null;\n }\n\n const useService = name;\n\n return useService;\n }\n\n return namespace;\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseNamespace } from './public-types';\nimport { createSubscribe, deepExtend, ErrorFactory } from '@firebase/util';\nimport { FirebaseAppImpl } from './firebaseApp';\nimport { createFirebaseNamespaceCore } from './firebaseNamespaceCore';\n\n/**\n * Return a firebase namespace object.\n *\n * In production, this will be called exactly once and the result\n * assigned to the 'firebase' global. It may be called multiple times\n * in unit tests.\n */\nexport function createFirebaseNamespace(): FirebaseNamespace {\n const namespace = createFirebaseNamespaceCore(FirebaseAppImpl);\n namespace.INTERNAL = {\n ...namespace.INTERNAL,\n createFirebaseNamespace,\n extendNamespace,\n createSubscribe,\n ErrorFactory,\n deepExtend\n };\n\n /**\n * Patch the top-level firebase namespace with additional properties.\n *\n * firebase.INTERNAL.extendNamespace()\n */\n function extendNamespace(props: { [prop: string]: unknown }): void {\n deepExtend(namespace, props);\n }\n\n return namespace;\n}\n\nexport const firebase = createFirebaseNamespace();\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Logger } from '@firebase/logger';\n\nexport const logger = new Logger('@firebase/app-compat');\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { registerVersion } from '@firebase/app';\n\nimport { name, version } from '../package.json';\n\nexport function registerCoreComponents(variant?: string): void {\n // Register `app` package.\n registerVersion(name, version, variant);\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseNamespace } from './public-types';\nimport { getGlobal } from '@firebase/util';\nimport { firebase as firebaseNamespace } from './firebaseNamespace';\nimport { logger } from './logger';\nimport { registerCoreComponents } from './registerCoreComponents';\n\ndeclare global {\n interface Window {\n firebase: FirebaseNamespace;\n }\n}\n\ntry {\n const globals = getGlobal();\n // Firebase Lite detection\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((globals as any).firebase !== undefined) {\n logger.warn(`\n Warning: Firebase is already defined in the global scope. Please make sure\n Firebase library is only loaded once.\n `);\n\n // eslint-disable-next-line\n const sdkVersion = ((globals as any).firebase as FirebaseNamespace)\n .SDK_VERSION;\n if (sdkVersion && sdkVersion.indexOf('LITE') >= 0) {\n logger.warn(`\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n `);\n }\n }\n} catch {\n // ignore errors thrown by getGlobal\n}\n\nconst firebase = firebaseNamespace;\n\nregisterCoreComponents();\n\n// eslint-disable-next-line import/no-default-export\nexport default firebase;\n\nexport { _FirebaseNamespace, _FirebaseService } from './types';\nexport { FirebaseApp, FirebaseNamespace } from './public-types';\n"],"names":["_addComponent","Component","deleteApp","_DEFAULT_ENTRY_NAME","_addOrOverwriteComponent","ErrorFactory","modularAPIs","contains","deepExtend","createSubscribe","firebase","Logger","registerVersion","getGlobal","firebaseNamespace"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;AA2CH;;;;;;AAMG;MACU,eAAe,CAAA;IAG1B,WACW,CAAA,SAA0B,EAClB,QAA4B,EAAA;QADpC,IAAS,CAAA,SAAA,GAAT,SAAS,CAAiB;QAClB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAoB;;AAG7C,QAAAA,yBAAa,CACX,SAAS,EACT,IAAIC,mBAAS,CAAC,YAAY,EAAE,MAAM,IAAI,EAAA,QAAA,4BAAuB,CAC9D,CAAC;AAEF,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;KACtC;AAED,IAAA,IAAI,8BAA8B,GAAA;AAChC,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,8BAA8B,CAAC;KACtD;IAED,IAAI,8BAA8B,CAAC,GAAG,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,8BAA8B,GAAG,GAAG,CAAC;KACrD;AAED,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC5B;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,C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I,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;YACjD,MAAM,CAAC,IAAI,CAAC,CAAA;;;AAGT,QAAA,CAAA,CAAC,CAAC;SACN;KACF;AACH,CAAC;AAAC,MAAM;;AAER,CAAC;AAEK,MAAA,QAAQ,GAAGC,WAAkB;AAEnC,sBAAsB,EAAE;;;;"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/index.lite.js b/frontend-old/node_modules/@firebase/app-compat/dist/index.lite.js deleted file mode 100644 index cab66a2..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/index.lite.js +++ /dev/null @@ -1,338 +0,0 @@ -import * as modularAPIs from '@firebase/app'; -import { _addComponent, deleteApp, _DEFAULT_ENTRY_NAME, registerVersion } from '@firebase/app'; -import { Component } from '@firebase/component'; -import { ErrorFactory, contains, deepExtend } from '@firebase/util'; - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Global context object for a collection of services using - * a shared authentication state. - */ -class FirebaseAppLiteImpl { - constructor(_delegate, firebase) { - this._delegate = _delegate; - this.firebase = firebase; - // add itself to container - _addComponent(_delegate, new Component('app-compat', () => this, "PUBLIC" /* ComponentType.PUBLIC */)); - } - get automaticDataCollectionEnabled() { - return this._delegate.automaticDataCollectionEnabled; - } - set automaticDataCollectionEnabled(val) { - this.automaticDataCollectionEnabled = val; - } - get name() { - return this._delegate.name; - } - get options() { - return this._delegate.options; - } - delete() { - this.firebase.INTERNAL.removeApp(this.name); - return deleteApp(this._delegate); - } - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage is the only one that is leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name, instanceIdentifier = _DEFAULT_ENTRY_NAME) { - this._delegate.checkDestroyed(); - // getImmediate will always succeed because _getService is only called for registered components. - return this._delegate.container.getProvider(name).getImmediate({ - identifier: instanceIdentifier - }); - } -} - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const ERRORS = { - ["no-app" /* AppError.NO_APP */]: "No Firebase App '{$appName}' has been created - " + - 'call Firebase App.initializeApp()', - ["invalid-app-argument" /* AppError.INVALID_APP_ARGUMENT */]: 'firebase.{$appName}() takes either no argument or a ' + - 'Firebase App instance.' -}; -const ERROR_FACTORY = new ErrorFactory('app-compat', 'Firebase', ERRORS); - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * Because auth can't share code with other components, we attach the utility functions - * in an internal namespace to share code. - * This function return a firebase namespace object without - * any utility functions, so it can be shared between the regular firebaseNamespace and - * the lite version. - */ -function createFirebaseNamespaceCore(firebaseAppImpl) { - const apps = {}; - // // eslint-disable-next-line @typescript-eslint/no-explicit-any - // const components = new Map<string, Component<any>>(); - // A namespace is a plain JavaScript Object. - const namespace = { - // Hack to prevent Babel from modifying the object returned - // as the firebase namespace. - // @ts-ignore - __esModule: true, - initializeApp: initializeAppCompat, - // @ts-ignore - app, - registerVersion: modularAPIs.registerVersion, - setLogLevel: modularAPIs.setLogLevel, - onLog: modularAPIs.onLog, - // @ts-ignore - apps: null, - SDK_VERSION: modularAPIs.SDK_VERSION, - INTERNAL: { - registerComponent: registerComponentCompat, - removeApp, - useAsService, - modularAPIs - } - }; - // Inject a circular default export to allow Babel users who were previously - // using: - // - // import firebase from 'firebase'; - // which becomes: var firebase = require('firebase').default; - // - // instead of - // - // import * as firebase from 'firebase'; - // which becomes: var firebase = require('firebase'); - // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace['default'] = namespace; - // firebase.apps is a read-only getter. - Object.defineProperty(namespace, 'apps', { - get: getApps - }); - /** - * Called by App.delete() - but before any services associated with the App - * are deleted. - */ - function removeApp(name) { - delete apps[name]; - } - /** - * Get the App object for a given name (or DEFAULT). - */ - function app(name) { - name = name || modularAPIs._DEFAULT_ENTRY_NAME; - if (!contains(apps, name)) { - throw ERROR_FACTORY.create("no-app" /* AppError.NO_APP */, { appName: name }); - } - return apps[name]; - } - // @ts-ignore - app['App'] = firebaseAppImpl; - /** - * Create a new App instance (name must be unique). - * - * This function is idempotent. It can be called more than once and return the same instance using the same options and config. - */ - function initializeAppCompat(options, rawConfig = {}) { - const app = modularAPIs.initializeApp(options, rawConfig); - if (contains(apps, app.name)) { - return apps[app.name]; - } - const appCompat = new firebaseAppImpl(app, namespace); - apps[app.name] = appCompat; - return appCompat; - } - /* - * Return an array of all the non-deleted FirebaseApps. - */ - function getApps() { - // Make a copy so caller cannot mutate the apps list. - return Object.keys(apps).map(name => apps[name]); - } - function registerComponentCompat(component) { - const componentName = component.name; - const componentNameWithoutCompat = componentName.replace('-compat', ''); - if (modularAPIs._registerComponent(component) && - component.type === "PUBLIC" /* ComponentType.PUBLIC */) { - // create service namespace for public components - // The Service namespace is an accessor function ... - const serviceNamespace = (appArg = app()) => { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - if (typeof appArg[componentNameWithoutCompat] !== 'function') { - // Invalid argument. - // This happens in the following case: firebase.storage('gs:/') - throw ERROR_FACTORY.create("invalid-app-argument" /* AppError.INVALID_APP_ARGUMENT */, { - appName: componentName - }); - } - // Forward service instance lookup to the FirebaseApp. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - return appArg[componentNameWithoutCompat](); - }; - // ... and a container for service-level properties. - if (component.serviceProps !== undefined) { - deepExtend(serviceNamespace, component.serviceProps); - } - // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace[componentNameWithoutCompat] = serviceNamespace; - // Patch the FirebaseAppImpl prototype - // eslint-disable-next-line @typescript-eslint/no-explicit-any - firebaseAppImpl.prototype[componentNameWithoutCompat] = - // TODO: The eslint disable can be removed and the 'ignoreRestArgs' - // option added to the no-explicit-any rule when ESlint releases it. - // eslint-disable-next-line @typescript-eslint/no-explicit-any - function (...args) { - const serviceFxn = this._getService.bind(this, componentName); - return serviceFxn.apply(this, component.multipleInstances ? args : []); - }; - } - return component.type === "PUBLIC" /* ComponentType.PUBLIC */ - ? // eslint-disable-next-line @typescript-eslint/no-explicit-any - namespace[componentNameWithoutCompat] - : null; - } - // Map the requested service to a registered service name - // (used to map auth to serverAuth service when needed). - function useAsService(app, name) { - if (name === 'serverAuth') { - return null; - } - const useService = name; - return useService; - } - return namespace; -} - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function createFirebaseNamespaceLite() { - const namespace = createFirebaseNamespaceCore(FirebaseAppLiteImpl); - namespace.SDK_VERSION = `${namespace.SDK_VERSION}_LITE`; - const registerComponent = namespace.INTERNAL.registerComponent; - namespace.INTERNAL.registerComponent = registerComponentForLite; - /** - * This is a special implementation, so it only works with performance. - * only allow performance SDK to register. - */ - function registerComponentForLite( - // eslint-disable-next-line @typescript-eslint/no-explicit-any - component) { - // only allow performance to register with firebase lite - if (component.type === "PUBLIC" /* ComponentType.PUBLIC */ && - !component.name.includes('performance') && - !component.name.includes('installations')) { - throw Error(`${name} cannot register with the standalone perf instance`); - } - return registerComponent(component); - } - return namespace; -} - -const name$1 = "@firebase/app-compat"; -const version = "0.5.5"; - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function registerCoreComponents(variant) { - // Register `app` package. - registerVersion(name$1, version, variant); -} - -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -const firebase = createFirebaseNamespaceLite(); -registerCoreComponents('lite'); - -export { firebase as default }; -//# sourceMappingURL=index.lite.js.map diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/index.lite.js.map b/frontend-old/node_modules/@firebase/app-compat/dist/index.lite.js.map deleted file mode 100644 index 16d85b9..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/index.lite.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.lite.js","sources":["../src/lite/firebaseAppLite.ts","../src/errors.ts","../src/firebaseNamespaceCore.ts","../src/lite/firebaseNamespaceLite.ts","../src/registerCoreComponents.ts","../src/index.lite.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseApp, FirebaseOptions } from '../public-types';\nimport { _FirebaseNamespace, _FirebaseService } from '../types';\nimport {\n deleteApp,\n _addComponent,\n _DEFAULT_ENTRY_NAME,\n _FirebaseAppInternal as FirebaseAppExp\n} from '@firebase/app';\nimport { Component, ComponentType, Name } from '@firebase/component';\nimport { Compat } from '@firebase/util';\n\n/**\n * Global context object for a collection of services using\n * a shared authentication state.\n */\nexport class FirebaseAppLiteImpl\n implements FirebaseApp, Compat<FirebaseAppExp>\n{\n constructor(\n readonly _delegate: FirebaseAppExp,\n private readonly firebase: _FirebaseNamespace\n ) {\n // add itself to container\n _addComponent(\n _delegate,\n new Component('app-compat', () => this, ComponentType.PUBLIC)\n );\n }\n\n get automaticDataCollectionEnabled(): boolean {\n return this._delegate.automaticDataCollectionEnabled;\n }\n\n set automaticDataCollectionEnabled(val) {\n this.automaticDataCollectionEnabled = val;\n }\n\n get name(): string {\n return this._delegate.name;\n }\n\n get options(): FirebaseOptions {\n return this._delegate.options;\n }\n\n delete(): Promise<void> {\n this.firebase.INTERNAL.removeApp(this.name);\n return deleteApp(this._delegate);\n }\n\n /**\n * Return a service instance associated with this app (creating it\n * on demand), identified by the passed instanceIdentifier.\n *\n * NOTE: Currently storage is the only one that is leveraging this\n * functionality. They invoke it by calling:\n *\n * ```javascript\n * firebase.app().storage('STORAGE BUCKET ID')\n * ```\n *\n * The service name is passed to this already\n * @internal\n */\n _getService(\n name: string,\n instanceIdentifier: string = _DEFAULT_ENTRY_NAME\n ): _FirebaseService {\n this._delegate.checkDestroyed();\n\n // getImmediate will always succeed because _getService is only called for registered components.\n return this._delegate.container.getProvider(name as Name).getImmediate({\n identifier: instanceIdentifier\n }) as unknown as _FirebaseService;\n }\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { ErrorFactory, ErrorMap } from '@firebase/util';\n\nexport const enum AppError {\n NO_APP = 'no-app',\n INVALID_APP_ARGUMENT = 'invalid-app-argument'\n}\n\nconst ERRORS: ErrorMap<AppError> = {\n [AppError.NO_APP]:\n \"No Firebase App '{$appName}' has been created - \" +\n 'call Firebase App.initializeApp()',\n [AppError.INVALID_APP_ARGUMENT]:\n 'firebase.{$appName}() takes either no argument or a ' +\n 'Firebase App instance.'\n};\n\ntype ErrorParams = { [key in AppError]: { appName: string } };\n\nexport const ERROR_FACTORY = new ErrorFactory<AppError, ErrorParams>(\n 'app-compat',\n 'Firebase',\n ERRORS\n);\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseApp, FirebaseOptions } from './public-types';\nimport {\n _FirebaseNamespace,\n _FirebaseService,\n FirebaseServiceNamespace\n} from './types';\nimport * as modularAPIs from '@firebase/app';\nimport { _FirebaseAppInternal as _FirebaseAppExp } from '@firebase/app';\nimport { Component, ComponentType, Name } from '@firebase/component';\n\nimport { deepExtend, contains } from '@firebase/util';\nimport { FirebaseAppImpl } from './firebaseApp';\nimport { ERROR_FACTORY, AppError } from './errors';\nimport { FirebaseAppLiteImpl } from './lite/firebaseAppLite';\n\n/**\n * Because auth can't share code with other components, we attach the utility functions\n * in an internal namespace to share code.\n * This function return a firebase namespace object without\n * any utility functions, so it can be shared between the regular firebaseNamespace and\n * the lite version.\n */\nexport function createFirebaseNamespaceCore(\n firebaseAppImpl: typeof FirebaseAppImpl | typeof FirebaseAppLiteImpl\n): _FirebaseNamespace {\n const apps: { [name: string]: FirebaseApp } = {};\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const components = new Map<string, Component<any>>();\n\n // A namespace is a plain JavaScript Object.\n const namespace: _FirebaseNamespace = {\n // Hack to prevent Babel from modifying the object returned\n // as the firebase namespace.\n // @ts-ignore\n __esModule: true,\n initializeApp: initializeAppCompat,\n // @ts-ignore\n app,\n registerVersion: modularAPIs.registerVersion,\n setLogLevel: modularAPIs.setLogLevel,\n onLog: modularAPIs.onLog,\n // @ts-ignore\n apps: null,\n SDK_VERSION: modularAPIs.SDK_VERSION,\n INTERNAL: {\n registerComponent: registerComponentCompat,\n removeApp,\n useAsService,\n modularAPIs\n }\n };\n\n // Inject a circular default export to allow Babel users who were previously\n // using:\n //\n // import firebase from 'firebase';\n // which becomes: var firebase = require('firebase').default;\n //\n // instead of\n //\n // import * as firebase from 'firebase';\n // which becomes: var firebase = require('firebase');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)['default'] = namespace;\n\n // firebase.apps is a read-only getter.\n Object.defineProperty(namespace, 'apps', {\n get: getApps\n });\n\n /**\n * Called by App.delete() - but before any services associated with the App\n * are deleted.\n */\n function removeApp(name: string): void {\n delete apps[name];\n }\n\n /**\n * Get the App object for a given name (or DEFAULT).\n */\n function app(name?: string): FirebaseApp {\n name = name || modularAPIs._DEFAULT_ENTRY_NAME;\n if (!contains(apps, name)) {\n throw ERROR_FACTORY.create(AppError.NO_APP, { appName: name });\n }\n return apps[name];\n }\n\n // @ts-ignore\n app['App'] = firebaseAppImpl;\n\n /**\n * Create a new App instance (name must be unique).\n *\n * This function is idempotent. It can be called more than once and return the same instance using the same options and config.\n */\n function initializeAppCompat(\n options: FirebaseOptions,\n rawConfig = {}\n ): FirebaseApp {\n const app = modularAPIs.initializeApp(\n options,\n rawConfig\n ) as _FirebaseAppExp;\n\n if (contains(apps, app.name)) {\n return apps[app.name];\n }\n\n const appCompat = new firebaseAppImpl(app, namespace);\n apps[app.name] = appCompat;\n return appCompat;\n }\n\n /*\n * Return an array of all the non-deleted FirebaseApps.\n */\n function getApps(): FirebaseApp[] {\n // Make a copy so caller cannot mutate the apps list.\n return Object.keys(apps).map(name => apps[name]);\n }\n\n function registerComponentCompat<T extends Name>(\n component: Component<T>\n ): FirebaseServiceNamespace<_FirebaseService> | null {\n const componentName = component.name;\n const componentNameWithoutCompat = componentName.replace('-compat', '');\n if (\n modularAPIs._registerComponent(component) &&\n component.type === ComponentType.PUBLIC\n ) {\n // create service namespace for public components\n // The Service namespace is an accessor function ...\n const serviceNamespace = (\n appArg: FirebaseApp = app()\n ): _FirebaseService => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if (typeof (appArg as any)[componentNameWithoutCompat] !== 'function') {\n // Invalid argument.\n // This happens in the following case: firebase.storage('gs:/')\n throw ERROR_FACTORY.create(AppError.INVALID_APP_ARGUMENT, {\n appName: componentName\n });\n }\n\n // Forward service instance lookup to the FirebaseApp.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (appArg as any)[componentNameWithoutCompat]();\n };\n\n // ... and a container for service-level properties.\n if (component.serviceProps !== undefined) {\n deepExtend(serviceNamespace, component.serviceProps);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)[componentNameWithoutCompat] = serviceNamespace;\n\n // Patch the FirebaseAppImpl prototype\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (firebaseAppImpl.prototype as any)[componentNameWithoutCompat] =\n // TODO: The eslint disable can be removed and the 'ignoreRestArgs'\n // option added to the no-explicit-any rule when ESlint releases it.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n function (...args: any) {\n const serviceFxn = this._getService.bind(this, componentName);\n return serviceFxn.apply(\n this,\n component.multipleInstances ? args : []\n );\n };\n }\n\n return component.type === ComponentType.PUBLIC\n ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (namespace as any)[componentNameWithoutCompat]\n : null;\n }\n\n // Map the requested service to a registered service name\n // (used to map auth to serverAuth service when needed).\n function useAsService(app: FirebaseApp, name: string): string | null {\n if (name === 'serverAuth') {\n return null;\n }\n\n const useService = name;\n\n return useService;\n }\n\n return namespace;\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseNamespace } from '../public-types';\nimport { FirebaseServiceNamespace, _FirebaseService } from '../types';\nimport { FirebaseAppLiteImpl } from './firebaseAppLite';\nimport { createFirebaseNamespaceCore } from '../firebaseNamespaceCore';\nimport { Component, ComponentType } from '@firebase/component';\n\nexport function createFirebaseNamespaceLite(): FirebaseNamespace {\n const namespace = createFirebaseNamespaceCore(FirebaseAppLiteImpl);\n\n namespace.SDK_VERSION = `${namespace.SDK_VERSION}_LITE`;\n\n const registerComponent = namespace.INTERNAL.registerComponent;\n namespace.INTERNAL.registerComponent = registerComponentForLite;\n\n /**\n * This is a special implementation, so it only works with performance.\n * only allow performance SDK to register.\n */\n function registerComponentForLite(\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component: Component<any>\n ): FirebaseServiceNamespace<_FirebaseService> | null {\n // only allow performance to register with firebase lite\n if (\n component.type === ComponentType.PUBLIC &&\n !component.name.includes('performance') &&\n !component.name.includes('installations')\n ) {\n throw Error(`${name} cannot register with the standalone perf instance`);\n }\n\n return registerComponent(component);\n }\n\n return namespace;\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { registerVersion } from '@firebase/app';\n\nimport { name, version } from '../package.json';\n\nexport function registerCoreComponents(variant?: string): void {\n // Register `app` package.\n registerVersion(name, version, variant);\n}\n","/**\n * @license\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createFirebaseNamespaceLite } from './lite/firebaseNamespaceLite';\nimport { registerCoreComponents } from './registerCoreComponents';\n\nconst firebase = createFirebaseNamespaceLite();\n\nregisterCoreComponents('lite');\n\n// eslint-disable-next-line import/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AG,CAAA,EAAG,SAAS,CAAC,WAAW,OAAO,CAAC;AAExD,IAAA,MAAM,iBAAiB,GAAG,SAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC;AAC/D,IAAA,SAAS,CAAC,QAAQ,CAAC,iBAAiB,GAAG,wBAAwB,CAAC;AAEhE;;;AAGG;AACH,IAAA,SAAS,wBAAwB;;IAE/B,SAAyB,EAAA;;QAGzB,IACE,SAAS,CAAC,IAAI,KAAyB,QAAA;AACvC,YAAA,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC;YACvC,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,EACzC;AACA,YAAA,MAAM,KAAK,CAAC,CAAA,EAAG,IAAI,CAAA,kDAAA,CAAoD,CAAC,CAAC;SAC1E;AAED,QAAA,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;KACrC;AAED,IAAA,OAAO,SAAS,CAAC;AACnB;;;;;ACpDA;;;;;;;;;;;;;;;AAeG;AAMG,SAAU,sBAAsB,CAAC,OAAgB,EAAA;;AAErD,IAAA,eAAe,CAACA,MAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AAC1C;;ACxBA;;;;;;;;;;;;;;;AAeG;AAKH,MAAM,QAAQ,GAAG,2BAA2B,GAAG;AAE/C,sBAAsB,CAAC,MAAM,CAAC;;;;"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/errors.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/errors.d.ts deleted file mode 100644 index bb66c09..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/errors.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { ErrorFactory } from '@firebase/util'; -export declare const enum AppError { - NO_APP = "no-app", - INVALID_APP_ARGUMENT = "invalid-app-argument" -} -type ErrorParams = { - [key in AppError]: { - appName: string; - }; -}; -export declare const ERROR_FACTORY: ErrorFactory<AppError, ErrorParams>; -export {}; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseApp.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseApp.d.ts deleted file mode 100644 index f00b305..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseApp.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseOptions } from './public-types'; -import { Component } from '@firebase/component'; -import { _FirebaseAppInternal as _FirebaseAppExp } from '@firebase/app'; -import { _FirebaseService, _FirebaseNamespace } from './types'; -import { Compat } from '@firebase/util'; -export interface _FirebaseApp { - /** - * The (read-only) name (identifier) for this App. '[DEFAULT]' is the default - * App. - */ - name: string; - /** - * The (read-only) configuration options from the app initialization. - */ - options: FirebaseOptions; - /** - * The settable config flag for GDPR opt-in/opt-out - */ - automaticDataCollectionEnabled: boolean; - /** - * Make the given App unusable and free resources. - */ - delete(): Promise<void>; -} -/** - * Global context object for a collection of services using - * a shared authentication state. - * - * marked as internal because it references internal types exported from @firebase/app - * @internal - */ -export declare class FirebaseAppImpl implements Compat<_FirebaseAppExp>, _FirebaseApp { - readonly _delegate: _FirebaseAppExp; - private readonly firebase; - private container; - constructor(_delegate: _FirebaseAppExp, firebase: _FirebaseNamespace); - get automaticDataCollectionEnabled(): boolean; - set automaticDataCollectionEnabled(val: boolean); - get name(): string; - get options(): FirebaseOptions; - delete(): Promise<void>; - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage and functions are the only ones that are leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name: string, instanceIdentifier?: string): _FirebaseService; - /** - * Remove a service instance from the cache, so we will create a new instance for this service - * when people try to get it again. - * - * NOTE: currently only firestore uses this functionality to support firestore shutdown. - * - * @param name The service name - * @param instanceIdentifier instance identifier in case multiple instances are allowed - * @internal - */ - _removeServiceInstance(name: string, instanceIdentifier?: string): void; - /** - * @param component the component being added to this app's container - * @internal - */ - _addComponent(component: Component): void; - _addOrOverwriteComponent(component: Component): void; - toJSON(): object; -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseNamespace.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseNamespace.d.ts deleted file mode 100644 index 78bb27b..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseNamespace.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseNamespace } from './public-types'; -/** - * Return a firebase namespace object. - * - * In production, this will be called exactly once and the result - * assigned to the 'firebase' global. It may be called multiple times - * in unit tests. - */ -export declare function createFirebaseNamespace(): FirebaseNamespace; -export declare const firebase: FirebaseNamespace; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseNamespaceCore.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseNamespaceCore.d.ts deleted file mode 100644 index c3fe4a7..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/firebaseNamespaceCore.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { _FirebaseNamespace } from './types'; -import { FirebaseAppImpl } from './firebaseApp'; -import { FirebaseAppLiteImpl } from './lite/firebaseAppLite'; -/** - * Because auth can't share code with other components, we attach the utility functions - * in an internal namespace to share code. - * This function return a firebase namespace object without - * any utility functions, so it can be shared between the regular firebaseNamespace and - * the lite version. - */ -export declare function createFirebaseNamespaceCore(firebaseAppImpl: typeof FirebaseAppImpl | typeof FirebaseAppLiteImpl): _FirebaseNamespace; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/index.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/index.d.ts deleted file mode 100644 index b59db2b..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/index.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseNamespace } from './public-types'; -declare global { - interface Window { - firebase: FirebaseNamespace; - } -} -declare const firebase: FirebaseNamespace; -export default firebase; -export { _FirebaseNamespace, _FirebaseService } from './types'; -export { FirebaseApp, FirebaseNamespace } from './public-types'; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/index.lite.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/index.lite.d.ts deleted file mode 100644 index 4823bc1..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/index.lite.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -declare const firebase: import("./public-types").FirebaseNamespace; -export default firebase; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/lite/firebaseAppLite.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/lite/firebaseAppLite.d.ts deleted file mode 100644 index 826e4a1..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/lite/firebaseAppLite.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseApp, FirebaseOptions } from '../public-types'; -import { _FirebaseNamespace, _FirebaseService } from '../types'; -import { _FirebaseAppInternal as FirebaseAppExp } from '@firebase/app'; -import { Compat } from '@firebase/util'; -/** - * Global context object for a collection of services using - * a shared authentication state. - */ -export declare class FirebaseAppLiteImpl implements FirebaseApp, Compat<FirebaseAppExp> { - readonly _delegate: FirebaseAppExp; - private readonly firebase; - constructor(_delegate: FirebaseAppExp, firebase: _FirebaseNamespace); - get automaticDataCollectionEnabled(): boolean; - set automaticDataCollectionEnabled(val: boolean); - get name(): string; - get options(): FirebaseOptions; - delete(): Promise<void>; - /** - * Return a service instance associated with this app (creating it - * on demand), identified by the passed instanceIdentifier. - * - * NOTE: Currently storage is the only one that is leveraging this - * functionality. They invoke it by calling: - * - * ```javascript - * firebase.app().storage('STORAGE BUCKET ID') - * ``` - * - * The service name is passed to this already - * @internal - */ - _getService(name: string, instanceIdentifier?: string): _FirebaseService; -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/lite/firebaseNamespaceLite.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/lite/firebaseNamespaceLite.d.ts deleted file mode 100644 index 1a1eed0..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/lite/firebaseNamespaceLite.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { FirebaseNamespace } from '../public-types'; -export declare function createFirebaseNamespaceLite(): FirebaseNamespace; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/logger.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/logger.d.ts deleted file mode 100644 index 4a4edbd..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/logger.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { Logger } from '@firebase/logger'; -export declare const logger: Logger; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/public-types.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/public-types.d.ts deleted file mode 100644 index 0bb8a86..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/public-types.d.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { LogCallback, LogLevelString, LogOptions } from '@firebase/logger'; -import { _FirebaseApp } from './firebaseApp'; -export interface FirebaseOptions { - apiKey?: string; - authDomain?: string; - databaseURL?: string; - projectId?: string; - storageBucket?: string; - messagingSenderId?: string; - appId?: string; - measurementId?: string; -} -export interface FirebaseAppConfig { - name?: string; - automaticDataCollectionEnabled?: boolean; -} -interface FirebaseAppConstructor { - new (): FirebaseApp; -} -/** - * This interface will be enhanced by other products by adding e.g. firestore(), messaging() methods. - * As a result, FirebaseAppImpl can't directly implement it, otherwise there will be typings errors: - * - * For example, "Class 'FirebaseAppImpl' incorrectly implements interface 'FirebaseApp'. - * Property 'installations' is missing in type 'FirebaseAppImpl' but required in type 'FirebaseApp'" - * - * To workaround this issue, we defined a _FirebaseApp interface which is implemented by FirebaseAppImpl - * and let FirebaseApp extends it. - */ -export interface FirebaseApp extends _FirebaseApp { -} -export interface FirebaseNamespace { - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param config The optional config for your firebase app - */ - initializeApp(options: FirebaseOptions, config?: FirebaseAppConfig): FirebaseApp; - /** - * Create (and initialize) a FirebaseApp. - * - * @param options Options to configure the services used in the App. - * @param name The optional name of the app to initialize ('[DEFAULT]' if - * omitted) - */ - initializeApp(options: FirebaseOptions, name?: string): FirebaseApp; - app: { - /** - * Retrieve an instance of a FirebaseApp. - * - * Usage: firebase.app() - * - * @param name The optional name of the app to return ('[DEFAULT]' if omitted) - */ - (name?: string): FirebaseApp; - /** - * For testing FirebaseApp instances: - * app() instanceof firebase.app.App - * - * DO NOT call this constuctor directly (use firebase.app() instead). - */ - App: FirebaseAppConstructor; - }; - /** - * A (read-only) array of all the initialized Apps. - */ - apps: FirebaseApp[]; - /** - * Registers a library's name and version for platform logging purposes. - * @param library Name of 1p or 3p library (e.g. firestore, angularfire) - * @param version Current version of that library. - */ - registerVersion(library: string, version: string, variant?: string): void; - setLogLevel(logLevel: LogLevelString): void; - onLog(logCallback: LogCallback, options?: LogOptions): void; - SDK_VERSION: string; -} -declare module '@firebase/component' { - interface NameServiceMapping { - 'app-compat': FirebaseApp; - } -} -export {}; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/registerCoreComponents.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/registerCoreComponents.d.ts deleted file mode 100644 index 45612e1..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/registerCoreComponents.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export declare function registerCoreComponents(variant?: string): void; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/tsdoc-metadata.json b/frontend-old/node_modules/@firebase/app-compat/dist/src/tsdoc-metadata.json deleted file mode 100644 index 6af1f6a..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/tsdoc-metadata.json +++ /dev/null @@ -1,11 +0,0 @@ -// This file is read by tools that parse documentation comments conforming to the TSDoc standard. -// It should be published with your NPM package. It should not be tracked by Git. -{ - "tsdocVersion": "0.12", - "toolPackages": [ - { - "packageName": "@microsoft/api-extractor", - "packageVersion": "0.1.2" - } - ] -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/src/types.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/src/types.d.ts deleted file mode 100644 index c6ba71c..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/src/types.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/** - * THIS FILE IS FOR INTERNAL USAGE ONLY, IF YOU ARE NOT DEVELOPING THE FIREBASE - * SDKs, PLEASE DO NOT REFERENCE THIS FILE AS IT MAY CHANGE WITHOUT WARNING - */ -import { FirebaseApp, FirebaseNamespace } from './public-types'; -import { Compat } from '@firebase/util'; -import { Component, ComponentContainer, Name } from '@firebase/component'; -export interface FirebaseServiceInternals { - /** - * Delete the service and free it's resources - called from - * app.delete(). - */ - delete(): Promise<void>; -} -export interface _FirebaseService extends Compat<unknown> { - app: FirebaseApp; - INTERNAL?: FirebaseServiceInternals; -} -/** - * All ServiceNamespaces extend from FirebaseServiceNamespace - */ -export interface FirebaseServiceNamespace<T extends _FirebaseService> { - (app?: FirebaseApp): T; -} -export interface _FirebaseApp extends FirebaseApp { - container: ComponentContainer; - _addComponent<T extends Name>(component: Component<T>): void; - _addOrOverwriteComponent<T extends Name>(component: Component<T>): void; - _removeServiceInstance(name: string, instanceIdentifier?: string): void; -} -export interface _FirebaseNamespace extends FirebaseNamespace { - INTERNAL: { - /** - * Internal API to register a Firebase Service into the firebase namespace. - * - * Each service will create a child namespace (firebase.<name>) which acts as - * both a namespace for service specific properties, and also as a service - * accessor function (firebase.<name>() or firebase.<name>(app)). - * - * @param name The Firebase Service being registered. - * @param createService Factory function to create a service instance. - * @param serviceProperties Properties to copy to the service's namespace. - * @param appHook All appHooks called before initializeApp returns to caller. - * @param allowMultipleInstances Whether the registered service supports - * multiple instances per app. If not specified, the default is false. - */ - registerComponent<T extends Name>(component: Component<T>): FirebaseServiceNamespace<_FirebaseService> | null; - /** - * Internal API to remove an app from the list of registered apps. - */ - removeApp(name: string): void; - useAsService(app: FirebaseApp, serviceName: string): string | null; - [index: string]: unknown; - }; -} diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/test/firebaseAppCompat.test.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/test/firebaseAppCompat.test.d.ts deleted file mode 100644 index 9192607..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/test/firebaseAppCompat.test.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import './setup'; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/test/setup.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/test/setup.d.ts deleted file mode 100644 index 1c93d90..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/test/setup.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -export {}; diff --git a/frontend-old/node_modules/@firebase/app-compat/dist/test/util.d.ts b/frontend-old/node_modules/@firebase/app-compat/dist/test/util.d.ts deleted file mode 100644 index 46cad0a..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/dist/test/util.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import { _FirebaseService } from '../src/types'; -import { FirebaseApp } from '../src/public-types'; -import { ComponentType, Component } from '@firebase/component'; -export declare class TestService implements _FirebaseService { - private app_; - instanceIdentifier?: string | undefined; - readonly _delegate: {}; - constructor(app_: FirebaseApp, instanceIdentifier?: string | undefined); - get app(): FirebaseApp; - delete(): Promise<void>; -} -export declare function createTestComponent(name: string, multiInstances?: boolean, type?: ComponentType): Component; diff --git a/frontend-old/node_modules/@firebase/app-compat/package.json b/frontend-old/node_modules/@firebase/app-compat/package.json deleted file mode 100644 index 362ba5d..0000000 --- a/frontend-old/node_modules/@firebase/app-compat/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "@firebase/app-compat", - "version": "0.5.5", - "description": "The primary entrypoint to the Firebase JS SDK", - "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", - "main": "dist/index.cjs.js", - "browser": "dist/esm/index.esm.js", - "module": "dist/esm/index.esm.js", - "lite": "dist/index.lite.js", - "exports": { - ".": { - "types": "./dist/app-compat-public.d.ts", - "require": "./dist/index.cjs.js", - "lite": "./dist/index.lite.js", - "default": "./dist/esm/index.esm.js" - }, - "./package.json": "./package.json" - }, - "files": [ - "dist" - ], - "scripts": { - "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", - "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", - "build": "rollup -c && yarn api-report", - "build:deps": "lerna run --scope @firebase/app-compat --include-dependencies build", - "dev": "rollup -c -w", - "test": "run-p --npm-path npm lint test:all", - "test:all": "run-p --npm-path npm test:browser test:node", - "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all", - "test:browser": "karma start", - "test:browser:debug": "karma start --browsers Chrome --auto-watch", - "test:node": "TS_NODE_FILES=true TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* src/**/*.test.ts --config ../../config/mocharc.node.js", - "trusted-type-check": "tsec -p tsconfig.json --noEmit", - "api-report": "api-extractor run --local --verbose", - "typings:public": "node ../../scripts/build/use_typings.js ./dist/app-compat-public.d.ts" - }, - "license": "Apache-2.0", - "dependencies": { - "@firebase/app": "0.14.5", - "@firebase/util": "1.13.0", - "@firebase/logger": "0.5.0", - "@firebase/component": "0.7.0", - "tslib": "^2.1.0" - }, - "devDependencies": { - "rollup": "2.79.2", - "@rollup/plugin-json": "6.1.0", - "rollup-plugin-replace": "2.2.0", - "rollup-plugin-typescript2": "0.36.0", - "typescript": "5.5.4" - }, - "repository": { - "directory": "packages/app-compat", - "type": "git", - "url": "git+https://github.com/firebase/firebase-js-sdk.git" - }, - "bugs": { - "url": "https://github.com/firebase/firebase-js-sdk/issues" - }, - "typings": "./dist/app-compat-public.d.ts", - "nyc": { - "extension": [ - ".ts" - ], - "reportDir": "./coverage/node" - }, - "engines": { - "node": ">=20.0.0" - } -} |
