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:"d033ae8282c7742b95b38507f220a5dd"},{url:"favicon.png",revision:"bb17c5c284076fc17e3399860df472d7"},{url:"service_worker.js",revision:"17be3def2b5fd7c45cb58a0100223005"},{url:"js/animations/animation.js",revision:"818dc700f429f58d69c6c33392bc7d2c"},{url:"js/animations/keyframe.js",revision:"c4243a887b49b8b013df03ef1dad2ac8"},{url:"js/animations/timeline.js",revision:"9f6a0a3fc75cc4386b9637f1b9580e3b"},{url:"js/api.js",revision:"85d0d9d9a6d343ad4c6b99f273e4f0bd"},{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:"d465a247a8e8c5dd888ed69a89d7122e"},{url:"js/file_system.js",revision:"cf793732a7aa89df546960f6b6d6ba42"},{url:"js/interface/actions.js",revision:"b6df5114408eb3867aadf63dca363dd4"},{url:"js/interface/dialog.js",revision:"93c18785ce3a5e9933d44b4d8d97e20a"},{url:"js/interface/interface.js",revision:"c961771fde95038a89ccd35e7eb6c3eb"},{url:"js/interface/keyboard.js",revision:"1ef1a3a07e07878218a96f71da62dd85"},{url:"js/interface/language.js",revision:"21771fbb44f4a6b540aa7914610214b2"},{url:"js/interface/menu.js",revision:"1a89109165064752515bbb53a3c65f06"},{url:"js/interface/panels.js",revision:"8b3fd82b5e5503d3efa60adfc0fad4ef"},{url:"js/interface/settings.js",revision:"1aac08541b121c086859dd271445d27c"},{url:"js/interface/themes.js",revision:"4cff1f3c3688fd6bae7adc8f243b2ac6"},{url:"js/io/codec.js",revision:"90ffac0fbfc9dfde9f1ab14a0b85e2d4"},{url:"js/io/format.js",revision:"b4e463a603dd8dcd9b54ff1561e75188"},{url:"js/io/formats/bbmodel.js",revision:"77770c1fd5b055e36b922b8c1082dd7e"},{url:"js/io/formats/bedrock_old.js",revision:"c12418fedf2413a0f944802ca04d52fd"},{url:"js/io/formats/bedrock.js",revision:"7140de386a5bc8d05ee7850f3a75c74f"},{url:"js/io/formats/gltf.js",revision:"e8dac5448c6bf3849af21e00f9940b8a"},{url:"js/io/formats/java_block.js",revision:"75c36a37e5778110d0f73c82762fb560"},{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:"ccda60e79ba787c616e4a856b4c425ee"},{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",