const OFFLINE_CACHE='coderflow-offline-v1',OFFLINE_URL='/offline.html';self['addEventListener']('install',_0x2c1491=>{_0x2c1491['waitUntil'](caches['open'](OFFLINE_CACHE)['then'](_0x5ad1fa=>_0x5ad1fa['add'](new Request(OFFLINE_URL,{'cache':'reload'})))),self['skipWaiting']();}),self['addEventListener']('activate',_0x38c65f=>{_0x38c65f['waitUntil'](((async()=>{const _0x15344b=await caches['keys']();await Promise['all'](_0x15344b['filter'](_0x5b4d48=>_0x5b4d48!==OFFLINE_CACHE)['map'](_0x412589=>caches['delete'](_0x412589))),await self['clients']['claim']();})()));}),self['addEventListener']('fetch',_0x49f347=>{const _0x222679=_0x49f347['request'];if(_0x222679['mode']!=='navigate')return;_0x49f347['respondWith'](((async()=>{try{return await fetch(_0x222679);}catch(_0x1399c5){const _0x14de9f=await caches['open'](OFFLINE_CACHE),_0x14b205=await _0x14de9f['match'](OFFLINE_URL);return _0x14b205||Response['error']();}})()));}),self['addEventListener']('push',_0x2050e2=>{if(!_0x2050e2['data'])return;let _0x12d7b8;try{_0x12d7b8=_0x2050e2['data']['json']();}catch(_0x21e215){_0x12d7b8={'title':'CoderFlow','body':_0x2050e2['data']['text']()};}const _0x4e3824=_0x12d7b8['title']||'CoderFlow',_0x187f88={'body':_0x12d7b8['body']||'','tag':_0x12d7b8['tag']||undefined,'icon':_0x12d7b8['icon']||'/favicon-32.png','badge':_0x12d7b8['badge']||'/favicon-16.png','data':_0x12d7b8['data']||{},'requireInteraction':![]};Array['isArray'](_0x12d7b8['actions'])&&_0x12d7b8['actions']['length']>0x0&&(_0x187f88['actions']=_0x12d7b8['actions']),_0x2050e2['waitUntil'](self['registration']['showNotification'](_0x4e3824,_0x187f88));}),self['addEventListener']('notificationclick',_0xc5810b=>{_0xc5810b['notification']['close']();if(_0xc5810b['action']==='dismiss')return;const _0x3e35ce=_0xc5810b['notification']['data']?.['url']||'/';_0xc5810b['waitUntil'](((async()=>{const _0x4fb6f2=await self['clients']['matchAll']({'type':'window','includeUncontrolled':!![]});for(const _0x56e2a2 of _0x4fb6f2){try{const _0x1c9fdb=new URL(_0x56e2a2['url']),_0x4aee1a=new URL(_0x3e35ce,self['location']['origin']);if(_0x1c9fdb['pathname']===_0x4aee1a['pathname']&&_0x1c9fdb['search']===_0x4aee1a['search']){if('focus'in _0x56e2a2)return _0x56e2a2['focus']();}}catch(_0x1dcc47){}}if(self['clients']['openWindow'])return self['clients']['openWindow'](_0x3e35ce);})()));});