TimeTrex/interface/html5/dist/firebase-service-worker.bundle.js

1 line
3.0 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["firebase-service-worker"],{9995:()=>{eval('importScripts( \'../dist/firebase-app.js\' );\nimportScripts( \'../dist/firebase-messaging.js\' );\n\nvar firebaseConfig = {\n\tapiKey: "AIzaSyB9tM0QYb1D3JF07RqpeG-14ADGhezGRws",\n\tauthDomain: "timetrex-app.firebaseapp.com",\n\tdatabaseURL: "https://timetrex-app.firebaseio.com",\n\tprojectId: "timetrex-app",\n\tstorageBucket: "timetrex-app.appspot.com",\n\tmessagingSenderId: "462133047262",\n\tappId: "1:462133047262:web:1705b6bfca364bcd99b74f"\n};\n\n// Initialize Firebase\n\nfirebase.initializeApp( firebaseConfig );\n\n// Retrieve an instance of Firebase Messaging so that it can handle background messages.\nconst messaging = firebase.messaging();\n\nmessaging.onBackgroundMessage( function( payload ) {\n\t//Find an open client to send a background notification to.\n\tpayload.messageType = \'background\';\n\tself.clients.matchAll( { includeUncontrolled: true } ).then( function( clients ) {\n\t\tclients.forEach( function( client ) {\n\t\t\tclient.postMessage( payload );\n\t\t} );\n\t} );\n} );\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOTk5NS5qcyIsIm1hcHBpbmdzIjoiQUFBQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLDBCQUEwQiw0QkFBNEI7QUFDdEQ7QUFDQTtBQUNBLElBQUk7QUFDSixHQUFHO0FBQ0gsRUFBRSIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL2ludGVyZmFjZS9odG1sNS9zZXJ2aWNlcy9maXJlYmFzZS1tZXNzYWd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