/* empty css */import"./vue.92681fcb.js";import{Zasb,lasJi,aaasje,tas_,ayasCn,arasUl,aEasj,a0asx,aKassl,a1asV,O,aGaspn,Aaski,_asye,a8ast,b6asZe,b8aswn,bsasWs,Casm,aqasEl,buasIn,bbasOn,Tasct,a7aso,uasYn,jasut,bvasHn,qascn,b1asKi,Gaspi,aCasvs,wastl,b2asBi,aoasbt,Iasbi,aNasci,$asU,JasMe,aHaszl,aFaskl,zascl,alashn,aLasFl,HasZt,aJasjs,bnaspt,brasyt,beasVt}from"./@vue.4ce677c2.js";import{casJs}from"./nanoevents.1080beb7.js";import{LasXl}from"./lz-string.731cedc5.js";import{iasht}from"./is-plain-object.906d88e8.js";import{YasWt}from"./vue-next-select.a2bfab1d.js";import{sasvt,uasfs}from"./vue-toastification.6f567382.js";import{Dasjt}from"./vuedraggable.7949458c.js";import{pasJt}from"./vue-textarea-autosize.35804eaf.js";import{vasft,nasCt}from"./workbox-window.8d14e8b7.js";import"./sortablejs.29100d8a.js";constwt=function(){consti=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(constaofdocument.querySelectorAll('link[rel="modulepreload"]'))s(a);newMutationObserver(a=>{for(constIofa)if(I.type==="childList")for(constdofI.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});functionn(a){constI={};returna.integrity&&(I.integrity=a.integrity),a.referrerpolicy&&(I.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?I.credentials="include":a.crossorigin==="anonymous"?I.credentials="omit":I.credentials="same-origin",I}functions(a){if(a.ep)return;a.ep=!0;constI=n(a);fetch(a.href,I)}};wt();constOt="modulepreload",ss={},Yt="./",Wn=function(i,n){return!n||n.length===0?i():Promise.all(n.map(s=>{if(s=`${Yt}${s}`,sinss)return;ss[s]=!0;consta=s.endsWith(".css"),I=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${I}`))return;constd=document.createElement("link");if(d.rel=a?"stylesheet":Ot,a||(d.as="script",d.crossOrigin=""),d.href=s,document.head.appendChild(d),a)returnnewPromise((r,u)=>{d.addEventListener("load",r),d.addEventListener("error",()=>u(newError(`Unable to preload CSS for ${s}`)))})})).then(()=>i())},Nt="./projInfo-schema.json",gt="Advent Incremental",Xt="An incremental game you play a day at a time, leading up to Christmas!",Mt="advent-incremental",Gt="thepaperpilot and friends",xt="",Ft="",zt="0.5",kt="Initial Commit",Rt=!0,St=!1,Ht=2,Lt=!0,Qt=null,Tt="",Ut=["main"],Et=3600,At=0,Bt=!0,Dt="base64";varqe={$schema:Nt,title:gt,description:Xt,id:Mt,author:Gt,discordName:xt,discordLink:Ft,versionNumber:zt,versionTitle:kt,allowGoBack:Rt,defaultShowSmall:St,defaultDecimalsShown:Ht,useHeader:Lt,banner:Qt,logo:Tt,initialTabs:Ut,maxTickLength:Et,offlineLimit:At,enablePausing:Bt,exportEncoding:Dt};constxn=17,_t=9e15,Pt=Math.log10(9e15),qt=1/9e15,$t=308,Kt=-324,ts=5,ea=function(){conste=[];for(letn=Kt+1;n<=$t;n++)e.push(Number("1e"+n));consti=323;returnfunction(n){returne[n+i]}}(),Ll=[2,Math.E,3,4,5,6,7,8,9,10],ia=[[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.16709053569725
Stack:${ml}
Tryingtopop${n.id}`;return ml.pop(),ie(n,"color"),ie(n,"display"),ie(n,"name"),Fi(n,"name",n.id),ie(n,"minWidth"),Fi(n,"minWidth",600),ie(n,"minimizable"),Fi(n,"minimizable",!0),ie(n,"minimizedDisplay"),n})}function zs(e,i){if(console.info("Adding layer",e.id),xi[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,xi[e.id]);return}Fi(i,"layers",{}),i.layers[e.id]==null&&(i.layers[e.id]={}),xi[e.id]=e,ai.emit("addLayer",e,i.layers[e.id])}function Ma(e){return xi[e]}function ks(e){console.info("Removing layer",e.id),ai.emit("removeLayer",e),xi[e.id]=void 0}function Ga(e){ks(e),zs(e,ue)}function xa(e){const i=_(!1);return{openModal:()=>i.value=!0,modal:f(()=>t(fi,{modelValue:i.value,"onUpdate:modelValue":n=>i.value=n},{header:()=>t("h2",null,[m(e.name)]),body:m(e.display)}))}}ai.on("update",function(i){Object.values(xi).forEach(n=>{n==null||n.emit("preUpdate",i)}),Object.values(xi).forEach(n=>{n==null||n.emit("update",i)}),Object.values(xi).forEach(n=>{n==null||n.emit("postUpdate",i)})});var Fa=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Un,UnregisterNodeInjectionKey:En,NodesInjectionKey:An,BoundsInjectionKey:Bn,layers:xi,persistentRefs:_l,addingLayers:ml,createLayer:Ti,addLayer:zs,getLayer:Ma,removeLayer:ks,reloadLayer:Ga,setupLayerModal:xa},Symbol.toStringTag,{value:"Module"}));const Dn=Symbol("PersistentState"),Gl=Symbol("DefaultValue"),Jn=Symbol("StackTrace"),Rs=Symbol("Deleted"),dn=Symbol("NonPersistent"),on=Symbol("SaveDataPath");function za(){var e;return((e=new Error().stack)==null?void 0:e.split(`
`).slice(3,5).map(i=>i.trim()).join(`
`))||""}function we(e){const i=Ji(e)?e:_(e);i[Dn]=i,i[Gl]=Ji(e)?e.value:e,i[Jn]=za(),i[Rs]=!1;const n=b({get(){return i.value},set(s){i.value=s}});return n[Gl]=i[Gl],i[dn]=n,i[on]=void 0,ml.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",i,`
Createdat:
`+i[Jn]):_l[ml[ml.length-1]].add(i),i}function ka(e){return e&&typeof e=="object"&&Dn in e}function R(e){return e[dn]}ai.on("addLayer",(e,i)=>{const n=[],s=(a,I=[])=>{let d=!1;return Object.keys(a).forEach(r=>{let u=a[r];if(u&&typeof u=="object")if(Vi in u&&(u=u[Vi]),ka(u)){if(d=!0,u[Rs]){console.warn("Deleted persistent ref present in returned object. Ignoring...",u,`
Createdat:
`+u[Jn]);return}_l[e.id].delete(u);const c=[e.id,...I,r];u[on]!=null&&JSON.stringify(c)!==JSON.stringify(u[on])&&console.error(`Persistentrefisbeingsavedto\`${c.join(".")}\` when it's already present at \`${u[on].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,u),u[on]=c;consth=I.reduce((W,Z)=>(ZinW||(W[Z]={}),W[Z]),i),v=h[r];h[r]=u[Dn],ut(h)?v!=null?h[r]=v:h[r]=u[Gl]:v!=null?h[r].value=v:h[r].value=u[Gl]}else!(uinstanceofl)&&!Ji(u)&&!n.includes(u)&&(typeofu.type=="symbol"&&n.push(u),s(u,[...I,r])&&(Hn(u)&&!Hn(a)?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.",Viina?a[Vi]:a,r):d=!0))}),d};s(e[Vi]),_l[e.id].forEach(a=>{console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,a,`
Createdat:
`+a[Jn])}),_l[e.id].clear()});const Vi=Symbol("ProxyState"),Dl=Symbol("ProxyPath");function Di(e,i={}){const n=i;let s=!1;function a(){return s||(Object.assign(n,e(n)),s=!0),n}return new Proxy(n,{get(I,d){if(d===Vi)return a();const r=a()[d];return r&&typeof r=="object"&&dn in r?r[dn]:r},set(I,d,r){return a()[d]=r,!0},has(I,d){return d===Vi?!0:Reflect.has(a(),d)},ownKeys(){return Reflect.ownKeys(a())},getOwnPropertyDescriptor(I,d){return s||(Object.assign(n,e(n)),s=!0),Object.getOwnPropertyDescriptor(I,d)}})}var vi=window.state=Yn({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const Ss=cn({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{},autoPause:!0});function Hs(e){return JSON.stringify(e,(i,n)=>m(n))}const Ls={get(e,i){var s;if(i===Vi||i===Dl)return e[i];const n=e[Vi][i];if(i!=="value"&&(ht(n)||Array.isArray(n))){if(n!==((s=e[i])==null?void 0:s[Vi])){const a=[...e[Dl],i];e[i]=new Proxy({[Vi]:n,[Dl]:a},Ls)}return e[i]}return n},set(e,i,n,s){if(!vi.hasNaN&&(typeof n=="number"&&isNaN(n)||n instanceof l&&(isNaN(n.sign)||isNaN(n.layer)||isNaN(n.mag)))){const a=e[Vi][i];if(!(typeof a=="number"&&isNaN(a)||a instanceof l&&(isNaN(a.sign)||isNaN(a.layer)||isNaN(a.mag))))throw Ss.autosave=!1,vi.hasNaN=!0,vi.NaNPath=[...e[Dl],i],vi.NaNReceiver=s,console.error("Attempted to set NaN value",[...e[Dl],i],e[Vi]),"Attempted to set NaN value. See above for details"}return e[Vi][i]=n,!0},ownKeys(e){return Reflect.ownKeys(e[Vi])},has(e,i){return Reflect.has(e[Vi],i)},getOwnPropertyDescriptor(e,i){return Object.getOwnPropertyDescriptor(e[Vi],i)}};var ue=window.player=new Proxy({[Vi]:Ss,[Dl]:["player"]},Ls);function Qs(e={}){return Object.assign({id:`${qe.id}-0`,name:"Default Save",tabs:qe.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:qe.id,modVersion:qe.versionNumber,layers:{}},e)}function $i(e){const i=Xl.compressToUTF16(Hs(e!=null?e:ue[Vi]));return localStorage.setItem((e!=null?e:ue[Vi]).id,i),i}async function Ra(){Ha();try{let e=localStorage.getItem(di.active);if(e==null){await Tl(Pl());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Xl.decompressFromUTF16(e);else throw"Unable to determine save encoding";const i=JSON.parse(e);if(i.modID!==qe.id){await Tl(Pl());return}i.id=di.active,await Tl(i)}catch(e){console.error(`Failedtoloadsave.Fallingbacktonewsave.
`)}]})},a={christmas1:b(()=>l.add(s.christmas.buyable.amount.value,1)),rainbow1:b(()=>l.pow(2,s.rainbow.buyable.amount.value)),jazzy1:b(()=>l.ln(l.add(l.ln(l.add(s.jazzy.buyable.amount.value,1)),1))),sunshine1:b(()=>l.add(s.sunshine.buyable.amount.value,1)),ocean1:b(()=>l.pow(1.5,s.ocean.buyable.amount.value)),beach1:b(()=>l.add(s.beach.buyable.amount.value,1))},I=Zi(b(()=>Object.values(s).map(S=>S.buyable.amount.value).reduce(l.add,0)),"Total Wrapping Paper"),d=_(!1),r=f(()=>t(fi,{modelValue:d.value,"onUpdate:modelValue":S=>d.value=S},{header:()=>t("h2",null,[e,o(" Modifiers")]),body:u})),[u,c]=Il(()=>[]),{total:h,trackerDisplay:v}=Wl({resource:I,goal:1e20,name:e,day:fI,color:i,textColor:"var(--feature-foreground)",modal:{show:d,display:r},ignoreTotal:!0}),W=[6,12,18,24,30,36],Z=g(()=>({display:{requirement:W[0]+" Total Wrapping Paper",effectDisplay:"Double primary colour dye gain"},shouldEarn:()=>l.gte(h.value,W[0]),visibility:()=>p(!0)})),Y=g(()=>({display:{requirement:W[1]+" Total Wrapping Paper",effectDisplay:"Double secondary colour dye gain"},shouldEarn:()=>l.gte(h.value,W[1]),visibility:()=>p(Z.earned.value)})),M=g(()=>({display:{requirement:W[2]+" Total Wrapping Paper",effectDisplay:"Buy maximum primary colour dyes"},shouldEarn:()=>l.gte(h.value,W[2]),visibility:()=>p(Y.earned.value)})),X=g(()=>({display:{requirement:W[3]+" Total Wrapping Paper",effectDisplay:"Secondary colour dyes don't spend primary colour dyes"},shouldEarn:()=>l.gte(h.value,W[3]),visibility:()=>p(M.earned.value)})),D=g(()=>({display:{requirement:W[4]+" Total Wrapping Paper",effectDisplay:"Buy maximum secondary colour dyes"},shouldEarn:()=>l.gte(h.value,W[4]),visibility:()=>p(X.earned.value)})),w=g(()=>({display:{requirement:W[5]+" Total Wrapping Paper",effectDisplay:"Unlock a new elf to help with dyes"},shouldEarn:()=>l.gte(h.value,W[5]),visibility:()=>p(D.earned.value)})),J={primaryBoost:Z,secondaryBoost:Y,buyMaxPrimary:M,secondaryNoReset:X,buyMaxSecondary:D,unlockDyeElf:w},{collapseMilestones:z,display:P}=en(J);return{name:e,display:f(()=>t("div",{style:"width: 620px"},[ae(v),t(zi,{resource:I},null),ei(s.christmas.display,s.rainbow.display,s.jazzy.display),ei(s.christmas.buyable,s.rainbow.buyable,s.jazzy.buyable),t(pe,null,null),ei(s.sunshine.display,s.ocean.display,s.beach.display),ei(s.sunshine.buyable,s.ocean.buyable,s.beach.buyable),t(pe,null,null),o("button goes here"),t(pe,null,null),P()])),wrappingPaper:s,totalWrappingPaper:h,generalTabCollapsed:c,boosts:a,milestones:J,collapseMilestones:z}}),CI="workshop",sn=2,li=Ti(CI,function(){const e="Workshop",i="#D66B02",n="#D66B02",s=Zi(0,"foundation progress"),a=lI(()=>({scaling:cs(cs($n(250,1.5),5387,1/1e10),1e20,3e8),baseResource:de.logs,gainResource:R(s),roundUpCost:!0,spend(oe,be){de.logs.value=l.sub(de.logs.value,be)},costModifier:$(()=>[y(()=>({multiplier:b(()=>Hi.boosts.beach1.value),description:"Beach Wrapping Paper",enabled:b(()=>l.gt(Hi.boosts.beach1.value,1))})),nl(()=>({exponent:.95,description:"Holly Level 5",enabled:k.elfTraining.cutterElfTraining.milestones[4].earned}))])})),I=Qi(()=>({display:f(()=>t(O,null,[t("b",{style:"font-size: x-large"},[o("Build "),se(a.actualGain.value),o("% of the foundation")]),t("br",null,null),t("br",null,null),t("span",{style:"font-size: large"},[o("Cost:")," ",bn(de.logs,l.gte(a.actualGain.value,1)?a.currentAt.value:a.nextAt.value)," ",de.logs.displayName])])),visibility:()=>p(l.lt(s.value,100)||k.elfTraining.expandersElfTraining.milestones[2].earned.value),canClick:()=>l.gte(de.logs.value,a.currentAt.value)&&(l.lt(s.value,100)||k.elfTraining.expandersElfTraining.milestones[2].earned.value),onClick(){!m(this.canClick)||a.convert()},style:"width: 600px; min-height: unset"})),d=ql(()=>({key:"w",description:"Build part of the foundation.",onPress:()=>{I.canClick.value&&I.onClick()}})),r=b(()=>!Ce.milestones[6].earned.value),u=g(()=>({display:{requirement:"1% Foundation Completed",effectDisplay:"Trees give 5% more logs for each % of foundation completed"},shouldEarn:()=>l.gte(s.value,1),showPopups:r})),c=g(()=>({display:{req
Cost:50${n.displayName}<br/>${Ve(1e11)}${Q.coal.displayName}`}})),Je=H(()=>({resource:R(n),cost:1e5,display:{title:"Efficient Drills",description:"Use metal and a bunch of R&D to make drilling stuff faster. Double coal and ore mining speed."},visibility:()=>p(Ie.depthMilestones[4].earned.value)})),Ge=Qe(()=>({resource:R(n),cost(){return l.pow(1.15,this.amount.value).times(10)},display:{title:"Metal Drill",description:"An automated machine to help you mine more ore, faster",effectDisplay:f(()=>t(O,null,[o("Mine 2.5x faster. Increase ore mining amount by")," ",ve(Ge.amount.value),o(" ore per operation")]))},visibility:()=>p(l.gte(Ge.amount.value,1)||l.div(I.value,r.value).plus(s.value).gte(10)),style:{width:"200px"}})),he=Qe(()=>({resource:R(n),cost(){return l.pow(1.15,l.times(this.amount.value,10)).times(10)},display:{title:"Industrial Crucible",description:"A giant automated crucible furnace, letting you smelt ore faster",effectDisplay:f(()=>t(O,null,[o("Automatically smelts")," ",ve(l.times(he.amount.value,10)),o(" ore per second")]))},visibility:()=>p(l.gte(he.amount.value,1)||l.gte(Ge.amount.value,4)||l.gte(I.value,50)),style:{width:"200px"}})),xe=we(!0),Fe=Qe(()=>({resource:Q.coal,cost(){return l.pow(10,this.amount.value).times(1e12)},display:{title:"Hotter Forges",description:"More coal makes the fires burn hotter, getting just a little more metal out of each bit of ore",effectDisplay:f(()=>t(O,null,[o("Gain "),ve(l.times(Te.value,100)),o("% more metal per ore")]))},visibility:()=>p(l.gte(Fe.amount.value,1)||ge.bought.value),style:{width:"200px"}})),Te=b(()=>l.times(Fe.amount.value,.25));ai.on("update",ce=>{z.value=l.times(ce,J.value).plus(z.value);const Ae=z.value.trunc();z.value=z.value.minus(Ae),a.value=l.add(a.value,l.times(Ae,D.value)),xe.value&&M(l.min(Z.value,l.times(c.value,ce)),v.value)});const[Ke,Oe]=Il(()=>[{title:"Auto Smelt Speed",modifier:u,base:0,unit:"/s",visible(){return l.gt(he.amount.value,0)}},{title:"Auto Smelt Multiplier",modifier:h,base:1,visible(){return l.gt(v.value,1)}},{title:"Metal per Ore",modifier:d,base:.1},{title:"Ore per Mining Operation",modifier:X,base:1},{title:"Mining Speed",modifier:w,base:.1,unit:"/s"}]),ne=_(!1),Ye=f(()=>t(fi,{modelValue:ne.value,"onUpdate:modelValue":ce=>ne.value=ce},{header:()=>t("h2",null,[e,o(" Modifiers")]),body:Ke})),{total:Se,trackerDisplay:_e}=Wl({resource:n,goal:25e3,name:e,day:Zs,color:i,modal:{show:ne,display:Ye}});return{name:e,day:Zs,color:i,ore:a,bestOre:I,oreProgress:z,metal:n,bestMetal:s,totalMetal:Se,simplePickaxe:Re,doublePickaxe:A,crucible:me,coalDrill:fe,industrialFurnace:ge,efficientDrill:Je,oreDrill:Ge,industrialCrucible:he,autoSmeltEnabled:xe,hotterForge:Fe,generalTabCollapsed:Oe,minWidth:700,display:f(()=>t(O,null,[ae(_e),t(pe,null,null),t(zi,{resource:n,color:i,style:"margin-bottom: 0",sticky:!1,productionDisplay:f(()=>t(O,null,[xe.value&&l.gte(he.amount.value,1)?`+${gs([[c.value,"smelting speed"],[re.value,"ore gain"],[l.div(Q.computedCoalGain.value,W),"coal gain"]],"/s",l.mul(r.value,v.value))}`:void 0]))},null),t(pe,null,null),ae(Y),l.gte(he.amount.value,1)?t("div",{style:{width:"150px"}},[t(hl,{title:"Auto Smelt",modelValue:xe.value,"onUpdate:modelValue":ce=>xe.value=ce},null)]):void 0,t(pe,null,null),t(zi,{resource:a,color:i,style:"margin-bottom: 0",sticky:!1,productionDisplay:f(()=>t(O,null,[Xs(be.value)]))},null),t(pe,null,null),t("div",null,[o("Currently mining "),Ve(D.value),o(" ore every")," ",Ve(l.recip(J.value)),o(" seconds")]),ae(S),t(pe,null,null),ei(Re,A,me,fe,ge,Je),ei(Ge,he,Fe)])),minimizedDisplay:f(()=>t("div",null,[e,o(" - "),Ve(n.value),o(" "),n.displayName]))}}),gI="elves",tn=4,Ce=Ti(gI,function(){const e="Elves",i="red",n="#911D21",a=ol(()=>({direction:ke.Right,width:600,height:25,fillStyle:`backgroundColor:${n}`,progress:()=>F.day.value===tn?l.div(Ne.value,6).times(.8333333333333334).add(l.div(l.add(Q.coal.value,1).log10(),l.log10(1e9)).clamp(0,1).div(6)):1,display:f(()=>F.day.value===tn?l.lt(Ne.value,6)?t(O,null,[se(Ne.value),o("/6 elves")]):t(O,null,[se(Q.coal.value),o("/"),se(1e9),o(" coal")])
margin:10px0;"/>${P}`:z,n.value=!0},onOpenLayer(){if(S.value=!1,window.matchMedia("(min-width:1468px)").matches)if(ue.tabs.includes(X!=null?X:"trees")){const E=ue.tabs.lastIndexOf(X!=null?X:"trees");ue.tabs.splice(E,1)}else ue.tabs.push(X!=null?X:"trees"),F.minimized.value=!0;else ue.tabs.splice(1,1/0,X!=null?X:"trees")},onUnlockLayer(){X&&(w.value=!0,setTimeout(()=>{var E,re;s.value=-1,a.value=m((re=(E=xi[X!=null?X:"trees"])==null?void 0:E.name)!=null?re:""),I.value=z,ue.autoPause&&(ue.devSpeed=null),n.value=!0},1e3))}}}}})}const r=[d(()=>({day:1,shouldNotify:!1,layer:"trees",symbol:_s,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!"})),d(()=>({day:2,shouldNotify:!1,layer:"workshop",symbol:Ps,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!"})),d(()=>({day:3,shouldNotify:!1,layer:"coal",symbol:qs,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!"})),d(()=>({day:4,shouldNotify:!1,layer:"elves",symbol:$s,story:"Alright, it seems you finally have enough things set up to start bringing in the elves! Unfortunately, it seems they'llneedtoberetrainedonhowtohelp,sincethey've stopped practicing for 11 months!",completedStory:"The workshop now hums with the bustling elves working on everything. They can take it from here - you deserve a break after such a long day! Good Job!"})),d(()=>({day:5,shouldNotify:!1,layer:"paper",symbol:Ks,story:"With the elves trained, we'realmostreadytostartworkingonthesepresents!Justacouplemorepre-reqsfirst,startingwithturningallthiswoodintowoodpulpandfinallyintopaper,whichwillberequiredforwrappingpaperlateronbutinthemeantimecanbeusedtohelpwriteguideswhichwillhelptheseelvescontinuetheireducation!",completedStory:"Youlookuponyourriversofbookpulpasyouhandoutstacksofpaperstoelvestoreadthrough.You've continued getting closer and closer to preparing for Christmas, and can go to bed satisfied with your progress. Good Job!"})),d(()=>({day:6,shouldNotify:!1,layer:"boxes",symbol:et,story:"You watch all these elves carrying incredibly large loads just in their open elf-sized hands, and realize there'sprobablyabetterway.Youneedtoputthetoysinboxesanyways,sowhydon't we get started working on those so the workers can take advantage as well?",completedStory:"Wow, those boxes are really convenient! The workshop feels more and more proper with every day. You tick another requirement on your list and start looking towards tomorrow. Good Job!"})),d(()=>({day:7,shouldNotify:!1,layer:"metal",symbol:it,story:"You woke up ready to make some toys, before realizing most toys these days are made out of more than just wood! You'resureyou're close to really getting to work, but there'safewmorematerialsyou'regoingtoneed-likemetal!Lotsofthingsneedmetal!",completedStory:
Learnmoreatwww.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await Ra();const{globalBus:e}=await Wn(()=>Promise.resolve().then(function(){return va}),void 0),{startGameLoop:i}=await Wn(()=>import("./gameLoop.28b75fad.js"),["assets/gameLoop.28b75fad.js","assets/@fontsource.c175eac8.css","assets/vue.92681fcb.js","assets/lz-string.731cedc5.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/is-plain-object.906d88e8.js","assets/vue-next-select.a2bfab1d.js","assets/vue-next-select.9e6f4164.css","assets/vue-toastification.6f567382.js","assets/vue-toastification.4b5f8ac8.css","assets/vuedraggable.7949458c.js","assets/sortablejs.29100d8a.js","assets/vue-textarea-autosize.35804eaf.js","assets/workbox-window.8d14e8b7.js"]),n=window.vue=Vt(Yr);e.emit("setupVue",n),n.mount("#app"),Ul(()=>{const s=fs(),{updateServiceWorker:a}=gr({onNeedRefresh(){s.info("New content available, click here to update.",{timeout:!1,closeOnClick:!1,draggable:!1,icon:{iconClass:"material-icons",iconChildren:"refresh",iconTag:"i"},rtl:!1,onClick(){a()}})},onOfflineReady(){s.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(I){I&&setInterval(()=>I.update(),60*60*1e3)}})}),i()});export{l as D,Wn as _,vi as a,qe as b,LI as c,ai as g,_n as l,ue as p,di as s};