/* empty css */import"./vue.92681fcb.js";import{ZasS,laswe,uas_n,qassn,Casr,b1asje,aaasL,aEasb,a0asM,a1asm,aKasJe,Gaspe,tasT,aCasri,wasLe,b2asFe,a8asu,OasD,aoasJi,Iasge,ayaswn,araswt,aGasdn,Aaske,_asU,b6asO,b8asOn,bsasXi,aqasNt,buasZt,bbasNn,TasZi,a7asg,jasYi,bvasYn,Jasj,$asP,aHasnt,aFasit,alashn,aLasdt,aNasCe,zastt,Hases,aJasoi,bnasts,brasns,beasis}from"./@vue.4ce677c2.js";import{iasss}from"./is-plain-object.906d88e8.js";import{casui}from"./nanoevents.1080beb7.js";import{Lasut}from"./lz-string.731cedc5.js";import{Yasas}from"./vue-next-select.a2bfab1d.js";import{sasls,uasci}from"./vue-toastification.6f567382.js";import{Dasrs}from"./vuedraggable.7949458c.js";import{pasos}from"./vue-textarea-autosize.35804eaf.js";import{vasus,nascs}from"./workbox-window.8d14e8b7.js";import"./sortablejs.29100d8a.js";constds=function(){constt=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(constsofdocument.querySelectorAll('link[rel="modulepreload"]'))i(s);newMutationObserver(s=>{for(constlofs)if(l.type==="childList")for(constoofl.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});functionn(s){constl={};returns.integrity&&(l.integrity=s.integrity),s.referrerpolicy&&(l.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?l.credentials="include":s.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}functioni(s){if(s.ep)return;s.ep=!0;constl=n(s);fetch(s.href,l)}};ds();constfs="modulepreload",ei={},ms="./",gn=function(t,n){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=`${ms}${i}`,iinei)return;ei[i]=!0;consts=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${l}`))return;consto=document.createElement("link");if(o.rel=s?"stylesheet":fs,s||(o.as="script",o.crossOrigin=""),o.href=i,document.head.appendChild(o),s)returnnewPromise((c,f)=>{o.addEventListener("load",c),o.addEventListener("error",()=>f(newError(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},ps="./projInfo-schema.json",hs="Advent Incremental",gs="An incremental game you play a day at a time, leading up to Christmas!",vs="advent-incremental",ys="thepaperpilot",bs="",_s="",ws="0.3",Ns="Initial Commit",ks=!0,Cs=!1,Ss=2,Ms=!0,Is=null,As="",$s=["main"],Es=3600,Ps=0,Ts=!0,xs="base64";varQ={$schema:ps,title:hs,description:gs,id:vs,author:ys,discordName:bs,discordLink:_s,versionNumber:ws,versionTitle:Ns,allowGoBack:ks,defaultShowSmall:Cs,defaultDecimalsShown:Ss,useHeader:Ms,banner:Is,logo:As,initialTabs:$s,maxTickLength:Es,offlineLimit:Ps,enablePausing:Ts,exportEncoding:xs};constxn=17,Fs=9e15,Bs=Math.log10(9e15),Ds=1/9e15,Os=308,Rs=-324,ti=5,qs=function(){conste=[];for(letn=Rs+1;n<=Os;n++)e.push(Number("1e"+n));constt=323;returnfunction(n){returne[n+t]}}(),vt=[2,Math.E,3,4,5,6,7,8,9,10],Vs=[[1,1.0891168053867777,1.1789745164521264,1.2701428397304229,1.3632066654400328,1.4587804913784246,1.557523817412741,1.660158301473385,1.767487542936873,1.8804205225512542,2],[1,1.1121114330934,1.23103892493161,1.35838369631113,1.49605193039935,1.64635423375119,1.81213853570186,1.99697132461829,2.20538955455724,2.44325744833852,Math.E],[1,1.1187738849693603,1.2464963939368214,1.38527004705667,1.5376664685821402,1.7068895236551784,1.897001227148399,2.1132403089001035,2.362480153784171,2.6539010333870774,3],[1,1.1367350847096405,1.2889510672956703,1.4606478703324786,1.6570295196661111,1.8850062585672889,2.1539465047453485,2.476829779693097,2.872061932789197,3.3664204535587183,4],[1,1.1494592900767588,1.319708228183931,1.5166291280087583,1.748171114438024,2.0253263297298045,2.3636668498288547,2.7858359149579424,3.3257226212448145,4.035730287722532,5],[1,1.159225940787673,1.343712473580932,1.5611293155111927,1.8221199554561318,2.14183924486326,2.542468319282638,3.0574682501653316,3.7390572020926873,4.6719550537360774,6],[1,1.1670905356972596,1.3632807
`))||""}function Ee(e){const t=we(e)?e:T(e);return t[tn]=t,t[nn]=we(e)?e.value:e,t[bn]=Ia(),t[Pi]=!1,He.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",t,`
Createdat:
`+t[bn]):Ft[He[He.length-1]].add(t),t}oe.on("addLayer",(e,t)=>{const n=[],i=(s,l=[])=>{let o=!1;return Object.keys(s).forEach(c=>{const f=s[c];if(f&&typeof f=="object")if(tn in f){if(o=!0,f[Pi]){console.warn("Deleted persistent ref present in returned object. Ignoring...",f,`
`+f[bn]);return}Ft[e.id].delete(ce in f?f[ce]:f);const d=l.reduce((y,v)=>(v in y||(y[v]={}),y[v]),t),_=d[c];d[c]=f[tn],Yi(d)?_!=null?d[c]=_:d[c]=f[nn]:_!=null?d[c].value=_:d[c].value=f[nn]}else!(f instanceof a)&&!we(f)&&!n.includes(f)&&(typeof f.type=="symbol"&&n.push(f),i(f,[...l,c])&&(Yn(f)&&!Yn(s)?console.warn("Found array that contains persistent values when adding layer. Keep in mind changing the order of elements in the array will mess with existing player saves.",ce in s?s[ce]:s,c):o=!0))}),o};i(e),Ft[e.id].forEach(s=>{console.error(`Createdpersistentrefin${e.id}withoutregisteringittothelayer!Makesuretoincludeeverythingpersistentinthereturnedobject`,s,`
margin:10px0;"/>${I}`:le,t.value=!0},onOpenLayer(){if(window.matchMedia("(min-width:1468px)").matches)if(A.tabs.includes(h!=null?h:"trees")){const k=A.tabs.lastIndexOf(h!=null?h:"trees");A.tabs.splice(k,1)}else A.tabs.push(h!=null?h:"trees"),z.minimized.value=!0;else A.tabs.splice(1,1/0,h!=null?h:"trees")},onUnlockLayer(){C.value=!0,setTimeout(()=>{var k,x;n.value=-1,i.value=r((x=(k=Se[h!=null?h:"trees"])==null?void 0:k.name)!=null?x:""),s.value=le,A.devSpeed=null,t.value=!0},1e3)}}}}})}const o=[l(()=>({day:1,shouldNotify:!1,layer:"trees",symbol:Oi,story:"Ohno!SantaforgotaboutChristmasandit's only 25 days away! He'saskedforyourhelpduetoyourhistorygettinglargequantitiesofthingsinshortamountsoftime.Unfortunatelyyou're really starting from scratch here - let'sstartwithgettingwood,whichyou'll need for everything from building workshops to wrapping paper to many of the toys themselves!",completedStory:"Santa looks at all the wood you'vegatheredandtellsyouyou've done well! He says you should take the rest of the day off so you'rerefreshedfortomorrow's work. Good Job!"})),l(()=>({day:2,shouldNotify:!1,layer:"workshop",symbol:Ri,story:"Santa looked over your tree farm and was impressed with how much you could accomplish in just one day. Today'sgoalistogetaworkshopbuiltupfortheelvestoworkin-andapparently,theyneedquitealotofspacetowork!",completedStory:"Theworkshopcomplete,Santaonceagaindismissesyoufortheday.Withastrongfoundation,thisworkshopshouldsufficeforsupportingfutureworktowardthisimpossiblemission.GoodJob!"})),l(()=>({day:3,shouldNotify:!1,layer:"coal",symbol:qi,story:"Santatellsyouthatunfortunatelytherearequiteafewnaughtychildrenouttherethisyear,andhe's going to need you to gather as much coal as you can for him to give out.",completedStory:"Santa looks at all the coal you'vegatheredandtellsyouyou've done well! He says you should take the rest of the day off so you'rerefreshedfortomorrow's work. Good Job!"})),l(()=>({day:4,shouldNotify:!1,layer:"elves",symbol:Vi,story:"Alright, it seems you finally have enough things setup to start bringing in the elves! Unfortunately, it seems they'llneedtoberetrainedonhowtohelp,sincethey'reoutofpracticeby11months!",completedStory:"Theworkshopnowhumswiththebustlingelvesworkingeverything.Theycantakeitfromhere-youdeserveabreakaftersuchalongday!GoodJob!"})),l(()=>({day:5,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:6,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:7,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:8,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:9,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:10,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:11,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:12,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:13,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:14,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:15,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:16,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:17,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:18,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:19,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:20,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:21,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:22,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:23,shouldNotify:!1,layer:null,symbol:"",story:"",completedStory:""})),l(()=>({day:24,shoul