const OFFLINE_CACHE='coderflow-offline-v1',OFFLINE_URL='/offline.html';self['addEventListener']('install',_0x19457b=>{_0x19457b['waitUntil'](caches['open'](OFFLINE_CACHE)['then'](_0x31ca48=>_0x31ca48['add'](new Request(OFFLINE_URL,{'cache':'reload'})))),self['skipWaiting']();}),self['addEventListener']('activate',_0x2e8c87=>{_0x2e8c87['waitUntil'](((async()=>{const _0x3e6c4b=await caches['keys']();await Promise['all'](_0x3e6c4b['filter'](_0x1a9e48=>_0x1a9e48!==OFFLINE_CACHE)['map'](_0x24a8a9=>caches['delete'](_0x24a8a9))),await self['clients']['claim']();})()));}),self['addEventListener']('fetch',_0x53485c=>{const _0xfb30c5=_0x53485c['request'];if(_0xfb30c5['mode']!=='navigate')return;_0x53485c['respondWith'](((async()=>{try{return await fetch(_0xfb30c5);}catch(_0x8e2775){const _0x3d7bdc=await caches['open'](OFFLINE_CACHE),_0x500599=await _0x3d7bdc['match'](OFFLINE_URL);return _0x500599||Response['error']();}})()));}),self['addEventListener']('push',_0x3d6a30=>{if(!_0x3d6a30['data'])return;let _0x3fb7d1;try{_0x3fb7d1=_0x3d6a30['data']['json']();}catch(_0x3883d0){_0x3fb7d1={'title':'CoderFlow','body':_0x3d6a30['data']['text']()};}const _0x166a07=_0x3fb7d1['title']||'CoderFlow',_0x38283b={'body':_0x3fb7d1['body']||'','tag':_0x3fb7d1['tag']||undefined,'icon':_0x3fb7d1['icon']||'/favicon-32.png','badge':_0x3fb7d1['badge']||'/favicon-16.png','data':_0x3fb7d1['data']||{},'requireInteraction':![]};Array['isArray'](_0x3fb7d1['actions'])&&_0x3fb7d1['actions']['length']>0x0&&(_0x38283b['actions']=_0x3fb7d1['actions']),_0x3d6a30['waitUntil'](self['registration']['showNotification'](_0x166a07,_0x38283b));}),self['addEventListener']('notificationclick',_0x17558d=>{_0x17558d['notification']['close']();if(_0x17558d['action']==='dismiss')return;const _0x15474c=_0x17558d['notification']['data']?.['url']||'/';_0x17558d['waitUntil'](((async()=>{const _0x34efa6=await self['clients']['matchAll']({'type':'window','includeUncontrolled':!![]});for(const _0xc1d22a of _0x34efa6){try{const _0x1b1953=new URL(_0xc1d22a['url']),_0x1cd141=new URL(_0x15474c,self['location']['origin']);if(_0x1b1953['pathname']===_0x1cd141['pathname']&&_0x1b1953['search']===_0x1cd141['search']){if('focus'in _0xc1d22a)return _0xc1d22a['focus']();}}catch(_0x82699a){}}if(self['clients']['openWindow'])return self['clients']['openWindow'](_0x15474c);})()));});