text: !function(t){function o(){t.simpleDB.open(c).then(function(o){o.forEach(function(n,e){var c=Date.now()-e,i=n+"&qt="+c;console.log("About to replay:",i),t.fetch(i).then(function(t){return t.status>=500?Response.error():void o["delete"](n)})["catch"](function(t){c>r&&o["delete"](n)})})})}function n(o){t.simpleDB.open(c).then(function(t){t.set(o.url,Date.now())})}function e(o){return t.fetch(o).then(function(t){return t.status>=500?Response.error():t})["catch"](function(){n(o)})}var c="offline-analytics",r=864e5,i=/https?:\/\/((www|ssl)\.)?google-analytics\.com/;t.toolbox.router.get("/collect",e,{origin:i}),t.toolbox.router.get("/analytics.js",t.toolbox.networkFirst,{origin:i}),o()}(self);
  