{"version":3,"file":"service-worker.js","mappings":"UAAAA,KAAKC,iBAAiB,QAAQ,SAAUC,GACvCC,QAAQC,IAAI,wBAGbJ,KAAKC,iBAAiB,qBAAqB,SAAUC,GAAO,MAC3DA,EAAMG,aAAaC,QACnB,IAAMC,EAAG,UAAGL,EAAMG,aAAaG,YAAtB,aAAG,EAAyBD,IAErCL,EAAMO,UACLC,QAAQC,SAAS,CAAEC,qBAAqB,EAAMC,KAAM,WAAYC,MAAK,SAAUJ,GAC9E,IAAKK,EAAI,EAAGA,EAAIL,EAAQM,OAAQD,IAC/B,GAAIR,EAAK,CACRG,EAAQK,GAAGE,SAASV,GACpBG,EAAQK,GAAGG,QACX,c","sources":["webpack://index/./src/service-worker.js"],"sourcesContent":["self.addEventListener('push', function (event) {\n\tconsole.log('SW push activated');\n});\n\nself.addEventListener('notificationclick', function (event) {\n\tevent.notification.close();\n\tconst url = event.notification.data?.url;\n\n\tevent.waitUntil(\n\t\tclients.matchAll({ includeUncontrolled: true, type: 'window' }).then(function (clients) {\n\t\t\tfor (i = 0; i < clients.length; i++) {\n\t\t\t\tif (url) {\n\t\t\t\t\tclients[i].navigate(url);\n\t\t\t\t\tclients[i].focus();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}),\n\t);\n});\n"],"names":["self","addEventListener","event","console","log","notification","close","url","data","waitUntil","clients","matchAll","includeUncontrolled","type","then","i","length","navigate","focus"],"sourceRoot":""}