blockbench/service_worker.js

2 lines
9.2 KiB
JavaScript
Raw Normal View History

if(!self.define){const e=e=>{"require"!==e&&(e+=".js");let s=Promise.resolve();return i[e]||(s=new Promise((async s=>{if("document"in self){const i=document.createElement("script");i.src=e,document.head.appendChild(i),i.onload=s}else importScripts(e),s()}))),s.then((()=>{if(!i[e])throw new Error(`Module ${e} didnt register its module`);return i[e]}))},s=(s,i)=>{Promise.all(s.map(e)).then((e=>i(1===e.length?e[0]:e)))},i={require:Promise.resolve(s)};self.define=(s,r,a)=>{i[s]||(i[s]=Promise.resolve().then((()=>{let i={};const f={uri:location.origin+s.slice(1)};return Promise.all(r.map((s=>{switch(s){case"exports":return i;case"module":return f;default:return e(s)}}))).then((e=>{const s=a(...e);return i.default||(i.default=s),i}))})))}}define("./service_worker.js",["./workbox-1cb178f3"],(function(e){"use strict";e.setCacheNameDetails({prefix:"blockbench"}),self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"index.html",revision:"ae2afcde1d5c340ac28724da397264d1"},{url:"favicon.png",revision:"bb17c5c284076fc17e3399860df472d7"},{url:"service_worker.js",revision:"cdd21f9795e8aa8363b065d836ce0cef"},{url:"js/animations/animation.js",revision:"b28dfb19ca10a1d74aa9aa21bcf0a587"},{url:"js/animations/keyframe.js",revision:"30a6c3bd87e72fe3841fdb54e4fff07b"},{url:"js/animations/timeline.js",revision:"531ab1a9375c79dfbd22477bb82e7a22"},{url:"js/api.js",revision:"eca3af416e6fa10275681020c417fcfd"},{url:"js/blockbench.js",revision:"e6bf6970a5f6435f4f6d9a52fd524678"},{url:"js/boot_loader.js",revision:"d8820d24aa4f20de876d5392f952635b"},{url:"js/copy_paste.js",revision:"ff33af0fa5bdf96aad1226f00a268cb2"},{url:"js/desktop.js",revision:"8940f57f728cdad70bd01a49c8ba15fd"},{url:"js/display_mode.js",revision:"ae58621fef013d0b82f76ed0830b4330"},{url:"js/edit_sessions.js",revision:"369a13eca46ba07539dbe89b05c308c2"},{url:"js/file_system.js",revision:"29446937118ecc98339bdabaa8802e68"},{url:"js/interface/actions.js",revision:"5e1be053eaeca62f90937f2cc167a57f"},{url:"js/interface/dialog.js",revision:"93c18785ce3a5e9933d44b4d8d97e20a"},{url:"js/interface/interface.js",revision:"c961771fde95038a89ccd35e7eb6c3eb"},{url:"js/interface/keyboard.js",revision:"f4cf390ce0f21fb8a9df136ea67c483b"},{url:"js/interface/language.js",revision:"21771fbb44f4a6b540aa7914610214b2"},{url:"js/interface/menu.js",revision:"9924b72b27791a7bbb70c19a50d689d7"},{url:"js/interface/panels.js",revision:"8b3fd82b5e5503d3efa60adfc0fad4ef"},{url:"js/interface/settings.js",revision:"6089fc5d4c7d37c4166cb18b0e36701a"},{url:"js/interface/themes.js",revision:"4cff1f3c3688fd6bae7adc8f243b2ac6"},{url:"js/io/codec.js",revision:"383ea1b4100140aaf1b0ddf9d8d6bb88"},{url:"js/io/format.js",revision:"b4e463a603dd8dcd9b54ff1561e75188"},{url:"js/io/formats/bbmodel.js",revision:"923e2e2364babc078289ed59feafb194"},{url:"js/io/formats/bedrock_old.js",revision:"7618e47e2e21f04ccc11fa96a47dc29b"},{url:"js/io/formats/bedrock.js",revision:"6504160aeb46a2005df44db010e4ccd0"},{url:"js/io/formats/gltf.js",revision:"e8dac5448c6bf3849af21e00f9940b8a"},{url:"js/io/formats/java_block.js",revision:"cc2cdf3c71b978945ed7ec751710d206"},{url:"js/io/formats/modded_entity.js",revision:"e4bb9b53326e423390a6230040e06036"},{url:"js/io/formats/obj.js",revision:"8745ce378c56e0410f4aeb8aac14e049"},{url:"js/io/formats/optifine_jem.js",revision:"c43ed6a97d5af5ddf5d7c41b13fc5641"},{url:"js/io/formats/optifine_jpm.js",revision:"bb13277b217c48e376dd2e4cd85d10dd"},{url:"js/io/formats/skin.js",revision:"e3c7fb896507c86f02b43cb956d8f009"},{url:"js/io/io.js",revision:"126bda77c9decee9151441103c346841"},{url:"js/io/project.js",revision:"b6f5f90090d6a9c2ca049ce3ec4470d9"},{url:"js/modes.js",revision:"0e19db1f46e6a9ad7dd368aa2d698e0b"},{url:"js/outliner/cube.js",revision:"40feadb0930730e0cd60b611bd1c9d56"},{url:"js/outliner/group.js",revision:"6df432ed389e9119a1d2da2ad7dd8a6f"},{url:"js/outliner/locator.js",revision:"3f84ecfbc976e9c59e44d18046dea779"},{url:"js/outliner/null_object.js",revision:"1fd2e18a384c7f10ef1d8acc183e75b1"},{url:"js/outliner/outliner.js",