/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@firebase/installations-compat@0.2.21/dist/esm/index.esm.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
import firebase from"@firebase/app-compat";import{Component}from"@firebase/component";import{getId,getToken,deleteInstallations,onIdChange}from"@firebase/installations";const name="@firebase/installations-compat",version="0.2.21";
/**
 * @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.
 */
class InstallationsCompat{constructor(e,t){this.app=e,this._delegate=t}getId(){return getId(this._delegate)}getToken(e){return getToken(this._delegate,e)}delete(){return deleteInstallations(this._delegate)}onIdChange(e){return onIdChange(this._delegate,e)}}
/**
 * @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.
 */function registerInstallations(e){e.INTERNAL.registerComponent(new Component("installations-compat",(e=>{const t=e.getProvider("app-compat").getImmediate(),n=e.getProvider("installations").getImmediate();return new InstallationsCompat(t,n)}),"PUBLIC")),e.registerVersion(name,version)}registerInstallations(firebase);
//# sourceMappingURL=/sm/c601bfd25edff5f57a9c13249f143745356508e624ecac5adb36c5e75ea55bc6.map