1if(!self.define){let e,n={};const t=(t,s)=>(t=new URL(t+".js",s).href,n[t]||new Promise(n=>{if("document"in self){const e=document.createElement("script");e.src=t,e.onload=n,document.head.appendChild(e)}else e=t,importScripts(t),n()}).then(()=>{let e=n[t];if(!e)throw new Error(`Module ${t} didnât register its module`);return e}));self.define=(s,c)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(n[i])return;let r={};const o=e=>t(e,i),u={module:{uri:i},exports:r,require:o};n[i]=Promise.all(s.map(e=>u[e]||o(e))).then(e=>(c(...e),r))}}define(["./workbox-3723e348"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.registerRoute(({url:e,request:n,sameOrigin:t,event:s})=>e.href.includes("/newsapi/")||e.href.includes("https://comment.vietnamnet.vn"),new e.StaleWhileRevalidate({cacheName:"vnn-apis-cache",plugins:[new e.CacheableResponsePlugin({statuses:[200]})]}),"GET"),e.registerRoute(({url:e})=>e.href.includes("https://static.vnncdn.net/v1/fonts"),new e.CacheFirst({cacheName:"vnn-fonts-cache",plugins:[]}),"GET"),e.registerRoute(({url:e})=>e.pathname.includes(".css"),new e.StaleWhileRevalidate({cacheName:"vnn-css-cache",plugins:[]}),"GET"),e.registerRoute(({url:e})=>e.href.includes("https://comment.vietnamnet.vn")&&e.pathname.includes(".js")||e.href.includes("https://res-files.vnncdn.net")&&e.pathname.includes(".js"),new e.StaleWhileRevalidate({cacheName:"vnn-js-cache",plugins:[]}),"GET")}); 2 3self.addEventListener('push', (event) => { 4 // console.log(event.data.json()); 5 const payload = event.data.json(); 6 console.log(event.data.json()) 7 event.waitUntil(self.registration.showNotification(payload.notification.title, { 8 body: payload.notification.body, 9 image: payload.notification.image, 10 actions: [ 11 { 12 action: 'close', title: 'Äóng' 13 } 14 ], 15 data: payload.data 16 })) 17}); 18self.addEventListener('notificationclick', function (e) { 19 // console.log(e); 20 if(e.action == 'close') return e.notification.close() 21 // e.notification.close(); 22 e.waitUntil(self.clients.openWindow(e.notification.data.DetailUrl)); 23})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.