This commit is contained in:
thepaperpilot 2022-12-25 04:08:20 +00:00
parent 706c1ed15e
commit be0aeae336
4 changed files with 5 additions and 5 deletions

View file

@ -1 +1 @@
import{_ as T,s as d,p as e,a as n,l as c,D as r,b as s,g as p}from"./index.a61ec9b0.js";import"./vue.dd1d82d0.js";import{b1 as v}from"./@vue.359f7754.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./is-plain-object.906d88e8.js";import"./@pixi.051d1bd4.js";import"./eventemitter3.dc5195d7.js";import"./earcut.03899505.js";import"./url.1821b64b.js";import"./amator.8216e0d2.js";import"./bezier-easing.a990b400.js";import"./querystring.b35d81f8.js";import"./vue-toastification.7ec3a26c.js";import"./vue-next-select.d15705a0.js";import"./vue-panzoom.f6869ea5.js";import"./panzoom.9e1878dd.js";import"./wheel.f03080ac.js";import"./ngraph.events.083734c6.js";import"./vuedraggable.179e27ef.js";import"./sortablejs.e4e9a931.js";import"./vue-textarea-autosize.35804eaf.js";let o=null,l=null;function a(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const m=i;if(n.lastTenTicks.push(m),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),(l==null?void 0:l.value)&&!e.keepGoing||n.hasNaN||(i=Math.max(i,0),e.devSpeed===0))return;if(c.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,s.offlineLimit*3600)&&(e.offlineTime=s.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const u=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-u,i+=u}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}if(i=Math.min(i,s.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),r.eq(i,0))return;e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308);let f=m;for(;f>1;)p.emit("update",i/m,1),f--;p.emit("update",i*f/m,f),d.unthrottled?(requestAnimationFrame(a),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(a,50))}async function R(){l=(await T(()=>import("./index.a61ec9b0.js").then(function(t){return t.c}),["assets/index.a61ec9b0.js","assets/index.58ebd100.css","assets/@fontsource.c175eac8.css","assets/vue.dd1d82d0.js","assets/amator.8216e0d2.js","assets/bezier-easing.a990b400.js","assets/@vue.359f7754.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/is-plain-object.906d88e8.js","assets/@pixi.051d1bd4.js","assets/eventemitter3.dc5195d7.js","assets/earcut.03899505.js","assets/url.1821b64b.js","assets/querystring.b35d81f8.js","assets/vue-toastification.7ec3a26c.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-next-select.d15705a0.js","assets/vue-next-select.9e6f4164.css","assets/vue-panzoom.f6869ea5.js","assets/panzoom.9e1878dd.js","assets/wheel.f03080ac.js","assets/ngraph.events.083734c6.js","assets/vuedraggable.179e27ef.js","assets/sortablejs.e4e9a931.js","assets/vue-textarea-autosize.35804eaf.js"])).hasWon,v(l,t=>{t&&p.emit("gameWon")}),d.unthrottled?requestAnimationFrame(a):o=setInterval(a,50)}export{R as startGameLoop}; import{_ as T,s as d,p as e,a as n,l as c,D as r,b as s,g as p}from"./index.18291328.js";import"./vue.dd1d82d0.js";import{b1 as v}from"./@vue.359f7754.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./is-plain-object.906d88e8.js";import"./@pixi.051d1bd4.js";import"./eventemitter3.dc5195d7.js";import"./earcut.03899505.js";import"./url.1821b64b.js";import"./amator.8216e0d2.js";import"./bezier-easing.a990b400.js";import"./querystring.b35d81f8.js";import"./vue-toastification.7ec3a26c.js";import"./vue-next-select.d15705a0.js";import"./vue-panzoom.f6869ea5.js";import"./panzoom.9e1878dd.js";import"./wheel.f03080ac.js";import"./ngraph.events.083734c6.js";import"./vuedraggable.179e27ef.js";import"./sortablejs.e4e9a931.js";import"./vue-textarea-autosize.35804eaf.js";let o=null,l=null;function a(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const m=i;if(n.lastTenTicks.push(m),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),(l==null?void 0:l.value)&&!e.keepGoing||n.hasNaN||(i=Math.max(i,0),e.devSpeed===0))return;if(c.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,s.offlineLimit*3600)&&(e.offlineTime=s.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const u=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-u,i+=u}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}if(i=Math.min(i,s.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),r.eq(i,0))return;e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308);let f=m;for(;f>1;)p.emit("update",i/m,1),f--;p.emit("update",i*f/m,f),d.unthrottled?(requestAnimationFrame(a),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(a,50))}async function R(){l=(await T(()=>import("./index.18291328.js").then(function(t){return t.c}),["assets/index.18291328.js","assets/index.58ebd100.css","assets/@fontsource.c175eac8.css","assets/vue.dd1d82d0.js","assets/amator.8216e0d2.js","assets/bezier-easing.a990b400.js","assets/@vue.359f7754.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/is-plain-object.906d88e8.js","assets/@pixi.051d1bd4.js","assets/eventemitter3.dc5195d7.js","assets/earcut.03899505.js","assets/url.1821b64b.js","assets/querystring.b35d81f8.js","assets/vue-toastification.7ec3a26c.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-next-select.d15705a0.js","assets/vue-next-select.9e6f4164.css","assets/vue-panzoom.f6869ea5.js","assets/panzoom.9e1878dd.js","assets/wheel.f03080ac.js","assets/ngraph.events.083734c6.js","assets/vuedraggable.179e27ef.js","assets/sortablejs.e4e9a931.js","assets/vue-textarea-autosize.35804eaf.js"])).hasWon,v(l,t=>{t&&p.emit("gameWon")}),d.unthrottled?requestAnimationFrame(a):o=setInterval(a,50)}export{R as startGameLoop};

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@
<title>Advent Incremental</title> <title>Advent Incremental</title>
<meta name="description" content="An incremental game you play a day at a time, leading up to Christmas!"/> <meta name="description" content="An incremental game you play a day at a time, leading up to Christmas!"/>
<script defer="true" data-domain="thepaperpilot.org" src="https://plausible.io/js/plausible.js"></script> <script defer="true" data-domain="thepaperpilot.org" src="https://plausible.io/js/plausible.js"></script>
<script type="module" crossorigin src="./assets/index.a61ec9b0.js"></script> <script type="module" crossorigin src="./assets/index.18291328.js"></script>
<link rel="modulepreload" href="./assets/bezier-easing.a990b400.js"> <link rel="modulepreload" href="./assets/bezier-easing.a990b400.js">
<link rel="modulepreload" href="./assets/amator.8216e0d2.js"> <link rel="modulepreload" href="./assets/amator.8216e0d2.js">
<link rel="modulepreload" href="./assets/@vue.359f7754.js"> <link rel="modulepreload" href="./assets/@vue.359f7754.js">

2
sw.js
View file

@ -1 +1 @@
if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didnt register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),o={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>o[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-7369c0e1"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/@fontsource.c175eac8.css",revision:null},{url:"assets/@pixi.051d1bd4.js",revision:null},{url:"assets/@vue.359f7754.js",revision:null},{url:"assets/amator.8216e0d2.js",revision:null},{url:"assets/bezier-easing.a990b400.js",revision:null},{url:"assets/earcut.03899505.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/gameLoop.422e20c6.js",revision:null},{url:"assets/index.58ebd100.css",revision:null},{url:"assets/index.a61ec9b0.js",revision:null},{url:"assets/is-plain-object.906d88e8.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/ngraph.events.083734c6.js",revision:null},{url:"assets/panzoom.9e1878dd.js",revision:null},{url:"assets/querystring.b35d81f8.js",revision:null},{url:"assets/sortablejs.e4e9a931.js",revision:null},{url:"assets/url.1821b64b.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-next-select.d15705a0.js",revision:null},{url:"assets/vue-panzoom.f6869ea5.js",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.7ec3a26c.js",revision:null},{url:"assets/vue.dd1d82d0.js",revision:null},{url:"assets/vuedraggable.179e27ef.js",revision:null},{url:"assets/wheel.f03080ac.js",revision:null},{url:"assets/workbox-window.4a8794bb.js",revision:null},{url:"index.html",revision:"913bbb133a04c2d6eabbc2c580583409"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"5f32ad2a77eb001e1b6a588835dc1efc"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))})); if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didnt register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),a={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>a[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-7369c0e1"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{url:"assets/@fontsource.c175eac8.css",revision:null},{url:"assets/@pixi.051d1bd4.js",revision:null},{url:"assets/@vue.359f7754.js",revision:null},{url:"assets/amator.8216e0d2.js",revision:null},{url:"assets/bezier-easing.a990b400.js",revision:null},{url:"assets/earcut.03899505.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/gameLoop.7ae39af5.js",revision:null},{url:"assets/index.18291328.js",revision:null},{url:"assets/index.58ebd100.css",revision:null},{url:"assets/is-plain-object.906d88e8.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/ngraph.events.083734c6.js",revision:null},{url:"assets/panzoom.9e1878dd.js",revision:null},{url:"assets/querystring.b35d81f8.js",revision:null},{url:"assets/sortablejs.e4e9a931.js",revision:null},{url:"assets/url.1821b64b.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-next-select.d15705a0.js",revision:null},{url:"assets/vue-panzoom.f6869ea5.js",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.7ec3a26c.js",revision:null},{url:"assets/vue.dd1d82d0.js",revision:null},{url:"assets/vuedraggable.179e27ef.js",revision:null},{url:"assets/wheel.f03080ac.js",revision:null},{url:"assets/workbox-window.4a8794bb.js",revision:null},{url:"index.html",revision:"d0bc4d51f95c2a9b2e938a9f27447b6b"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"robots.txt",revision:"5e0bd1c281a62a380d7a948085bfe2d1"},{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"manifest.webmanifest",revision:"5f32ad2a77eb001e1b6a588835dc1efc"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));