'use strict'; const MANIFEST = 'flutter-app-manifest'; const TEMP = 'flutter-temp-cache'; const CACHE_NAME = 'flutter-app-cache'; const RESOURCES = {"main.dart.js_199.part.js": "cd7cdbd82e4d16f4a702d99b8954da62", "main.dart.js_266.part.js": "2ec5d45a63bf031646e0eb579081d20a", "main.dart.js_270.part.js": "bfce4c4e11ad5d1119532268e31ee174", "main.dart.js_237.part.js": "76126ba8227151d7e771c627c71d0275", "main.dart.js_198.part.js": "e8d2ad7569bfa3c017561d943d0c65f6", "main.dart.js_268.part.js": "6f27ca4e1ec0aca5dfcd0d8f78c827a5", "main.dart.js_257.part.js": "0eca3c70cac2b1feee501aa3bfaf1298", "main.dart.js_238.part.js": "b2b0c9c49abb0c2491b1f5542ccf4608", "main.dart.js_241.part.js": "cf2172013f9049a9d765ed9c66b2781e", "main.dart.js_287.part.js": "5a52836548c5b1ac8e020b5e1e4cae8a", "main.dart.js_254.part.js": "d369c0823ea13405fe6d915e90896807", "main.dart.js_288.part.js": "dd340e7294c7e9bbb11bd5e560898eed", "main.dart.js_208.part.js": "7d0eedb2ac5c6b10dac5cf6bb86afe94", "flutter.js": "4b2350e14c6650ba82871f60906437ea", "main.dart.js_246.part.js": "03e82aa5bc80e9ba580e5d8e39b9b7eb", "main.dart.js_284.part.js": "885df1fe5d831f2b6bbc754a94dbd964", "main.dart.js_187.part.js": "8c5f29a6612441cd8a0abfbae86d5264", "main.dart.js_214.part.js": "522ed150bf70274a6e02f450973de383", "splash/img/dark-2x.png": "9371a9e18df59f2bbe9b32e04c3fc5d4", "splash/img/light-4x.png": "e0346148103c17a87682a35525499afe", "splash/img/light-3x.png": "da261be18bbda768fa1462fd8a8cef46", "splash/img/dark-3x.png": "da261be18bbda768fa1462fd8a8cef46", "splash/img/light-1x.png": "db5b72b7f4b38640c974f20d9c90f464", "splash/img/dark-4x.png": "e0346148103c17a87682a35525499afe", "splash/img/dark-1x.png": "db5b72b7f4b38640c974f20d9c90f464", "splash/img/light-2x.png": "9371a9e18df59f2bbe9b32e04c3fc5d4", "splash/style.css": "740c493f9c5dfc859ca07663691b24fb", "main.dart.js_233.part.js": "3c4135e679ed8da977a62a2f1b0a35d0", "main.dart.js_267.part.js": "de59be34b70e50bffbefe9115befa903", "main.dart.js_248.part.js": "0eaf83d31555e16cbec62c2d36b29baa", "main.dart.js_262.part.js": "a70f9f7b5ca0ebeb9fa98ae70423db42", "main.dart.js_222.part.js": "28b283dd972f8b45b970db9ee660ca11", "main.dart.js_255.part.js": "2bfe2e7f76e3f89142f09d4894bdedd0", "main.dart.js_247.part.js": "caeb36ad709b46d4ddbe337c766c40fc", "main.dart.js_286.part.js": "8c3f9e8a6a5797bd19687ffaf0c7d2a7", "main.dart.js_275.part.js": "892d133cafbf4b57a8eca03c4cfc8a51", "main.dart.js_282.part.js": "eed87d3592fcbda644c95e18aae063a6", "main.dart.js_276.part.js": "80d53cb8a4dfc669599bbc3d04c32234", "main.dart.js_14.part.js": "1cd5d80a5977e615492afcee1b45ae4a", "icons/Icon-512.png": "391892c6f6720429a9d4f93ec1ce5f4e", "icons/Icon-192.png": "97f7226b0a52c22cfe1557cecce6763e", "main.dart.js_269.part.js": "63faf72fae65de8526b2f0aa34bb69bc", "main.dart.js_236.part.js": "c3a95cca1862204102da37ee8bf58ac4", "version.json": "8edb4a10da08d1d0f56fa9aa2dba5d2c", "flutter_bootstrap.js": "920e28333249ed7e4e1f0509133fe1f2", "main.dart.js_235.part.js": "aec18979dfb2fbcb079f1bf47839b6e3", "main.dart.js_264.part.js": "2f447b05ff5e40574e8cdc679e6fa9a4", "manifest.json": "cc4b6aa791018840b65fd0b0e325b201", "main.dart.js_223.part.js": "c0b9e70aa515b9a85ab089c5c81b0557", "main.dart.js_285.part.js": "62dc24b75cae179408ccdff92c02c6ba", "main.dart.js_224.part.js": "5d29fdee88d93acddaf57caaedb94f06", "main.dart.js_226.part.js": "863b2b8dfeac4b73413b75dbf7ce6fd1", "main.dart.js_274.part.js": "71540a630a8507f49f8f1885a00e927b", "main.dart.js_289.part.js": "2606539a69fb39b30038530ad2efce2b", "main.dart.js_280.part.js": "d0e6b6c88ee64bb228ebe262ad3d8389", "main.dart.js_231.part.js": "25e64c7086c7a562d1d6156093e199f3", "main.dart.js": "89e0856ae7701276824d86cb7c5c7ba6", "main.dart.js_2.part.js": "81a750809dd1fb2b074db9c419829e66", "main.dart.js_273.part.js": "9c67352552e0ed2df0630d3e6defbc34", "main.dart.js_281.part.js": "db72ad306ad4e28d59306020efc15dd3", "index.html": "7df654f9c458bf669774fa0b92382704", "/": "7df654f9c458bf669774fa0b92382704", "main.dart.js_271.part.js": "ff027336287015ca281a787c2b0a4c9f", "main.dart.js_200.part.js": "407ca1bbf35bcf996e58c70282d5dcb1", "main.dart.js_1.part.js": "2e2f05ca88ee01cc8ada3fa8266fd070", "assets/AssetManifest.json": "5606bcb8d476e740a799889f97124dd9", "assets/shaders/ink_sparkle.frag": "ecc85a2e95f5e9f53123dcaf8cb9b6ce", "assets/fonts/Ubuntu/Ubuntu-BoldItalic.ttf": "c16e64c04752a33fc51b2b17df0fb495", "assets/fonts/Ubuntu/Ubuntu-Italic.ttf": "9f353a170ad1caeba1782d03dd8656b5", "assets/fonts/Ubuntu/Ubuntu-Bold.ttf": "896a60219f6157eab096825a0c9348a8", "assets/fonts/Ubuntu/Ubuntu-Regular.ttf": "84ea7c5c9d2fa40c070ccb901046117d", "assets/fonts/Ubuntu/UbuntuMono-Regular.ttf": "c8ca9c5cab2861cf95fc328900e6f1a3", "assets/fonts/MaterialIcons-Regular.otf": "9afeb8627ec2db3e8c103ba3fee8e83f", "assets/AssetManifest.bin": "ca7d99dadef7fa74c8ff737fc3160bb7", "assets/packages/flutter_map/lib/assets/flutter_map_logo.png": "208d63cc917af9713fc9572bd5c09362", "assets/packages/handy_window/assets/handy-window.css": "0434ee701235cf1c72458fd4ce022a64", "assets/packages/handy_window/assets/handy-window-dark.css": "45fb3160206a5f74c0a9f1763c00c372", "assets/packages/cupertino_icons/assets/CupertinoIcons.ttf": "04bc91744b625a64b095c6aec2f83ed9", "assets/packages/wakelock_plus/assets/no_sleep.js": "7748a45cd593f33280669b29c2c8919a", "assets/packages/record_web/assets/js/record.worklet.js": "356bcfeddb8a625e3e2ba43ddf1cc13e", "assets/packages/record_web/assets/js/record.fixwebmduration.js": "1f0108ea80c8951ba702ced40cf8cdce", "assets/FontManifest.json": "3535e1991eb6c27bc5931452ad32e0c6", "assets/AssetManifest.bin.json": "f405440ac7652d7fc9dd0d5020ee38bb", "assets/NOTICES": "224ebdd6c0f86e1033d76c5e74cd4ff5", "assets/assets/js/package/olm.wasm": "1bee19214b0a80e2f498922ec044f470", "assets/assets/js/package/olm.js": "1c13112cb119a2592b9444be60fdad1f", "assets/assets/js/package/olm_legacy.js": "89449cce143a94c311e5d2a8717012fc", "assets/assets/logo_transparent.png": "f00cda39300c9885a7c9ae52a65babbf", "assets/assets/logo.png": "d329be9cd7af685717f68e03561f96c0", "assets/assets/sas-emoji.json": "b9d99fc6dda6a3250af57af969b4a02d", "assets/assets/sounds/notification.ogg": "d928d619828e6dbccf6e9e40f1c99d83", "assets/assets/sounds/call.ogg": "7e8c646f83fba83bfb9084dc1bfec31e", "assets/assets/sounds/phone.ogg": "5c8fb947eb92ca55229cb6bbf533c40f", "assets/assets/info-logo.png": "9d1d72596564e6639fd984fea2dfd048", "assets/assets/logo.svg": "d042b70cf11a41f2764028e85b07a00a", "assets/assets/banner.png": "4a005db27a8787aea061537223dabb7d", "assets/assets/banner_transparent.png": "364e2030f739bf0c7ed1c061c4cb5901", "assets/assets/favicon.png": "3ea6cdc2aeab08defd0659bad734a69b", "main.dart.js_185.part.js": "7e8aef00faad8b34b753354d56125eea", "auth.html": "88530dca48290678d3ce28a34fc66cbd", "main.dart.js_242.part.js": "9267ad250b9a3d770301e0ec1c19750b", "canvaskit/canvaskit.wasm": "e7602c687313cfac5f495c5eac2fb324", "canvaskit/skwasm.worker.js": "89990e8c92bcb123999aa81f7e203b1c", "canvaskit/skwasm.wasm": "828c26a0b1cc8eb1adacbdd0c5e8bcfa", "canvaskit/chromium/canvaskit.wasm": "ea5ab288728f7200f398f60089048b48", "canvaskit/chromium/canvaskit.js": "b7ba6d908089f706772b2007c37e6da4", "canvaskit/chromium/canvaskit.js.symbols": "e115ddcfad5f5b98a90e389433606502", "canvaskit/canvaskit.js": "26eef3024dbc64886b7f48e1b6fb05cf", "canvaskit/canvaskit.js.symbols": "efc2cd87d1ff6c586b7d4c7083063a40", "canvaskit/skwasm.js": "ac0f73826b925320a1e9b0d3fd7da61c", "canvaskit/skwasm.js.symbols": "96263e00e3c9bd9cd878ead867c04f3c", "favicon.png": "a409751f0ecf6dee76fb350d7402f9be"}; // The application shell files that are downloaded before a service worker can // start. const CORE = ["main.dart.js", "index.html", "flutter_bootstrap.js", "assets/AssetManifest.bin.json", "assets/FontManifest.json"]; // During install, the TEMP cache is populated with the application shell files. self.addEventListener("install", (event) => { self.skipWaiting(); return event.waitUntil( caches.open(TEMP).then((cache) => { return cache.addAll( CORE.map((value) => new Request(value, {'cache': 'reload'}))); }) ); }); // During activate, the cache is populated with the temp files downloaded in // install. If this service worker is upgrading from one with a saved // MANIFEST, then use this to retain unchanged resource files. self.addEventListener("activate", function(event) { return event.waitUntil(async function() { try { var contentCache = await caches.open(CACHE_NAME); var tempCache = await caches.open(TEMP); var manifestCache = await caches.open(MANIFEST); var manifest = await manifestCache.match('manifest'); // When there is no prior manifest, clear the entire cache. if (!manifest) { await caches.delete(CACHE_NAME); contentCache = await caches.open(CACHE_NAME); for (var request of await tempCache.keys()) { var response = await tempCache.match(request); await contentCache.put(request, response); } await caches.delete(TEMP); // Save the manifest to make future upgrades efficient. await manifestCache.put('manifest', new Response(JSON.stringify(RESOURCES))); // Claim client to enable caching on first launch self.clients.claim(); return; } var oldManifest = await manifest.json(); var origin = self.location.origin; for (var request of await contentCache.keys()) { var key = request.url.substring(origin.length + 1); if (key == "") { key = "/"; } // If a resource from the old manifest is not in the new cache, or if // the MD5 sum has changed, delete it. Otherwise the resource is left // in the cache and can be reused by the new service worker. if (!RESOURCES[key] || RESOURCES[key] != oldManifest[key]) { await contentCache.delete(request); } } // Populate the cache with the app shell TEMP files, potentially overwriting // cache files preserved above. for (var request of await tempCache.keys()) { var response = await tempCache.match(request); await contentCache.put(request, response); } await caches.delete(TEMP); // Save the manifest to make future upgrades efficient. await manifestCache.put('manifest', new Response(JSON.stringify(RESOURCES))); // Claim client to enable caching on first launch self.clients.claim(); return; } catch (err) { // On an unhandled exception the state of the cache cannot be guaranteed. console.error('Failed to upgrade service worker: ' + err); await caches.delete(CACHE_NAME); await caches.delete(TEMP); await caches.delete(MANIFEST); } }()); }); // The fetch handler redirects requests for RESOURCE files to the service // worker cache. self.addEventListener("fetch", (event) => { if (event.request.method !== 'GET') { return; } var origin = self.location.origin; var key = event.request.url.substring(origin.length + 1); // Redirect URLs to the index.html if (key.indexOf('?v=') != -1) { key = key.split('?v=')[0]; } if (event.request.url == origin || event.request.url.startsWith(origin + '/#') || key == '') { key = '/'; } // If the URL is not the RESOURCE list then return to signal that the // browser should take over. if (!RESOURCES[key]) { return; } // If the URL is the index.html, perform an online-first request. if (key == '/') { return onlineFirst(event); } event.respondWith(caches.open(CACHE_NAME) .then((cache) => { return cache.match(event.request).then((response) => { // Either respond with the cached resource, or perform a fetch and // lazily populate the cache only if the resource was successfully fetched. return response || fetch(event.request).then((response) => { if (response && Boolean(response.ok)) { cache.put(event.request, response.clone()); } return response; }); }) }) ); }); self.addEventListener('message', (event) => { // SkipWaiting can be used to immediately activate a waiting service worker. // This will also require a page refresh triggered by the main worker. if (event.data === 'skipWaiting') { self.skipWaiting(); return; } if (event.data === 'downloadOffline') { downloadOffline(); return; } }); // Download offline will check the RESOURCES for all files not in the cache // and populate them. async function downloadOffline() { var resources = []; var contentCache = await caches.open(CACHE_NAME); var currentContent = {}; for (var request of await contentCache.keys()) { var key = request.url.substring(origin.length + 1); if (key == "") { key = "/"; } currentContent[key] = true; } for (var resourceKey of Object.keys(RESOURCES)) { if (!currentContent[resourceKey]) { resources.push(resourceKey); } } return contentCache.addAll(resources); } // Attempt to download the resource online before falling back to // the offline cache. function onlineFirst(event) { return event.respondWith( fetch(event.request).then((response) => { return caches.open(CACHE_NAME).then((cache) => { cache.put(event.request, response.clone()); return response; }); }).catch((error) => { return caches.open(CACHE_NAME).then((cache) => { return cache.match(event.request).then((response) => { if (response != null) { return response; } throw error; }); }); }) ); }