48a2714f11a1edd60c5fb4b216e62e22.json 1.29 KB
{"ast":null,"code":"if('serviceWorker'in navigator){window.addEventListener('load',function(){navigator.serviceWorker.register('/expo-service-worker.js',{scope:'/'}).then(function(info){}).catch(function(error){console.info('Failed to register service-worker',error);});});}","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/web-build/register-service-worker.js"],"names":["navigator","window","addEventListener","serviceWorker","register","scope","then","info","catch","error","console"],"mappings":"AAEA,GAAI,iBAAmBA,CAAAA,SAAvB,CAAkC,CAChCC,MAAM,CAACC,gBAAP,CAAwB,MAAxB,CAAgC,UAAW,CACzCF,SAAS,CAACG,aAAV,CACGC,QADH,CACY,yBADZ,CACuC,CAAEC,KAAK,CAAE,GAAT,CADvC,EAEGC,IAFH,CAEQ,SAASC,IAAT,CAAe,CAEpB,CAJH,EAKGC,KALH,CAKS,SAASC,KAAT,CAAgB,CACrBC,OAAO,CAACH,IAAR,CAAa,mCAAb,CAAkDE,KAAlD,EACD,CAPH,EAQD,CATD,EAUD","sourcesContent":["/* eslint-env browser */\n\nif ('serviceWorker' in navigator) {\n  window.addEventListener('load', function() {\n    navigator.serviceWorker\n      .register('/expo-service-worker.js', { scope: '/' })\n      .then(function(info) {\n        // console.info('Registered service-worker', info);\n      })\n      .catch(function(error) {\n        console.info('Failed to register service-worker', error);\n      });\n  });\n}\n"]},"metadata":{},"sourceType":"script"}