| Offset 173, 15 lines modified | Offset 173, 15 lines modified | ||
| 173 | ··version·of·encoding·software:···················0.0 | 173 | ··version·of·encoding·software:···················0.0 |
| 174 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 174 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 175 | ··minimum·software·version·required·to·extract:···0.0 | 175 | ··minimum·software·version·required·to·extract:···0.0 |
| 176 | ··compression·method:·····························none·(stored) | 176 | ··compression·method:·····························none·(stored) |
| 177 | ··file·security·status:···························not·encrypted | 177 | ··file·security·status:···························not·encrypted |
| 178 | ··extended·local·header:··························no | 178 | ··extended·local·header:··························no |
| 179 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 179 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 180 | ··32-bit·CRC·value·(hex):························· | 180 | ··32-bit·CRC·value·(hex):·························e7d374ee |
| 181 | ··compressed·size:································29599536·bytes | 181 | ··compressed·size:································29599536·bytes |
| 182 | ··uncompressed·size:······························29599536·bytes | 182 | ··uncompressed·size:······························29599536·bytes |
| 183 | ··length·of·filename:·····························29·characters | 183 | ··length·of·filename:·····························29·characters |
| 184 | ··length·of·extra·field:··························0·bytes | 184 | ··length·of·extra·field:··························0·bytes |
| 185 | ··length·of·file·comment:·························0·characters | 185 | ··length·of·file·comment:·························0·characters |
| 186 | ··disk·number·on·which·file·begins:···············disk·1 | 186 | ··disk·number·on·which·file·begins:···············disk·1 |
| 187 | ··apparent·file·type:·····························binary | 187 | ··apparent·file·type:·····························binary |
| Offset 203, 15 lines modified | Offset 203, 15 lines modified | ||
| 203 | ··version·of·encoding·software:···················0.0 | 203 | ··version·of·encoding·software:···················0.0 |
| 204 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 204 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 205 | ··minimum·software·version·required·to·extract:···0.0 | 205 | ··minimum·software·version·required·to·extract:···0.0 |
| 206 | ··compression·method:·····························none·(stored) | 206 | ··compression·method:·····························none·(stored) |
| 207 | ··file·security·status:···························not·encrypted | 207 | ··file·security·status:···························not·encrypted |
| 208 | ··extended·local·header:··························no | 208 | ··extended·local·header:··························no |
| 209 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 209 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 210 | ··32-bit·CRC·value·(hex):························· | 210 | ··32-bit·CRC·value·(hex):·························4c6dcabf |
| 211 | ··compressed·size:································38021720·bytes | 211 | ··compressed·size:································38021720·bytes |
| 212 | ··uncompressed·size:······························38021720·bytes | 212 | ··uncompressed·size:······························38021720·bytes |
| 213 | ··length·of·filename:·····························27·characters | 213 | ··length·of·filename:·····························27·characters |
| 214 | ··length·of·extra·field:··························0·bytes | 214 | ··length·of·extra·field:··························0·bytes |
| 215 | ··length·of·file·comment:·························0·characters | 215 | ··length·of·file·comment:·························0·characters |
| 216 | ··disk·number·on·which·file·begins:···············disk·1 | 216 | ··disk·number·on·which·file·begins:···············disk·1 |
| 217 | ··apparent·file·type:·····························binary | 217 | ··apparent·file·type:·····························binary |
| Offset 233, 15 lines modified | Offset 233, 15 lines modified | ||
| 233 | ··version·of·encoding·software:···················0.0 | 233 | ··version·of·encoding·software:···················0.0 |
| 234 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 234 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 235 | ··minimum·software·version·required·to·extract:···0.0 | 235 | ··minimum·software·version·required·to·extract:···0.0 |
| 236 | ··compression·method:·····························none·(stored) | 236 | ··compression·method:·····························none·(stored) |
| 237 | ··file·security·status:···························not·encrypted | 237 | ··file·security·status:···························not·encrypted |
| 238 | ··extended·local·header:··························no | 238 | ··extended·local·header:··························no |
| 239 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 239 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 240 | ··32-bit·CRC·value·(hex):························· | 240 | ··32-bit·CRC·value·(hex):·························ce2535d7 |
| 241 | ··compressed·size:································26592916·bytes | 241 | ··compressed·size:································26592916·bytes |
| 242 | ··uncompressed·size:······························26592916·bytes | 242 | ··uncompressed·size:······························26592916·bytes |
| 243 | ··length·of·filename:·····························31·characters | 243 | ··length·of·filename:·····························31·characters |
| 244 | ··length·of·extra·field:··························0·bytes | 244 | ··length·of·extra·field:··························0·bytes |
| 245 | ··length·of·file·comment:·························0·characters | 245 | ··length·of·file·comment:·························0·characters |
| 246 | ··disk·number·on·which·file·begins:···············disk·1 | 246 | ··disk·number·on·which·file·begins:···············disk·1 |
| 247 | ··apparent·file·type:·····························binary | 247 | ··apparent·file·type:·····························binary |
| Offset 263, 15 lines modified | Offset 263, 15 lines modified | ||
| 263 | ··version·of·encoding·software:···················0.0 | 263 | ··version·of·encoding·software:···················0.0 |
| 264 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 264 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 265 | ··minimum·software·version·required·to·extract:···0.0 | 265 | ··minimum·software·version·required·to·extract:···0.0 |
| 266 | ··compression·method:·····························none·(stored) | 266 | ··compression·method:·····························none·(stored) |
| 267 | ··file·security·status:···························not·encrypted | 267 | ··file·security·status:···························not·encrypted |
| 268 | ··extended·local·header:··························no | 268 | ··extended·local·header:··························no |
| 269 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 269 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 270 | ··32-bit·CRC·value·(hex):························· | 270 | ··32-bit·CRC·value·(hex):·························9c3c570a |
| 271 | ··compressed·size:································32182720·bytes | 271 | ··compressed·size:································32182720·bytes |
| 272 | ··uncompressed·size:······························32182720·bytes | 272 | ··uncompressed·size:······························32182720·bytes |
| 273 | ··length·of·filename:·····························29·characters | 273 | ··length·of·filename:·····························29·characters |
| 274 | ··length·of·extra·field:··························0·bytes | 274 | ··length·of·extra·field:··························0·bytes |
| 275 | ··length·of·file·comment:·························0·characters | 275 | ··length·of·file·comment:·························0·characters |
| 276 | ··disk·number·on·which·file·begins:···············disk·1 | 276 | ··disk·number·on·which·file·begins:···············disk·1 |
| 277 | ··apparent·file·type:·····························binary | 277 | ··apparent·file·type:·····························binary |
| Offset 293, 15 lines modified | Offset 293, 15 lines modified | ||
| 293 | ··version·of·encoding·software:···················0.0 | 293 | ··version·of·encoding·software:···················0.0 |
| 294 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 294 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 295 | ··minimum·software·version·required·to·extract:···0.0 | 295 | ··minimum·software·version·required·to·extract:···0.0 |
| 296 | ··compression·method:·····························none·(stored) | 296 | ··compression·method:·····························none·(stored) |
| 297 | ··file·security·status:···························not·encrypted | 297 | ··file·security·status:···························not·encrypted |
| 298 | ··extended·local·header:··························no | 298 | ··extended·local·header:··························no |
| 299 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 299 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 300 | ··32-bit·CRC·value·(hex):························· | 300 | ··32-bit·CRC·value·(hex):·························a3e1819b |
| 301 | ··compressed·size:································30786728·bytes | 301 | ··compressed·size:································30786728·bytes |
| 302 | ··uncompressed·size:······························30786728·bytes | 302 | ··uncompressed·size:······························30786728·bytes |
| 303 | ··length·of·filename:·····························23·characters | 303 | ··length·of·filename:·····························23·characters |
| 304 | ··length·of·extra·field:··························0·bytes | 304 | ··length·of·extra·field:··························0·bytes |
| 305 | ··length·of·file·comment:·························0·characters | 305 | ··length·of·file·comment:·························0·characters |
| 306 | ··disk·number·on·which·file·begins:···············disk·1 | 306 | ··disk·number·on·which·file·begins:···············disk·1 |
| 307 | ··apparent·file·type:·····························binary | 307 | ··apparent·file·type:·····························binary |
| Offset 323, 15 lines modified | Offset 323, 15 lines modified | ||
| 323 | ··version·of·encoding·software:···················0.0 | 323 | ··version·of·encoding·software:···················0.0 |
| 324 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 324 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 325 | ··minimum·software·version·required·to·extract:···0.0 | 325 | ··minimum·software·version·required·to·extract:···0.0 |
| 326 | ··compression·method:·····························none·(stored) | 326 | ··compression·method:·····························none·(stored) |
| 327 | ··file·security·status:···························not·encrypted | 327 | ··file·security·status:···························not·encrypted |
| 328 | ··extended·local·header:··························no | 328 | ··extended·local·header:··························no |
| 329 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 329 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 330 | ··32-bit·CRC·value·(hex):························· | 330 | ··32-bit·CRC·value·(hex):·························0e495a59 |
| 331 | ··compressed·size:································39493124·bytes | 331 | ··compressed·size:································39493124·bytes |
| 332 | ··uncompressed·size:······························39493124·bytes | 332 | ··uncompressed·size:······························39493124·bytes |
| 333 | ··length·of·filename:·····························21·characters | 333 | ··length·of·filename:·····························21·characters |
| 334 | ··length·of·extra·field:··························0·bytes | 334 | ··length·of·extra·field:··························0·bytes |
| 335 | ··length·of·file·comment:·························0·characters | 335 | ··length·of·file·comment:·························0·characters |
| 336 | ··disk·number·on·which·file·begins:···············disk·1 | 336 | ··disk·number·on·which·file·begins:···············disk·1 |
| 337 | ··apparent·file·type:·····························binary | 337 | ··apparent·file·type:·····························binary |
| Offset 353, 15 lines modified | Offset 353, 15 lines modified | ||
| 353 | ··version·of·encoding·software:···················0.0 | 353 | ··version·of·encoding·software:···················0.0 |
| 354 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 354 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 355 | ··minimum·software·version·required·to·extract:···0.0 | 355 | ··minimum·software·version·required·to·extract:···0.0 |
| 356 | ··compression·method:·····························none·(stored) | 356 | ··compression·method:·····························none·(stored) |
| 357 | ··file·security·status:···························not·encrypted | 357 | ··file·security·status:···························not·encrypted |
| 358 | ··extended·local·header:··························no | 358 | ··extended·local·header:··························no |
| 359 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 359 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 360 | ··32-bit·CRC·value·(hex):························· | 360 | ··32-bit·CRC·value·(hex):·························e53bea06 |
| 361 | ··compressed·size:································30389584·bytes | 361 | ··compressed·size:································30389584·bytes |
| 362 | ··uncompressed·size:······························30389584·bytes | 362 | ··uncompressed·size:······························30389584·bytes |
| 363 | ··length·of·filename:·····························26·characters | 363 | ··length·of·filename:·····························26·characters |
| 364 | ··length·of·extra·field:··························0·bytes | 364 | ··length·of·extra·field:··························0·bytes |
| 365 | ··length·of·file·comment:·························0·characters | 365 | ··length·of·file·comment:·························0·characters |
| 366 | ··disk·number·on·which·file·begins:···············disk·1 | 366 | ··disk·number·on·which·file·begins:···············disk·1 |
| 367 | ··apparent·file·type:·····························binary | 367 | ··apparent·file·type:·····························binary |
| Offset 383, 15 lines modified | Offset 383, 15 lines modified | ||
| 383 | ··version·of·encoding·software:···················0.0 | 383 | ··version·of·encoding·software:···················0.0 |
| 384 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 384 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
| 385 | ··minimum·software·version·required·to·extract:···0.0 | 385 | ··minimum·software·version·required·to·extract:···0.0 |
| 386 | ··compression·method:·····························none·(stored) | 386 | ··compression·method:·····························none·(stored) |
| 387 | ··file·security·status:···························not·encrypted | 387 | ··file·security·status:···························not·encrypted |
| 388 | ··extended·local·header:··························no | 388 | ··extended·local·header:··························no |
| 389 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 | 389 | ··file·last·modified·on·(DOS·date/time):··········1981·Jan·1·01:01:02 |
| 390 | ··32-bit·CRC·value·(hex):························· | 390 | ··32-bit·CRC·value·(hex):·························1bb4b427 |
| 391 | ··compressed·size:································39773120·bytes | 391 | ··compressed·size:································39773120·bytes |
| 392 | ··uncompressed·size:······························39773120·bytes | 392 | ··uncompressed·size:······························39773120·bytes |
| 393 | ··length·of·filename:·····························24·characters | 393 | ··length·of·filename:·····························24·characters |
| 394 | ··length·of·extra·field:··························0·bytes | 394 | ··length·of·extra·field:··························0·bytes |
| 395 | ··length·of·file·comment:·························0·characters | 395 | ··length·of·file·comment:·························0·characters |
| 396 | ··disk·number·on·which·file·begins:···············disk·1 | 396 | ··disk·number·on·which·file·begins:···············disk·1 |
| 397 | ··apparent·file·type:·····························binary | 397 | ··apparent·file·type:·····························binary |
| Max diff block lines reached; -1/8136 bytes (-0.01%) of diff not shown. | |||
| Offset 17010, 15 lines modified | Offset 17010, 15 lines modified | ||
| 17010 | ···················id="path4386"\n | 17010 | ···················id="path4386"\n |
| 17011 | ···················inkscape:connector-curvature="0"\n | 17011 | ···················inkscape:connector-curvature="0"\n |
| 17012 | ···················sodipodi:nodetypes="cc"·/>\n | 17012 | ···················sodipodi:nodetypes="cc"·/>\n |
| 17013 | ··············</g>\n | 17013 | ··············</g>\n |
| 17014 | ············</svg>\n | 17014 | ············</svg>\n |
| 17015 | ············manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n | 17015 | ············manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n |
| 17016 | ············//#·sourceMappingURL=service-worker.js.map\n | 17016 | ············//#·sourceMappingURL=service-worker.js.map\n |
| 17017 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/ | 17017 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/a8220021f322e65caa3148032e7bfd26/service-worker.js"],"sourcesContent":["import·{setCacheNameDetails·as·workbox_core_setCacheNameDetails}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.mjs';\nimport·{precacheAndRoute·as·workbox_precaching_precacheAndRoute}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n·*·Welcome·to·your·Workbox-powered·service·worker!\n·*\n·*·You'll·need·to·register·this·file·in·your·web·app.\n·*·See·https://goo.gl/nhQhGp\n·*\n·*·The·rest·of·the·code·is·auto-generated.·Please·don't·update·this·file\n·*·directly;·instead,·make·changes·to·your·Workbox·build·configuration\n·*·and·re-run·your·build·process.\n·*·See·https://goo.gl/2aRDsh\n·*/\n\n\n\n\n\nworkbox_core_setCacheNameDetails({prefix:·\"aw-webui\"});\n\n\nself.addEventListener('message',·(event)·=>·{\n··if·(event.data·&&·event.data.type·===·'SKIP_WAITING')·{\n····self.skipWaiting();\n··}\n});\n\n\n\n\n/**\n·*·The·precacheAndRoute()·method·efficiently·caches·and·responds·to\n·*·requests·for·URLs·in·the·manifest.\n·*·See·https://goo.gl/S9QRab\n·*/\nworkbox_precaching_precacheAndRoute([\n··{\n····\"url\":·\"/css/1523.3af55662.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1588.bd0bb219.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1814.63a247f6.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/185.be8e4b9a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2233.e1bcf8fb.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2352.af75f974.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/265.a9f5afc4.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2921.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2970.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3510.cd69135e.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3593.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/4067.dcf2e439.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/428.fdf3fbd9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/495.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5480.8f4f9eec.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/579.0a541622.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5812.38cfb433.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5966.c7b9176f.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6218.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6531.22cc2d8b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/663.692259ab.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6652.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6741.67d99f8a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7496.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7561.280efd83.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8027.04e35673.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8081.e565b3f9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8123.25aa2d67.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8327.64666c05.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8596.36d78776.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8599.3a3e658b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8665.f93fd221.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8932.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8948.643cd595.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9305.3e60e51d.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9399.af65a5d7.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/chunk-vendors.5a33e728.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/index.08a8e1ac.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/dark.css\",\n····\"revision\":·\"8bc8c75d670bba7c6ca0122c39beb964\"\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.72c5f1d4.woff2\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.ff576336.woff\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/index.html\",\n····\"revision\":·\"a3de05a92d1da006cdc9c32e24188e9a\"\n··},\n··{\n····\"url\":·\"/js/1064.703d75f1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1172.31a5da94.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1523.12118690.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1588.aa9f3f15.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1814.d46e9bc8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/185.62497fc3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2230.3215567d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2233.9a3f56f4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2352.1ad93c6c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2374.dc0764c4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/265.f78fd35d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2921.1334e082.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2970.077864a1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2972.abaf9c34.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3377.ab2c26e4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3510.d0330312.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3593.becd60e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3837.aa23cf66.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4033.1ef6ffc4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4067.477e9868.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/428.eac37ee4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4513.debf088d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4516.7aacfe2f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4773.c439ca8e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/495.a6e46481.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5013.56cf47a8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5034.3fc015f7.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5480.a2d6d5cf.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5649.f2a750a0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/579.b909463e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5793.6b12a4f9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5803.4b20c165.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5812.6233be92.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5966.66ce7a50.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6218.e53707fb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6514.43b09bcb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6531.e78f2219.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/663.97e7e4d3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6652.0a490cb9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6741.1161ef60.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7496.11fb35e2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7561.e7ca49b3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7634.34f19064.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8027.266a9611.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8081.a2aa8edc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8123.809ec791.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8191.6a088066.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8327.685ff366.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8376.f63b6151.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8596.0548d980.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8599.46e04f48.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8665.a0024995.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8880.24ca4277.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8932.31ef541c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8948.2ae593e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/901.21266bcc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9305.bd0d368f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9399.4c9cf5be.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9565.078d08a2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/980.0cf8e040.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/chunk-vendors.4b5dc043.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/index.38b10cd0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/logo.png\",\n····\"revision\":·\"3cbfce2efacc0dd8d09018233de4afa9\"\n··},\n··{\n····\"url\":·\"/logo.svg\",\n····\"revision\":·\"17fa81a8fc448f2c53f30514400a7c5c\"\n··},\n··{\n····\"url\":·\"/manifest.json\",\n····\"revision\":·\"f6c821dd0bf011176cfb914f2508764c\"\n··}\n],·{});\n\n\n\n\n\n\n\n\n"],"names":["workbox_core_setCacheNameDetails","prefix","self","addEventListener","event","data","type","skipWaiting","workbox_precaching_precacheAndRoute","url","revision"],"mappings":"inBAiBAA,EAAAA,oBAAiC,CAACC,OAAQ,aAG1CC,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAYTC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,kCACPC,SAAY,MAEd,CACED,IAAO,0BACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,gCACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,iBACPC,SAAY,qCAEb,CAAA"}workbox-711a2045.jsdefine(["exports"],function(t){"use·strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const·e=(t,...e)=>{let·s=t;return·e.length>0&&(s+=`·::·${JSON.stringify(e)}`),s};class·s·extends·Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const·n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof·registration?registration.scope:""},i=t=>[n.prefix,t,n.suffix].filter(t=>t&&t.length>0).join("-"),r=t=>{(t=>{for(const·e·of·Object.keys(n))t(e)})(e=>{"string"==typeof·t[e]&&(n[e]=t[e])})},o=t=>t||i(n.precache),c=t=>t||i(n.runtime);try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const·a=t=>t&&"object"==typeof·t?t:{handle:t};class·h{constructor(t,e,s="GET"){this.handler=a(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=a(t)}}class·u·extends·h{constructor(t,e,s){super(({url:e})=>{const·s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return·s.slice(1)},e,s)}}class·l{constructor(){this.t=new·Map,this.i=new·Map}get·routes(){return·this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof·e&&(e=[e]);const·s=new·Request(...e);return·this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const·s=new·URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const·n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let·o=r&&r.handler;const·c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let·a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const·h=r&&r.catchHandler;return·a·instanceof·Promise&&(this.o||h)&&(a=a.catch(async·n=>{if(h)try{return·await·h.handle({url:s,request:t,event:e,params:i})}catch(t){t·instanceof·Error&&(n=t)}if(this.o)return·this.o.handle({url:s,request:t,event:e});throw·n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const·i=this.t.get(s.method)||[];for(const·r·of·i){let·i;const·o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return·i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof·o)&&(i=void·0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,a(t))}setCatchHandler(t){this.o=a(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw·new·s("unregister-route-but-not-found-with-method",{method:t.method});const·e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw·new·s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let·f;function·w(t,e){const·s=e();return·t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function·d(t){if(!t)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof·t){const·e=new·URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const·t=new·URL(n,location.href);return{cacheKey:t.href,url:t.href}}const·i=new·URL(n,location.href),r=new·URL(n,location.href);return·i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class·p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest·instanceof·Request){const·t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return·s}}}class·y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const·s=(null==e?void·0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return·s?new·Request(s,{headers:t.headers}):t},this.h=t}}let·g;async·function·R(t,e){let·n=null;if(t.url){n=new·URL(t.url).origin}if(n!==self.location.origin)throw·new·s("cross-origin-copy-response",{origin:n});const·i=t.clone(),r={headers:new·Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void·0===g){const·t=new·Response("");if("body"in·t)try{new·Response(t.body),g=!0}catch(t){g=!1}g=!1}return·g}()?i.body:await·i.blob();return·new·Response(c,o)}function·m(t,e){const·s=new·URL(t);for(const·t·of·e)s.searchParams.delete(t);return·s.href}class·v{constructor(){this.promise=new·Promise((t,e)=>{this.resolve=t,this.reject=e})}}const·q=new·Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function·U(t){return"string"==typeof·t?new·Request(t):t}class·b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new·v,this.R=[],this.m=[...t.plugins],this.v=new·Map;for(const·t·of·this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async·fetch(t){const{event:e}=this;let·n=U(t);if("navigate"===n.mode&&e·instanceof·FetchEvent&&e.preloadResponse){const·t=await·e.preloadResponse;if(t)return·t}const·i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const·t·of·this.iterateCallbacks("requestWillFetch"))n=await·t({request:n.clone(),event:e})}catch(t){if(t·instanceof·Error)throw·new·s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const·r=n.clone();try{let·t;t=await·fetch(n,"navigate"===n.mode?void·0:this.l.fetchOptions);for(const·s·of·this.iterateCallbacks("fetchDidSucceed"))t=await·s({event:e,request:r,response:t});return·t}catch(t){throw·i&&await·this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async·fetchAndCachePut(t){const·e=await·this.fetch(t),s=e.clone();return·this.waitUntil(this.cachePut(t,s)),e}async·cacheMatch(t){const·e=U(t);let·s;const{cacheName:n,matchOptions:i}=this.l,r=await·this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await·caches.match(r,o);for(const·t·of·this.iterateCallbacks("cachedResponseWillBeUsed"))s=await·t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void·0;return·s}async·cachePut(t,e){const·n=U(t);var·i;await(i=0,new·Promise(t=>setTimeout(t,i)));const·r=await·this.getCacheKey(n,"write");if(!e)throw·new·s("cache-put-with-no-response",{url:(o=r.url,new·URL(String(o),location.href).href.replace(new·RegExp(`^${location.origin}`),""))});var·o;const·c=await·this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await·self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await·async·function(t,e,s,n){const·i=m(e.url,s);if(e.url===i)return·t.match(e,n);const·r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await·t.keys(e,r);for(const·e·of·o)if(i===m(e.url,s))return·t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await·u.put(r,l?c.clone():c)}catch(t){if(t·instanceof·Error)throw"QuotaExceededError"===t.name&&await·async·function(){for(const·t·of·q)await·t()}(),t}for(const·t·of·this.iterateCallbacks("cacheDidUpdate"))await·t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async·getCacheKey(t,e){const·s=`${t.url}·|·${e}`;if(!this.u[s]){let·n=t;for(const·t·of·this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await·t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return·this.u[s]}hasCallback(t){for(const·e·of·this.l.plugins)if(t·in·e)return!0;return!1}async·runCallbacks(t,e){for(const·s·of·this.iterateCallbacks(t))await·s(e)}*iterateCallbacks(t){for(const·e·of·this.l.plugins)if("function"==typeof·e[t]){const·s=this.v.get(e),n=n=>{const·i=Object.assign(Object.assign({},n),{state:s});return·e[t](i)};yield·n}}waitUntil(t){return·this.R.push(t),t}async·doneWaiting(){let·t;for(;t=this.R.shift();)await·t}destroy(){this.p.resolve(null)}async·q(t){let·e=t,s=!1;for(const·t·of·this.iterateCallbacks("cacheWillUpdate"))if(e=await·t({request:this.request,response:e,event:this.event})||void·0,s=!0,!e)break;return·s||e&&200!==e.status&&(e=void·0),e}}class·L{constructor(t={}){this.cacheName=c(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return·e}handleAll(t){t·instanceof·FetchEvent&&(t={event:t,request:t.request});const·e=t.event,s="string"==typeof·t.request?new·Request(t.request):t.request,n="params"in·t?t.params:void·0,i=new·b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async·U(t,e,n){let·i;await·t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await·this._(e,t),!i||"error"===i.type)throw·new·s("no-response",{url:e.url})}catch(s){if(s·instanceof·Error)for(const·r·of·t.iterateCallbacks("handlerDidError"))if(i=await·r({error:s,event:n,request:e}),i)break;if(!i)throw·s}for(const·s·of·t.iterateCallbacks("handlerWillRespond"))i=await·s({event:n,request:e,response:i});return·i}async·L(t,e,s,n){let·i,r;try{i=await·t}catch(r){}try{await·e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await·e.doneWaiting()}catch(t){t·instanceof·Error&&(r=t)}if(await·e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw·r}}class·C·extends·L{constructor(t={}){t.cacheName=o(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async·_(t,e){const·s=await·e.cacheMatch(t);return·s||(e.event&&"install"===e.event.type?await·this.O(t,e):await·this.N(t,e))}async·N(t,e){let·n;const·i=e.params||{};if(!this.C)throw·new·s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const·s=i.integrity,r=t.integrity,o=!r||r===s;n=await·e.fetch(new·Request(t,{integrity:"no-cors"!==t.mode?r||s:void·0})),s&&o&&"no-cors"!==t.mode&&(this.j(),await·e.cachePut(t,n.clone()))}return·n}async·O(t,e){this.j();const·n=await·e.fetch(t);if(!await·e.cachePut(t,n.clone()))throw·new·s("bad-precaching-response",{url:t.url,status:n.status});return·n}j(){let·t=null,e=0;for(const[s,n]of·this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await·R(t):t};class·E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new·Map,this.K=new·Map,this.T=new·Map,this.l=new·C({cacheName:o(t),plugins:[...e,new·y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get·strategy(){return·this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const·e=[];for(const·n·of·t){"string"==typeof·n?e.push(n):n&&void·0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof·n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw·new·s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof·n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw·new·s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const·t=`Workbox·is·precaching·URLs·without·revision·info:·${e.join(",·")}\nThis·is·generally·NOT·safe.·Learn·more·at·https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return·w(t,async()=>{const·e=new·p;this.strategy.plugins.push(e);for(const[e,s]of·this.k){const·n=this.T.get(s),i=this.K.get(e),r=new·Request(e,{integrity:n,cache:i,credentials:"same-origin"});await·Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return·w(t,async()=>{const·t=await·self.caches.open(this.strategy.cacheName),e=await·t.keys(),s=new·Set(this.k.values()),n=[];for(const·i·of·e)s.has(i.url)||(await·t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return·this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const·e=new·URL(t,location.href);return·this.k.get(e.href)}getIntegrityForCacheKey(t){return·this.T.get(t)}async·matchPrecache(t){const·e=t·instanceof·Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await·self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const·e=this.getCacheKeyForURL(t);if(!e)throw·new·s("non-precached-url",{url:t});return·s=>(s.request=new·Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let·O;const·x=()=>(O||(O=new·E),O);class·N·extends·h{constructor(t,e){super(({request:s})=>{const·n=t.getURLsToCacheKeys();for(const·i·of·function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const·r=new·URL(t,location.href);r.hash="",yield·r.href;const·o=function(t,e=[]){for(const·s·of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return·t}(r,e);if(yield·o.href,s&&o.pathname.endsWith("/")){const·t=new·URL(o.href);t.pathname+=s,yield·t.href}if(n){const·t=new·URL(o.href);t.pathname+=".html",yield·t.href}if(i){const·t=i({url:r});for(const·e·of·t)yield·e.href}}(s.url,e)){const·e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}function·j(t){const·e=x();!function(t,e,n){let·i;if("string"==typeof·t){const·s=new·URL(t,location.href);i=new·h(({url:t})=>t.href===s.href,e,n)}else·if(t·instanceof·RegExp)i=new·u(t,e,n);else·if("function"==typeof·t)i=new·h(t,e,n);else{if(!(t·instanceof·h))throw·new·s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});i=t}(f||(f=new·l,f.addFetchListener(),f.addCacheListener()),f).registerRoute(i)}(new·N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),j(e)},t.setCacheNameDetails=function(t){r(t)}});\n |
| 17018 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n | 17018 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n |
| 17019 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,ECxBJ,MAAMI,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC,QAAS,UACTC,OAAgC,oBAAjBC,aAA+BA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W,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsoctet-streamapplication/octet-streamcssAccess-Control-Request-Method/extension_cors_fairing\n | 17019 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,ECxBJ,MAAMI,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC,QAAS,UACTC,OAAgC,oBAAjBC,aAA+BA,aAAaC,MAAQ,IAEjEC,EAAoBC,GACf,CAACT,EAAkBG,OAAQM,EAAWT,EAAkBK,QAC1DK,OAAQC,GAAUA,GAASA,EAAMtB,OAAS,GAC1CuB,KAAK,KAODC,EACOjB,IANSkB,KACzB,IAAK,MAAMC,KAAOC,OAAOC,KAAKjB,GAC1Bc,EAAGC,IAKHG,CAAqBH,IACW,iBAAjBnB,EAAQmB,KACff,EAAkBe,GAAOnB,EAAQmB,OAJpCF,EAWSM,GACPA,GAAiBX,EAAiBR,EAAkBE,UAZtDW,EAiBQM,GACNA,GAAiBX,EAAiBR,EAAkBI,SCzCnE,IACIvB,KAAK,0BAA4BC,GACrC,CACA,MAAOC,GAAG,CCWH,MCAMqC,EAAoBC,GACzBA,GAA8B,iBAAZA,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AMqL,KAAgBD,QACjBC,EAAapP,IAE3B,CACJ,CDAsCqP,CAAsBxO,EAAQhB,IAAKsH,GAAU,CACnE,MAAMnD,EAAWmK,EAAgB3L,IAAI4L,GACrC,GAAIpK,EAAU,CAEV,MAAO,CAAEA,WAAU4H,UADD9G,EAAmBgJ,wBAAwB9J,GAEjE,CACJ,GAMSc,EAAmBoC,SACpC,EG7BJ,SAASoI,EAASnI,GACd,MAAMrC,EAAqBmJ,KCK/B,SAAuBsB,EAASnQ,EAASI,GACrC,IAAI6C,EACJ,GAAuB,iBAAZkN,EAAsB,CAC7B,MAAMC,EAAa,IAAIxN,IAAIuN,EAASrP,SAASF,MAkC7CqC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsoctet-streamapplication/octet-streamcssAccess-Control-Request-Method/extension_cors_fairing\n |
| 17020 | ············settings.%Too·long·keysend·body·eosErrorindexResetGoAwayReasonIoBadCharBadEndKeepAliveClosedUtf8Errorvalid_up_toerror_lena·Display·implementation·returned·an·error·unexpectedlyParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorstream_iddependencyackpayloadWindowUpdatesize_incrementerror_codeParseBoolErrorParseCharErrorParseEmptyStringTooManyChars | 17020 | ············settings.%Too·long·keysend·body·eosErrorindexResetGoAwayReasonIoBadCharBadEndKeepAliveClosedUtf8Errorvalid_up_toerror_lena·Display·implementation·returned·an·error·unexpectedlyParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorstream_iddependencyackpayloadWindowUpdatesize_incrementerror_codeParseBoolErrorParseCharErrorParseEmptyStringTooManyChars |
| 17021 | ··[132f4b4]··E`L | 17021 | ··[132f4b4]··E`L |
| 17022 | ··[132f4b9]··`L | 17022 | ··[132f4b9]··`L |
| 17023 | ··[132f4bc]··BiL | 17023 | ··[132f4bc]··BiL |
| 17024 | ··[132f4c0]··p`L | 17024 | ··[132f4c0]··p`L |
| Offset 3664, 17 lines modified | Offset 3664, 17 lines modified | ||
| 3664 | ··0x024ea060·01000000·00000000·7112b36a·00000000·........q..j.... | 3664 | ··0x024ea060·01000000·00000000·7112b36a·00000000·........q..j.... |
| 3665 | ··0x024ea070·05d84850·14de33ba·0af973fb·3696b28d·..HP..3...s.6... | 3665 | ··0x024ea070·05d84850·14de33ba·0af973fb·3696b28d·..HP..3...s.6... |
| 3666 | ··0x024ea080·fdd012e3·a8c1312b·8b5eb5fd·c9ef623b·......1+.^....b; | 3666 | ··0x024ea080·fdd012e3·a8c1312b·8b5eb5fd·c9ef623b·......1+.^....b; |
| 3667 | ··0x024ea090·ffffffff·ffffffff·00000000·00000000·................ | 3667 | ··0x024ea090·ffffffff·ffffffff·00000000·00000000·................ |
| 3668 | ··0x024ea0a0·24160000·00000000·00000000·00000000·$............... | 3668 | ··0x024ea0a0·24160000·00000000·00000000·00000000·$............... |
| 3669 | ··0x024ea0b0·15000000·00000000·01000000·00000000·................ | 3669 | ··0x024ea0b0·15000000·00000000·01000000·00000000·................ |
| 3670 | ··0x024ea0c0·7112b36a·00000000·01000000·00000000·q..j............ | 3670 | ··0x024ea0c0·7112b36a·00000000·01000000·00000000·q..j............ |
| 3671 | ··0x024ea0d0·7112b36a·00000000· | 3671 | ··0x024ea0d0·7112b36a·00000000·dba9da40·d0ba3a1d·q..j.......@..:. |
| 3672 | ··0x024ea0e0·9c1c566b·a64e37ef·fd332a77·3362aa68·..Vk.N7..3*w3b.h | ||
| 3673 | ··0x024ea0 | 3672 | ··0x024ea0e0·1962461f·e7c973f6·3d1e346a·e34e334c·.bF...s.=.4j.N3L |
| 3673 | ··0x024ea0f0·209cdab8·2efb3778·ffffffff·ffffffff··.....7x........ | ||
| 3674 | ··0x024ea100·00000000·00000000·c6320000·00000000·.........2...... | 3674 | ··0x024ea100·00000000·00000000·c6320000·00000000·.........2...... |
| 3675 | ··0x024ea110·00000000·00000000·13000000·00000000·................ | 3675 | ··0x024ea110·00000000·00000000·13000000·00000000·................ |
| 3676 | ··0x024ea120·01000000·00000000·7112b36a·00000000·........q..j.... | 3676 | ··0x024ea120·01000000·00000000·7112b36a·00000000·........q..j.... |
| 3677 | ··0x024ea130·01000000·00000000·7112b36a·00000000·........q..j.... | 3677 | ··0x024ea130·01000000·00000000·7112b36a·00000000·........q..j.... |
| 3678 | ··0x024ea140·20303f36·731bff3a·555ee80b·a80b28e1··0?6s..:U^....(. | 3678 | ··0x024ea140·20303f36·731bff3a·555ee80b·a80b28e1··0?6s..:U^....(. |
| 3679 | ··0x024ea150·c477ab33·4de8aa7d·f618f6fc·ef7b58e0·.w.3M..}.....{X. | 3679 | ··0x024ea150·c477ab33·4de8aa7d·f618f6fc·ef7b58e0·.w.3M..}.....{X. |
| 3680 | ··0x024ea160·ffffffff·ffffffff·00000000·00000000·................ | 3680 | ··0x024ea160·ffffffff·ffffffff·00000000·00000000·................ |
| Offset 6241, 15 lines modified | Offset 6241, 15 lines modified | ||
| 6241 | ···················id="path4386"\n | 6241 | ···················id="path4386"\n |
| 6242 | ···················inkscape:connector-curvature="0"\n | 6242 | ···················inkscape:connector-curvature="0"\n |
| 6243 | ···················sodipodi:nodetypes="cc"·/>\n | 6243 | ···················sodipodi:nodetypes="cc"·/>\n |
| 6244 | ··············</g>\n | 6244 | ··············</g>\n |
| 6245 | ············</svg>\n | 6245 | ············</svg>\n |
| 6246 | ············manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n | 6246 | ············manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n |
| 6247 | ············//#·sourceMappingURL=service-worker.js.map\n | 6247 | ············//#·sourceMappingURL=service-worker.js.map\n |
| 6248 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/ | 6248 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/a8220021f322e65caa3148032e7bfd26/service-worker.js"],"sourcesContent":["import·{setCacheNameDetails·as·workbox_core_setCacheNameDetails}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.mjs';\nimport·{precacheAndRoute·as·workbox_precaching_precacheAndRoute}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n·*·Welcome·to·your·Workbox-powered·service·worker!\n·*\n·*·You'll·need·to·register·this·file·in·your·web·app.\n·*·See·https://goo.gl/nhQhGp\n·*\n·*·The·rest·of·the·code·is·auto-generated.·Please·don't·update·this·file\n·*·directly;·instead,·make·changes·to·your·Workbox·build·configuration\n·*·and·re-run·your·build·process.\n·*·See·https://goo.gl/2aRDsh\n·*/\n\n\n\n\n\nworkbox_core_setCacheNameDetails({prefix:·\"aw-webui\"});\n\n\nself.addEventListener('message',·(event)·=>·{\n··if·(event.data·&&·event.data.type·===·'SKIP_WAITING')·{\n····self.skipWaiting();\n··}\n});\n\n\n\n\n/**\n·*·The·precacheAndRoute()·method·efficiently·caches·and·responds·to\n·*·requests·for·URLs·in·the·manifest.\n·*·See·https://goo.gl/S9QRab\n·*/\nworkbox_precaching_precacheAndRoute([\n··{\n····\"url\":·\"/css/1523.3af55662.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1588.bd0bb219.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1814.63a247f6.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/185.be8e4b9a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2233.e1bcf8fb.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2352.af75f974.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/265.a9f5afc4.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2921.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2970.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3510.cd69135e.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3593.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/4067.dcf2e439.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/428.fdf3fbd9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/495.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5480.8f4f9eec.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/579.0a541622.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5812.38cfb433.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5966.c7b9176f.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6218.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6531.22cc2d8b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/663.692259ab.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6652.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6741.67d99f8a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7496.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7561.280efd83.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8027.04e35673.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8081.e565b3f9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8123.25aa2d67.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8327.64666c05.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8596.36d78776.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8599.3a3e658b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8665.f93fd221.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8932.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8948.643cd595.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9305.3e60e51d.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9399.af65a5d7.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/chunk-vendors.5a33e728.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/index.08a8e1ac.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/dark.css\",\n····\"revision\":·\"8bc8c75d670bba7c6ca0122c39beb964\"\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.72c5f1d4.woff2\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.ff576336.woff\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/index.html\",\n····\"revision\":·\"a3de05a92d1da006cdc9c32e24188e9a\"\n··},\n··{\n····\"url\":·\"/js/1064.703d75f1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1172.31a5da94.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1523.12118690.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1588.aa9f3f15.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1814.d46e9bc8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/185.62497fc3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2230.3215567d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2233.9a3f56f4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2352.1ad93c6c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2374.dc0764c4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/265.f78fd35d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2921.1334e082.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2970.077864a1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2972.abaf9c34.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3377.ab2c26e4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3510.d0330312.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3593.becd60e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3837.aa23cf66.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4033.1ef6ffc4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4067.477e9868.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/428.eac37ee4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4513.debf088d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4516.7aacfe2f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4773.c439ca8e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/495.a6e46481.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5013.56cf47a8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5034.3fc015f7.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5480.a2d6d5cf.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5649.f2a750a0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/579.b909463e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5793.6b12a4f9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5803.4b20c165.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5812.6233be92.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5966.66ce7a50.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6218.e53707fb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6514.43b09bcb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6531.e78f2219.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/663.97e7e4d3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6652.0a490cb9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6741.1161ef60.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7496.11fb35e2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7561.e7ca49b3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7634.34f19064.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8027.266a9611.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8081.a2aa8edc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8123.809ec791.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8191.6a088066.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8327.685ff366.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8376.f63b6151.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8596.0548d980.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8599.46e04f48.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8665.a0024995.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8880.24ca4277.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8932.31ef541c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8948.2ae593e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/901.21266bcc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9305.bd0d368f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9399.4c9cf5be.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9565.078d08a2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/980.0cf8e040.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/chunk-vendors.4b5dc043.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/index.38b10cd0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/logo.png\",\n····\"revision\":·\"3cbfce2efacc0dd8d09018233de4afa9\"\n··},\n··{\n····\"url\":·\"/logo.svg\",\n····\"revision\":·\"17fa81a8fc448f2c53f30514400a7c5c\"\n··},\n··{\n····\"url\":·\"/manifest.json\",\n····\"revision\":·\"f6c821dd0bf011176cfb914f2508764c\"\n··}\n],·{});\n\n\n\n\n\n\n\n\n"],"names":["workbox_core_setCacheNameDetails","prefix","self","addEventListener","event","data","type","skipWaiting","workbox_precaching_precacheAndRoute","url","revision"],"mappings":"inBAiBAA,EAAAA,oBAAiC,CAACC,OAAQ,aAG1CC,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAYTC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,kCACPC,SAAY,MAEd,CACED,IAAO,0BACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,gCACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,iBACPC,SAAY,qCAEb,CAAA"}workbox-711a2045.jsdefine(["exports"],function(t){"use·strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const·e=(t,...e)=>{let·s=t;return·e.length>0&&(s+=`·::·${JSON.stringify(e)}`),s};class·s·extends·Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const·n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof·registration?registration.scope:""},i=t=>[n.prefix,t,n.suffix].filter(t=>t&&t.length>0).join("-"),r=t=>{(t=>{for(const·e·of·Object.keys(n))t(e)})(e=>{"string"==typeof·t[e]&&(n[e]=t[e])})},o=t=>t||i(n.precache),c=t=>t||i(n.runtime);try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const·a=t=>t&&"object"==typeof·t?t:{handle:t};class·h{constructor(t,e,s="GET"){this.handler=a(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=a(t)}}class·u·extends·h{constructor(t,e,s){super(({url:e})=>{const·s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return·s.slice(1)},e,s)}}class·l{constructor(){this.t=new·Map,this.i=new·Map}get·routes(){return·this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof·e&&(e=[e]);const·s=new·Request(...e);return·this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const·s=new·URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const·n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let·o=r&&r.handler;const·c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let·a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const·h=r&&r.catchHandler;return·a·instanceof·Promise&&(this.o||h)&&(a=a.catch(async·n=>{if(h)try{return·await·h.handle({url:s,request:t,event:e,params:i})}catch(t){t·instanceof·Error&&(n=t)}if(this.o)return·this.o.handle({url:s,request:t,event:e});throw·n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const·i=this.t.get(s.method)||[];for(const·r·of·i){let·i;const·o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return·i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof·o)&&(i=void·0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,a(t))}setCatchHandler(t){this.o=a(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw·new·s("unregister-route-but-not-found-with-method",{method:t.method});const·e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw·new·s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let·f;function·w(t,e){const·s=e();return·t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function·d(t){if(!t)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof·t){const·e=new·URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const·t=new·URL(n,location.href);return{cacheKey:t.href,url:t.href}}const·i=new·URL(n,location.href),r=new·URL(n,location.href);return·i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class·p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest·instanceof·Request){const·t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return·s}}}class·y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const·s=(null==e?void·0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return·s?new·Request(s,{headers:t.headers}):t},this.h=t}}let·g;async·function·R(t,e){let·n=null;if(t.url){n=new·URL(t.url).origin}if(n!==self.location.origin)throw·new·s("cross-origin-copy-response",{origin:n});const·i=t.clone(),r={headers:new·Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void·0===g){const·t=new·Response("");if("body"in·t)try{new·Response(t.body),g=!0}catch(t){g=!1}g=!1}return·g}()?i.body:await·i.blob();return·new·Response(c,o)}function·m(t,e){const·s=new·URL(t);for(const·t·of·e)s.searchParams.delete(t);return·s.href}class·v{constructor(){this.promise=new·Promise((t,e)=>{this.resolve=t,this.reject=e})}}const·q=new·Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function·U(t){return"string"==typeof·t?new·Request(t):t}class·b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new·v,this.R=[],this.m=[...t.plugins],this.v=new·Map;for(const·t·of·this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async·fetch(t){const{event:e}=this;let·n=U(t);if("navigate"===n.mode&&e·instanceof·FetchEvent&&e.preloadResponse){const·t=await·e.preloadResponse;if(t)return·t}const·i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const·t·of·this.iterateCallbacks("requestWillFetch"))n=await·t({request:n.clone(),event:e})}catch(t){if(t·instanceof·Error)throw·new·s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const·r=n.clone();try{let·t;t=await·fetch(n,"navigate"===n.mode?void·0:this.l.fetchOptions);for(const·s·of·this.iterateCallbacks("fetchDidSucceed"))t=await·s({event:e,request:r,response:t});return·t}catch(t){throw·i&&await·this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async·fetchAndCachePut(t){const·e=await·this.fetch(t),s=e.clone();return·this.waitUntil(this.cachePut(t,s)),e}async·cacheMatch(t){const·e=U(t);let·s;const{cacheName:n,matchOptions:i}=this.l,r=await·this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await·caches.match(r,o);for(const·t·of·this.iterateCallbacks("cachedResponseWillBeUsed"))s=await·t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void·0;return·s}async·cachePut(t,e){const·n=U(t);var·i;await(i=0,new·Promise(t=>setTimeout(t,i)));const·r=await·this.getCacheKey(n,"write");if(!e)throw·new·s("cache-put-with-no-response",{url:(o=r.url,new·URL(String(o),location.href).href.replace(new·RegExp(`^${location.origin}`),""))});var·o;const·c=await·this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await·self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await·async·function(t,e,s,n){const·i=m(e.url,s);if(e.url===i)return·t.match(e,n);const·r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await·t.keys(e,r);for(const·e·of·o)if(i===m(e.url,s))return·t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await·u.put(r,l?c.clone():c)}catch(t){if(t·instanceof·Error)throw"QuotaExceededError"===t.name&&await·async·function(){for(const·t·of·q)await·t()}(),t}for(const·t·of·this.iterateCallbacks("cacheDidUpdate"))await·t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async·getCacheKey(t,e){const·s=`${t.url}·|·${e}`;if(!this.u[s]){let·n=t;for(const·t·of·this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await·t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return·this.u[s]}hasCallback(t){for(const·e·of·this.l.plugins)if(t·in·e)return!0;return!1}async·runCallbacks(t,e){for(const·s·of·this.iterateCallbacks(t))await·s(e)}*iterateCallbacks(t){for(const·e·of·this.l.plugins)if("function"==typeof·e[t]){const·s=this.v.get(e),n=n=>{const·i=Object.assign(Object.assign({},n),{state:s});return·e[t](i)};yield·n}}waitUntil(t){return·this.R.push(t),t}async·doneWaiting(){let·t;for(;t=this.R.shift();)await·t}destroy(){this.p.resolve(null)}async·q(t){let·e=t,s=!1;for(const·t·of·this.iterateCallbacks("cacheWillUpdate"))if(e=await·t({request:this.request,response:e,event:this.event})||void·0,s=!0,!e)break;return·s||e&&200!==e.status&&(e=void·0),e}}class·L{constructor(t={}){this.cacheName=c(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return·e}handleAll(t){t·instanceof·FetchEvent&&(t={event:t,request:t.request});const·e=t.event,s="string"==typeof·t.request?new·Request(t.request):t.request,n="params"in·t?t.params:void·0,i=new·b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async·U(t,e,n){let·i;await·t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await·this._(e,t),!i||"error"===i.type)throw·new·s("no-response",{url:e.url})}catch(s){if(s·instanceof·Error)for(const·r·of·t.iterateCallbacks("handlerDidError"))if(i=await·r({error:s,event:n,request:e}),i)break;if(!i)throw·s}for(const·s·of·t.iterateCallbacks("handlerWillRespond"))i=await·s({event:n,request:e,response:i});return·i}async·L(t,e,s,n){let·i,r;try{i=await·t}catch(r){}try{await·e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await·e.doneWaiting()}catch(t){t·instanceof·Error&&(r=t)}if(await·e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw·r}}class·C·extends·L{constructor(t={}){t.cacheName=o(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async·_(t,e){const·s=await·e.cacheMatch(t);return·s||(e.event&&"install"===e.event.type?await·this.O(t,e):await·this.N(t,e))}async·N(t,e){let·n;const·i=e.params||{};if(!this.C)throw·new·s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const·s=i.integrity,r=t.integrity,o=!r||r===s;n=await·e.fetch(new·Request(t,{integrity:"no-cors"!==t.mode?r||s:void·0})),s&&o&&"no-cors"!==t.mode&&(this.j(),await·e.cachePut(t,n.clone()))}return·n}async·O(t,e){this.j();const·n=await·e.fetch(t);if(!await·e.cachePut(t,n.clone()))throw·new·s("bad-precaching-response",{url:t.url,status:n.status});return·n}j(){let·t=null,e=0;for(const[s,n]of·this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await·R(t):t};class·E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new·Map,this.K=new·Map,this.T=new·Map,this.l=new·C({cacheName:o(t),plugins:[...e,new·y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get·strategy(){return·this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const·e=[];for(const·n·of·t){"string"==typeof·n?e.push(n):n&&void·0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof·n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw·new·s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof·n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw·new·s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const·t=`Workbox·is·precaching·URLs·without·revision·info:·${e.join(",·")}\nThis·is·generally·NOT·safe.·Learn·more·at·https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return·w(t,async()=>{const·e=new·p;this.strategy.plugins.push(e);for(const[e,s]of·this.k){const·n=this.T.get(s),i=this.K.get(e),r=new·Request(e,{integrity:n,cache:i,credentials:"same-origin"});await·Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return·w(t,async()=>{const·t=await·self.caches.open(this.strategy.cacheName),e=await·t.keys(),s=new·Set(this.k.values()),n=[];for(const·i·of·e)s.has(i.url)||(await·t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return·this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const·e=new·URL(t,location.href);return·this.k.get(e.href)}getIntegrityForCacheKey(t){return·this.T.get(t)}async·matchPrecache(t){const·e=t·instanceof·Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await·self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const·e=this.getCacheKeyForURL(t);if(!e)throw·new·s("non-precached-url",{url:t});return·s=>(s.request=new·Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let·O;const·x=()=>(O||(O=new·E),O);class·N·extends·h{constructor(t,e){super(({request:s})=>{const·n=t.getURLsToCacheKeys();for(const·i·of·function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const·r=new·URL(t,location.href);r.hash="",yield·r.href;const·o=function(t,e=[]){for(const·s·of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return·t}(r,e);if(yield·o.href,s&&o.pathname.endsWith("/")){const·t=new·URL(o.href);t.pathname+=s,yield·t.href}if(n){const·t=new·URL(o.href);t.pathname+=".html",yield·t.href}if(i){const·t=i({url:r});for(const·e·of·t)yield·e.href}}(s.url,e)){const·e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}function·j(t){const·e=x();!function(t,e,n){let·i;if("string"==typeof·t){const·s=new·URL(t,location.href);i=new·h(({url:t})=>t.href===s.href,e,n)}else·if(t·instanceof·RegExp)i=new·u(t,e,n);else·if("function"==typeof·t)i=new·h(t,e,n);else{if(!(t·instanceof·h))throw·new·s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});i=t}(f||(f=new·l,f.addFetchListener(),f.addCacheListener()),f).registerRoute(i)}(new·N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),j(e)},t.setCacheNameDetails=function(t){r(t)}});\n |
| 6249 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n | 6249 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n |
| 6250 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,ECxBJ,MAAMI,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC,QAAS,UACTC,OAAgC,oBAAjBC,aAA+BA,aAAaC,MAAQ,IAEjEC,EAAoBC,GACf,CAACT,EAAkBG,OAAQM,EAAWT,EAAkBK,QAC1DK,OAAQC,GAAUA,GAASA,EAAMtB,OAAS,GAC1CuB,KAAK,KAODC,EACOjB,IANSkB,KACzB,IAAK,MAAMC,KAAOC,OAAOC,KAAKjB,GAC1Bc,EAAGC,IAKHG,CAAqBH,IACW,iBAAjBnB,EAAQmB,KACff,EAAkBe,GAAOnB,EAAQmB,OAJpCF,EAWSM,GACPA,GAAiBX,EAAiBR,EAAkBE,UAZtDW,EAiBQM,GACNA,GAAiBX,EAAiBR,EAAkBI,SCzCnE,IACIvB,KAAK,0BAA4BC,GACrC,CACA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ACjB,MAAMW,EAAiBX,EAAgB,CAAE3O,IAAKkE,IAC9C,IAAK,MAAMqL,KAAgBD,QACjBC,EAAapP,IAE3B,CACJ,CDAsCqP,CAAsBxO,EAAQhB,IAAKsH,GAAU,CACnE,MAAMnD,EAAWmK,EAAgB3L,IAAI4L,GACrC,GAAIpK,EAAU,CAEV,MAAO,CAAEA,WAAU4H,UADD9G,EAAmBgJ,wBAAwB9J,GAEjE,CACJ,GAMSc,EAAmBoC,SACpC,EG7BJ,SAASoI,EAASnI,GACd,MAAMrC,EAAqBmJ,KCK/B,SAAuBsB,EAASnQ,EAASI,GACrC,IAAI6C,EACJ,GAAuB,iBAAZkN,EAAsB,CAC7B,MAAMC,EAAa,IAAIxN,IAAIuN,EAASrP,SAASF,MAkC7CqC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsoctet-streamapplication/octet-streamcssAccess-Control-Request-Method/extension_cors_fairing\n | 6250 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KA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qC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsoctet-streamapplication/octet-streamcssAccess-Control-Request-Method/extension_cors_fairing\n |
| 6251 | ············settings.%Too·long·keysend·body·eosErrorindexResetGoAwayReasonIoBadCharBadEndKeepAliveClosedUtf8Errorvalid_up_toerror_lena·Display·implementation·returned·an·error·unexpectedlyParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorstream_iddependencyackpayloadWindowUpdatesize_incrementerror_codeParseBoolErrorParseCharErrorParseEmptyStringTooManyChars | 6251 | ············settings.%Too·long·keysend·body·eosErrorindexResetGoAwayReasonIoBadCharBadEndKeepAliveClosedUtf8Errorvalid_up_toerror_lena·Display·implementation·returned·an·error·unexpectedlyParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorstream_iddependencyackpayloadWindowUpdatesize_incrementerror_codeParseBoolErrorParseCharErrorParseEmptyStringTooManyChars |
| 6252 | ··[12efc90]··$^U���^[���1��M�. | 6252 | ··[12efc90]··$^U���^[���1��M�. |
| 6253 | ··[12efca2]··. | 6253 | ··[12efca2]··. |
| 6254 | ··[12efca4]··J�. | 6254 | ··[12efca4]··J�. |
| 6255 | ··[12efca8]··x�. | 6255 | ··[12efca8]··x�. |
| Offset 3315, 17 lines modified | Offset 3315, 17 lines modified | ||
| 3315 | ··0x01c92f00·01000000·00000000·7112b36a·00000000·........q..j.... | 3315 | ··0x01c92f00·01000000·00000000·7112b36a·00000000·........q..j.... |
| 3316 | ··0x01c92f10·05d84850·14de33ba·0af973fb·3696b28d·..HP..3...s.6... | 3316 | ··0x01c92f10·05d84850·14de33ba·0af973fb·3696b28d·..HP..3...s.6... |
| 3317 | ··0x01c92f20·fdd012e3·a8c1312b·8b5eb5fd·c9ef623b·......1+.^....b; | 3317 | ··0x01c92f20·fdd012e3·a8c1312b·8b5eb5fd·c9ef623b·......1+.^....b; |
| 3318 | ··0x01c92f30·ffffffff·ffffffff·00000000·00000000·................ | 3318 | ··0x01c92f30·ffffffff·ffffffff·00000000·00000000·................ |
| 3319 | ··0x01c92f40·24160000·00000000·00000000·00000000·$............... | 3319 | ··0x01c92f40·24160000·00000000·00000000·00000000·$............... |
| 3320 | ··0x01c92f50·15000000·00000000·01000000·00000000·................ | 3320 | ··0x01c92f50·15000000·00000000·01000000·00000000·................ |
| 3321 | ··0x01c92f60·7112b36a·00000000·01000000·00000000·q..j............ | 3321 | ··0x01c92f60·7112b36a·00000000·01000000·00000000·q..j............ |
| 3322 | ··0x01c92f70·7112b36a·00000000· | 3322 | ··0x01c92f70·7112b36a·00000000·dba9da40·d0ba3a1d·q..j.......@..:. |
| 3323 | ··0x01c92f80·9c1c566b·a64e37ef·fd332a77·3362aa68·..Vk.N7..3*w3b.h | ||
| 3324 | ··0x01c92f | 3323 | ··0x01c92f80·1962461f·e7c973f6·3d1e346a·e34e334c·.bF...s.=.4j.N3L |
| 3324 | ··0x01c92f90·209cdab8·2efb3778·ffffffff·ffffffff··.....7x........ | ||
| 3325 | ··0x01c92fa0·00000000·00000000·c6320000·00000000·.........2...... | 3325 | ··0x01c92fa0·00000000·00000000·c6320000·00000000·.........2...... |
| 3326 | ··0x01c92fb0·00000000·00000000·13000000·00000000·................ | 3326 | ··0x01c92fb0·00000000·00000000·13000000·00000000·................ |
| 3327 | ··0x01c92fc0·01000000·00000000·7112b36a·00000000·........q..j.... | 3327 | ··0x01c92fc0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 3328 | ··0x01c92fd0·01000000·00000000·7112b36a·00000000·........q..j.... | 3328 | ··0x01c92fd0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 3329 | ··0x01c92fe0·20303f36·731bff3a·555ee80b·a80b28e1··0?6s..:U^....(. | 3329 | ··0x01c92fe0·20303f36·731bff3a·555ee80b·a80b28e1··0?6s..:U^....(. |
| 3330 | ··0x01c92ff0·c477ab33·4de8aa7d·f618f6fc·ef7b58e0·.w.3M..}.....{X. | 3330 | ··0x01c92ff0·c477ab33·4de8aa7d·f618f6fc·ef7b58e0·.w.3M..}.....{X. |
| 3331 | ··0x01c93000·ffffffff·ffffffff·00000000·00000000·................ | 3331 | ··0x01c93000·ffffffff·ffffffff·00000000·00000000·................ |
| Offset 17035, 15 lines modified | Offset 17035, 15 lines modified | ||
| 17035 | ···················id="path4386"\n | 17035 | ···················id="path4386"\n |
| 17036 | ···················inkscape:connector-curvature="0"\n | 17036 | ···················inkscape:connector-curvature="0"\n |
| 17037 | ···················sodipodi:nodetypes="cc"·/>\n | 17037 | ···················sodipodi:nodetypes="cc"·/>\n |
| 17038 | ··············</g>\n | 17038 | ··············</g>\n |
| 17039 | ············</svg>\n | 17039 | ············</svg>\n |
| 17040 | ············manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n | 17040 | ············manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n |
| 17041 | ············//#·sourceMappingURL=service-worker.js.map\n | 17041 | ············//#·sourceMappingURL=service-worker.js.map\n |
| 17042 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/ | 17042 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/a8220021f322e65caa3148032e7bfd26/service-worker.js"],"sourcesContent":["import·{setCacheNameDetails·as·workbox_core_setCacheNameDetails}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.mjs';\nimport·{precacheAndRoute·as·workbox_precaching_precacheAndRoute}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n·*·Welcome·to·your·Workbox-powered·service·worker!\n·*\n·*·You'll·need·to·register·this·file·in·your·web·app.\n·*·See·https://goo.gl/nhQhGp\n·*\n·*·The·rest·of·the·code·is·auto-generated.·Please·don't·update·this·file\n·*·directly;·instead,·make·changes·to·your·Workbox·build·configuration\n·*·and·re-run·your·build·process.\n·*·See·https://goo.gl/2aRDsh\n·*/\n\n\n\n\n\nworkbox_core_setCacheNameDetails({prefix:·\"aw-webui\"});\n\n\nself.addEventListener('message',·(event)·=>·{\n··if·(event.data·&&·event.data.type·===·'SKIP_WAITING')·{\n····self.skipWaiting();\n··}\n});\n\n\n\n\n/**\n·*·The·precacheAndRoute()·method·efficiently·caches·and·responds·to\n·*·requests·for·URLs·in·the·manifest.\n·*·See·https://goo.gl/S9QRab\n·*/\nworkbox_precaching_precacheAndRoute([\n··{\n····\"url\":·\"/css/1523.3af55662.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1588.bd0bb219.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1814.63a247f6.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/185.be8e4b9a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2233.e1bcf8fb.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2352.af75f974.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/265.a9f5afc4.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2921.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2970.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3510.cd69135e.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3593.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/4067.dcf2e439.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/428.fdf3fbd9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/495.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5480.8f4f9eec.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/579.0a541622.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5812.38cfb433.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5966.c7b9176f.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6218.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6531.22cc2d8b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/663.692259ab.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6652.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6741.67d99f8a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7496.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7561.280efd83.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8027.04e35673.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8081.e565b3f9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8123.25aa2d67.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8327.64666c05.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8596.36d78776.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8599.3a3e658b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8665.f93fd221.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8932.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8948.643cd595.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9305.3e60e51d.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9399.af65a5d7.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/chunk-vendors.5a33e728.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/index.08a8e1ac.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/dark.css\",\n····\"revision\":·\"8bc8c75d670bba7c6ca0122c39beb964\"\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.72c5f1d4.woff2\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.ff576336.woff\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/index.html\",\n····\"revision\":·\"a3de05a92d1da006cdc9c32e24188e9a\"\n··},\n··{\n····\"url\":·\"/js/1064.703d75f1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1172.31a5da94.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1523.12118690.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1588.aa9f3f15.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1814.d46e9bc8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/185.62497fc3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2230.3215567d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2233.9a3f56f4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2352.1ad93c6c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2374.dc0764c4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/265.f78fd35d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2921.1334e082.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2970.077864a1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2972.abaf9c34.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3377.ab2c26e4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3510.d0330312.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3593.becd60e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3837.aa23cf66.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4033.1ef6ffc4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4067.477e9868.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/428.eac37ee4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4513.debf088d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4516.7aacfe2f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4773.c439ca8e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/495.a6e46481.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5013.56cf47a8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5034.3fc015f7.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5480.a2d6d5cf.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5649.f2a750a0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/579.b909463e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5793.6b12a4f9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5803.4b20c165.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5812.6233be92.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5966.66ce7a50.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6218.e53707fb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6514.43b09bcb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6531.e78f2219.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/663.97e7e4d3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6652.0a490cb9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6741.1161ef60.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7496.11fb35e2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7561.e7ca49b3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7634.34f19064.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8027.266a9611.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8081.a2aa8edc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8123.809ec791.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8191.6a088066.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8327.685ff366.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8376.f63b6151.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8596.0548d980.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8599.46e04f48.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8665.a0024995.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8880.24ca4277.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8932.31ef541c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8948.2ae593e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/901.21266bcc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9305.bd0d368f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9399.4c9cf5be.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9565.078d08a2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/980.0cf8e040.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/chunk-vendors.4b5dc043.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/index.38b10cd0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/logo.png\",\n····\"revision\":·\"3cbfce2efacc0dd8d09018233de4afa9\"\n··},\n··{\n····\"url\":·\"/logo.svg\",\n····\"revision\":·\"17fa81a8fc448f2c53f30514400a7c5c\"\n··},\n··{\n····\"url\":·\"/manifest.json\",\n····\"revision\":·\"f6c821dd0bf011176cfb914f2508764c\"\n··}\n],·{});\n\n\n\n\n\n\n\n\n"],"names":["workbox_core_setCacheNameDetails","prefix","self","addEventListener","event","data","type","skipWaiting","workbox_precaching_precacheAndRoute","url","revision"],"mappings":"inBAiBAA,EAAAA,oBAAiC,CAACC,OAAQ,aAG1CC,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAYTC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,kCACPC,SAAY,MAEd,CACED,IAAO,0BACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,gCACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,iBACPC,SAAY,qCAEb,CAAA"}workbox-711a2045.jsdefine(["exports"],function(t){"use·strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const·e=(t,...e)=>{let·s=t;return·e.length>0&&(s+=`·::·${JSON.stringify(e)}`),s};class·s·extends·Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const·n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof·registration?registration.scope:""},i=t=>[n.prefix,t,n.suffix].filter(t=>t&&t.length>0).join("-"),r=t=>{(t=>{for(const·e·of·Object.keys(n))t(e)})(e=>{"string"==typeof·t[e]&&(n[e]=t[e])})},o=t=>t||i(n.precache),c=t=>t||i(n.runtime);try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const·a=t=>t&&"object"==typeof·t?t:{handle:t};class·h{constructor(t,e,s="GET"){this.handler=a(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=a(t)}}class·u·extends·h{constructor(t,e,s){super(({url:e})=>{const·s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return·s.slice(1)},e,s)}}class·l{constructor(){this.t=new·Map,this.i=new·Map}get·routes(){return·this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof·e&&(e=[e]);const·s=new·Request(...e);return·this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const·s=new·URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const·n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let·o=r&&r.handler;const·c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let·a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const·h=r&&r.catchHandler;return·a·instanceof·Promise&&(this.o||h)&&(a=a.catch(async·n=>{if(h)try{return·await·h.handle({url:s,request:t,event:e,params:i})}catch(t){t·instanceof·Error&&(n=t)}if(this.o)return·this.o.handle({url:s,request:t,event:e});throw·n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const·i=this.t.get(s.method)||[];for(const·r·of·i){let·i;const·o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return·i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof·o)&&(i=void·0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,a(t))}setCatchHandler(t){this.o=a(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw·new·s("unregister-route-but-not-found-with-method",{method:t.method});const·e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw·new·s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let·f;function·w(t,e){const·s=e();return·t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function·d(t){if(!t)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof·t){const·e=new·URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const·t=new·URL(n,location.href);return{cacheKey:t.href,url:t.href}}const·i=new·URL(n,location.href),r=new·URL(n,location.href);return·i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class·p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest·instanceof·Request){const·t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return·s}}}class·y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const·s=(null==e?void·0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return·s?new·Request(s,{headers:t.headers}):t},this.h=t}}let·g;async·function·R(t,e){let·n=null;if(t.url){n=new·URL(t.url).origin}if(n!==self.location.origin)throw·new·s("cross-origin-copy-response",{origin:n});const·i=t.clone(),r={headers:new·Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void·0===g){const·t=new·Response("");if("body"in·t)try{new·Response(t.body),g=!0}catch(t){g=!1}g=!1}return·g}()?i.body:await·i.blob();return·new·Response(c,o)}function·m(t,e){const·s=new·URL(t);for(const·t·of·e)s.searchParams.delete(t);return·s.href}class·v{constructor(){this.promise=new·Promise((t,e)=>{this.resolve=t,this.reject=e})}}const·q=new·Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function·U(t){return"string"==typeof·t?new·Request(t):t}class·b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new·v,this.R=[],this.m=[...t.plugins],this.v=new·Map;for(const·t·of·this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async·fetch(t){const{event:e}=this;let·n=U(t);if("navigate"===n.mode&&e·instanceof·FetchEvent&&e.preloadResponse){const·t=await·e.preloadResponse;if(t)return·t}const·i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const·t·of·this.iterateCallbacks("requestWillFetch"))n=await·t({request:n.clone(),event:e})}catch(t){if(t·instanceof·Error)throw·new·s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const·r=n.clone();try{let·t;t=await·fetch(n,"navigate"===n.mode?void·0:this.l.fetchOptions);for(const·s·of·this.iterateCallbacks("fetchDidSucceed"))t=await·s({event:e,request:r,response:t});return·t}catch(t){throw·i&&await·this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async·fetchAndCachePut(t){const·e=await·this.fetch(t),s=e.clone();return·this.waitUntil(this.cachePut(t,s)),e}async·cacheMatch(t){const·e=U(t);let·s;const{cacheName:n,matchOptions:i}=this.l,r=await·this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await·caches.match(r,o);for(const·t·of·this.iterateCallbacks("cachedResponseWillBeUsed"))s=await·t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void·0;return·s}async·cachePut(t,e){const·n=U(t);var·i;await(i=0,new·Promise(t=>setTimeout(t,i)));const·r=await·this.getCacheKey(n,"write");if(!e)throw·new·s("cache-put-with-no-response",{url:(o=r.url,new·URL(String(o),location.href).href.replace(new·RegExp(`^${location.origin}`),""))});var·o;const·c=await·this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await·self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await·async·function(t,e,s,n){const·i=m(e.url,s);if(e.url===i)return·t.match(e,n);const·r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await·t.keys(e,r);for(const·e·of·o)if(i===m(e.url,s))return·t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await·u.put(r,l?c.clone():c)}catch(t){if(t·instanceof·Error)throw"QuotaExceededError"===t.name&&await·async·function(){for(const·t·of·q)await·t()}(),t}for(const·t·of·this.iterateCallbacks("cacheDidUpdate"))await·t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async·getCacheKey(t,e){const·s=`${t.url}·|·${e}`;if(!this.u[s]){let·n=t;for(const·t·of·this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await·t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return·this.u[s]}hasCallback(t){for(const·e·of·this.l.plugins)if(t·in·e)return!0;return!1}async·runCallbacks(t,e){for(const·s·of·this.iterateCallbacks(t))await·s(e)}*iterateCallbacks(t){for(const·e·of·this.l.plugins)if("function"==typeof·e[t]){const·s=this.v.get(e),n=n=>{const·i=Object.assign(Object.assign({},n),{state:s});return·e[t](i)};yield·n}}waitUntil(t){return·this.R.push(t),t}async·doneWaiting(){let·t;for(;t=this.R.shift();)await·t}destroy(){this.p.resolve(null)}async·q(t){let·e=t,s=!1;for(const·t·of·this.iterateCallbacks("cacheWillUpdate"))if(e=await·t({request:this.request,response:e,event:this.event})||void·0,s=!0,!e)break;return·s||e&&200!==e.status&&(e=void·0),e}}class·L{constructor(t={}){this.cacheName=c(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return·e}handleAll(t){t·instanceof·FetchEvent&&(t={event:t,request:t.request});const·e=t.event,s="string"==typeof·t.request?new·Request(t.request):t.request,n="params"in·t?t.params:void·0,i=new·b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async·U(t,e,n){let·i;await·t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await·this._(e,t),!i||"error"===i.type)throw·new·s("no-response",{url:e.url})}catch(s){if(s·instanceof·Error)for(const·r·of·t.iterateCallbacks("handlerDidError"))if(i=await·r({error:s,event:n,request:e}),i)break;if(!i)throw·s}for(const·s·of·t.iterateCallbacks("handlerWillRespond"))i=await·s({event:n,request:e,response:i});return·i}async·L(t,e,s,n){let·i,r;try{i=await·t}catch(r){}try{await·e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await·e.doneWaiting()}catch(t){t·instanceof·Error&&(r=t)}if(await·e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw·r}}class·C·extends·L{constructor(t={}){t.cacheName=o(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async·_(t,e){const·s=await·e.cacheMatch(t);return·s||(e.event&&"install"===e.event.type?await·this.O(t,e):await·this.N(t,e))}async·N(t,e){let·n;const·i=e.params||{};if(!this.C)throw·new·s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const·s=i.integrity,r=t.integrity,o=!r||r===s;n=await·e.fetch(new·Request(t,{integrity:"no-cors"!==t.mode?r||s:void·0})),s&&o&&"no-cors"!==t.mode&&(this.j(),await·e.cachePut(t,n.clone()))}return·n}async·O(t,e){this.j();const·n=await·e.fetch(t);if(!await·e.cachePut(t,n.clone()))throw·new·s("bad-precaching-response",{url:t.url,status:n.status});return·n}j(){let·t=null,e=0;for(const[s,n]of·this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await·R(t):t};class·E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new·Map,this.K=new·Map,this.T=new·Map,this.l=new·C({cacheName:o(t),plugins:[...e,new·y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get·strategy(){return·this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const·e=[];for(const·n·of·t){"string"==typeof·n?e.push(n):n&&void·0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof·n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw·new·s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof·n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw·new·s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const·t=`Workbox·is·precaching·URLs·without·revision·info:·${e.join(",·")}\nThis·is·generally·NOT·safe.·Learn·more·at·https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return·w(t,async()=>{const·e=new·p;this.strategy.plugins.push(e);for(const[e,s]of·this.k){const·n=this.T.get(s),i=this.K.get(e),r=new·Request(e,{integrity:n,cache:i,credentials:"same-origin"});await·Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return·w(t,async()=>{const·t=await·self.caches.open(this.strategy.cacheName),e=await·t.keys(),s=new·Set(this.k.values()),n=[];for(const·i·of·e)s.has(i.url)||(await·t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return·this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const·e=new·URL(t,location.href);return·this.k.get(e.href)}getIntegrityForCacheKey(t){return·this.T.get(t)}async·matchPrecache(t){const·e=t·instanceof·Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await·self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const·e=this.getCacheKeyForURL(t);if(!e)throw·new·s("non-precached-url",{url:t});return·s=>(s.request=new·Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let·O;const·x=()=>(O||(O=new·E),O);class·N·extends·h{constructor(t,e){super(({request:s})=>{const·n=t.getURLsToCacheKeys();for(const·i·of·function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const·r=new·URL(t,location.href);r.hash="",yield·r.href;const·o=function(t,e=[]){for(const·s·of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return·t}(r,e);if(yield·o.href,s&&o.pathname.endsWith("/")){const·t=new·URL(o.href);t.pathname+=s,yield·t.href}if(n){const·t=new·URL(o.href);t.pathname+=".html",yield·t.href}if(i){const·t=i({url:r});for(const·e·of·t)yield·e.href}}(s.url,e)){const·e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}function·j(t){const·e=x();!function(t,e,n){let·i;if("string"==typeof·t){const·s=new·URL(t,location.href);i=new·h(({url:t})=>t.href===s.href,e,n)}else·if(t·instanceof·RegExp)i=new·u(t,e,n);else·if("function"==typeof·t)i=new·h(t,e,n);else{if(!(t·instanceof·h))throw·new·s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});i=t}(f||(f=new·l,f.addFetchListener(),f.addCacheListener()),f).registerRoute(i)}(new·N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),j(e)},t.setCacheNameDetails=function(t){r(t)}});\n |
| 17043 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n | 17043 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n |
| 17044 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","fun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AI6C,EACJ,GAAuB,iBAAZkN,EAAsB,CAC7B,MAAMC,EAAa,IAAIxN,IAAIuN,EAASrP,SAASF,MAkC7CqC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsapplicationoctet-streamapplication/octet-streamcssAccess-Control-Request-Method/extension_cors_fairingheartbeataw-watcher-web-ShieldStateinnerExtensionCorsScopeApiKeyCheckHostCheckReservedLocalReservedRemotelocalremoteHalfClosedLocalClosedErrorindexAwaitingHeadersStreamingUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEndEndStreamScheduledLibraryReseta·Display·implementation·returned·an·error·unexpectedly() | 17044 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,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EzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsapplicationoctet-streamapplication/octet-streamcssAccess-Control-Request-Method/extension_cors_fairingheartbeataw-watcher-web-ShieldStateinnerExtensionCorsScopeApiKeyCheckHostCheckReservedLocalReservedRemotelocalremoteHalfClosedLocalClosedErrorindexAwaitingHeadersStreamingUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEndEndStreamScheduledLibraryReseta·Display·implementation·returned·an·error·unexpectedly() |
| 17045 | ··[132c121]··LJ��OJ��ZJ��TJ�yVJ��QJ��\J��]J�>YJ��_J��SJ��^J��QJ�:�J�l�J�:�J���J�:�J�:�J�:�J�:�J�B�J��J�:�J�:�J�:�J�:�J�:�J�:�J��J���J�:�J�:�J�S�J��J�:�J�^T�J�:�J���J�)�J�8�J�G�J���J�q�J���J�j�J�V�J���J��J���J���J�^V�J���J��J��J���J���J�k�J�\�J��J�b�J���J�~�J���J�/�J���J�V�J�G�J�G�J��J�^[�J���J���J�^�J���J�+�J�^\�J���J�9�J�<�J�-�J���J���J�Y�J��^LK��^LK���J�2�J�K^OK��^VK��^VK��^OK��^WK�^F"K��!K�^^^XK�[#K�w*K�h*K��#K��+K��2K��2K��+K��3K��;K�~;K�B4K��<K�^UEK�^FEK�^I=K��>K��FK�[IK�LIK�rGK�[JK��LK��LK�'KK��NK�pSK�aSK�9OK�WOK��SK�^�SK��PK��RK��RK��RK��RK��TK��YK�}YK��TK��TK��YK��YK�"VK��XK��XK��XK��XK��ZK�w_K�h_K��ZK�^W[K��_K��_K�C\K�q^K��^K��^K��^K��`K��bK��bK��`K�%bK�LbK�@bK�8bK�[cK�^EhK��gK��cK��cK�.hK�^ThK��dK�6gK�jgK�ggK�bgK�+iK��mK��mK�iiK��iK��mK��mK��jK��lK�9mK�5mK�0mK��nK��qK��qK�(oK� | 17045 | ··[132c121]··LJ��OJ��ZJ��TJ�yVJ��QJ��\J��]J�>YJ��_J��SJ��^J��QJ�:�J�l�J�:�J���J�:�J�:�J�:�J�:�J�B�J��J�:�J�:�J�:�J�:�J�:�J�:�J��J���J�:�J�:�J�S�J��J�:�J�^T�J�:�J���J�)�J�8�J�G�J���J�q�J���J�j�J�V�J���J��J���J���J�^V�J���J��J��J���J���J�k�J�\�J��J�b�J���J�~�J���J�/�J���J�V�J�G�J�G�J��J�^[�J���J���J�^�J���J�+�J�^\�J���J�9�J�<�J�-�J���J���J�Y�J��^LK��^LK���J�2�J�K^OK��^VK��^VK��^OK��^WK�^F"K��!K�^^^XK�[#K�w*K�h*K��#K��+K��2K��2K��+K��3K��;K�~;K�B4K��<K�^UEK�^FEK�^I=K��>K��FK�[IK�LIK�rGK�[JK��LK��LK�'KK��NK�pSK�aSK�9OK�WOK��SK�^�SK��PK��RK��RK��RK��RK��TK��YK�}YK��TK��TK��YK��YK�"VK��XK��XK��XK��XK��ZK�w_K�h_K��ZK�^W[K��_K��_K�C\K�q^K��^K��^K��^K��`K��bK��bK��`K�%bK�LbK�@bK�8bK�[cK�^EhK��gK��cK��cK�.hK�^ThK��dK�6gK�jgK�ggK�bgK�+iK��mK��mK�iiK��iK��mK��mK��jK��lK�9mK�5mK�0mK��nK��qK��qK�(oK� |
| 17046 | ··[132c426]··K�p�K�9�K�X�K�^^�K���K���K���K�^] | 17046 | ··[132c426]··K�p�K�9�K�X�K�^^�K���K���K���K�^] |
| 17047 | ··[132c446]··L���K�^B | 17047 | ··[132c446]··L���K�^B |
| 17048 | ··[132c44e]··L�w | 17048 | ··[132c44e]··L�w |
| 17049 | ··[132c452]··L�^W^AL�� | 17049 | ··[132c452]··L�^W^AL�� |
| Offset 1735, 16 lines modified | Offset 1735, 16 lines modified | ||
| 1735 | ··0x02520f10·d3000000·a5944001·11000000·01000000·......@......... | 1735 | ··0x02520f10·d3000000·a5944001·11000000·01000000·......@......... |
| 1736 | ··0x02520f20·7112b36a·00000000·01000000·7112b36a·q..j........q..j | 1736 | ··0x02520f20·7112b36a·00000000·01000000·7112b36a·q..j........q..j |
| 1737 | ··0x02520f30·00000000·05d84850·14de33ba·0af973fb·......HP..3...s. | 1737 | ··0x02520f30·00000000·05d84850·14de33ba·0af973fb·......HP..3...s. |
| 1738 | ··0x02520f40·3696b28d·fdd012e3·a8c1312b·8b5eb5fd·6.........1+.^.. | 1738 | ··0x02520f40·3696b28d·fdd012e3·a8c1312b·8b5eb5fd·6.........1+.^.. |
| 1739 | ··0x02520f50·c9ef623b·ffffffff·b6944001·24160000·..b;......@.$... | 1739 | ··0x02520f50·c9ef623b·ffffffff·b6944001·24160000·..b;......@.$... |
| 1740 | ··0x02520f60·daaa4001·15000000·01000000·7112b36a·..@.........q..j | 1740 | ··0x02520f60·daaa4001·15000000·01000000·7112b36a·..@.........q..j |
| 1741 | ··0x02520f70·00000000·01000000·7112b36a·00000000·........q..j.... | 1741 | ··0x02520f70·00000000·01000000·7112b36a·00000000·........q..j.... |
| 1742 | ··0x02520f80·c654fa7e·e419ca1e·9c1c566b·a64e37ef·.T.~......Vk.N7. | ||
| 1743 | ··0x02520f | 1742 | ··0x02520f80·dba9da40·d0ba3a1d·1962461f·e7c973f6·...@..:..bF...s. |
| 1743 | ··0x02520f90·3d1e346a·e34e334c·209cdab8·2efb3778·=.4j.N3L·.....7x | ||
| 1744 | ··0x02520fa0·ffffffff·efaa4001·c6320000·b5dd4001·......@..2....@. | 1744 | ··0x02520fa0·ffffffff·efaa4001·c6320000·b5dd4001·......@..2....@. |
| 1745 | ··0x02520fb0·13000000·01000000·7112b36a·00000000·........q..j.... | 1745 | ··0x02520fb0·13000000·01000000·7112b36a·00000000·........q..j.... |
| 1746 | ··0x02520fc0·01000000·7112b36a·00000000·20303f36·....q..j....·0?6 | 1746 | ··0x02520fc0·01000000·7112b36a·00000000·20303f36·....q..j....·0?6 |
| 1747 | ··0x02520fd0·731bff3a·555ee80b·a80b28e1·c477ab33·s..:U^....(..w.3 | 1747 | ··0x02520fd0·731bff3a·555ee80b·a80b28e1·c477ab33·s..:U^....(..w.3 |
| 1748 | ··0x02520fe0·4de8aa7d·f618f6fc·ef7b58e0·ffffffff·M..}.....{X..... | 1748 | ··0x02520fe0·4de8aa7d·f618f6fc·ef7b58e0·ffffffff·M..}.....{X..... |
| 1749 | ··0x02520ff0·c8dd4001·42380000·0a164101·17000000·..@.B8....A..... | 1749 | ··0x02520ff0·c8dd4001·42380000·0a164101·17000000·..@.B8....A..... |
| 1750 | ··0x02521000·01000000·7112b36a·00000000·01000000·....q..j........ | 1750 | ··0x02521000·01000000·7112b36a·00000000·01000000·....q..j........ |
| Offset 1540, 16 lines modified | Offset 1540, 16 lines modified | ||
| 1540 | ··0x01d26fd0·d3000000·357d3701·11000000·01000000·....5}7......... | 1540 | ··0x01d26fd0·d3000000·357d3701·11000000·01000000·....5}7......... |
| 1541 | ··0x01d26fe0·7112b36a·00000000·01000000·7112b36a·q..j........q..j | 1541 | ··0x01d26fe0·7112b36a·00000000·01000000·7112b36a·q..j........q..j |
| 1542 | ··0x01d26ff0·00000000·05d84850·14de33ba·0af973fb·......HP..3...s. | 1542 | ··0x01d26ff0·00000000·05d84850·14de33ba·0af973fb·......HP..3...s. |
| 1543 | ··0x01d27000·3696b28d·fdd012e3·a8c1312b·8b5eb5fd·6.........1+.^.. | 1543 | ··0x01d27000·3696b28d·fdd012e3·a8c1312b·8b5eb5fd·6.........1+.^.. |
| 1544 | ··0x01d27010·c9ef623b·ffffffff·467d3701·24160000·..b;....F}7.$... | 1544 | ··0x01d27010·c9ef623b·ffffffff·467d3701·24160000·..b;....F}7.$... |
| 1545 | ··0x01d27020·6a933701·15000000·01000000·7112b36a·j.7.........q..j | 1545 | ··0x01d27020·6a933701·15000000·01000000·7112b36a·j.7.........q..j |
| 1546 | ··0x01d27030·00000000·01000000·7112b36a·00000000·........q..j.... | 1546 | ··0x01d27030·00000000·01000000·7112b36a·00000000·........q..j.... |
| 1547 | ··0x01d27040·c654fa7e·e419ca1e·9c1c566b·a64e37ef·.T.~......Vk.N7. | ||
| 1548 | ··0x01d270 | 1547 | ··0x01d27040·dba9da40·d0ba3a1d·1962461f·e7c973f6·...@..:..bF...s. |
| 1548 | ··0x01d27050·3d1e346a·e34e334c·209cdab8·2efb3778·=.4j.N3L·.....7x | ||
| 1549 | ··0x01d27060·ffffffff·7f933701·c6320000·45c63701·......7..2..E.7. | 1549 | ··0x01d27060·ffffffff·7f933701·c6320000·45c63701·......7..2..E.7. |
| 1550 | ··0x01d27070·13000000·01000000·7112b36a·00000000·........q..j.... | 1550 | ··0x01d27070·13000000·01000000·7112b36a·00000000·........q..j.... |
| 1551 | ··0x01d27080·01000000·7112b36a·00000000·20303f36·....q..j....·0?6 | 1551 | ··0x01d27080·01000000·7112b36a·00000000·20303f36·....q..j....·0?6 |
| 1552 | ··0x01d27090·731bff3a·555ee80b·a80b28e1·c477ab33·s..:U^....(..w.3 | 1552 | ··0x01d27090·731bff3a·555ee80b·a80b28e1·c477ab33·s..:U^....(..w.3 |
| 1553 | ··0x01d270a0·4de8aa7d·f618f6fc·ef7b58e0·ffffffff·M..}.....{X..... | 1553 | ··0x01d270a0·4de8aa7d·f618f6fc·ef7b58e0·ffffffff·M..}.....{X..... |
| 1554 | ··0x01d270b0·58c63701·42380000·9afe3701·17000000·X.7.B8....7..... | 1554 | ··0x01d270b0·58c63701·42380000·9afe3701·17000000·X.7.B8....7..... |
| 1555 | ··0x01d270c0·01000000·7112b36a·00000000·01000000·....q..j........ | 1555 | ··0x01d270c0·01000000·7112b36a·00000000·01000000·....q..j........ |
| Offset 2140, 17 lines modified | Offset 2140, 17 lines modified | ||
| 2140 | ··0x01e2a610·01000000·00000000·7112b36a·00000000·........q..j.... | 2140 | ··0x01e2a610·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2141 | ··0x01e2a620·01000000·00000000·7112b36a·00000000·........q..j.... | 2141 | ··0x01e2a620·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2142 | ··0x01e2a630·05d84850·14de33ba·0af973fb·3696b28d·..HP..3...s.6... | 2142 | ··0x01e2a630·05d84850·14de33ba·0af973fb·3696b28d·..HP..3...s.6... |
| 2143 | ··0x01e2a640·fdd012e3·a8c1312b·8b5eb5fd·c9ef623b·......1+.^....b; | 2143 | ··0x01e2a640·fdd012e3·a8c1312b·8b5eb5fd·c9ef623b·......1+.^....b; |
| 2144 | ··0x01e2a650·ffffffff·691e4001·24160000·00000000·....i.@.$....... | 2144 | ··0x01e2a650·ffffffff·691e4001·24160000·00000000·....i.@.$....... |
| 2145 | ··0x01e2a660·8d344001·15000000·01000000·00000000·.4@............. | 2145 | ··0x01e2a660·8d344001·15000000·01000000·00000000·.4@............. |
| 2146 | ··0x01e2a670·7112b36a·00000000·01000000·00000000·q..j............ | 2146 | ··0x01e2a670·7112b36a·00000000·01000000·00000000·q..j............ |
| 2147 | ··0x01e2a680·7112b36a·00000000· | 2147 | ··0x01e2a680·7112b36a·00000000·dba9da40·d0ba3a1d·q..j.......@..:. |
| 2148 | ··0x01e2a690· | 2148 | ··0x01e2a690·1962461f·e7c973f6·3d1e346a·e34e334c·.bF...s.=.4j.N3L |
| 2149 | ··0x01e2a6a0· | 2149 | ··0x01e2a6a0·209cdab8·2efb3778·ffffffff·a2344001··.....7x.....4@. |
| 2150 | ··0x01e2a6b0·c6320000·00000000·68674001·13000000·.2......hg@..... | 2150 | ··0x01e2a6b0·c6320000·00000000·68674001·13000000·.2......hg@..... |
| 2151 | ··0x01e2a6c0·01000000·00000000·7112b36a·00000000·........q..j.... | 2151 | ··0x01e2a6c0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2152 | ··0x01e2a6d0·01000000·00000000·7112b36a·00000000·........q..j.... | 2152 | ··0x01e2a6d0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2153 | ··0x01e2a6e0·20303f36·731bff3a·555ee80b·a80b28e1··0?6s..:U^....(. | 2153 | ··0x01e2a6e0·20303f36·731bff3a·555ee80b·a80b28e1··0?6s..:U^....(. |
| 2154 | ··0x01e2a6f0·c477ab33·4de8aa7d·f618f6fc·ef7b58e0·.w.3M..}.....{X. | 2154 | ··0x01e2a6f0·c477ab33·4de8aa7d·f618f6fc·ef7b58e0·.w.3M..}.....{X. |
| 2155 | ··0x01e2a700·ffffffff·7b674001·42380000·00000000·....{g@.B8...... | 2155 | ··0x01e2a700·ffffffff·7b674001·42380000·00000000·....{g@.B8...... |
| 2156 | ··0x01e2a710·bd9f4001·17000000·01000000·00000000·..@............. | 2156 | ··0x01e2a710·bd9f4001·17000000·01000000·00000000·..@............. |
| Offset 5976, 15 lines modified | Offset 5976, 15 lines modified | ||
| 5976 | ···················id="path4386"\n | 5976 | ···················id="path4386"\n |
| 5977 | ···················inkscape:connector-curvature="0"\n | 5977 | ···················inkscape:connector-curvature="0"\n |
| 5978 | ···················sodipodi:nodetypes="cc"·/>\n | 5978 | ···················sodipodi:nodetypes="cc"·/>\n |
| 5979 | ··············</g>\n | 5979 | ··············</g>\n |
| 5980 | ············</svg>\n | 5980 | ············</svg>\n |
| 5981 | ··[12bf9c0]··manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n | 5981 | ··[12bf9c0]··manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn�t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})});\n |
| 5982 | ············//#·sourceMappingURL=service-worker.js.map\n | 5982 | ············//#·sourceMappingURL=service-worker.js.map\n |
| 5983 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/ | 5983 | ············service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/a8220021f322e65caa3148032e7bfd26/service-worker.js"],"sourcesContent":["import·{setCacheNameDetails·as·workbox_core_setCacheNameDetails}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.mjs';\nimport·{precacheAndRoute·as·workbox_precaching_precacheAndRoute}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n·*·Welcome·to·your·Workbox-powered·service·worker!\n·*\n·*·You'll·need·to·register·this·file·in·your·web·app.\n·*·See·https://goo.gl/nhQhGp\n·*\n·*·The·rest·of·the·code·is·auto-generated.·Please·don't·update·this·file\n·*·directly;·instead,·make·changes·to·your·Workbox·build·configuration\n·*·and·re-run·your·build·process.\n·*·See·https://goo.gl/2aRDsh\n·*/\n\n\n\n\n\nworkbox_core_setCacheNameDetails({prefix:·\"aw-webui\"});\n\n\nself.addEventListener('message',·(event)·=>·{\n··if·(event.data·&&·event.data.type·===·'SKIP_WAITING')·{\n····self.skipWaiting();\n··}\n});\n\n\n\n\n/**\n·*·The·precacheAndRoute()·method·efficiently·caches·and·responds·to\n·*·requests·for·URLs·in·the·manifest.\n·*·See·https://goo.gl/S9QRab\n·*/\nworkbox_precaching_precacheAndRoute([\n··{\n····\"url\":·\"/css/1523.3af55662.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1588.bd0bb219.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1814.63a247f6.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/185.be8e4b9a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2233.e1bcf8fb.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2352.af75f974.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/265.a9f5afc4.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2921.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2970.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3510.cd69135e.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3593.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/4067.dcf2e439.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/428.fdf3fbd9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/495.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5480.8f4f9eec.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/579.0a541622.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5812.38cfb433.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5966.c7b9176f.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6218.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6531.22cc2d8b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/663.692259ab.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6652.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6741.67d99f8a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7496.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7561.280efd83.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8027.04e35673.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8081.e565b3f9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8123.25aa2d67.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8327.64666c05.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8596.36d78776.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8599.3a3e658b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8665.f93fd221.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8932.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8948.643cd595.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9305.3e60e51d.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9399.af65a5d7.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/chunk-vendors.5a33e728.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/index.08a8e1ac.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/dark.css\",\n····\"revision\":·\"8bc8c75d670bba7c6ca0122c39beb964\"\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.72c5f1d4.woff2\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.ff576336.woff\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/index.html\",\n····\"revision\":·\"a3de05a92d1da006cdc9c32e24188e9a\"\n··},\n··{\n····\"url\":·\"/js/1064.703d75f1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1172.31a5da94.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1523.12118690.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1588.aa9f3f15.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1814.d46e9bc8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/185.62497fc3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2230.3215567d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2233.9a3f56f4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2352.1ad93c6c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2374.dc0764c4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/265.f78fd35d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2921.1334e082.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2970.077864a1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2972.abaf9c34.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3377.ab2c26e4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3510.d0330312.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3593.becd60e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3837.aa23cf66.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4033.1ef6ffc4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4067.477e9868.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/428.eac37ee4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4513.debf088d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4516.7aacfe2f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4773.c439ca8e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/495.a6e46481.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5013.56cf47a8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5034.3fc015f7.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5480.a2d6d5cf.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5649.f2a750a0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/579.b909463e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5793.6b12a4f9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5803.4b20c165.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5812.6233be92.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5966.66ce7a50.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6218.e53707fb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6514.43b09bcb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6531.e78f2219.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/663.97e7e4d3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6652.0a490cb9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6741.1161ef60.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7496.11fb35e2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7561.e7ca49b3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7634.34f19064.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8027.266a9611.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8081.a2aa8edc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8123.809ec791.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8191.6a088066.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8327.685ff366.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8376.f63b6151.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8596.0548d980.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8599.46e04f48.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8665.a0024995.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8880.24ca4277.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8932.31ef541c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8948.2ae593e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/901.21266bcc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9305.bd0d368f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9399.4c9cf5be.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9565.078d08a2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/980.0cf8e040.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/chunk-vendors.4b5dc043.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/index.38b10cd0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/logo.png\",\n····\"revision\":·\"3cbfce2efacc0dd8d09018233de4afa9\"\n··},\n··{\n····\"url\":·\"/logo.svg\",\n····\"revision\":·\"17fa81a8fc448f2c53f30514400a7c5c\"\n··},\n··{\n····\"url\":·\"/manifest.json\",\n····\"revision\":·\"f6c821dd0bf011176cfb914f2508764c\"\n··}\n],·{});\n\n\n\n\n\n\n\n\n"],"names":["workbox_core_setCacheNameDetails","prefix","self","addEventListener","event","data","type","skipWaiting","workbox_precaching_precacheAndRoute","url","revision"],"mappings":"inBAiBAA,EAAAA,oBAAiC,CAACC,OAAQ,aAG1CC,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAYTC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,kCACPC,SAAY,MAEd,CACED,IAAO,0BACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,gCACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,iBACPC,SAAY,qCAEb,CAAA"}workbox-711a2045.jsdefine(["exports"],function(t){"use·strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const·e=(t,...e)=>{let·s=t;return·e.length>0&&(s+=`·::·${JSON.stringify(e)}`),s};class·s·extends·Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const·n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof·registration?registration.scope:""},i=t=>[n.prefix,t,n.suffix].filter(t=>t&&t.length>0).join("-"),r=t=>{(t=>{for(const·e·of·Object.keys(n))t(e)})(e=>{"string"==typeof·t[e]&&(n[e]=t[e])})},o=t=>t||i(n.precache),c=t=>t||i(n.runtime);try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const·a=t=>t&&"object"==typeof·t?t:{handle:t};class·h{constructor(t,e,s="GET"){this.handler=a(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=a(t)}}class·u·extends·h{constructor(t,e,s){super(({url:e})=>{const·s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return·s.slice(1)},e,s)}}class·l{constructor(){this.t=new·Map,this.i=new·Map}get·routes(){return·this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof·e&&(e=[e]);const·s=new·Request(...e);return·this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const·s=new·URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const·n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let·o=r&&r.handler;const·c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let·a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const·h=r&&r.catchHandler;return·a·instanceof·Promise&&(this.o||h)&&(a=a.catch(async·n=>{if(h)try{return·await·h.handle({url:s,request:t,event:e,params:i})}catch(t){t·instanceof·Error&&(n=t)}if(this.o)return·this.o.handle({url:s,request:t,event:e});throw·n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const·i=this.t.get(s.method)||[];for(const·r·of·i){let·i;const·o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return·i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof·o)&&(i=void·0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,a(t))}setCatchHandler(t){this.o=a(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw·new·s("unregister-route-but-not-found-with-method",{method:t.method});const·e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw·new·s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let·f;function·w(t,e){const·s=e();return·t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function·d(t){if(!t)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof·t){const·e=new·URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const·t=new·URL(n,location.href);return{cacheKey:t.href,url:t.href}}const·i=new·URL(n,location.href),r=new·URL(n,location.href);return·i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class·p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest·instanceof·Request){const·t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return·s}}}class·y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const·s=(null==e?void·0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return·s?new·Request(s,{headers:t.headers}):t},this.h=t}}let·g;async·function·R(t,e){let·n=null;if(t.url){n=new·URL(t.url).origin}if(n!==self.location.origin)throw·new·s("cross-origin-copy-response",{origin:n});const·i=t.clone(),r={headers:new·Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void·0===g){const·t=new·Response("");if("body"in·t)try{new·Response(t.body),g=!0}catch(t){g=!1}g=!1}return·g}()?i.body:await·i.blob();return·new·Response(c,o)}function·m(t,e){const·s=new·URL(t);for(const·t·of·e)s.searchParams.delete(t);return·s.href}class·v{constructor(){this.promise=new·Promise((t,e)=>{this.resolve=t,this.reject=e})}}const·q=new·Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function·U(t){return"string"==typeof·t?new·Request(t):t}class·b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new·v,this.R=[],this.m=[...t.plugins],this.v=new·Map;for(const·t·of·this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async·fetch(t){const{event:e}=this;let·n=U(t);if("navigate"===n.mode&&e·instanceof·FetchEvent&&e.preloadResponse){const·t=await·e.preloadResponse;if(t)return·t}const·i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const·t·of·this.iterateCallbacks("requestWillFetch"))n=await·t({request:n.clone(),event:e})}catch(t){if(t·instanceof·Error)throw·new·s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const·r=n.clone();try{let·t;t=await·fetch(n,"navigate"===n.mode?void·0:this.l.fetchOptions);for(const·s·of·this.iterateCallbacks("fetchDidSucceed"))t=await·s({event:e,request:r,response:t});return·t}catch(t){throw·i&&await·this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async·fetchAndCachePut(t){const·e=await·this.fetch(t),s=e.clone();return·this.waitUntil(this.cachePut(t,s)),e}async·cacheMatch(t){const·e=U(t);let·s;const{cacheName:n,matchOptions:i}=this.l,r=await·this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await·caches.match(r,o);for(const·t·of·this.iterateCallbacks("cachedResponseWillBeUsed"))s=await·t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void·0;return·s}async·cachePut(t,e){const·n=U(t);var·i;await(i=0,new·Promise(t=>setTimeout(t,i)));const·r=await·this.getCacheKey(n,"write");if(!e)throw·new·s("cache-put-with-no-response",{url:(o=r.url,new·URL(String(o),location.href).href.replace(new·RegExp(`^${location.origin}`),""))});var·o;const·c=await·this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await·self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await·async·function(t,e,s,n){const·i=m(e.url,s);if(e.url===i)return·t.match(e,n);const·r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await·t.keys(e,r);for(const·e·of·o)if(i===m(e.url,s))return·t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await·u.put(r,l?c.clone():c)}catch(t){if(t·instanceof·Error)throw"QuotaExceededError"===t.name&&await·async·function(){for(const·t·of·q)await·t()}(),t}for(const·t·of·this.iterateCallbacks("cacheDidUpdate"))await·t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async·getCacheKey(t,e){const·s=`${t.url}·|·${e}`;if(!this.u[s]){let·n=t;for(const·t·of·this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await·t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return·this.u[s]}hasCallback(t){for(const·e·of·this.l.plugins)if(t·in·e)return!0;return!1}async·runCallbacks(t,e){for(const·s·of·this.iterateCallbacks(t))await·s(e)}*iterateCallbacks(t){for(const·e·of·this.l.plugins)if("function"==typeof·e[t]){const·s=this.v.get(e),n=n=>{const·i=Object.assign(Object.assign({},n),{state:s});return·e[t](i)};yield·n}}waitUntil(t){return·this.R.push(t),t}async·doneWaiting(){let·t;for(;t=this.R.shift();)await·t}destroy(){this.p.resolve(null)}async·q(t){let·e=t,s=!1;for(const·t·of·this.iterateCallbacks("cacheWillUpdate"))if(e=await·t({request:this.request,response:e,event:this.event})||void·0,s=!0,!e)break;return·s||e&&200!==e.status&&(e=void·0),e}}class·L{constructor(t={}){this.cacheName=c(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return·e}handleAll(t){t·instanceof·FetchEvent&&(t={event:t,request:t.request});const·e=t.event,s="string"==typeof·t.request?new·Request(t.request):t.request,n="params"in·t?t.params:void·0,i=new·b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async·U(t,e,n){let·i;await·t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await·this._(e,t),!i||"error"===i.type)throw·new·s("no-response",{url:e.url})}catch(s){if(s·instanceof·Error)for(const·r·of·t.iterateCallbacks("handlerDidError"))if(i=await·r({error:s,event:n,request:e}),i)break;if(!i)throw·s}for(const·s·of·t.iterateCallbacks("handlerWillRespond"))i=await·s({event:n,request:e,response:i});return·i}async·L(t,e,s,n){let·i,r;try{i=await·t}catch(r){}try{await·e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await·e.doneWaiting()}catch(t){t·instanceof·Error&&(r=t)}if(await·e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw·r}}class·C·extends·L{constructor(t={}){t.cacheName=o(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async·_(t,e){const·s=await·e.cacheMatch(t);return·s||(e.event&&"install"===e.event.type?await·this.O(t,e):await·this.N(t,e))}async·N(t,e){let·n;const·i=e.params||{};if(!this.C)throw·new·s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const·s=i.integrity,r=t.integrity,o=!r||r===s;n=await·e.fetch(new·Request(t,{integrity:"no-cors"!==t.mode?r||s:void·0})),s&&o&&"no-cors"!==t.mode&&(this.j(),await·e.cachePut(t,n.clone()))}return·n}async·O(t,e){this.j();const·n=await·e.fetch(t);if(!await·e.cachePut(t,n.clone()))throw·new·s("bad-precaching-response",{url:t.url,status:n.status});return·n}j(){let·t=null,e=0;for(const[s,n]of·this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await·R(t):t};class·E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new·Map,this.K=new·Map,this.T=new·Map,this.l=new·C({cacheName:o(t),plugins:[...e,new·y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get·strategy(){return·this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const·e=[];for(const·n·of·t){"string"==typeof·n?e.push(n):n&&void·0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof·n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw·new·s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof·n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw·new·s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const·t=`Workbox·is·precaching·URLs·without·revision·info:·${e.join(",·")}\nThis·is·generally·NOT·safe.·Learn·more·at·https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return·w(t,async()=>{const·e=new·p;this.strategy.plugins.push(e);for(const[e,s]of·this.k){const·n=this.T.get(s),i=this.K.get(e),r=new·Request(e,{integrity:n,cache:i,credentials:"same-origin"});await·Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return·w(t,async()=>{const·t=await·self.caches.open(this.strategy.cacheName),e=await·t.keys(),s=new·Set(this.k.values()),n=[];for(const·i·of·e)s.has(i.url)||(await·t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return·this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const·e=new·URL(t,location.href);return·this.k.get(e.href)}getIntegrityForCacheKey(t){return·this.T.get(t)}async·matchPrecache(t){const·e=t·instanceof·Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await·self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const·e=this.getCacheKeyForURL(t);if(!e)throw·new·s("non-precached-url",{url:t});return·s=>(s.request=new·Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let·O;const·x=()=>(O||(O=new·E),O);class·N·extends·h{constructor(t,e){super(({request:s})=>{const·n=t.getURLsToCacheKeys();for(const·i·of·function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const·r=new·URL(t,location.href);r.hash="",yield·r.href;const·o=function(t,e=[]){for(const·s·of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return·t}(r,e);if(yield·o.href,s&&o.pathname.endsWith("/")){const·t=new·URL(o.href);t.pathname+=s,yield·t.href}if(n){const·t=new·URL(o.href);t.pathname+=".html",yield·t.href}if(i){const·t=i({url:r});for(const·e·of·t)yield·e.href}}(s.url,e)){const·e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}function·j(t){const·e=x();!function(t,e,n){let·i;if("string"==typeof·t){const·s=new·URL(t,location.href);i=new·h(({url:t})=>t.href===s.href,e,n)}else·if(t·instanceof·RegExp)i=new·u(t,e,n);else·if("function"==typeof·t)i=new·h(t,e,n);else{if(!(t·instanceof·h))throw·new·s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});i=t}(f||(f=new·l,f.addFetchListener(),f.addCacheListener()),f).registerRoute(i)}(new·N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),j(e)},t.setCacheNameDetails=function(t){r(t)}});\n |
| 5984 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n | 5984 | ············//#·sourceMappingURL=workbox-711a2045.js.map\n |
| 5985 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,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B,MAAMC,EAAa,IAAIxN,IAAIuN,EAASrP,SAASF,MAkC7CqC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}multipartform-datamultipart/form-dataapplicationx-www-form-urlencodedapplication/x-www-form-urlencoded&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsoctet-streamapplication/octet-streamcssstateheaderscontent_dispositioncontent_typeidxFieldShieldackpayloadExtensionCorsScopeApiKeyCheckHostCheckUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEnda·Display·implementation·returned·an·error·unexpectedlyErrorlayoutContentDispositionfield_namefile_nameassertion·failed:·cnt·<=·self.limitParseIntErrorEmptyInvalidDigitPosOverflowNegOverflowNotAPowerOfTwo()^E | 5985 | ············workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EA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4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}multipartform-datamultipart/form-dataapplicationx-www-form-urlencodedapplication/x-www-form-urlencoded&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsjsoctet-streamapplication/octet-streamcssstateheaderscontent_dispositioncontent_typeidxFieldShieldackpayloadExtensionCorsScopeApiKeyCheckHostCheckUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEnda·Display·implementation·returned·an·error·unexpectedlyErrorlayoutContentDispositionfield_namefile_nameassertion·failed:·cnt·<=·self.limitParseIntErrorEmptyInvalidDigitPosOverflowNegOverflowNotAPowerOfTwo()^E |
| 5986 | ··[12e9f4c]··ctrlcsignalsgracemercyforce___figment_relative_metadata_path___figment_relative_pathaddressworkersmax_blockingidentlimits___figment_relative_path_bufkeep_alivelog_levelip_headercli_colorsdefaultstruct·Config·with·12·elementsstruct·Shutdown·with·5·elementsstruct·RelativePathBuf·with·2·elementsaw_models::timeinterval___figment_tagged_itemvisit_value·called·before·visit_keyqueue·not·emptyParseErrorEmptyHostIdnaErrorInvalidPortInvalidIpv4AddressInvalidIpv6AddressInvalidDomainCharacterRelativeUrlWithoutBaseSetHostOnCannotBeABaseUrl^I | 5986 | ··[12e9f4c]··ctrlcsignalsgracemercyforce___figment_relative_metadata_path___figment_relative_pathaddressworkersmax_blockingidentlimits___figment_relative_path_bufkeep_alivelog_levelip_headercli_colorsdefaultstruct·Config·with·12·elementsstruct·Shutdown·with·5·elementsstruct·RelativePathBuf·with·2·elementsaw_models::timeinterval___figment_tagged_itemvisit_value·called·before·visit_keyqueue·not·emptyParseErrorEmptyHostIdnaErrorInvalidPortInvalidIpv4AddressInvalidIpv6AddressInvalidDomainCharacterRelativeUrlWithoutBaseSetHostOnCannotBeABaseUrl^I |
| 5987 | ··[12ea17c]··· | 5987 | ··[12ea17c]··· |
| 5988 | ··[12ea188]··assertion·failed:·match·track_edge_idx·{\n | 5988 | ··[12ea188]··assertion·failed:·match·track_edge_idx·{\n |
| 5989 | ················LeftOrRight::Left(idx)·=>·idx·<=·old_left_len,\n | 5989 | ················LeftOrRight::Left(idx)·=>·idx·<=·old_left_len,\n |
| 5990 | ················LeftOrRight::Right(idx)·=>·idx·<=·right_len,\n | 5990 | ················LeftOrRight::Right(idx)·=>·idx·<=·right_len,\n |
| Offset 1946, 16 lines modified | Offset 1946, 16 lines modified | ||
| 1946 | ··0x01928350·7112b36a·00000000·01000000·00000000·q..j............ | 1946 | ··0x01928350·7112b36a·00000000·01000000·00000000·q..j............ |
| 1947 | ··0x01928360·7112b36a·00000000·05d84850·14de33ba·q..j......HP..3. | 1947 | ··0x01928360·7112b36a·00000000·05d84850·14de33ba·q..j......HP..3. |
| 1948 | ··0x01928370·0af973fb·3696b28d·fdd012e3·a8c1312b·..s.6.........1+ | 1948 | ··0x01928370·0af973fb·3696b28d·fdd012e3·a8c1312b·..s.6.........1+ |
| 1949 | ··0x01928380·8b5eb5fd·c9ef623b·ffffffff·31ab3401·.^....b;....1.4. | 1949 | ··0x01928380·8b5eb5fd·c9ef623b·ffffffff·31ab3401·.^....b;....1.4. |
| 1950 | ··0x01928390·24160000·00000000·55c13401·15000000·$.......U.4..... | 1950 | ··0x01928390·24160000·00000000·55c13401·15000000·$.......U.4..... |
| 1951 | ··0x019283a0·01000000·00000000·7112b36a·00000000·........q..j.... | 1951 | ··0x019283a0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 1952 | ··0x019283b0·01000000·00000000·7112b36a·00000000·........q..j.... | 1952 | ··0x019283b0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 1953 | ··0x019283c0·c654fa7e·e419ca1e·9c1c566b·a64e37ef·.T.~......Vk.N7. | ||
| 1954 | ··0x019283 | 1953 | ··0x019283c0·dba9da40·d0ba3a1d·1962461f·e7c973f6·...@..:..bF...s. |
| 1954 | ··0x019283d0·3d1e346a·e34e334c·209cdab8·2efb3778·=.4j.N3L·.....7x | ||
| 1955 | ··0x019283e0·ffffffff·6ac13401·c6320000·00000000·....j.4..2...... | 1955 | ··0x019283e0·ffffffff·6ac13401·c6320000·00000000·....j.4..2...... |
| 1956 | ··0x019283f0·30f43401·13000000·01000000·00000000·0.4............. | 1956 | ··0x019283f0·30f43401·13000000·01000000·00000000·0.4............. |
| 1957 | ··0x01928400·7112b36a·00000000·01000000·00000000·q..j............ | 1957 | ··0x01928400·7112b36a·00000000·01000000·00000000·q..j............ |
| 1958 | ··0x01928410·7112b36a·00000000·20303f36·731bff3a·q..j....·0?6s..: | 1958 | ··0x01928410·7112b36a·00000000·20303f36·731bff3a·q..j....·0?6s..: |
| 1959 | ··0x01928420·555ee80b·a80b28e1·c477ab33·4de8aa7d·U^....(..w.3M..} | 1959 | ··0x01928420·555ee80b·a80b28e1·c477ab33·4de8aa7d·U^....(..w.3M..} |
| 1960 | ··0x01928430·f618f6fc·ef7b58e0·ffffffff·43f43401·.....{X.....C.4. | 1960 | ··0x01928430·f618f6fc·ef7b58e0·ffffffff·43f43401·.....{X.....C.4. |
| 1961 | ··0x01928440·42380000·00000000·852c3501·17000000·B8.......,5..... | 1961 | ··0x01928440·42380000·00000000·852c3501·17000000·B8.......,5..... |
| Offset 17024, 15 lines modified | Offset 17024, 15 lines modified | ||
| 17024 | ·······d="m·400,452.3622·33,-37" | 17024 | ·······d="m·400,452.3622·33,-37" |
| 17025 | ·······id="path4386" | 17025 | ·······id="path4386" |
| 17026 | ·······inkscape:connector-curvature="0" | 17026 | ·······inkscape:connector-curvature="0" |
| 17027 | ·······sodipodi:nodetypes="cc"·/> | 17027 | ·······sodipodi:nodetypes="cc"·/> |
| 17028 | manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn | 17028 | manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn |
| 17029 | t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})}); | 17029 | t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})}); |
| 17030 | //#·sourceMappingURL=service-worker.js.map | 17030 | //#·sourceMappingURL=service-worker.js.map |
| 17031 | service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/ | 17031 | service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/a8220021f322e65caa3148032e7bfd26/service-worker.js"],"sourcesContent":["import·{setCacheNameDetails·as·workbox_core_setCacheNameDetails}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.mjs';\nimport·{precacheAndRoute·as·workbox_precaching_precacheAndRoute}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n·*·Welcome·to·your·Workbox-powered·service·worker!\n·*\n·*·You'll·need·to·register·this·file·in·your·web·app.\n·*·See·https://goo.gl/nhQhGp\n·*\n·*·The·rest·of·the·code·is·auto-generated.·Please·don't·update·this·file\n·*·directly;·instead,·make·changes·to·your·Workbox·build·configuration\n·*·and·re-run·your·build·process.\n·*·See·https://goo.gl/2aRDsh\n·*/\n\n\n\n\n\nworkbox_core_setCacheNameDetails({prefix:·\"aw-webui\"});\n\n\nself.addEventListener('message',·(event)·=>·{\n··if·(event.data·&&·event.data.type·===·'SKIP_WAITING')·{\n····self.skipWaiting();\n··}\n});\n\n\n\n\n/**\n·*·The·precacheAndRoute()·method·efficiently·caches·and·responds·to\n·*·requests·for·URLs·in·the·manifest.\n·*·See·https://goo.gl/S9QRab\n·*/\nworkbox_precaching_precacheAndRoute([\n··{\n····\"url\":·\"/css/1523.3af55662.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1588.bd0bb219.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1814.63a247f6.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/185.be8e4b9a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2233.e1bcf8fb.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2352.af75f974.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/265.a9f5afc4.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2921.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2970.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3510.cd69135e.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3593.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/4067.dcf2e439.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/428.fdf3fbd9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/495.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5480.8f4f9eec.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/579.0a541622.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5812.38cfb433.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5966.c7b9176f.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6218.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6531.22cc2d8b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/663.692259ab.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6652.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6741.67d99f8a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7496.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7561.280efd83.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8027.04e35673.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8081.e565b3f9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8123.25aa2d67.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8327.64666c05.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8596.36d78776.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8599.3a3e658b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8665.f93fd221.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8932.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8948.643cd595.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9305.3e60e51d.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9399.af65a5d7.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/chunk-vendors.5a33e728.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/index.08a8e1ac.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/dark.css\",\n····\"revision\":·\"8bc8c75d670bba7c6ca0122c39beb964\"\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.72c5f1d4.woff2\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.ff576336.woff\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/index.html\",\n····\"revision\":·\"a3de05a92d1da006cdc9c32e24188e9a\"\n··},\n··{\n····\"url\":·\"/js/1064.703d75f1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1172.31a5da94.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1523.12118690.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1588.aa9f3f15.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1814.d46e9bc8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/185.62497fc3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2230.3215567d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2233.9a3f56f4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2352.1ad93c6c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2374.dc0764c4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/265.f78fd35d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2921.1334e082.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2970.077864a1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2972.abaf9c34.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3377.ab2c26e4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3510.d0330312.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3593.becd60e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3837.aa23cf66.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4033.1ef6ffc4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4067.477e9868.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/428.eac37ee4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4513.debf088d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4516.7aacfe2f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4773.c439ca8e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/495.a6e46481.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5013.56cf47a8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5034.3fc015f7.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5480.a2d6d5cf.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5649.f2a750a0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/579.b909463e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5793.6b12a4f9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5803.4b20c165.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5812.6233be92.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5966.66ce7a50.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6218.e53707fb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6514.43b09bcb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6531.e78f2219.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/663.97e7e4d3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6652.0a490cb9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6741.1161ef60.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7496.11fb35e2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7561.e7ca49b3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7634.34f19064.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8027.266a9611.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8081.a2aa8edc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8123.809ec791.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8191.6a088066.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8327.685ff366.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8376.f63b6151.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8596.0548d980.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8599.46e04f48.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8665.a0024995.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8880.24ca4277.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8932.31ef541c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8948.2ae593e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/901.21266bcc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9305.bd0d368f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9399.4c9cf5be.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9565.078d08a2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/980.0cf8e040.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/chunk-vendors.4b5dc043.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/index.38b10cd0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/logo.png\",\n····\"revision\":·\"3cbfce2efacc0dd8d09018233de4afa9\"\n··},\n··{\n····\"url\":·\"/logo.svg\",\n····\"revision\":·\"17fa81a8fc448f2c53f30514400a7c5c\"\n··},\n··{\n····\"url\":·\"/manifest.json\",\n····\"revision\":·\"f6c821dd0bf011176cfb914f2508764c\"\n··}\n],·{});\n\n\n\n\n\n\n\n\n"],"names":["workbox_core_setCacheNameDetails","prefix","self","addEventListener","event","data","type","skipWaiting","workbox_precaching_precacheAndRoute","url","revision"],"mappings":"inBAiBAA,EAAAA,oBAAiC,CAACC,OAAQ,aAG1CC,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAYTC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,kCACPC,SAAY,MAEd,CACED,IAAO,0BACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,gCACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,iBACPC,SAAY,qCAEb,CAAA"}workbox-711a2045.jsdefine(["exports"],function(t){"use·strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const·e=(t,...e)=>{let·s=t;return·e.length>0&&(s+=`·::·${JSON.stringify(e)}`),s};class·s·extends·Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const·n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof·registration?registration.scope:""},i=t=>[n.prefix,t,n.suffix].filter(t=>t&&t.length>0).join("-"),r=t=>{(t=>{for(const·e·of·Object.keys(n))t(e)})(e=>{"string"==typeof·t[e]&&(n[e]=t[e])})},o=t=>t||i(n.precache),c=t=>t||i(n.runtime);try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const·a=t=>t&&"object"==typeof·t?t:{handle:t};class·h{constructor(t,e,s="GET"){this.handler=a(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=a(t)}}class·u·extends·h{constructor(t,e,s){super(({url:e})=>{const·s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return·s.slice(1)},e,s)}}class·l{constructor(){this.t=new·Map,this.i=new·Map}get·routes(){return·this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof·e&&(e=[e]);const·s=new·Request(...e);return·this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const·s=new·URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const·n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let·o=r&&r.handler;const·c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let·a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const·h=r&&r.catchHandler;return·a·instanceof·Promise&&(this.o||h)&&(a=a.catch(async·n=>{if(h)try{return·await·h.handle({url:s,request:t,event:e,params:i})}catch(t){t·instanceof·Error&&(n=t)}if(this.o)return·this.o.handle({url:s,request:t,event:e});throw·n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const·i=this.t.get(s.method)||[];for(const·r·of·i){let·i;const·o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return·i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof·o)&&(i=void·0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,a(t))}setCatchHandler(t){this.o=a(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw·new·s("unregister-route-but-not-found-with-method",{method:t.method});const·e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw·new·s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let·f;function·w(t,e){const·s=e();return·t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function·d(t){if(!t)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof·t){const·e=new·URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const·t=new·URL(n,location.href);return{cacheKey:t.href,url:t.href}}const·i=new·URL(n,location.href),r=new·URL(n,location.href);return·i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class·p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest·instanceof·Request){const·t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return·s}}}class·y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const·s=(null==e?void·0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return·s?new·Request(s,{headers:t.headers}):t},this.h=t}}let·g;async·function·R(t,e){let·n=null;if(t.url){n=new·URL(t.url).origin}if(n!==self.location.origin)throw·new·s("cross-origin-copy-response",{origin:n});const·i=t.clone(),r={headers:new·Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void·0===g){const·t=new·Response("");if("body"in·t)try{new·Response(t.body),g=!0}catch(t){g=!1}g=!1}return·g}()?i.body:await·i.blob();return·new·Response(c,o)}function·m(t,e){const·s=new·URL(t);for(const·t·of·e)s.searchParams.delete(t);return·s.href}class·v{constructor(){this.promise=new·Promise((t,e)=>{this.resolve=t,this.reject=e})}}const·q=new·Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function·U(t){return"string"==typeof·t?new·Request(t):t}class·b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new·v,this.R=[],this.m=[...t.plugins],this.v=new·Map;for(const·t·of·this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async·fetch(t){const{event:e}=this;let·n=U(t);if("navigate"===n.mode&&e·instanceof·FetchEvent&&e.preloadResponse){const·t=await·e.preloadResponse;if(t)return·t}const·i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const·t·of·this.iterateCallbacks("requestWillFetch"))n=await·t({request:n.clone(),event:e})}catch(t){if(t·instanceof·Error)throw·new·s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const·r=n.clone();try{let·t;t=await·fetch(n,"navigate"===n.mode?void·0:this.l.fetchOptions);for(const·s·of·this.iterateCallbacks("fetchDidSucceed"))t=await·s({event:e,request:r,response:t});return·t}catch(t){throw·i&&await·this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async·fetchAndCachePut(t){const·e=await·this.fetch(t),s=e.clone();return·this.waitUntil(this.cachePut(t,s)),e}async·cacheMatch(t){const·e=U(t);let·s;const{cacheName:n,matchOptions:i}=this.l,r=await·this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await·caches.match(r,o);for(const·t·of·this.iterateCallbacks("cachedResponseWillBeUsed"))s=await·t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void·0;return·s}async·cachePut(t,e){const·n=U(t);var·i;await(i=0,new·Promise(t=>setTimeout(t,i)));const·r=await·this.getCacheKey(n,"write");if(!e)throw·new·s("cache-put-with-no-response",{url:(o=r.url,new·URL(String(o),location.href).href.replace(new·RegExp(`^${location.origin}`),""))});var·o;const·c=await·this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await·self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await·async·function(t,e,s,n){const·i=m(e.url,s);if(e.url===i)return·t.match(e,n);const·r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await·t.keys(e,r);for(const·e·of·o)if(i===m(e.url,s))return·t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await·u.put(r,l?c.clone():c)}catch(t){if(t·instanceof·Error)throw"QuotaExceededError"===t.name&&await·async·function(){for(const·t·of·q)await·t()}(),t}for(const·t·of·this.iterateCallbacks("cacheDidUpdate"))await·t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async·getCacheKey(t,e){const·s=`${t.url}·|·${e}`;if(!this.u[s]){let·n=t;for(const·t·of·this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await·t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return·this.u[s]}hasCallback(t){for(const·e·of·this.l.plugins)if(t·in·e)return!0;return!1}async·runCallbacks(t,e){for(const·s·of·this.iterateCallbacks(t))await·s(e)}*iterateCallbacks(t){for(const·e·of·this.l.plugins)if("function"==typeof·e[t]){const·s=this.v.get(e),n=n=>{const·i=Object.assign(Object.assign({},n),{state:s});return·e[t](i)};yield·n}}waitUntil(t){return·this.R.push(t),t}async·doneWaiting(){let·t;for(;t=this.R.shift();)await·t}destroy(){this.p.resolve(null)}async·q(t){let·e=t,s=!1;for(const·t·of·this.iterateCallbacks("cacheWillUpdate"))if(e=await·t({request:this.request,response:e,event:this.event})||void·0,s=!0,!e)break;return·s||e&&200!==e.status&&(e=void·0),e}}class·L{constructor(t={}){this.cacheName=c(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return·e}handleAll(t){t·instanceof·FetchEvent&&(t={event:t,request:t.request});const·e=t.event,s="string"==typeof·t.request?new·Request(t.request):t.request,n="params"in·t?t.params:void·0,i=new·b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async·U(t,e,n){let·i;await·t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await·this._(e,t),!i||"error"===i.type)throw·new·s("no-response",{url:e.url})}catch(s){if(s·instanceof·Error)for(const·r·of·t.iterateCallbacks("handlerDidError"))if(i=await·r({error:s,event:n,request:e}),i)break;if(!i)throw·s}for(const·s·of·t.iterateCallbacks("handlerWillRespond"))i=await·s({event:n,request:e,response:i});return·i}async·L(t,e,s,n){let·i,r;try{i=await·t}catch(r){}try{await·e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await·e.doneWaiting()}catch(t){t·instanceof·Error&&(r=t)}if(await·e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw·r}}class·C·extends·L{constructor(t={}){t.cacheName=o(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async·_(t,e){const·s=await·e.cacheMatch(t);return·s||(e.event&&"install"===e.event.type?await·this.O(t,e):await·this.N(t,e))}async·N(t,e){let·n;const·i=e.params||{};if(!this.C)throw·new·s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const·s=i.integrity,r=t.integrity,o=!r||r===s;n=await·e.fetch(new·Request(t,{integrity:"no-cors"!==t.mode?r||s:void·0})),s&&o&&"no-cors"!==t.mode&&(this.j(),await·e.cachePut(t,n.clone()))}return·n}async·O(t,e){this.j();const·n=await·e.fetch(t);if(!await·e.cachePut(t,n.clone()))throw·new·s("bad-precaching-response",{url:t.url,status:n.status});return·n}j(){let·t=null,e=0;for(const[s,n]of·this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await·R(t):t};class·E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new·Map,this.K=new·Map,this.T=new·Map,this.l=new·C({cacheName:o(t),plugins:[...e,new·y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get·strategy(){return·this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const·e=[];for(const·n·of·t){"string"==typeof·n?e.push(n):n&&void·0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof·n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw·new·s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof·n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw·new·s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const·t=`Workbox·is·precaching·URLs·without·revision·info:·${e.join(",·")}\nThis·is·generally·NOT·safe.·Learn·more·at·https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return·w(t,async()=>{const·e=new·p;this.strategy.plugins.push(e);for(const[e,s]of·this.k){const·n=this.T.get(s),i=this.K.get(e),r=new·Request(e,{integrity:n,cache:i,credentials:"same-origin"});await·Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return·w(t,async()=>{const·t=await·self.caches.open(this.strategy.cacheName),e=await·t.keys(),s=new·Set(this.k.values()),n=[];for(const·i·of·e)s.has(i.url)||(await·t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return·this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const·e=new·URL(t,location.href);return·this.k.get(e.href)}getIntegrityForCacheKey(t){return·this.T.get(t)}async·matchPrecache(t){const·e=t·instanceof·Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await·self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const·e=this.getCacheKeyForURL(t);if(!e)throw·new·s("non-precached-url",{url:t});return·s=>(s.request=new·Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let·O;const·x=()=>(O||(O=new·E),O);class·N·extends·h{constructor(t,e){super(({request:s})=>{const·n=t.getURLsToCacheKeys();for(const·i·of·function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const·r=new·URL(t,location.href);r.hash="",yield·r.href;const·o=function(t,e=[]){for(const·s·of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return·t}(r,e);if(yield·o.href,s&&o.pathname.endsWith("/")){const·t=new·URL(o.href);t.pathname+=s,yield·t.href}if(n){const·t=new·URL(o.href);t.pathname+=".html",yield·t.href}if(i){const·t=i({url:r});for(const·e·of·t)yield·e.href}}(s.url,e)){const·e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}function·j(t){const·e=x();!function(t,e,n){let·i;if("string"==typeof·t){const·s=new·URL(t,location.href);i=new·h(({url:t})=>t.href===s.href,e,n)}else·if(t·instanceof·RegExp)i=new·u(t,e,n);else·if("function"==typeof·t)i=new·h(t,e,n);else{if(!(t·instanceof·h))throw·new·s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});i=t}(f||(f=new·l,f.addFetchListener(),f.addCacheListener()),f).registerRoute(i)}(new·N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),j(e)},t.setCacheNameDetails=function(t){r(t)}}); |
| 17032 | //#·sourceMappingURL=workbox-711a2045.js.map | 17032 | //#·sourceMappingURL=workbox-711a2045.js.map |
| 17033 | workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,ECxBJ,MAAMI,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC,QAAS,UACTC,OAAgC,oBAAjBC,aAA+BA,aAAaC,MAAQ,IAEjEC,EAAoBC,GACf,CAACT,EAAkBG,OAAQM,EAAWT,EAAkBK,QAC1DK,OAAQC,GAAUA,GAASA,EAAMtB,OAAS,GAC1CuB,KAAK,KAODC,EACOjB,IANSkB,KACzB,IAAK,MAAMC,KAAOC,OAAOC,KAAKjB,GAC1Bc,EAAGC,IAKHG,CAAqBH,IACW,iBAAjBnB,EAAQmB,KACff,EAAkBe,GAAOnB,EAAQmB,OAJpCF,EAWSM,GACPA,GAAiBX,EAAiBR,EAAkBE,UAZtDW,EAiBQM,GACNA,GAAiBX,EAAiBR,EAAkBI,SCzCnE,IACIvB,KAAK,0BAA4BC,GACrC,CACA,MAAOC,GAAG,CCWH,MCAMqC,EAAoBC,GACzBA,GAA8B,iBAAZA,EASXA,EAWA,CAAEC,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C,EAAapP,IAE3B,CACJ,CDAsCqP,CAAsBxO,EAAQhB,IAAKsH,GAAU,CACnE,MAAMnD,EAAWmK,EAAgB3L,IAAI4L,GACrC,GAAIpK,EAAU,CAEV,MAAO,CAAEA,WAAU4H,UADD9G,EAAmBgJ,wBAAwB9J,GAEjE,CACJ,GAMSc,EAAmBoC,SACpC,EG7BJ,SAASoI,EAASnI,GACd,MAAMrC,EAAqBmJ,KCK/B,SAAuBsB,EAASnQ,EAASI,GACrC,IAAI6C,EACJ,GAAuB,iBAAZkN,EAAsB,CAC7B,MAAMC,EAAa,IAAIxN,IAAIuN,EAASrP,SAASF,MAkC7CqC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsfavicon.icojsoctet-streamapplication/octet-streamcss | 17033 | workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAA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AmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsfavicon.icojsoctet-streamapplication/octet-streamcss |
| 17034 | settings.%Too·long·keyShieldExtensionCorsScopeApiKeyCheckHostCheckqueue·not·emptyUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEnda·Display·implementation·returned·an·error·unexpectedlyErrorParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorIoParse | 17034 | settings.%Too·long·keyShieldExtensionCorsScopeApiKeyCheckHostCheckqueue·not·emptyUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEnda·Display·implementation·returned·an·error·unexpectedlyErrorParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorIoParse |
| 17035 | assertion·failed:·match·track_edge_idx·{ | 17035 | assertion·failed:·match·track_edge_idx·{ |
| 17036 | ····LeftOrRight::Left(idx)·=>·idx·<=·old_left_len, | 17036 | ····LeftOrRight::Left(idx)·=>·idx·<=·old_left_len, |
| 17037 | ····LeftOrRight::Right(idx)·=>·idx·<=·right_len, | 17037 | ····LeftOrRight::Right(idx)·=>·idx·<=·right_len, |
| 17038 | }assertion·failed:·new_left_len·<=·CAPACITYassertion·failed:·edge.height·==·self.node.height·-·1assertion·failed:·self.height·>·0attempt·to·join·into·collection·with·len·>·usize::MAXassertion·failed:·src.len()·==·dst.len()internal·error:·entered·unreachable·codeidtimestampfewer·elements·in·mapcharsetmid·>·lencalled·`Result::unwrap()`·on·an·`Err`·valuefilled·overflowfilled·must·not·become·larger·than·initializedassertion·failed:·len·>·0assertion·failed:·old_right_len·+·count·<=·CAPACITYassertion·failed:·old_left_len·>=·countassertion·failed:·old_left_len·+·count·<=·CAPACITYassertion·failed:·old_right_len·>=·countinternal·error:·entered·unreachable·code:·empty·internal·nodeassertion·failed:·edge.height·==·self.height·-·1LayoutalignParseIntErrorEmptyInvalidDigitPosOverflowNegOverflowZeroNotAPowerOfTwoutf-8there·(from·Rust!) | 17038 | }assertion·failed:·new_left_len·<=·CAPACITYassertion·failed:·edge.height·==·self.node.height·-·1assertion·failed:·self.height·>·0attempt·to·join·into·collection·with·len·>·usize::MAXassertion·failed:·src.len()·==·dst.len()internal·error:·entered·unreachable·codeidtimestampfewer·elements·in·mapcharsetmid·>·lencalled·`Result::unwrap()`·on·an·`Err`·valuefilled·overflowfilled·must·not·become·larger·than·initializedassertion·failed:·len·>·0assertion·failed:·old_right_len·+·count·<=·CAPACITYassertion·failed:·old_left_len·>=·countassertion·failed:·old_left_len·+·count·<=·CAPACITYassertion·failed:·old_right_len·>=·countinternal·error:·entered·unreachable·code:·empty·internal·nodeassertion·failed:·edge.height·==·self.height·-·1LayoutalignParseIntErrorEmptyInvalidDigitPosOverflowNegOverflowZeroNotAPowerOfTwoutf-8there·(from·Rust!) |
| Offset 2747, 16 lines modified | Offset 2747, 16 lines modified | ||
| 2747 | ··0x023440a0·7112b36a·00000000·05d84850·14de33ba·q..j......HP..3. | 2747 | ··0x023440a0·7112b36a·00000000·05d84850·14de33ba·q..j......HP..3. |
| 2748 | ··0x023440b0·0af973fb·3696b28d·fdd012e3·a8c1312b·..s.6.........1+ | 2748 | ··0x023440b0·0af973fb·3696b28d·fdd012e3·a8c1312b·..s.6.........1+ |
| 2749 | ··0x023440c0·8b5eb5fd·c9ef623b·ffffffff·ffffffff·.^....b;........ | 2749 | ··0x023440c0·8b5eb5fd·c9ef623b·ffffffff·ffffffff·.^....b;........ |
| 2750 | ··0x023440d0·00000000·00000000·24160000·00000000·........$....... | 2750 | ··0x023440d0·00000000·00000000·24160000·00000000·........$....... |
| 2751 | ··0x023440e0·00000000·00000000·15000000·00000000·................ | 2751 | ··0x023440e0·00000000·00000000·15000000·00000000·................ |
| 2752 | ··0x023440f0·01000000·00000000·7112b36a·00000000·........q..j.... | 2752 | ··0x023440f0·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2753 | ··0x02344100·01000000·00000000·7112b36a·00000000·........q..j.... | 2753 | ··0x02344100·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2754 | ··0x02344110·c654fa7e·e419ca1e·9c1c566b·a64e37ef·.T.~......Vk.N7. | ||
| 2755 | ··0x023441 | 2754 | ··0x02344110·dba9da40·d0ba3a1d·1962461f·e7c973f6·...@..:..bF...s. |
| 2755 | ··0x02344120·3d1e346a·e34e334c·209cdab8·2efb3778·=.4j.N3L·.....7x | ||
| 2756 | ··0x02344130·ffffffff·ffffffff·00000000·00000000·................ | 2756 | ··0x02344130·ffffffff·ffffffff·00000000·00000000·................ |
| 2757 | ··0x02344140·c6320000·00000000·00000000·00000000·.2.............. | 2757 | ··0x02344140·c6320000·00000000·00000000·00000000·.2.............. |
| 2758 | ··0x02344150·13000000·00000000·01000000·00000000·................ | 2758 | ··0x02344150·13000000·00000000·01000000·00000000·................ |
| 2759 | ··0x02344160·7112b36a·00000000·01000000·00000000·q..j............ | 2759 | ··0x02344160·7112b36a·00000000·01000000·00000000·q..j............ |
| 2760 | ··0x02344170·7112b36a·00000000·20303f36·731bff3a·q..j....·0?6s..: | 2760 | ··0x02344170·7112b36a·00000000·20303f36·731bff3a·q..j....·0?6s..: |
| 2761 | ··0x02344180·555ee80b·a80b28e1·c477ab33·4de8aa7d·U^....(..w.3M..} | 2761 | ··0x02344180·555ee80b·a80b28e1·c477ab33·4de8aa7d·U^....(..w.3M..} |
| 2762 | ··0x02344190·f618f6fc·ef7b58e0·ffffffff·ffffffff·.....{X......... | 2762 | ··0x02344190·f618f6fc·ef7b58e0·ffffffff·ffffffff·.....{X......... |
| Offset 7426, 15 lines modified | Offset 7426, 15 lines modified | ||
| 7426 | ·······d="m·400,452.3622·33,-37" | 7426 | ·······d="m·400,452.3622·33,-37" |
| 7427 | ·······id="path4386" | 7427 | ·······id="path4386" |
| 7428 | ·······inkscape:connector-curvature="0" | 7428 | ·······inkscape:connector-curvature="0" |
| 7429 | ·······sodipodi:nodetypes="cc"·/> | 7429 | ·······sodipodi:nodetypes="cc"·/> |
| 7430 | manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn | 7430 | manifest.json{"name":"ActivityWatch","short_name":"ActivityWatch","theme_color":"#4DBA87","icons":[{"src":"logo.png","sizes":"512x512","type":"image/png"}],"start_url":".","display":"standalone","background_color":"#000000"}service-worker.jsif(!self.define){let·s,l={};const·n=(n,r)=>(n=new·URL(n+".js",r).href,l[n]||new·Promise(l=>{if("document"in·self){const·s=document.createElement("script");s.src=n,s.onload=l,document.head.appendChild(s)}else·s=n,importScripts(n),l()}).then(()=>{let·s=l[n];if(!s)throw·new·Error(`Module·${n}·didn |
| 7431 | t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})}); | 7431 | t·register·its·module`);return·s}));self.define=(r,i)=>{const·u=s||("document"in·self?document.currentScript.src:"")||location.href;if(l[u])return;let·e={};const·c=s=>n(s,u),o={module:{uri:u},exports:e,require:c};l[u]=Promise.all(r.map(s=>o[s]||c(s))).then(s=>(i(...s),e))}}define(["./workbox-711a2045"],function(s){"use·strict";s.setCacheNameDetails({prefix:"aw-webui"}),self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"/css/1523.3af55662.css",revision:null},{url:"/css/1588.bd0bb219.css",revision:null},{url:"/css/1814.63a247f6.css",revision:null},{url:"/css/185.be8e4b9a.css",revision:null},{url:"/css/2233.e1bcf8fb.css",revision:null},{url:"/css/2352.af75f974.css",revision:null},{url:"/css/265.a9f5afc4.css",revision:null},{url:"/css/2921.0e21fe03.css",revision:null},{url:"/css/2970.0e21fe03.css",revision:null},{url:"/css/3510.cd69135e.css",revision:null},{url:"/css/3593.0e21fe03.css",revision:null},{url:"/css/4067.dcf2e439.css",revision:null},{url:"/css/428.fdf3fbd9.css",revision:null},{url:"/css/495.0e21fe03.css",revision:null},{url:"/css/5480.8f4f9eec.css",revision:null},{url:"/css/579.0a541622.css",revision:null},{url:"/css/5812.38cfb433.css",revision:null},{url:"/css/5966.c7b9176f.css",revision:null},{url:"/css/6218.0e21fe03.css",revision:null},{url:"/css/6531.22cc2d8b.css",revision:null},{url:"/css/663.692259ab.css",revision:null},{url:"/css/6652.0e21fe03.css",revision:null},{url:"/css/6741.67d99f8a.css",revision:null},{url:"/css/7496.0e21fe03.css",revision:null},{url:"/css/7561.280efd83.css",revision:null},{url:"/css/8027.04e35673.css",revision:null},{url:"/css/8081.e565b3f9.css",revision:null},{url:"/css/8123.25aa2d67.css",revision:null},{url:"/css/8327.64666c05.css",revision:null},{url:"/css/8596.36d78776.css",revision:null},{url:"/css/8599.3a3e658b.css",revision:null},{url:"/css/8665.f93fd221.css",revision:null},{url:"/css/8932.0e21fe03.css",revision:null},{url:"/css/8948.643cd595.css",revision:null},{url:"/css/9305.3e60e51d.css",revision:null},{url:"/css/9399.af65a5d7.css",revision:null},{url:"/css/chunk-vendors.5a33e728.css",revision:null},{url:"/css/index.08a8e1ac.css",revision:null},{url:"/dark.css",revision:"8bc8c75d670bba7c6ca0122c39beb964"},{url:"/fonts/varela-round-latin-400.72c5f1d4.woff2",revision:null},{url:"/fonts/varela-round-latin-400.ff576336.woff",revision:null},{url:"/index.html",revision:"a3de05a92d1da006cdc9c32e24188e9a"},{url:"/js/1064.703d75f1.js",revision:null},{url:"/js/1172.31a5da94.js",revision:null},{url:"/js/1523.12118690.js",revision:null},{url:"/js/1588.aa9f3f15.js",revision:null},{url:"/js/1814.d46e9bc8.js",revision:null},{url:"/js/185.62497fc3.js",revision:null},{url:"/js/2230.3215567d.js",revision:null},{url:"/js/2233.9a3f56f4.js",revision:null},{url:"/js/2352.1ad93c6c.js",revision:null},{url:"/js/2374.dc0764c4.js",revision:null},{url:"/js/265.f78fd35d.js",revision:null},{url:"/js/2921.1334e082.js",revision:null},{url:"/js/2970.077864a1.js",revision:null},{url:"/js/2972.abaf9c34.js",revision:null},{url:"/js/3377.ab2c26e4.js",revision:null},{url:"/js/3510.d0330312.js",revision:null},{url:"/js/3593.becd60e0.js",revision:null},{url:"/js/3837.aa23cf66.js",revision:null},{url:"/js/4033.1ef6ffc4.js",revision:null},{url:"/js/4067.477e9868.js",revision:null},{url:"/js/428.eac37ee4.js",revision:null},{url:"/js/4513.debf088d.js",revision:null},{url:"/js/4516.7aacfe2f.js",revision:null},{url:"/js/4773.c439ca8e.js",revision:null},{url:"/js/495.a6e46481.js",revision:null},{url:"/js/5013.56cf47a8.js",revision:null},{url:"/js/5034.3fc015f7.js",revision:null},{url:"/js/5480.a2d6d5cf.js",revision:null},{url:"/js/5649.f2a750a0.js",revision:null},{url:"/js/579.b909463e.js",revision:null},{url:"/js/5793.6b12a4f9.js",revision:null},{url:"/js/5803.4b20c165.js",revision:null},{url:"/js/5812.6233be92.js",revision:null},{url:"/js/5966.66ce7a50.js",revision:null},{url:"/js/6218.e53707fb.js",revision:null},{url:"/js/6514.43b09bcb.js",revision:null},{url:"/js/6531.e78f2219.js",revision:null},{url:"/js/663.97e7e4d3.js",revision:null},{url:"/js/6652.0a490cb9.js",revision:null},{url:"/js/6741.1161ef60.js",revision:null},{url:"/js/7496.11fb35e2.js",revision:null},{url:"/js/7561.e7ca49b3.js",revision:null},{url:"/js/7634.34f19064.js",revision:null},{url:"/js/8027.266a9611.js",revision:null},{url:"/js/8081.a2aa8edc.js",revision:null},{url:"/js/8123.809ec791.js",revision:null},{url:"/js/8191.6a088066.js",revision:null},{url:"/js/8327.685ff366.js",revision:null},{url:"/js/8376.f63b6151.js",revision:null},{url:"/js/8596.0548d980.js",revision:null},{url:"/js/8599.46e04f48.js",revision:null},{url:"/js/8665.a0024995.js",revision:null},{url:"/js/8880.24ca4277.js",revision:null},{url:"/js/8932.31ef541c.js",revision:null},{url:"/js/8948.2ae593e0.js",revision:null},{url:"/js/901.21266bcc.js",revision:null},{url:"/js/9305.bd0d368f.js",revision:null},{url:"/js/9399.4c9cf5be.js",revision:null},{url:"/js/9565.078d08a2.js",revision:null},{url:"/js/980.0cf8e040.js",revision:null},{url:"/js/chunk-vendors.4b5dc043.js",revision:null},{url:"/js/index.38b10cd0.js",revision:null},{url:"/logo.png",revision:"3cbfce2efacc0dd8d09018233de4afa9"},{url:"/logo.svg",revision:"17fa81a8fc448f2c53f30514400a7c5c"},{url:"/manifest.json",revision:"f6c821dd0bf011176cfb914f2508764c"}],{})}); |
| 7432 | //#·sourceMappingURL=service-worker.js.map | 7432 | //#·sourceMappingURL=service-worker.js.map |
| 7433 | service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/ | 7433 | service-worker.js.map{"version":3,"file":"service-worker.js","sources":["../../../../../../tmp/a8220021f322e65caa3148032e7bfd26/service-worker.js"],"sourcesContent":["import·{setCacheNameDetails·as·workbox_core_setCacheNameDetails}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.mjs';\nimport·{precacheAndRoute·as·workbox_precaching_precacheAndRoute}·from·'/home/vagrant/build/net.activitywatch.android/aw-server-rust/aw-webui/node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n·*·Welcome·to·your·Workbox-powered·service·worker!\n·*\n·*·You'll·need·to·register·this·file·in·your·web·app.\n·*·See·https://goo.gl/nhQhGp\n·*\n·*·The·rest·of·the·code·is·auto-generated.·Please·don't·update·this·file\n·*·directly;·instead,·make·changes·to·your·Workbox·build·configuration\n·*·and·re-run·your·build·process.\n·*·See·https://goo.gl/2aRDsh\n·*/\n\n\n\n\n\nworkbox_core_setCacheNameDetails({prefix:·\"aw-webui\"});\n\n\nself.addEventListener('message',·(event)·=>·{\n··if·(event.data·&&·event.data.type·===·'SKIP_WAITING')·{\n····self.skipWaiting();\n··}\n});\n\n\n\n\n/**\n·*·The·precacheAndRoute()·method·efficiently·caches·and·responds·to\n·*·requests·for·URLs·in·the·manifest.\n·*·See·https://goo.gl/S9QRab\n·*/\nworkbox_precaching_precacheAndRoute([\n··{\n····\"url\":·\"/css/1523.3af55662.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1588.bd0bb219.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/1814.63a247f6.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/185.be8e4b9a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2233.e1bcf8fb.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2352.af75f974.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/265.a9f5afc4.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2921.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/2970.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3510.cd69135e.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/3593.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/4067.dcf2e439.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/428.fdf3fbd9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/495.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5480.8f4f9eec.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/579.0a541622.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5812.38cfb433.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/5966.c7b9176f.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6218.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6531.22cc2d8b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/663.692259ab.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6652.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/6741.67d99f8a.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7496.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/7561.280efd83.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8027.04e35673.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8081.e565b3f9.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8123.25aa2d67.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8327.64666c05.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8596.36d78776.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8599.3a3e658b.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8665.f93fd221.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8932.0e21fe03.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/8948.643cd595.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9305.3e60e51d.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/9399.af65a5d7.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/chunk-vendors.5a33e728.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/css/index.08a8e1ac.css\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/dark.css\",\n····\"revision\":·\"8bc8c75d670bba7c6ca0122c39beb964\"\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.72c5f1d4.woff2\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/fonts/varela-round-latin-400.ff576336.woff\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/index.html\",\n····\"revision\":·\"a3de05a92d1da006cdc9c32e24188e9a\"\n··},\n··{\n····\"url\":·\"/js/1064.703d75f1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1172.31a5da94.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1523.12118690.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1588.aa9f3f15.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/1814.d46e9bc8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/185.62497fc3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2230.3215567d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2233.9a3f56f4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2352.1ad93c6c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2374.dc0764c4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/265.f78fd35d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2921.1334e082.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2970.077864a1.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/2972.abaf9c34.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3377.ab2c26e4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3510.d0330312.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3593.becd60e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/3837.aa23cf66.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4033.1ef6ffc4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4067.477e9868.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/428.eac37ee4.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4513.debf088d.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4516.7aacfe2f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/4773.c439ca8e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/495.a6e46481.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5013.56cf47a8.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5034.3fc015f7.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5480.a2d6d5cf.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5649.f2a750a0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/579.b909463e.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5793.6b12a4f9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5803.4b20c165.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5812.6233be92.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/5966.66ce7a50.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6218.e53707fb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6514.43b09bcb.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6531.e78f2219.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/663.97e7e4d3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6652.0a490cb9.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/6741.1161ef60.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7496.11fb35e2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7561.e7ca49b3.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/7634.34f19064.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8027.266a9611.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8081.a2aa8edc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8123.809ec791.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8191.6a088066.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8327.685ff366.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8376.f63b6151.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8596.0548d980.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8599.46e04f48.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8665.a0024995.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8880.24ca4277.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8932.31ef541c.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/8948.2ae593e0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/901.21266bcc.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9305.bd0d368f.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9399.4c9cf5be.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/9565.078d08a2.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/980.0cf8e040.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/chunk-vendors.4b5dc043.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/js/index.38b10cd0.js\",\n····\"revision\":·null\n··},\n··{\n····\"url\":·\"/logo.png\",\n····\"revision\":·\"3cbfce2efacc0dd8d09018233de4afa9\"\n··},\n··{\n····\"url\":·\"/logo.svg\",\n····\"revision\":·\"17fa81a8fc448f2c53f30514400a7c5c\"\n··},\n··{\n····\"url\":·\"/manifest.json\",\n····\"revision\":·\"f6c821dd0bf011176cfb914f2508764c\"\n··}\n],·{});\n\n\n\n\n\n\n\n\n"],"names":["workbox_core_setCacheNameDetails","prefix","self","addEventListener","event","data","type","skipWaiting","workbox_precaching_precacheAndRoute","url","revision"],"mappings":"inBAiBAA,EAAAA,oBAAiC,CAACC,OAAQ,aAG1CC,KAAKC,iBAAiB,UAAYC,IAC5BA,EAAMC,MAA4B,iBAApBD,EAAMC,KAAKC,MAC3BJ,KAAKK,gBAYTC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,yBACPC,SAAY,MAEd,CACED,IAAO,kCACPC,SAAY,MAEd,CACED,IAAO,0BACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,MAEd,CACED,IAAO,8CACPC,SAAY,MAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,uBACPC,SAAY,MAEd,CACED,IAAO,sBACPC,SAAY,MAEd,CACED,IAAO,gCACPC,SAAY,MAEd,CACED,IAAO,wBACPC,SAAY,MAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,iBACPC,SAAY,qCAEb,CAAA"}workbox-711a2045.jsdefine(["exports"],function(t){"use·strict";try{self["workbox:core:6.5.4"]&&_()}catch(t){}const·e=(t,...e)=>{let·s=t;return·e.length>0&&(s+=`·::·${JSON.stringify(e)}`),s};class·s·extends·Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const·n={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof·registration?registration.scope:""},i=t=>[n.prefix,t,n.suffix].filter(t=>t&&t.length>0).join("-"),r=t=>{(t=>{for(const·e·of·Object.keys(n))t(e)})(e=>{"string"==typeof·t[e]&&(n[e]=t[e])})},o=t=>t||i(n.precache),c=t=>t||i(n.runtime);try{self["workbox:routing:6.5.4"]&&_()}catch(t){}const·a=t=>t&&"object"==typeof·t?t:{handle:t};class·h{constructor(t,e,s="GET"){this.handler=a(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=a(t)}}class·u·extends·h{constructor(t,e,s){super(({url:e})=>{const·s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return·s.slice(1)},e,s)}}class·l{constructor(){this.t=new·Map,this.i=new·Map}get·routes(){return·this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof·e&&(e=[e]);const·s=new·Request(...e);return·this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const·s=new·URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const·n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let·o=r&&r.handler;const·c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let·a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const·h=r&&r.catchHandler;return·a·instanceof·Promise&&(this.o||h)&&(a=a.catch(async·n=>{if(h)try{return·await·h.handle({url:s,request:t,event:e,params:i})}catch(t){t·instanceof·Error&&(n=t)}if(this.o)return·this.o.handle({url:s,request:t,event:e});throw·n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const·i=this.t.get(s.method)||[];for(const·r·of·i){let·i;const·o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return·i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof·o)&&(i=void·0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,a(t))}setCatchHandler(t){this.o=a(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw·new·s("unregister-route-but-not-found-with-method",{method:t.method});const·e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw·new·s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let·f;function·w(t,e){const·s=e();return·t.waitUntil(s),s}try{self["workbox:precaching:6.5.4"]&&_()}catch(t){}function·d(t){if(!t)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof·t){const·e=new·URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw·new·s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const·t=new·URL(n,location.href);return{cacheKey:t.href,url:t.href}}const·i=new·URL(n,location.href),r=new·URL(n,location.href);return·i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class·p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest·instanceof·Request){const·t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return·s}}}class·y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const·s=(null==e?void·0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return·s?new·Request(s,{headers:t.headers}):t},this.h=t}}let·g;async·function·R(t,e){let·n=null;if(t.url){n=new·URL(t.url).origin}if(n!==self.location.origin)throw·new·s("cross-origin-copy-response",{origin:n});const·i=t.clone(),r={headers:new·Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void·0===g){const·t=new·Response("");if("body"in·t)try{new·Response(t.body),g=!0}catch(t){g=!1}g=!1}return·g}()?i.body:await·i.blob();return·new·Response(c,o)}function·m(t,e){const·s=new·URL(t);for(const·t·of·e)s.searchParams.delete(t);return·s.href}class·v{constructor(){this.promise=new·Promise((t,e)=>{this.resolve=t,this.reject=e})}}const·q=new·Set;try{self["workbox:strategies:6.5.4"]&&_()}catch(t){}function·U(t){return"string"==typeof·t?new·Request(t):t}class·b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new·v,this.R=[],this.m=[...t.plugins],this.v=new·Map;for(const·t·of·this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async·fetch(t){const{event:e}=this;let·n=U(t);if("navigate"===n.mode&&e·instanceof·FetchEvent&&e.preloadResponse){const·t=await·e.preloadResponse;if(t)return·t}const·i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const·t·of·this.iterateCallbacks("requestWillFetch"))n=await·t({request:n.clone(),event:e})}catch(t){if(t·instanceof·Error)throw·new·s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const·r=n.clone();try{let·t;t=await·fetch(n,"navigate"===n.mode?void·0:this.l.fetchOptions);for(const·s·of·this.iterateCallbacks("fetchDidSucceed"))t=await·s({event:e,request:r,response:t});return·t}catch(t){throw·i&&await·this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async·fetchAndCachePut(t){const·e=await·this.fetch(t),s=e.clone();return·this.waitUntil(this.cachePut(t,s)),e}async·cacheMatch(t){const·e=U(t);let·s;const{cacheName:n,matchOptions:i}=this.l,r=await·this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await·caches.match(r,o);for(const·t·of·this.iterateCallbacks("cachedResponseWillBeUsed"))s=await·t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void·0;return·s}async·cachePut(t,e){const·n=U(t);var·i;await(i=0,new·Promise(t=>setTimeout(t,i)));const·r=await·this.getCacheKey(n,"write");if(!e)throw·new·s("cache-put-with-no-response",{url:(o=r.url,new·URL(String(o),location.href).href.replace(new·RegExp(`^${location.origin}`),""))});var·o;const·c=await·this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await·self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await·async·function(t,e,s,n){const·i=m(e.url,s);if(e.url===i)return·t.match(e,n);const·r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await·t.keys(e,r);for(const·e·of·o)if(i===m(e.url,s))return·t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await·u.put(r,l?c.clone():c)}catch(t){if(t·instanceof·Error)throw"QuotaExceededError"===t.name&&await·async·function(){for(const·t·of·q)await·t()}(),t}for(const·t·of·this.iterateCallbacks("cacheDidUpdate"))await·t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async·getCacheKey(t,e){const·s=`${t.url}·|·${e}`;if(!this.u[s]){let·n=t;for(const·t·of·this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await·t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return·this.u[s]}hasCallback(t){for(const·e·of·this.l.plugins)if(t·in·e)return!0;return!1}async·runCallbacks(t,e){for(const·s·of·this.iterateCallbacks(t))await·s(e)}*iterateCallbacks(t){for(const·e·of·this.l.plugins)if("function"==typeof·e[t]){const·s=this.v.get(e),n=n=>{const·i=Object.assign(Object.assign({},n),{state:s});return·e[t](i)};yield·n}}waitUntil(t){return·this.R.push(t),t}async·doneWaiting(){let·t;for(;t=this.R.shift();)await·t}destroy(){this.p.resolve(null)}async·q(t){let·e=t,s=!1;for(const·t·of·this.iterateCallbacks("cacheWillUpdate"))if(e=await·t({request:this.request,response:e,event:this.event})||void·0,s=!0,!e)break;return·s||e&&200!==e.status&&(e=void·0),e}}class·L{constructor(t={}){this.cacheName=c(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return·e}handleAll(t){t·instanceof·FetchEvent&&(t={event:t,request:t.request});const·e=t.event,s="string"==typeof·t.request?new·Request(t.request):t.request,n="params"in·t?t.params:void·0,i=new·b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async·U(t,e,n){let·i;await·t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await·this._(e,t),!i||"error"===i.type)throw·new·s("no-response",{url:e.url})}catch(s){if(s·instanceof·Error)for(const·r·of·t.iterateCallbacks("handlerDidError"))if(i=await·r({error:s,event:n,request:e}),i)break;if(!i)throw·s}for(const·s·of·t.iterateCallbacks("handlerWillRespond"))i=await·s({event:n,request:e,response:i});return·i}async·L(t,e,s,n){let·i,r;try{i=await·t}catch(r){}try{await·e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await·e.doneWaiting()}catch(t){t·instanceof·Error&&(r=t)}if(await·e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw·r}}class·C·extends·L{constructor(t={}){t.cacheName=o(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async·_(t,e){const·s=await·e.cacheMatch(t);return·s||(e.event&&"install"===e.event.type?await·this.O(t,e):await·this.N(t,e))}async·N(t,e){let·n;const·i=e.params||{};if(!this.C)throw·new·s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const·s=i.integrity,r=t.integrity,o=!r||r===s;n=await·e.fetch(new·Request(t,{integrity:"no-cors"!==t.mode?r||s:void·0})),s&&o&&"no-cors"!==t.mode&&(this.j(),await·e.cachePut(t,n.clone()))}return·n}async·O(t,e){this.j();const·n=await·e.fetch(t);if(!await·e.cachePut(t,n.clone()))throw·new·s("bad-precaching-response",{url:t.url,status:n.status});return·n}j(){let·t=null,e=0;for(const[s,n]of·this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await·R(t):t};class·E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.k=new·Map,this.K=new·Map,this.T=new·Map,this.l=new·C({cacheName:o(t),plugins:[...e,new·y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get·strategy(){return·this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const·e=[];for(const·n·of·t){"string"==typeof·n?e.push(n):n&&void·0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof·n&&n.revision?"reload":"default";if(this.k.has(i)&&this.k.get(i)!==t)throw·new·s("add-to-cache-list-conflicting-entries",{firstEntry:this.k.get(i),secondEntry:t});if("string"!=typeof·n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw·new·s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.k.set(i,t),this.K.set(i,r),e.length>0){const·t=`Workbox·is·precaching·URLs·without·revision·info:·${e.join(",·")}\nThis·is·generally·NOT·safe.·Learn·more·at·https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return·w(t,async()=>{const·e=new·p;this.strategy.plugins.push(e);for(const[e,s]of·this.k){const·n=this.T.get(s),i=this.K.get(e),r=new·Request(e,{integrity:n,cache:i,credentials:"same-origin"});await·Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return·w(t,async()=>{const·t=await·self.caches.open(this.strategy.cacheName),e=await·t.keys(),s=new·Set(this.k.values()),n=[];for(const·i·of·e)s.has(i.url)||(await·t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return·this.k}getCachedURLs(){return[...this.k.keys()]}getCacheKeyForURL(t){const·e=new·URL(t,location.href);return·this.k.get(e.href)}getIntegrityForCacheKey(t){return·this.T.get(t)}async·matchPrecache(t){const·e=t·instanceof·Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await·self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const·e=this.getCacheKeyForURL(t);if(!e)throw·new·s("non-precached-url",{url:t});return·s=>(s.request=new·Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let·O;const·x=()=>(O||(O=new·E),O);class·N·extends·h{constructor(t,e){super(({request:s})=>{const·n=t.getURLsToCacheKeys();for(const·i·of·function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const·r=new·URL(t,location.href);r.hash="",yield·r.href;const·o=function(t,e=[]){for(const·s·of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return·t}(r,e);if(yield·o.href,s&&o.pathname.endsWith("/")){const·t=new·URL(o.href);t.pathname+=s,yield·t.href}if(n){const·t=new·URL(o.href);t.pathname+=".html",yield·t.href}if(i){const·t=i({url:r});for(const·e·of·t)yield·e.href}}(s.url,e)){const·e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}function·j(t){const·e=x();!function(t,e,n){let·i;if("string"==typeof·t){const·s=new·URL(t,location.href);i=new·h(({url:t})=>t.href===s.href,e,n)}else·if(t·instanceof·RegExp)i=new·u(t,e,n);else·if("function"==typeof·t)i=new·h(t,e,n);else{if(!(t·instanceof·h))throw·new·s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});i=t}(f||(f=new·l,f.addFetchListener(),f.addCacheListener()),f).registerRoute(i)}(new·N(e,t))}t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),j(e)},t.setCacheNameDetails=function(t){r(t)}}); |
| 7434 | //#·sourceMappingURL=workbox-711a2045.js.map | 7434 | //#·sourceMappingURL=workbox-711a2045.js.map |
| 7435 | workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,ECxBJ,MAAMI,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC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7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsfavicon.icojsoctet-streamapplication/octet-streamcss | 7435 | workbox-711a2045.js.map{"version":3,"file":"workbox-711a2045.js","sources":["node_modules/workbox-webpack-plugin/node_modules/workbox-core/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/messages/messageGenerator.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/WorkboxError.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheNames.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/constants.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/normalizeHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Route.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/RegExpRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/Router.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/utils/getOrCreateDefaultRouter.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/waitUntil.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/createCacheKey.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheInstallReportPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/PrecacheCacheKeyPlugin.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/canConstructResponseFromBodyStream.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/copyResponse.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/cacheMatchIgnoreParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/Deferred.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/models/quotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/_version.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/StrategyHandler.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/timeout.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/getFriendlyURL.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/_private/executeQuotaErrorCallbacks.js","node_modules/workbox-webpack-plugin/node_modules/workbox-strategies/Strategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheStrategy.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/getOrCreatePrecacheController.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/PrecacheRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/generateURLVariations.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/utils/removeIgnoredSearchParams.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/addRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-routing/registerRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precacheAndRoute.js","node_modules/workbox-webpack-plugin/node_modules/workbox-precaching/precache.js","node_modules/workbox-webpack-plugin/node_modules/workbox-core/setCacheNameDetails.js"],"sourcesContent":["\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:core:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messages·}·from·'./messages.js';\nimport·'../../_version.js';\nconst·fallback·=·(code,·...args)·=>·{\n····let·msg·=·code;\n····if·(args.length·>·0)·{\n········msg·+=·`·::·${JSON.stringify(args)}`;\n····}\n····return·msg;\n};\nconst·generatorFunction·=·(code,·details·=·{})·=>·{\n····const·message·=·messages[code];\n····if·(!message)·{\n········throw·new·Error(`Unable·to·find·message·for·code·'${code}'.`);\n····}\n····return·message(details);\n};\nexport·const·messageGenerator·=·process.env.NODE_ENV·===·'production'·?·fallback·:·generatorFunction;\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·messageGenerator·}·from·'../models/messages/messageGenerator.js';\nimport·'../_version.js';\n/**\n·*·Workbox·errors·should·be·thrown·with·this·class.\n·*·This·allows·use·to·ensure·the·type·easily·in·tests,\n·*·helps·developers·identify·errors·from·workbox\n·*·easily·and·allows·use·to·optimise·error\n·*·messages·correctly.\n·*\n·*·@private\n·*/\nclass·WorkboxError·extends·Error·{\n····/**\n·····*\n·····*·@param·{string}·errorCode·The·error·code·that\n·····*·identifies·this·particular·error.\n·····*·@param·{Object=}·details·Any·relevant·arguments\n·····*·that·will·help·developers·identify·issues·should\n·····*·be·added·as·a·key·on·the·context·object.\n·····*/\n····constructor(errorCode,·details)·{\n········const·message·=·messageGenerator(errorCode,·details);\n········super(message);\n········this.name·=·errorCode;\n········this.details·=·details;\n····}\n}\nexport·{·WorkboxError·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·_cacheNameDetails·=·{\n····googleAnalytics:·'googleAnalytics',\n····precache:·'precache-v2',\n····prefix:·'workbox',\n····runtime:·'runtime',\n····suffix:·typeof·registration·!==·'undefined'·?·registration.scope·:·'',\n};\nconst·_createCacheName·=·(cacheName)·=>·{\n····return·[_cacheNameDetails.prefix,·cacheName,·_cacheNameDetails.suffix]\n········.filter((value)·=>·value·&&·value.length·>·0)\n········.join('-');\n};\nconst·eachCacheNameDetail·=·(fn)·=>·{\n····for·(const·key·of·Object.keys(_cacheNameDetails))·{\n········fn(key);\n····}\n};\nexport·const·cacheNames·=·{\n····updateDetails:·(details)·=>·{\n········eachCacheNameDetail((key)·=>·{\n············if·(typeof·details[key]·===·'string')·{\n················_cacheNameDetails[key]·=·details[key];\n············}\n········});\n····},\n····getGoogleAnalyticsName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.googleAnalytics);\n····},\n····getPrecacheName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.precache);\n····},\n····getPrefix:·()·=>·{\n········return·_cacheNameDetails.prefix;\n····},\n····getRuntimeName:·(userCacheName)·=>·{\n········return·userCacheName·||·_createCacheName(_cacheNameDetails.runtime);\n····},\n····getSuffix:·()·=>·{\n········return·_cacheNameDetails.suffix;\n····},\n};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:routing:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·default·HTTP·method,·'GET',·used·when·there's·no·specific·method\n·*·configured·for·a·route.\n·*\n·*·@type·{string}\n·*\n·*·@private\n·*/\nexport·const·defaultMethod·=·'GET';\n/**\n·*·The·list·of·valid·HTTP·methods·associated·with·requests·that·could·be·routed.\n·*\n·*·@type·{Array<string>}\n·*\n·*·@private\n·*/\nexport·const·validMethods·=·[\n····'DELETE',\n····'GET',\n····'HEAD',\n····'PATCH',\n····'POST',\n····'PUT',\n];\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·'../_version.js';\n/**\n·*·@param·{function()|Object}·handler·Either·a·function,·or·an·object·with·a\n·*·'handle'·method.\n·*·@return·{Object}·An·object·with·a·handle·method.\n·*\n·*·@private\n·*/\nexport·const·normalizeHandler·=·(handler)·=>·{\n····if·(handler·&&·typeof·handler·===·'object')·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.hasMethod(handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·handler;\n····}\n····else·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(handler,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'handler',\n············});\n········}\n········return·{·handle:·handler·};\n····}\n};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·defaultMethod,·validMethods·}·from·'./utils/constants.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·'./_version.js';\n/**\n·*·A·`Route`·consists·of·a·pair·of·callback·functions,·\"match\"·and·\"handler\".\n·*·The·\"match\"·callback·determine·if·a·route·should·be·used·to·\"handle\"·a\n·*·request·by·returning·a·non-falsy·value·if·it·can.·The·\"handler\"·callback\n·*·is·called·when·there·is·a·match·and·should·return·a·Promise·that·resolves\n·*·to·a·`Response`.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Route·{\n····/**\n·····*·Constructor·for·Route·class.\n·····*\n·····*·@param·{workbox-routing~matchCallback}·match\n·····*·A·callback·function·that·determines·whether·the·route·matches·a·given\n·····*·`fetch`·event·by·returning·a·non-falsy·value.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(match,·handler,·method·=·defaultMethod)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(match,·'function',·{\n················moduleName:·'workbox-routing',\n················className:·'Route',\n················funcName:·'constructor',\n················paramName:·'match',\n············});\n············if·(method)·{\n················assert.isOneOf(method,·validMethods,·{·paramName:·'method'·});\n············}\n········}\n········//·These·values·are·referenced·directly·by·Router·so·cannot·be\n········//·altered·by·minificaton.\n········this.handler·=·normalizeHandler(handler);\n········this.match·=·match;\n········this.method·=·method;\n····}\n····/**\n·····*\n·····*·@param·{workbox-routing-handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resolving·to·a·Response\n·····*/\n····setCatchHandler(handler)·{\n········this.catchHandler·=·normalizeHandler(handler);\n····}\n}\nexport·{·Route·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·Route·}·from·'./Route.js';\nimport·'./_version.js';\n/**\n·*·RegExpRoute·makes·it·easy·to·create·a·regular·expression·based\n·*·{@link·workbox-routing.Route}.\n·*\n·*·For·same-origin·requests·the·RegExp·only·needs·to·match·part·of·the·URL.·For\n·*·requests·against·third-party·servers,·you·must·define·a·RegExp·that·matches\n·*·the·start·of·the·URL.\n·*\n·*·@memberof·workbox-routing\n·*·@extends·workbox-routing.Route\n·*/\nclass·RegExpRoute·extends·Route·{\n····/**\n·····*·If·the·regular·expression·contains\n·····*·[capture·groups]{@link·https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#grouping-back-references},\n·····*·the·captured·values·will·be·passed·to·the\n·····*·{@link·workbox-routing~handlerCallback}·`params`\n·····*·argument.\n·····*\n·····*·@param·{RegExp}·regExp·The·regular·expression·to·match·against·URLs.\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·····*·against.\n·····*/\n····constructor(regExp,·handler,·method)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(regExp,·RegExp,·{\n················moduleName:·'workbox-routing',\n················className:·'RegExpRoute',\n················funcName:·'constructor',\n················paramName:·'pattern',\n············});\n········}\n········const·match·=·({·url·})·=>·{\n············const·result·=·regExp.exec(url.href);\n············//·Return·immediately·if·there's·no·match.\n············if·(!result)·{\n················return;\n············}\n············//·Require·that·the·match·start·at·the·first·character·in·the·URL·string\n············//·if·it's·a·cross-origin·request.\n············//·See·https://github.com/GoogleChrome/workbox/issues/281·for·the·context\n············//·behind·this·behavior.\n············if·(url.origin·!==·location.origin·&&·result.index·!==·0)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`The·regular·expression·'${regExp.toString()}'·only·partially·matched·`·+\n························`against·the·cross-origin·URL·'${url.toString()}'.·RegExpRoute's·will·only·`·+\n························`handle·cross-origin·requests·if·they·match·the·entire·URL.`);\n················}\n················return;\n············}\n············//·If·the·route·matches,·but·there·aren't·any·capture·groups·defined,·then\n············//·this·will·return·[],·which·is·truthy·and·therefore·sufficient·to\n············//·indicate·a·match.\n············//·If·there·are·capture·groups,·then·it·will·return·their·values.\n············return·result.slice(1);\n········};\n········super(match,·handler,·method);\n····}\n}\nexport·{·RegExpRoute·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·defaultMethod·}·from·'./utils/constants.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·normalizeHandler·}·from·'./utils/normalizeHandler.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·The·Router·can·be·used·to·process·a·`FetchEvent`·using·one·or·more\n·*·{@link·workbox-routing.Route},·responding·with·a·`Response`·if\n·*·a·matching·route·exists.\n·*\n·*·If·no·route·matches·a·given·a·request,·the·Router·will·use·a·\"default\"\n·*·handler·if·one·is·defined.\n·*\n·*·Should·the·matching·Route·throw·an·error,·the·Router·will·use·a·\"catch\"\n·*·handler·if·one·is·defined·to·gracefully·deal·with·issues·and·respond·with·a\n·*·Request.\n·*\n·*·If·a·request·matches·multiple·routes,·the·**earliest**·registered·route·will\n·*·be·used·to·respond·to·the·request.\n·*\n·*·@memberof·workbox-routing\n·*/\nclass·Router·{\n····/**\n·····*·Initializes·a·new·Router.\n·····*/\n····constructor()·{\n········this._routes·=·new·Map();\n········this._defaultHandlerMap·=·new·Map();\n····}\n····/**\n·····*·@return·{Map<string,·Array<workbox-routing.Route>>}·routes·A·`Map`·of·HTTP\n·····*·method·name·('GET',·etc.)·to·an·array·of·all·the·corresponding·`Route`\n·····*·instances·that·are·registered.\n·····*/\n····get·routes()·{\n········return·this._routes;\n····}\n····/**\n·····*·Adds·a·fetch·event·listener·to·respond·to·events·when·a·route·matches\n·····*·the·event's·request.\n·····*/\n····addFetchListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('fetch',·((event)·=>·{\n············const·{·request·}·=·event;\n············const·responsePromise·=·this.handleRequest({·request,·event·});\n············if·(responsePromise)·{\n················event.respondWith(responsePromise);\n············}\n········}));\n····}\n····/**\n·····*·Adds·a·message·event·listener·for·URLs·to·cache·from·the·window.\n·····*·This·is·useful·to·cache·resources·loaded·on·the·page·prior·to·when·the\n·····*·service·worker·started·controlling·it.\n·····*\n·····*·The·format·of·the·message·data·sent·from·the·window·should·be·as·follows.\n·····*·Where·the·`urlsToCache`·array·may·consist·of·URL·strings·or·an·array·of\n·····*·URL·string·+·`requestInit`·object·(the·same·as·you'd·pass·to·`fetch()`).\n·····*\n·····*·```\n·····*·{\n·····*···type:·'CACHE_URLS',\n·····*···payload:·{\n·····*·····urlsToCache:·[\n·····*·······'./script1.js',\n·····*·······'./script2.js',\n·····*·······['./script3.js',·{mode:·'no-cors'}],\n·····*·····],\n·····*···},\n·····*·}\n·····*·```\n·····*/\n····addCacheListener()·{\n········//·See·https://github.com/Microsoft/TypeScript/issues/28357#issuecomment-436484705\n········self.addEventListener('message',·((event)·=>·{\n············//·event.data·is·type·'any'\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-member-access\n············if·(event.data·&&·event.data.type·===·'CACHE_URLS')·{\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················const·{·payload·}·=·event.data;\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.debug(`Caching·URLs·from·the·window`,·payload.urlsToCache);\n················}\n················const·requestPromises·=·Promise.all(payload.urlsToCache.map((entry)·=>·{\n····················if·(typeof·entry·===·'string')·{\n························entry·=·[entry];\n····················}\n····················const·request·=·new·Request(...entry);\n····················return·this.handleRequest({·request,·event·});\n····················//·TODO(philipwalton):·TypeScript·errors·without·this·typecast·for\n····················//·some·reason·(probably·a·bug).·The·real·type·here·should·work·but\n····················//·doesn't:·`Array<Promise<Response>·|·undefined>`.\n················}));·//·TypeScript\n················event.waitUntil(requestPromises);\n················//·If·a·MessageChannel·was·used,·reply·to·the·message·on·success.\n················if·(event.ports·&&·event.ports[0])·{\n····················void·requestPromises.then(()·=>·event.ports[0].postMessage(true));\n················}\n············}\n········}));\n····}\n····/**\n·····*·Apply·the·routing·rules·to·a·FetchEvent·object·to·get·a·Response·from·an\n·····*·appropriate·Route's·handler.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{Request}·options.request·The·request·to·handle.\n·····*·@param·{ExtendableEvent}·options.event·The·event·that·triggered·the\n·····*·····request.\n·····*·@return·{Promise<Response>|undefined}·A·promise·is·returned·if·a\n·····*·····registered·route·can·handle·the·request.·If·there·is·no·matching\n·····*·····route·and·there's·no·`defaultHandler`,·`undefined`·is·returned.\n·····*/\n····handleRequest({·request,·event,·})·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(request,·Request,·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'handleRequest',\n················paramName:·'options.request',\n············});\n········}\n········const·url·=·new·URL(request.url,·location.href);\n········if·(!url.protocol.startsWith('http'))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Workbox·Router·only·supports·URLs·that·start·with·'http'.`);\n············}\n············return;\n········}\n········const·sameOrigin·=·url.origin·===·location.origin;\n········const·{·params,·route·}·=·this.findMatchingRoute({\n············event,\n············request,\n············sameOrigin,\n············url,\n········});\n········let·handler·=·route·&&·route.handler;\n········const·debugMessages·=·[];\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(handler)·{\n················debugMessages.push([`Found·a·route·to·handle·this·request:`,·route]);\n················if·(params)·{\n····················debugMessages.push([\n························`Passing·the·following·params·to·the·route's·handler:`,\n························params,\n····················]);\n················}\n············}\n········}\n········//·If·we·don't·have·a·handler·because·there·was·no·matching·route,·then\n········//·fall·back·to·defaultHandler·if·that's·defined.\n········const·method·=·request.method;\n········if·(!handler·&&·this._defaultHandlerMap.has(method))·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················debugMessages.push(`Failed·to·find·a·matching·route.·Falling·`·+\n····················`back·to·the·default·handler·for·${method}.`);\n············}\n············handler·=·this._defaultHandlerMap.get(method);\n········}\n········if·(!handler)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················//·No·handler·so·Workbox·will·do·nothing.·If·logs·is·set·of·debug\n················//·i.e.·verbose,·we·should·print·out·this·information.\n················logger.debug(`No·route·found·for:·${getFriendlyURL(url)}`);\n············}\n············return;\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············//·We·have·a·handler,·meaning·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Router·is·responding·to:·${getFriendlyURL(url)}`);\n············debugMessages.forEach((msg)·=>·{\n················if·(Array.isArray(msg))·{\n····················logger.log(...msg);\n················}\n················else·{\n····················logger.log(msg);\n················}\n············});\n············logger.groupEnd();\n········}\n········//·Wrap·in·try·and·catch·in·case·the·handle·method·throws·a·synchronous\n········//·error.·It·should·still·callback·to·the·catch·handler.\n········let·responsePromise;\n········try·{\n············responsePromise·=·handler.handle({·url,·request,·event,·params·});\n········}\n········catch·(err)·{\n············responsePromise·=·Promise.reject(err);\n········}\n········//·Get·route's·catch·handler,·if·it·exists\n········const·catchHandler·=·route·&&·route.catchHandler;\n········if·(responsePromise·instanceof·Promise·&&\n············(this._catchHandler·||·catchHandler))·{\n············responsePromise·=·responsePromise.catch(async·(err)·=>·{\n················//·If·there's·a·route·catch·handler,·process·that·first\n················if·(catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·route's·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················try·{\n························return·await·catchHandler.handle({·url,·request,·event,·params·});\n····················}\n····················catch·(catchErr)·{\n························if·(catchErr·instanceof·Error)·{\n····························err·=·catchErr;\n························}\n····················}\n················}\n················if·(this._catchHandler)·{\n····················if·(process.env.NODE_ENV·!==·'production')·{\n························//·Still·include·URL·here·as·it·will·be·async·from·the·console·group\n························//·and·may·not·make·sense·without·the·URL\n························logger.groupCollapsed(`Error·thrown·when·responding·to:·`·+\n····························`·${getFriendlyURL(url)}.·Falling·back·to·global·Catch·Handler.`);\n························logger.error(`Error·thrown·by:`,·route);\n························logger.error(err);\n························logger.groupEnd();\n····················}\n····················return·this._catchHandler.handle({·url,·request,·event·});\n················}\n················throw·err;\n············});\n········}\n········return·responsePromise;\n····}\n····/**\n·····*·Checks·a·request·and·URL·(and·optionally·an·event)·against·the·list·of\n·····*·registered·routes,·and·if·there's·a·match,·returns·the·corresponding\n·····*·route·along·with·any·params·generated·by·the·match.\n·····*\n·····*·@param·{Object}·options\n·····*·@param·{URL}·options.url\n·····*·@param·{boolean}·options.sameOrigin·The·result·of·comparing·`url.origin`\n·····*·····against·the·current·origin.\n·····*·@param·{Request}·options.request·The·request·to·match.\n·····*·@param·{Event}·options.event·The·corresponding·event.\n·····*·@return·{Object}·An·object·with·`route`·and·`params`·properties.\n·····*·····They·are·populated·if·a·matching·route·was·found·or·`undefined`\n·····*·····otherwise.\n·····*/\n····findMatchingRoute({·url,·sameOrigin,·request,·event,·})·{\n········const·routes·=·this._routes.get(request.method)·||·[];\n········for·(const·route·of·routes)·{\n············let·params;\n············//·route.match·returns·type·any,·not·possible·to·change·right·now.\n············//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n············const·matchResult·=·route.match({·url,·sameOrigin,·request,·event·});\n············if·(matchResult)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················//·Warn·developers·that·using·an·async·matchCallback·is·almost·always\n····················//·not·the·right·thing·to·do.\n····················if·(matchResult·instanceof·Promise)·{\n························logger.warn(`While·routing·${getFriendlyURL(url)},·an·async·`·+\n····························`matchCallback·function·was·used.·Please·convert·the·`·+\n····························`following·route·to·use·a·synchronous·matchCallback·function:`,·route);\n····················}\n················}\n················//·See·https://github.com/GoogleChrome/workbox/issues/2079\n················//·eslint-disable-next-line·@typescript-eslint/no-unsafe-assignment\n················params·=·matchResult;\n················if·(Array.isArray(params)·&&·params.length·===·0)·{\n····················//·Instead·of·passing·an·empty·array·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(matchResult.constructor·===·Object·&&·//·eslint-disable-line\n····················Object.keys(matchResult).length·===·0)·{\n····················//·Instead·of·passing·an·empty·object·in·as·params,·use·undefined.\n····················params·=·undefined;\n················}\n················else·if·(typeof·matchResult·===·'boolean')·{\n····················//·For·the·boolean·value·true·(rather·than·just·something·truth-y),\n····················//·don't·set·params.\n····················//·See·https://github.com/GoogleChrome/workbox/pull/2134#issuecomment-513924353\n····················params·=·undefined;\n················}\n················//·Return·early·if·have·a·match.\n················return·{·route,·params·};\n············}\n········}\n········//·If·no·match·was·found·above,·return·and·empty·object.\n········return·{};\n····}\n····/**\n·····*·Define·a·default·`handler`·that's·called·when·no·routes·explicitly\n·····*·match·the·incoming·request.\n·····*\n·····*·Each·HTTP·method·('GET',·'POST',·etc.)·gets·its·own·default·handler.\n·····*\n·····*·Without·a·default·handler,·unmatched·requests·will·go·against·the\n·····*·network·as·if·there·were·no·service·worker·present.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*·@param·{string}·[method='GET']·The·HTTP·method·to·associate·with·this\n·····*·default·handler.·Each·method·has·its·own·default.\n·····*/\n····setDefaultHandler(handler,·method·=·defaultMethod)·{\n········this._defaultHandlerMap.set(method,·normalizeHandler(handler));\n····}\n····/**\n·····*·If·a·Route·throws·an·error·while·handling·a·request,·this·`handler`\n·····*·will·be·called·and·given·a·chance·to·provide·a·response.\n·····*\n·····*·@param·{workbox-routing~handlerCallback}·handler·A·callback\n·····*·function·that·returns·a·Promise·resulting·in·a·Response.\n·····*/\n····setCatchHandler(handler)·{\n········this._catchHandler·=·normalizeHandler(handler);\n····}\n····/**\n·····*·Registers·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·register.\n·····*/\n····registerRoute(route)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isType(route,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route,·'match',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.isType(route.handler,·'object',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route',\n············});\n············assert.hasMethod(route.handler,·'handle',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.handler',\n············});\n············assert.isType(route.method,·'string',·{\n················moduleName:·'workbox-routing',\n················className:·'Router',\n················funcName:·'registerRoute',\n················paramName:·'route.method',\n············});\n········}\n········if·(!this._routes.has(route.method))·{\n············this._routes.set(route.method,·[]);\n········}\n········//·Give·precedence·to·all·of·the·earlier·routes·by·adding·this·additional\n········//·route·to·the·end·of·the·array.\n········this._routes.get(route.method).push(route);\n····}\n····/**\n·····*·Unregisters·a·route·with·the·router.\n·····*\n·····*·@param·{workbox-routing.Route}·route·The·route·to·unregister.\n·····*/\n····unregisterRoute(route)·{\n········if·(!this._routes.has(route.method))·{\n············throw·new·WorkboxError('unregister-route-but-not-found-with-method',·{\n················method:·route.method,\n············});\n········}\n········const·routeIndex·=·this._routes.get(route.method).indexOf(route);\n········if·(routeIndex·>·-1)·{\n············this._routes.get(route.method).splice(routeIndex,·1);\n········}\n········else·{\n············throw·new·WorkboxError('unregister-route-route-not-registered');\n········}\n····}\n}\nexport·{·Router·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·Router·}·from·'../Router.js';\nimport·'../_version.js';\nlet·defaultRouter;\n/**\n·*·Creates·a·new,·singleton·Router·instance·if·one·does·not·exist.·If·one\n·*·does·already·exist,·that·instance·is·returned.\n·*\n·*·@private\n·*·@return·{Router}\n·*/\nexport·const·getOrCreateDefaultRouter·=·()·=>·{\n····if·(!defaultRouter)·{\n········defaultRouter·=·new·Router();\n········//·The·helpers·that·use·the·default·Router·assume·these·listeners·exist.\n········defaultRouter.addFetchListener();\n········defaultRouter.addCacheListener();\n····}\n····return·defaultRouter;\n};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·utility·method·that·makes·it·easier·to·use·`event.waitUntil`·with\n·*·async·functions·and·return·the·result.\n·*\n·*·@param·{ExtendableEvent}·event\n·*·@param·{Function}·asyncFn\n·*·@return·{Function}\n·*·@private\n·*/\nfunction·waitUntil(event,·asyncFn)·{\n····const·returnPromise·=·asyncFn();\n····event.waitUntil(returnPromise);\n····return·returnPromise;\n}\nexport·{·waitUntil·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:precaching:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'../_version.js';\n//·Name·of·the·search·parameter·used·to·store·revision·info.\nconst·REVISION_SEARCH_PARAM·=·'__WB_REVISION__';\n/**\n·*·Converts·a·manifest·entry·into·a·versioned·URL·suitable·for·precaching.\n·*\n·*·@param·{Object|string}·entry\n·*·@return·{string}·A·URL·with·versioning·info.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·createCacheKey(entry)·{\n····if·(!entry)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·a·precache·manifest·entry·is·a·string,·it's·assumed·to·be·a·versioned\n····//·URL,·like·'/app.abcd1234.js'.·Return·as-is.\n····if·(typeof·entry·===·'string')·{\n········const·urlObject·=·new·URL(entry,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····const·{·revision,·url·}·=·entry;\n····if·(!url)·{\n········throw·new·WorkboxError('add-to-cache-list-unexpected-type',·{·entry·});\n····}\n····//·If·there's·just·a·URL·and·no·revision,·then·it's·also·assumed·to·be·a\n····//·versioned·URL.\n····if·(!revision)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·{\n············cacheKey:·urlObject.href,\n············url:·urlObject.href,\n········};\n····}\n····//·Otherwise,·construct·a·properly·versioned·URL·using·the·custom·Workbox\n····//·search·parameter·along·with·the·revision·info.\n····const·cacheKeyURL·=·new·URL(url,·location.href);\n····const·originalURL·=·new·URL(url,·location.href);\n····cacheKeyURL.searchParams.set(REVISION_SEARCH_PARAM,·revision);\n····return·{\n········cacheKey:·cacheKeyURL.href,\n········url:·originalURL.href,\n····};\n}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·determine·the\n·*·of·assets·that·were·updated·(or·not·updated)·during·the·install·event.\n·*\n·*·@private\n·*/\nclass·PrecacheInstallReportPlugin·{\n····constructor()·{\n········this.updatedURLs·=·[];\n········this.notUpdatedURLs·=·[];\n········this.handlerWillStart·=·async·({·request,·state,·})·=>·{\n············//·TODO:·`state`·should·never·be·undefined...\n············if·(state)·{\n················state.originalRequest·=·request;\n············}\n········};\n········this.cachedResponseWillBeUsed·=·async·({·event,·state,·cachedResponse,·})·=>·{\n············if·(event.type·===·'install')·{\n················if·(state·&&\n····················state.originalRequest·&&\n····················state.originalRequest·instanceof·Request)·{\n····················//·TODO:·`state`·should·never·be·undefined...\n····················const·url·=·state.originalRequest.url;\n····················if·(cachedResponse)·{\n························this.notUpdatedURLs.push(url);\n····················}\n····················else·{\n························this.updatedURLs.push(url);\n····················}\n················}\n············}\n············return·cachedResponse;\n········};\n····}\n}\nexport·{·PrecacheInstallReportPlugin·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·A·plugin,·designed·to·be·used·with·PrecacheController,·to·translate·URLs·into\n·*·the·corresponding·cache·key,·based·on·the·current·revision·info.\n·*\n·*·@private\n·*/\nclass·PrecacheCacheKeyPlugin·{\n····constructor({·precacheController·})·{\n········this.cacheKeyWillBeUsed·=·async·({·request,·params,·})·=>·{\n············//·Params·is·type·any,·can't·change·right·now.\n············/*·eslint-disable·*/\n············const·cacheKey·=·(params·===·null·||·params·===·void·0·?·void·0·:·params.cacheKey)·||\n················this._precacheController.getCacheKeyForURL(request.url);\n············/*·eslint-enable·*/\n············return·cacheKey\n················?·new·Request(cacheKey,·{·headers:·request.headers·})\n················:·request;\n········};\n········this._precacheController·=·precacheController;\n····}\n}\nexport·{·PrecacheCacheKeyPlugin·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nlet·supportStatus;\n/**\n·*·A·utility·function·that·determines·whether·the·current·browser·supports\n·*·constructing·a·new·`Response`·from·a·`response.body`·stream.\n·*\n·*·@return·{boolean}·`true`,·if·the·current·browser·can·successfully\n·*·····construct·a·`Response`·from·a·`response.body`·stream,·`false`·otherwise.\n·*\n·*·@private\n·*/\nfunction·canConstructResponseFromBodyStream()·{\n····if·(supportStatus·===·undefined)·{\n········const·testResponse·=·new·Response('');\n········if·('body'·in·testResponse)·{\n············try·{\n················new·Response(testResponse.body);\n················supportStatus·=·true;\n············}\n············catch·(error)·{\n················supportStatus·=·false;\n············}\n········}\n········supportStatus·=·false;\n····}\n····return·supportStatus;\n}\nexport·{·canConstructResponseFromBodyStream·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·canConstructResponseFromBodyStream·}·from·'./_private/canConstructResponseFromBodyStream.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Allows·developers·to·copy·a·response·and·modify·its·`headers`,·`status`,\n·*·or·`statusText`·values·(the·values·settable·via·a\n·*·[`ResponseInit`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#Syntax}\n·*·object·in·the·constructor).\n·*·To·modify·these·values,·pass·a·function·as·the·second·argument.·That\n·*·function·will·be·invoked·with·a·single·object·with·the·response·properties\n·*·`{headers,·status,·statusText}`.·The·return·value·of·this·function·will\n·*·be·used·as·the·`ResponseInit`·for·the·new·`Response`.·To·change·the·values\n·*·either·modify·the·passed·parameter(s)·and·return·it,·or·return·a·totally\n·*·new·object.\n·*\n·*·This·method·is·intentionally·limited·to·same-origin·responses,·regardless·of\n·*·whether·CORS·was·used·or·not.\n·*\n·*·@param·{Response}·response\n·*·@param·{Function}·modifier\n·*·@memberof·workbox-core\n·*/\nasync·function·copyResponse(response,·modifier)·{\n····let·origin·=·null;\n····//·If·response.url·isn't·set,·assume·it's·cross-origin·and·keep·origin·null.\n····if·(response.url)·{\n········const·responseURL·=·new·URL(response.url);\n········origin·=·responseURL.origin;\n····}\n····if·(origin·!==·self.location.origin)·{\n········throw·new·WorkboxError('cross-origin-copy-response',·{·origin·});\n····}\n····const·clonedResponse·=·response.clone();\n····//·Create·a·fresh·`ResponseInit`·object·by·cloning·the·headers.\n····const·responseInit·=·{\n········headers:·new·Headers(clonedResponse.headers),\n········status:·clonedResponse.status,\n········statusText:·clonedResponse.statusText,\n····};\n····//·Apply·any·user·modifications.\n····const·modifiedResponseInit·=·modifier·?·modifier(responseInit)·:·responseInit;\n····//·Create·the·new·response·from·the·body·stream·and·`ResponseInit`\n····//·modifications.·Note:·not·all·browsers·support·the·Response.body·stream,\n····//·so·fall·back·to·reading·the·entire·body·into·memory·as·a·blob.\n····const·body·=·canConstructResponseFromBodyStream()\n········?·clonedResponse.body\n········:·await·clonedResponse.blob();\n····return·new·Response(body,·modifiedResponseInit);\n}\nexport·{·copyResponse·};\n","/*\n··Copyright·2020·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nfunction·stripParams(fullURL,·ignoreParams)·{\n····const·strippedURL·=·new·URL(fullURL);\n····for·(const·param·of·ignoreParams)·{\n········strippedURL.searchParams.delete(param);\n····}\n····return·strippedURL.href;\n}\n/**\n·*·Matches·an·item·in·the·cache,·ignoring·specific·URL·params.·This·is·similar\n·*·to·the·`ignoreSearch`·option,·but·it·allows·you·to·ignore·just·specific\n·*·params·(while·continuing·to·match·on·the·others).\n·*\n·*·@private\n·*·@param·{Cache}·cache\n·*·@param·{Request}·request\n·*·@param·{Object}·matchOptions\n·*·@param·{Array<string>}·ignoreParams\n·*·@return·{Promise<Response|undefined>}\n·*/\nasync·function·cacheMatchIgnoreParams(cache,·request,·ignoreParams,·matchOptions)·{\n····const·strippedRequestURL·=·stripParams(request.url,·ignoreParams);\n····//·If·the·request·doesn't·include·any·ignored·params,·match·as·normal.\n····if·(request.url·===·strippedRequestURL)·{\n········return·cache.match(request,·matchOptions);\n····}\n····//·Otherwise,·match·by·comparing·keys\n····const·keysOptions·=·Object.assign(Object.assign({},·matchOptions),·{·ignoreSearch:·true·});\n····const·cacheKeys·=·await·cache.keys(request,·keysOptions);\n····for·(const·cacheKey·of·cacheKeys)·{\n········const·strippedCacheKeyURL·=·stripParams(cacheKey.url,·ignoreParams);\n········if·(strippedRequestURL·===·strippedCacheKeyURL)·{\n············return·cache.match(cacheKey,·matchOptions);\n········}\n····}\n····return;\n}\nexport·{·cacheMatchIgnoreParams·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·The·Deferred·class·composes·Promises·in·a·way·that·allows·for·them·to·be\n·*·resolved·or·rejected·from·outside·the·constructor.·In·most·cases·promises\n·*·should·be·used·directly,·but·Deferreds·can·be·necessary·when·the·logic·to\n·*·resolve·a·promise·must·be·separate.\n·*\n·*·@private\n·*/\nclass·Deferred·{\n····/**\n·····*·Creates·a·promise·and·exposes·its·resolve·and·reject·functions·as·methods.\n·····*/\n····constructor()·{\n········this.promise·=·new·Promise((resolve,·reject)·=>·{\n············this.resolve·=·resolve;\n············this.reject·=·reject;\n········});\n····}\n}\nexport·{·Deferred·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n//·Callbacks·to·be·executed·whenever·there's·a·quota·error.\n//·Can't·change·Function·type·right·now.\n//·eslint-disable-next-line·@typescript-eslint/ban-types\nconst·quotaErrorCallbacks·=·new·Set();\nexport·{·quotaErrorCallbacks·};\n","\"use·strict\";\n//·@ts-ignore\ntry·{\n····self['workbox:strategies:6.5.4']·&&·_();\n}\ncatch·(e)·{·}\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheMatchIgnoreParams·}·from·'workbox-core/_private/cacheMatchIgnoreParams.js';\nimport·{·Deferred·}·from·'workbox-core/_private/Deferred.js';\nimport·{·executeQuotaErrorCallbacks·}·from·'workbox-core/_private/executeQuotaErrorCallbacks.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·timeout·}·from·'workbox-core/_private/timeout.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·'./_version.js';\nfunction·toRequest(input)·{\n····return·typeof·input·===·'string'·?·new·Request(input)·:·input;\n}\n/**\n·*·A·class·created·every·time·a·Strategy·instance·instance·calls\n·*·{@link·workbox-strategies.Strategy~handle}·or\n·*·{@link·workbox-strategies.Strategy~handleAll}·that·wraps·all·fetch·and\n·*·cache·actions·around·plugin·callbacks·and·keeps·track·of·when·the·strategy\n·*·is·\"done\"·(i.e.·all·added·`event.waitUntil()`·promises·have·resolved).\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·StrategyHandler·{\n····/**\n·····*·Creates·a·new·instance·associated·with·the·passed·strategy·and·event\n·····*·that's·handling·the·request.\n·····*\n·····*·The·constructor·also·initializes·the·state·that·will·be·passed·to·each·of\n·····*·the·plugins·handling·this·request.\n·····*\n·····*·@param·{workbox-strategies.Strategy}·strategy\n·····*·@param·{Object}·options\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]·The·return·value·from·the\n·····*·····{@link·workbox-routing~matchCallback}·(if·applicable).\n·····*/\n····constructor(strategy,·options)·{\n········this._cacheKeys·=·{};\n········/**\n·········*·The·request·the·strategy·is·performing·(passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·@name·request\n·········*·@instance\n·········*·@type·{Request}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·The·event·associated·with·this·request.\n·········*·@name·event\n·········*·@instance\n·········*·@type·{ExtendableEvent}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`URL`·instance·of·`request.url`·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`url`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object.\n·········*·@name·url\n·········*·@instance\n·········*·@type·{URL|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········/**\n·········*·A·`param`·value·(if·passed·to·the·strategy's\n·········*·`handle()`·or·`handleAll()`·method).\n·········*·Note:·the·`param`·param·will·be·present·if·the·strategy·was·invoked\n·········*·from·a·workbox·`Route`·object·and·the\n·········*·{@link·workbox-routing~matchCallback}·returned\n·········*·a·truthy·value·(it·will·be·that·value).\n·········*·@name·params\n·········*·@instance\n·········*·@type·{*|undefined}\n·········*·@memberof·workbox-strategies.StrategyHandler\n·········*/\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isInstance(options.event,·ExtendableEvent,·{\n················moduleName:·'workbox-strategies',\n················className:·'StrategyHandler',\n················funcName:·'constructor',\n················paramName:·'options.event',\n············});\n········}\n········Object.assign(this,·options);\n········this.event·=·options.event;\n········this._strategy·=·strategy;\n········this._handlerDeferred·=·new·Deferred();\n········this._extendLifetimePromises·=·[];\n········//·Copy·the·plugins·list·(since·it's·mutable·on·the·strategy),\n········//·so·any·mutations·don't·affect·this·handler·instance.\n········this._plugins·=·[...strategy.plugins];\n········this._pluginStateMap·=·new·Map();\n········for·(const·plugin·of·this._plugins)·{\n············this._pluginStateMap.set(plugin,·{});\n········}\n········this.event.waitUntil(this._handlerDeferred.promise);\n····}\n····/**\n·····*·Fetches·a·given·request·(and·invokes·any·applicable·plugin·callback\n·····*·methods)·using·the·`fetchOptions`·(for·non-navigation·requests)·and\n·····*·`plugins`·defined·on·the·`Strategy`·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·`requestWillFetch()`\n·····*·-·`fetchDidSucceed()`\n·····*·-·`fetchDidFail()`\n·····*\n·····*·@param·{Request|string}·input·The·URL·or·request·to·fetch.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetch(input)·{\n········const·{·event·}·=·this;\n········let·request·=·toRequest(input);\n········if·(request.mode·===·'navigate'·&&\n············event·instanceof·FetchEvent·&&\n············event.preloadResponse)·{\n············const·possiblePreloadResponse·=·(await·event.preloadResponse);\n············if·(possiblePreloadResponse)·{\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················logger.log(`Using·a·preloaded·navigation·response·for·`·+\n························`'${getFriendlyURL(request.url)}'`);\n················}\n················return·possiblePreloadResponse;\n············}\n········}\n········//·If·there·is·a·fetchDidFail·plugin,·we·need·to·save·a·clone·of·the\n········//·original·request·before·it's·either·modified·by·a·requestWillFetch\n········//·plugin·or·before·the·original·request's·body·is·consumed·via·fetch().\n········const·originalRequest·=·this.hasCallback('fetchDidFail')\n············?·request.clone()\n············:·null;\n········try·{\n············for·(const·cb·of·this.iterateCallbacks('requestWillFetch'))·{\n················request·=·await·cb({·request:·request.clone(),·event·});\n············}\n········}\n········catch·(err)·{\n············if·(err·instanceof·Error)·{\n················throw·new·WorkboxError('plugin-error-request-will-fetch',·{\n····················thrownErrorMessage:·err.message,\n················});\n············}\n········}\n········//·The·request·can·be·altered·by·plugins·with·`requestWillFetch`·making\n········//·the·original·request·(most·likely·from·a·`fetch`·event)·different\n········//·from·the·Request·we·make.·Pass·both·to·`fetchDidFail`·to·aid·debugging.\n········const·pluginFilteredRequest·=·request.clone();\n········try·{\n············let·fetchResponse;\n············//·See·https://github.com/GoogleChrome/workbox/issues/1796\n············fetchResponse·=·await·fetch(request,·request.mode·===·'navigate'·?·undefined·:·this._strategy.fetchOptions);\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·returned·a·response·with·`·+\n····················`status·'${fetchResponse.status}'.`);\n············}\n············for·(const·callback·of·this.iterateCallbacks('fetchDidSucceed'))·{\n················fetchResponse·=·await·callback({\n····················event,\n····················request:·pluginFilteredRequest,\n····················response:·fetchResponse,\n················});\n············}\n············return·fetchResponse;\n········}\n········catch·(error)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`Network·request·for·`·+\n····················`'${getFriendlyURL(request.url)}'·threw·an·error.`,·error);\n············}\n············//·`originalRequest`·will·only·exist·if·a·`fetchDidFail`·callback\n············//·is·being·used·(see·above).\n············if·(originalRequest)·{\n················await·this.runCallbacks('fetchDidFail',·{\n····················error:·error,\n····················event,\n····················originalRequest:·originalRequest.clone(),\n····················request:·pluginFilteredRequest.clone(),\n················});\n············}\n············throw·error;\n········}\n····}\n····/**\n·····*·Calls·`this.fetch()`·and·(in·the·background)·runs·`this.cachePut()`·on\n·····*·the·response·generated·by·`this.fetch()`.\n·····*\n·····*·The·call·to·`this.cachePut()`·automatically·invokes·`this.waitUntil()`,\n·····*·so·you·do·not·have·to·manually·call·`waitUntil()`·on·the·event.\n·····*\n·····*·@param·{Request|string}·input·The·request·or·URL·to·fetch·and·cache.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·fetchAndCachePut(input)·{\n········const·response·=·await·this.fetch(input);\n········const·responseClone·=·response.clone();\n········void·this.waitUntil(this.cachePut(input,·responseClone));\n········return·response;\n····}\n····/**\n·····*·Matches·a·request·from·the·cache·(and·invokes·any·applicable·plugin\n·····*·callback·methods)·using·the·`cacheName`,·`matchOptions`,·and·`plugins`\n·····*·defined·on·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cachedResponseWillByUsed()\n·····*\n·····*·@param·{Request|string}·key·The·Request·or·URL·to·use·as·the·cache·key.\n·····*·@return·{Promise<Response|undefined>}·A·matching·response,·if·found.\n·····*/\n····async·cacheMatch(key)·{\n········const·request·=·toRequest(key);\n········let·cachedResponse;\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'read');\n········const·multiMatchOptions·=·Object.assign(Object.assign({},·matchOptions),·{·cacheName·});\n········cachedResponse·=·await·caches.match(effectiveRequest,·multiMatchOptions);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(cachedResponse)·{\n················logger.debug(`Found·a·cached·response·in·'${cacheName}'.`);\n············}\n············else·{\n················logger.debug(`No·cached·response·found·in·'${cacheName}'.`);\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cachedResponseWillBeUsed'))·{\n············cachedResponse·=\n················(await·callback({\n····················cacheName,\n····················matchOptions,\n····················cachedResponse,\n····················request:·effectiveRequest,\n····················event:·this.event,\n················}))·||·undefined;\n········}\n········return·cachedResponse;\n····}\n····/**\n·····*·Puts·a·request/response·pair·in·the·cache·(and·invokes·any·applicable\n·····*·plugin·callback·methods)·using·the·`cacheName`·and·`plugins`·defined·on\n·····*·the·strategy·object.\n·····*\n·····*·The·following·plugin·lifecycle·methods·are·invoked·when·using·this·method:\n·····*·-·cacheKeyWillByUsed()\n·····*·-·cacheWillUpdate()\n·····*·-·cacheDidUpdate()\n·····*\n·····*·@param·{Request|string}·key·The·request·or·URL·to·use·as·the·cache·key.\n·····*·@param·{Response}·response·The·response·to·cache.\n·····*·@return·{Promise<boolean>}·`false`·if·a·cacheWillUpdate·caused·the·response\n·····*·not·be·cached,·and·`true`·otherwise.\n·····*/\n····async·cachePut(key,·response)·{\n········const·request·=·toRequest(key);\n········//·Run·in·the·next·task·to·avoid·blocking·other·cache·reads.\n········//·https://github.com/w3c/ServiceWorker/issues/1397\n········await·timeout(0);\n········const·effectiveRequest·=·await·this.getCacheKey(request,·'write');\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(effectiveRequest.method·&&·effectiveRequest.method·!==·'GET')·{\n················throw·new·WorkboxError('attempt-to-cache-non-get-request',·{\n····················url:·getFriendlyURL(effectiveRequest.url),\n····················method:·effectiveRequest.method,\n················});\n············}\n············//·See·https://github.com/GoogleChrome/workbox/issues/2818\n············const·vary·=·response.headers.get('Vary');\n············if·(vary)·{\n················logger.debug(`The·response·for·${getFriendlyURL(effectiveRequest.url)}·`·+\n····················`has·a·'Vary:·${vary}'·header.·`·+\n····················`Consider·setting·the·{ignoreVary:·true}·option·on·your·strategy·`·+\n····················`to·ensure·cache·matching·and·deletion·works·as·expected.`);\n············}\n········}\n········if·(!response)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.error(`Cannot·cache·non-existent·response·for·`·+\n····················`'${getFriendlyURL(effectiveRequest.url)}'.`);\n············}\n············throw·new·WorkboxError('cache-put-with-no-response',·{\n················url:·getFriendlyURL(effectiveRequest.url),\n············});\n········}\n········const·responseToCache·=·await·this._ensureResponseSafeToCache(response);\n········if·(!responseToCache)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Response·'${getFriendlyURL(effectiveRequest.url)}'·`·+\n····················`will·not·be·cached.`,·responseToCache);\n············}\n············return·false;\n········}\n········const·{·cacheName,·matchOptions·}·=·this._strategy;\n········const·cache·=·await·self.caches.open(cacheName);\n········const·hasCacheUpdateCallback·=·this.hasCallback('cacheDidUpdate');\n········const·oldResponse·=·hasCacheUpdateCallback\n············?·await·cacheMatchIgnoreParams(\n············//·TODO(philipwalton):·the·`__WB_REVISION__`·param·is·a·precaching\n············//·feature.·Consider·into·ways·to·only·add·this·behavior·if·using\n············//·precaching.\n············cache,·effectiveRequest.clone(),·['__WB_REVISION__'],·matchOptions)\n············:·null;\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.debug(`Updating·the·'${cacheName}'·cache·with·a·new·Response·`·+\n················`for·${getFriendlyURL(effectiveRequest.url)}.`);\n········}\n········try·{\n············await·cache.put(effectiveRequest,·hasCacheUpdateCallback·?·responseToCache.clone()·:·responseToCache);\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················//·See·https://developer.mozilla.org/en-US/docs/Web/API/DOMException#exception-QuotaExceededError\n················if·(error.name·===·'QuotaExceededError')·{\n····················await·executeQuotaErrorCallbacks();\n················}\n················throw·error;\n············}\n········}\n········for·(const·callback·of·this.iterateCallbacks('cacheDidUpdate'))·{\n············await·callback({\n················cacheName,\n················oldResponse,\n················newResponse:·responseToCache.clone(),\n················request:·effectiveRequest,\n················event:·this.event,\n············});\n········}\n········return·true;\n····}\n····/**\n·····*·Checks·the·list·of·plugins·for·the·`cacheKeyWillBeUsed`·callback,·and\n·····*·executes·any·of·those·callbacks·found·in·sequence.·The·final·`Request`\n·····*·object·returned·by·the·last·plugin·is·treated·as·the·cache·key·for·cache\n·····*·reads·and/or·writes.·If·no·`cacheKeyWillBeUsed`·plugin·callbacks·have\n·····*·been·registered,·the·passed·request·is·returned·unmodified\n·····*\n·····*·@param·{Request}·request\n·····*·@param·{string}·mode\n·····*·@return·{Promise<Request>}\n·····*/\n····async·getCacheKey(request,·mode)·{\n········const·key·=·`${request.url}·|·${mode}`;\n········if·(!this._cacheKeys[key])·{\n············let·effectiveRequest·=·request;\n············for·(const·callback·of·this.iterateCallbacks('cacheKeyWillBeUsed'))·{\n················effectiveRequest·=·toRequest(await·callback({\n····················mode,\n····················request:·effectiveRequest,\n····················event:·this.event,\n····················//·params·has·a·type·any·can't·change·right·now.\n····················params:·this.params,·//·eslint-disable-line\n················}));\n············}\n············this._cacheKeys[key]·=·effectiveRequest;\n········}\n········return·this._cacheKeys[key];\n····}\n····/**\n·····*·Returns·true·if·the·strategy·has·at·least·one·plugin·with·the·given\n·····*·callback.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·check·for.\n·····*·@return·{boolean}\n·····*/\n····hasCallback(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(name·in·plugin)·{\n················return·true;\n············}\n········}\n········return·false;\n····}\n····/**\n·····*·Runs·all·plugin·callbacks·matching·the·given·name,·in·order,·passing·the\n·····*·given·param·object·(merged·ith·the·current·plugin·state)·as·the·only\n·····*·argument.\n·····*\n·····*·Note:·since·this·method·runs·all·plugins,·it's·not·suitable·for·cases\n·····*·where·the·return·value·of·a·callback·needs·to·be·applied·prior·to·calling\n·····*·the·next·callback.·See\n·····*·{@link·workbox-strategies.StrategyHandler#iterateCallbacks}\n·····*·below·for·how·to·handle·that·case.\n·····*\n·····*·@param·{string}·name·The·name·of·the·callback·to·run·within·each·plugin.\n·····*·@param·{Object}·param·The·object·to·pass·as·the·first·(and·only)·param\n·····*·····when·executing·each·callback.·This·object·will·be·merged·with·the\n·····*·····current·plugin·state·prior·to·callback·execution.\n·····*/\n····async·runCallbacks(name,·param)·{\n········for·(const·callback·of·this.iterateCallbacks(name))·{\n············//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n············//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n············await·callback(param);\n········}\n····}\n····/**\n·····*·Accepts·a·callback·and·returns·an·iterable·of·matching·plugin·callbacks,\n·····*·where·each·callback·is·wrapped·with·the·current·handler·state·(i.e.·when\n·····*·you·call·each·callback,·whatever·object·parameter·you·pass·it·will\n·····*·be·merged·with·the·plugin's·current·state).\n·····*\n·····*·@param·{string}·name·The·name·fo·the·callback·to·run\n·····*·@return·{Array<Function>}\n·····*/\n····*iterateCallbacks(name)·{\n········for·(const·plugin·of·this._strategy.plugins)·{\n············if·(typeof·plugin[name]·===·'function')·{\n················const·state·=·this._pluginStateMap.get(plugin);\n················const·statefulCallback·=·(param)·=>·{\n····················const·statefulParam·=·Object.assign(Object.assign({},·param),·{·state·});\n····················//·TODO(philipwalton):·not·sure·why·`any`·is·needed.·It·seems·like\n····················//·this·should·work·with·`as·WorkboxPluginCallbackParam[C]`.\n····················return·plugin[name](statefulParam);\n················};\n················yield·statefulCallback;\n············}\n········}\n····}\n····/**\n·····*·Adds·a·promise·to·the\n·····*·[extend·lifetime·promises]{@link·https://w3c.github.io/ServiceWorker/#extendableevent-extend-lifetime-promises}\n·····*·of·the·event·event·associated·with·the·request·being·handled·(usually·a\n·····*·`FetchEvent`).\n·····*\n·····*·Note:·you·can·await\n·····*·{@link·workbox-strategies.StrategyHandler~doneWaiting}\n·····*·to·know·when·all·added·promises·have·settled.\n·····*\n·····*·@param·{Promise}·promise·A·promise·to·add·to·the·extend·lifetime·promises\n·····*·····of·the·event·that·triggered·the·request.\n·····*/\n····waitUntil(promise)·{\n········this._extendLifetimePromises.push(promise);\n········return·promise;\n····}\n····/**\n·····*·Returns·a·promise·that·resolves·once·all·promises·passed·to\n·····*·{@link·workbox-strategies.StrategyHandler~waitUntil}\n·····*·have·settled.\n·····*\n·····*·Note:·any·work·done·after·`doneWaiting()`·settles·should·be·manually\n·····*·passed·to·an·event's·`waitUntil()`·method·(not·this·handler's\n·····*·`waitUntil()`·method),·otherwise·the·service·worker·thread·my·be·killed\n·····*·prior·to·your·work·completing.\n·····*/\n····async·doneWaiting()·{\n········let·promise;\n········while·((promise·=·this._extendLifetimePromises.shift()))·{\n············await·promise;\n········}\n····}\n····/**\n·····*·Stops·running·the·strategy·and·immediately·resolves·any·pending\n·····*·`waitUntil()`·promises.\n·····*/\n····destroy()·{\n········this._handlerDeferred.resolve(null);\n····}\n····/**\n·····*·This·method·will·call·cacheWillUpdate·on·the·available·plugins·(or·use\n·····*·status·===·200)·to·determine·if·the·Response·is·safe·and·valid·to·cache.\n·····*\n·····*·@param·{Request}·options.request\n·····*·@param·{Response}·options.response\n·····*·@return·{Promise<Response|undefined>}\n·····*\n·····*·@private\n·····*/\n····async·_ensureResponseSafeToCache(response)·{\n········let·responseToCache·=·response;\n········let·pluginsUsed·=·false;\n········for·(const·callback·of·this.iterateCallbacks('cacheWillUpdate'))·{\n············responseToCache·=\n················(await·callback({\n····················request:·this.request,\n····················response:·responseToCache,\n····················event:·this.event,\n················}))·||·undefined;\n············pluginsUsed·=·true;\n············if·(!responseToCache)·{\n················break;\n············}\n········}\n········if·(!pluginsUsed)·{\n············if·(responseToCache·&&·responseToCache.status·!==·200)·{\n················responseToCache·=·undefined;\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(responseToCache)·{\n····················if·(responseToCache.status·!==·200)·{\n························if·(responseToCache.status·===·0)·{\n····························logger.warn(`The·response·for·'${this.request.url}'·`·+\n································`is·an·opaque·response.·The·caching·strategy·that·you're·`·+\n································`using·will·not·cache·opaque·responses·by·default.`);\n························}\n························else·{\n····························logger.debug(`The·response·for·'${this.request.url}'·`·+\n································`returned·a·status·code·of·'${response.status}'·and·won't·`·+\n································`be·cached·as·a·result.`);\n························}\n····················}\n················}\n············}\n········}\n········return·responseToCache;\n····}\n}\nexport·{·StrategyHandler·};\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Returns·a·promise·that·resolves·and·the·passed·number·of·milliseconds.\n·*·This·utility·is·an·async/await-friendly·version·of·`setTimeout`.\n·*\n·*·@param·{number}·ms\n·*·@return·{Promise}\n·*·@private\n·*/\nexport·function·timeout(ms)·{\n····return·new·Promise((resolve)·=>·setTimeout(resolve,·ms));\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\nconst·getFriendlyURL·=·(url)·=>·{\n····const·urlObj·=·new·URL(String(url),·location.href);\n····//·See·https://github.com/GoogleChrome/workbox/issues/2323\n····//·We·want·to·include·everything,·except·for·the·origin·if·it's·same-origin.\n····return·urlObj.href.replace(new·RegExp(`^${location.origin}`),·'');\n};\nexport·{·getFriendlyURL·};\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'../_private/logger.js';\nimport·{·quotaErrorCallbacks·}·from·'../models/quotaErrorCallbacks.js';\nimport·'../_version.js';\n/**\n·*·Runs·all·of·the·callback·functions,·one·at·a·time·sequentially,·in·the·order\n·*·in·which·they·were·registered.\n·*\n·*·@memberof·workbox-core\n·*·@private\n·*/\nasync·function·executeQuotaErrorCallbacks()·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log(`About·to·run·${quotaErrorCallbacks.size}·`·+\n············`callbacks·to·clean·up·caches.`);\n····}\n····for·(const·callback·of·quotaErrorCallbacks)·{\n········await·callback();\n········if·(process.env.NODE_ENV·!==·'production')·{\n············logger.log(callback,·'is·complete.');\n········}\n····}\n····if·(process.env.NODE_ENV·!==·'production')·{\n········logger.log('Finished·running·callbacks.');\n····}\n}\nexport·{·executeQuotaErrorCallbacks·};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·StrategyHandler·}·from·'./StrategyHandler.js';\nimport·'./_version.js';\n/**\n·*·An·abstract·base·class·that·all·other·strategy·classes·must·extend·from:\n·*\n·*·@memberof·workbox-strategies\n·*/\nclass·Strategy·{\n····/**\n·····*·Creates·a·new·instance·of·the·strategy·and·sets·all·documented·option\n·····*·properties·as·public·instance·properties.\n·····*\n·····*·Note:·if·a·custom·strategy·class·extends·the·base·Strategy·class·and·does\n·····*·not·need·more·than·these·properties,·it·does·not·need·to·define·its·own\n·····*·constructor.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·[`init`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters)\n·····*·of·[non-navigation](https://github.com/GoogleChrome/workbox/issues/1796)\n·····*·`fetch()`·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*/\n····constructor(options·=·{})·{\n········/**\n·········*·Cache·name·to·store·and·retrieve\n·········*·requests.·Defaults·to·the·cache·names·provided·by\n·········*·{@link·workbox-core.cacheNames}.\n·········*\n·········*·@type·{string}\n·········*/\n········this.cacheName·=·cacheNames.getRuntimeName(options.cacheName);\n········/**\n·········*·The·list\n·········*·[Plugins]{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins}\n·········*·used·by·this·strategy.\n·········*\n·········*·@type·{Array<Object>}\n·········*/\n········this.plugins·=·options.plugins·||·[];\n········/**\n·········*·Values·passed·along·to·the\n·········*·[`init`]{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters}\n·········*·of·all·fetch()·requests·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.fetchOptions·=·options.fetchOptions;\n········/**\n·········*·The\n·········*·[`CacheQueryOptions`]{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions}\n·········*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·········*\n·········*·@type·{Object}\n·········*/\n········this.matchOptions·=·options.matchOptions;\n····}\n····/**\n·····*·Perform·a·request·strategy·and·returns·a·`Promise`·that·will·resolve·with\n·····*·a·`Response`,·invoking·all·relevant·plugin·callbacks.\n·····*\n·····*·When·a·strategy·instance·is·registered·with·a·Workbox\n·····*·{@link·workbox-routing.Route},·this·method·is·automatically\n·····*·called·when·the·route·matches.\n·····*\n·····*·Alternatively,·this·method·can·be·used·in·a·standalone·`FetchEvent`\n·····*·listener·by·passing·it·to·`event.respondWith()`.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*/\n····handle(options)·{\n········const·[responseDone]·=·this.handleAll(options);\n········return·responseDone;\n····}\n····/**\n·····*·Similar·to·{@link·workbox-strategies.Strategy~handle},·but\n·····*·instead·of·just·returning·a·`Promise`·that·resolves·to·a·`Response`·it\n·····*·it·will·return·an·tuple·of·`[response,·done]`·promises,·where·the·former\n·····*·(`response`)·is·equivalent·to·what·`handle()`·returns,·and·the·latter·is·a\n·····*·Promise·that·will·resolve·once·any·promises·that·were·added·to\n·····*·`event.waitUntil()`·as·part·of·performing·the·strategy·have·completed.\n·····*\n·····*·You·can·await·the·`done`·promise·to·ensure·any·extra·work·performed·by\n·····*·the·strategy·(usually·caching·responses)·completes·successfully.\n·····*\n·····*·@param·{FetchEvent|Object}·options·A·`FetchEvent`·or·an·object·with·the\n·····*·····properties·listed·below.\n·····*·@param·{Request|string}·options.request·A·request·to·run·this·strategy·for.\n·····*·@param·{ExtendableEvent}·options.event·The·event·associated·with·the\n·····*·····request.\n·····*·@param·{URL}·[options.url]\n·····*·@param·{*}·[options.params]\n·····*·@return·{Array<Promise>}·A·tuple·of·[response,·done]\n·····*·····promises·that·can·be·used·to·determine·when·the·response·resolves·as\n·····*·····well·as·when·the·handler·has·completed·all·its·work.\n·····*/\n····handleAll(options)·{\n········//·Allow·for·flexible·options·to·be·passed.\n········if·(options·instanceof·FetchEvent)·{\n············options·=·{\n················event:·options,\n················request:·options.request,\n············};\n········}\n········const·event·=·options.event;\n········const·request·=·typeof·options.request·===·'string'\n············?·new·Request(options.request)\n············:·options.request;\n········const·params·=·'params'·in·options·?·options.params·:·undefined;\n········const·handler·=·new·StrategyHandler(this,·{·event,·request,·params·});\n········const·responseDone·=·this._getResponse(handler,·request,·event);\n········const·handlerDone·=·this._awaitComplete(responseDone,·handler,·request,·event);\n········//·Return·an·array·of·promises,·suitable·for·use·with·Promise.all().\n········return·[responseDone,·handlerDone];\n····}\n····async·_getResponse(handler,·request,·event)·{\n········await·handler.runCallbacks('handlerWillStart',·{·event,·request·});\n········let·response·=·undefined;\n········try·{\n············response·=·await·this._handle(request,·handler);\n············//·The·\"official\"·Strategy·subclasses·all·throw·this·error·automatically,\n············//·but·in·case·a·third-party·Strategy·doesn't,·ensure·that·we·have·a\n············//·consistent·failure·when·there's·no·response·or·an·error·response.\n············if·(!response·||·response.type·===·'error')·{\n················throw·new·WorkboxError('no-response',·{·url:·request.url·});\n············}\n········}\n········catch·(error)·{\n············if·(error·instanceof·Error)·{\n················for·(const·callback·of·handler.iterateCallbacks('handlerDidError'))·{\n····················response·=·await·callback({·error,·event,·request·});\n····················if·(response)·{\n························break;\n····················}\n················}\n············}\n············if·(!response)·{\n················throw·error;\n············}\n············else·if·(process.env.NODE_ENV·!==·'production')·{\n················logger.log(`While·responding·to·'${getFriendlyURL(request.url)}',·`·+\n····················`an·${error·instanceof·Error·?·error.toString()·:·''}·error·occurred.·Using·a·fallback·response·provided·by·`·+\n····················`a·handlerDidError·plugin.`);\n············}\n········}\n········for·(const·callback·of·handler.iterateCallbacks('handlerWillRespond'))·{\n············response·=·await·callback({·event,·request,·response·});\n········}\n········return·response;\n····}\n····async·_awaitComplete(responseDone,·handler,·request,·event)·{\n········let·response;\n········let·error;\n········try·{\n············response·=·await·responseDone;\n········}\n········catch·(error)·{\n············//·Ignore·errors,·as·response·errors·should·be·caught·via·the·`response`\n············//·promise·above.·The·`done`·promise·will·only·throw·for·errors·in\n············//·promises·passed·to·`handler.waitUntil()`.\n········}\n········try·{\n············await·handler.runCallbacks('handlerDidRespond',·{\n················event,\n················request,\n················response,\n············});\n············await·handler.doneWaiting();\n········}\n········catch·(waitUntilError)·{\n············if·(waitUntilError·instanceof·Error)·{\n················error·=·waitUntilError;\n············}\n········}\n········await·handler.runCallbacks('handlerDidComplete',·{\n············event,\n············request,\n············response,\n············error:·error,\n········});\n········handler.destroy();\n········if·(error)·{\n············throw·error;\n········}\n····}\n}\nexport·{·Strategy·};\n/**\n·*·Classes·extending·the·`Strategy`·based·class·should·implement·this·method,\n·*·and·leverage·the·{@link·workbox-strategies.StrategyHandler}\n·*·arg·to·perform·all·fetching·and·cache·logic,·which·will·ensure·all·relevant\n·*·cache,·cache·options,·fetch·options·and·plugins·are·used·(per·the·current\n·*·strategy·instance).\n·*\n·*·@name·_handle\n·*·@instance\n·*·@abstract\n·*·@function\n·*·@param·{Request}·request\n·*·@param·{workbox-strategies.StrategyHandler}·handler\n·*·@return·{Promise<Response>}\n·*\n·*·@memberof·workbox-strategies.Strategy\n·*/\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·copyResponse·}·from·'workbox-core/copyResponse.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Strategy·}·from·'workbox-strategies/Strategy.js';\nimport·'./_version.js';\n/**\n·*·A·{@link·workbox-strategies.Strategy}·implementation\n·*·specifically·designed·to·work·with\n·*·{@link·workbox-precaching.PrecacheController}\n·*·to·both·cache·and·fetch·precached·assets.\n·*\n·*·Note:·an·instance·of·this·class·is·created·automatically·when·creating·a\n·*·`PrecacheController`;·it's·generally·not·necessary·to·create·this·yourself.\n·*\n·*·@extends·workbox-strategies.Strategy\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheStrategy·extends·Strategy·{\n····/**\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·Cache·name·to·store·and·retrieve\n·····*·requests.·Defaults·to·the·cache·names·provided·by\n·····*·{@link·workbox-core.cacheNames}.\n·····*·@param·{Array<Object>}·[options.plugins]·{@link·https://developers.google.com/web/tools/workbox/guides/using-plugins|Plugins}\n·····*·to·use·in·conjunction·with·this·caching·strategy.\n·····*·@param·{Object}·[options.fetchOptions]·Values·passed·along·to·the\n·····*·{@link·https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Parameters|init}\n·····*·of·all·fetch()·requests·made·by·this·strategy.\n·····*·@param·{Object}·[options.matchOptions]·The\n·····*·{@link·https://w3c.github.io/ServiceWorker/#dictdef-cachequeryoptions|CacheQueryOptions}\n·····*·for·any·`cache.match()`·or·`cache.put()`·calls·made·by·this·strategy.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor(options·=·{})·{\n········options.cacheName·=·cacheNames.getPrecacheName(options.cacheName);\n········super(options);\n········this._fallbackToNetwork·=\n············options.fallbackToNetwork·===·false·?·false·:·true;\n········//·Redirected·responses·cannot·be·used·to·satisfy·a·navigation·request,·so\n········//·any·redirected·response·must·be·\"copied\"·rather·than·cloned,·so·the·new\n········//·response·doesn't·contain·the·`redirected`·flag.·See:\n········//·https://bugs.chromium.org/p/chromium/issues/detail?id=669363&desc=2#c1\n········this.plugins.push(PrecacheStrategy.copyRedirectedCacheableResponsesPlugin);\n····}\n····/**\n·····*·@private\n·····*·@param·{Request|string}·request·A·request·to·run·this·strategy·for.\n·····*·@param·{workbox-strategies.StrategyHandler}·handler·The·event·that\n·····*·····triggered·the·request.\n·····*·@return·{Promise<Response>}\n·····*/\n····async·_handle(request,·handler)·{\n········const·response·=·await·handler.cacheMatch(request);\n········if·(response)·{\n············return·response;\n········}\n········//·If·this·is·an·`install`·event·for·an·entry·that·isn't·already·cached,\n········//·then·populate·the·cache.\n········if·(handler.event·&&·handler.event.type·===·'install')·{\n············return·await·this._handleInstall(request,·handler);\n········}\n········//·Getting·here·means·something·went·wrong.·An·entry·that·should·have·been\n········//·precached·wasn't·found·in·the·cache.\n········return·await·this._handleFetch(request,·handler);\n····}\n····async·_handleFetch(request,·handler)·{\n········let·response;\n········const·params·=·(handler.params·||·{});\n········//·Fall·back·to·the·network·if·we're·configured·to·do·so.\n········if·(this._fallbackToNetwork)·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.warn(`The·precached·response·for·`·+\n····················`${getFriendlyURL(request.url)}·in·${this.cacheName}·was·not·`·+\n····················`found.·Falling·back·to·the·network.`);\n············}\n············const·integrityInManifest·=·params.integrity;\n············const·integrityInRequest·=·request.integrity;\n············const·noIntegrityConflict·=·!integrityInRequest·||·integrityInRequest·===·integrityInManifest;\n············//·Do·not·add·integrity·if·the·original·request·is·no-cors\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············response·=·await·handler.fetch(new·Request(request,·{\n················integrity:·request.mode·!==·'no-cors'\n····················?·integrityInRequest·||·integrityInManifest\n····················:·undefined,\n············}));\n············//·It's·only·\"safe\"·to·repair·the·cache·if·we're·using·SRI·to·guarantee\n············//·that·the·response·matches·the·precache·manifest's·expectations,\n············//·and·there's·either·a)·no·integrity·property·in·the·incoming·request\n············//·or·b)·there·is·an·integrity,·and·it·matches·the·precache·manifest.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2858\n············//·Also·if·the·original·request·users·no-cors·we·don't·use·integrity.\n············//·See·https://github.com/GoogleChrome/workbox/issues/3096\n············if·(integrityInManifest·&&\n················noIntegrityConflict·&&\n················request.mode·!==·'no-cors')·{\n················this._useDefaultCacheabilityPluginIfNeeded();\n················const·wasCached·=·await·handler.cachePut(request,·response.clone());\n················if·(process.env.NODE_ENV·!==·'production')·{\n····················if·(wasCached)·{\n························logger.log(`A·response·for·${getFriendlyURL(request.url)}·`·+\n····························`was·used·to·\"repair\"·the·precache.`);\n····················}\n················}\n············}\n········}\n········else·{\n············//·This·shouldn't·normally·happen,·but·there·are·edge·cases:\n············//·https://github.com/GoogleChrome/workbox/issues/1441\n············throw·new·WorkboxError('missing-precache-entry',·{\n················cacheName:·this.cacheName,\n················url:·request.url,\n············});\n········}\n········if·(process.env.NODE_ENV·!==·'production')·{\n············const·cacheKey·=·params.cacheKey·||·(await·handler.getCacheKey(request,·'read'));\n············//·Workbox·is·going·to·handle·the·route.\n············//·print·the·routing·details·to·the·console.\n············logger.groupCollapsed(`Precaching·is·responding·to:·`·+·getFriendlyURL(request.url));\n············logger.log(`Serving·the·precached·url:·${getFriendlyURL(cacheKey·instanceof·Request·?·cacheKey.url·:·cacheKey)}`);\n············logger.groupCollapsed(`View·request·details·here.`);\n············logger.log(request);\n············logger.groupEnd();\n············logger.groupCollapsed(`View·response·details·here.`);\n············logger.log(response);\n············logger.groupEnd();\n············logger.groupEnd();\n········}\n········return·response;\n····}\n····async·_handleInstall(request,·handler)·{\n········this._useDefaultCacheabilityPluginIfNeeded();\n········const·response·=·await·handler.fetch(request);\n········//·Make·sure·we·defer·cachePut()·until·after·we·know·the·response\n········//·should·be·cached;·see·https://github.com/GoogleChrome/workbox/issues/2737\n········const·wasCached·=·await·handler.cachePut(request,·response.clone());\n········if·(!wasCached)·{\n············//·Throwing·here·will·lead·to·the·`install`·handler·failing,·which\n············//·we·want·to·do·if·*any*·of·the·responses·aren't·safe·to·cache.\n············throw·new·WorkboxError('bad-precaching-response',·{\n················url:·request.url,\n················status:·response.status,\n············});\n········}\n········return·response;\n····}\n····/**\n·····*·This·method·is·complex,·as·there·a·number·of·things·to·account·for:\n·····*\n·····*·The·`plugins`·array·can·be·set·at·construction,·and/or·it·might·be·added·to\n·····*·to·at·any·time·before·the·strategy·is·used.\n·····*\n·····*·At·the·time·the·strategy·is·used·(i.e.·during·an·`install`·event),·there\n·····*·needs·to·be·at·least·one·plugin·that·implements·`cacheWillUpdate`·in·the\n·····*·array,·other·than·`copyRedirectedCacheableResponsesPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·are·no·suitable·`cacheWillUpdate`\n·····*·plugins,·we·need·to·add·`defaultPrecacheCacheabilityPlugin`.\n·····*\n·····*·-·If·this·method·is·called·and·there·is·exactly·one·`cacheWillUpdate`,·then\n·····*·we·don't·have·to·do·anything·(this·might·be·a·previously·added\n·····*·`defaultPrecacheCacheabilityPlugin`,·or·it·might·be·a·custom·plugin).\n·····*\n·····*·-·If·this·method·is·called·and·there·is·more·than·one·`cacheWillUpdate`,\n·····*·then·we·need·to·check·if·one·is·`defaultPrecacheCacheabilityPlugin`.·If·so,\n·····*·we·need·to·remove·it.·(This·situation·is·unlikely,·but·it·could·happen·if\n·····*·the·strategy·is·used·multiple·times,·the·first·without·a·`cacheWillUpdate`,\n·····*·and·then·later·on·after·manually·adding·a·custom·`cacheWillUpdate`.)\n·····*\n·····*·See·https://github.com/GoogleChrome/workbox/issues/2737·for·more·context.\n·····*\n·····*·@private\n·····*/\n····_useDefaultCacheabilityPluginIfNeeded()·{\n········let·defaultPluginIndex·=·null;\n········let·cacheWillUpdatePluginCount·=·0;\n········for·(const·[index,·plugin]·of·this.plugins.entries())·{\n············//·Ignore·the·copy·redirected·plugin·when·determining·what·to·do.\n············if·(plugin·===·PrecacheStrategy.copyRedirectedCacheableResponsesPlugin)·{\n················continue;\n············}\n············//·Save·the·default·plugin's·index,·in·case·it·needs·to·be·removed.\n············if·(plugin·===·PrecacheStrategy.defaultPrecacheCacheabilityPlugin)·{\n················defaultPluginIndex·=·index;\n············}\n············if·(plugin.cacheWillUpdate)·{\n················cacheWillUpdatePluginCount++;\n············}\n········}\n········if·(cacheWillUpdatePluginCount·===·0)·{\n············this.plugins.push(PrecacheStrategy.defaultPrecacheCacheabilityPlugin);\n········}\n········else·if·(cacheWillUpdatePluginCount·>·1·&&·defaultPluginIndex·!==·null)·{\n············//·Only·remove·the·default·plugin;·multiple·custom·plugins·are·allowed.\n············this.plugins.splice(defaultPluginIndex,·1);\n········}\n········//·Nothing·needs·to·be·done·if·cacheWillUpdatePluginCount·is·1\n····}\n}\nPrecacheStrategy.defaultPrecacheCacheabilityPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········if·(!response·||·response.status·>=·400)·{\n············return·null;\n········}\n········return·response;\n····},\n};\nPrecacheStrategy.copyRedirectedCacheableResponsesPlugin·=·{\n····async·cacheWillUpdate({·response·})·{\n········return·response.redirected·?·await·copyResponse(response)·:·response;\n····},\n};\nexport·{·PrecacheStrategy·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'workbox-core/_private/assert.js';\nimport·{·cacheNames·}·from·'workbox-core/_private/cacheNames.js';\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·waitUntil·}·from·'workbox-core/_private/waitUntil.js';\nimport·{·createCacheKey·}·from·'./utils/createCacheKey.js';\nimport·{·PrecacheInstallReportPlugin·}·from·'./utils/PrecacheInstallReportPlugin.js';\nimport·{·PrecacheCacheKeyPlugin·}·from·'./utils/PrecacheCacheKeyPlugin.js';\nimport·{·printCleanupDetails·}·from·'./utils/printCleanupDetails.js';\nimport·{·printInstallDetails·}·from·'./utils/printInstallDetails.js';\nimport·{·PrecacheStrategy·}·from·'./PrecacheStrategy.js';\nimport·'./_version.js';\n/**\n·*·Performs·efficient·precaching·of·assets.\n·*\n·*·@memberof·workbox-precaching\n·*/\nclass·PrecacheController·{\n····/**\n·····*·Create·a·new·PrecacheController.\n·····*\n·····*·@param·{Object}·[options]\n·····*·@param·{string}·[options.cacheName]·The·cache·to·use·for·precaching.\n·····*·@param·{string}·[options.plugins]·Plugins·to·use·when·precaching·as·well\n·····*·as·responding·to·fetch·events·for·precached·assets.\n·····*·@param·{boolean}·[options.fallbackToNetwork=true]·Whether·to·attempt·to\n·····*·get·the·response·from·the·network·if·there's·a·precache·miss.\n·····*/\n····constructor({·cacheName,·plugins·=·[],·fallbackToNetwork·=·true,·}·=·{})·{\n········this._urlsToCacheKeys·=·new·Map();\n········this._urlsToCacheModes·=·new·Map();\n········this._cacheKeysToIntegrities·=·new·Map();\n········this._strategy·=·new·PrecacheStrategy({\n············cacheName:·cacheNames.getPrecacheName(cacheName),\n············plugins:·[\n················...plugins,\n················new·PrecacheCacheKeyPlugin({·precacheController:·this·}),\n············],\n············fallbackToNetwork,\n········});\n········//·Bind·the·install·and·activate·methods·to·the·instance.\n········this.install·=·this.install.bind(this);\n········this.activate·=·this.activate.bind(this);\n····}\n····/**\n·····*·@type·{workbox-precaching.PrecacheStrategy}·The·strategy·created·by·this·controller·and\n·····*·used·to·cache·assets·and·respond·to·fetch·events.\n·····*/\n····get·strategy()·{\n········return·this._strategy;\n····}\n····/**\n·····*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·····*·stores·the·files·in·the\n·····*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·····*·worker·installs.\n·····*\n·····*·This·method·can·be·called·multiple·times.\n·····*\n·····*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·····*/\n····precache(entries)·{\n········this.addToCacheList(entries);\n········if·(!this._installAndActiveListenersAdded)·{\n············self.addEventListener('install',·this.install);\n············self.addEventListener('activate',·this.activate);\n············this._installAndActiveListenersAdded·=·true;\n········}\n····}\n····/**\n·····*·This·method·will·add·items·to·the·precache·list,·removing·duplicates\n·····*·and·ensuring·the·information·is·valid.\n·····*\n·····*·@param·{Array<workbox-precaching.PrecacheController.PrecacheEntry|string>}·entries\n·····*·····Array·of·entries·to·precache.\n·····*/\n····addToCacheList(entries)·{\n········if·(process.env.NODE_ENV·!==·'production')·{\n············assert.isArray(entries,·{\n················moduleName:·'workbox-precaching',\n················className:·'PrecacheController',\n················funcName:·'addToCacheList',\n················paramName:·'entries',\n············});\n········}\n········const·urlsToWarnAbout·=·[];\n········for·(const·entry·of·entries)·{\n············//·See·https://github.com/GoogleChrome/workbox/issues/2259\n············if·(typeof·entry·===·'string')·{\n················urlsToWarnAbout.push(entry);\n············}\n············else·if·(entry·&&·entry.revision·===·undefined)·{\n················urlsToWarnAbout.push(entry.url);\n············}\n············const·{·cacheKey,·url·}·=·createCacheKey(entry);\n············const·cacheMode·=·typeof·entry·!==·'string'·&&·entry.revision·?·'reload'·:·'default';\n············if·(this._urlsToCacheKeys.has(url)·&&\n················this._urlsToCacheKeys.get(url)·!==·cacheKey)·{\n················throw·new·WorkboxError('add-to-cache-list-conflicting-entries',·{\n····················firstEntry:·this._urlsToCacheKeys.get(url),\n····················secondEntry:·cacheKey,\n················});\n············}\n············if·(typeof·entry·!==·'string'·&&·entry.integrity)·{\n················if·(this._cacheKeysToIntegrities.has(cacheKey)·&&\n····················this._cacheKeysToIntegrities.get(cacheKey)·!==·entry.integrity)·{\n····················throw·new·WorkboxError('add-to-cache-list-conflicting-integrities',·{\n························url,\n····················});\n················}\n················this._cacheKeysToIntegrities.set(cacheKey,·entry.integrity);\n············}\n············this._urlsToCacheKeys.set(url,·cacheKey);\n············this._urlsToCacheModes.set(url,·cacheMode);\n············if·(urlsToWarnAbout.length·>·0)·{\n················const·warningMessage·=·`Workbox·is·precaching·URLs·without·revision·`·+\n····················`info:·${urlsToWarnAbout.join(',·')}\\nThis·is·generally·NOT·safe.·`·+\n····················`Learn·more·at·https://bit.ly/wb-precache`;\n················if·(process.env.NODE_ENV·===·'production')·{\n····················//·Use·console·directly·to·display·this·warning·without·bloating\n····················//·bundle·sizes·by·pulling·in·all·of·the·logger·codebase·in·prod.\n····················console.warn(warningMessage);\n················}\n················else·{\n····················logger.warn(warningMessage);\n················}\n············}\n········}\n····}\n····/**\n·····*·Precaches·new·and·updated·assets.·Call·this·method·from·the·service·worker\n·····*·install·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.InstallResult>}\n·····*/\n····install(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·installReportPlugin·=·new·PrecacheInstallReportPlugin();\n············this.strategy.plugins.push(installReportPlugin);\n············//·Cache·entries·one·at·a·time.\n············//·See·https://github.com/GoogleChrome/workbox/issues/2528\n············for·(const·[url,·cacheKey]·of·this._urlsToCacheKeys)·{\n················const·integrity·=·this._cacheKeysToIntegrities.get(cacheKey);\n················const·cacheMode·=·this._urlsToCacheModes.get(url);\n················const·request·=·new·Request(url,·{\n····················integrity,\n····················cache:·cacheMode,\n····················credentials:·'same-origin',\n················});\n················await·Promise.all(this.strategy.handleAll({\n····················params:·{·cacheKey·},\n····················request,\n····················event,\n················}));\n············}\n············const·{·updatedURLs,·notUpdatedURLs·}·=·installReportPlugin;\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printInstallDetails(updatedURLs,·notUpdatedURLs);\n············}\n············return·{·updatedURLs,·notUpdatedURLs·};\n········});\n····}\n····/**\n·····*·Deletes·assets·that·are·no·longer·present·in·the·current·precache·manifest.\n·····*·Call·this·method·from·the·service·worker·activate·event.\n·····*\n·····*·Note:·this·method·calls·`event.waitUntil()`·for·you,·so·you·do·not·need\n·····*·to·call·it·yourself·in·your·event·handlers.\n·····*\n·····*·@param·{ExtendableEvent}·event\n·····*·@return·{Promise<workbox-precaching.CleanupResult>}\n·····*/\n····activate(event)·{\n········//·waitUntil·returns·Promise<any>\n········//·eslint-disable-next-line·@typescript-eslint/no-unsafe-return\n········return·waitUntil(event,·async·()·=>·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············const·currentlyCachedRequests·=·await·cache.keys();\n············const·expectedCacheKeys·=·new·Set(this._urlsToCacheKeys.values());\n············const·deletedURLs·=·[];\n············for·(const·request·of·currentlyCachedRequests)·{\n················if·(!expectedCacheKeys.has(request.url))·{\n····················await·cache.delete(request);\n····················deletedURLs.push(request.url);\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················printCleanupDetails(deletedURLs);\n············}\n············return·{·deletedURLs·};\n········});\n····}\n····/**\n·····*·Returns·a·mapping·of·a·precached·URL·to·the·corresponding·cache·key,·taking\n·····*·into·account·the·revision·information·for·the·URL.\n·····*\n·····*·@return·{Map<string,·string>}·A·URL·to·cache·key·mapping.\n·····*/\n····getURLsToCacheKeys()·{\n········return·this._urlsToCacheKeys;\n····}\n····/**\n·····*·Returns·a·list·of·all·the·URLs·that·have·been·precached·by·the·current\n·····*·service·worker.\n·····*\n·····*·@return·{Array<string>}·The·precached·URLs.\n·····*/\n····getCachedURLs()·{\n········return·[...this._urlsToCacheKeys.keys()];\n····}\n····/**\n·····*·Returns·the·cache·key·used·for·storing·a·given·URL.·If·that·URL·is\n·····*·unversioned,·like·`/index.html',·then·the·cache·key·will·be·the·original\n·····*·URL·with·a·search·parameter·appended·to·it.\n·····*\n·····*·@param·{string}·url·A·URL·whose·cache·key·you·want·to·look·up.\n·····*·@return·{string}·The·versioned·URL·that·corresponds·to·a·cache·key\n·····*·for·the·original·URL,·or·undefined·if·that·URL·isn't·precached.\n·····*/\n····getCacheKeyForURL(url)·{\n········const·urlObject·=·new·URL(url,·location.href);\n········return·this._urlsToCacheKeys.get(urlObject.href);\n····}\n····/**\n·····*·@param·{string}·url·A·cache·key·whose·SRI·you·want·to·look·up.\n·····*·@return·{string}·The·subresource·integrity·associated·with·the·cache·key,\n·····*·or·undefined·if·it's·not·set.\n·····*/\n····getIntegrityForCacheKey(cacheKey)·{\n········return·this._cacheKeysToIntegrities.get(cacheKey);\n····}\n····/**\n·····*·This·acts·as·a·drop-in·replacement·for\n·····*·[`cache.match()`](https://developer.mozilla.org/en-US/docs/Web/API/Cache/match)\n·····*·with·the·following·differences:\n·····*\n·····*·-·It·knows·what·the·name·of·the·precache·is,·and·only·checks·in·that·cache.\n·····*·-·It·allows·you·to·pass·in·an·\"original\"·URL·without·versioning·parameters,\n·····*·and·it·will·automatically·look·up·the·correct·cache·key·for·the·currently\n·····*·active·revision·of·that·URL.\n·····*\n·····*·E.g.,·`matchPrecache('index.html')`·will·find·the·correct·precached\n·····*·response·for·the·currently·active·service·worker,·even·if·the·actual·cache\n·····*·key·is·`'/index.html?__WB_REVISION__=1234abcd'`.\n·····*\n·····*·@param·{string|Request}·request·The·key·(without·revisioning·parameters)\n·····*·to·look·up·in·the·precache.\n·····*·@return·{Promise<Response|undefined>}\n·····*/\n····async·matchPrecache(request)·{\n········const·url·=·request·instanceof·Request·?·request.url·:·request;\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(cacheKey)·{\n············const·cache·=·await·self.caches.open(this.strategy.cacheName);\n············return·cache.match(cacheKey);\n········}\n········return·undefined;\n····}\n····/**\n·····*·Returns·a·function·that·looks·up·`url`·in·the·precache·(taking·into\n·····*·account·revision·information),·and·returns·the·corresponding·`Response`.\n·····*\n·····*·@param·{string}·url·The·precached·URL·which·will·be·used·to·lookup·the\n·····*·`Response`.\n·····*·@return·{workbox-routing~handlerCallback}\n·····*/\n····createHandlerBoundToURL(url)·{\n········const·cacheKey·=·this.getCacheKeyForURL(url);\n········if·(!cacheKey)·{\n············throw·new·WorkboxError('non-precached-url',·{·url·});\n········}\n········return·(options)·=>·{\n············options.request·=·new·Request(url);\n············options.params·=·Object.assign({·cacheKey·},·options.params);\n············return·this.strategy.handle(options);\n········};\n····}\n}\nexport·{·PrecacheController·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·PrecacheController·}·from·'../PrecacheController.js';\nimport·'../_version.js';\nlet·precacheController;\n/**\n·*·@return·{PrecacheController}\n·*·@private\n·*/\nexport·const·getOrCreatePrecacheController·=·()·=>·{\n····if·(!precacheController)·{\n········precacheController·=·new·PrecacheController();\n····}\n····return·precacheController;\n};\n","/*\n··Copyright·2020·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·getFriendlyURL·}·from·'workbox-core/_private/getFriendlyURL.js';\nimport·{·Route·}·from·'workbox-routing/Route.js';\nimport·{·generateURLVariations·}·from·'./utils/generateURLVariations.js';\nimport·'./_version.js';\n/**\n·*·A·subclass·of·{@link·workbox-routing.Route}·that·takes·a\n·*·{@link·workbox-precaching.PrecacheController}\n·*·instance·and·uses·it·to·match·incoming·requests·and·handle·fetching\n·*·responses·from·the·precache.\n·*\n·*·@memberof·workbox-precaching\n·*·@extends·workbox-routing.Route\n·*/\nclass·PrecacheRoute·extends·Route·{\n····/**\n·····*·@param·{PrecacheController}·precacheController·A·`PrecacheController`\n·····*·instance·used·to·both·match·requests·and·respond·to·fetch·events.\n·····*·@param·{Object}·[options]·Options·to·control·how·requests·are·matched\n·····*·against·the·list·of·precached·URLs.\n·····*·@param·{string}·[options.directoryIndex=index.html]·The·`directoryIndex`·will\n·····*·check·cache·entries·for·a·URLs·ending·with·'/'·to·see·if·there·is·a·hit·when\n·····*·appending·the·`directoryIndex`·value.\n·····*·@param·{Array<RegExp>}·[options.ignoreURLParametersMatching=[/^utm_/,·/^fbclid$/]]·An\n·····*·array·of·regex's·to·remove·search·params·when·looking·for·a·cache·match.\n·····*·@param·{boolean}·[options.cleanURLs=true]·The·`cleanURLs`·option·will\n·····*·check·the·cache·for·the·URL·with·a·`.html`·added·to·the·end·of·the·end.\n·····*·@param·{workbox-precaching~urlManipulation}·[options.urlManipulation]\n·····*·This·is·a·function·that·should·take·a·URL·and·return·an·array·of\n·····*·alternative·URLs·that·should·be·checked·for·precache·matches.\n·····*/\n····constructor(precacheController,·options)·{\n········const·match·=·({·request,·})·=>·{\n············const·urlsToCacheKeys·=·precacheController.getURLsToCacheKeys();\n············for·(const·possibleURL·of·generateURLVariations(request.url,·options))·{\n················const·cacheKey·=·urlsToCacheKeys.get(possibleURL);\n················if·(cacheKey)·{\n····················const·integrity·=·precacheController.getIntegrityForCacheKey(cacheKey);\n····················return·{·cacheKey,·integrity·};\n················}\n············}\n············if·(process.env.NODE_ENV·!==·'production')·{\n················logger.debug(`Precaching·did·not·find·a·match·for·`·+·getFriendlyURL(request.url));\n············}\n············return;\n········};\n········super(match,·precacheController.strategy);\n····}\n}\nexport·{·PrecacheRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·removeIgnoredSearchParams·}·from·'./removeIgnoredSearchParams.js';\nimport·'../_version.js';\n/**\n·*·Generator·function·that·yields·possible·variations·on·the·original·URL·to\n·*·check,·one·at·a·time.\n·*\n·*·@param·{string}·url\n·*·@param·{Object}·options\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function*·generateURLVariations(url,·{·ignoreURLParametersMatching·=·[/^utm_/,·/^fbclid$/],·directoryIndex·=·'index.html',·cleanURLs·=·true,·urlManipulation,·}·=·{})·{\n····const·urlObject·=·new·URL(url,·location.href);\n····urlObject.hash·=·'';\n····yield·urlObject.href;\n····const·urlWithoutIgnoredParams·=·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching);\n····yield·urlWithoutIgnoredParams.href;\n····if·(directoryIndex·&&·urlWithoutIgnoredParams.pathname.endsWith('/'))·{\n········const·directoryURL·=·new·URL(urlWithoutIgnoredParams.href);\n········directoryURL.pathname·+=·directoryIndex;\n········yield·directoryURL.href;\n····}\n····if·(cleanURLs)·{\n········const·cleanURL·=·new·URL(urlWithoutIgnoredParams.href);\n········cleanURL.pathname·+=·'.html';\n········yield·cleanURL.href;\n····}\n····if·(urlManipulation)·{\n········const·additionalURLs·=·urlManipulation({·url:·urlObject·});\n········for·(const·urlToAttempt·of·additionalURLs)·{\n············yield·urlToAttempt.href;\n········}\n····}\n}\n","/*\n··Copyright·2018·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·'../_version.js';\n/**\n·*·Removes·any·URL·search·parameters·that·should·be·ignored.\n·*\n·*·@param·{URL}·urlObject·The·original·URL.\n·*·@param·{Array<RegExp>}·ignoreURLParametersMatching·RegExps·to·test·against\n·*·each·search·parameter·name.·Matches·mean·that·the·search·parameter·should·be\n·*·ignored.\n·*·@return·{URL}·The·URL·with·any·ignored·search·parameters·removed.\n·*\n·*·@private\n·*·@memberof·workbox-precaching\n·*/\nexport·function·removeIgnoredSearchParams(urlObject,·ignoreURLParametersMatching·=·[])·{\n····//·Convert·the·iterable·into·an·array·at·the·start·of·the·loop·to·make·sure\n····//·deletion·doesn't·mess·up·iteration.\n····for·(const·paramName·of·[...urlObject.searchParams.keys()])·{\n········if·(ignoreURLParametersMatching.some((regExp)·=>·regExp.test(paramName)))·{\n············urlObject.searchParams.delete(paramName);\n········}\n····}\n····return·urlObject;\n}\n","/*\n··Copyright·2019·Google·LLC\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·registerRoute·}·from·'workbox-routing/registerRoute.js';\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·{·PrecacheRoute·}·from·'./PrecacheRoute.js';\nimport·'./_version.js';\n/**\n·*·Add·a·`fetch`·listener·to·the·service·worker·that·will\n·*·respond·to\n·*·[network·requests]{@link·https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers#Custom_responses_to_requests}\n·*·with·precached·assets.\n·*\n·*·Requests·for·assets·that·aren't·precached,·the·`FetchEvent`·will·not·be\n·*·responded·to,·allowing·the·event·to·fall·through·to·other·`fetch`·event\n·*·listeners.\n·*\n·*·@param·{Object}·[options]·See·the·{@link·workbox-precaching.PrecacheRoute}\n·*·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·addRoute(options)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····const·precacheRoute·=·new·PrecacheRoute(precacheController,·options);\n····registerRoute(precacheRoute);\n}\nexport·{·addRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·logger·}·from·'workbox-core/_private/logger.js';\nimport·{·WorkboxError·}·from·'workbox-core/_private/WorkboxError.js';\nimport·{·Route·}·from·'./Route.js';\nimport·{·RegExpRoute·}·from·'./RegExpRoute.js';\nimport·{·getOrCreateDefaultRouter·}·from·'./utils/getOrCreateDefaultRouter.js';\nimport·'./_version.js';\n/**\n·*·Easily·register·a·RegExp,·string,·or·function·with·a·caching\n·*·strategy·to·a·singleton·Router·instance.\n·*\n·*·This·method·will·generate·a·Route·for·you·if·needed·and\n·*·call·{@link·workbox-routing.Router#registerRoute}.\n·*\n·*·@param·{RegExp|string|workbox-routing.Route~matchCallback|workbox-routing.Route}·capture\n·*·If·the·capture·param·is·a·`Route`,·all·other·arguments·will·be·ignored.\n·*·@param·{workbox-routing~handlerCallback}·[handler]·A·callback\n·*·function·that·returns·a·Promise·resulting·in·a·Response.·This·parameter\n·*·is·required·if·`capture`·is·not·a·`Route`·object.\n·*·@param·{string}·[method='GET']·The·HTTP·method·to·match·the·Route\n·*·against.\n·*·@return·{workbox-routing.Route}·The·generated·`Route`.\n·*\n·*·@memberof·workbox-routing\n·*/\nfunction·registerRoute(capture,·handler,·method)·{\n····let·route;\n····if·(typeof·capture·===·'string')·{\n········const·captureUrl·=·new·URL(capture,·location.href);\n········if·(process.env.NODE_ENV·!==·'production')·{\n············if·(!(capture.startsWith('/')·||·capture.startsWith('http')))·{\n················throw·new·WorkboxError('invalid-string',·{\n····················moduleName:·'workbox-routing',\n····················funcName:·'registerRoute',\n····················paramName:·'capture',\n················});\n············}\n············//·We·want·to·check·if·Express-style·wildcards·are·in·the·pathname·only.\n············//·TODO:·Remove·this·log·message·in·v4.\n············const·valueToCheck·=·capture.startsWith('http')\n················?·captureUrl.pathname\n················:·capture;\n············//·See·https://github.com/pillarjs/path-to-regexp#parameters\n············const·wildcards·=·'[*:?+]';\n············if·(new·RegExp(`${wildcards}`).exec(valueToCheck))·{\n················logger.debug(`The·'$capture'·parameter·contains·an·Express-style·wildcard·`·+\n····················`character·(${wildcards}).·Strings·are·now·always·interpreted·as·`·+\n····················`exact·matches;·use·a·RegExp·for·partial·or·wildcard·matches.`);\n············}\n········}\n········const·matchCallback·=·({·url·})·=>·{\n············if·(process.env.NODE_ENV·!==·'production')·{\n················if·(url.pathname·===·captureUrl.pathname·&&\n····················url.origin·!==·captureUrl.origin)·{\n····················logger.debug(`${capture}·only·partially·matches·the·cross-origin·URL·`·+\n························`${url.toString()}.·This·route·will·only·handle·cross-origin·requests·`·+\n························`if·they·match·the·entire·URL.`);\n················}\n············}\n············return·url.href·===·captureUrl.href;\n········};\n········//·If·`capture`·is·a·string·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(matchCallback,·handler,·method);\n····}\n····else·if·(capture·instanceof·RegExp)·{\n········//·If·`capture`·is·a·`RegExp`·then·`handler`·and·`method`·must·be·present.\n········route·=·new·RegExpRoute(capture,·handler,·method);\n····}\n····else·if·(typeof·capture·===·'function')·{\n········//·If·`capture`·is·a·function·then·`handler`·and·`method`·must·be·present.\n········route·=·new·Route(capture,·handler,·method);\n····}\n····else·if·(capture·instanceof·Route)·{\n········route·=·capture;\n····}\n····else·{\n········throw·new·WorkboxError('unsupported-route-type',·{\n············moduleName:·'workbox-routing',\n············funcName:·'registerRoute',\n············paramName:·'capture',\n········});\n····}\n····const·defaultRouter·=·getOrCreateDefaultRouter();\n····defaultRouter.registerRoute(route);\n····return·route;\n}\nexport·{·registerRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·addRoute·}·from·'./addRoute.js';\nimport·{·precache·}·from·'./precache.js';\nimport·'./_version.js';\n/**\n·*·This·method·will·add·entries·to·the·precache·list·and·add·a·route·to\n·*·respond·to·fetch·events.\n·*\n·*·This·is·a·convenience·method·that·will·call\n·*·{@link·workbox-precaching.precache}·and\n·*·{@link·workbox-precaching.addRoute}·in·a·single·call.\n·*\n·*·@param·{Array<Object|string>}·entries·Array·of·entries·to·precache.\n·*·@param·{Object}·[options]·See·the\n·*·{@link·workbox-precaching.PrecacheRoute}·options.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precacheAndRoute(entries,·options)·{\n····precache(entries);\n····addRoute(options);\n}\nexport·{·precacheAndRoute·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·getOrCreatePrecacheController·}·from·'./utils/getOrCreatePrecacheController.js';\nimport·'./_version.js';\n/**\n·*·Adds·items·to·the·precache·list,·removing·any·duplicates·and\n·*·stores·the·files·in·the\n·*·{@link·workbox-core.cacheNames|\"precache·cache\"}·when·the·service\n·*·worker·installs.\n·*\n·*·This·method·can·be·called·multiple·times.\n·*\n·*·Please·note:·This·method·**will·not**·serve·any·of·the·cached·files·for·you.\n·*·It·only·precaches·files.·To·respond·to·a·network·request·you·call\n·*·{@link·workbox-precaching.addRoute}.\n·*\n·*·If·you·have·a·single·array·of·files·to·precache,·you·can·just·call\n·*·{@link·workbox-precaching.precacheAndRoute}.\n·*\n·*·@param·{Array<Object|string>}·[entries=[]]·Array·of·entries·to·precache.\n·*\n·*·@memberof·workbox-precaching\n·*/\nfunction·precache(entries)·{\n····const·precacheController·=·getOrCreatePrecacheController();\n····precacheController.precache(entries);\n}\nexport·{·precache·};\n","/*\n··Copyright·2019·Google·LLC\n\n··Use·of·this·source·code·is·governed·by·an·MIT-style\n··license·that·can·be·found·in·the·LICENSE·file·or·at\n··https://opensource.org/licenses/MIT.\n*/\nimport·{·assert·}·from·'./_private/assert.js';\nimport·{·cacheNames·}·from·'./_private/cacheNames.js';\nimport·{·WorkboxError·}·from·'./_private/WorkboxError.js';\nimport·'./_version.js';\n/**\n·*·Modifies·the·default·cache·names·used·by·the·Workbox·packages.\n·*·Cache·names·are·generated·as·`<prefix>-<Cache·Name>-<suffix>`.\n·*\n·*·@param·{Object}·details\n·*·@param·{Object}·[details.prefix]·The·string·to·add·to·the·beginning·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.suffix]·The·string·to·add·to·the·end·of\n·*·····the·precache·and·runtime·cache·names.\n·*·@param·{Object}·[details.precache]·The·cache·name·to·use·for·precache\n·*·····caching.\n·*·@param·{Object}·[details.runtime]·The·cache·name·to·use·for·runtime·caching.\n·*·@param·{Object}·[details.googleAnalytics]·The·cache·name·to·use·for\n·*·····`workbox-google-analytics`·caching.\n·*\n·*·@memberof·workbox-core\n·*/\nfunction·setCacheNameDetails(details)·{\n····if·(process.env.NODE_ENV·!==·'production')·{\n········Object.keys(details).forEach((key)·=>·{\n············assert.isType(details[key],·'string',·{\n················moduleName:·'workbox-core',\n················funcName:·'setCacheNameDetails',\n················paramName:·`details.${key}`,\n············});\n········});\n········if·('precache'·in·details·&&·details['precache'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'precache',\n················value:·details['precache'],\n············});\n········}\n········if·('runtime'·in·details·&&·details['runtime'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'runtime',\n················value:·details['runtime'],\n············});\n········}\n········if·('googleAnalytics'·in·details·&&\n············details['googleAnalytics'].length·===·0)·{\n············throw·new·WorkboxError('invalid-cache-name',·{\n················cacheNameId:·'googleAnalytics',\n················value:·details['googleAnalytics'],\n············});\n········}\n····}\n····cacheNames.updateDetails(details);\n}\nexport·{·setCacheNameDetails·};\n"],"names":["self","_","e","messageGenerator","fallback","code","args","msg","length","JSON","stringify","WorkboxError","Error","constructor","errorCode","details","super","this","name","_cacheNameDetails","googleAnalytics","precache","prefix","runtime","suffix","registration","scope","_createCacheName","cacheName","filter","value","join","cacheNames","fn","key","Object","keys","eachCacheNameDetail","userCacheName","normalizeHandler","handler","handle","Route","match","method","setCatchHandler","catchHandler","RegExpRoute","regExp","url","result","exec","href","origin","location","index","slice","Router","_routes","Map","_defaultHandlerMap","routes","addFetchListener","addEventListener","event","request","responsePromise","handleRequest","respondWith","addCacheListener","data","type","payload","requestPromises","Promise","all","urlsToCache","map","entry","Request","waitUntil","ports","then","postMessage","URL","protocol","startsWith","sameOrigin","params","route","findMatchingRoute","has","get","err","reject","_catchHandler","catch","async","catchErr","matchResult","Array","isArray","undefined","setDefaultHandler","set","registerRoute","push","unregisterRoute","routeIndex","indexOf","splice","defaultRouter","asyncFn","returnPromise","createCacheKey","urlObject","cacheKey","revision","cacheKeyURL","originalURL","searchParams","PrecacheInstallReportPlugin","updatedURLs","notUpdatedURLs","handlerWillStart","state","originalRequest","cachedResponseWillBeUsed","cachedResponse","PrecacheCacheKeyPlugin","precacheController","cacheKeyWillBeUsed","_precacheController","getCacheKeyForURL","headers","supportStatus","copyResponse","response","modifier","clonedResponse","clone","responseInit","Headers","status","statusText","modifiedResponseInit","body","testResponse","Response","error","canConstructResponseFromBodyStream","blob","stripParams","fullURL","ignoreParams","strippedURL","param","delete","Deferred","promise","resolve","quotaErrorCallbacks","Set","toRequest","input","StrategyHandler","strategy","options","_cacheKeys","assign","_strategy","_handlerDeferred","_extendLifetimePromises","_plugins","plugins","_pluginStateMap","plugin","fetch","mode","FetchEvent","preloadResponse","possiblePreloadResponse","hasCallback","cb","iterateCallbacks","thrownErrorMessage","message","pluginFilteredRequest","fetchResponse","fetchOptions","callback","runCallbacks","fetchAndCachePut","responseClone","cachePut","cacheMatch","matchOptions","effectiveRequest","getCacheKey","multiMatchOptions","caches","ms","setTimeout","String","replace","RegExp","responseToCache","_ensureResponseSafeToCache","cache","open","hasCacheUpdateCallback","oldResponse","strippedRequestURL","keysOptions","ignoreSearch","cacheKeys","cacheMatchIgnoreParams","put","executeQuotaErrorCallbacks","newResponse","statefulCallback","statefulParam","doneWaiting","shift","destroy","pluginsUsed","Strategy","responseDone","handleAll","_getResponse","_awaitComplete","_handle","waitUntilError","PrecacheStrategy","_fallbackToNetwork","fallbackToNetwork","copyRedirectedCacheableResponsesPlugin","_handleInstall","_handleFetch","integrityInManifest","integrity","integrityInRequest","noIntegrityConflict","_useDefaultCacheabilityPluginIfNeeded","defaultPluginIndex","cacheWillUpdatePluginCount","entries","defaultPrecacheCacheabilityPlugin","cacheWillUpdate","redirected","PrecacheController","_urlsToCacheKeys","_urlsToCacheModes","_cacheKeysToIntegrities","install","bind","activate","addToCacheList","_installAndActiveListenersAdded","urlsToWarnAbout","cacheMode","firstEntry","secondEntry","warningMessage","console","warn","installReportPlugin","credentials","currentlyCachedRequests","expectedCacheKeys","values","deletedURLs","getURLsToCacheKeys","getCachedURLs","getIntegrityForCacheKey","matchPrecache","createHandlerBoundToURL","getOrCreatePrecacheController","PrecacheRoute","urlsToCacheKeys","possibleURL","ignoreURLParametersMatching","directoryIndex","cleanURLs","urlManipulation","hash","urlWithoutIgnoredParams","paramName","some","test","removeIgnoredSearchParams","pathname","endsWith","directoryURL","cleanURL","additionalURLs","urlToAttempt","generateURLVariations","addRoute","capture","captureUrl","matchCallback","moduleName","funcName"],"mappings":"4CAEA,IACIA,KAAK,uBAAyBC,GAClC,CACA,MAAOC,GAAG,CCIV,MAcaC,EAdIC,CAACC,KAASC,KACvB,IAAIC,EAAMF,EAIV,OAHIC,EAAKE,OAAS,IACdD,GAAO,OAAOE,KAAKC,UAAUJ,MAE1BC,GCIX,MAAMI,UAAqBC,MASvBC,WAAAA,CAAYC,EAAWC,GAEnBC,MADgBb,EAAiBW,EAAWC,IAE5CE,KAAKC,KAAOJ,EACZG,KAAKF,QAAUA,CACnB,ECxBJ,MAAMI,EAAoB,CACtBC,gBAAiB,kBACjBC,SAAU,cACVC,OAAQ,UACRC,QAAS,UACTC,OAAgC,oBAAjBC,aAA+BA,aAAaC,MAAQ,IAEjEC,EAAoBC,GACf,CAACT,EAAkBG,OAAQM,EAAWT,EAAkBK,QAC1DK,OAAQC,GAAUA,GAASA,EAAMtB,OAAS,GAC1CuB,KAAK,KAODC,EACOjB,IANSkB,KACzB,IAAK,MAAMC,KAAOC,OAAOC,KAAKjB,GAC1Bc,EAAGC,IAKHG,CAAqBH,IACW,iBAAjBnB,EAAQmB,KACff,EAAkBe,GAAOnB,EAAQmB,OAJpCF,EAWSM,GACPA,GAAiBX,EAAiBR,EAAkBE,UAZtDW,EAiBQM,GACNA,GAAiBX,EAAiBR,EAAkBI,SCzCnE,IACIvB,KAAK,0BAA4BC,GACrC,CACA,MAAOC,GAAG,CCWH,MCAMqC,EAAoBC,GACzBA,GA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C9C,IAAK,MAAMqL,KAAgBD,QACjBC,EAAapP,IAE3B,CACJ,CDAsCqP,CAAsBxO,EAAQhB,IAAKsH,GAAU,CACnE,MAAMnD,EAAWmK,EAAgB3L,IAAI4L,GACrC,GAAIpK,EAAU,CAEV,MAAO,CAAEA,WAAU4H,UADD9G,EAAmBgJ,wBAAwB9J,GAEjE,CACJ,GAMSc,EAAmBoC,SACpC,EG7BJ,SAASoI,EAASnI,GACd,MAAMrC,EAAqBmJ,KCK/B,SAAuBsB,EAASnQ,EAASI,GACrC,IAAI6C,EACJ,GAAuB,iBAAZkN,EAAsB,CAC7B,MAAMC,EAAa,IAAIxN,IAAIuN,EAASrP,SAASF,MAkC7CqC,EAAQ,IAAI/C,EAZUmQ,EAAG5P,SASdA,EAAIG,OAASwP,EAAWxP,KAGFZ,EAASI,EAC9C,MACK,GAAI+P,aAAmB9F,OAExBpH,EAAQ,IAAI1C,EAAY4P,EAASnQ,EAASI,QAEzC,GAAuB,mBAAZ+P,EAEZlN,EAAQ,IAAI/C,EAAMiQ,EAASnQ,EAASI,OAEnC,MAAI+P,aAAmBjQ,GAIxB,MAAM,IAAI/B,EAAa,yBAA0B,CAC7CmS,WAAY,kBACZC,SAAU,gBACVhB,UAAW,YANftM,EAAQkN,CAQZ,ExBrEK5L,IACDA,EAAgB,IAAItD,EAEpBsD,EAAcjD,mBACdiD,EAAc1C,oBAEX0C,GwBiEON,cAAchB,EAEhC,CD/DIgB,CADsB,IAAI6K,EAAcpJ,EAAoBqC,GAEhE,oBELA,SAA0B+E,EAAS/E,ICInC,SAAkB+E,GACa+B,IACRhQ,SAASiO,EAChC,CDNIjO,CAASiO,GACToD,EAASnI,EACb,wBECA,SAA6BxJ,GA6BzBiB,EAAyBjB,EAC7B"}core::result::Result<rocket::serde::json::Json<serde_json::value::Value>,·aw_server::endpoints::util::HttpErrorJson>setting_get&rocket::state::State<aw_server::config::AWConfig>rocket::state::State<aw_server::config::AWConfig>rocket::serde::json::Json<aw_models::info::Info>aw_models::info::Infoserver_infofontsstatic/api/0/info/api/0/buckets/api/0/query/api/0/import/api/0/export/api/0/settingsfavicon.icojsoctet-streamapplication/octet-streamcss |
| 7436 | settings.%Too·long·keyShieldExtensionCorsScopeApiKeyCheckHostCheckqueue·not·emptyUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEnda·Display·implementation·returned·an·error·unexpectedlyErrorParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorIoParse | 7436 | settings.%Too·long·keyShieldExtensionCorsScopeApiKeyCheckHostCheckqueue·not·emptyUnexpectedFrameTypePayloadTooBigReleaseCapacityTooBigOverflowedStreamIdMissingUriSchemeAndAuthorityPollResetAfterSendResponseSendPingWhilePendingSendSettingsWhilePendingPeerDisabledServerPushBadCharBadEnda·Display·implementation·returned·an·error·unexpectedlyErrorParsingErrorEmptyQueryVariableNotDefinedMathErrorInvalidTypeInvalidFunctionParametersTimeIntervalErrorBucketNotFoundRegexCompileErrorIoParse |
| 7437 | assertion·failed:·match·track_edge_idx·{ | 7437 | assertion·failed:·match·track_edge_idx·{ |
| 7438 | ····LeftOrRight::Left(idx)·=>·idx·<=·old_left_len, | 7438 | ····LeftOrRight::Left(idx)·=>·idx·<=·old_left_len, |
| 7439 | ····LeftOrRight::Right(idx)·=>·idx·<=·right_len, | 7439 | ····LeftOrRight::Right(idx)·=>·idx·<=·right_len, |
| 7440 | }assertion·failed:·new_left_len·<=·CAPACITYassertion·failed:·edge.height·==·self.node.height·-·1assertion·failed:·self.height·>·0attempt·to·join·into·collection·with·len·>·usize::MAXassertion·failed:·src.len()·==·dst.len()internal·error:·entered·unreachable·codeidtimestampfewer·elements·in·mapcharsetmid·>·lencalled·`Result::unwrap()`·on·an·`Err`·valuefilled·overflowfilled·must·not·become·larger·than·initializedassertion·failed:·len·>·0assertion·failed:·old_right_len·+·count·<=·CAPACITYassertion·failed:·old_left_len·>=·countassertion·failed:·old_left_len·+·count·<=·CAPACITYassertion·failed:·old_right_len·>=·countinternal·error:·entered·unreachable·code:·empty·internal·nodeassertion·failed:·edge.height·==·self.height·-·1UnknownThreadDetachedWrongVersionAlreadyCreatedOtherLayoutalignParseIntErrorEmptyInvalidDigitPosOverflowNegOverflowZeroNotAPowerOfTwoutf-8there·(from·Rust!) | 7440 | }assertion·failed:·new_left_len·<=·CAPACITYassertion·failed:·edge.height·==·self.node.height·-·1assertion·failed:·self.height·>·0attempt·to·join·into·collection·with·len·>·usize::MAXassertion·failed:·src.len()·==·dst.len()internal·error:·entered·unreachable·codeidtimestampfewer·elements·in·mapcharsetmid·>·lencalled·`Result::unwrap()`·on·an·`Err`·valuefilled·overflowfilled·must·not·become·larger·than·initializedassertion·failed:·len·>·0assertion·failed:·old_right_len·+·count·<=·CAPACITYassertion·failed:·old_left_len·>=·countassertion·failed:·old_left_len·+·count·<=·CAPACITYassertion·failed:·old_right_len·>=·countinternal·error:·entered·unreachable·code:·empty·internal·nodeassertion·failed:·edge.height·==·self.height·-·1UnknownThreadDetachedWrongVersionAlreadyCreatedOtherLayoutalignParseIntErrorEmptyInvalidDigitPosOverflowNegOverflowZeroNotAPowerOfTwoutf-8there·(from·Rust!) |
| Offset 2406, 16 lines modified | Offset 2406, 16 lines modified | ||
| 2406 | ··0x01bd2c00·7112b36a·00000000·05d84850·14de33ba·q..j......HP..3. | 2406 | ··0x01bd2c00·7112b36a·00000000·05d84850·14de33ba·q..j......HP..3. |
| 2407 | ··0x01bd2c10·0af973fb·3696b28d·fdd012e3·a8c1312b·..s.6.........1+ | 2407 | ··0x01bd2c10·0af973fb·3696b28d·fdd012e3·a8c1312b·..s.6.........1+ |
| 2408 | ··0x01bd2c20·8b5eb5fd·c9ef623b·ffffffff·ffffffff·.^....b;........ | 2408 | ··0x01bd2c20·8b5eb5fd·c9ef623b·ffffffff·ffffffff·.^....b;........ |
| 2409 | ··0x01bd2c30·00000000·00000000·24160000·00000000·........$....... | 2409 | ··0x01bd2c30·00000000·00000000·24160000·00000000·........$....... |
| 2410 | ··0x01bd2c40·00000000·00000000·15000000·00000000·................ | 2410 | ··0x01bd2c40·00000000·00000000·15000000·00000000·................ |
| 2411 | ··0x01bd2c50·01000000·00000000·7112b36a·00000000·........q..j.... | 2411 | ··0x01bd2c50·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2412 | ··0x01bd2c60·01000000·00000000·7112b36a·00000000·........q..j.... | 2412 | ··0x01bd2c60·01000000·00000000·7112b36a·00000000·........q..j.... |
| 2413 | ··0x01bd2c70·c654fa7e·e419ca1e·9c1c566b·a64e37ef·.T.~......Vk.N7. | ||
| 2414 | ··0x01bd2c | 2413 | ··0x01bd2c70·dba9da40·d0ba3a1d·1962461f·e7c973f6·...@..:..bF...s. |
| 2414 | ··0x01bd2c80·3d1e346a·e34e334c·209cdab8·2efb3778·=.4j.N3L·.....7x | ||
| 2415 | ··0x01bd2c90·ffffffff·ffffffff·00000000·00000000·................ | 2415 | ··0x01bd2c90·ffffffff·ffffffff·00000000·00000000·................ |
| 2416 | ··0x01bd2ca0·c6320000·00000000·00000000·00000000·.2.............. | 2416 | ··0x01bd2ca0·c6320000·00000000·00000000·00000000·.2.............. |
| 2417 | ··0x01bd2cb0·13000000·00000000·01000000·00000000·................ | 2417 | ··0x01bd2cb0·13000000·00000000·01000000·00000000·................ |
| 2418 | ··0x01bd2cc0·7112b36a·00000000·01000000·00000000·q..j............ | 2418 | ··0x01bd2cc0·7112b36a·00000000·01000000·00000000·q..j............ |
| 2419 | ··0x01bd2cd0·7112b36a·00000000·20303f36·731bff3a·q..j....·0?6s..: | 2419 | ··0x01bd2cd0·7112b36a·00000000·20303f36·731bff3a·q..j....·0?6s..: |
| 2420 | ··0x01bd2ce0·555ee80b·a80b28e1·c477ab33·4de8aa7d·U^....(..w.3M..} | 2420 | ··0x01bd2ce0·555ee80b·a80b28e1·c477ab33·4de8aa7d·U^....(..w.3M..} |
| 2421 | ··0x01bd2cf0·f618f6fc·ef7b58e0·ffffffff·ffffffff·.....{X......... | 2421 | ··0x01bd2cf0·f618f6fc·ef7b58e0·ffffffff·ffffffff·.....{X......... |