diff --git a/assets/gameLoop.06acf317.js b/assets/gameLoop.aa7386bf.js similarity index 93% rename from assets/gameLoop.06acf317.js rename to assets/gameLoop.aa7386bf.js index 606de36..ae9a6b7 100644 --- a/assets/gameLoop.06acf317.js +++ b/assets/gameLoop.aa7386bf.js @@ -1 +1 @@ -import{_ as d,s,p as e,a as n,l as T,D as r,b as l,g as u}from"./index.879b00ef.js";import"./vue.f6263579.js";import{b1 as c}from"./@vue.4ce677c2.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./vue-toastification.b7cd620e.js";import"./vue-textarea-autosize.35804eaf.js";import"./semver.83ff78cf.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./socket.io-client.79ce0df5.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./earcut.b6f90e68.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./vuedraggable.c3acdf62.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./workbox-window.8d14e8b7.js";let o=null,m=null;function f(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const a=i;if(n.lastTenTicks.push(a),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((m==null?void 0:m.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,l.offlineLimit*3600)&&(e.offlineTime=l.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const p=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-p,i+=p}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,l.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!r.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,a),s.unthrottled?(requestAnimationFrame(f),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(f,50)))}}async function W(){m=(await d(()=>import("./index.879b00ef.js").then(function(t){return t.c}),["assets/index.879b00ef.js","assets/index.36854818.css","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"])).hasWon,c(m,t=>{t&&u.emit("gameWon")}),s.unthrottled?requestAnimationFrame(f):o=setInterval(f,50)}export{W as startGameLoop}; +import{_ as d,s,p as e,a as n,l as T,D as r,b as l,g as u}from"./index.b8a9c540.js";import"./vue.f6263579.js";import{b1 as c}from"./@vue.4ce677c2.js";/* empty css */import"./nanoevents.1080beb7.js";import"./lz-string.f2f3b7cf.js";import"./vue-toastification.b7cd620e.js";import"./vue-textarea-autosize.35804eaf.js";import"./semver.83ff78cf.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./socket.io-client.79ce0df5.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./earcut.b6f90e68.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./vuedraggable.c3acdf62.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./workbox-window.8d14e8b7.js";let o=null,m=null;function f(){const t=Date.now();let i=(t-e.time)/1e3;e.time=t;const a=i;if(n.lastTenTicks.push(a),n.lastTenTicks.length>10&&(n.lastTenTicks=n.lastTenTicks.slice(1)),!((m==null?void 0:m.value)&&!e.keepGoing)&&!n.hasNaN&&(i=Math.max(i,0),e.devSpeed!==0)){if(T.value=!1,e.offlineTime!=null){if(r.gt(e.offlineTime,l.offlineLimit*3600)&&(e.offlineTime=l.offlineLimit*3600),r.gt(e.offlineTime,0)&&e.devSpeed!==0){const p=Math.max(e.offlineTime/10,i);e.offlineTime=e.offlineTime-p,i+=p}else e.devSpeed===0&&(e.offlineTime+=i);(!e.offlineProd||r.lt(e.offlineTime,0))&&(e.offlineTime=null)}i=Math.min(i,l.maxTickLength),e.devSpeed!=null&&(i*=e.devSpeed),Number.isFinite(i)||(i=1e308),!r.eq(i,0)&&(e.timePlayed+=i,Number.isFinite(e.timePlayed)||(e.timePlayed=1e308),u.emit("update",i,a),s.unthrottled?(requestAnimationFrame(f),o!=null&&(clearInterval(o),o=null)):o==null&&(o=setInterval(f,50)))}}async function W(){m=(await d(()=>import("./index.b8a9c540.js").then(function(t){return t.c}),["assets/index.b8a9c540.js","assets/index.36854818.css","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"])).hasWon,c(m,t=>{t&&u.emit("gameWon")}),s.unthrottled?requestAnimationFrame(f):o=setInterval(f,50)}export{W as startGameLoop}; diff --git a/assets/index.879b00ef.js b/assets/index.b8a9c540.js similarity index 50% rename from assets/index.879b00ef.js rename to assets/index.b8a9c540.js index 33df9f5..c67365f 100644 --- a/assets/index.879b00ef.js +++ b/assets/index.b8a9c540.js @@ -1,15 +1,15 @@ -/* empty css */import"./vue.f6263579.js";import{Z as D,C as l,q as vt,u as Gt,j as xA,l as ce,bv as qt,t as I,a8 as o,aa as z,ay as kt,ar as _e,aE as f,a0 as b,aK as ye,a1 as g,O as Y,aG as Ct,A as Qe,_ as R,b6 as _,b8 as Kt,bs as GA,aq as at,bu as ut,bb as gA,T as KA,a7 as p,b1 as be,G as H,w as Ce,b2 as Ut,aN as ne,I as Be,$ as U,aL as Ft,aJ as dA,J as V,aH as Me,aF as Je,z as Pe,bo as LA,au as XA,al as Zt,aC as YA,bc as Et,ao as WA,bn as jA,be as HA}from"./@vue.4ce677c2.js";import{c as mA}from"./nanoevents.1080beb7.js";import{L as Te}from"./lz-string.f2f3b7cf.js";import{s as ZA,u as fA}from"./vue-toastification.b7cd620e.js";import{p as $A}from"./vue-textarea-autosize.35804eaf.js";import{s as ea}from"./semver.83ff78cf.js";import{l as ta}from"./socket.io-client.79ce0df5.js";import{A as vA,T as Aa,R as aa,B as na,u as ra,E as $t}from"./@pixi.1eac1889.js";import{D as sa}from"./vuedraggable.c3acdf62.js";import{Y as ia}from"./vue-next-select.0dc4e443.js";import{v as oa,n as la}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./sortablejs.cbae5b2d.js";const ua=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function A(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerpolicy&&(r.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?r.credentials="include":n.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(n){if(n.ep)return;n.ep=!0;const r=A(n);fetch(n.href,r)}};ua();const ca="modulepreload",eA={},ga="./",Qt=function(t,A){return!A||A.length===0?t():Promise.all(A.map(a=>{if(a=`${ga}${a}`,a in eA)return;eA[a]=!0;const n=a.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${r}`))return;const s=document.createElement("link");if(s.rel=n?"stylesheet":ca,n||(s.as="script",s.crossOrigin=""),s.href=a,document.head.appendChild(s),n)return new Promise((i,c)=>{s.addEventListener("load",i),s.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},da="./projInfo-schema.json",ma="Super Auto Coots",fa="A project made in Profectus",va="superautocoots",ha="thepaperpilot and crea",pa="",Ca="",Ea="0.0.0",ya="Initial Commit",ba=!1,Ba=!1,Qa=2,Ia=!0,Na=null,wa="",Sa=["main"],ka=3600,Ua=1,Ta=!0,_a="base64";var x={$schema:da,title:ma,description:fa,id:va,author:ha,discordName:pa,discordLink:Ca,versionNumber:Ea,versionTitle:ya,allowGoBack:ba,defaultShowSmall:Ba,defaultDecimalsShown:Qa,useHeader:Ia,banner:Na,logo:wa,initialTabs:Sa,maxTickLength:ka,offlineLimit:Ua,enablePausing:Ta,exportEncoding:_a};class Pa{constructor(t){this.map=new Map,this.first=void 0,this.last=void 0,this.maxSize=t}get size(){return this.map.size}get(t){const A=this.map.get(t);if(A!==void 0)return A!==this.first&&(A===this.last?(this.last=A.prev,this.last.next=void 0):(A.prev.next=A.next,A.next.prev=A.prev),A.next=this.first,this.first.prev=A,this.first=A),A.value}set(t,A){if(this.maxSize<1)return;if(this.map.has(t))throw new Error("Cannot update existing keys in the cache");const a=new Ma(t,A);for(this.first===void 0?(this.first=a,this.last=a):(a.next=this.first,this.first.prev=a,this.first=a),this.map.set(t,a);this.map.size>this.maxSize;){const n=this.last;this.map.delete(n.key),this.last=n.prev,this.last.next=void 0}}}class Ma{constructor(t,A){this.next=void 0,this.prev=void 0,this.key=t,this.value=A}}const Jt=17,Ja=9e15,Da=Math.log10(9e15),qa=1/9e15,Fa=308,Va=-324,tA=5,Ra=(1<<10)-1,Oa=function(){const e=[];for(let A=Va+1;A<=Fa;A++)e.push(Number("1e"+A));const t=323;return function(A){return e[A+t]}}(),Fe=[2,Math.E,3,4,5,6,7,8,9,10],za=[[1,1.0891180521811203,1.1789767925673957,1.2701455431742086,1.3632090180450092,1.4587818160364217,1.5575237916251419,1.6601571006859253,1.767485818836978,1.8804192098842727,2],[1,1.1121114330934079,1.231038924931609,1.3583836963111375,1.4960519303993531,1.6463542337511945,1.8121385357018724,1.996971324618307,2.2053895545527546,2.4432574483385254,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.3632807444991446,1.5979222279405536,1.8842640123816674,2.2416069644878687,2.69893426559423,3.3012632110403577,4.121250340630164,5.281493033448316,7],[1,1.1736630594087796,1.379783782386201,1.6292821855668218,1.9378971836180754,2.3289975651071977,2.8384347394720835,3.5232708454565906,4.478242031114584,5.868592169644505,8],[1,1.1793017514670474,1.394054150657457,1.65664127441059,1.985170999970283,2.4069682290577457,2.9647310119960752,3.7278665320924946,4.814462547283592,6.436522247411611,9],[1,1.1840100246247336,1.4061375836156955,1.6802272208863964,2.026757028388619,2.4770056063449646,3.080525271755482,3.9191964192627284,5.135152840833187,6.989961179534715,10]],xa=[[-1,-.9194161097107025,-.8335625019330468,-.7425599821143978,-.6466611521029437,-.5462617907227869,-.4419033816638769,-.3342645487554494,-.224140440909962,-.11241087890006762,0],[-1,-.90603157029014,-.80786507256596,-.7064666939634,-.60294836853664,-.49849837513117,-.39430303318768,-.29147201034755,-.19097820800866,-.09361896280296,0],[-1,-.9021579584316141,-.8005762598234203,-.6964780623319391,-.5911906810998454,-.486050182576545,-.3823089430815083,-.28106046722897615,-.1831906535795894,-.08935809204418144,0],[-1,-.8917227442365535,-.781258746326964,-.6705130326902455,-.5612813129406509,-.4551067709033134,-.35319256652135966,-.2563741554088552,-.1651412821106526,-.0796919581982668,0],[-1,-.8843387974366064,-.7678744063886243,-.6529563724510552,-.5415870994657841,-.4352842206588936,-.33504449124791424,-.24138853420685147,-.15445285440944467,-.07409659641336663,0],[-1,-.8786709358426346,-.7577735191184886,-.6399546189952064,-.527284921869926,-.4211627631006314,-.3223479611761232,-.23107655627789858,-.1472057700818259,-.07035171210706326,0],[-1,-.8740862815291583,-.7497032990976209,-.6297119746181752,-.5161838335958787,-.41036238255751956,-.31277212146489963,-.2233976621705518,-.1418697367979619,-.06762117662323441,0],[-1,-.8702632331800649,-.7430366914122081,-.6213373075161548,-.5072025698095242,-.40171437727184167,-.30517930701410456,-.21736343968190863,-.137710238299109,-.06550774483471955,0],[-1,-.8670016295947213,-.7373984232432306,-.6143173985094293,-.49973884395492807,-.394584953527678,-.2989649949848695,-.21245647317021688,-.13434688362382652,-.0638072667348083,0],[-1,-.8641642839543857,-.732534623168535,-.6083127477059322,-.4934049257184696,-.3885773075899922,-.29376029055315767,-.2083678561173622,-.13155653399373268,-.062401588652553186,0]];let d=function(t){return Q.fromValue_noAlloc(t)},T=function(e,t,A){return Q.fromComponents(e,t,A)},M=function(t,A,a){return Q.fromComponents_noNormalize(t,A,a)};const we=function(t,A){const a=A+1,n=Math.ceil(Math.log10(Math.abs(t))),r=Math.round(t*Math.pow(10,a-n))*Math.pow(10,n-a);return parseFloat(r.toFixed(Math.max(a-n,0)))},Dt=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},Ga=function(e){if(!isFinite(e))return e;if(e<-50)return e===Math.trunc(e)?Number.NEGATIVE_INFINITY:0;let t=1;for(;e<10;)t=t*e,++e;e-=1;let A=.9189385332046727;A=A+(e+.5)*Math.log(e),A=A-e;const a=e*e;let n=e;return A=A+1/(12*n),n=n*a,A=A+1/(360*n),n=n*a,A=A+1/(1260*n),n=n*a,A=A+1/(1680*n),n=n*a,A=A+1/(1188*n),n=n*a,A=A+691/(360360*n),n=n*a,A=A+7/(1092*n),n=n*a,A=A+3617/(122400*n),Math.exp(A)/t},hA=.5671432904097838,AA=function(e,t=1e-10){let A,a;if(!Number.isFinite(e)||e===0)return e;if(e===1)return hA;e<10?A=0:A=Math.log(e)-Math.log(Math.log(e));for(let n=0;n<100;++n){if(a=(e*Math.exp(-A)+A*A)/(A+1),Math.abs(a-A).5?1:-1;if(Math.random()*20<1)return M(t,0,1);const A=Math.floor(Math.random()*(e+1));let a=A===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(a=Math.trunc(a));let n=Math.pow(10,a);return Math.random()>.9&&(n=Math.trunc(n)),T(t,A,n)}static affordGeometricSeries_core(e,t,A,a){const n=t.mul(A.pow(a));return u.floor(e.div(n).mul(A.sub(1)).add(1).log10().div(A.log10()))}static sumGeometricSeries_core(e,t,A,a){return t.mul(A.pow(a)).mul(u.sub(1,A.pow(e))).div(u.sub(1,A))}static affordArithmeticSeries_core(e,t,A,a){const r=t.add(a.mul(A)).sub(A.div(2)),s=r.pow(2);return r.neg().add(s.add(A.mul(e).mul(2)).sqrt()).div(A).floor()}static sumArithmeticSeries_core(e,t,A,a){const n=t.add(a.mul(A));return e.div(2).mul(n.mul(2).plus(e.sub(1).mul(A)))}static efficiencyOfPurchase_core(e,t,A){return e.div(t).add(e.div(A))}normalize(){if(this.sign===0||this.mag===0&&this.layer===0)return this.sign=0,this.mag=0,this.layer=0,this;if(this.layer===0&&this.mag<0&&(this.mag=-this.mag,this.sign=-this.sign),this.layer===0&&this.mag=Ja)return this.layer+=1,this.mag=t*Math.log10(e),this;for(;e0;)this.layer-=1,this.layer===0?this.mag=Math.pow(10,this.mag):(this.mag=t*Math.pow(10,e),e=Math.abs(this.mag),t=Math.sign(this.mag));return this.layer===0&&(this.mag<0?(this.mag=-this.mag,this.sign=-this.sign):this.mag===0&&(this.sign=0)),this}fromComponents(e,t,A){return this.sign=e,this.layer=t,this.mag=A,this.normalize(),this}fromComponents_noNormalize(e,t,A){return this.sign=e,this.layer=t,this.mag=A,this}fromMantissaExponent(e,t){return this.layer=1,this.sign=Math.sign(e),e=Math.abs(e),this.mag=t+Math.log10(e),this.normalize(),this}fromMantissaExponent_noNormalize(e,t){return this.fromMantissaExponent(e,t),this}fromDecimal(e){return this.sign=e.sign,this.layer=e.layer,this.mag=e.mag,this}fromNumber(e){return this.mag=Math.abs(e),this.sign=Math.sign(e),this.layer=0,this.normalize(),this}fromString(e){const t=e,A=u.fromStringCache.get(t);if(A!==void 0)return this.fromDecimal(A);e=e.replace(",","");const a=e.split("^^^");if(a.length===2){const N=parseFloat(a[0]),S=parseFloat(a[1]),k=a[1].split(";");let $=1;if(k.length===2&&($=parseFloat(k[1]),isFinite($)||($=1)),isFinite(N)&&isFinite(S)){const B=u.pentate(N,S,$);return this.sign=B.sign,this.layer=B.layer,this.mag=B.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const n=e.split("^^");if(n.length===2){const N=parseFloat(n[0]),S=parseFloat(n[1]),k=n[1].split(";");let $=1;if(k.length===2&&($=parseFloat(k[1]),isFinite($)||($=1)),isFinite(N)&&isFinite(S)){const B=u.tetrate(N,S,$);return this.sign=B.sign,this.layer=B.layer,this.mag=B.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const r=e.split("^");if(r.length===2){const N=parseFloat(r[0]),S=parseFloat(r[1]);if(isFinite(N)&&isFinite(S)){const k=u.pow(N,S);return this.sign=k.sign,this.layer=k.layer,this.mag=k.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}e=e.trim().toLowerCase();let s,i,c=e.split("pt");if(c.length===2){s=10,i=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let N=parseFloat(c[1]);if(isFinite(N)||(N=1),isFinite(s)&&isFinite(i)){const S=u.tetrate(s,i,N);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(c=e.split("p"),c.length===2){s=10,i=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let N=parseFloat(c[1]);if(isFinite(N)||(N=1),isFinite(s)&&isFinite(i)){const S=u.tetrate(s,i,N);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const m=e.split("e"),C=m.length-1;if(C===0){const N=parseFloat(e);if(isFinite(N))return this.fromNumber(N),u.fromStringCache.size>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else if(C===1){const N=parseFloat(e);if(isFinite(N)&&N!==0)return this.fromNumber(N),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}const h=e.split("e^");if(h.length===2){this.sign=1,h[0].charAt(0)=="-"&&(this.sign=-1);let N="";for(let S=0;S=43&&k<=57||k===101)N+=h[1].charAt(S);else return this.layer=parseFloat(N),this.mag=parseFloat(h[1].substr(S+1)),this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(C<1)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;const E=parseFloat(m[0]);if(E===0)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;let y=parseFloat(m[m.length-1]);if(C>=2){const N=parseFloat(m[m.length-2]);isFinite(N)&&(y*=Math.sign(N),y+=Dt(N))}if(!isFinite(E))this.sign=m[0]==="-"?-1:1,this.layer=C,this.mag=y;else if(C===1)this.sign=Math.sign(E),this.layer=1,this.mag=y+Math.log10(Math.abs(E));else if(this.sign=Math.sign(E),this.layer=C,C===2){const N=u.mul(T(1,2,y),d(E));return this.sign=N.sign,this.layer=N.layer,this.mag=N.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else this.mag=y;return this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}fromValue(e){return e instanceof u?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):typeof e=="string"?this.fromString(e):(this.sign=0,this.layer=0,this.mag=0,this)}toNumber(){return Number.isFinite(this.layer)?this.layer===0?this.sign*this.mag:this.layer===1?this.sign*Math.pow(10,this.mag):this.mag>0?this.sign>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:0:Number.NaN}mantissaWithDecimalPlaces(e){return isNaN(this.m)?Number.NaN:this.m===0?0:we(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:we(this.mag,e)}toString(){return isNaN(this.layer)||isNaN(this.sign)||isNaN(this.mag)?"NaN":this.mag===Number.POSITIVE_INFINITY||this.layer===Number.POSITIVE_INFINITY?this.sign===1?"Infinity":"-Infinity":this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toString():this.m+"e"+this.e:this.layer===1?this.m+"e"+this.e:this.layer<=tA?(this.sign===-1?"-":"")+"e".repeat(this.layer)+this.mag:(this.sign===-1?"-":"")+"(e^"+this.layer+")"+this.mag}toExponential(e){return this.layer===0?(this.sign*this.mag).toExponential(e):this.toStringWithDecimalPlaces(e)}toFixed(e){return this.layer===0?(this.sign*this.mag).toFixed(e):this.toStringWithDecimalPlaces(e)}toPrecision(e){return this.e<=-7?this.toExponential(e-1):e>this.e?this.toFixed(e-this.exponent-1):this.toExponential(e-1)}valueOf(){return this.toString()}toJSON(){return this.toString()}toStringWithDecimalPlaces(e){return this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toFixed(e):we(this.m,e)+"e"+we(this.e,e):this.layer===1?we(this.m,e)+"e"+we(this.e,e):this.layer<=tA?(this.sign===-1?"-":"")+"e".repeat(this.layer)+we(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+we(this.mag,e)}abs(){return M(this.sign===0?0:1,this.layer,this.mag)}neg(){return M(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?u.dZero:this.layer===0?T(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?u.dZero:this.layer===0?T(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?u.dZero:this.layer===0?T(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?u.dZero:this.layer===0?T(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=d(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer)||this.sign===0)return t;if(t.sign===0)return this;if(this.sign===-t.sign&&this.layer===t.layer&&this.mag===t.mag)return M(0,0,0);let A,a;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(u.cmpabs(this,t)>0?(A=this,a=t):(A=t,a=this),A.layer===0&&a.layer===0)return u.fromNumber(A.sign*A.mag+a.sign*a.mag);const n=A.layer*Math.sign(A.mag),r=a.layer*Math.sign(a.mag);if(n-r>=2)return A;if(n===0&&r===-1){if(Math.abs(a.mag-Math.log10(A.mag))>Jt)return A;{const s=Math.pow(10,Math.log10(A.mag)-a.mag),i=a.sign+A.sign*s;return T(Math.sign(i),1,a.mag+Math.log10(Math.abs(i)))}}if(n===1&&r===0){if(Math.abs(A.mag-Math.log10(a.mag))>Jt)return A;{const s=Math.pow(10,A.mag-Math.log10(a.mag)),i=a.sign+A.sign*s;return T(Math.sign(i),1,Math.log10(a.mag)+Math.log10(Math.abs(i)))}}if(Math.abs(A.mag-a.mag)>Jt)return A;{const s=Math.pow(10,A.mag-a.mag),i=a.sign+A.sign*s;return T(Math.sign(i),1,a.mag+Math.log10(Math.abs(i)))}}plus(e){return this.add(e)}sub(e){return this.add(d(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=d(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return M(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return M(this.sign*t.sign,0,1);let A,a;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(A=this,a=t):(A=t,a=this),A.layer===0&&a.layer===0)return u.fromNumber(A.sign*a.sign*A.mag*a.mag);if(A.layer>=3||A.layer-a.layer>=2)return T(A.sign*a.sign,A.layer,A.mag);if(A.layer===1&&a.layer===0)return T(A.sign*a.sign,1,A.mag+Math.log10(a.mag));if(A.layer===1&&a.layer===1)return T(A.sign*a.sign,1,A.mag+a.mag);if(A.layer===2&&a.layer===1){const n=T(Math.sign(A.mag),A.layer-1,Math.abs(A.mag)).add(T(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)));return T(A.sign*a.sign,n.layer+1,n.sign*n.mag)}if(A.layer===2&&a.layer===2){const n=T(Math.sign(A.mag),A.layer-1,Math.abs(A.mag)).add(T(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)));return T(A.sign*a.sign,n.layer+1,n.sign*n.mag)}throw Error("Bad arguments to mul: "+this+", "+e)}multiply(e){return this.mul(e)}times(e){return this.mul(e)}div(e){const t=d(e);return this.mul(t.recip())}divide(e){return this.div(e)}divideBy(e){return this.div(e)}dividedBy(e){return this.div(e)}recip(){return this.mag===0?u.dNaN:this.layer===0?T(this.sign,0,1/this.mag):T(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=d(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,a=t.mag>0?t.layer:-t.layer;return A>a?1:At.mag?1:this.mag0?t:this}clamp(e,t){return this.max(e).min(t)}clampMin(e){return this.max(e)}clampMax(e){return this.min(e)}cmp_tolerance(e,t){const A=d(e);return this.eq_tolerance(A,t)?0:this.cmp(A)}compare_tolerance(e,t){return this.cmp_tolerance(e,t)}eq_tolerance(e,t){const A=d(e);if(t==null&&(t=1e-7),this.sign!==A.sign||Math.abs(this.layer-A.layer)>1)return!1;let a=this.mag,n=A.mag;return this.layer>A.layer&&(n=Dt(n)),this.layer0?T(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):T(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?u.dNaN:this.layer>0?T(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):T(this.sign,0,Math.log10(this.mag))}log(e){return e=d(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?u.dNaN:this.layer===0&&e.layer===0?T(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):u.div(this.log10(),e.log10())}log2(){return this.sign<=0?u.dNaN:this.layer===0?T(this.sign,0,Math.log2(this.mag)):this.layer===1?T(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?T(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):T(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?u.dNaN:this.layer===0?T(this.sign,0,Math.log(this.mag)):this.layer===1?T(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?T(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):T(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=d(e),A=this,a=t;if(A.sign===0)return a.eq(0)?M(1,0,1):A;if(A.sign===1&&A.layer===0&&A.mag===1)return A;if(a.sign===0)return M(1,0,1);if(a.sign===1&&a.layer===0&&a.mag===1)return A;const n=A.absLog10().mul(a).pow10();return this.sign===-1?Math.abs(a.toNumber()%2)%2===1?n.neg():Math.abs(a.toNumber()%2)%2===0?n:u.dNaN:n}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return u.dNaN;let e=this;if(e.layer===0){const t=Math.pow(10,e.sign*e.mag);if(Number.isFinite(t)&&Math.abs(t)>=.1)return T(1,0,t);if(e.sign===0)return u.dOne;e=M(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?T(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?T(-e.sign,e.layer+1,-e.mag):u.dOne}pow_base(e){return d(e).pow(this)}root(e){const t=d(e);return this.pow(t.recip())}factorial(){return this.mag<0?this.add(1).gamma():this.layer===0?this.add(1).gamma():this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(M(1,0,24)))return u.fromNumber(Ga(this.sign*this.mag));const e=this.mag-1;let t=.9189385332046727;t=t+(e+.5)*Math.log(e),t=t-e;const A=e*e;let a=e,n=12*a,r=1/n,s=t+r;if(s===t||(t=s,a=a*A,n=360*a,r=1/n,s=t-r,s===t))return u.exp(t);t=s,a=a*A,n=1260*a;let i=1/n;return t=t+i,a=a*A,n=1680*a,i=1/n,t=t-i,u.exp(t)}else return this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?u.dOne:this.layer===0&&this.mag<=709.7?u.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?T(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?T(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):T(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return u.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return T(1,2,Math.log10(this.mag)-.3010299956639812);{const e=u.div(M(this.sign,this.layer-1,this.mag),M(1,0,2));return e.layer+=1,e.normalize(),e}}cube(){return this.pow(3)}cbrt(){return this.pow(1/3)}tetrate(e=2,t=M(1,0,1)){if(e===1)return u.pow(this,t);if(e===0)return new u(t);if(this.eq(u.dOne))return u.dOne;if(this.eq(-1))return u.pow(this,t);if(e===Number.POSITIVE_INFINITY){const n=this.toNumber();if(n<=1.444667861009766&&n>=.06598803584531254){if(n>1.444667861009099)return u.fromNumber(Math.E);const r=u.ln(this).neg();return r.lambertw().div(r)}else return n>1.444667861009766?u.fromNumber(Number.POSITIVE_INFINITY):u.dNaN}if(this.eq(u.dZero)){let n=Math.abs((e+1)%2);return n>1&&(n=2-n),u.fromNumber(n)}if(e<0)return u.iteratedlog(t,this,-e);t=d(t);const A=e;e=Math.trunc(e);const a=A-e;if(this.gt(u.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let n=0;n3)return M(t.sign,t.layer+(e-n-1),t.mag);if(n>1e4)return t}return t}iteratedexp(e=2,t=M(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return u.tetrate(e,-t,this);e=d(e);let A=u.fromDecimal(this);const a=t;t=Math.trunc(t);const n=a-t;if(A.layer-e.layer>3){const r=Math.min(t,A.layer-e.layer-3);t-=r,A.layer-=r}for(let r=0;r1e4)return A}return n>0&&n<1&&(e.eq(10)?A=A.layeradd10(-n):A=A.layeradd(-n,e)),A}slog(e=10,t=100){let A=.001,a=!1,n=!1,r=this.slog_internal(e).toNumber();for(let s=1;s1&&n!=c&&(a=!0),n=c,a?A/=2:A*=2,A=Math.abs(A)*(c?-1:1),r+=A,A===0)break}return u.fromNumber(r)}slog_internal(e=10){if(e=d(e),e.lte(u.dZero)||e.eq(u.dOne))return u.dNaN;if(e.lt(u.dOne))return this.eq(u.dOne)?u.dZero:this.eq(u.dZero)?u.dNegOne:u.dNaN;if(this.mag<0||this.eq(u.dZero))return u.dNegOne;let t=0,A=u.fromDecimal(this);if(A.layer-e.layer>3){const a=A.layer-e.layer-3;t+=a,A.layer-=a}for(let a=0;a<100;++a)if(A.lt(u.dZero))A=u.pow(e,A),t-=1;else{if(A.lte(u.dOne))return u.fromNumber(t+u.slog_critical(e.toNumber(),A.toNumber()));t+=1,A=u.log(A,e)}return u.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:u.critical_section(e,t,xa)}static tetrate_critical(e,t){return u.critical_section(e,t,za)}static critical_section(e,t,A){t*=10,t<0&&(t=0),t>10&&(t=10),e<2&&(e=2),e>10&&(e=10);let a=0,n=0;for(let s=0;se){const i=(e-Fe[s])/(Fe[s+1]-Fe[s]);a=A[s][Math.floor(t)]*(1-i)+A[s+1][Math.floor(t)]*i,n=A[s][Math.ceil(t)]*(1-i)+A[s+1][Math.ceil(t)]*i;break}const r=t-Math.floor(t);return a<=0||n<=0?a*(1-r)+n*r:Math.pow(e,Math.log(a)/Math.log(e)*(1-r)+Math.log(n)/Math.log(e)*r)}layeradd10(e){e=u.fromValue_noAlloc(e).toNumber();const t=u.fromDecimal(this);if(e>=1){t.mag<0&&t.layer>0?(t.sign=0,t.mag=0,t.layer=0):t.sign===-1&&t.layer==0&&(t.sign=1,t.mag=-t.mag);const A=Math.trunc(e);e-=A,t.layer+=A}if(e<=-1){const A=Math.trunc(e);if(e-=A,t.layer+=A,t.layer<0)for(let a=0;a<100;++a){if(t.layer++,t.mag=Math.log10(t.mag),!isFinite(t.mag))return t.sign===0&&(t.sign=1),t.layer<0&&(t.layer=0),t.normalize();if(t.layer>=0)break}}for(;t.layer<0;)t.layer++,t.mag=Math.log10(t.mag);return t.sign===0&&(t.sign=1,t.mag===0&&t.layer>=1&&(t.layer-=1,t.mag=1)),t.normalize(),e!==0?t.layeradd(e,10):t}layeradd(e,t){const a=this.slog(t).toNumber()+e;return a>=0?u.tetrate(t,a):Number.isFinite(a)?a>=-1?u.log(u.tetrate(t,a+1),t):u.log(u.log(u.tetrate(t,a+2),t),t):u.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return u.fromNumber(AA(this.toNumber()));if(this.layer===0)return u.fromNumber(AA(this.sign*this.mag));if(this.layer===1)return aA(this);if(this.layer===2)return aA(this);if(this.layer>=3)return M(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return M(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=M(1,0,1)){t=d(t);const A=e;e=Math.trunc(e);const a=A-e;a!==0&&(t.eq(u.dOne)?(++e,t=u.fromNumber(a)):this.eq(10)?t=t.layeradd10(a):t=t.layeradd(a,this));for(let n=0;n10)return t}return t}sin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.sin(this.sign*this.mag)):M(0,0,0)}cos(){return this.mag<0?u.dOne:this.layer===0?u.fromNumber(Math.cos(this.sign*this.mag)):M(0,0,0)}tan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.tan(this.sign*this.mag)):M(0,0,0)}asin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.asin(this.sign*this.mag)):M(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?u.fromNumber(Math.acos(this.toNumber())):this.layer===0?u.fromNumber(Math.acos(this.sign*this.mag)):M(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.atan(this.sign*this.mag)):u.fromNumber(Math.atan(this.sign*(1/0)))}sinh(){return this.exp().sub(this.negate().exp()).div(2)}cosh(){return this.exp().add(this.negate().exp()).div(2)}tanh(){return this.sinh().div(this.cosh())}asinh(){return u.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return u.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?M(Number.NaN,Number.NaN,Number.NaN):u.ln(this.add(1).div(u.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(u.pow(10,e))}egg(){return this.add(9)}lessThanOrEqualTo(e){return this.cmp(e)<1}lessThan(e){return this.cmp(e)<0}greaterThanOrEqualTo(e){return this.cmp(e)>-1}greaterThan(e){return this.cmp(e)>0}};let Q=u;Q.fromStringCache=new Pa(Ra);Q.dZero=M(0,0,0);Q.dOne=M(1,0,1);Q.dNegOne=M(-1,0,1);Q.dTwo=M(1,0,2);Q.dTen=M(1,0,10);Q.dNaN=M(Number.NaN,Number.NaN,Number.NaN);Q.dInf=M(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);Q.dNegInf=M(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);Q.dNumberMax=T(1,0,Number.MAX_VALUE);Q.dNumberMin=T(1,0,Number.MIN_VALUE);d=Q.fromValue_noAlloc;T=Q.fromComponents;M=Q.fromComponents_noNormalize;Q.fromMantissaExponent;Q.fromMantissaExponent_noNormalize;const Ka=new Q(1);function ot(e,t,A=!0){let a=Q.log10(e).floor(),n=Q.div(e,Q.pow(10,a));n.toStringWithDecimalPlaces(t)==="10"&&(n=Ka,a=a.add(1));const r=a.gte(1e9)?ue(a,Math.max(Math.max(t,3),x.defaultDecimalsShown)):a.gte(1e4)?It(a,0):a.toStringWithDecimalPlaces(0);return A?n.toStringWithDecimalPlaces(t)+"e"+r:"e"+r}function It(e,t){if(e==null)return"NaN";if(e=new Q(e),e.mag<.001)return 0 .toFixed(t);const a=e.toStringWithDecimalPlaces(t).split(".");return a[0]=a[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),a.length==1?a[0]:a[0]+"."+a[1]}function pA(e,t){return e==null?"NaN":(e=new Q(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),x.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const La=new Q("eeee1000"),Xa=new Q("e100000"),nA=new Q("e1000"),CA=new Q(1e9),Ya=new Q(1e6),Wa=new Q(1e3),ja=new Q(.98),Ha=new Q(.001),EA=new Q(0);function ue(e,t,A){if(t==null&&(t=x.defaultDecimalsShown),A=A!=null?A:x.defaultShowSmall,e=new Q(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+ue(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(La)){const a=e.slog();return a.gte(Ya)?"F"+ue(a.floor()):Q.pow(10,a.sub(a.floor())).toStringWithDecimalPlaces(3)+"F"+It(a.floor(),0)}else{if(e.gte(Xa))return ot(e,0,!1);if(e.gte(nA))return ot(e,0);if(e.gte(CA))return ot(e,t);if(e.gte(Wa))return It(e,0);if(e.gte(Ha)||!A)return pA(e,t);if(e.eq(EA))return 0 .toFixed(t)}return e=bA(e),e.lt(nA)?ot(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):ue(e,t)+"\u207B\xB9"}function oe(e){return e=new Q(e),e.sign<0?"-"+oe(e.neg()):e.gte(CA)||e.lte(ja)&&!e.eq(EA)?ue(e):ue(e,0)}function yA(e){return Q.lt(e,0)?"-"+yA(Q.neg(e)):Q.gt(e,2**51)?ue(Q.div(e,31536e3))+"y":(e=new Q(e).toNumber(),e<60?ue(e)+"s":e<3600?oe(Math.floor(e/60))+"m "+ue(e%60)+"s":e<86400?oe(Math.floor(e/3600))+"h "+oe(Math.floor(e/60)%60)+"m "+oe(e%60)+"s":e<31536e3?oe(Math.floor(e/84600)%365)+"d "+oe(Math.floor(e/3600)%24)+"h "+oe(Math.floor(e/60)%60)+"m":oe(Math.floor(e/31536e3))+"y "+oe(Math.floor(e/84600)%365)+"d "+oe(Math.floor(e/3600)%24)+"h")}function Za(e,t,A){e=new Q(e);let a=e.toStringWithDecimalPlaces(t);return new Q(a).gte(A)&&(a=Q.sub(A,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),a}function $a(e,t){return ue(e,t,!0)}function bA(e){let t=Q.log10(e).ceil();const A=Q.div(e,Q.pow(10,t));return t=t.neg(),e=new Q(10).pow(t).times(A),e}var en=Object.freeze(Object.defineProperty({__proto__:null,default:Q,exponentialFormat:ot,commaFormat:It,regularFormat:pA,format:ue,formatWhole:oe,formatTime:yA,toPlaces:Za,formatSmall:$a,invertOOM:bA},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:tn,commaFormat:An,regularFormat:an,format:BA,formatWhole:Vt,formatTime:Lt,toPlaces:nn,formatSmall:rn,invertOOM:sn}=en;window.Decimal=Q;window.exponentialFormat=tn;window.commaFormat=An;window.regularFormat=an;window.format=BA;window.formatWhole=Vt;window.formatTime=Lt;window.toPlaces=nn;window.formatSmall=rn;window.invertOOM=sn;function rA(e){return typeof e=="function"}var Z=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(Z||{});const Nt=Symbol("DoNotCache");function X(e,t){const A=e[t];rA(A)&&A.length===0&&!A[Nt]?e[t]=D(A.bind(e)):rA(A)&&(e[t]=A.bind(e),e[t][Nt]=!0)}const ct=Symbol("Component"),Tt=Symbol("GatherProps");let on=0;function Xt(e="feature-"){return e+on++}var gt=(e=>(e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.None=2]="None",e))(gt||{});function wt(e){const t=l(e);return t!==2&&t!==!1}function QA(e){return l(e)===1}function L(e){return e[Nt]=!0,e}function Ge(e,t,A){e[t]===void 0&&A!=null&&(e[t]=A)}const te=mA();"fonts"in document&&(document.fonts.onloadingdone=()=>te.emit("fontsLoaded"));var ln=Object.freeze(Object.defineProperty({__proto__:null,globalBus:te},Symbol.toStringTag,{value:"Module"}));const Re=Symbol("ProxyState");function _t(e,t={}){const A=t;let a=!1;function n(){return a||(Object.assign(A,e(A)),a=!0),A}return new Proxy(A,{get(r,s){if(s===Re)return n();const i=n()[s];return i!=null&&typeof i=="object"&&Ot in i?i[Ot]:i},set(r,s,i){return n()[s]=i,!0},has(r,s){return s===Re?!0:Reflect.has(n(),s)},ownKeys(){return Reflect.ownKeys(n())},getOwnPropertyDescriptor(r,s){return a||(Object.assign(A,e(A)),a=!0),Object.getOwnPropertyDescriptor(r,s)}})}const un=vt({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var O=window.player=un;function IA(e){return JSON.stringify(e,(t,A)=>l(A))}var ee=window.state=Gt({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const je=Symbol("PersistentState"),nt=Symbol("DefaultValue"),St=Symbol("StackTrace"),Rt=Symbol("Deleted"),Ot=Symbol("NonPersistent"),ze=Symbol("SaveDataPath");function cn(){var e,t;return(t=(e=new Error().stack)==null?void 0:e.split(` +/* empty css */import"./vue.f6263579.js";import{Z as F,C as l,q as vt,u as Gt,j as xA,l as ce,bv as Vt,t as I,a8 as o,aa as z,ay as Ut,ar as Te,aE as f,a0 as y,aK as be,a1 as g,O as Y,aG as Ct,A as Qe,_ as R,b6 as T,b8 as Kt,bs as GA,aq as at,bu as ut,bb as gA,T as KA,a7 as p,b1 as ye,G as H,w as Ce,b2 as kt,aN as ne,I as Be,$ as k,aL as Ot,aJ as dA,J as q,aH as Pe,aF as Je,z as Me,bo as LA,au as XA,al as Zt,aC as YA,bc as Et,ao as WA,bn as jA,be as HA}from"./@vue.4ce677c2.js";import{c as mA}from"./nanoevents.1080beb7.js";import{L as _e}from"./lz-string.f2f3b7cf.js";import{s as ZA,u as fA}from"./vue-toastification.b7cd620e.js";import{p as $A}from"./vue-textarea-autosize.35804eaf.js";import{s as ea}from"./semver.83ff78cf.js";import{l as ta}from"./socket.io-client.79ce0df5.js";import{A as vA,T as Aa,R as aa,B as na,u as ra,E as $t}from"./@pixi.1eac1889.js";import{D as sa}from"./vuedraggable.c3acdf62.js";import{Y as ia}from"./vue-next-select.0dc4e443.js";import{v as oa,n as la}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";import"./sortablejs.cbae5b2d.js";const ua=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const r of n)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function A(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerpolicy&&(r.referrerPolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?r.credentials="include":n.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(n){if(n.ep)return;n.ep=!0;const r=A(n);fetch(n.href,r)}};ua();const ca="modulepreload",eA={},ga="./",Qt=function(t,A){return!A||A.length===0?t():Promise.all(A.map(a=>{if(a=`${ga}${a}`,a in eA)return;eA[a]=!0;const n=a.endsWith(".css"),r=n?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${r}`))return;const s=document.createElement("link");if(s.rel=n?"stylesheet":ca,n||(s.as="script",s.crossOrigin=""),s.href=a,document.head.appendChild(s),n)return new Promise((i,c)=>{s.addEventListener("load",i),s.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},da="./projInfo-schema.json",ma="Super Auto Coots",fa="A project made in Profectus",va="superautocoots",ha="thepaperpilot and crea",pa="",Ca="",Ea="0.0.0",ba="Initial Commit",ya=!1,Ba=!1,Qa=2,Ia=!0,Na=null,wa="",Sa=["main"],Ua=3600,ka=1,_a=!0,Ta="base64";var x={$schema:da,title:ma,description:fa,id:va,author:ha,discordName:pa,discordLink:Ca,versionNumber:Ea,versionTitle:ba,allowGoBack:ya,defaultShowSmall:Ba,defaultDecimalsShown:Qa,useHeader:Ia,banner:Na,logo:wa,initialTabs:Sa,maxTickLength:Ua,offlineLimit:ka,enablePausing:_a,exportEncoding:Ta};class Ma{constructor(t){this.map=new Map,this.first=void 0,this.last=void 0,this.maxSize=t}get size(){return this.map.size}get(t){const A=this.map.get(t);if(A!==void 0)return A!==this.first&&(A===this.last?(this.last=A.prev,this.last.next=void 0):(A.prev.next=A.next,A.next.prev=A.prev),A.next=this.first,this.first.prev=A,this.first=A),A.value}set(t,A){if(this.maxSize<1)return;if(this.map.has(t))throw new Error("Cannot update existing keys in the cache");const a=new Pa(t,A);for(this.first===void 0?(this.first=a,this.last=a):(a.next=this.first,this.first.prev=a,this.first=a),this.map.set(t,a);this.map.size>this.maxSize;){const n=this.last;this.map.delete(n.key),this.last=n.prev,this.last.next=void 0}}}class Pa{constructor(t,A){this.next=void 0,this.prev=void 0,this.key=t,this.value=A}}const Jt=17,Ja=9e15,Fa=Math.log10(9e15),Va=1/9e15,Oa=308,qa=-324,tA=5,Ra=(1<<10)-1,Da=function(){const e=[];for(let A=qa+1;A<=Oa;A++)e.push(Number("1e"+A));const t=323;return function(A){return e[A+t]}}(),Oe=[2,Math.E,3,4,5,6,7,8,9,10],za=[[1,1.0891180521811203,1.1789767925673957,1.2701455431742086,1.3632090180450092,1.4587818160364217,1.5575237916251419,1.6601571006859253,1.767485818836978,1.8804192098842727,2],[1,1.1121114330934079,1.231038924931609,1.3583836963111375,1.4960519303993531,1.6463542337511945,1.8121385357018724,1.996971324618307,2.2053895545527546,2.4432574483385254,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.3632807444991446,1.5979222279405536,1.8842640123816674,2.2416069644878687,2.69893426559423,3.3012632110403577,4.121250340630164,5.281493033448316,7],[1,1.1736630594087796,1.379783782386201,1.6292821855668218,1.9378971836180754,2.3289975651071977,2.8384347394720835,3.5232708454565906,4.478242031114584,5.868592169644505,8],[1,1.1793017514670474,1.394054150657457,1.65664127441059,1.985170999970283,2.4069682290577457,2.9647310119960752,3.7278665320924946,4.814462547283592,6.436522247411611,9],[1,1.1840100246247336,1.4061375836156955,1.6802272208863964,2.026757028388619,2.4770056063449646,3.080525271755482,3.9191964192627284,5.135152840833187,6.989961179534715,10]],xa=[[-1,-.9194161097107025,-.8335625019330468,-.7425599821143978,-.6466611521029437,-.5462617907227869,-.4419033816638769,-.3342645487554494,-.224140440909962,-.11241087890006762,0],[-1,-.90603157029014,-.80786507256596,-.7064666939634,-.60294836853664,-.49849837513117,-.39430303318768,-.29147201034755,-.19097820800866,-.09361896280296,0],[-1,-.9021579584316141,-.8005762598234203,-.6964780623319391,-.5911906810998454,-.486050182576545,-.3823089430815083,-.28106046722897615,-.1831906535795894,-.08935809204418144,0],[-1,-.8917227442365535,-.781258746326964,-.6705130326902455,-.5612813129406509,-.4551067709033134,-.35319256652135966,-.2563741554088552,-.1651412821106526,-.0796919581982668,0],[-1,-.8843387974366064,-.7678744063886243,-.6529563724510552,-.5415870994657841,-.4352842206588936,-.33504449124791424,-.24138853420685147,-.15445285440944467,-.07409659641336663,0],[-1,-.8786709358426346,-.7577735191184886,-.6399546189952064,-.527284921869926,-.4211627631006314,-.3223479611761232,-.23107655627789858,-.1472057700818259,-.07035171210706326,0],[-1,-.8740862815291583,-.7497032990976209,-.6297119746181752,-.5161838335958787,-.41036238255751956,-.31277212146489963,-.2233976621705518,-.1418697367979619,-.06762117662323441,0],[-1,-.8702632331800649,-.7430366914122081,-.6213373075161548,-.5072025698095242,-.40171437727184167,-.30517930701410456,-.21736343968190863,-.137710238299109,-.06550774483471955,0],[-1,-.8670016295947213,-.7373984232432306,-.6143173985094293,-.49973884395492807,-.394584953527678,-.2989649949848695,-.21245647317021688,-.13434688362382652,-.0638072667348083,0],[-1,-.8641642839543857,-.732534623168535,-.6083127477059322,-.4934049257184696,-.3885773075899922,-.29376029055315767,-.2083678561173622,-.13155653399373268,-.062401588652553186,0]];let d=function(t){return Q.fromValue_noAlloc(t)},_=function(e,t,A){return Q.fromComponents(e,t,A)},P=function(t,A,a){return Q.fromComponents_noNormalize(t,A,a)};const we=function(t,A){const a=A+1,n=Math.ceil(Math.log10(Math.abs(t))),r=Math.round(t*Math.pow(10,a-n))*Math.pow(10,n-a);return parseFloat(r.toFixed(Math.max(a-n,0)))},Ft=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},Ga=function(e){if(!isFinite(e))return e;if(e<-50)return e===Math.trunc(e)?Number.NEGATIVE_INFINITY:0;let t=1;for(;e<10;)t=t*e,++e;e-=1;let A=.9189385332046727;A=A+(e+.5)*Math.log(e),A=A-e;const a=e*e;let n=e;return A=A+1/(12*n),n=n*a,A=A+1/(360*n),n=n*a,A=A+1/(1260*n),n=n*a,A=A+1/(1680*n),n=n*a,A=A+1/(1188*n),n=n*a,A=A+691/(360360*n),n=n*a,A=A+7/(1092*n),n=n*a,A=A+3617/(122400*n),Math.exp(A)/t},hA=.5671432904097838,AA=function(e,t=1e-10){let A,a;if(!Number.isFinite(e)||e===0)return e;if(e===1)return hA;e<10?A=0:A=Math.log(e)-Math.log(Math.log(e));for(let n=0;n<100;++n){if(a=(e*Math.exp(-A)+A*A)/(A+1),Math.abs(a-A).5?1:-1;if(Math.random()*20<1)return P(t,0,1);const A=Math.floor(Math.random()*(e+1));let a=A===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(a=Math.trunc(a));let n=Math.pow(10,a);return Math.random()>.9&&(n=Math.trunc(n)),_(t,A,n)}static affordGeometricSeries_core(e,t,A,a){const n=t.mul(A.pow(a));return u.floor(e.div(n).mul(A.sub(1)).add(1).log10().div(A.log10()))}static sumGeometricSeries_core(e,t,A,a){return t.mul(A.pow(a)).mul(u.sub(1,A.pow(e))).div(u.sub(1,A))}static affordArithmeticSeries_core(e,t,A,a){const r=t.add(a.mul(A)).sub(A.div(2)),s=r.pow(2);return r.neg().add(s.add(A.mul(e).mul(2)).sqrt()).div(A).floor()}static sumArithmeticSeries_core(e,t,A,a){const n=t.add(a.mul(A));return e.div(2).mul(n.mul(2).plus(e.sub(1).mul(A)))}static efficiencyOfPurchase_core(e,t,A){return e.div(t).add(e.div(A))}normalize(){if(this.sign===0||this.mag===0&&this.layer===0)return this.sign=0,this.mag=0,this.layer=0,this;if(this.layer===0&&this.mag<0&&(this.mag=-this.mag,this.sign=-this.sign),this.layer===0&&this.mag=Ja)return this.layer+=1,this.mag=t*Math.log10(e),this;for(;e0;)this.layer-=1,this.layer===0?this.mag=Math.pow(10,this.mag):(this.mag=t*Math.pow(10,e),e=Math.abs(this.mag),t=Math.sign(this.mag));return this.layer===0&&(this.mag<0?(this.mag=-this.mag,this.sign=-this.sign):this.mag===0&&(this.sign=0)),this}fromComponents(e,t,A){return this.sign=e,this.layer=t,this.mag=A,this.normalize(),this}fromComponents_noNormalize(e,t,A){return this.sign=e,this.layer=t,this.mag=A,this}fromMantissaExponent(e,t){return this.layer=1,this.sign=Math.sign(e),e=Math.abs(e),this.mag=t+Math.log10(e),this.normalize(),this}fromMantissaExponent_noNormalize(e,t){return this.fromMantissaExponent(e,t),this}fromDecimal(e){return this.sign=e.sign,this.layer=e.layer,this.mag=e.mag,this}fromNumber(e){return this.mag=Math.abs(e),this.sign=Math.sign(e),this.layer=0,this.normalize(),this}fromString(e){const t=e,A=u.fromStringCache.get(t);if(A!==void 0)return this.fromDecimal(A);e=e.replace(",","");const a=e.split("^^^");if(a.length===2){const N=parseFloat(a[0]),S=parseFloat(a[1]),U=a[1].split(";");let $=1;if(U.length===2&&($=parseFloat(U[1]),isFinite($)||($=1)),isFinite(N)&&isFinite(S)){const B=u.pentate(N,S,$);return this.sign=B.sign,this.layer=B.layer,this.mag=B.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const n=e.split("^^");if(n.length===2){const N=parseFloat(n[0]),S=parseFloat(n[1]),U=n[1].split(";");let $=1;if(U.length===2&&($=parseFloat(U[1]),isFinite($)||($=1)),isFinite(N)&&isFinite(S)){const B=u.tetrate(N,S,$);return this.sign=B.sign,this.layer=B.layer,this.mag=B.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const r=e.split("^");if(r.length===2){const N=parseFloat(r[0]),S=parseFloat(r[1]);if(isFinite(N)&&isFinite(S)){const U=u.pow(N,S);return this.sign=U.sign,this.layer=U.layer,this.mag=U.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}e=e.trim().toLowerCase();let s,i,c=e.split("pt");if(c.length===2){s=10,i=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let N=parseFloat(c[1]);if(isFinite(N)||(N=1),isFinite(s)&&isFinite(i)){const S=u.tetrate(s,i,N);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(c=e.split("p"),c.length===2){s=10,i=parseFloat(c[0]),c[1]=c[1].replace("(",""),c[1]=c[1].replace(")","");let N=parseFloat(c[1]);if(isFinite(N)||(N=1),isFinite(s)&&isFinite(i)){const S=u.tetrate(s,i,N);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}const m=e.split("e"),C=m.length-1;if(C===0){const N=parseFloat(e);if(isFinite(N))return this.fromNumber(N),u.fromStringCache.size>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else if(C===1){const N=parseFloat(e);if(isFinite(N)&&N!==0)return this.fromNumber(N),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}const h=e.split("e^");if(h.length===2){this.sign=1,h[0].charAt(0)=="-"&&(this.sign=-1);let N="";for(let S=0;S=43&&U<=57||U===101)N+=h[1].charAt(S);else return this.layer=parseFloat(N),this.mag=parseFloat(h[1].substr(S+1)),this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}}if(C<1)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;const E=parseFloat(m[0]);if(E===0)return this.sign=0,this.layer=0,this.mag=0,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this;let b=parseFloat(m[m.length-1]);if(C>=2){const N=parseFloat(m[m.length-2]);isFinite(N)&&(b*=Math.sign(N),b+=Ft(N))}if(!isFinite(E))this.sign=m[0]==="-"?-1:1,this.layer=C,this.mag=b;else if(C===1)this.sign=Math.sign(E),this.layer=1,this.mag=b+Math.log10(Math.abs(E));else if(this.sign=Math.sign(E),this.layer=C,C===2){const N=u.mul(_(1,2,b),d(E));return this.sign=N.sign,this.layer=N.layer,this.mag=N.mag,u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}else this.mag=b;return this.normalize(),u.fromStringCache.maxSize>=1&&u.fromStringCache.set(t,u.fromDecimal(this)),this}fromValue(e){return e instanceof u?this.fromDecimal(e):typeof e=="number"?this.fromNumber(e):typeof e=="string"?this.fromString(e):(this.sign=0,this.layer=0,this.mag=0,this)}toNumber(){return Number.isFinite(this.layer)?this.layer===0?this.sign*this.mag:this.layer===1?this.sign*Math.pow(10,this.mag):this.mag>0?this.sign>0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:0:Number.NaN}mantissaWithDecimalPlaces(e){return isNaN(this.m)?Number.NaN:this.m===0?0:we(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:we(this.mag,e)}toString(){return isNaN(this.layer)||isNaN(this.sign)||isNaN(this.mag)?"NaN":this.mag===Number.POSITIVE_INFINITY||this.layer===Number.POSITIVE_INFINITY?this.sign===1?"Infinity":"-Infinity":this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toString():this.m+"e"+this.e:this.layer===1?this.m+"e"+this.e:this.layer<=tA?(this.sign===-1?"-":"")+"e".repeat(this.layer)+this.mag:(this.sign===-1?"-":"")+"(e^"+this.layer+")"+this.mag}toExponential(e){return this.layer===0?(this.sign*this.mag).toExponential(e):this.toStringWithDecimalPlaces(e)}toFixed(e){return this.layer===0?(this.sign*this.mag).toFixed(e):this.toStringWithDecimalPlaces(e)}toPrecision(e){return this.e<=-7?this.toExponential(e-1):e>this.e?this.toFixed(e-this.exponent-1):this.toExponential(e-1)}valueOf(){return this.toString()}toJSON(){return this.toString()}toStringWithDecimalPlaces(e){return this.layer===0?this.mag<1e21&&this.mag>1e-7||this.mag===0?(this.sign*this.mag).toFixed(e):we(this.m,e)+"e"+we(this.e,e):this.layer===1?we(this.m,e)+"e"+we(this.e,e):this.layer<=tA?(this.sign===-1?"-":"")+"e".repeat(this.layer)+we(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+we(this.mag,e)}abs(){return P(this.sign===0?0:1,this.layer,this.mag)}neg(){return P(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?u.dZero:this.layer===0?_(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?u.dZero:this.layer===0?_(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?u.dZero:this.layer===0?_(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?u.dZero:this.layer===0?_(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=d(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer)||this.sign===0)return t;if(t.sign===0)return this;if(this.sign===-t.sign&&this.layer===t.layer&&this.mag===t.mag)return P(0,0,0);let A,a;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(u.cmpabs(this,t)>0?(A=this,a=t):(A=t,a=this),A.layer===0&&a.layer===0)return u.fromNumber(A.sign*A.mag+a.sign*a.mag);const n=A.layer*Math.sign(A.mag),r=a.layer*Math.sign(a.mag);if(n-r>=2)return A;if(n===0&&r===-1){if(Math.abs(a.mag-Math.log10(A.mag))>Jt)return A;{const s=Math.pow(10,Math.log10(A.mag)-a.mag),i=a.sign+A.sign*s;return _(Math.sign(i),1,a.mag+Math.log10(Math.abs(i)))}}if(n===1&&r===0){if(Math.abs(A.mag-Math.log10(a.mag))>Jt)return A;{const s=Math.pow(10,A.mag-Math.log10(a.mag)),i=a.sign+A.sign*s;return _(Math.sign(i),1,Math.log10(a.mag)+Math.log10(Math.abs(i)))}}if(Math.abs(A.mag-a.mag)>Jt)return A;{const s=Math.pow(10,A.mag-a.mag),i=a.sign+A.sign*s;return _(Math.sign(i),1,a.mag+Math.log10(Math.abs(i)))}}plus(e){return this.add(e)}sub(e){return this.add(d(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=d(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return P(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return P(this.sign*t.sign,0,1);let A,a;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(A=this,a=t):(A=t,a=this),A.layer===0&&a.layer===0)return u.fromNumber(A.sign*a.sign*A.mag*a.mag);if(A.layer>=3||A.layer-a.layer>=2)return _(A.sign*a.sign,A.layer,A.mag);if(A.layer===1&&a.layer===0)return _(A.sign*a.sign,1,A.mag+Math.log10(a.mag));if(A.layer===1&&a.layer===1)return _(A.sign*a.sign,1,A.mag+a.mag);if(A.layer===2&&a.layer===1){const n=_(Math.sign(A.mag),A.layer-1,Math.abs(A.mag)).add(_(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)));return _(A.sign*a.sign,n.layer+1,n.sign*n.mag)}if(A.layer===2&&a.layer===2){const n=_(Math.sign(A.mag),A.layer-1,Math.abs(A.mag)).add(_(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)));return _(A.sign*a.sign,n.layer+1,n.sign*n.mag)}throw Error("Bad arguments to mul: "+this+", "+e)}multiply(e){return this.mul(e)}times(e){return this.mul(e)}div(e){const t=d(e);return this.mul(t.recip())}divide(e){return this.div(e)}divideBy(e){return this.div(e)}dividedBy(e){return this.div(e)}recip(){return this.mag===0?u.dNaN:this.layer===0?_(this.sign,0,1/this.mag):_(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=d(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,a=t.mag>0?t.layer:-t.layer;return A>a?1:At.mag?1:this.mag0?t:this}clamp(e,t){return this.max(e).min(t)}clampMin(e){return this.max(e)}clampMax(e){return this.min(e)}cmp_tolerance(e,t){const A=d(e);return this.eq_tolerance(A,t)?0:this.cmp(A)}compare_tolerance(e,t){return this.cmp_tolerance(e,t)}eq_tolerance(e,t){const A=d(e);if(t==null&&(t=1e-7),this.sign!==A.sign||Math.abs(this.layer-A.layer)>1)return!1;let a=this.mag,n=A.mag;return this.layer>A.layer&&(n=Ft(n)),this.layer0?_(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):_(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?u.dNaN:this.layer>0?_(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):_(this.sign,0,Math.log10(this.mag))}log(e){return e=d(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?u.dNaN:this.layer===0&&e.layer===0?_(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):u.div(this.log10(),e.log10())}log2(){return this.sign<=0?u.dNaN:this.layer===0?_(this.sign,0,Math.log2(this.mag)):this.layer===1?_(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?_(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):_(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?u.dNaN:this.layer===0?_(this.sign,0,Math.log(this.mag)):this.layer===1?_(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?_(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):_(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=d(e),A=this,a=t;if(A.sign===0)return a.eq(0)?P(1,0,1):A;if(A.sign===1&&A.layer===0&&A.mag===1)return A;if(a.sign===0)return P(1,0,1);if(a.sign===1&&a.layer===0&&a.mag===1)return A;const n=A.absLog10().mul(a).pow10();return this.sign===-1?Math.abs(a.toNumber()%2)%2===1?n.neg():Math.abs(a.toNumber()%2)%2===0?n:u.dNaN:n}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return u.dNaN;let e=this;if(e.layer===0){const t=Math.pow(10,e.sign*e.mag);if(Number.isFinite(t)&&Math.abs(t)>=.1)return _(1,0,t);if(e.sign===0)return u.dOne;e=P(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?_(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?_(-e.sign,e.layer+1,-e.mag):u.dOne}pow_base(e){return d(e).pow(this)}root(e){const t=d(e);return this.pow(t.recip())}factorial(){return this.mag<0?this.add(1).gamma():this.layer===0?this.add(1).gamma():this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(P(1,0,24)))return u.fromNumber(Ga(this.sign*this.mag));const e=this.mag-1;let t=.9189385332046727;t=t+(e+.5)*Math.log(e),t=t-e;const A=e*e;let a=e,n=12*a,r=1/n,s=t+r;if(s===t||(t=s,a=a*A,n=360*a,r=1/n,s=t-r,s===t))return u.exp(t);t=s,a=a*A,n=1260*a;let i=1/n;return t=t+i,a=a*A,n=1680*a,i=1/n,t=t-i,u.exp(t)}else return this.layer===1?u.exp(u.mul(this,u.ln(this).sub(1))):u.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?u.dOne:this.layer===0&&this.mag<=709.7?u.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?_(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?_(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):_(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return u.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return _(1,2,Math.log10(this.mag)-.3010299956639812);{const e=u.div(P(this.sign,this.layer-1,this.mag),P(1,0,2));return e.layer+=1,e.normalize(),e}}cube(){return this.pow(3)}cbrt(){return this.pow(1/3)}tetrate(e=2,t=P(1,0,1)){if(e===1)return u.pow(this,t);if(e===0)return new u(t);if(this.eq(u.dOne))return u.dOne;if(this.eq(-1))return u.pow(this,t);if(e===Number.POSITIVE_INFINITY){const n=this.toNumber();if(n<=1.444667861009766&&n>=.06598803584531254){if(n>1.444667861009099)return u.fromNumber(Math.E);const r=u.ln(this).neg();return r.lambertw().div(r)}else return n>1.444667861009766?u.fromNumber(Number.POSITIVE_INFINITY):u.dNaN}if(this.eq(u.dZero)){let n=Math.abs((e+1)%2);return n>1&&(n=2-n),u.fromNumber(n)}if(e<0)return u.iteratedlog(t,this,-e);t=d(t);const A=e;e=Math.trunc(e);const a=A-e;if(this.gt(u.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let n=0;n3)return P(t.sign,t.layer+(e-n-1),t.mag);if(n>1e4)return t}return t}iteratedexp(e=2,t=P(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return u.tetrate(e,-t,this);e=d(e);let A=u.fromDecimal(this);const a=t;t=Math.trunc(t);const n=a-t;if(A.layer-e.layer>3){const r=Math.min(t,A.layer-e.layer-3);t-=r,A.layer-=r}for(let r=0;r1e4)return A}return n>0&&n<1&&(e.eq(10)?A=A.layeradd10(-n):A=A.layeradd(-n,e)),A}slog(e=10,t=100){let A=.001,a=!1,n=!1,r=this.slog_internal(e).toNumber();for(let s=1;s1&&n!=c&&(a=!0),n=c,a?A/=2:A*=2,A=Math.abs(A)*(c?-1:1),r+=A,A===0)break}return u.fromNumber(r)}slog_internal(e=10){if(e=d(e),e.lte(u.dZero)||e.eq(u.dOne))return u.dNaN;if(e.lt(u.dOne))return this.eq(u.dOne)?u.dZero:this.eq(u.dZero)?u.dNegOne:u.dNaN;if(this.mag<0||this.eq(u.dZero))return u.dNegOne;let t=0,A=u.fromDecimal(this);if(A.layer-e.layer>3){const a=A.layer-e.layer-3;t+=a,A.layer-=a}for(let a=0;a<100;++a)if(A.lt(u.dZero))A=u.pow(e,A),t-=1;else{if(A.lte(u.dOne))return u.fromNumber(t+u.slog_critical(e.toNumber(),A.toNumber()));t+=1,A=u.log(A,e)}return u.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:u.critical_section(e,t,xa)}static tetrate_critical(e,t){return u.critical_section(e,t,za)}static critical_section(e,t,A){t*=10,t<0&&(t=0),t>10&&(t=10),e<2&&(e=2),e>10&&(e=10);let a=0,n=0;for(let s=0;se){const i=(e-Oe[s])/(Oe[s+1]-Oe[s]);a=A[s][Math.floor(t)]*(1-i)+A[s+1][Math.floor(t)]*i,n=A[s][Math.ceil(t)]*(1-i)+A[s+1][Math.ceil(t)]*i;break}const r=t-Math.floor(t);return a<=0||n<=0?a*(1-r)+n*r:Math.pow(e,Math.log(a)/Math.log(e)*(1-r)+Math.log(n)/Math.log(e)*r)}layeradd10(e){e=u.fromValue_noAlloc(e).toNumber();const t=u.fromDecimal(this);if(e>=1){t.mag<0&&t.layer>0?(t.sign=0,t.mag=0,t.layer=0):t.sign===-1&&t.layer==0&&(t.sign=1,t.mag=-t.mag);const A=Math.trunc(e);e-=A,t.layer+=A}if(e<=-1){const A=Math.trunc(e);if(e-=A,t.layer+=A,t.layer<0)for(let a=0;a<100;++a){if(t.layer++,t.mag=Math.log10(t.mag),!isFinite(t.mag))return t.sign===0&&(t.sign=1),t.layer<0&&(t.layer=0),t.normalize();if(t.layer>=0)break}}for(;t.layer<0;)t.layer++,t.mag=Math.log10(t.mag);return t.sign===0&&(t.sign=1,t.mag===0&&t.layer>=1&&(t.layer-=1,t.mag=1)),t.normalize(),e!==0?t.layeradd(e,10):t}layeradd(e,t){const a=this.slog(t).toNumber()+e;return a>=0?u.tetrate(t,a):Number.isFinite(a)?a>=-1?u.log(u.tetrate(t,a+1),t):u.log(u.log(u.tetrate(t,a+2),t),t):u.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return u.fromNumber(AA(this.toNumber()));if(this.layer===0)return u.fromNumber(AA(this.sign*this.mag));if(this.layer===1)return aA(this);if(this.layer===2)return aA(this);if(this.layer>=3)return P(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return P(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=P(1,0,1)){t=d(t);const A=e;e=Math.trunc(e);const a=A-e;a!==0&&(t.eq(u.dOne)?(++e,t=u.fromNumber(a)):this.eq(10)?t=t.layeradd10(a):t=t.layeradd(a,this));for(let n=0;n10)return t}return t}sin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.sin(this.sign*this.mag)):P(0,0,0)}cos(){return this.mag<0?u.dOne:this.layer===0?u.fromNumber(Math.cos(this.sign*this.mag)):P(0,0,0)}tan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.tan(this.sign*this.mag)):P(0,0,0)}asin(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.asin(this.sign*this.mag)):P(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?u.fromNumber(Math.acos(this.toNumber())):this.layer===0?u.fromNumber(Math.acos(this.sign*this.mag)):P(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?u.fromNumber(Math.atan(this.sign*this.mag)):u.fromNumber(Math.atan(this.sign*(1/0)))}sinh(){return this.exp().sub(this.negate().exp()).div(2)}cosh(){return this.exp().add(this.negate().exp()).div(2)}tanh(){return this.sinh().div(this.cosh())}asinh(){return u.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return u.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?P(Number.NaN,Number.NaN,Number.NaN):u.ln(this.add(1).div(u.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(u.pow(10,e))}egg(){return this.add(9)}lessThanOrEqualTo(e){return this.cmp(e)<1}lessThan(e){return this.cmp(e)<0}greaterThanOrEqualTo(e){return this.cmp(e)>-1}greaterThan(e){return this.cmp(e)>0}};let Q=u;Q.fromStringCache=new Ma(Ra);Q.dZero=P(0,0,0);Q.dOne=P(1,0,1);Q.dNegOne=P(-1,0,1);Q.dTwo=P(1,0,2);Q.dTen=P(1,0,10);Q.dNaN=P(Number.NaN,Number.NaN,Number.NaN);Q.dInf=P(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);Q.dNegInf=P(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);Q.dNumberMax=_(1,0,Number.MAX_VALUE);Q.dNumberMin=_(1,0,Number.MIN_VALUE);d=Q.fromValue_noAlloc;_=Q.fromComponents;P=Q.fromComponents_noNormalize;Q.fromMantissaExponent;Q.fromMantissaExponent_noNormalize;const Ka=new Q(1);function ot(e,t,A=!0){let a=Q.log10(e).floor(),n=Q.div(e,Q.pow(10,a));n.toStringWithDecimalPlaces(t)==="10"&&(n=Ka,a=a.add(1));const r=a.gte(1e9)?ue(a,Math.max(Math.max(t,3),x.defaultDecimalsShown)):a.gte(1e4)?It(a,0):a.toStringWithDecimalPlaces(0);return A?n.toStringWithDecimalPlaces(t)+"e"+r:"e"+r}function It(e,t){if(e==null)return"NaN";if(e=new Q(e),e.mag<.001)return 0 .toFixed(t);const a=e.toStringWithDecimalPlaces(t).split(".");return a[0]=a[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),a.length==1?a[0]:a[0]+"."+a[1]}function pA(e,t){return e==null?"NaN":(e=new Q(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),x.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const La=new Q("eeee1000"),Xa=new Q("e100000"),nA=new Q("e1000"),CA=new Q(1e9),Ya=new Q(1e6),Wa=new Q(1e3),ja=new Q(.98),Ha=new Q(.001),EA=new Q(0);function ue(e,t,A){if(t==null&&(t=x.defaultDecimalsShown),A=A!=null?A:x.defaultShowSmall,e=new Q(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+ue(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(La)){const a=e.slog();return a.gte(Ya)?"F"+ue(a.floor()):Q.pow(10,a.sub(a.floor())).toStringWithDecimalPlaces(3)+"F"+It(a.floor(),0)}else{if(e.gte(Xa))return ot(e,0,!1);if(e.gte(nA))return ot(e,0);if(e.gte(CA))return ot(e,t);if(e.gte(Wa))return It(e,0);if(e.gte(Ha)||!A)return pA(e,t);if(e.eq(EA))return 0 .toFixed(t)}return e=yA(e),e.lt(nA)?ot(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):ue(e,t)+"\u207B\xB9"}function oe(e){return e=new Q(e),e.sign<0?"-"+oe(e.neg()):e.gte(CA)||e.lte(ja)&&!e.eq(EA)?ue(e):ue(e,0)}function bA(e){return Q.lt(e,0)?"-"+bA(Q.neg(e)):Q.gt(e,2**51)?ue(Q.div(e,31536e3))+"y":(e=new Q(e).toNumber(),e<60?ue(e)+"s":e<3600?oe(Math.floor(e/60))+"m "+ue(e%60)+"s":e<86400?oe(Math.floor(e/3600))+"h "+oe(Math.floor(e/60)%60)+"m "+oe(e%60)+"s":e<31536e3?oe(Math.floor(e/84600)%365)+"d "+oe(Math.floor(e/3600)%24)+"h "+oe(Math.floor(e/60)%60)+"m":oe(Math.floor(e/31536e3))+"y "+oe(Math.floor(e/84600)%365)+"d "+oe(Math.floor(e/3600)%24)+"h")}function Za(e,t,A){e=new Q(e);let a=e.toStringWithDecimalPlaces(t);return new Q(a).gte(A)&&(a=Q.sub(A,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),a}function $a(e,t){return ue(e,t,!0)}function yA(e){let t=Q.log10(e).ceil();const A=Q.div(e,Q.pow(10,t));return t=t.neg(),e=new Q(10).pow(t).times(A),e}var en=Object.freeze(Object.defineProperty({__proto__:null,default:Q,exponentialFormat:ot,commaFormat:It,regularFormat:pA,format:ue,formatWhole:oe,formatTime:bA,toPlaces:Za,formatSmall:$a,invertOOM:yA},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:tn,commaFormat:An,regularFormat:an,format:BA,formatWhole:qt,formatTime:Lt,toPlaces:nn,formatSmall:rn,invertOOM:sn}=en;window.Decimal=Q;window.exponentialFormat=tn;window.commaFormat=An;window.regularFormat=an;window.format=BA;window.formatWhole=qt;window.formatTime=Lt;window.toPlaces=nn;window.formatSmall=rn;window.invertOOM=sn;function rA(e){return typeof e=="function"}var Z=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(Z||{});const Nt=Symbol("DoNotCache");function X(e,t){const A=e[t];rA(A)&&A.length===0&&!A[Nt]?e[t]=F(A.bind(e)):rA(A)&&(e[t]=A.bind(e),e[t][Nt]=!0)}const ct=Symbol("Component"),_t=Symbol("GatherProps");let on=0;function Xt(e="feature-"){return e+on++}var gt=(e=>(e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.None=2]="None",e))(gt||{});function wt(e){const t=l(e);return t!==2&&t!==!1}function QA(e){return l(e)===1}function L(e){return e[Nt]=!0,e}function Ge(e,t,A){e[t]===void 0&&A!=null&&(e[t]=A)}const te=mA();"fonts"in document&&(document.fonts.onloadingdone=()=>te.emit("fontsLoaded"));var ln=Object.freeze(Object.defineProperty({__proto__:null,globalBus:te},Symbol.toStringTag,{value:"Module"}));const Re=Symbol("ProxyState");function Tt(e,t={}){const A=t;let a=!1;function n(){return a||(Object.assign(A,e(A)),a=!0),A}return new Proxy(A,{get(r,s){if(s===Re)return n();const i=n()[s];return i!=null&&typeof i=="object"&&Dt in i?i[Dt]:i},set(r,s,i){return n()[s]=i,!0},has(r,s){return s===Re?!0:Reflect.has(n(),s)},ownKeys(){return Reflect.ownKeys(n())},getOwnPropertyDescriptor(r,s){return a||(Object.assign(A,e(A)),a=!0),Object.getOwnPropertyDescriptor(r,s)}})}const un=vt({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var D=window.player=un;function IA(e){return JSON.stringify(e,(t,A)=>l(A))}var ee=window.state=Gt({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const je=Symbol("PersistentState"),nt=Symbol("DefaultValue"),St=Symbol("StackTrace"),Rt=Symbol("Deleted"),Dt=Symbol("NonPersistent"),ze=Symbol("SaveDataPath");function cn(){var e,t;return(t=(e=new Error().stack)==null?void 0:e.split(` `).slice(3,5).map(A=>A.trim()).join(` -`))!=null?t:""}function sA(e,t){var A;if(Q.isNaN(t))throw ee.hasNaN||(O.autosave=!1,ee.hasNaN=!0,ee.NaNPath=e[ze],ee.NaNPersistent=e),console.error("Attempted to save NaN value to",(A=e[ze])==null?void 0:A.join("."),e),"Attempted to set NaN value. See above for details";e[je].value=t}function NA(e,t=!0){const A=ce(e)?e:I(e);ce(e)&&(e=e.value);const a=D({get(){return A.value},set(r){t?sA(n,r):n[je].value=r}});a[nt]=e;const n={get value(){return A.value},set value(r){t?sA(n,r):n[je].value=r},__v_isRef:!0,[je]:A,[nt]:e,[St]:cn(),[Rt]:!1,[Ot]:a,[ze]:void 0};return ve.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",n,` +`))!=null?t:""}function sA(e,t){var A;if(Q.isNaN(t))throw ee.hasNaN||(D.autosave=!1,ee.hasNaN=!0,ee.NaNPath=e[ze],ee.NaNPersistent=e),console.error("Attempted to save NaN value to",(A=e[ze])==null?void 0:A.join("."),e),"Attempted to set NaN value. See above for details";e[je].value=t}function NA(e,t=!0){const A=ce(e)?e:I(e);ce(e)&&(e=e.value);const a=F({get(){return A.value},set(r){t?sA(n,r):n[je].value=r}});a[nt]=e;const n={get value(){return A.value},set value(r){t?sA(n,r):n[je].value=r},__v_isRef:!0,[je]:A,[nt]:e,[St]:cn(),[Rt]:!1,[Dt]:a,[ze]:void 0};return ve.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",n,` Created at: `+n[St]):He[ve[ve.length-1]].add(n),n}function gn(e){return e!=null&&typeof e=="object"&&je in e}te.on("addLayer",(e,t)=>{const A=[],a=(n,r=[])=>{let s=!1;return Object.keys(n).forEach(i=>{let c=n[i];if(c!=null&&typeof c=="object")if(Re in c&&(c=c[Re]),gn(c)){if(s=!0,c[Rt]){console.warn("Deleted persistent ref present in returned object. Ignoring...",c,` Created at: -`+c[St]);return}He[e.id].delete(c);const m=[e.id,...r,i];c[ze]!=null&&JSON.stringify(m)!==JSON.stringify(c[ze])&&console.error(`Persistent ref is being saved to \`${m.join(".")}\` when it's already present at \`${c[ze].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,c),c[ze]=m;const C=r.reduce((E,y)=>(y in E||(E[y]={}),E[y]),t),h=C[i];C[i]=c[je],xA(C)?h!=null?C[i]=h:C[i]=c[nt]:h!=null?C[i].value=h:C[i].value=c[nt]}else!(c instanceof Q)&&!ce(c)&&!A.includes(c)&&(typeof c.type=="symbol"&&A.push(c),a(c,[...r,i])&&(qt(c)&&!qt(n)?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.",Re in n?n[Re]:n,i):s=!0))}),s};a(e[Re]),He[e.id].forEach(n=>{n[Rt]||console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,n,` +`+c[St]);return}He[e.id].delete(c);const m=[e.id,...r,i];c[ze]!=null&&JSON.stringify(m)!==JSON.stringify(c[ze])&&console.error(`Persistent ref is being saved to \`${m.join(".")}\` when it's already present at \`${c[ze].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,c),c[ze]=m;const C=r.reduce((E,b)=>(b in E||(E[b]={}),E[b]),t),h=C[i];C[i]=c[je],xA(C)?h!=null?C[i]=h:C[i]=c[nt]:h!=null?C[i].value=h:C[i].value=c[nt]}else!(c instanceof Q)&&!ce(c)&&!A.includes(c)&&(typeof c.type=="symbol"&&A.push(c),a(c,[...r,i])&&(Vt(c)&&!Vt(n)?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.",Re in n?n[Re]:n,i):s=!0))}),s};a(e[Re]),He[e.id].forEach(n=>{n[Rt]||console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,n,` Created at: -`+n[St])}),He[e.id].clear()});const Yt=Symbol("RegisterNode"),Wt=Symbol("UnregisterNode"),wA=Symbol("Nodes"),SA=Symbol("Bounds"),Ae=Gt({});window.layers=Ae;const He={},ve=[];function kA(e,t){return _t(()=>{const A={},a=A.emitter=mA();if(A.on=a.on.bind(a),A.emit=a.emit.bind(a),A.nodes=I({}),A.id=e,ve.push(e),He[e]=new Set,A.minimized=NA(!1,!1),Object.assign(A,t.call(A)),ve[ve.length-1]==null||ve[ve.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen +`+n[St])}),He[e.id].clear()});const Yt=Symbol("RegisterNode"),Wt=Symbol("UnregisterNode"),wA=Symbol("Nodes"),SA=Symbol("Bounds"),Ae=Gt({});window.layers=Ae;const He={},ve=[];function UA(e,t){return Tt(()=>{const A={},a=A.emitter=mA();if(A.on=a.on.bind(a),A.emit=a.emit.bind(a),A.nodes=I({}),A.id=e,ve.push(e),He[e]=new Set,A.minimized=NA(!1,!1),Object.assign(A,t.call(A)),ve[ve.length-1]==null||ve[ve.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen Stack: ${ve} -Trying to pop ${A.id}`;ve.pop(),X(A,"color"),X(A,"display"),X(A,"classes"),X(A,"style"),X(A,"name"),Ge(A,"name",A.id),X(A,"minWidth"),Ge(A,"minWidth",600),X(A,"minimizable"),Ge(A,"minimizable",!0),X(A,"minimizedDisplay");const n=A.style;return A.style=D(()=>{var s,i;let r=l(A.minWidth);return(typeof r=="number"||!Number.isNaN(parseInt(r)))&&(r=r+"px"),[(s=l(n))!=null?s:"",(i=A.minimized)!=null&&i.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:r,flexBasis:r,margin:""}]}),A})}function UA(e,t){if(console.info("Adding layer",e.id),Ae[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,Ae[e.id]);return}Ge(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),Ae[e.id]=e,te.emit("addLayer",e,t.layers[e.id])}function dn(e){return Ae[e]}function TA(e){console.info("Removing layer",e.id),te.emit("removeLayer",e),Ae[e.id]=void 0}function mn(e){TA(e),UA(e,O)}function fn(e){const t=I(!1);return{openModal:()=>t.value=!0,modal:L(()=>o(De,{modelValue:t.value,"onUpdate:modelValue":A=>t.value=A},{header:()=>o("h2",null,[l(e.name)]),body:l(e.display)}))}}te.on("update",function(t){Object.values(Ae).forEach(A=>{A==null||A.emit("preUpdate",t)}),Object.values(Ae).forEach(A=>{A==null||A.emit("update",t)}),Object.values(Ae).forEach(A=>{A==null||A.emit("postUpdate",t)})});var vn=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Yt,UnregisterNodeInjectionKey:Wt,NodesInjectionKey:wA,BoundsInjectionKey:SA,layers:Ae,persistentRefs:He,addingLayers:ve,createLayer:kA,addLayer:UA,getLayer:dn,removeLayer:TA,reloadLayer:mn,setupLayerModal:fn},Symbol.toStringTag,{value:"Module"}));var K=(e,t)=>{const A=e.__vccOpts||e;for(const[a,n]of t)A[a]=n;return A};const hn=z({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var C;const A=I({}),a=new ResizeObserver(i),n=I(null);kt(()=>{const h=n.value;h!=null&&a.observe(h)});let r=!0,s=I((C=n.value)==null?void 0:C.getBoundingClientRect());function i(){r&&(r=!1,_e(()=>{var h;s.value=(h=n.value)==null?void 0:h.getBoundingClientRect(),Object.values(A.value).filter(E=>E).forEach(E=>E.rect=E.element.getBoundingClientRect()),t("updateNodes",A.value),r=!0}))}te.on("fontsLoaded",i);const c={attributes:!1,childList:!0,subtree:!1};Ct(Yt,(h,E)=>{const y=new MutationObserver(()=>m(h));y.observe(E,c),A.value[h]={element:E,observer:y,rect:E.getBoundingClientRect()},i()}),Ct(Wt,h=>{var E;(E=A.value[h])==null||E.observer.disconnect(),A.value[h]=void 0,i()}),Ct(wA,A),Ct(SA,s);function m(h){const E=A.value[h];E!=null&&(E.rect=E.element.getBoundingClientRect(),t("updateNodes",A.value))}return(h,E)=>(f(),b(Y,null,[ye(h.$slots,"default",{},void 0,!0),g("div",{ref_key:"resizeListener",ref:n,class:"resize-listener"},null,512)],64))}});var _A=K(hn,[["__scopeId","data-v-2b1dc1bc"]]);const pn=["onPointerdown"],Cn={class:"modal-wrapper"},En={class:"modal-container"},yn={class:"modal-header"},bn=p(" default header "),Bn={class:"modal-body"},Qn=p(" default body "),In={class:"modal-footer"},Nn=g("div",{class:"modal-default-flex-grow"},null,-1),De=z({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:A}){const n=Qe(e),r=D(()=>l(n.modelValue)||i.value);function s(){A("update:modelValue",!1)}const i=I(!1),c=I(null),m=D(()=>{var C,h;return(h=(C=c.value)==null?void 0:C.nodes)!=null?h:null});return t({isOpen:r,nodes:m}),(C,h)=>(f(),R(KA,{to:"#modal-root"},[o(gA,{name:"modal",onBeforeEnter:h[0]||(h[0]=E=>i.value=!0),onAfterLeave:h[1]||(h[1]=E=>i.value=!1)},{default:_(()=>[Kt(g("div",at({class:"modal-mask",onPointerdown:ut(s,["self"])},C.$attrs),[g("div",Cn,[g("div",En,[g("div",yn,[ye(C.$slots,"header",{shown:l(r)},()=>[bn])]),g("div",Bn,[o(_A,{ref_key:"contextRef",ref:c},{default:_(()=>[ye(C.$slots,"body",{shown:l(r)},()=>[Qn])]),_:3},512)]),g("div",In,[ye(C.$slots,"footer",{shown:l(r)},()=>[g("div",{class:"modal-default-footer"},[Nn,g("button",{class:"button modal-default-button",onClick:s}," Close ")])])])])])],16,pn),[[GA,e.modelValue]])]),_:3})]))}});const Ve={variables:{"--foreground":"#dfdfdf","--background":"#0f0f0f","--feature-foreground":"#0f0f0f","--tooltip-background":"rgba(0, 0, 0, 0.75)","--raised-background":"#0f0f0f","--points":"#ffffff","--locked":"#bf8f8f","--highlighted":"#333","--bought":"#77bf5f","--danger":"rgb(220, 53, 69)","--link":"#02f2f2","--outline":"#dfdfdf","--accent1":"#627a82","--accent2":"#658262","--accent3":"#7c6282","--border-radius":"15px","--modal-border":"solid 2px var(--color)","--feature-margin":"0px"},floatingTabs:!0,mergeAdjacent:!0,showPin:!0};var jt=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(jt||{}),ht={classic:Ve,paper:{...Ve,variables:{...Ve.variables,"--background":"#2a323d","--feature-foreground":"#000","--raised-background":"#333c4a","--locked":"#3a3e45","--bought":"#5C8A58","--outline":"#333c4a","--border-radius":"4px","--modal-border":"","--feature-margin":"5px"},floatingTabs:!1},nordic:{...Ve,variables:{...Ve.variables,"--foreground":"#45283c","--background":"#bbc3e8","--feature-foreground":"#fff7f6","--raised-background":"#fff7f6","--points":"#45283c","--locked":"#fff7f6","--highlighted":"#434c5e","--bought":"#fff7f6","--danger":"#D08770","--link":"#8423a9","--outline":"#551842","--accent1":"#dc7d71","--accent2":"#8423a9","--accent3":"#47f2ca","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...Ve,variables:{...Ve.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};function PA(e={}){return Object.assign({id:`${x.id}-0`,name:"Default Save",tabs:x.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:x.id,modVersion:x.versionNumber,layers:{}},e)}function le(e){const t=Te.compressToUTF16(IA(e!=null?e:O));return localStorage.setItem((e!=null?e:O).id,t),t}async function wn(){Un();try{let e=localStorage.getItem(P.active);if(e==null){await xe(Ze());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Te.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==x.id){await xe(Ze());return}t.id=P.active,await xe(t)}catch(e){console.error(`Failed to load save. Falling back to new save. -`,e),await xe(Ze())}}function Ze(){const e=Bt(),t=PA({id:e});return le(t),P.saves.push(e),t}function Bt(){let e,t=0;do e=`${x.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const Sn=I(!1);async function xe(e){console.info("Loading save",e),Sn.value=!0;const{layers:t,removeLayer:A,addLayer:a}=await Qt(()=>Promise.resolve().then(function(){return vn}),void 0),{fixOldSave:n,getInitialLayers:r}=await Qt(()=>Promise.resolve().then(function(){return Ai}),void 0);for(const s in t){const i=t[s];i&&A(i)}r(e).forEach(s=>a(s,e)),e=PA(e),e.offlineProd&&e.time!=null&&e.time&&e.devSpeed!==0&&(e.offlineTime==null&&(e.offlineTime=0),e.offlineTime+=Math.min(e.offlineTime+(Date.now()-e.time)/1e3,x.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==x.versionNumber&&(n(e.modVersion,e),e.modVersion=x.versionNumber),Object.assign(O,e),P.active=O.id,te.emit("onLoad")}setInterval(()=>{O.autosave&&le()},1e3);window.onbeforeunload=()=>{O.autosave&&le()};window.save=le;const kn=window.hardReset=async()=>{await xe(Ze())};window.deleteLowerSaves=()=>{const e=Object.values(P.saves).indexOf(O.id)+1;Object.values(P.saves).slice(e).forEach(t=>localStorage.removeItem(t)),P.saves=P.saves.slice(0,e)};const dt=vt({active:"",saves:[],showTPS:!0,theme:jt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1,showTutorial:!0,privateRoomName:"",privateRoomPassword:""});be(dt,e=>{const t=Te.compressToUTF16(JSON.stringify(e));localStorage.setItem(x.id,t)},{deep:!0});var P=window.settings=dt;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:jt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};te.emit("loadSettings",e),Object.assign(dt,e),kn()};function Un(){try{let e=localStorage.getItem(x.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Te.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(dt,t)}te.emit("loadSettings",dt)}catch{}}const MA=vt([]);function Tn(e){MA.push(e)}const _n=vt([]),Pn=vt([]),Mn={class:"table"},iA=z({__name:"Column",setup(e){const t=D(()=>ht[P.theme].mergeAdjacent);return(A,a)=>(f(),b("div",Mn,[g("div",{class:H(["col",{mergeAdjacent:l(t)}])},[ye(A.$slots,"default")],2)]))}}),Jn={class:"table"},Se=z({__name:"Row",setup(e){const t=D(()=>ht[P.theme].mergeAdjacent);return(A,a)=>(f(),b("div",Jn,[g("div",{class:H(["row",{mergeAdjacent:l(t)}])},[ye(A.$slots,"default")],2)]))}});function ge(e,t="span"){return typeof e=="function"?z({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),z({template:e})):z({render:()=>({})}):e}function $e(e){if(lt(e))return typeof e=="function"?e():ge(e);const t=e[ct];return o(t,e[Tt](),null)}function JA(e){if(lt(e))return typeof e=="function"?e():typeof e=="string"?o(Y,null,[e]):o(e,null,null);const t=e[ct];return o(t,e[Tt](),null)}function lt(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[Nt]===!0}function DA(e,t="div"){const A=Ce();return Ut(()=>{A.value=ge(pe(e),t)}),A}function Pt(e,t="div"){const A=Ce(null);return Ut(()=>{const a=pe(e);A.value=a==""||a==null?null:ge(a,t)}),A}function pe(e){return l(l(e))}function G(...e){return e.includes(Object)||e.push(Object),e}te.on("setupVue",e=>e.use(ZA));function Dn(e="white",t="8px"){return{transform:"scale(1.05, 1.05)",borderColor:"rgba(0, 0, 0, 0.125)",boxShadow:`-4px -4px 4px rgba(0, 0, 0, 0.25) inset, 0 0 ${t} ${e}`,zIndex:1}}const qn=z({props:{visibility:{type:G(Number,Boolean),required:!0},display:{type:G(Object,String,Function),required:!0},style:G(String,Object,Array),classes:G(Object),glowColor:G(String),active:Boolean,floating:Boolean},emits:["selectTab"],setup(e,{emit:t}){const{display:A,glowColor:a,floating:n}=Qe(e),r=DA(A),s=D(()=>{const c=pe(a);return c==null||c===""?{}:l(n)?Dn(c):{boxShadow:`0px 9px 5px -6px ${c}`}});function i(){t("selectTab")}return{selectTab:i,component:r,glowColorStyle:s,unref:l,Visibility:gt,isVisible:wt,isHidden:QA}}});function Fn(e,t,A,a,n,r){var s;return e.isVisible(e.visibility)?(f(),b("button",{key:0,onClick:t[0]||(t[0]=(...i)=>e.selectTab&&e.selectTab(...i)),class:H(["tabButton",{active:e.active,...e.unref(e.classes)}]),style:Be([{visibility:e.isHidden(e.visibility)?"hidden":void 0},e.glowColorStyle,(s=e.unref(e.style))!=null?s:{}])},[(f(),R(ne(e.component)))],6)):U("",!0)}var qA=K(qn,[["render",Fn],["__scopeId","data-v-485cbefe"]]);const Vn=z({__name:"Sticky",setup(e){const t=I("0"),A=new ResizeObserver(n),a=Ce(null);function n(){let r=a.value;if(r==null)return;let s=0;for(;r.previousSibling;){const i=r.previousSibling;i.dataset&&"vSticky"in i.dataset&&(s+=i.offsetHeight),r=i}t.value=s+"px"}return _e(n),document.fonts.ready.then(n),kt(()=>{var s;const r=(s=a.value)==null?void 0:s.parentElement;r&&A.observe(r)}),(r,s)=>(f(),b("div",{class:"sticky",style:Be({top:t.value}),ref_key:"element",ref:a,"data-v-sticky":""},[ye(r.$slots,"default",{},void 0,!0)],4))}});var Rn=K(Vn,[["__scopeId","data-v-cccac690"]]);const On=z({props:{visibility:{type:G(Number,Boolean),required:!0},activeTab:{type:G(Object),required:!0},selected:{type:Object,required:!0},tabs:{type:G(Object),required:!0},style:G(String,Object,Array),classes:G(Object),buttonContainerStyle:G(String,Object,Array),buttonContainerClasses:G(Object)},components:{Sticky:Rn,TabButton:qA},setup(e){const{activeTab:t}=Qe(e),A=D(()=>ht[P.theme].floatingTabs),a=Ce("");Ut(()=>{const i=pe(t);if(i==null){a.value="";return}if(lt(i)){a.value=ge(i);return}a.value=ge(l(i.display))});const n=D(()=>{const i=pe(t);return lt(i)||!i?void 0:l(i.classes)}),r=D(()=>{const i=pe(t);return lt(i)||!i?void 0:l(i.style)});function s(i){const{display:c,style:m,classes:C,glowColor:h,visibility:E}=i;return{display:c,style:l(m),classes:C,glowColor:h,visibility:E}}return{floating:A,tabClasses:n,tabStyle:r,Visibility:gt,component:a,gatherButtonProps:s,unref:l,isVisible:wt,isHidden:QA}}});function zn(e,t,A,a,n,r){var c,m;const s=Ft("TabButton"),i=Ft("Sticky");return e.isVisible(e.visibility)?(f(),b("div",{key:0,class:H(["tab-family-container",{...e.unref(e.classes),...e.tabClasses}]),style:Be([{visibility:e.isHidden(e.visibility)?"hidden":void 0},(c=e.unref(e.style))!=null?c:[],(m=e.tabStyle)!=null?m:[]])},[o(i,{class:H(["tab-buttons-container",e.unref(e.buttonContainerClasses)]),style:Be(e.unref(e.buttonContainerStyle))},{default:_(()=>[g("div",{class:H(["tab-buttons",{floating:e.floating}])},[(f(!0),b(Y,null,dA(e.unref(e.tabs),(C,h)=>(f(),R(s,at({onSelectTab:E=>e.selected.value=h,floating:e.floating,key:h,active:e.unref(C.tab)===e.unref(e.activeTab)},e.gatherButtonProps(C)),null,16,["onSelectTab","floating","active"]))),128))],2)]),_:1},8,["class","style"]),e.unref(e.activeTab)?(f(),R(ne(e.unref(e.component)),{key:0})):U("",!0)],6)):U("",!0)}var xn=K(On,[["render",zn],["__scopeId","data-v-58dbf83a"]]);const Gn=Symbol("TabButton"),Kn=Symbol("TabFamily");function Ln(e,t){if(Object.keys(e).length===0)throw console.warn("Cannot create tab family with 0 tabs"),"Cannot create tab family with 0 tabs";const A=NA(Object.keys(e)[0],!1);return _t(()=>{var r;const a=(r=t==null?void 0:t())!=null?r:{};a.id=Xt("tabFamily-"),a.type=Kn,a[ct]=xn,a.tabs=Object.keys(e).reduce((s,i)=>{const c=e[i]();return c.type=Gn,c[ct]=qA,X(c,"visibility"),Ge(c,"visibility",gt.Visible),X(c,"tab"),X(c,"display"),X(c,"classes"),X(c,"style"),X(c,"glowColor"),s[i]=c,s},{}),a.selected=A,a.activeTab=D(()=>{const s=l(n.tabs);if(A.value in s&&wt(s[A.value].visibility))return l(s[A.value].tab);const i=Object.values(s).find(c=>wt(c.visibility));return i?l(i.tab):null}),X(a,"visibility"),Ge(a,"visibility",gt.Visible),X(a,"classes"),X(a,"style"),X(a,"buttonContainerClasses"),X(a,"buttonContainerStyle"),a[Tt]=function(){const{visibility:s,activeTab:i,selected:c,tabs:m,style:C,classes:h,buttonContainerClasses:E,buttonContainerStyle:y}=this;return{visibility:s,activeTab:i,selected:c,tabs:m,style:l(C),classes:h,buttonContainerClasses:E,buttonContainerStyle:y}};const n=a;return n})}var Oe="./assets/heart_small.5a26b7f7.png",Xe="./assets/presence_small.bbe534cd.png",Xn="./assets/wins_small.a33d849a.png",We="./assets/money_small.0e39b4dc.png";const Yn=z({components:{Context:_A},props:{index:{type:Number,required:!0},display:{type:G(Object,String,Function),required:!0},minimizedDisplay:G(Object,String,Function),minimized:{type:Object,required:!0},name:{type:G(String),required:!0},color:G(String),minimizable:G(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:A,minimized:a,minimizedDisplay:n}=Qe(e),r=DA(t),s=Pt(n),i=D(()=>x.allowGoBack&&A.value>0&&!pe(a));function c(){O.tabs.splice(l(e.index),1/0)}function m(C){e.nodes.value=C}return{component:r,minimizedComponent:s,showGoBack:i,updateNodes:m,unref:l,goBack:c}}}),Wn={key:1};function jn(e,t,A,a,n,r){const s=Ft("Context");return f(),b("div",{class:"layer-container",style:Be({"--layer-color":e.unref(e.color)})},[e.showGoBack?(f(),b("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...i)=>e.goBack&&e.goBack(...i))},"\u274C")):U("",!0),e.unref(e.minimized)?(f(),b("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=i=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(f(),R(ne(e.minimizedComponent),{key:0})):(f(),b("div",Wn,V(e.unref(e.name)),1))])):(f(),b("div",{key:2,class:H(["layer-tab",{showGoBack:e.showGoBack}])},[o(s,{onUpdateNodes:e.updateNodes},{default:_(()=>[(f(),R(ne(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(f(),b("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=i=>e.$emit("setMinimized",!0))}," \u25BC ")):U("",!0)],4)}var Hn=K(Yn,[["render",jn],["__scopeId","data-v-a592996e"]]);const FA=e=>(Me("data-v-4b4bda40"),e=e(),Je(),e),Zn=FA(()=>g("h2",null,"Changelog",-1)),$n=FA(()=>g("details",{open:""},[g("summary",null,[p("v0.0 Initial Commit - "),g("time",null,"2021-09-04")]),p(" This is the first release :D "),g("ul",null,[g("li",{class:"feature"},"Did everything"),g("li",{class:"fix"},"Had some fun"),g("li",{class:"breaking"},"Removed everything"),g("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),er=z({__name:"Changelog",setup(e,{expose:t}){const A=I(!1);return t({open(){A.value=!0}}),(a,n)=>(f(),R(De,{modelValue:A.value,"onUpdate:modelValue":n[0]||(n[0]=r=>A.value=r)},{header:_(()=>[Zn]),body:_(()=>[$n]),_:1},8,["modelValue"]))}});var tr=K(er,[["__scopeId","data-v-4b4bda40"]]),Ar=z({props:{element:Object,display:{type:G(Object,String,Function),required:!0},style:G(Object,String,Array),classes:G(Object),direction:G(String),xoffset:G(String),yoffset:G(String),pinned:Object},setup(e){const{element:t,display:A,pinned:a}=Qe(e),n=I(!1),r=D(()=>(pe(a)||n.value)&&s.value),s=Pt(A),i=Ce(ge(L(()=>{const C=pe(t);return C==null?"":JA(C)})));function c(C){const h=a;C.shiftKey&&h&&(h.value=!h.value,C.stopPropagation(),C.preventDefault())}const m=D(()=>pe(a)&&ht[P.theme].showPin);return{Direction:Z,isHovered:n,isShown:r,comp:s,elementComp:i,unref:l,togglePinned:c,showPin:m}}});const ar={key:0,class:"material-icons pinned"};function nr(e,t,A,a,n,r){return f(),b("div",{class:H(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=s=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=s=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...s)=>e.togglePinned&&e.togglePinned(...s))},[ye(e.$slots,"default",{},void 0,!0),e.elementComp?(f(),R(ne(e.elementComp),{key:0})):U("",!0),o(gA,{name:"fade",css:!!e.comp},{default:_(()=>{var s;return[e.isShown?(f(),b("div",{key:0,class:H(["tooltip",{top:e.unref(e.direction)===e.Direction.Up,left:e.unref(e.direction)===e.Direction.Left,right:e.unref(e.direction)===e.Direction.Right,bottom:e.unref(e.direction)===e.Direction.Down,...e.unref(e.classes)}]),style:Be([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(s=e.unref(e.style))!=null?s:{}])},[e.showPin?(f(),b("span",ar,"push_pin")):U("",!0),e.comp?(f(),R(ne(e.comp),{key:1})):U("",!0)],6)):U("",!0)]}),_:1},8,["css"])],34)}var j=K(Ar,[["render",nr],["__scopeId","data-v-7a579aa7"]]);const Ke=e=>(Me("data-v-5d3cb6f4"),e=e(),Je(),e),rr={class:"info-modal-header"},sr=["src","alt"],ir={class:"info-modal-title"},or={key:0},lr={key:0},ur={key:0},cr=Ke(()=>g("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),gr=Ke(()=>g("br",null,null,-1)),dr=Ke(()=>g("br",null,null,-1)),mr=["href"],fr=Ke(()=>g("span",{class:"material-icons info-modal-discord"},"discord",-1)),vr=Ke(()=>g("div",null,[g("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[g("span",{class:"material-icons info-modal-discord"},"discord"),p(" The Paper Pilot Community ")])],-1)),hr=Ke(()=>g("div",null,[g("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[g("span",{class:"material-icons info-modal-discord"},"discord"),p(" The Modding Tree ")])],-1)),pr=Ke(()=>g("br",null,null,-1));var Cr=z({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const A=e,{title:a,logo:n,author:r,discordName:s,discordLink:i,versionNumber:c,versionTitle:m}=x,C=Qe(A),h=I(!1),E=D(()=>Lt(O.timePlayed)),y=D(()=>ge(L(()=>o(Y,null,[_n.map($e)]))));t({open(){h.value=!0}});function N(){var S;(S=l(C.changelog))==null||S.open()}return(S,k)=>(f(),R(De,{modelValue:h.value,"onUpdate:modelValue":k[0]||(k[0]=$=>h.value=$)},{header:_(()=>[g("div",rr,[l(n)?(f(),b("img",{key:0,class:"info-modal-logo",src:l(n),alt:l(a)},null,8,sr)):U("",!0),g("div",ir,[g("h2",null,V(l(a)),1),g("h4",null,[p(" v"+V(l(c)),1),l(m)?(f(),b("span",or,": "+V(l(m)),1)):U("",!0)])])])]),body:_(({shown:$})=>[$?(f(),b("div",lr,[l(r)?(f(),b("div",ur,"By "+V(l(r)),1)):U("",!0),cr,gr,g("div",{class:"link",onClick:N},"Changelog"),dr,g("div",null,[l(i)?(f(),b("a",{key:0,href:l(i),class:"info-modal-discord-link",target:"_blank"},[fr,p(" "+V(l(s)),1)],8,mr)):U("",!0)]),vr,hr,pr,g("div",null,"Time Played: "+V(l(E)),1),(f(),R(ne(l(y))))])):U("",!0)]),_:1},8,["modelValue"]))}});var Er=K(Cr,[["__scopeId","data-v-5d3cb6f4"]]);const yr=["onSubmit"],br={class:"field"},Br={key:0,class:"field-title"},Qr=["type","placeholder"],Ir=z({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean},password:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const A=e,a=Pt(Pe(A,"title"),"span"),n=Ce(null);kt(()=>{var c;(c=n.value)==null||c.focus()});const r=D({get(){var c;return(c=l(A.modelValue))!=null?c:""},set(c){t("update:modelValue",c)}});function s(){t("submit")}function i(){A.submitOnBlur!==!1?t("submit"):t("cancel")}return(c,m)=>(f(),b("form",{onSubmit:ut(s,["prevent"])},[g("div",br,[l(a)?(f(),b("span",Br,[(f(),R(ne(l(a))))])):U("",!0),e.textArea?(f(),R(l($A),{key:1,modelValue:l(r),"onUpdate:modelValue":m[0]||(m[0]=C=>ce(r)?r.value=C:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:i,ref_key:"field",ref:n},null,8,["modelValue","placeholder","maxHeight"])):Kt((f(),b("input",{key:2,type:e.password==!0?"password":"text","onUpdate:modelValue":m[1]||(m[1]=C=>ce(r)?r.value=C:null),placeholder:e.placeholder,class:H({fullWidth:!e.title}),onBlur:i,ref_key:"field",ref:n},null,42,Qr)),[[LA,l(r)]])])],40,yr))}});var mt=K(Ir,[["__scopeId","data-v-26e25f6a"]]);const Nr={min:.25,max:.5},wr=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Sr=.01,kr=.1,Ur=100,Tr=!0,_r={x:0,y:0},Pr=!1,Mr=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveSpeed",config:{speed:{list:[{time:0,value:100},{time:1,value:0}]},minMult:1}},{type:"scale",config:{scale:{list:[{time:0,value:2},{time:1,value:.5}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#FFC000"},{time:1,value:"#FFDF00"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var Jr={lifetime:Nr,ease:wr,frequency:Sr,emitterLifetime:kr,maxParticles:Ur,addAtBack:Tr,pos:_r,emit:Pr,behaviors:Mr};vA.registerPlugin(Aa);aa.registerPlugin("batch",na);var Dr=z({props:{style:G(String,Object,Array),classes:G(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=Ce(null),A=new ResizeObserver(r),a=Ce(null);kt(()=>{var i,c;const s=a.value;s!=null&&(A.observe(s),t.value=new vA({resizeTo:s,backgroundAlpha:0}),(i=a.value)==null||i.appendChild(t.value.view),(c=e.onInit)==null||c.call(e,t.value)),r(),e.onHotReload&&_e(e.onHotReload)}),XA(()=>{var s;(s=t.value)==null||s.destroy()});let n=!0;function r(){n&&(n=!1,_e(()=>{var s;a.value!=null&&((s=e.onContainerResized)==null||s.call(e,a.value.getBoundingClientRect())),n=!0}))}return te.on("fontsLoaded",r),{unref:l,resizeListener:a}}});function qr(e,t,A,a,n,r){return f(),b("div",{ref:"resizeListener",class:H(["resize-listener",e.unref(e.classes)]),style:Be(e.unref(e.style))},null,6)}var Fr=K(Dr,[["render",qr],["__scopeId","data-v-0b99a6fc"]]);const Vr=Symbol("Particles");function Rr(e){return _t(()=>{var n,r;const t=(n=e==null?void 0:e())!=null?n:{};t.id=Xt("particles-"),t.type=Vr,t[ct]=Fr,t.app=Ce(null),t.addEmitter=s=>{const i=t;return i.app.value?Promise.resolve(new $t(i.app.value.stage,s)):new Promise(c=>{A.push({resolve:c,config:s})})};let A=[];function a(s){const i=t;i.app.value=s,A.forEach(({resolve:c,config:m})=>c(new $t(s.stage,m))),A=[]}return t.onContainerResized=(r=t.onContainerResized)==null?void 0:r.bind(t),t[Tt]=function(){const{id:s,style:i,classes:c,onContainerResized:m,onHotReload:C}=this;return{id:s,style:l(i),classes:c,onContainerResized:m,onHotReload:C,onInit:a}},t})}window.upgradeConfig=ra;const Or=Symbol("Reset");function zr(e){return _t(()=>{const t=e();return t.id=Xt("reset-"),t.type=Or,t.reset=function(){var n;const A=r=>{if(r!=null&&typeof r=="object")if(nt in r){const s=r;s.value=s[nt]}else!(r instanceof Q)&&!ce(r)&&Object.values(r).forEach(s=>A(s))},a=l(t.thingsToReset);qt(a)?a.forEach(A):A(a),te.emit("reset",t),(n=t.onReset)==null||n.call(t)},X(t,"thingsToReset"),t})}const yt={};te.on("removeLayer",e=>{var t;(t=yt[e.id])==null||t.call(yt),yt[e.id]=void 0});var xr="./assets/autoplay.c48a90c0.png",Gr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAEgCAYAAAC926RRAAAAAXNSR0IArs4c6QAAB7pJREFUeJzt3bFuFFcYhuF1REGkFCndpLBSIEoaLmBF4dqSrdRIkUJFDdSQmiaJUnABtuSaItr0NJSIInLrC6BIR4oEJcHn2Du7s3Nm5nuecjHLYQ37+sz8O7NYAAAAAAAAAAAAAAAAAAAAAAAALe21XsC6jveXxceP7t0vPn7+9s3HXa4H4Oje/eJ76PnbN8WvP7tc7XQ9XX3RegEAtCEAAKEEACCUAACEEgCAULdaL2BdXad9Ti/Od7oegJODo+L7T206aPG2/DytpoPsAABCCQBAKAEACCUAAKEEACDUlK4FZNoHmISTg6PaLxXfc00BATAoAQAIJQAAoQQAIJQAAIQSAIBQAgAQSgAAQgkAQCgBAAglAAChBAAglAAAhBIAgFACABBKAABCCQBAKAEACCUAAKEEACCUAACEEgCAUAIAEOpW6wUApDi7XLVewv8IwBZODo5aL2GxWCwWpxfna39tqzWvu0brKxvz93jMa/ukyxqTOAQ0A2MJEe21+L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8kmHYAQCEEgCAUAIAEEoAAEIJAECo2U4BAczVycFR8fGzy9Vel+exAwAIJQAAoQQAIJQAAIQSAIBQk5kC+uH2t8Wz2w8Pn30sPf7q9fPdLgiYrLRr/tTYAQCEEgCAUAIAEEoAAEIJAECoTteNaOn724fFx7/b/6b4+C9//lGcDgKYyrRP7Zo/j548KL53Lx8/7fT8dgAAoQQAIJQAAIQSAIBQAgAQajJTQADH+8tO031TmfapqU0BnV6cF9+79778utPz2wEAhBIAgFACABBKAABCCQBAKFNAM9F1OgKmaOpTPTW7nvapsQMACCUAAKEEACCUAACEEgCAULdaL4CytGueAFf9/utPO31+OwCAUAIAEEoAAEIJAEAoAQAI5VpAjdWmfUz1wPzUrvnz6MmD4nvx8vHTna7HDgAglAAAhBIAgFACABBKAABCuRbQQEz7wHR9eP+u09c/PHxWfLw27dOKHQBAKAEACCUAAKEEACCUAACEGtUZ6TkY27RP1+kF4KraVE9N12mfXV/zp8YOACCUAACEEgCAUAIAEEoAAEKZArrB6uWL4uM///ibaR+YmV1fw6fVtE+NHQBAKAEACCUAAKEEACCUAACEckewG5j2gfHreq2emrHdsWvX7AAAQgkAQCgBAAglAAChBAAgVNQZ7+u4k9ff+pqmgCHN9Vo9u2YHABBKAABCCQBAKAEACCUAAKFcC+gGtWmcr+7c3enz96XrVM/Z5cpkWKDane9aqU3jdF1n2lRPV3YAAKEEACCUAACEEgCAUAIAEMrExz9q1wJ69fr50EvZSG3ap3aNFNMRgB0AQCgBAAglAAChBAAglAAAhHItoIkx7QP0xQ4AIJQAAIQSAIBQAgAQSgAAQpkCmgnTPkBXdgAAoQQAIJQAAIQSAIBQAgAQyh3BbtDqTmG1a/6cXa58z4Be2AEAhBIAgFACABBKAABCCQBAKBMlG6pNB/XFtA+wa3YAAKEEACCUAACEEgCAUAIAAAAAAAAAAAAAAAAAAAAAAAAA0MBfohWYSHxpGzkAAAAASUVORK5CYII=",Kr="./assets/defeat face.5cc80145.png",Lr="./assets/fast forward.8950743b.png",X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E15nR2914hTdgCiCYBoAiCaAIgmAKIJgGgCIJoAiCYAogmAaAIgmrNAZ6r3+Vy+cnXLd8I22QGIJgCiCYBoAiCaAIhmCvQPqulQ9cRW9YRX90mxru79VG/PTntrtB2AaAIgmgCIJgCiCYBoUX/xbzYX/+2w7je55nY/aewARBMA0QRANAEQTQBEMwk4U01juqaarsztftbKDkA0ARBNAEQTANEEAAAAAAAAAAAAwOL9DQsGFzoD+UY/AAAAAElFTkSuQmCC",oA="./assets/Play Again.46203d64.png",$r="./assets/play.0f2f487f.png",es="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABklJREFUeJzt3T9oXWUYx/F7tQq1QSuGQAcrUUqxRDt0Kb0WU5BG1EGqgn+iNIt/0MHSIXToFKF0qotEHGps0yIaxUHFG0Qj6a0OdqiIUgKCdSiEChpScVCuQ7fyPKZPeN+8557f9zM+nJ57Gvjxwo/3vKfRAAAAAAAAAAAAAAAAAFAHzdIPcL263cvdyPXNZn/P/N9Qzg2lHwAoiQBAGgGANAIAaQQA0taVfoBreW1P69YXktzHk7s1ij5PFK3X6rACQBoBgDQCAGkEANIIAKQVa4GibU97/nDo/rlbo6jo80RVrfXqFawAkEYAII0AQBoBgDQCAGmV2wuUSu7WKOr05LI533z/SJL7p2q91NohVgBIIwCQRgAgjQBAGgGAtGItkNc25N4jNLJ7wpyf6bRC94m6+EM76/2jz+/9PdXaIVYASCMAkEYAII0AQBoBgLTK7QUq1Q41txww592FY6H7VI33/2o0Omv6HFXFCgBpBADSCACkEQBIIwCQVmx/R6lzeDqLM0nu77VDqfb8RN8U89uemNbAk+a8s3TC/t0e3yPECgBpBADSCACkEQBIIwCQln0vUKpvfnm8diKVXz96OHT9XU98kfV3vXbIa6VStUN1xQoAaQQA0ggApBEASCMAkJZsH0e07fnl37kkv3v3jcPm3GuHom+Q9W3dvqrnyiXaSt0xdNSce+cj1XXPj4cVANIIAKQRAEgjAJBGACA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sxdIUV2Lqdkfwvr4jvjeG0V1P+bO/pga58QLuT08Wa3Rm8L62KaNYf1tsZdJfT7sBQIaiADAGgGANQIAawQA1mrfBVJdmourcXdicEidIIu7HKrbo7oupfYaKeq52a6OOummPgduhwYaiADAGgGANQIAawQA1mrfBVLUbcntldxeoFLyvxGWu01anRRT3Rutmd0ehRUA1ggArBEAWCMAsEYAYK02XaC7++MTXtVqXFe/4XWuP947pPbAqL032RNhpX4jLLs36YtTYhzR1VHq3u1RWAFgjQDAGgGANQIAawQA1rrWBSp1a/T00cnUc09O7km9Xt+H01tK3dvT1G6PwgoAawQA1ggArBEAWCMAsNZze4FKdYfmlg6HdXWPkOqiLMxfCOvqf45tAxvC+gfHxF+Q44g/+HklLA+KvUBYHysArBEAWCMAsEYAYI0AwFrt931ku0PKg8PHi8zn8+V7i4yjqHmq5zb1Pp9SWAFgjQDAGgGANQIAawQA1npuL1BWqb1DWdmui6LmU6orhfWxAsAaAYA1AgBrBADWCACs1b4LVEr/1dd0ewr/0mvzaSpWAFgjALBGAGCNAMAaAYA1AgBrBADWCACsEQBYIwCwRgBgjb1Alyz+cWvq9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",rs="./assets/start stream.dd66a6ec.png",ss="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAEgCAYAAAC926RRAAAAAXNSR0IArs4c6QAAB4ZJREFUeJzt3T9vU1ccx2GnYqASQ8csHaIOiJGFF2AxZLaUqDNSpTIxAzN0ZmmrDryARMrMULk7CyNiqLLmBTB0o0OL+ifnxL72vff4+vs84yVxLkH443Pvz8ezGQAAAAAAAAAAAAAAAAAAAAAA0NJB6xNY18nhvHh8cf9B8fjFu7efhjwfgMX9B8Xn0It3b4tff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6PwqAIBQAgAglAAACCUAAEIJAIBQk+kCAjjeXzbq7ptKt09NrQvo9OK8eO3e+/qbRudXAQCEEgAAoQQAQCgBABBKAACE0gU0E027I2CKpt7VU9N1t0+NCgAglAAACCUAAEIJAIBQAgAg1K2hB0BZ2p4nwHV//PZzp+dXAQCEEgAAoQQAQCgBABBKAACEshfQwGrdPrp6YH5qe/48fvqweC1ePnnW6XhUAAChBABAKAEAEEoAAIQSAACh7AXUE90+MF0fP7xv9PWPDp8Xj9e6fYaiAgAIJQAAQgkAgFACACCUAAAINaoV6TkYW7dP0+4F4LpaV09N026frvf8qVEBAIQSAAChBABAKAEAEEoAAITSBbTG6tXL4vFffvpdtw/MTNd7+AzV7VOjAgAIJQAAQgkAgFACACCUAAAI5Ylga+j2gfFruldPzdie2NU1FQBAKAEAEEoAAIQSAAChBABAqKgV75t4ktc/2uqmgD7Nda+erqkAAEIJAIBQAgAglAAACCUAAELZC2iNWjfOnbv3Oj1/W5p29ZxdrnSGBao9+W4otW6cpuNM6+ppSgUAEEoAAIQSAAChBABAKAEAEErHx79qewG9fvOi76FspdbtU9sjRXcEoAIACCUAAEIJAIBQAgAglAAACGUvoInR7QO0RQUAEEoAAIQSAAChBABAKAEAEEoX0Ezo9gGaUgEAhBIAAKEEAEAoAQAQSgAAhPJEsDWGelJYbc+fs8uV3xnQChUAQCgBABBKAACEEgAAoQQAQCgdJVuqdQe1RbcP0DUVAEAoAQAQSgAAhBIAAKEEAAAAAAAAAAAAAAAAAAAAAAAAAMAA/gYqFbxM9hYbZQAAAABJRU5ErkJggg==",ls="./assets/win face.8406df05.png";const us=z({__name:"Node",props:{id:null},setup(e){const A=Qe(e),a=Zt(Yt,()=>{}),n=Zt(Wt,()=>{}),r=Ce(null),s=D(()=>r.value&&r.value.parentElement);return be([s,A.id],([i,c],[m,C])=>{m&&n(l(C)),i&&a(c,i)}),YA(()=>n(l(A.id))),(i,c)=>(f(),b("div",{class:"node",ref_key:"node",ref:r},null,512))}});var cs=K(us,[["__scopeId","data-v-a48cb382"]]),gs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10tzu9t/i7O9y5sF+dHP74U5w92D4rzZ9evNJ1fU7tv7e/VDg2zAYgmAEQTAKIJANEEgGhr3wL10tr21Ly4dbvLObXrq63Rp69N53PMBiCaABBNAIgmAEQTAKLFtUCff30vzl9+LF//ZKdPO1TT2vb0ui/HbACiCQDRBIBoAkA0ASBaXAt07dzF4rzWDk0ml4vTXi1N6zneBerLBiCaABBNAIgmAEQTAKL9t9+G6fW9oFo79Hz3TnHe692e2vWHb46K89cfXhXnvv8zzAYgmgAQTQCIJgBEEwCixTUE69IOaXtWwwYgmgAQTQCIJgBEEwCixTUHGxubxfl8/n6Udujpu7fF+eOzZ4rz2c95ca4dOhkbgGgCQDQBIJoAEE0AiKYh+IvWd4da1dqb2vmHW+eLc+3QydgARBMAogkA0QSAaAJAtLivQ7eqtSW1dmjZHu3cLM5nlf8gY5gNQDQBIJoAEE0AiCYARPM+yIq0vlM0u7tXnPteUF82ANEEgGgCQDQBIJoAEE1DMLLWdkjb05cNQDQBIJoAEE0AiCYARNMc/KNq7ZC2py8bgGgCQDQBIJoAEE0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDOH2CUp5gTyjFIAAAAAElFTkSuQmCC",ds="./assets/presence_v2.d5ab8334.png",ms="data:image/png;base64,iVBORw0KG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DofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const VA=e=>(Me("data-v-61e2b6c0"),e=e(),Je(),e),ys=["ondragend","ondragenter","ondragleave","ondragover","ondrop"],bs={key:0,class:"move-indicator"},Bs=VA(()=>g("span",{class:"material-icons"},"straight",-1)),Qs=[Bs],Is={key:1,class:"move-indicator"},Ns=VA(()=>g("span",{class:"material-icons"},"merge",-1)),ws=[Ns],Ss={key:2,class:"character-display"},ks=["src"],Us={key:3,class:"relevancy-display"},Ts=["src"],_s={key:4,class:"presence-display"},Ps=["src"],Ms={key:5,class:"frozen"},Js=["src"],Ds={key:6,class:"level-display"},qs=["src"],Fs=["src"],Vs=["src"],Rs=["src"],Os=["src"],zs=["src"];var xs=z({__name:"CharacterSlot",props:{id:null,character:null,isSelected:{type:Boolean},isShop:{type:Boolean},isDragging:{type:Boolean},selected:null,shake:{type:Boolean},frozen:{type:Boolean}},emits:["dragstart","dragend","drop"],setup(e,{emit:t}){const A=e,a=I(!1),n=I(!1),r=I(void 0);function s(c){var m;a.value=!0,(m=c.dataTransfer)==null||m.setDragImage(r.value,0,0)}be(a,c=>{t(c?"dragstart":"dragend")});const i=Ce("");return Ut(()=>{if(A.character==null||A.selected!=null||a.value){i.value="";return}const c=ge(W[A.character.type].abilityDescription(A.character));i.value=L(()=>o(Y,null,[o("b",null,[W[A.character.type].nickname]),o("br",null,null),o(c,null,null)]))}),(c,m)=>(f(),R(j,{display:l(i),direction:l(Z).Up},{default:_(()=>{var C,h,E;return[g("div",{class:H(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:a.value,isDragging:e.isDragging,draggingOver:n.value,shake:e.shake}]),draggable:"true",ondragstart:s,ondragend:()=>a.value=!1,ondragenter:()=>n.value=!0,ondragleave:()=>n.value=!1,ondragover:y=>{var N;e.selected!=null&&!e.isShop&&(((N=e.character)==null?void 0:N.type)!==e.selected.type||e.isSelected)&&y.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&y.preventDefault()},ondrop:()=>{n.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((C=e.character)==null?void 0:C.type)!==e.selected.type||e.isSelected)&&a.value===!1?(f(),b("span",bs,Qs)):U("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(f(),b("span",Is,ws)):U("",!0),e.character!=null?(f(),b("span",Ss,[g("img",{ref_key:"imageElement",ref:r,src:l(W)[e.character.type].display},null,8,ks)])):U("",!0),e.character!=null?(f(),b("span",Us,[g("img",{src:l(gs)},null,8,Ts),g("span",null,V((h=e.character)==null?void 0:h.relevancy),1)])):U("",!0),e.character!=null?(f(),b("span",_s,[g("img",{src:l(ds)},null,8,Ps),g("span",null,V((E=e.character)==null?void 0:E.presence),1)])):U("",!0),e.character!=null&&e.frozen?(f(),b("span",Ms,[g("img",{src:l(ms)},null,8,Js)])):U("",!0),e.character!=null?(f(),b("span",Ds,[e.character.exp===1?(f(),b("img",{key:0,src:l(fs)},null,8,qs)):U("",!0),e.character.exp===2?(f(),b("img",{key:1,src:l(vs)},null,8,Fs)):U("",!0),e.character.exp===3?(f(),b("img",{key:2,src:l(hs)},null,8,Vs)):U("",!0),e.character.exp===4?(f(),b("img",{key:3,src:l(ps)},null,8,Rs)):U("",!0),e.character.exp===5?(f(),b("img",{key:4,src:l(Cs)},null,8,Os)):U("",!0),e.character.exp===6?(f(),b("img",{key:5,src:l(Es)},null,8,zs)):U("",!0)])):U("",!0),e.id?(f(),R(cs,{key:7,id:e.id},null,8,["id"])):U("",!0)],10,ys)]}),_:1},8,["display","direction"]))}});var ke=K(xs,[["__scopeId","data-v-61e2b6c0"]]);const Gs={min:1.5,max:2.5},Ks=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Ls=.001,Xs=.1,Ys=100,Ws=!0,js={x:0,y:0},Hs=!1,Zs=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveAcceleration",config:{accel:{x:0,y:2e3},minStart:600,maxStart:600,rotate:!0}},{type:"scale",config:{scale:{list:[{time:0,value:.5},{time:1,value:.25}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#962121"},{time:.5,value:"#214a96"},{time:1,value:"#4c2196"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var $s={lifetime:Gs,ease:Ks,frequency:Ls,emitterLifetime:Xs,maxParticles:Ys,addAtBack:Ws,pos:js,emit:Hs,behaviors:Zs};function Ue(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!WA(e)}const W={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:Zr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",o("img",{src:Oe},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" damage to every character on a stream")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;v.battle.value.streamers.forEach(A=>A.relevancy-=t),v.battle.value.enemyStreamers.forEach(A=>A.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:Yr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(" for every character on that livestream")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;v.battle.value.streamers.includes(e)?e.presence+=t*v.battle.value.streamers.length:e.presence+=t*v.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:es,abilityType:"Sold",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Sold")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",o("img",{src:We},null),o("span",{style:"color: yellow"},[p("Mogul"),e.exp>=3?"s":""])])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;v.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:Wr,abilityType:"LevelUp",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Level up")]),p(": Every character gains "),e.exp>=3?2:1," ",o("img",{src:Oe},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" and "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")])])),performAbility(e){const t=e.exp>=6?2:1;v.team.value.forEach(A=>{A&&(A.relevancy+=t,A.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:jr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Summon a lv")," ",e.exp>=6?3:e.exp>=3?2:1,p(" Ludwig Coots with this character's"),o("img",{src:Oe},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" and "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(".")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1,A={type:"ludwig",exp:t===3?6:t===2?3:1,presence:e.presence,relevancy:e.relevancy};v.queue.value.push({action:"LivestreamJoined",target:A}),v.battle.value.streamers.includes(e)?v.battle.value.streamers.push(A):v.battle.value.enemyStreamers.push(A)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:ns,abilityType:"LivestreamEnded",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream ended")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",o("img",{src:Oe},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" for every character on either livestream with more "),o("img",{src:Oe},null),o("span",{style:"color: red"},[p("Relevancy")]),p(".")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(v.battle.value.streamers.filter(A=>A.relevancyA.relevancyL(()=>o(Y,null,[o("i",null,[p("Stream started")]),p(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,p(" "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(" if you have 2 or more"),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("Moguls")]),p(".")])),performAbility(e){if(v.gold.value>=2){const t=e.exp>=6?3:e.exp>=3?2:1;e.presence+=t}}},vespa:{nickname:"Vespa Coots",initialRelevancy:1,initialPresence:1,display:is,abilityType:"LivestreamJoined",abilityDescription:()=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Set the character that most recently joined the enemy livestream's "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(" to 0. This effect does not improve on level up.")])),performAbility(e){v.battle.value!=null&&(v.battle.value.streamers.includes(e)?v.battle.value.enemyStreamers.length>0&&(v.battle.value.enemyStreamers[v.battle.value.enemyStreamers.length-1].presence=0):v.battle.value.streamers.length>0&&(v.battle.value.streamers[v.battle.value.streamers.length-1].presence=0))}}},v=kA("main",function(){const e=I(3),t=I(0),A=I(0),a=I(0),n=I([null,null,null]),r=I([]),s=I(null),i=I(null),c=I(!1),m=I(""),C=I(!1),h=I(!1),E=I(!1),y=I([]),N=I([]),S=I(!1),k=I(null),$=D(()=>k.value==null?0:k.value.streamers.reduce((re,se)=>re+Math.max(0,se.presence)*Math.max(0,se.relevancy),0)*100),B=D(()=>k.value==null?0:k.value.enemyStreamers.reduce((re,se)=>re+Math.max(0,se.presence)*Math.max(0,se.relevancy),0)*100),w=zr(()=>({onReset(){e.value=3,t.value=0,A.value=0,a.value=0,n.value=[null,null,null],r.value=[],s.value=null,i.value=null,c.value=!1,k.value=null,m.value="",C.value=!1,E.value=!1,y.value=[],N.value=[]}})),F=I(!1);function ae(){var re,se;if(k.value==null)throw"Preparing move while not in battle";if(y.value.length===0&&k.value.team.length===0&&k.value.enemyTeam.length===0){if(k.value.ranLivestreamEnded===!1){k.value.streamers.forEach(J=>{W[J.type].abilityType==="LivestreamEnded"&&y.value.push({action:"LivestreamEnded",target:J})}),k.value.enemyStreamers.forEach(J=>{W[J.type].abilityType==="LivestreamEnded"&&y.value.push({action:"LivestreamEnded",target:J})}),k.value.ranLivestreamEnded=!0,ae();return}m.value==="Victory"?t.value++:m.value==="Defeat"&&e.value--,C.value=!0;return}if(y.value.length===0?y.value.push({action:"join"}):y.value.length>1&&(y.value=y.value.sort((J,q)=>J.action!==q.action?1:J.target!=null&&q.target!=null?q.target.relevancy-J.target.relevancy:0)),P.autoplay===!1&&E.value===!1)h.value=!0;else{h.value=!1;const J=y.value.shift();switch(J.action){case"join":if(((re=k.value.team.length)!=null?re:0)>0){const q=k.value.team.pop();k.value.streamers.push(q),W[q.type].abilityType==="LivestreamJoined"&&y.value.unshift({action:"LivestreamJoined",target:q})}if(((se=k.value.enemyTeam.length)!=null?se:0)>0){const q=k.value.enemyTeam.pop();k.value.enemyStreamers.push(q),W[q.type].abilityType==="LivestreamJoined"&&y.value.unshift({action:"LivestreamJoined",target:q})}break;default:if(J.target==null){console.error("Invalid action",J);break}W[J.target.type].performAbility(J.target);break}E.value=!1,setTimeout(ae,P.fast?750:1250)}}const Ee=Rr(()=>({fullscreen:!1,zIndex:10,boundingRect:I(null),onContainerResized(re){this.boundingRect.value=re}}));return{name:"Game",minimizable:!1,display:L(()=>{let re,se;if(t.value>=5){let J;return o("div",{class:"total-outcome-container"},[o("img",{class:"smiley",src:ls},null),o(Se,{style:"margin-top: 5vmin;"},Ue(J=new Array(3).fill(0).map((q,ie)=>o(ke,{character:n.value[ie]},null)))?J:{default:()=>[J]}),o("img",{src:oA,class:"button",onClick:()=>location.reload()},null),$e(Ee)])}if(e.value<=0){let J;return o("div",{class:"total-outcome-container"},[o("img",{class:"smiley",src:Kr},null),o(Se,{style:"margin-top: 5vmin;"},Ue(J=new Array(3).fill(0).map((q,ie)=>o(ke,{character:n.value[ie]},null)))?J:{default:()=>[J]}),o("img",{src:oA,class:"replay",onClick:()=>location.reload()},null),$e(Ee)])}if(k.value!=null){let J,q,ie,Le;return o("div",{class:{["battle-container"]:!0,fast:P.fast}},[o("div",{class:"battle-controls"},[o("button",{class:"button",onClick:()=>{E.value=!0,ae()}},[o("img",{src:$r},null)]),o("button",{class:{button:!0,active:P.autoplay},onClick:()=>{P.autoplay=!P.autoplay,h.value&&ae()}},[o("img",{src:xr},null)]),o("button",{class:{button:!0,active:P.fast},onClick:()=>P.fast=!P.fast},[o("img",{src:Lr},null)])]),o("div",{class:"teams-container",style:C.value?"pointer-events: none;":""},[o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"left: 1vmin"},[o("span",null,[zt.value,p(" (YOU)")]),o("div",{class:"stats"},[o("div",{class:"resource-box lives"},[e.value]),o("div",{class:"resource-box wins"},[t.value,p("/5")]),o("div",{class:"view-counter"},[Vt($.value),p(" Views")])])]),o(Se,{class:"streamers-container"},{default:()=>[o(Et,{name:"character-transition"},Ue(J=k.value.streamers.slice().reverse().map((me,qe)=>{var fe;return o(ke,{key:k.value.streamers.length-qe,character:me,shake:h.value&&((fe=y.value[0])==null?void 0:fe.target)===me},null)}))?J:{default:()=>[J]})]})]),o(iA,{class:"members-container"},{default:()=>[o(Et,{name:"character-transition"},Ue(q=k.value.team.map((me,qe)=>{var fe,rt,st,it;return o(ke,{character:me,key:qe,shake:h.value&&((fe=y.value[0])==null?void 0:fe.action)==="join"&&me===((it=k.value)==null?void 0:it.team[((st=(rt=k.value)==null?void 0:rt.team.length)!=null?st:0)-1])},null)}))?q:{default:()=>[q]})]})]),o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"right: 1vmin"},[o("span",null,[k.value.enemyNickname]),o("div",{class:"stats",style:"margin-right: 0"},[o("div",{class:"resource-box lives"},[k.value.enemyLives]),o("div",{class:"resource-box wins"},[k.value.enemyWins,p("/5")]),o("div",{class:"view-counter"},[Vt(B.value),p(" Views")])])]),o(Se,{class:"streamers-container"},{default:()=>[o(Et,{name:"character-transition"},Ue(ie=k.value.enemyStreamers.map((me,qe)=>{var fe;return o(ke,{key:qe,character:me,shake:h.value&&((fe=y.value[0])==null?void 0:fe.target)===me},null)}))?ie:{default:()=>[ie]})]})]),o(iA,{class:"members-container"},{default:()=>[o(Et,{name:"character-transition"},Ue(Le=k.value.enemyTeam.map((me,qe)=>{var fe,rt,st,it;return o(ke,{character:me,key:k.value.enemyStreamers.length+qe,shake:h.value&&((fe=y.value[0])==null?void 0:fe.action)==="join"&&me===((it=k.value)==null?void 0:it.enemyTeam[((st=(rt=k.value)==null?void 0:rt.enemyTeam.length)!=null?st:0)-1])},null)}))?Le:{default:()=>[Le]})]})])]),C.value?o("div",{class:"outcome",onClick:()=>he("newTurn")},[o("img",{src:m.value==="Victory"?os:m.value==="Defeat"?Gr:ss},null)]):null])}return o("div",{class:"game-container",style:c.value?"pointer-events: none":"",onClick:()=>{s.value=null,i.value=null}},[o("h2",{class:"team-nickname"},[zt.value]),o(Se,{class:"manager-header"},{default:()=>[o("div",{class:"resource-box moguls"},[a.value]),o("div",{class:"resource-box lives"},[e.value]),o("div",{class:"resource-box wins"},[t.value,p("/5")]),o("div",{style:"flex-grow: 1"},null),c.value?o("div",{class:"waiting"},[p("Finding opposing team...")]):o("img",{class:"startStream",draggable:"false",onClick:()=>{he("stream"),c.value=!0},src:rs},null)]}),o("div",{style:"flex-grow: 1"},null),o(Se,{style:"margin-top: 10vh"},Ue(re=new Array(3).fill(0).map((J,q)=>{var ie,Le;return o(ke,{id:`team-char-${q}`,character:n.value[q],isSelected:s.value===q,selected:s.value==null?i.value==null||n.value[q]!=null&&((ie=r.value[i.value])==null?void 0:ie.type)!==((Le=n.value[q])==null?void 0:Le.type)||a.value<3?null:r.value[i.value]:n.value[s.value],isDragging:F.value,onClick:lA(q),onDragstart:()=>{F.value=!0,s.value=q,i.value=null},onDragend:()=>{F.value=!1,s.value=null,i.value=null},onDrop:()=>lA(q)()},null)}))?re:{default:()=>[re]}),o(Se,{style:"margin-top: 10vh;"},{default:()=>[s.value!=null?o(j,{display:"Sell Coots"},{default:()=>[o("div",{class:"reroll",onDragover:J=>J.preventDefault(),onClick:()=>he("sell",s.value),onDrop:()=>he("sell",s.value)},[o("img",{src:as},null)])]}):i.value!=null?o(j,{display:"Freeze Coots"},{default:()=>[o("div",{class:"reroll",onDragover:J=>J.preventDefault(),onClick:()=>he("freeze",i.value),onDrop:()=>he("freeze",i.value)},[o("img",{src:Xr},null)])]}):o(j,{display:"Re-roll store"},{default:()=>[o("div",{class:"reroll",style:a.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{a.value>0&&he("reroll")}},[o("img",{src:S.value?ts:As},null)])]}),o(Se,{class:"shop"},Ue(se=r.value.map((J,q)=>o(ke,{id:`shop-char-${q}`,frozen:N.value.includes(q),character:J==null?void 0:J,isSelected:i.value===q,isShop:!0,isDragging:F.value,onClick:ie=>{J!=null&&(i.value=i.value===q?null:q,s.value=null,ie.stopPropagation())},onDragstart:()=>{F.value=!0,s.value=null,i.value=q},onDragend:()=>{F.value=!1,s.value=null,i.value=null}},null)))?se:{default:()=>[se]})]}),$e(Ee)])}),lives:e,wins:t,turn:A,gold:a,team:n,shop:r,selectedCharacter:s,selectedShopItem:i,findingMatch:c,showingOutcome:C,outcome:m,reset:w,battle:k,frozen:N,playClicked:E,prepareMove:ae,particles:Ee,queue:y,showRefreshAnim:S}});let bt=0;te.on("update",e=>{if(v.wins.value>=5){if(bt+=e,bt>=1){bt=0;const t=v.particles.boundingRect.value;if(!t)return;v.particles.addEmitter($s).then(A=>{A.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),A.playOnceAndDestroy()})}}else bt=0});function lA(e){return t=>{var A,a,n,r,s,i,c;v.selectedCharacter.value!=null&&v.selectedCharacter.value!==e?((A=v.team.value[v.selectedCharacter.value])==null?void 0:A.type)===((a=v.team.value[e])==null?void 0:a.type)&&((r=(n=v.team.value[v.selectedCharacter.value])==null?void 0:n.exp)!=null?r:0)<6&&((i=(s=v.team.value[e])==null?void 0:s.exp)!=null?i:0)<6?(he("merge",v.selectedCharacter.value,e),v.selectedCharacter.value=null):(he("move",v.selectedCharacter.value,e),v.selectedCharacter.value=null):v.selectedCharacter.value===e?v.selectedCharacter.value=null:v.selectedShopItem.value!==null?((v.team.value[e]==null||v.team.value[e].type===((c=v.shop.value[v.selectedShopItem.value])==null?void 0:c.type)&&v.team.value[e].exp<6)&&v.gold.value>=3&&he("buy",v.selectedShopItem.value,e),v.selectedShopItem.value=null):v.selectedCharacter.value=e,t==null||t.stopPropagation()}}const ei=e=>[v],RA=D(()=>!1);function ti(e,t){}var Ai=Object.freeze(Object.defineProperty({__proto__:null,characters:W,main:v,getInitialLayers:ei,hasWon:RA,fixOldSave:ti},Symbol.toStringTag,{value:"Module"}));const ft=I(!1),zt=I(""),et=I(""),tt=I(""),uA=fA(),Ye=I(),At=I("");function he(e,...t){var A;!ft.value||(A=Ye.value)==null||A.emit(e,...t)}te.on("loadSettings",e=>{Ge(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),be(()=>e.server,t=>{Ye.value&&Ye.value.close(),Ye.value=ta(t),ai(Ye.value),ft.value=!1,At.value="",Ye.value.connect()},{immediate:!0}),Tn(L(()=>o(Y,null,[o(mt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),o("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[ft.value?o("span",null,[p("Connected!")]):At.value?o("span",{style:"color: red"},[At.value]):o("span",null,[p("Connecting...")])])])))});function Ie(e){var a;const t=v.particles.boundingRect.value;if(!t)return;const A=(a=v.nodes.value[e])==null?void 0:a.rect;A&&v.particles.addEmitter(Jr).then(n=>{n.updateOwnerPos(A.x+A.width/2-t.x,A.y+A.height/2-t.y),n.playOnceAndDestroy()})}function ai(e){e.on("connect",()=>{At.value="",ft.value=!0,v.reset.reset(),et.value="",tt.value="",P.privateRoomName&&e.emit("change room",P.privateRoomName,P.privateRoomPassword)}),e.on("connect_error",t=>{At.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,A)=>{var a;At.value=A instanceof Error?`${A.name}: ${A.message}`:(a=A==null?void 0:A.description)!=null?a:t,ft.value=!1}),e.on("server version",t=>{ea(x.versionNumber,t)||(uA.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{uA.info(t),t==="Failed to start streaming"&&(v.findingMatch.value=!1)}),e.on("nickname",t=>{zt.value=t}),e.on("newTurn",t=>{v.gold.value=10,v.turn.value++,v.battle.value=null,v.shop.value=t.map(A=>({type:A,relevancy:W[A].initialRelevancy,presence:W[A].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((A,a)=>a),setTimeout(()=>{t.forEach((A,a)=>Ie(`shop-char-${a}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{v.gold.value--,v.shop.value=t.map(A=>({type:A,relevancy:W[A].initialRelevancy,presence:W[A].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((A,a)=>a),setTimeout(()=>{t.forEach((A,a)=>Ie(`shop-char-${a}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("buy",(t,A,a)=>{v.team.value[A]=a,v.shop.value[t]=null,v.gold.value-=3,Ie(`shop-char-${t}`),Ie(`team-char-${A}`),v.frozen.value.includes(t)&&(v.frozen.value=v.frozen.value.filter(n=>n!==t))}),e.on("move",(t,A)=>{const a=v.team.value[t];v.team.value[t]=v.team.value[A],v.team.value[A]=a,Ie(`team-char-${t}`),Ie(`team-char-${A}`)}),e.on("merge",(t,A,a)=>{var i,c;const n=(c=(i=v.team.value[A])==null?void 0:i.exp)!=null?c:0,r=n>=6?3:n>=3?2:1,s=a.exp>=6?3:a.exp>=3?2:1;v.team.value[t]=null,v.team.value[A]=a,Ie(`team-char-${t}`),Ie(`team-char-${A}`),W[a.type].abilityType==="LevelUp"&&r!==s&&setTimeout(()=>W[a.type].performAbility(a),1250)}),e.on("stream",(t,A)=>{let a=!1;v.team.value.forEach(n=>{n!=null&&W[n.type].abilityType==="StreamStarted"&&(a=!0,W[n.type].performAbility(n))}),a?setTimeout(()=>cA(t,A)):cA(t,A)}),e.on("sell",t=>{const A=v.team.value[t];let a;A.exp>=6?a=3:A.exp>=3?a=2:a=1,v.gold.value+=a,v.team.value[t]=null,Ie(`team-char-${t}`),W[A.type].abilityType==="Sold"&&setTimeout(()=>W[A.type].performAbility(A),500)}),e.on("freeze",t=>{v.frozen.value.includes(t)?v.frozen.value=v.frozen.value.filter(A=>A!==t):v.frozen.value.push(t)}),e.on("room",t=>{v.reset.reset(),et.value=t,tt.value=""}),e.on("room failed",t=>{et.value="",tt.value=t})}function cA(e,t){v.findingMatch.value=!1,v.battle.value={team:JSON.parse(JSON.stringify(v.team.value.filter(A=>A!=null))),streamers:[],enemyTeam:e.team,enemyStreamers:[],enemyNickname:e.nickname,enemyLives:e.lives,enemyWins:e.wins,enemyTurn:e.turn,ranLivestreamEnded:!1},v.outcome.value=t,v.showingOutcome.value=!1,v.playClicked.value=!1,setTimeout(v.prepareMove,1e3)}const ni=g("h2",null,"Settings",-1),ri={key:1,style:{color:"red"}};var si=z({__name:"Options",setup(e,{expose:t}){const A=I(!1),a=I("behaviour");function n(C){return C==a.value}function r(C){a.value=C}t({isTab:n,setTab:r,save:le,open(){A.value=!0}});const s=D(()=>ge(L(()=>o(Y,null,[MA.map($e)])))),{privateRoomName:i,privateRoomPassword:c}=Qe(P);function m(){tt.value="",he("change room",P.privateRoomName,P.privateRoomPassword)}return(C,h)=>(f(),R(De,{modelValue:A.value,"onUpdate:modelValue":h[2]||(h[2]=E=>A.value=E)},{header:_(()=>[ni]),body:_(()=>[(f(),R(ne(l(s)))),o(mt,{title:"Private room name",modelValue:l(i),"onUpdate:modelValue":h[0]||(h[0]=E=>ce(i)?i.value=E:null)},null,8,["modelValue"]),o(mt,{title:"Private room PW",password:!0,modelValue:l(c),"onUpdate:modelValue":h[1]||(h[1]=E=>ce(c)?c.value=E:null)},null,8,["modelValue"]),g("div",null,"Currently in: "+V(l(et)?l(et):"Public lobby")+".",1),l(et)!==l(i)?(f(),b("button",{key:0,class:"button",style:{padding:"1em"},onClick:m},"Connect to "+V(l(i)||"Public Lobby"),1)):U("",!0),l(tt)?(f(),b("div",ri,V(l(tt)),1)):U("",!0)]),_:1},8,["modelValue"]))}});const ii={class:"field"},oi={key:0,class:"field-title"},li=z({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var s;const A=e,a=Pt(Pe(A,"title"),"span"),n=I((s=A.options.find(i=>i.value===A.modelValue))!=null?s:null);be(Pe(A,"modelValue"),i=>{var c;pe(n)!==i&&(n.value=(c=A.options.find(m=>m.value===i))!=null?c:null)});function r(i){t("update:modelValue",i.value)}return(i,c)=>(f(),b("div",ii,[l(a)?(f(),b("span",oi,[(f(),R(ne(l(a))))])):U("",!0),o(l(ia),{options:e.options,modelValue:n.value,"onUpdate:modelValue":[c[0]||(c[0]=m=>n.value=m),r],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const ui={key:0},ci=["onClick","disabled"],gi={key:0},di=["onClick"],mi=z({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const a=Qe(e),n=I(!1);be(n,i=>{t("confirmingChanged",i)});function r(){if(l(a.skipConfirm)){t("click");return}n.value&&t("click"),n.value=!n.value}function s(){n.value=!1}return(i,c)=>(f(),b("span",{class:H(["container",{confirming:n.value}])},[n.value?(f(),b("span",ui,"Are you sure?")):U("",!0),g("button",{onClick:ut(r,["stop"]),class:"button danger",disabled:e.disabled},[n.value?(f(),b("span",gi,"Yes")):ye(i.$slots,"default",{key:1},void 0,!0)],8,ci),n.value?(f(),b("button",{key:1,class:"button",onClick:ut(s,["stop"])},"No",8,di)):U("",!0)],2))}});var fi=K(mi,[["__scopeId","data-v-2f8ef34c"]]);const vi=["onClick"],hi=z({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const A=I(!1),a=I(null);function n(){t("click"),a.value&&clearTimeout(a.value),A.value=!1,_e(()=>{A.value=!0,a.value=setTimeout(()=>A.value=!1,500)})}return(r,s)=>(f(),b("button",{onClick:ut(n,["stop"]),class:H(["feedback",{activated:A.value,left:e.left}])},[ye(r.$slots,"default",{},void 0,!0)],10,vi))}});var pi=K(hi,[["__scopeId","data-v-01a1b95c"]]);const Ne=e=>(Me("data-v-c3447434"),e=e(),Je(),e),Ci=Ne(()=>g("div",{class:"handle material-icons"},"drag_handle",-1)),Ei={key:0,class:"actions"},yi=Ne(()=>g("span",{class:"material-icons"},"content_paste",-1)),bi=Ne(()=>g("span",{class:"material-icons"},"content_copy",-1)),Bi=Ne(()=>g("span",{class:"material-icons"},"edit",-1)),Qi=Ne(()=>g("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),Ii={key:1,class:"actions"},Ni=Ne(()=>g("span",{class:"material-icons"},"check",-1)),wi=Ne(()=>g("span",{class:"material-icons"},"close",-1)),Si={key:2,class:"details"},ki={class:"save-version"},Ui=Ne(()=>g("br",null,null,-1)),Ti={key:0},_i={key:3,class:"details"},Pi={key:4,class:"details error"},Mi=Ne(()=>g("br",null,null,-1)),Ji=z({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const A=e,{save:a}=Qe(A),n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),r=I(!1),s=I(!1),i=I("");be(r,()=>{var h;return i.value=(h=a.value.name)!=null?h:""});const c=D(()=>a.value!=null&&a.value.id===O.id),m=D(()=>{var h;return c.value?O.time:(h=a.value!=null&&a.value.time)!=null?h:0});function C(){t("editName",i.value),r.value=!1}return(h,E)=>(f(),b("div",{class:H(["save",{active:l(c)}])},[Ci,r.value?(f(),b("div",Ii,[g("button",{onClick:C,class:"button"},[o(j,{display:"Save",direction:l(Z).Left,class:"info"},{default:_(()=>[Ni]),_:1},8,["direction"])]),g("button",{onClick:E[5]||(E[5]=y=>r.value=!r.value),class:"button"},[o(j,{display:"Cancel",direction:l(Z).Left,class:"info"},{default:_(()=>[wi]),_:1},8,["direction"])])])):(f(),b("div",Ei,[l(a).error==null&&!s.value?(f(),R(pi,{key:0,onClick:E[0]||(E[0]=y=>t("export")),class:"button",left:""},{default:_(()=>[o(j,{display:"Export",direction:l(Z).Left,class:"info"},{default:_(()=>[yi]),_:1},8,["direction"])]),_:1})):U("",!0),l(a).error==null&&!s.value?(f(),b("button",{key:1,onClick:E[1]||(E[1]=y=>t("duplicate")),class:"button"},[o(j,{display:"Duplicate",direction:l(Z).Left,class:"info"},{default:_(()=>[bi]),_:1},8,["direction"])])):U("",!0),l(a).error==null&&!s.value?(f(),b("button",{key:2,onClick:E[2]||(E[2]=y=>r.value=!r.value),class:"button"},[o(j,{display:"Edit Name",direction:l(Z).Left,class:"info"},{default:_(()=>[Bi]),_:1},8,["direction"])])):U("",!0),o(fi,{disabled:l(c),onClick:E[3]||(E[3]=y=>t("delete")),onConfirmingChanged:E[4]||(E[4]=y=>s.value=y)},{default:_(()=>[o(j,{display:"Delete",direction:l(Z).Left,class:"info"},{default:_(()=>[Qi]),_:1},8,["direction"])]),_:1},8,["disabled"])])),l(a).error==null&&!r.value?(f(),b("div",Si,[g("button",{class:"button open",onClick:E[6]||(E[6]=y=>t("open"))},[g("h3",null,V(l(a).name),1)]),g("span",ki,"v"+V(l(a).modVersion),1),Ui,l(m)?(f(),b("div",Ti,"Last played "+V(l(n).format(l(m))),1)):U("",!0)])):l(a).error==null&&r.value?(f(),b("div",_i,[o(mt,{modelValue:i.value,"onUpdate:modelValue":E[7]||(E[7]=y=>i.value=y),class:"editname",onSubmit:C},null,8,["modelValue"])])):(f(),b("div",Pi,[p(" Error: Failed to load save with id "+V(l(a).id),1),Mi,p(V(l(a).error),1)]))],2))}});var Di=K(Ji,[["__scopeId","data-v-c3447434"]]);const Ht=e=>(Me("data-v-5b5b1604"),e=e(),Je(),e),qi=Ht(()=>g("h2",null,"Saves Manager",-1)),Fi={class:"modal-footer"},Vi={class:"field"},Ri=Ht(()=>g("span",{class:"field-title"},"Create Save",-1)),Oi={class:"field-buttons"},zi={class:"footer"},xi=Ht(()=>g("div",{style:{"flex-grow":"1"}},null,-1)),Gi=z({__name:"SavesManager",setup(e,{expose:t}){const A=I(!1),a=I(null);t({open(){A.value=!0}});const n=I(!1),r=I(""),s=I(null);be(r,B=>{B?_e(()=>{try{if(B[0]!=="{")if(B[0]==="e")B=decodeURIComponent(escape(atob(B)));else if(B[0]==="\u1BE1")B=Te.decompressFromUTF16(B);else{console.warn("Unable to determine preset encoding",B),n.value=!0;return}const w=JSON.parse(B);if(typeof w!="object"){n.value=!0;return}const F=Bt();w.id=F,le(w),r.value="",n.value=!1,P.saves.push(F)}catch{n.value=!0}}):n.value=!1});let i={},c=I(Object.keys(i).reduce((B,w)=>(B.push({label:w.split("/").slice(-1)[0].slice(0,-4),value:i[w]}),B),[]));const m=Gt({});function C(B){if(m[B]==null){let w=localStorage.getItem(B);if(w==null)m[B]={error:"Save doesn't exist in localStorage",id:B};else if(w==="dW5kZWZpbmVk")m[B]={error:"Save is undefined",id:B};else try{if(w[0]!=="{")if(w[0]==="e")w=decodeURIComponent(escape(atob(w)));else if(w[0]==="\u1BE1")w=Te.decompressFromUTF16(w);else return console.warn("Unable to determine preset encoding",w),n.value=!0,m[B]={error:"Unable to determine preset encoding",id:B},m[B];m[B]={...JSON.parse(w),id:B}}catch(F){m[B]={error:F,id:B},console.warn(`SavesManager: Failed to load info about save with id ${B}: -${F} -${w}`)}}return m[B]}be(A,B=>{B&&Object.keys(m).forEach(w=>delete m[w])});const h=D(()=>P.saves.reduce((B,w)=>(B[w]=C(w),B),{}));function E(B){let w;switch(O.id===B?w=IA(O):w=JSON.stringify(h.value[B]),x.exportEncoding){default:console.warn(`Unknown save encoding: ${x.exportEncoding}. Defaulting to lz`);case"lz":w=Te.compressToUTF16(w);break;case"base64":w=btoa(unescape(encodeURIComponent(w)));break;case"plain":break}const F=document.createElement("textarea");F.value=w,document.body.appendChild(F),F.select(),F.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(F)}function y(B){O.id===B&&le();const w={...h.value[B],id:Bt()};le(w),P.saves.push(w.id)}function N(B){P.saves=P.saves.filter(w=>w!==B),localStorage.removeItem(B),m[B]=void 0}function S(B){h.value[O.id].time=O.time,le(),m[O.id]=void 0,xe(h.value[B]),m[B]=void 0}function k(B){if(s.value=B,_e(()=>{s.value=null}),B[0]!=="{")if(B[0]==="e")B=decodeURIComponent(escape(atob(B)));else if(B[0]==="\u1BE1")B=Te.decompressFromUTF16(B);else{console.warn("Unable to determine preset encoding",B);return}const w=JSON.parse(B);w.id=Bt(),le(w),P.saves.push(w.id),S(w.id)}function $(B,w){const F=h.value[B];F!=null&&(F.name=w,O.id===B?(O.name=w,le()):(le(F),m[B]=void 0))}return(B,w)=>(f(),R(De,{modelValue:A.value,"onUpdate:modelValue":w[4]||(w[4]=F=>A.value=F),ref_key:"modal",ref:a},{header:_(()=>[qi]),body:_(({shown:F})=>[F?(f(),R(l(sa),{key:0,list:l(P).saves,handle:".handle",itemKey:ae=>ae},{item:_(({element:ae})=>[o(Di,{save:l(h)[ae],onOpen:Ee=>S(ae),onExport:Ee=>E(ae),onEditName:Ee=>$(ae,Ee),onDuplicate:Ee=>y(ae),onDelete:Ee=>N(ae)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):U("",!0)]),footer:_(()=>[g("div",Fi,[o(mt,{modelValue:r.value,"onUpdate:modelValue":w[0]||(w[0]=F=>r.value=F),title:"Import Save",placeholder:"Paste your save here!",class:H({importingFailed:n.value})},null,8,["modelValue","class"]),g("div",Vi,[Ri,g("div",Oi,[g("button",{class:"button",onClick:w[1]||(w[1]=F=>S(l(Ze)().id))},"New Game"),Object.keys(l(c)).length>0?(f(),R(li,{key:0,options:l(c),modelValue:s.value,"onUpdate:modelValue":w[2]||(w[2]=F=>k(F)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):U("",!0)])]),g("div",zi,[xi,g("button",{class:"button modal-default-button",onClick:w[3]||(w[3]=F=>A.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var OA=K(Gi,[["__scopeId","data-v-5b5b1604"]]);const de=e=>(Me("data-v-d43b25a6"),e=e(),Je(),e),Ki=["src","alt"],Li={key:1,class:"title"},Xi=de(()=>g("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Yi={class:"discord"},Wi={class:"discord-links"},ji={key:0},Hi=["href"],Zi=de(()=>g("li",null,[g("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),$i=de(()=>g("li",null,[g("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),eo={href:"https://forums.moddingtree.com/",target:"_blank"},to=de(()=>g("span",{class:"material-icons"},"forum",-1)),Ao=de(()=>g("span",{class:"material-icons"},"info",-1)),ao=de(()=>g("span",{class:"material-icons"},"help",-1)),no=de(()=>g("span",{class:"material-icons"},"settings",-1)),ro=de(()=>g("span",{class:"material-icons"},"settings",-1)),so=de(()=>g("span",{class:"material-icons"},"info",-1)),io={href:"https://forums.moddingtree.com/",target:"_blank"},oo=de(()=>g("span",{class:"material-icons"},"forum",-1)),lo={class:"discord"},uo={class:"discord-links"},co={key:0},go=["href"],mo=de(()=>g("li",null,[g("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),fo=de(()=>g("li",null,[g("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),vo=z({__name:"Nav",setup(e){const t=I(null),A=I(null),a=I(null),n=I(null),{useHeader:r,banner:s,title:i,discordName:c,discordLink:m,versionNumber:C}=x;function h(){window.open(m,"mywindow")}return(E,y)=>(f(),b(Y,null,[l(r)?(f(),b("div",at({key:0,class:"nav"},E.$attrs),[l(s)?(f(),b("img",{key:0,src:l(s),class:"banner",alt:l(i)},null,8,Ki)):(f(),b("div",Li,V(l(i)),1)),g("div",{onClick:y[0]||(y[0]=N=>{var S;return(S=n.value)==null?void 0:S.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:l(Z).Down,class:"version"},{default:_(()=>[g("span",null,"v"+V(l(C)),1)]),_:1},8,["direction"])]),Xi,g("div",Yi,[g("span",{onClick:h,class:"material-icons"},"discord"),g("ul",Wi,[l(m)?(f(),b("li",ji,[g("a",{href:l(m),target:"_blank"},V(l(c)),9,Hi)])):U("",!0),Zi,$i])]),g("div",null,[g("a",eo,[o(j,{display:"Forums",direction:l(Z).Down,yoffset:"5px"},{default:_(()=>[to]),_:1},8,["direction"])])]),g("div",{onClick:y[1]||(y[1]=N=>{var S;return(S=t.value)==null?void 0:S.open()})},[o(j,{display:"Info",direction:l(Z).Down,class:"info"},{default:_(()=>[Ao]),_:1},8,["direction"])]),g("div",{onClick:y[2]||(y[2]=()=>l(P).showTutorial=!0)},[o(j,{display:"Help",direction:l(Z).Down,class:"info"},{default:_(()=>[ao]),_:1},8,["direction"])]),g("div",{onClick:y[3]||(y[3]=N=>{var S;return(S=a.value)==null?void 0:S.open()})},[o(j,{display:"Settings",direction:l(Z).Down,xoffset:"-66px"},{default:_(()=>[no]),_:1},8,["direction"])])],16)):(f(),b("div",at({key:1,class:"overlay-nav"},E.$attrs),[g("div",{onClick:y[4]||(y[4]=N=>{var S;return(S=n.value)==null?void 0:S.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:l(Z).Right,xoffset:"25%",class:"version"},{default:_(()=>[g("span",null,"v"+V(l(C)),1)]),_:1},8,["direction"])]),g("div",{onClick:y[5]||(y[5]=N=>{var S;return(S=a.value)==null?void 0:S.open()})},[o(j,{display:"Settings",direction:l(Z).Right},{default:_(()=>[ro]),_:1},8,["direction"])]),g("div",{onClick:y[6]||(y[6]=N=>{var S;return(S=t.value)==null?void 0:S.open()})},[o(j,{display:"Info",direction:l(Z).Right},{default:_(()=>[so]),_:1},8,["direction"])]),g("div",null,[g("a",io,[o(j,{display:"Forums",direction:l(Z).Right,xoffset:"7px"},{default:_(()=>[oo]),_:1},8,["direction"])])]),g("div",lo,[g("span",{onClick:h,class:"material-icons"},"discord"),g("ul",uo,[l(m)?(f(),b("li",co,[g("a",{href:l(m),target:"_blank"},V(l(c)),9,go)])):U("",!0),mo,fo])])],16)),o(Er,{ref_key:"info",ref:t,changelog:n.value},null,8,["changelog"]),o(OA,{ref_key:"savesManager",ref:A},null,512),o(si,{ref_key:"options",ref:a},null,512),o(tr,{ref_key:"changelog",ref:n},null,512)],64))}});var zA=K(vo,[["__scopeId","data-v-d43b25a6"]]);const ho={class:"inner-tab"},po=z({__name:"Game",setup(e){const t=Pe(O,"tabs"),A=D(()=>Object.keys(Ae)),a=x.useHeader;function n(r){const{display:s,minimized:i,name:c,color:m,minimizable:C,nodes:h,minimizedDisplay:E}=r;return{display:s,minimized:i,name:c,color:m,minimizable:C,nodes:h,minimizedDisplay:E}}return(r,s)=>(f(),b("div",{class:H(["tabs-container",{useHeader:l(a)}])},[(f(!0),b(Y,null,dA(l(t),(i,c)=>{var m,C;return f(),b("div",{key:c,class:H(["tab",l((m=l(Ae)[i])==null?void 0:m.classes)]),style:Be(l((C=l(Ae)[i])==null?void 0:C.style))},[c===0&&!l(a)?(f(),R(zA,{key:0})):U("",!0),g("div",ho,[l(A).includes(i)?(f(),R(Hn,at({key:0},n(l(Ae)[i]),{index:c,onSetMinimized:h=>l(Ae)[i].minimized.value=h}),null,16,["index","onSetMinimized"])):(f(),R(ne(i),{key:1,index:c},null,8,["index"]))])],6)}),128))],2))}});var Co=K(po,[["__scopeId","data-v-3e0f1aab"]]);const Eo={class:"field"},yo=z({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const A=e,a=D(()=>{var r;return ge((r=l(A.title))!=null?r:"","span")}),n=D({get(){return!!A.modelValue},set(r){t("update:modelValue",r)}});return(r,s)=>(f(),b("label",Eo,[Kt(g("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":s[0]||(s[0]=i=>ce(n)?n.value=i:null)},null,512),[[jA,l(n)]]),(f(),R(ne(l(a))))]))}});var xt=K(yo,[["__scopeId","data-v-11046116"]]);const pt=e=>(Me("data-v-4a50ce42"),e=e(),Je(),e),bo={class:"game-over-modal-header"},Bo=["src","alt"],Qo={class:"game-over-modal-title"},Io=pt(()=>g("h2",null,"Congratulations!",-1)),No={key:0},wo=pt(()=>g("br",null,null,-1)),So=pt(()=>g("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),ko=pt(()=>g("br",null,null,-1)),Uo=["href"],To=pt(()=>g("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),_o=z({__name:"GameOverScreen",setup(e){const{title:t,logo:A,discordName:a,discordLink:n,versionNumber:r,versionTitle:s}=x,i=D(()=>Lt(O.timePlayed)),c=D(()=>RA.value&&!O.keepGoing),m=Pe(O,"autosave");function C(){O.keepGoing=!0}function h(){xe(Ze())}return(E,y)=>(f(),R(De,{"model-value":l(c)},{header:_(()=>[g("div",bo,[l(A)?(f(),b("img",{key:0,class:"game-over-modal-logo",src:l(A),alt:l(t)},null,8,Bo)):U("",!0),g("div",Qo,[Io,g("h4",null,"You've beaten "+V(l(t))+" v"+V(l(r))+": "+V(l(s)),1)])])]),body:_(({shown:N})=>[N?(f(),b("div",No,[g("div",null,"It took you "+V(l(i))+" to beat the game.",1),wo,So,ko,g("div",null,[g("a",{href:l(n),class:"game-over-modal-discord-link"},[To,p(" "+V(l(a)),1)],8,Uo)]),o(xt,{title:"Autosave",modelValue:l(m),"onUpdate:modelValue":y[0]||(y[0]=S=>ce(m)?m.value=S:null)},null,8,["modelValue"])])):U("",!0)]),footer:_(()=>[g("div",{class:"game-over-footer"},[g("button",{onClick:C,class:"button"},"Keep Going"),g("button",{onClick:h,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var Po=K(_o,[["__scopeId","data-v-4a50ce42"]]);const Mt=e=>(Me("data-v-336bf74f"),e=e(),Je(),e),Mo=Mt(()=>g("div",{class:"nan-modal-header"},[g("h2",null,"NaN value detected!")],-1)),Jo={key:0},Do=Mt(()=>g("br",null,null,-1)),qo=["href"],Fo=Mt(()=>g("span",{class:"material-icons nan-modal-discord"},"discord",-1)),Vo=Mt(()=>g("br",null,null,-1)),Ro={class:"nan-footer"},Oo=z({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:A}=x,a=I(!0),n=I(!0),r=Pe(ee,"hasNaN"),s=I(null);be(r,E=>{E?(a.value=O.autosave,n.value=O.devSpeed===0):(O.autosave=a.value,O.devSpeed=n.value?0:null)});const i=D(()=>{var E;return(E=ee.NaNPath)==null?void 0:E.join(".")}),c=D(()=>ee.NaNPersistent!=null?ee.NaNPersistent.value:null);function m(){ee.NaNPersistent!=null&&(ee.NaNPersistent.value=new Q(0),ee.hasNaN=!1)}function C(){ee.NaNPersistent&&(ee.NaNPersistent.value=new Q(1),ee.hasNaN=!1)}function h(){ee.NaNPersistent&&(ee.NaNPersistent.value=new Q(NaN),ee.hasNaN=!1)}return(E,y)=>(f(),b(Y,null,[o(De,at({modelValue:l(r),"onUpdate:modelValue":y[4]||(y[4]=N=>ce(r)?r.value=N:null)},E.$attrs),{header:_(()=>[Mo]),body:_(()=>[g("div",null,[p(' Attempted to assign "'+V(l(i))+'" to NaN',1),l(c)?(f(),b("span",Jo,V(" ")+"(previously "+V(l(BA)(l(c)))+")",1)):U("",!0),p(". Auto-saving has been "+V(a.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),Do,g("div",null,[g("a",{href:l(A)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[Fo,p(" "+V(l(t)||"The Paper Pilot Community"),1)],8,qo)]),Vo,o(xt,{title:"Autosave",modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=N=>a.value=N)},null,8,["modelValue"]),l(x).enablePausing?(f(),R(xt,{key:0,title:"Pause game",modelValue:n.value,"onUpdate:modelValue":y[1]||(y[1]=N=>n.value=N)},null,8,["modelValue"])):U("",!0)]),footer:_(()=>[g("div",Ro,[g("button",{onClick:y[2]||(y[2]=N=>{var S;return(S=s.value)==null?void 0:S.open()}),class:"button"},"Open Saves Manager"),g("button",{onClick:m,class:"button"},"Set to 0"),g("button",{onClick:C,class:"button"},"Set to 1"),l(c)&&l(Q).neq(l(c),0)&&l(Q).neq(l(c),1)?(f(),b("button",{key:0,onClick:y[3]||(y[3]=N=>r.value=!1),class:"button"}," Set to previous ")):U("",!0),g("button",{onClick:h,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),o(OA,{ref_key:"savesManager",ref:s},null,512)],64))}});var zo=K(Oo,[["__scopeId","data-v-336bf74f"]]);const xo=p("Information");var Go=z({__name:"App",setup(e){const t=x.useHeader,A=D(()=>ht[P.theme].variables);Pe(P,"showTPS");const a=Pe(P,"showTutorial"),n=D(()=>ge(L(()=>o(Y,null,[Pn.map($e)])))),r=Ln({general:()=>({display:"General",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("Have you ever played Super Auto Pets? Great, then you already know the basics! I'd suggest checking out the Livestream tab because it's quite different!"),o("br",null,null),o("br",null,null),p("For those unfamiliar with SAP, this is a game in which you'll manage a team of Coots that have a series of livestream battles with other player's teams of Coots. You win the game by winning 5 "),o("img",{src:Xn},null),o("span",{style:"color: cadetblue"},[p("trophies")]),p(" before losing all 3 "),o("img",{src:Oe},null),o("span",{style:"color: red"},[p("lives")]),p(".")]))}),managing:()=>({display:"Managing",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("Before each battle you get the opportunity to prepare. You have 3 slots for Coots, and you can buy more using the shop at the bottom of the screen. Purchasing Coots costs "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("moguls")]),p(", which is a currency you receive 10 of during the management phase. Any unspent "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("moguls")]),p(" are lost. Each Coots costs 3 "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("moguls")]),p(", and you can reroll the shop for 1 "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("mogul")]),p("."),o("br",null,null),o("br",null,null),p("You can also merge your Coots to increase their stats and level them up. Coots have an ability that grows stronger as they level up.")]))}),livestream:()=>({display:"Livestream",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("In a livestream battle, your goal is to get more views than your opponent. Each team will add their Coots to their livestreams together, one at a time. Abilities will also activate throughout the stream as appropriate."),o("br",null,null),o("br",null,null),p("Each Coots has two stats- "),o("img",{src:Oe},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" and "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(". The view count is based on the product of those two stats, and then summed between each Coots on the stream. Be careful if either stat becomes 0 or lower, that streamer won't contribute to your view count."),o("br",null,null),o("br",null,null),p("You can press play to perform a single action and see what the next will be, or select autoplay to automatically perform the whole match. If this is your first time playing, I'd suggest leaving autoplay off.")]))}),multiplayer:()=>({display:"Multiplayer",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("By default you are going to be playing in a shared lobby with all other players. If you'd like to play with a specific group of friends, there's an option to join a room in the settings."),o("br",null,null),o("br",null,null),p("Also, be warned that the game has no account system and if you lose your connection to the server you'll automatically start a new game. Sorry!")]))})},()=>({classes:{tutorial:!0}})),s=ge(L(()=>JA(r)));return(i,c)=>(f(),b(Y,null,[g("div",{id:"modal-root",style:Be(l(A))},null,4),g("div",{class:H(["app",{useHeader:l(t)}]),style:Be(l(A))},[l(t)?(f(),R(zA,{key:0})):U("",!0),o(Co),o(Po),o(zo),(f(),R(ne(l(n)))),o(De,{modelValue:l(a),"onUpdate:modelValue":c[0]||(c[0]=m=>ce(a)?a.value=m:null)},{header:_(()=>[xo]),body:_(()=>[(f(),R(ne(l(s))))]),_:1},8,["modelValue"])],6)],64))}});var Ko=K(Go,[["__scopeId","data-v-2d9bd813"]]);function Lo(e={}){const{immediate:t=!1,onNeedRefresh:A,onOfflineReady:a,onRegistered:n,onRegisterError:r}=e;let s,i;const c=async(m=!0)=>{m&&(s==null||s.addEventListener("controlling",C=>{C.isUpdate&&window.location.reload()})),i&&i.waiting&&await la(i.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){s=new oa("./sw.js",{scope:"./",type:"classic"}),s.addEventListener("activated",m=>{m.isUpdate||a==null||a()});{const m=()=>{A==null||A()};s.addEventListener("waiting",m),s.addEventListener("externalwaiting",m)}s.register({immediate:t}).then(m=>{i=m,n==null||n(m)}).catch(m=>{r==null||r(m)})}return c}function Xo(e={}){const{immediate:t=!0,onNeedRefresh:A,onOfflineReady:a,onRegistered:n,onRegisterError:r}=e,s=I(!1),i=I(!1);return{updateServiceWorker:Lo({immediate:t,onNeedRefresh(){s.value=!0,A==null||A()},onOfflineReady(){i.value=!0,a==null||a()},onRegistered:n,onRegisterError:r}),offlineReady:i,needRefresh:s}}document.title=x.title;window.projInfo=x;if(x.id==="")throw"Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json";requestAnimationFrame(async()=>{console.log(`%cMade in Profectus%c -Learn more at www.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await wn();const{globalBus:e}=await Qt(()=>Promise.resolve().then(function(){return ln}),void 0),{startGameLoop:t}=await Qt(()=>import("./gameLoop.06acf317.js"),["assets/gameLoop.06acf317.js","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"]),A=window.vue=HA(Ko);e.emit("setupVue",A),A.mount("#app"),_e(()=>{const a=fA(),{updateServiceWorker:n}=Xo({onNeedRefresh(){a.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(){n()}})},onOfflineReady(){a.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(r){r&&setInterval(()=>r.update(),60*60*1e3)}})}),t()});export{Q as D,Qt as _,ee as a,x as b,Ai as c,te as g,Sn as l,O as p,P as s}; +Trying to pop ${A.id}`;ve.pop(),X(A,"color"),X(A,"display"),X(A,"classes"),X(A,"style"),X(A,"name"),Ge(A,"name",A.id),X(A,"minWidth"),Ge(A,"minWidth",600),X(A,"minimizable"),Ge(A,"minimizable",!0),X(A,"minimizedDisplay");const n=A.style;return A.style=F(()=>{var s,i;let r=l(A.minWidth);return(typeof r=="number"||!Number.isNaN(parseInt(r)))&&(r=r+"px"),[(s=l(n))!=null?s:"",(i=A.minimized)!=null&&i.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:r,flexBasis:r,margin:""}]}),A})}function kA(e,t){if(console.info("Adding layer",e.id),Ae[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,Ae[e.id]);return}Ge(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),Ae[e.id]=e,te.emit("addLayer",e,t.layers[e.id])}function dn(e){return Ae[e]}function _A(e){console.info("Removing layer",e.id),te.emit("removeLayer",e),Ae[e.id]=void 0}function mn(e){_A(e),kA(e,D)}function fn(e){const t=I(!1);return{openModal:()=>t.value=!0,modal:L(()=>o(Fe,{modelValue:t.value,"onUpdate:modelValue":A=>t.value=A},{header:()=>o("h2",null,[l(e.name)]),body:l(e.display)}))}}te.on("update",function(t){Object.values(Ae).forEach(A=>{A==null||A.emit("preUpdate",t)}),Object.values(Ae).forEach(A=>{A==null||A.emit("update",t)}),Object.values(Ae).forEach(A=>{A==null||A.emit("postUpdate",t)})});var vn=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Yt,UnregisterNodeInjectionKey:Wt,NodesInjectionKey:wA,BoundsInjectionKey:SA,layers:Ae,persistentRefs:He,addingLayers:ve,createLayer:UA,addLayer:kA,getLayer:dn,removeLayer:_A,reloadLayer:mn,setupLayerModal:fn},Symbol.toStringTag,{value:"Module"}));var K=(e,t)=>{const A=e.__vccOpts||e;for(const[a,n]of t)A[a]=n;return A};const hn=z({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var C;const A=I({}),a=new ResizeObserver(i),n=I(null);Ut(()=>{const h=n.value;h!=null&&a.observe(h)});let r=!0,s=I((C=n.value)==null?void 0:C.getBoundingClientRect());function i(){r&&(r=!1,Te(()=>{var h;s.value=(h=n.value)==null?void 0:h.getBoundingClientRect(),Object.values(A.value).filter(E=>E).forEach(E=>E.rect=E.element.getBoundingClientRect()),t("updateNodes",A.value),r=!0}))}te.on("fontsLoaded",i);const c={attributes:!1,childList:!0,subtree:!1};Ct(Yt,(h,E)=>{const b=new MutationObserver(()=>m(h));b.observe(E,c),A.value[h]={element:E,observer:b,rect:E.getBoundingClientRect()},i()}),Ct(Wt,h=>{var E;(E=A.value[h])==null||E.observer.disconnect(),A.value[h]=void 0,i()}),Ct(wA,A),Ct(SA,s);function m(h){const E=A.value[h];E!=null&&(E.rect=E.element.getBoundingClientRect(),t("updateNodes",A.value))}return(h,E)=>(f(),y(Y,null,[be(h.$slots,"default",{},void 0,!0),g("div",{ref_key:"resizeListener",ref:n,class:"resize-listener"},null,512)],64))}});var TA=K(hn,[["__scopeId","data-v-2b1dc1bc"]]);const pn=["onPointerdown"],Cn={class:"modal-wrapper"},En={class:"modal-container"},bn={class:"modal-header"},yn=p(" default header "),Bn={class:"modal-body"},Qn=p(" default body "),In={class:"modal-footer"},Nn=g("div",{class:"modal-default-flex-grow"},null,-1),Fe=z({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:A}){const n=Qe(e),r=F(()=>l(n.modelValue)||i.value);function s(){A("update:modelValue",!1)}const i=I(!1),c=I(null),m=F(()=>{var C,h;return(h=(C=c.value)==null?void 0:C.nodes)!=null?h:null});return t({isOpen:r,nodes:m}),(C,h)=>(f(),R(KA,{to:"#modal-root"},[o(gA,{name:"modal",onBeforeEnter:h[0]||(h[0]=E=>i.value=!0),onAfterLeave:h[1]||(h[1]=E=>i.value=!1)},{default:T(()=>[Kt(g("div",at({class:"modal-mask",onPointerdown:ut(s,["self"])},C.$attrs),[g("div",Cn,[g("div",En,[g("div",bn,[be(C.$slots,"header",{shown:l(r)},()=>[yn])]),g("div",Bn,[o(TA,{ref_key:"contextRef",ref:c},{default:T(()=>[be(C.$slots,"body",{shown:l(r)},()=>[Qn])]),_:3},512)]),g("div",In,[be(C.$slots,"footer",{shown:l(r)},()=>[g("div",{class:"modal-default-footer"},[Nn,g("button",{class:"button modal-default-button",onClick:s}," Close ")])])])])])],16,pn),[[GA,e.modelValue]])]),_:3})]))}});const qe={variables:{"--foreground":"#dfdfdf","--background":"#0f0f0f","--feature-foreground":"#0f0f0f","--tooltip-background":"rgba(0, 0, 0, 0.75)","--raised-background":"#0f0f0f","--points":"#ffffff","--locked":"#bf8f8f","--highlighted":"#333","--bought":"#77bf5f","--danger":"rgb(220, 53, 69)","--link":"#02f2f2","--outline":"#dfdfdf","--accent1":"#627a82","--accent2":"#658262","--accent3":"#7c6282","--border-radius":"15px","--modal-border":"solid 2px var(--color)","--feature-margin":"0px"},floatingTabs:!0,mergeAdjacent:!0,showPin:!0};var jt=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(jt||{}),ht={classic:qe,paper:{...qe,variables:{...qe.variables,"--background":"#2a323d","--feature-foreground":"#000","--raised-background":"#333c4a","--locked":"#3a3e45","--bought":"#5C8A58","--outline":"#333c4a","--border-radius":"4px","--modal-border":"","--feature-margin":"5px"},floatingTabs:!1},nordic:{...qe,variables:{...qe.variables,"--foreground":"#45283c","--background":"#bbc3e8","--feature-foreground":"#fff7f6","--raised-background":"#fff7f6","--points":"#45283c","--locked":"#fff7f6","--highlighted":"#434c5e","--bought":"#fff7f6","--danger":"#D08770","--link":"#8423a9","--outline":"#551842","--accent1":"#dc7d71","--accent2":"#8423a9","--accent3":"#47f2ca","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...qe,variables:{...qe.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};function MA(e={}){return Object.assign({id:`${x.id}-0`,name:"Default Save",tabs:x.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:x.id,modVersion:x.versionNumber,layers:{}},e)}function le(e){const t=_e.compressToUTF16(IA(e!=null?e:D));return localStorage.setItem((e!=null?e:D).id,t),t}async function wn(){kn();try{let e=localStorage.getItem(M.active);if(e==null){await xe(Ze());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=_e.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==x.id){await xe(Ze());return}t.id=M.active,await xe(t)}catch(e){console.error(`Failed to load save. Falling back to new save. +`,e),await xe(Ze())}}function Ze(){const e=Bt(),t=MA({id:e});return le(t),M.saves.push(e),t}function Bt(){let e,t=0;do e=`${x.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const Sn=I(!1);async function xe(e){console.info("Loading save",e),Sn.value=!0;const{layers:t,removeLayer:A,addLayer:a}=await Qt(()=>Promise.resolve().then(function(){return vn}),void 0),{fixOldSave:n,getInitialLayers:r}=await Qt(()=>Promise.resolve().then(function(){return Ai}),void 0);for(const s in t){const i=t[s];i&&A(i)}r(e).forEach(s=>a(s,e)),e=MA(e),e.offlineProd&&e.time!=null&&e.time&&e.devSpeed!==0&&(e.offlineTime==null&&(e.offlineTime=0),e.offlineTime+=Math.min(e.offlineTime+(Date.now()-e.time)/1e3,x.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==x.versionNumber&&(n(e.modVersion,e),e.modVersion=x.versionNumber),Object.assign(D,e),M.active=D.id,te.emit("onLoad")}setInterval(()=>{D.autosave&&le()},1e3);window.onbeforeunload=()=>{D.autosave&&le()};window.save=le;const Un=window.hardReset=async()=>{await xe(Ze())};window.deleteLowerSaves=()=>{const e=Object.values(M.saves).indexOf(D.id)+1;Object.values(M.saves).slice(e).forEach(t=>localStorage.removeItem(t)),M.saves=M.saves.slice(0,e)};const dt=vt({active:"",saves:[],showTPS:!0,theme:jt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1,showTutorial:!0,privateRoomName:"",privateRoomPassword:""});ye(dt,e=>{const t=_e.compressToUTF16(JSON.stringify(e));localStorage.setItem(x.id,t)},{deep:!0});var M=window.settings=dt;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:jt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};te.emit("loadSettings",e),Object.assign(dt,e),Un()};function kn(){try{let e=localStorage.getItem(x.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=_e.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(dt,t)}te.emit("loadSettings",dt)}catch{}}const PA=vt([]);function _n(e){PA.push(e)}const Tn=vt([]),Mn=vt([]),Pn={class:"table"},iA=z({__name:"Column",setup(e){const t=F(()=>ht[M.theme].mergeAdjacent);return(A,a)=>(f(),y("div",Pn,[g("div",{class:H(["col",{mergeAdjacent:l(t)}])},[be(A.$slots,"default")],2)]))}}),Jn={class:"table"},Se=z({__name:"Row",setup(e){const t=F(()=>ht[M.theme].mergeAdjacent);return(A,a)=>(f(),y("div",Jn,[g("div",{class:H(["row",{mergeAdjacent:l(t)}])},[be(A.$slots,"default")],2)]))}});function ge(e,t="span"){return typeof e=="function"?z({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),z({template:e})):z({render:()=>({})}):e}function $e(e){if(lt(e))return typeof e=="function"?e():ge(e);const t=e[ct];return o(t,e[_t](),null)}function JA(e){if(lt(e))return typeof e=="function"?e():typeof e=="string"?o(Y,null,[e]):o(e,null,null);const t=e[ct];return o(t,e[_t](),null)}function lt(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[Nt]===!0}function FA(e,t="div"){const A=Ce();return kt(()=>{A.value=ge(pe(e),t)}),A}function Mt(e,t="div"){const A=Ce(null);return kt(()=>{const a=pe(e);A.value=a==""||a==null?null:ge(a,t)}),A}function pe(e){return l(l(e))}function G(...e){return e.includes(Object)||e.push(Object),e}te.on("setupVue",e=>e.use(ZA));function Fn(e="white",t="8px"){return{transform:"scale(1.05, 1.05)",borderColor:"rgba(0, 0, 0, 0.125)",boxShadow:`-4px -4px 4px rgba(0, 0, 0, 0.25) inset, 0 0 ${t} ${e}`,zIndex:1}}const Vn=z({props:{visibility:{type:G(Number,Boolean),required:!0},display:{type:G(Object,String,Function),required:!0},style:G(String,Object,Array),classes:G(Object),glowColor:G(String),active:Boolean,floating:Boolean},emits:["selectTab"],setup(e,{emit:t}){const{display:A,glowColor:a,floating:n}=Qe(e),r=FA(A),s=F(()=>{const c=pe(a);return c==null||c===""?{}:l(n)?Fn(c):{boxShadow:`0px 9px 5px -6px ${c}`}});function i(){t("selectTab")}return{selectTab:i,component:r,glowColorStyle:s,unref:l,Visibility:gt,isVisible:wt,isHidden:QA}}});function On(e,t,A,a,n,r){var s;return e.isVisible(e.visibility)?(f(),y("button",{key:0,onClick:t[0]||(t[0]=(...i)=>e.selectTab&&e.selectTab(...i)),class:H(["tabButton",{active:e.active,...e.unref(e.classes)}]),style:Be([{visibility:e.isHidden(e.visibility)?"hidden":void 0},e.glowColorStyle,(s=e.unref(e.style))!=null?s:{}])},[(f(),R(ne(e.component)))],6)):k("",!0)}var VA=K(Vn,[["render",On],["__scopeId","data-v-485cbefe"]]);const qn=z({__name:"Sticky",setup(e){const t=I("0"),A=new ResizeObserver(n),a=Ce(null);function n(){let r=a.value;if(r==null)return;let s=0;for(;r.previousSibling;){const i=r.previousSibling;i.dataset&&"vSticky"in i.dataset&&(s+=i.offsetHeight),r=i}t.value=s+"px"}return Te(n),document.fonts.ready.then(n),Ut(()=>{var s;const r=(s=a.value)==null?void 0:s.parentElement;r&&A.observe(r)}),(r,s)=>(f(),y("div",{class:"sticky",style:Be({top:t.value}),ref_key:"element",ref:a,"data-v-sticky":""},[be(r.$slots,"default",{},void 0,!0)],4))}});var Rn=K(qn,[["__scopeId","data-v-cccac690"]]);const Dn=z({props:{visibility:{type:G(Number,Boolean),required:!0},activeTab:{type:G(Object),required:!0},selected:{type:Object,required:!0},tabs:{type:G(Object),required:!0},style:G(String,Object,Array),classes:G(Object),buttonContainerStyle:G(String,Object,Array),buttonContainerClasses:G(Object)},components:{Sticky:Rn,TabButton:VA},setup(e){const{activeTab:t}=Qe(e),A=F(()=>ht[M.theme].floatingTabs),a=Ce("");kt(()=>{const i=pe(t);if(i==null){a.value="";return}if(lt(i)){a.value=ge(i);return}a.value=ge(l(i.display))});const n=F(()=>{const i=pe(t);return lt(i)||!i?void 0:l(i.classes)}),r=F(()=>{const i=pe(t);return lt(i)||!i?void 0:l(i.style)});function s(i){const{display:c,style:m,classes:C,glowColor:h,visibility:E}=i;return{display:c,style:l(m),classes:C,glowColor:h,visibility:E}}return{floating:A,tabClasses:n,tabStyle:r,Visibility:gt,component:a,gatherButtonProps:s,unref:l,isVisible:wt,isHidden:QA}}});function zn(e,t,A,a,n,r){var c,m;const s=Ot("TabButton"),i=Ot("Sticky");return e.isVisible(e.visibility)?(f(),y("div",{key:0,class:H(["tab-family-container",{...e.unref(e.classes),...e.tabClasses}]),style:Be([{visibility:e.isHidden(e.visibility)?"hidden":void 0},(c=e.unref(e.style))!=null?c:[],(m=e.tabStyle)!=null?m:[]])},[o(i,{class:H(["tab-buttons-container",e.unref(e.buttonContainerClasses)]),style:Be(e.unref(e.buttonContainerStyle))},{default:T(()=>[g("div",{class:H(["tab-buttons",{floating:e.floating}])},[(f(!0),y(Y,null,dA(e.unref(e.tabs),(C,h)=>(f(),R(s,at({onSelectTab:E=>e.selected.value=h,floating:e.floating,key:h,active:e.unref(C.tab)===e.unref(e.activeTab)},e.gatherButtonProps(C)),null,16,["onSelectTab","floating","active"]))),128))],2)]),_:1},8,["class","style"]),e.unref(e.activeTab)?(f(),R(ne(e.unref(e.component)),{key:0})):k("",!0)],6)):k("",!0)}var xn=K(Dn,[["render",zn],["__scopeId","data-v-58dbf83a"]]);const Gn=Symbol("TabButton"),Kn=Symbol("TabFamily");function Ln(e,t){if(Object.keys(e).length===0)throw console.warn("Cannot create tab family with 0 tabs"),"Cannot create tab family with 0 tabs";const A=NA(Object.keys(e)[0],!1);return Tt(()=>{var r;const a=(r=t==null?void 0:t())!=null?r:{};a.id=Xt("tabFamily-"),a.type=Kn,a[ct]=xn,a.tabs=Object.keys(e).reduce((s,i)=>{const c=e[i]();return c.type=Gn,c[ct]=VA,X(c,"visibility"),Ge(c,"visibility",gt.Visible),X(c,"tab"),X(c,"display"),X(c,"classes"),X(c,"style"),X(c,"glowColor"),s[i]=c,s},{}),a.selected=A,a.activeTab=F(()=>{const s=l(n.tabs);if(A.value in s&&wt(s[A.value].visibility))return l(s[A.value].tab);const i=Object.values(s).find(c=>wt(c.visibility));return i?l(i.tab):null}),X(a,"visibility"),Ge(a,"visibility",gt.Visible),X(a,"classes"),X(a,"style"),X(a,"buttonContainerClasses"),X(a,"buttonContainerStyle"),a[_t]=function(){const{visibility:s,activeTab:i,selected:c,tabs:m,style:C,classes:h,buttonContainerClasses:E,buttonContainerStyle:b}=this;return{visibility:s,activeTab:i,selected:c,tabs:m,style:l(C),classes:h,buttonContainerClasses:E,buttonContainerStyle:b}};const n=a;return n})}var De="./assets/heart_small.5a26b7f7.png",Xe="./assets/presence_small.bbe534cd.png",Xn="./assets/wins_small.a33d849a.png",We="./assets/money_small.0e39b4dc.png";const Yn=z({components:{Context:TA},props:{index:{type:Number,required:!0},display:{type:G(Object,String,Function),required:!0},minimizedDisplay:G(Object,String,Function),minimized:{type:Object,required:!0},name:{type:G(String),required:!0},color:G(String),minimizable:G(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:A,minimized:a,minimizedDisplay:n}=Qe(e),r=FA(t),s=Mt(n),i=F(()=>x.allowGoBack&&A.value>0&&!pe(a));function c(){D.tabs.splice(l(e.index),1/0)}function m(C){e.nodes.value=C}return{component:r,minimizedComponent:s,showGoBack:i,updateNodes:m,unref:l,goBack:c}}}),Wn={key:1};function jn(e,t,A,a,n,r){const s=Ot("Context");return f(),y("div",{class:"layer-container",style:Be({"--layer-color":e.unref(e.color)})},[e.showGoBack?(f(),y("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...i)=>e.goBack&&e.goBack(...i))},"\u274C")):k("",!0),e.unref(e.minimized)?(f(),y("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=i=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(f(),R(ne(e.minimizedComponent),{key:0})):(f(),y("div",Wn,q(e.unref(e.name)),1))])):(f(),y("div",{key:2,class:H(["layer-tab",{showGoBack:e.showGoBack}])},[o(s,{onUpdateNodes:e.updateNodes},{default:T(()=>[(f(),R(ne(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(f(),y("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=i=>e.$emit("setMinimized",!0))}," \u25BC ")):k("",!0)],4)}var Hn=K(Yn,[["render",jn],["__scopeId","data-v-a592996e"]]);const OA=e=>(Pe("data-v-4b4bda40"),e=e(),Je(),e),Zn=OA(()=>g("h2",null,"Changelog",-1)),$n=OA(()=>g("details",{open:""},[g("summary",null,[p("v0.0 Initial Commit - "),g("time",null,"2021-09-04")]),p(" This is the first release :D "),g("ul",null,[g("li",{class:"feature"},"Did everything"),g("li",{class:"fix"},"Had some fun"),g("li",{class:"breaking"},"Removed everything"),g("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),er=z({__name:"Changelog",setup(e,{expose:t}){const A=I(!1);return t({open(){A.value=!0}}),(a,n)=>(f(),R(Fe,{modelValue:A.value,"onUpdate:modelValue":n[0]||(n[0]=r=>A.value=r)},{header:T(()=>[Zn]),body:T(()=>[$n]),_:1},8,["modelValue"]))}});var tr=K(er,[["__scopeId","data-v-4b4bda40"]]),Ar=z({props:{element:Object,display:{type:G(Object,String,Function),required:!0},style:G(Object,String,Array),classes:G(Object),direction:G(String),xoffset:G(String),yoffset:G(String),pinned:Object},setup(e){const{element:t,display:A,pinned:a}=Qe(e),n=I(!1),r=F(()=>(pe(a)||n.value)&&s.value),s=Mt(A),i=Ce(ge(L(()=>{const C=pe(t);return C==null?"":JA(C)})));function c(C){const h=a;C.shiftKey&&h&&(h.value=!h.value,C.stopPropagation(),C.preventDefault())}const m=F(()=>pe(a)&&ht[M.theme].showPin);return{Direction:Z,isHovered:n,isShown:r,comp:s,elementComp:i,unref:l,togglePinned:c,showPin:m}}});const ar={key:0,class:"material-icons pinned"};function nr(e,t,A,a,n,r){return f(),y("div",{class:H(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=s=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=s=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...s)=>e.togglePinned&&e.togglePinned(...s))},[be(e.$slots,"default",{},void 0,!0),e.elementComp?(f(),R(ne(e.elementComp),{key:0})):k("",!0),o(gA,{name:"fade",css:!!e.comp},{default:T(()=>{var s;return[e.isShown?(f(),y("div",{key:0,class:H(["tooltip",{top:e.unref(e.direction)===e.Direction.Up,left:e.unref(e.direction)===e.Direction.Left,right:e.unref(e.direction)===e.Direction.Right,bottom:e.unref(e.direction)===e.Direction.Down,...e.unref(e.classes)}]),style:Be([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(s=e.unref(e.style))!=null?s:{}])},[e.showPin?(f(),y("span",ar,"push_pin")):k("",!0),e.comp?(f(),R(ne(e.comp),{key:1})):k("",!0)],6)):k("",!0)]}),_:1},8,["css"])],34)}var j=K(Ar,[["render",nr],["__scopeId","data-v-7a579aa7"]]);const Ke=e=>(Pe("data-v-5d3cb6f4"),e=e(),Je(),e),rr={class:"info-modal-header"},sr=["src","alt"],ir={class:"info-modal-title"},or={key:0},lr={key:0},ur={key:0},cr=Ke(()=>g("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),gr=Ke(()=>g("br",null,null,-1)),dr=Ke(()=>g("br",null,null,-1)),mr=["href"],fr=Ke(()=>g("span",{class:"material-icons info-modal-discord"},"discord",-1)),vr=Ke(()=>g("div",null,[g("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[g("span",{class:"material-icons info-modal-discord"},"discord"),p(" The Paper Pilot Community ")])],-1)),hr=Ke(()=>g("div",null,[g("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[g("span",{class:"material-icons info-modal-discord"},"discord"),p(" The Modding Tree ")])],-1)),pr=Ke(()=>g("br",null,null,-1));var Cr=z({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const A=e,{title:a,logo:n,author:r,discordName:s,discordLink:i,versionNumber:c,versionTitle:m}=x,C=Qe(A),h=I(!1),E=F(()=>Lt(D.timePlayed)),b=F(()=>ge(L(()=>o(Y,null,[Tn.map($e)]))));t({open(){h.value=!0}});function N(){var S;(S=l(C.changelog))==null||S.open()}return(S,U)=>(f(),R(Fe,{modelValue:h.value,"onUpdate:modelValue":U[0]||(U[0]=$=>h.value=$)},{header:T(()=>[g("div",rr,[l(n)?(f(),y("img",{key:0,class:"info-modal-logo",src:l(n),alt:l(a)},null,8,sr)):k("",!0),g("div",ir,[g("h2",null,q(l(a)),1),g("h4",null,[p(" v"+q(l(c)),1),l(m)?(f(),y("span",or,": "+q(l(m)),1)):k("",!0)])])])]),body:T(({shown:$})=>[$?(f(),y("div",lr,[l(r)?(f(),y("div",ur,"By "+q(l(r)),1)):k("",!0),cr,gr,g("div",{class:"link",onClick:N},"Changelog"),dr,g("div",null,[l(i)?(f(),y("a",{key:0,href:l(i),class:"info-modal-discord-link",target:"_blank"},[fr,p(" "+q(l(s)),1)],8,mr)):k("",!0)]),vr,hr,pr,g("div",null,"Time Played: "+q(l(E)),1),(f(),R(ne(l(b))))])):k("",!0)]),_:1},8,["modelValue"]))}});var Er=K(Cr,[["__scopeId","data-v-5d3cb6f4"]]);const br=["onSubmit"],yr={class:"field"},Br={key:0,class:"field-title"},Qr=["type","placeholder"],Ir=z({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean},password:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const A=e,a=Mt(Me(A,"title"),"span"),n=Ce(null);Ut(()=>{var c;(c=n.value)==null||c.focus()});const r=F({get(){var c;return(c=l(A.modelValue))!=null?c:""},set(c){t("update:modelValue",c)}});function s(){t("submit")}function i(){A.submitOnBlur!==!1?t("submit"):t("cancel")}return(c,m)=>(f(),y("form",{onSubmit:ut(s,["prevent"])},[g("div",yr,[l(a)?(f(),y("span",Br,[(f(),R(ne(l(a))))])):k("",!0),e.textArea?(f(),R(l($A),{key:1,modelValue:l(r),"onUpdate:modelValue":m[0]||(m[0]=C=>ce(r)?r.value=C:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:i,ref_key:"field",ref:n},null,8,["modelValue","placeholder","maxHeight"])):Kt((f(),y("input",{key:2,type:e.password==!0?"password":"text","onUpdate:modelValue":m[1]||(m[1]=C=>ce(r)?r.value=C:null),placeholder:e.placeholder,class:H({fullWidth:!e.title}),onBlur:i,ref_key:"field",ref:n},null,42,Qr)),[[LA,l(r)]])])],40,br))}});var mt=K(Ir,[["__scopeId","data-v-26e25f6a"]]);const Nr={min:.25,max:.5},wr=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Sr=.01,Ur=.1,kr=100,_r=!0,Tr={x:0,y:0},Mr=!1,Pr=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveSpeed",config:{speed:{list:[{time:0,value:100},{time:1,value:0}]},minMult:1}},{type:"scale",config:{scale:{list:[{time:0,value:2},{time:1,value:.5}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#FFC000"},{time:1,value:"#FFDF00"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var Jr={lifetime:Nr,ease:wr,frequency:Sr,emitterLifetime:Ur,maxParticles:kr,addAtBack:_r,pos:Tr,emit:Mr,behaviors:Pr};vA.registerPlugin(Aa);aa.registerPlugin("batch",na);var Fr=z({props:{style:G(String,Object,Array),classes:G(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=Ce(null),A=new ResizeObserver(r),a=Ce(null);Ut(()=>{var i,c;const s=a.value;s!=null&&(A.observe(s),t.value=new vA({resizeTo:s,backgroundAlpha:0}),(i=a.value)==null||i.appendChild(t.value.view),(c=e.onInit)==null||c.call(e,t.value)),r(),e.onHotReload&&Te(e.onHotReload)}),XA(()=>{var s;(s=t.value)==null||s.destroy()});let n=!0;function r(){n&&(n=!1,Te(()=>{var s;a.value!=null&&((s=e.onContainerResized)==null||s.call(e,a.value.getBoundingClientRect())),n=!0}))}return te.on("fontsLoaded",r),{unref:l,resizeListener:a}}});function Vr(e,t,A,a,n,r){return f(),y("div",{ref:"resizeListener",class:H(["resize-listener",e.unref(e.classes)]),style:Be(e.unref(e.style))},null,6)}var Or=K(Fr,[["render",Vr],["__scopeId","data-v-0b99a6fc"]]);const qr=Symbol("Particles");function Rr(e){return Tt(()=>{var n,r;const t=(n=e==null?void 0:e())!=null?n:{};t.id=Xt("particles-"),t.type=qr,t[ct]=Or,t.app=Ce(null),t.addEmitter=s=>{const i=t;return i.app.value?Promise.resolve(new $t(i.app.value.stage,s)):new Promise(c=>{A.push({resolve:c,config:s})})};let A=[];function a(s){const i=t;i.app.value=s,A.forEach(({resolve:c,config:m})=>c(new $t(s.stage,m))),A=[]}return t.onContainerResized=(r=t.onContainerResized)==null?void 0:r.bind(t),t[_t]=function(){const{id:s,style:i,classes:c,onContainerResized:m,onHotReload:C}=this;return{id:s,style:l(i),classes:c,onContainerResized:m,onHotReload:C,onInit:a}},t})}window.upgradeConfig=ra;const Dr=Symbol("Reset");function zr(e){return Tt(()=>{const t=e();return t.id=Xt("reset-"),t.type=Dr,t.reset=function(){var n;const A=r=>{if(r!=null&&typeof r=="object")if(nt in r){const s=r;s.value=s[nt]}else!(r instanceof Q)&&!ce(r)&&Object.values(r).forEach(s=>A(s))},a=l(t.thingsToReset);Vt(a)?a.forEach(A):A(a),te.emit("reset",t),(n=t.onReset)==null||n.call(t)},X(t,"thingsToReset"),t})}const bt={};te.on("removeLayer",e=>{var t;(t=bt[e.id])==null||t.call(bt),bt[e.id]=void 0});var xr="./assets/autoplay.c48a90c0.png",Gr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAEgCAYAAAC926RRAAAAAXNSR0IArs4c6QAAB7pJREFUeJzt3bFuFFcYhuF1REGkFCndpLBSIEoaLmBF4dqSrdRIkUJFDdSQmiaJUnABtuSaItr0NJSIInLrC6BIR4oEJcHn2Du7s3Nm5nuecjHLYQ37+sz8O7NYAAAAAAAAAAAAAAAAAAAAAAAALe21XsC6jveXxceP7t0vPn7+9s3HXa4H4Oje/eJ76PnbN8WvP7tc7XQ9XX3RegEAtCEAAKEEACCUAACEEgCAULdaL2BdXad9Ti/Od7oegJODo+L7T206aPG2/DytpoPsAABCCQBAKAEACCUAAKEE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uq7Tl7tH1PTuXk6fa9PVU7VLUiVYvywdFXmuOL23dcw+yubvfdfS3NH3/92hzX9izPCkA0ASCaABBNAIgmAESb+Tf4sVqgzXv7WqDKw9sea47/+Mu3Xc/pddfifV0//+XpTwb53LXa9lSsAEQTAKIJANEEgGgCQLS5a4F6T2Bd+ueh5vj5H9rv/HrzpW+6nj91VTuU1vZUrABEEwCiCQDRBIBoAkC0mZ8Iq1qFuh1qn8Cq2qH113/VHF/cXs1onBbo1Y+ONsdf3LN3pp978423N8d73/BemXprZAUgmgAQTQCIJgBEEwCijfam+KHaoep+nrFUbU91om2odqja81O1QL3tUKX6e02lHbICEE0AiCYARBMAogkA0UZrgXpPilW3HD+19+Wuz63aj1699/bMm7fef3qQ5/TuKZq3dsgKQDQBIJoAEE0AiCYARButBRrKUO/Aqtqh3ran2sMz1omw6t1hXGEFIJoAEE0AiCYARBMAos3VvoyFheH2CM267RlL9W6yqu2pboHuPflVmfot01YAogkA0QSAaAJANAEg2tztBeq/L2iYNmPe9LY9var2ptdU2p6KFYBoAkA0ASCaABBNAIg2dy1QZah2qLoPZ3H7jpVObSaWtrRvwz5+4nBzfNfO/V3Pn3p7MxQrANEEgGgCQDQBIJoAEG3NNgG97VD1JvpeVXvTq2p7elXt0NRPcg3FCkA0ASCaABBNAIgmAESbzF6geVO1PUOdtKraqqHaIa6wAhBNAIgmAEQTAKIJANG0QCtU7R1a2tTXDg110k07tDJWAKIJANEEgGgCQDQBINqabYH625W+e3g2bt660qld43y0PavBCkA0ASCaABBNAIgmAERbsy3QrF04e6Y5XrU05X1ExR6hod7w7v6f5VkBiCYARBMAogkA0QSAaJqA/8z6TfRDtTHVPCvanuVZAYgmAEQTAKIJANEEgGgagqvobV0q2pj5ZAUgmgAQTQCIJgBEEwAAAAAAAAAAAAAm71+GfXJS6hdsVQAAAABJRU5ErkJggg==",Zr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAB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bnYAogmAaAIgmgCIJgCiLeadLtV7aapve3WnOtV0qDK3b4dVT361f6+wL8vbAYgmAKIJgGgCIJoAiLaYs0DVFKI7HarMbapTqaY9XWnTnoodgGgCIJoAiCYAogmAaIuZAlUuejrUNdWUpqs682Pacz47ANEEQDQBEE0ARBMA0RY/BZqb7hNY7JYdgGgCIJoAiCYAogmAaKZA/1H1Ta7q7E15nR2914hTdgCiCYBoAiCaAIgmAKIJgGgCIJoAiCYAogmAaAIgmrNAZ6r3+Vy+cnXLd8I22QGIJgCiCYBoAiCaAIhmCvQPqulQ9cRW9YRX90mxru79VG/PTntrtB2AaAIgmgCIJgCiCYBoUX/xbzYX/+2w7je55nY/aewARBMA0QRANAEQTQBEMwk4U01juqaarsztftbKDkA0ARBNAEQTANEEAAAAAAAAAAAAwOL9DQsGFzoD+UY/AAAAAElFTkSuQmCC",oA="./assets/Play Again.46203d64.png",$r="./assets/play.0f2f487f.png",es="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABklJREFUeJzt3T9oXWUYx/F7tQq1QSuGQAcrUUqxRDt0Kb0WU5BG1EGqgn+iNIt/0MHSIXToFKF0qotEHGps0yIaxUHFG0Qj6a0OdqiIUgKCdSiEChpScVCuQ7fyPKZPeN+8557f9zM+nJ57Gvjxwo/3vKfRAAAAAAAAAAAAAAAAAFAHzdIPcL263cvdyPXNZn/P/N9Qzg2lHwAoiQBAGgGANAIAaQQA0taVfoBreW1P69YXktzHk7s1ij5PFK3X6rACQBoBgDQCAGkEANIIAKQVa4GibU97/nDo/rlbo6jo80RVrfXqFawAkEYAII0AQBoBgDQCAGmV2wuUSu7WKOr05LI533z/SJL7p2q91NohVgBIIwCQRgAgjQBAGgGAtGItkNc25N4jNLJ7wpyf6bRC94m6+EM76/2jz+/9PdXaIVYASCMAkEYAII0AQBoBgLTK7QUq1Q41txww592FY6H7VI33/2o0Omv6HFXFCgBpBADSCACkEQBIIwCQVm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bA+tinu9ijtFfX6eI9QXbACwBoBgDUCAGsEANYIAKx1vAuk9n5kT4qpvT1VdV1qPurkV9bWLXF3RXVpZs7fGda3i/HVOOq5inq/rdG4u6W6PYNDuc+5LlgBYI0AwBoBgDUCAGsEANZqsxdIUV2Lqdkfwvr4jvjeG0V1P+bO/pga58QLuT08Wa3Rm8L62KaNYf1tsZdJfT7sBQIaiADAGgGANQIAawQA1mrfBVJdmourcXdicEidIIu7HKrbo7oupfYaKeq52a6OOummPgduhwYaiADAGgGANQIAawQA1mrfBVLUbcntldxeoFLyvxGWu01anRRT3Rutmd0ehRUA1ggArBEAWCMAsEYAYK02XaC7++MTXtVqXFe/4XWuP947pPbAqL032RNhpX4jLLs36YtTYhzR1VHq3u1RWAFgjQDAGgGANQIAawQA1rrWBSp1a/T00cnUc09O7km9Xt+H01tK3dvT1G6PwgoAawQA1ggArBEAWCMAsNZze4FKdYfmlg6HdXWPkOqiLMxfCOvqf45tAxvC+gfHxF+Q44g/+HklLA+KvUBYHysArBEAWCMAsEYAYI0AwFrt931ku0PKg8PHi8zn8+V7i4yjqHmq5zb1Pp9SWAFgjQDAGgGANQIAawQA1npuL1BWqb1DWdmui6LmU6orhfWxAsAaAYA1AgBrBADWCACs1b4LVEr/1dd0ewr/0mvzaSpWAFgjALBGAGCNAMAaAYA1AgBrBADWCACsEQBYIwCwRgBgjb1Alyz+cWvq9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",rs="./assets/start stream.dd66a6ec.png",ss="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAEgCAYAAAC926RRAAAAAXNSR0IArs4c6QAAB4ZJREFUeJzt3T9vU1ccx2GnYqASQ8csHaIOiJGFF2AxZLaUqDNSpTIx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KACCUAAAIJQAAQgkAgFACACDUZLqAfrz9XXF1+9Hh80+l46/fvOh2QMBkpe35U6MCAAglAABCCQCAUAIAIJQAAAjVaN+IIf1w+7B4/Pv9b4vHf/3rz2J3EMBUun1qe/48fvqweO1ePnnW6PwqAIBQAgAglAAACCUAAEIJAIBQk+kCAjjeXzbq7ptKt09NrQvo9OK8eO3e+/qbRudXAQCEEgAAoQQAQCgBABBKAACE0gU0E027I2CKpt7VU9N1t0+NCgAglAAACCUAAEIJAIBQAgAg1K2hB0BZ2p4nwHV//PZzp+dXAQCEEgAAoQQAQCgBABBKAACEshfQwGrdPrp6YH5qe/48fvqweC1ePnnW6XhUAAChBABAKAEAEEoAAIQSAACh7AXUE90+MF0fP7xv9PWPDp8Xj9e6fYaiAgAIJQAAQgkAgFACACCUAAAINaoV6TkYW7dP0+4F4LpaV09N026frvf8qVEBAIQSAAChBABAKAEAEEoAAITSBbTG6tXL4vFffvpdtw/MTNd7+AzV7VOjAgAIJQAAQgkAgFACACCUAAAI5Ylga+j2gfFruldPzdie2NU1FQBAKAEAEEoAAIQSAAChBABAqKgV75t4ktc/2uqmgD7Nda+erqkAAEIJAIBQAgAglAAACCUAAELZC2iNWjfOnbv3Oj1/W5p29ZxdrnSGBao9+W4otW6cpuNM6+ppSgUAEEoAAIQSAAChBABAKAEAEErHx79qewG9fvOi76FspdbtU9sjRXcEoAIACCUAAEIJAIBQAgAglAAACGUvoInR7QO0RQUAEEoAAIQSAAChBABAKAEAEEoX0Ezo9gGaUgEAhBIAAKEEAEAoAQAQSgAAhPJEsDWGelJYbc+fs8uV3xnQChUAQCgBABBKAACEEgAAoQQAQCgdJVuqdQe1RbcP0DUVAEAoAQAQSgAAhBIAAKEEAAAAAAAAAAAAAAAAAAAAAAAAAMAA/gYqFbxM9hYbZQAAAABJRU5ErkJggg==",ls="./assets/win face.8406df05.png";const us=z({__name:"Node",props:{id:null},setup(e){const A=Qe(e),a=Zt(Yt,()=>{}),n=Zt(Wt,()=>{}),r=Ce(null),s=F(()=>r.value&&r.value.parentElement);return ye([s,A.id],([i,c],[m,C])=>{m&&n(l(C)),i&&a(c,i)}),YA(()=>n(l(A.id))),(i,c)=>(f(),y("div",{class:"node",ref_key:"node",ref:r},null,512))}});var cs=K(us,[["__scopeId","data-v-a48cb382"]]),gs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10tzu9t/i7O9y5sF+dHP74U5w92D4rzZ9evNJ1fU7tv7e/VDg2zAYgmAEQTAKIJANEEgGhr3wL10tr21Ly4dbvLObXrq63Rp69N53PMBiCaABBNAIgmAEQTAKLFtUCff30vzl9+LF//ZKdPO1TT2vb0ui/HbACiCQDRBIBoAkA0ASBaXAt07dzF4rzWDk0ml4vTXi1N6zneBerLBiCaABBNAIgmAEQTAKL9t9+G6fW9oFo79Hz3TnHe692e2vWHb46K89cfXhXnvv8zzAYgmgAQTQCIJgBEEwCixTUE69IOaXtWwwYgmgAQTQCIJgBEEwCixTUHGxubxfl8/n6Udujpu7fF+eOzZ4rz2c95ca4dOhkbgGgCQDQBIJoAEE0AiKYh+IvWd4da1dqb2vmHW+eLc+3QydgARBMAogkA0QSAaAJAtLivQ7eqtSW1dmjZHu3cLM5nlf8gY5gNQDQBIJoAEE0AiCYARPM+yIq0vlM0u7tXnPteUF82ANEEgGgCQDQBIJoAEE1DMLLWdkjb05cNQDQBIJoAEE0AiCYARNMc/KNq7ZC2py8bgGgCQDQBIJoAEE0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACDOH2CUp5gTyjFIAAAAAElFTkSuQmCC",ds="./assets/presence_v2.d5ab8334.png",ms="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAA2NJREFUeJzt3bFqVEEYBeCNSGoLCfgGdmkshCC+QBotrBQsRHt7X8FSMFoIWllok0ZQQ5AVCxtBEEQhYCGIqJWBNLFICov5N85ykzU531cOy2QgHH72cO/saAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACQaG7WBzistre/b8/6DH+bmzvpfzmFY7M+AMySABBNAIgmAEQTAKIdn/UB/ndV27M0d/WATzJZdU7t0GQmANEEgGgCQDQBIJoAEE0LtKu37VnbONVcn39+b7Az9ajOqR2azAQgmgAQTQCIJgBEEwCixbVA+932LF1bnu5g/+jOldXm+vh+e107NJkJQDQBIJoAEE0AiCYARItrgYZStT3j7Qf7+3eLVmd8vt0CMZkJQDQBIJoAEE0AiCYARNMCDaxsaTrbod57h96td32cXSYA0QSAaAJANAEgmgAQTQu0hw+32m9+jTd/N9e/vX3TXO9tdcabj7v2/7riWaBpmABEEwCiCQDRBIBoAkA0LdAeFlfabc9o/Vlz+cSXjeb601c3m+sLZ84Osv/o+sv2+sPb7XVGo5EJQDgBIJoAEE0AiCYARNMCTWmramMKZdsz0P6Vqn1ya/QOE4BoAkA0ASCaABBNAIh2ZFug3t8Cq97AqsxfvtFc33p0t2ufXr9OL+7r/mlMAKIJANEEgGgCQDQBINqhf75jsLaneAOreianaoGGUt3/U3q91t7nx8/m+sLyxeb6hXPtN8iq260P+zNCJgDRBIBoAkA0ASCaABDtyD4L1GuoN7BKRcv0fu1Fc71qaSpV28NkJgDRBIBoAkA0ASCaABBNC7RrqDe8qs9//PS5a59vq0+a673tUO/n05gARBMAogkA0QSAaAJANC3QHnrbod62p9dQ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4Xv2eZ2uHnABEEwCiCQDRBIBoAkC0g3kv0JdXHxfXzy8eL65XW5pWm1FtpVpa+99sltuV0e6++bC4/uDF8pNrb0+Xr1Od0ZqNE4BoAkA0ASCaABBNAIg2XQtUbWN2m1o71FJte9qtDofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const qA=e=>(Pe("data-v-61e2b6c0"),e=e(),Je(),e),bs=["ondragend","ondragenter","ondragleave","ondragover","ondrop"],ys={key:0,class:"move-indicator"},Bs=qA(()=>g("span",{class:"material-icons"},"straight",-1)),Qs=[Bs],Is={key:1,class:"move-indicator"},Ns=qA(()=>g("span",{class:"material-icons"},"merge",-1)),ws=[Ns],Ss={key:2,class:"character-display"},Us=["src"],ks={key:3,class:"relevancy-display"},_s=["src"],Ts={key:4,class:"presence-display"},Ms=["src"],Ps={key:5,class:"frozen"},Js=["src"],Fs={key:6,class:"level-display"},Vs=["src"],Os=["src"],qs=["src"],Rs=["src"],Ds=["src"],zs=["src"];var xs=z({__name:"CharacterSlot",props:{id:null,character:null,isSelected:{type:Boolean},isShop:{type:Boolean},isDragging:{type:Boolean},selected:null,shake:{type:Boolean},frozen:{type:Boolean}},emits:["dragstart","dragend","drop"],setup(e,{emit:t}){const A=e,a=I(!1),n=I(!1),r=I(void 0);function s(c){var m;a.value=!0,(m=c.dataTransfer)==null||m.setDragImage(r.value,0,0)}ye(a,c=>{t(c?"dragstart":"dragend")});const i=Ce("");return kt(()=>{if(A.character==null||A.selected!=null||a.value){i.value="";return}const c=ge(W[A.character.type].abilityDescription(A.character));i.value=L(()=>o(Y,null,[o("b",null,[W[A.character.type].nickname]),o("br",null,null),o(c,null,null)]))}),(c,m)=>(f(),R(j,{display:l(i),direction:l(Z).Up},{default:T(()=>{var C,h,E;return[g("div",{class:H(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:a.value,isDragging:e.isDragging,draggingOver:n.value,shake:e.shake}]),draggable:"true",ondragstart:s,ondragend:()=>a.value=!1,ondragenter:()=>n.value=!0,ondragleave:()=>n.value=!1,ondragover:b=>{var N;e.selected!=null&&!e.isShop&&(((N=e.character)==null?void 0:N.type)!==e.selected.type||e.isSelected)&&b.preventDefault(),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6&&b.preventDefault()},ondrop:()=>{n.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((C=e.character)==null?void 0:C.type)!==e.selected.type||e.isSelected)&&a.value===!1?(f(),y("span",ys,Qs)):k("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(f(),y("span",Is,ws)):k("",!0),e.character!=null?(f(),y("span",Ss,[g("img",{ref_key:"imageElement",ref:r,src:l(W)[e.character.type].display},null,8,Us)])):k("",!0),e.character!=null?(f(),y("span",ks,[g("img",{src:l(gs)},null,8,_s),g("span",null,q((h=e.character)==null?void 0:h.relevancy),1)])):k("",!0),e.character!=null?(f(),y("span",Ts,[g("img",{src:l(ds)},null,8,Ms),g("span",null,q((E=e.character)==null?void 0:E.presence),1)])):k("",!0),e.character!=null&&e.frozen?(f(),y("span",Ps,[g("img",{src:l(ms)},null,8,Js)])):k("",!0),e.character!=null?(f(),y("span",Fs,[e.character.exp===1?(f(),y("img",{key:0,src:l(fs)},null,8,Vs)):k("",!0),e.character.exp===2?(f(),y("img",{key:1,src:l(vs)},null,8,Os)):k("",!0),e.character.exp===3?(f(),y("img",{key:2,src:l(hs)},null,8,qs)):k("",!0),e.character.exp===4?(f(),y("img",{key:3,src:l(ps)},null,8,Rs)):k("",!0),e.character.exp===5?(f(),y("img",{key:4,src:l(Cs)},null,8,Ds)):k("",!0),e.character.exp===6?(f(),y("img",{key:5,src:l(Es)},null,8,zs)):k("",!0)])):k("",!0),e.id?(f(),R(cs,{key:7,id:e.id},null,8,["id"])):k("",!0)],10,bs)]}),_:1},8,["display","direction"]))}});var Ue=K(xs,[["__scopeId","data-v-61e2b6c0"]]);const Gs={min:1.5,max:2.5},Ks=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Ls=.001,Xs=.1,Ys=100,Ws=!0,js={x:0,y:0},Hs=!1,Zs=[{type:"alpha",config:{alpha:{list:[{time:0,value:.74},{time:1,value:0}]}}},{type:"moveAcceleration",config:{accel:{x:0,y:2e3},minStart:600,maxStart:600,rotate:!0}},{type:"scale",config:{scale:{list:[{time:0,value:.5},{time:1,value:.25}]},minMult:1}},{type:"color",config:{color:{list:[{time:0,value:"#962121"},{time:.5,value:"#214a96"},{time:1,value:"#4c2196"}]}}},{type:"rotation",config:{accel:0,minSpeed:0,maxSpeed:200,minStart:0,maxStart:360}},{type:"textureRandom",config:{textures:["particle.png"]}},{type:"spawnShape",config:{type:"torus",data:{radius:100,x:0,y:0}}}];var $s={lifetime:Gs,ease:Ks,frequency:Ls,emitterLifetime:Xs,maxParticles:Ys,addAtBack:Ws,pos:js,emit:Hs,behaviors:Zs};function ke(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!WA(e)}const W={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:Zr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",o("img",{src:De},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" damage to every character on a stream")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;v.battle.value.streamers.forEach(A=>A.relevancy-=t),v.battle.value.enemyStreamers.forEach(A=>A.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:Yr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(" for every character on that livestream")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;v.battle.value.streamers.includes(e)?e.presence+=t*v.battle.value.streamers.length:e.presence+=t*v.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:es,abilityType:"Sold",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Sold")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",o("img",{src:We},null),o("span",{style:"color: yellow"},[p("Mogul"),e.exp>=3?"s":""])])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;v.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:Wr,abilityType:"LevelUp",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Level up")]),p(": Every character gains "),e.exp>=3?2:1," ",o("img",{src:De},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" and "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")])])),performAbility(e){const t=e.exp>=6?2:1;v.team.value.forEach(A=>{A&&(A.relevancy+=t,A.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:jr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Summon a lv")," ",e.exp>=6?3:e.exp>=3?2:1,p(" Ludwig Coots with this character's"),o("img",{src:De},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" and "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(".")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1,A={type:"ludwig",exp:t===3?6:t===2?3:1,presence:e.presence,relevancy:e.relevancy};v.queue.value.push({action:"LivestreamJoined",target:A}),v.battle.value.streamers.includes(e)?v.battle.value.streamers.push(A):v.battle.value.enemyStreamers.push(A)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:ns,abilityType:"LivestreamEnded",abilityDescription:e=>L(()=>o(Y,null,[o("i",null,[p("Livestream ended")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",o("img",{src:De},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" for every character on either livestream with more "),o("img",{src:De},null),o("span",{style:"color: red"},[p("Relevancy")]),p(".")])),performAbility(e){if(v.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(v.battle.value.streamers.filter(A=>A.relevancyA.relevancyL(()=>o(Y,null,[o("i",null,[p("Stream started")]),p(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,p(" "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(" if you have 2 or more"),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("Moguls")]),p(".")])),performAbility(e){if(v.gold.value>=2){const t=e.exp>=6?3:e.exp>=3?2:1;e.presence+=t}}},vespa:{nickname:"Vespa Coots",initialRelevancy:1,initialPresence:1,display:is,abilityType:"LivestreamJoined",abilityDescription:()=>L(()=>o(Y,null,[o("i",null,[p("Livestream joined")]),p(": Set the character that most recently joined the enemy livestream's "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(" to 0. This effect does not improve on level up.")])),performAbility(e){v.battle.value!=null&&(v.battle.value.streamers.includes(e)?v.battle.value.enemyStreamers.length>0&&(v.battle.value.enemyStreamers[v.battle.value.enemyStreamers.length-1].presence=0):v.battle.value.streamers.length>0&&(v.battle.value.streamers[v.battle.value.streamers.length-1].presence=0))}}},v=UA("main",function(){const e=I(3),t=I(0),A=I(0),a=I(0),n=I([null,null,null]),r=I([]),s=I(null),i=I(null),c=I(!1),m=I(""),C=I(!1),h=I(!1),E=I(!1),b=I([]),N=I([]),S=I(!1),U=I(null),$=F(()=>U.value==null?0:U.value.streamers.reduce((re,se)=>re+Math.max(0,se.presence)*Math.max(0,se.relevancy),0)*100),B=F(()=>U.value==null?0:U.value.enemyStreamers.reduce((re,se)=>re+Math.max(0,se.presence)*Math.max(0,se.relevancy),0)*100),w=zr(()=>({onReset(){e.value=3,t.value=0,A.value=0,a.value=0,n.value=[null,null,null],r.value=[],s.value=null,i.value=null,c.value=!1,U.value=null,m.value="",C.value=!1,E.value=!1,b.value=[],N.value=[]}})),O=I(!1);function ae(){var re,se;if(U.value==null)throw"Preparing move while not in battle";if(b.value.length===0&&U.value.team.length===0&&U.value.enemyTeam.length===0){if(U.value.ranLivestreamEnded===!1){U.value.streamers.forEach(J=>{W[J.type].abilityType==="LivestreamEnded"&&b.value.push({action:"LivestreamEnded",target:J})}),U.value.enemyStreamers.forEach(J=>{W[J.type].abilityType==="LivestreamEnded"&&b.value.push({action:"LivestreamEnded",target:J})}),U.value.ranLivestreamEnded=!0,ae();return}m.value==="Victory"?t.value++:m.value==="Defeat"&&e.value--,C.value=!0;return}if(b.value.length===0?b.value.push({action:"join"}):b.value.length>1&&(b.value=b.value.sort((J,V)=>J.action!==V.action?1:J.target!=null&&V.target!=null?V.target.relevancy-J.target.relevancy:0)),M.autoplay===!1&&E.value===!1)h.value=!0;else{h.value=!1;const J=b.value.shift();switch(J.action){case"join":if(((re=U.value.team.length)!=null?re:0)>0){const V=U.value.team.pop();U.value.streamers.push(V),W[V.type].abilityType==="LivestreamJoined"&&b.value.unshift({action:"LivestreamJoined",target:V})}if(((se=U.value.enemyTeam.length)!=null?se:0)>0){const V=U.value.enemyTeam.pop();U.value.enemyStreamers.push(V),W[V.type].abilityType==="LivestreamJoined"&&b.value.unshift({action:"LivestreamJoined",target:V})}break;default:if(J.target==null){console.error("Invalid action",J);break}W[J.target.type].performAbility(J.target);break}E.value=!1,setTimeout(ae,M.fast?750:1250)}}const Ee=Rr(()=>({fullscreen:!1,zIndex:10,boundingRect:I(null),onContainerResized(re){this.boundingRect.value=re}}));return{name:"Game",minimizable:!1,display:L(()=>{let re,se;if(t.value>=5){let J;return o("div",{class:"total-outcome-container"},[o("img",{class:"smiley",src:ls},null),o(Se,{style:"margin-top: 5vmin;"},ke(J=new Array(3).fill(0).map((V,ie)=>o(Ue,{character:n.value[ie]},null)))?J:{default:()=>[J]}),o("img",{src:oA,class:"button",onClick:()=>location.reload()},null),$e(Ee)])}if(e.value<=0){let J;return o("div",{class:"total-outcome-container"},[o("img",{class:"smiley",src:Kr},null),o(Se,{style:"margin-top: 5vmin;"},ke(J=new Array(3).fill(0).map((V,ie)=>o(Ue,{character:n.value[ie]},null)))?J:{default:()=>[J]}),o("img",{src:oA,class:"replay",onClick:()=>location.reload()},null),$e(Ee)])}if(U.value!=null){let J,V,ie,Le;return o("div",{class:{["battle-container"]:!0,fast:M.fast}},[o("div",{class:"battle-controls"},[o("button",{class:"button",onClick:()=>{E.value=!0,ae()}},[o("img",{src:$r},null)]),o("button",{class:{button:!0,active:M.autoplay},onClick:()=>{M.autoplay=!M.autoplay,h.value&&ae()}},[o("img",{src:xr},null)]),o("button",{class:{button:!0,active:M.fast},onClick:()=>M.fast=!M.fast},[o("img",{src:Lr},null)])]),o("div",{class:"teams-container",style:C.value?"pointer-events: none;":""},[o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"left: 1vmin"},[o("span",null,[zt.value,p(" (YOU)")]),o("div",{class:"stats"},[o("div",{class:"resource-box lives"},[e.value]),o("div",{class:"resource-box wins"},[t.value,p("/5")]),o("div",{class:"view-counter"},[qt($.value),p(" Views")])])]),o(Se,{class:"streamers-container"},{default:()=>[o(Et,{name:"character-transition"},ke(J=U.value.streamers.slice().reverse().map((me,Ve)=>{var fe;return o(Ue,{key:U.value.streamers.length-Ve,character:me,shake:h.value&&((fe=b.value[0])==null?void 0:fe.target)===me},null)}))?J:{default:()=>[J]})]})]),o(iA,{class:"members-container"},{default:()=>[o(Et,{name:"character-transition"},ke(V=U.value.team.map((me,Ve)=>{var fe,rt,st,it;return o(Ue,{character:me,key:Ve,shake:h.value&&((fe=b.value[0])==null?void 0:fe.action)==="join"&&me===((it=U.value)==null?void 0:it.team[((st=(rt=U.value)==null?void 0:rt.team.length)!=null?st:0)-1])},null)}))?V:{default:()=>[V]})]})]),o("div",{class:"team-container"},[o("div",{class:"stream-container"},[o("div",{class:"stream-details",style:"right: 1vmin"},[o("span",null,[U.value.enemyNickname]),o("div",{class:"stats",style:"margin-right: 0"},[o("div",{class:"resource-box lives"},[U.value.enemyLives]),o("div",{class:"resource-box wins"},[U.value.enemyWins,p("/5")]),o("div",{class:"view-counter"},[qt(B.value),p(" Views")])])]),o(Se,{class:"streamers-container"},{default:()=>[o(Et,{name:"character-transition"},ke(ie=U.value.enemyStreamers.map((me,Ve)=>{var fe;return o(Ue,{key:Ve,character:me,shake:h.value&&((fe=b.value[0])==null?void 0:fe.target)===me},null)}))?ie:{default:()=>[ie]})]})]),o(iA,{class:"members-container"},{default:()=>[o(Et,{name:"character-transition"},ke(Le=U.value.enemyTeam.map((me,Ve)=>{var fe,rt,st,it;return o(Ue,{character:me,key:U.value.enemyStreamers.length+Ve,shake:h.value&&((fe=b.value[0])==null?void 0:fe.action)==="join"&&me===((it=U.value)==null?void 0:it.enemyTeam[((st=(rt=U.value)==null?void 0:rt.enemyTeam.length)!=null?st:0)-1])},null)}))?Le:{default:()=>[Le]})]})])]),C.value?o("div",{class:"outcome",onClick:()=>he("newTurn")},[o("img",{src:m.value==="Victory"?os:m.value==="Defeat"?Gr:ss},null)]):null])}return o("div",{class:"game-container",style:c.value?"pointer-events: none":"",onClick:()=>{s.value=null,i.value=null}},[o("h2",{class:"team-nickname"},[zt.value]),o(Se,{class:"manager-header"},{default:()=>[o("div",{class:"resource-box moguls"},[a.value]),o("div",{class:"resource-box lives"},[e.value]),o("div",{class:"resource-box wins"},[t.value,p("/5")]),o("div",{style:"flex-grow: 1"},null),c.value?o("div",{class:"waiting"},[p("Finding opposing team...")]):o("img",{class:"startStream",draggable:"false",onClick:()=>{he("stream"),c.value=!0},src:rs},null)]}),o("div",{style:"flex-grow: 1"},null),o(Se,{style:"margin-top: 10vh"},ke(re=new Array(3).fill(0).map((J,V)=>{var ie,Le;return o(Ue,{id:`team-char-${V}`,character:n.value[V],isSelected:s.value===V,selected:s.value==null?i.value==null||n.value[V]!=null&&((ie=r.value[i.value])==null?void 0:ie.type)!==((Le=n.value[V])==null?void 0:Le.type)||a.value<3?null:r.value[i.value]:n.value[s.value],isDragging:O.value,onClick:lA(V),onDragstart:()=>{O.value=!0,s.value=V,i.value=null},onDragend:()=>{O.value=!1,s.value=null,i.value=null},onDrop:()=>lA(V)()},null)}))?re:{default:()=>[re]}),o(Se,{style:"margin-top: 10vh;"},{default:()=>[s.value!=null?o(j,{display:"Sell Coots"},{default:()=>[o("div",{class:"reroll",onDragover:J=>J.preventDefault(),onClick:()=>he("sell",s.value),onDrop:()=>he("sell",s.value)},[o("img",{src:as},null)])]}):i.value!=null?o(j,{display:"Freeze Coots"},{default:()=>[o("div",{class:"reroll",onDragover:J=>J.preventDefault(),onClick:()=>he("freeze",i.value),onDrop:()=>he("freeze",i.value)},[o("img",{src:Xr},null)])]}):o(j,{display:"Re-roll store"},{default:()=>[o("div",{class:"reroll",style:a.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{a.value>0&&he("reroll")}},[o("img",{src:S.value?ts:As},null)])]}),o(Se,{class:"shop"},ke(se=r.value.map((J,V)=>o(Ue,{id:`shop-char-${V}`,frozen:N.value.includes(V),character:J==null?void 0:J,isSelected:i.value===V,isShop:!0,isDragging:O.value,onClick:ie=>{J!=null&&(i.value=i.value===V?null:V,s.value=null,ie.stopPropagation())},onDragstart:()=>{O.value=!0,s.value=null,i.value=V},onDragend:()=>{O.value=!1,s.value=null,i.value=null}},null)))?se:{default:()=>[se]})]}),$e(Ee)])}),lives:e,wins:t,turn:A,gold:a,team:n,shop:r,selectedCharacter:s,selectedShopItem:i,findingMatch:c,showingOutcome:C,outcome:m,reset:w,battle:U,frozen:N,playClicked:E,prepareMove:ae,particles:Ee,queue:b,showRefreshAnim:S}});let yt=0;te.on("update",e=>{if(v.wins.value>=5){if(yt+=e,yt>=1){yt=0;const t=v.particles.boundingRect.value;if(!t)return;v.particles.addEmitter($s).then(A=>{A.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),A.playOnceAndDestroy()})}}else yt=0});function lA(e){return t=>{var A,a,n,r,s,i,c;v.selectedCharacter.value!=null&&v.selectedCharacter.value!==e?((A=v.team.value[v.selectedCharacter.value])==null?void 0:A.type)===((a=v.team.value[e])==null?void 0:a.type)&&((r=(n=v.team.value[v.selectedCharacter.value])==null?void 0:n.exp)!=null?r:0)<6&&((i=(s=v.team.value[e])==null?void 0:s.exp)!=null?i:0)<6?(he("merge",v.selectedCharacter.value,e),v.selectedCharacter.value=null):(he("move",v.selectedCharacter.value,e),v.selectedCharacter.value=null):v.selectedCharacter.value===e?v.selectedCharacter.value=null:v.selectedShopItem.value!==null?((v.team.value[e]==null||v.team.value[e].type===((c=v.shop.value[v.selectedShopItem.value])==null?void 0:c.type)&&v.team.value[e].exp<6)&&v.gold.value>=3&&he("buy",v.selectedShopItem.value,e),v.selectedShopItem.value=null):v.selectedCharacter.value=e,t==null||t.stopPropagation()}}const ei=e=>[v],RA=F(()=>!1);function ti(e,t){}var Ai=Object.freeze(Object.defineProperty({__proto__:null,characters:W,main:v,getInitialLayers:ei,hasWon:RA,fixOldSave:ti},Symbol.toStringTag,{value:"Module"}));const ft=I(!1),zt=I(""),et=I(""),tt=I(""),uA=fA(),Ye=I(),At=I("");function he(e,...t){var A;!ft.value||(A=Ye.value)==null||A.emit(e,...t)}te.on("loadSettings",e=>{Ge(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),ye(()=>e.server,t=>{Ye.value&&Ye.value.close(),Ye.value=ta(t),ai(Ye.value),ft.value=!1,At.value="",Ye.value.connect()},{immediate:!0}),_n(L(()=>o(Y,null,[o(mt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),o("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[ft.value?o("span",null,[p("Connected!")]):At.value?o("span",{style:"color: red"},[At.value]):o("span",null,[p("Connecting...")])])])))});function Ie(e){var a;const t=v.particles.boundingRect.value;if(!t)return;const A=(a=v.nodes.value[e])==null?void 0:a.rect;A&&v.particles.addEmitter(Jr).then(n=>{n.updateOwnerPos(A.x+A.width/2-t.x,A.y+A.height/2-t.y),n.playOnceAndDestroy()})}function ai(e){e.on("connect",()=>{At.value="",ft.value=!0,v.reset.reset(),et.value="",tt.value="",M.privateRoomName&&e.emit("change room",M.privateRoomName,M.privateRoomPassword)}),e.on("connect_error",t=>{At.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,A)=>{var a;At.value=A instanceof Error?`${A.name}: ${A.message}`:(a=A==null?void 0:A.description)!=null?a:t,ft.value=!1}),e.on("server version",t=>{ea(x.versionNumber,t)||(uA.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{uA.info(t),t==="Failed to start streaming"&&(v.findingMatch.value=!1)}),e.on("nickname",t=>{zt.value=t}),e.on("newTurn",t=>{v.gold.value=10,v.turn.value++,v.battle.value=null,v.shop.value=t.map(A=>({type:A,relevancy:W[A].initialRelevancy,presence:W[A].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((A,a)=>a),setTimeout(()=>{t.forEach((A,a)=>Ie(`shop-char-${a}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{v.gold.value--,v.shop.value=t.map(A=>({type:A,relevancy:W[A].initialRelevancy,presence:W[A].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((A,a)=>a),setTimeout(()=>{t.forEach((A,a)=>Ie(`shop-char-${a}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("buy",(t,A,a)=>{v.team.value[A]=a,v.shop.value[t]=null,v.gold.value-=3,Ie(`shop-char-${t}`),Ie(`team-char-${A}`),v.frozen.value.includes(t)&&(v.frozen.value=v.frozen.value.filter(n=>n!==t))}),e.on("move",(t,A)=>{const a=v.team.value[t];v.team.value[t]=v.team.value[A],v.team.value[A]=a,Ie(`team-char-${t}`),Ie(`team-char-${A}`)}),e.on("merge",(t,A,a)=>{var i,c;const n=(c=(i=v.team.value[A])==null?void 0:i.exp)!=null?c:0,r=n>=6?3:n>=3?2:1,s=a.exp>=6?3:a.exp>=3?2:1;v.team.value[t]=null,v.team.value[A]=a,Ie(`team-char-${t}`),Ie(`team-char-${A}`),W[a.type].abilityType==="LevelUp"&&r!==s&&setTimeout(()=>W[a.type].performAbility(a),1250)}),e.on("stream",(t,A)=>{let a=!1;v.team.value.forEach(n=>{n!=null&&W[n.type].abilityType==="StreamStarted"&&(a=!0,W[n.type].performAbility(n))}),a?setTimeout(()=>cA(t,A)):cA(t,A)}),e.on("sell",t=>{const A=v.team.value[t];let a;A.exp>=6?a=3:A.exp>=3?a=2:a=1,v.gold.value+=a,v.team.value[t]=null,Ie(`team-char-${t}`),W[A.type].abilityType==="Sold"&&setTimeout(()=>W[A.type].performAbility(A),500)}),e.on("freeze",t=>{v.frozen.value.includes(t)?v.frozen.value=v.frozen.value.filter(A=>A!==t):v.frozen.value.push(t)}),e.on("room",t=>{v.reset.reset(),et.value=t,tt.value=""}),e.on("room failed",t=>{et.value="",tt.value=t})}function cA(e,t){v.findingMatch.value=!1,v.battle.value={team:JSON.parse(JSON.stringify(v.team.value.filter(A=>A!=null))),streamers:[],enemyTeam:e.team,enemyStreamers:[],enemyNickname:e.nickname,enemyLives:e.lives,enemyWins:e.wins,enemyTurn:e.turn,ranLivestreamEnded:!1},v.outcome.value=t,v.showingOutcome.value=!1,v.playClicked.value=!1,setTimeout(v.prepareMove,1e3)}const ni=g("h2",null,"Settings",-1),ri={key:1,style:{color:"red"}};var si=z({__name:"Options",setup(e,{expose:t}){const A=I(!1),a=I("behaviour");function n(C){return C==a.value}function r(C){a.value=C}t({isTab:n,setTab:r,save:le,open(){A.value=!0}});const s=F(()=>ge(L(()=>o(Y,null,[PA.map($e)])))),{privateRoomName:i,privateRoomPassword:c}=Qe(M);function m(){tt.value="",he("change room",M.privateRoomName,M.privateRoomPassword)}return(C,h)=>(f(),R(Fe,{modelValue:A.value,"onUpdate:modelValue":h[2]||(h[2]=E=>A.value=E)},{header:T(()=>[ni]),body:T(()=>[(f(),R(ne(l(s)))),o(mt,{title:"Private room name",modelValue:l(i),"onUpdate:modelValue":h[0]||(h[0]=E=>ce(i)?i.value=E:null)},null,8,["modelValue"]),o(mt,{title:"Private room PW",password:!0,modelValue:l(c),"onUpdate:modelValue":h[1]||(h[1]=E=>ce(c)?c.value=E:null)},null,8,["modelValue"]),g("div",null,"Currently in: "+q(l(et)?l(et):"Public lobby")+".",1),l(et)!==l(i)?(f(),y("button",{key:0,class:"button",style:{padding:"1em"},onClick:m},"Connect to "+q(l(i)||"Public Lobby"),1)):k("",!0),l(tt)?(f(),y("div",ri,q(l(tt)),1)):k("",!0)]),_:1},8,["modelValue"]))}});const ii={class:"field"},oi={key:0,class:"field-title"},li=z({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var s;const A=e,a=Mt(Me(A,"title"),"span"),n=I((s=A.options.find(i=>i.value===A.modelValue))!=null?s:null);ye(Me(A,"modelValue"),i=>{var c;pe(n)!==i&&(n.value=(c=A.options.find(m=>m.value===i))!=null?c:null)});function r(i){t("update:modelValue",i.value)}return(i,c)=>(f(),y("div",ii,[l(a)?(f(),y("span",oi,[(f(),R(ne(l(a))))])):k("",!0),o(l(ia),{options:e.options,modelValue:n.value,"onUpdate:modelValue":[c[0]||(c[0]=m=>n.value=m),r],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const ui={key:0},ci=["onClick","disabled"],gi={key:0},di=["onClick"],mi=z({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const a=Qe(e),n=I(!1);ye(n,i=>{t("confirmingChanged",i)});function r(){if(l(a.skipConfirm)){t("click");return}n.value&&t("click"),n.value=!n.value}function s(){n.value=!1}return(i,c)=>(f(),y("span",{class:H(["container",{confirming:n.value}])},[n.value?(f(),y("span",ui,"Are you sure?")):k("",!0),g("button",{onClick:ut(r,["stop"]),class:"button danger",disabled:e.disabled},[n.value?(f(),y("span",gi,"Yes")):be(i.$slots,"default",{key:1},void 0,!0)],8,ci),n.value?(f(),y("button",{key:1,class:"button",onClick:ut(s,["stop"])},"No",8,di)):k("",!0)],2))}});var fi=K(mi,[["__scopeId","data-v-2f8ef34c"]]);const vi=["onClick"],hi=z({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const A=I(!1),a=I(null);function n(){t("click"),a.value&&clearTimeout(a.value),A.value=!1,Te(()=>{A.value=!0,a.value=setTimeout(()=>A.value=!1,500)})}return(r,s)=>(f(),y("button",{onClick:ut(n,["stop"]),class:H(["feedback",{activated:A.value,left:e.left}])},[be(r.$slots,"default",{},void 0,!0)],10,vi))}});var pi=K(hi,[["__scopeId","data-v-01a1b95c"]]);const Ne=e=>(Pe("data-v-c3447434"),e=e(),Je(),e),Ci=Ne(()=>g("div",{class:"handle material-icons"},"drag_handle",-1)),Ei={key:0,class:"actions"},bi=Ne(()=>g("span",{class:"material-icons"},"content_paste",-1)),yi=Ne(()=>g("span",{class:"material-icons"},"content_copy",-1)),Bi=Ne(()=>g("span",{class:"material-icons"},"edit",-1)),Qi=Ne(()=>g("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),Ii={key:1,class:"actions"},Ni=Ne(()=>g("span",{class:"material-icons"},"check",-1)),wi=Ne(()=>g("span",{class:"material-icons"},"close",-1)),Si={key:2,class:"details"},Ui={class:"save-version"},ki=Ne(()=>g("br",null,null,-1)),_i={key:0},Ti={key:3,class:"details"},Mi={key:4,class:"details error"},Pi=Ne(()=>g("br",null,null,-1)),Ji=z({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const A=e,{save:a}=Qe(A),n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),r=I(!1),s=I(!1),i=I("");ye(r,()=>{var h;return i.value=(h=a.value.name)!=null?h:""});const c=F(()=>a.value!=null&&a.value.id===D.id),m=F(()=>{var h;return c.value?D.time:(h=a.value!=null&&a.value.time)!=null?h:0});function C(){t("editName",i.value),r.value=!1}return(h,E)=>(f(),y("div",{class:H(["save",{active:l(c)}])},[Ci,r.value?(f(),y("div",Ii,[g("button",{onClick:C,class:"button"},[o(j,{display:"Save",direction:l(Z).Left,class:"info"},{default:T(()=>[Ni]),_:1},8,["direction"])]),g("button",{onClick:E[5]||(E[5]=b=>r.value=!r.value),class:"button"},[o(j,{display:"Cancel",direction:l(Z).Left,class:"info"},{default:T(()=>[wi]),_:1},8,["direction"])])])):(f(),y("div",Ei,[l(a).error==null&&!s.value?(f(),R(pi,{key:0,onClick:E[0]||(E[0]=b=>t("export")),class:"button",left:""},{default:T(()=>[o(j,{display:"Export",direction:l(Z).Left,class:"info"},{default:T(()=>[bi]),_:1},8,["direction"])]),_:1})):k("",!0),l(a).error==null&&!s.value?(f(),y("button",{key:1,onClick:E[1]||(E[1]=b=>t("duplicate")),class:"button"},[o(j,{display:"Duplicate",direction:l(Z).Left,class:"info"},{default:T(()=>[yi]),_:1},8,["direction"])])):k("",!0),l(a).error==null&&!s.value?(f(),y("button",{key:2,onClick:E[2]||(E[2]=b=>r.value=!r.value),class:"button"},[o(j,{display:"Edit Name",direction:l(Z).Left,class:"info"},{default:T(()=>[Bi]),_:1},8,["direction"])])):k("",!0),o(fi,{disabled:l(c),onClick:E[3]||(E[3]=b=>t("delete")),onConfirmingChanged:E[4]||(E[4]=b=>s.value=b)},{default:T(()=>[o(j,{display:"Delete",direction:l(Z).Left,class:"info"},{default:T(()=>[Qi]),_:1},8,["direction"])]),_:1},8,["disabled"])])),l(a).error==null&&!r.value?(f(),y("div",Si,[g("button",{class:"button open",onClick:E[6]||(E[6]=b=>t("open"))},[g("h3",null,q(l(a).name),1)]),g("span",Ui,"v"+q(l(a).modVersion),1),ki,l(m)?(f(),y("div",_i,"Last played "+q(l(n).format(l(m))),1)):k("",!0)])):l(a).error==null&&r.value?(f(),y("div",Ti,[o(mt,{modelValue:i.value,"onUpdate:modelValue":E[7]||(E[7]=b=>i.value=b),class:"editname",onSubmit:C},null,8,["modelValue"])])):(f(),y("div",Mi,[p(" Error: Failed to load save with id "+q(l(a).id),1),Pi,p(q(l(a).error),1)]))],2))}});var Fi=K(Ji,[["__scopeId","data-v-c3447434"]]);const Ht=e=>(Pe("data-v-5b5b1604"),e=e(),Je(),e),Vi=Ht(()=>g("h2",null,"Saves Manager",-1)),Oi={class:"modal-footer"},qi={class:"field"},Ri=Ht(()=>g("span",{class:"field-title"},"Create Save",-1)),Di={class:"field-buttons"},zi={class:"footer"},xi=Ht(()=>g("div",{style:{"flex-grow":"1"}},null,-1)),Gi=z({__name:"SavesManager",setup(e,{expose:t}){const A=I(!1),a=I(null);t({open(){A.value=!0}});const n=I(!1),r=I(""),s=I(null);ye(r,B=>{B?Te(()=>{try{if(B[0]!=="{")if(B[0]==="e")B=decodeURIComponent(escape(atob(B)));else if(B[0]==="\u1BE1")B=_e.decompressFromUTF16(B);else{console.warn("Unable to determine preset encoding",B),n.value=!0;return}const w=JSON.parse(B);if(typeof w!="object"){n.value=!0;return}const O=Bt();w.id=O,le(w),r.value="",n.value=!1,M.saves.push(O)}catch{n.value=!0}}):n.value=!1});let i={},c=I(Object.keys(i).reduce((B,w)=>(B.push({label:w.split("/").slice(-1)[0].slice(0,-4),value:i[w]}),B),[]));const m=Gt({});function C(B){if(m[B]==null){let w=localStorage.getItem(B);if(w==null)m[B]={error:"Save doesn't exist in localStorage",id:B};else if(w==="dW5kZWZpbmVk")m[B]={error:"Save is undefined",id:B};else try{if(w[0]!=="{")if(w[0]==="e")w=decodeURIComponent(escape(atob(w)));else if(w[0]==="\u1BE1")w=_e.decompressFromUTF16(w);else return console.warn("Unable to determine preset encoding",w),n.value=!0,m[B]={error:"Unable to determine preset encoding",id:B},m[B];m[B]={...JSON.parse(w),id:B}}catch(O){m[B]={error:O,id:B},console.warn(`SavesManager: Failed to load info about save with id ${B}: +${O} +${w}`)}}return m[B]}ye(A,B=>{B&&Object.keys(m).forEach(w=>delete m[w])});const h=F(()=>M.saves.reduce((B,w)=>(B[w]=C(w),B),{}));function E(B){let w;switch(D.id===B?w=IA(D):w=JSON.stringify(h.value[B]),x.exportEncoding){default:console.warn(`Unknown save encoding: ${x.exportEncoding}. Defaulting to lz`);case"lz":w=_e.compressToUTF16(w);break;case"base64":w=btoa(unescape(encodeURIComponent(w)));break;case"plain":break}const O=document.createElement("textarea");O.value=w,document.body.appendChild(O),O.select(),O.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(O)}function b(B){D.id===B&&le();const w={...h.value[B],id:Bt()};le(w),M.saves.push(w.id)}function N(B){M.saves=M.saves.filter(w=>w!==B),localStorage.removeItem(B),m[B]=void 0}function S(B){h.value[D.id].time=D.time,le(),m[D.id]=void 0,xe(h.value[B]),m[B]=void 0}function U(B){if(s.value=B,Te(()=>{s.value=null}),B[0]!=="{")if(B[0]==="e")B=decodeURIComponent(escape(atob(B)));else if(B[0]==="\u1BE1")B=_e.decompressFromUTF16(B);else{console.warn("Unable to determine preset encoding",B);return}const w=JSON.parse(B);w.id=Bt(),le(w),M.saves.push(w.id),S(w.id)}function $(B,w){const O=h.value[B];O!=null&&(O.name=w,D.id===B?(D.name=w,le()):(le(O),m[B]=void 0))}return(B,w)=>(f(),R(Fe,{modelValue:A.value,"onUpdate:modelValue":w[4]||(w[4]=O=>A.value=O),ref_key:"modal",ref:a},{header:T(()=>[Vi]),body:T(({shown:O})=>[O?(f(),R(l(sa),{key:0,list:l(M).saves,handle:".handle",itemKey:ae=>ae},{item:T(({element:ae})=>[o(Fi,{save:l(h)[ae],onOpen:Ee=>S(ae),onExport:Ee=>E(ae),onEditName:Ee=>$(ae,Ee),onDuplicate:Ee=>b(ae),onDelete:Ee=>N(ae)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):k("",!0)]),footer:T(()=>[g("div",Oi,[o(mt,{modelValue:r.value,"onUpdate:modelValue":w[0]||(w[0]=O=>r.value=O),title:"Import Save",placeholder:"Paste your save here!",class:H({importingFailed:n.value})},null,8,["modelValue","class"]),g("div",qi,[Ri,g("div",Di,[g("button",{class:"button",onClick:w[1]||(w[1]=O=>S(l(Ze)().id))},"New Game"),Object.keys(l(c)).length>0?(f(),R(li,{key:0,options:l(c),modelValue:s.value,"onUpdate:modelValue":w[2]||(w[2]=O=>U(O)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):k("",!0)])]),g("div",zi,[xi,g("button",{class:"button modal-default-button",onClick:w[3]||(w[3]=O=>A.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var DA=K(Gi,[["__scopeId","data-v-5b5b1604"]]);const de=e=>(Pe("data-v-d43b25a6"),e=e(),Je(),e),Ki=["src","alt"],Li={key:1,class:"title"},Xi=de(()=>g("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Yi={class:"discord"},Wi={class:"discord-links"},ji={key:0},Hi=["href"],Zi=de(()=>g("li",null,[g("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),$i=de(()=>g("li",null,[g("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),eo={href:"https://forums.moddingtree.com/",target:"_blank"},to=de(()=>g("span",{class:"material-icons"},"forum",-1)),Ao=de(()=>g("span",{class:"material-icons"},"info",-1)),ao=de(()=>g("span",{class:"material-icons"},"help",-1)),no=de(()=>g("span",{class:"material-icons"},"settings",-1)),ro=de(()=>g("span",{class:"material-icons"},"settings",-1)),so=de(()=>g("span",{class:"material-icons"},"info",-1)),io={href:"https://forums.moddingtree.com/",target:"_blank"},oo=de(()=>g("span",{class:"material-icons"},"forum",-1)),lo={class:"discord"},uo={class:"discord-links"},co={key:0},go=["href"],mo=de(()=>g("li",null,[g("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),fo=de(()=>g("li",null,[g("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),vo=z({__name:"Nav",setup(e){const t=I(null),A=I(null),a=I(null),n=I(null),{useHeader:r,banner:s,title:i,discordName:c,discordLink:m,versionNumber:C}=x;function h(){window.open(m,"mywindow")}return(E,b)=>(f(),y(Y,null,[l(r)?(f(),y("div",at({key:0,class:"nav"},E.$attrs),[l(s)?(f(),y("img",{key:0,src:l(s),class:"banner",alt:l(i)},null,8,Ki)):(f(),y("div",Li,q(l(i)),1)),g("div",{onClick:b[0]||(b[0]=N=>{var S;return(S=n.value)==null?void 0:S.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:l(Z).Down,class:"version"},{default:T(()=>[g("span",null,"v"+q(l(C)),1)]),_:1},8,["direction"])]),Xi,g("div",Yi,[g("span",{onClick:h,class:"material-icons"},"discord"),g("ul",Wi,[l(m)?(f(),y("li",ji,[g("a",{href:l(m),target:"_blank"},q(l(c)),9,Hi)])):k("",!0),Zi,$i])]),g("div",null,[g("a",eo,[o(j,{display:"Forums",direction:l(Z).Down,yoffset:"5px"},{default:T(()=>[to]),_:1},8,["direction"])])]),g("div",{onClick:b[1]||(b[1]=N=>{var S;return(S=t.value)==null?void 0:S.open()})},[o(j,{display:"Info",direction:l(Z).Down,class:"info"},{default:T(()=>[Ao]),_:1},8,["direction"])]),g("div",{onClick:b[2]||(b[2]=()=>l(M).showTutorial=!0)},[o(j,{display:"Help",direction:l(Z).Down,class:"info"},{default:T(()=>[ao]),_:1},8,["direction"])]),g("div",{onClick:b[3]||(b[3]=N=>{var S;return(S=a.value)==null?void 0:S.open()})},[o(j,{display:"Settings",direction:l(Z).Down,xoffset:"-66px"},{default:T(()=>[no]),_:1},8,["direction"])])],16)):(f(),y("div",at({key:1,class:"overlay-nav"},E.$attrs),[g("div",{onClick:b[4]||(b[4]=N=>{var S;return(S=n.value)==null?void 0:S.open()}),class:"version-container"},[o(j,{display:"Changelog",direction:l(Z).Right,xoffset:"25%",class:"version"},{default:T(()=>[g("span",null,"v"+q(l(C)),1)]),_:1},8,["direction"])]),g("div",{onClick:b[5]||(b[5]=N=>{var S;return(S=a.value)==null?void 0:S.open()})},[o(j,{display:"Settings",direction:l(Z).Right},{default:T(()=>[ro]),_:1},8,["direction"])]),g("div",{onClick:b[6]||(b[6]=N=>{var S;return(S=t.value)==null?void 0:S.open()})},[o(j,{display:"Info",direction:l(Z).Right},{default:T(()=>[so]),_:1},8,["direction"])]),g("div",null,[g("a",io,[o(j,{display:"Forums",direction:l(Z).Right,xoffset:"7px"},{default:T(()=>[oo]),_:1},8,["direction"])])]),g("div",lo,[g("span",{onClick:h,class:"material-icons"},"discord"),g("ul",uo,[l(m)?(f(),y("li",co,[g("a",{href:l(m),target:"_blank"},q(l(c)),9,go)])):k("",!0),mo,fo])])],16)),o(Er,{ref_key:"info",ref:t,changelog:n.value},null,8,["changelog"]),o(DA,{ref_key:"savesManager",ref:A},null,512),o(si,{ref_key:"options",ref:a},null,512),o(tr,{ref_key:"changelog",ref:n},null,512)],64))}});var zA=K(vo,[["__scopeId","data-v-d43b25a6"]]);const ho={class:"inner-tab"},po=z({__name:"Game",setup(e){const t=Me(D,"tabs"),A=F(()=>Object.keys(Ae)),a=x.useHeader;function n(r){const{display:s,minimized:i,name:c,color:m,minimizable:C,nodes:h,minimizedDisplay:E}=r;return{display:s,minimized:i,name:c,color:m,minimizable:C,nodes:h,minimizedDisplay:E}}return(r,s)=>(f(),y("div",{class:H(["tabs-container",{useHeader:l(a)}])},[(f(!0),y(Y,null,dA(l(t),(i,c)=>{var m,C;return f(),y("div",{key:c,class:H(["tab",l((m=l(Ae)[i])==null?void 0:m.classes)]),style:Be(l((C=l(Ae)[i])==null?void 0:C.style))},[c===0&&!l(a)?(f(),R(zA,{key:0})):k("",!0),g("div",ho,[l(A).includes(i)?(f(),R(Hn,at({key:0},n(l(Ae)[i]),{index:c,onSetMinimized:h=>l(Ae)[i].minimized.value=h}),null,16,["index","onSetMinimized"])):(f(),R(ne(i),{key:1,index:c},null,8,["index"]))])],6)}),128))],2))}});var Co=K(po,[["__scopeId","data-v-3e0f1aab"]]);const Eo={class:"field"},bo=z({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const A=e,a=F(()=>{var r;return ge((r=l(A.title))!=null?r:"","span")}),n=F({get(){return!!A.modelValue},set(r){t("update:modelValue",r)}});return(r,s)=>(f(),y("label",Eo,[Kt(g("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":s[0]||(s[0]=i=>ce(n)?n.value=i:null)},null,512),[[jA,l(n)]]),(f(),R(ne(l(a))))]))}});var xt=K(bo,[["__scopeId","data-v-11046116"]]);const pt=e=>(Pe("data-v-4a50ce42"),e=e(),Je(),e),yo={class:"game-over-modal-header"},Bo=["src","alt"],Qo={class:"game-over-modal-title"},Io=pt(()=>g("h2",null,"Congratulations!",-1)),No={key:0},wo=pt(()=>g("br",null,null,-1)),So=pt(()=>g("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),Uo=pt(()=>g("br",null,null,-1)),ko=["href"],_o=pt(()=>g("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),To=z({__name:"GameOverScreen",setup(e){const{title:t,logo:A,discordName:a,discordLink:n,versionNumber:r,versionTitle:s}=x,i=F(()=>Lt(D.timePlayed)),c=F(()=>RA.value&&!D.keepGoing),m=Me(D,"autosave");function C(){D.keepGoing=!0}function h(){xe(Ze())}return(E,b)=>(f(),R(Fe,{"model-value":l(c)},{header:T(()=>[g("div",yo,[l(A)?(f(),y("img",{key:0,class:"game-over-modal-logo",src:l(A),alt:l(t)},null,8,Bo)):k("",!0),g("div",Qo,[Io,g("h4",null,"You've beaten "+q(l(t))+" v"+q(l(r))+": "+q(l(s)),1)])])]),body:T(({shown:N})=>[N?(f(),y("div",No,[g("div",null,"It took you "+q(l(i))+" to beat the game.",1),wo,So,Uo,g("div",null,[g("a",{href:l(n),class:"game-over-modal-discord-link"},[_o,p(" "+q(l(a)),1)],8,ko)]),o(xt,{title:"Autosave",modelValue:l(m),"onUpdate:modelValue":b[0]||(b[0]=S=>ce(m)?m.value=S:null)},null,8,["modelValue"])])):k("",!0)]),footer:T(()=>[g("div",{class:"game-over-footer"},[g("button",{onClick:C,class:"button"},"Keep Going"),g("button",{onClick:h,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var Mo=K(To,[["__scopeId","data-v-4a50ce42"]]);const Pt=e=>(Pe("data-v-336bf74f"),e=e(),Je(),e),Po=Pt(()=>g("div",{class:"nan-modal-header"},[g("h2",null,"NaN value detected!")],-1)),Jo={key:0},Fo=Pt(()=>g("br",null,null,-1)),Vo=["href"],Oo=Pt(()=>g("span",{class:"material-icons nan-modal-discord"},"discord",-1)),qo=Pt(()=>g("br",null,null,-1)),Ro={class:"nan-footer"},Do=z({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:A}=x,a=I(!0),n=I(!0),r=Me(ee,"hasNaN"),s=I(null);ye(r,E=>{E?(a.value=D.autosave,n.value=D.devSpeed===0):(D.autosave=a.value,D.devSpeed=n.value?0:null)});const i=F(()=>{var E;return(E=ee.NaNPath)==null?void 0:E.join(".")}),c=F(()=>ee.NaNPersistent!=null?ee.NaNPersistent.value:null);function m(){ee.NaNPersistent!=null&&(ee.NaNPersistent.value=new Q(0),ee.hasNaN=!1)}function C(){ee.NaNPersistent&&(ee.NaNPersistent.value=new Q(1),ee.hasNaN=!1)}function h(){ee.NaNPersistent&&(ee.NaNPersistent.value=new Q(NaN),ee.hasNaN=!1)}return(E,b)=>(f(),y(Y,null,[o(Fe,at({modelValue:l(r),"onUpdate:modelValue":b[4]||(b[4]=N=>ce(r)?r.value=N:null)},E.$attrs),{header:T(()=>[Po]),body:T(()=>[g("div",null,[p(' Attempted to assign "'+q(l(i))+'" to NaN',1),l(c)?(f(),y("span",Jo,q(" ")+"(previously "+q(l(BA)(l(c)))+")",1)):k("",!0),p(". Auto-saving has been "+q(a.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),Fo,g("div",null,[g("a",{href:l(A)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[Oo,p(" "+q(l(t)||"The Paper Pilot Community"),1)],8,Vo)]),qo,o(xt,{title:"Autosave",modelValue:a.value,"onUpdate:modelValue":b[0]||(b[0]=N=>a.value=N)},null,8,["modelValue"]),l(x).enablePausing?(f(),R(xt,{key:0,title:"Pause game",modelValue:n.value,"onUpdate:modelValue":b[1]||(b[1]=N=>n.value=N)},null,8,["modelValue"])):k("",!0)]),footer:T(()=>[g("div",Ro,[g("button",{onClick:b[2]||(b[2]=N=>{var S;return(S=s.value)==null?void 0:S.open()}),class:"button"},"Open Saves Manager"),g("button",{onClick:m,class:"button"},"Set to 0"),g("button",{onClick:C,class:"button"},"Set to 1"),l(c)&&l(Q).neq(l(c),0)&&l(Q).neq(l(c),1)?(f(),y("button",{key:0,onClick:b[3]||(b[3]=N=>r.value=!1),class:"button"}," Set to previous ")):k("",!0),g("button",{onClick:h,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),o(DA,{ref_key:"savesManager",ref:s},null,512)],64))}});var zo=K(Do,[["__scopeId","data-v-336bf74f"]]);const xo=p("Information");var Go=z({__name:"App",setup(e){const t=x.useHeader,A=F(()=>ht[M.theme].variables);Me(M,"showTPS");const a=Me(M,"showTutorial"),n=F(()=>ge(L(()=>o(Y,null,[Mn.map($e)])))),r=Ln({general:()=>({display:"General",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("Have you ever played Super Auto Pets? Great, then you already know the basics! I'd suggest checking out the Livestream tab because it's quite different!"),o("br",null,null),o("br",null,null),p("For those unfamiliar with SAP, this is a game in which you'll manage a team of Coots that have a series of livestream battles with other player's teams of Coots. You win the game by winning 5 "),o("img",{src:Xn},null),o("span",{style:"color: cadetblue"},[p("trophies")]),p(" before losing all 3 "),o("img",{src:De},null),o("span",{style:"color: red"},[p("lives")]),p(".")]))}),managing:()=>({display:"Managing",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("Before each battle you get the opportunity to prepare. You have 3 slots for Coots, and you can buy more using the shop at the bottom of the screen. Purchasing Coots costs "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("moguls")]),p(", which is a currency you receive 10 of during the management phase. Any unspent "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("moguls")]),p(" are lost. Each Coots costs 3 "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("moguls")]),p(", and you can reroll the shop for 1 "),o("img",{src:We},null),o("span",{style:"color: yellow"},[p("mogul")]),p("."),o("br",null,null),o("br",null,null),p("You can also merge your Coots to increase their stats and level them up. Coots have an ability that grows stronger as they level up.")]))}),livestream:()=>({display:"Livestream",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("In a livestream battle, your goal is to get more views than your opponent. Each team will add their Coots to their livestreams together, one at a time. Abilities will also activate throughout the stream as appropriate."),o("br",null,null),o("br",null,null),p("Each Coots has two stats- "),o("img",{src:De},null),o("span",{style:"color: red"},[p("Relevancy")]),p(" and "),o("img",{src:Xe},null),o("span",{style:"color: gold"},[p("Presence")]),p(". The view count is based on the product of those two stats, and then summed between each Coots on the stream. Be careful if either stat becomes 0 or lower, that streamer won't contribute to your view count."),o("br",null,null),o("br",null,null),p("You can press play to perform a single action and see what the next will be, or select autoplay to automatically perform the whole match. If this is your first time playing, I'd suggest leaving autoplay off.")]))}),multiplayer:()=>({display:"Multiplayer",glowColor(){return r.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>o("div",null,[p("By default you are going to be playing in a shared lobby with all other players. If you'd like to play with a specific group of friends, there's an option to join a room in the settings."),o("br",null,null),o("br",null,null),p("Also, be warned that the game has no account system and if you lose your connection to the server you'll automatically start a new game. Sorry!")]))})},()=>({classes:{tutorial:!0}})),s=ge(L(()=>JA(r)));return(i,c)=>(f(),y(Y,null,[g("div",{id:"modal-root",style:Be(l(A))},null,4),g("div",{class:H(["app",{useHeader:l(t)}]),style:Be(l(A))},[l(t)?(f(),R(zA,{key:0})):k("",!0),o(Co),o(Mo),o(zo),(f(),R(ne(l(n)))),o(Fe,{modelValue:l(a),"onUpdate:modelValue":c[0]||(c[0]=m=>ce(a)?a.value=m:null)},{header:T(()=>[xo]),body:T(()=>[(f(),R(ne(l(s))))]),_:1},8,["modelValue"])],6)],64))}});var Ko=K(Go,[["__scopeId","data-v-2d9bd813"]]);function Lo(e={}){const{immediate:t=!1,onNeedRefresh:A,onOfflineReady:a,onRegistered:n,onRegisterError:r}=e;let s,i;const c=async(m=!0)=>{m&&(s==null||s.addEventListener("controlling",C=>{C.isUpdate&&window.location.reload()})),i&&i.waiting&&await la(i.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){s=new oa("./sw.js",{scope:"./",type:"classic"}),s.addEventListener("activated",m=>{m.isUpdate||a==null||a()});{const m=()=>{A==null||A()};s.addEventListener("waiting",m),s.addEventListener("externalwaiting",m)}s.register({immediate:t}).then(m=>{i=m,n==null||n(m)}).catch(m=>{r==null||r(m)})}return c}function Xo(e={}){const{immediate:t=!0,onNeedRefresh:A,onOfflineReady:a,onRegistered:n,onRegisterError:r}=e,s=I(!1),i=I(!1);return{updateServiceWorker:Lo({immediate:t,onNeedRefresh(){s.value=!0,A==null||A()},onOfflineReady(){i.value=!0,a==null||a()},onRegistered:n,onRegisterError:r}),offlineReady:i,needRefresh:s}}document.title=x.title;window.projInfo=x;if(x.id==="")throw"Project ID is empty! Please select a unique ID for this project in /src/data/projInfo.json";requestAnimationFrame(async()=>{console.log(`%cMade in Profectus%c +Learn more at www.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await wn();const{globalBus:e}=await Qt(()=>Promise.resolve().then(function(){return ln}),void 0),{startGameLoop:t}=await Qt(()=>import("./gameLoop.aa7386bf.js"),["assets/gameLoop.aa7386bf.js","assets/@fontsource.f66d05e7.css","assets/vue.f6263579.js","assets/earcut.b6f90e68.js","assets/@vue.4ce677c2.js","assets/nanoevents.1080beb7.js","assets/lz-string.f2f3b7cf.js","assets/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/vue-textarea-autosize.35804eaf.js","assets/semver.83ff78cf.js","assets/lru-cache.9a21e90b.js","assets/yallist.fd762fe7.js","assets/socket.io-client.79ce0df5.js","assets/engine.io-client.58517560.js","assets/engine.io-parser.3f360695.js","assets/@socket.io.aec831e2.js","assets/socket.io-parser.544e37d1.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/workbox-window.8d14e8b7.js"]),A=window.vue=HA(Ko);e.emit("setupVue",A),A.mount("#app"),Te(()=>{const a=fA(),{updateServiceWorker:n}=Xo({onNeedRefresh(){a.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(){n()}})},onOfflineReady(){a.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(r){r&&setInterval(()=>r.update(),60*60*1e3)}})}),t()});export{Q as D,Qt as _,ee as a,x as b,Ai as c,te as g,Sn as l,D as p,M as s}; diff --git a/assets/shop.3860773a.gif b/assets/shop.3860773a.gif deleted file mode 100644 index 63a1d55..0000000 Binary files a/assets/shop.3860773a.gif and /dev/null differ diff --git a/assets/shop.62b46163.gif b/assets/shop.62b46163.gif new file mode 100644 index 0000000..acfcfa4 Binary files /dev/null and b/assets/shop.62b46163.gif differ diff --git a/index.html b/index.html index 642b418..88f3f2c 100644 --- a/index.html +++ b/index.html @@ -61,7 +61,7 @@ Profectus - + diff --git a/shop.gif b/shop.gif index 63a1d55..acfcfa4 100644 Binary files a/shop.gif and b/shop.gif differ diff --git a/shop1.png b/shop1.png index fb5590b..f9fb52b 100644 Binary files a/shop1.png and b/shop1.png differ diff --git a/sw.js b/sw.js index 678f8f6..c511773 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,r)=>{const a=e||("document"in self?document.currentScript.src:"")||location.href;if(s[a])return;let l={};const o=e=>n(e,a),c={module:{uri:a},exports:l,require:o};s[a]=Promise.all(i.map((e=>c[e]||o(e)))).then((e=>(r(...e),l)))}}define(["./workbox-958fa2bd"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@pixi.1eac1889.js",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/autoplay.c48a90c0.png",revision:null},{url:"assets/defeat face.5cc80145.png",revision:null},{url:"assets/earcut.b6f90e68.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/fast forward.8950743b.png",revision:null},{url:"assets/game window.07b1840c.png",revision:null},{url:"assets/gameLoop.06acf317.js",revision:null},{url:"assets/health bar.2f7af180.png",revision:null},{url:"assets/heart_small.5a26b7f7.png",revision:null},{url:"assets/index.36854818.css",revision:null},{url:"assets/index.879b00ef.js",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/Kitchen BG.cfdc4569.png",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/money bar.00bfe5bc.png",revision:null},{url:"assets/money_small.0e39b4dc.png",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/Play Again.46203d64.png",revision:null},{url:"assets/play.0f2f487f.png",revision:null},{url:"assets/presence_small.bbe534cd.png",revision:null},{url:"assets/presence_v2.d5ab8334.png",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",revision:null},{url:"assets/shop cat.90b80da1.png",revision:null},{url:"assets/shop window.0a80aaff.png",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.cbae5b2d.js",revision:null},{url:"assets/start stream.dd66a6ec.png",revision:null},{url:"assets/url.e51cb87b.js",revision:null},{url:"assets/vue-next-select.0dc4e443.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.b7cd620e.js",revision:null},{url:"assets/vue.f6263579.js",revision:null},{url:"assets/vuedraggable.c3acdf62.js",revision:null},{url:"assets/win bar.b60a7ec9.png",revision:null},{url:"assets/win face.8406df05.png",revision:null},{url:"assets/wins_small.a33d849a.png",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"autoplay.png",revision:"be9f6e80259eab236f8ce1cf325a4a3d"},{url:"cat.png",revision:"3d1d4795ee68063f7967239b9bd8a77e"},{url:"coots.png",revision:"9bca770993dc061752730cbf8dd88036"},{url:"Defeat Button.png",revision:"9b32b251dc3eb6a8c63819800dd9f5eb"},{url:"defeat face.png",revision:"11e555cdbd4616e8e0fd6ea070da4d66"},{url:"fast forward.png",revision:"33761df6a031d64fb6aaa8e0e943bb43"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"favicon.svg",revision:"c8dd2748f1fedd25449164d7dda6aecb"},{url:"Freeze icon.png",revision:"decc09aac214dca5210bbe023426e4d3"},{url:"Freeze shop.png",revision:"85c2880486a59dfda07968ea20496141"},{url:"game window.png",revision:"b184e67f3ad807095a00d1278ee13aa2"},{url:"health bar.png",revision:"4f6f8b12630845bde9bc89e75b1485a3"},{url:"heart_small.png",revision:"9af76d6404f92c4777152a73b3c7465f"},{url:"heart.png",revision:"3ce9494b944f0eb8930785a0a9700586"},{url:"index.html",revision:"53abeba2ce9f771719bb9efe0f1cecac"},{url:"Kitchen BG.png",revision:"463708f5495058ff69b3ac1ec164c801"},{url:"Ludwig Coots.png",revision:"267217fe492f24c0de4b4f657e229762"},{url:"Lvl 1_0.png",revision:"cfa284005fe3b9c6db03542548c6e1a7"},{url:"Lvl 1_1.png",revision:"9cd5e66b5c3cad561a6691171f2b1d66"},{url:"Lvl 2_0.png",revision:"3ac7f3c7cd97d5b930f3889dd4378662"},{url:"Lvl 2_1.png",revision:"7e99cae404be2ae3b4565f9b767554b2"},{url:"Lvl 2_2.png",revision:"7664e032267c09c9f35849f1dbe0c37c"},{url:"Lvl 3.png",revision:"5ad2d4778058036e8b3391ed74714574"},{url:"Maid Coots.png",revision:"848651b3c86d6710fb3a53fcc55602cc"},{url:"Mogul Mail Coots.png",revision:"b78cc4bc2e383f172934e2e49397f7b8"},{url:"Mogul Money Coots.png",revision:"462b9d9e93271238d6ae9488fbc1c5d2"},{url:"money bar.png",revision:"602546452b00b38ff813230b7cc9c0a8"},{url:"money_small.png",revision:"5e78929d65efda759ed7127899752209"},{url:"Normal Coots.png",revision:"7e10198d336eba9a0eb4429ec80b9ccd"},{url:"particle.png",revision:"63770d8f9fbdc61a909ddf4298a46842"},{url:"Play Again.png",revision:"83654e5cec040eeac90a408cd79e17a9"},{url:"play.png",revision:"a7774abdae3f28d239db9de339df8955"},{url:"presence_small.png",revision:"7548cf56f3cee2c79db032353b74fa71"},{url:"presence_v2.png",revision:"fbaa0b18d5b351dc1550fa408e0ffdc5"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"QT Coots.png",revision:"c6e2cce95d03e55c04488f52d2128e93"},{url:"Shadow.png",revision:"938c513b361078057852347d854fd2cc"},{url:"shop cat.png",revision:"be3c067011a5cd223fba6e6dfbd1a069"},{url:"shop window.png",revision:"878f2c280114d396e5f8a192dcef83ad"},{url:"shop_Sell1.png",revision:"c1a71beffc4c57a1356e1884b36d4de5"},{url:"shop1.png",revision:"3d9fdbc35c389cccefa720aa1a80cb49"},{url:"Stanz Coots.png",revision:"5c6777ac7f0629b28b880aba415fb837"},{url:"start stream.png",revision:"1e67c6b5484f35813764290ae18a77e3"},{url:"Tie Button.png",revision:"6cd26f69795c7cbf0f5d870a819acaaf"},{url:"Vespa Coots.png",revision:"87311a431e62a5a05ba9da4d149b2799"},{url:"Victory Button.png",revision:"2ed197d677467f411d0ecd000dbbef0a"},{url:"win bar.png",revision:"5bb814face6cea9d891aaf48201884a7"},{url:"win face.png",revision:"3389d37ea6089f109cad931eb3a99f64"},{url:"wins_small.png",revision:"b4562addb25a5773e7aef1d4cec09edf"},{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:"f93609f5a1f787be307fe537f0c532f3"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); +if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()})).then((()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,r)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let a={};const o=e=>n(e,l),u={module:{uri:l},exports:a,require:o};s[l]=Promise.all(i.map((e=>u[e]||o(e)))).then((e=>(r(...e),a)))}}define(["./workbox-958fa2bd"],(function(e){"use strict";self.addEventListener("message",(e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()})),e.precacheAndRoute([{url:"apple-touch-icon.png",revision:"26e53bb981d06c8069ffd9d2a14fce0e"},{url:"assets/@fontsource.f66d05e7.css",revision:null},{url:"assets/@pixi.1eac1889.js",revision:null},{url:"assets/@socket.io.aec831e2.js",revision:null},{url:"assets/@vue.4ce677c2.js",revision:null},{url:"assets/autoplay.c48a90c0.png",revision:null},{url:"assets/defeat face.5cc80145.png",revision:null},{url:"assets/earcut.b6f90e68.js",revision:null},{url:"assets/engine.io-client.58517560.js",revision:null},{url:"assets/engine.io-parser.3f360695.js",revision:null},{url:"assets/eventemitter3.dc5195d7.js",revision:null},{url:"assets/fast forward.8950743b.png",revision:null},{url:"assets/game window.07b1840c.png",revision:null},{url:"assets/gameLoop.aa7386bf.js",revision:null},{url:"assets/health bar.2f7af180.png",revision:null},{url:"assets/heart_small.5a26b7f7.png",revision:null},{url:"assets/index.36854818.css",revision:null},{url:"assets/index.b8a9c540.js",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/Kitchen BG.cfdc4569.png",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/money bar.00bfe5bc.png",revision:null},{url:"assets/money_small.0e39b4dc.png",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/Play Again.46203d64.png",revision:null},{url:"assets/play.0f2f487f.png",revision:null},{url:"assets/presence_small.bbe534cd.png",revision:null},{url:"assets/presence_v2.d5ab8334.png",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",revision:null},{url:"assets/shop cat.90b80da1.png",revision:null},{url:"assets/shop window.0a80aaff.png",revision:null},{url:"assets/socket.io-client.79ce0df5.js",revision:null},{url:"assets/socket.io-parser.544e37d1.js",revision:null},{url:"assets/sortablejs.cbae5b2d.js",revision:null},{url:"assets/start stream.dd66a6ec.png",revision:null},{url:"assets/url.e51cb87b.js",revision:null},{url:"assets/vue-next-select.0dc4e443.js",revision:null},{url:"assets/vue-next-select.9e6f4164.css",revision:null},{url:"assets/vue-textarea-autosize.35804eaf.js",revision:null},{url:"assets/vue-toastification.4b5f8ac8.css",revision:null},{url:"assets/vue-toastification.b7cd620e.js",revision:null},{url:"assets/vue.f6263579.js",revision:null},{url:"assets/vuedraggable.c3acdf62.js",revision:null},{url:"assets/win bar.b60a7ec9.png",revision:null},{url:"assets/win face.8406df05.png",revision:null},{url:"assets/wins_small.a33d849a.png",revision:null},{url:"assets/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"autoplay.png",revision:"be9f6e80259eab236f8ce1cf325a4a3d"},{url:"cat.png",revision:"3d1d4795ee68063f7967239b9bd8a77e"},{url:"coots.png",revision:"9bca770993dc061752730cbf8dd88036"},{url:"Defeat Button.png",revision:"9b32b251dc3eb6a8c63819800dd9f5eb"},{url:"defeat face.png",revision:"11e555cdbd4616e8e0fd6ea070da4d66"},{url:"fast forward.png",revision:"33761df6a031d64fb6aaa8e0e943bb43"},{url:"favicon.ico",revision:"eead31eb5b19fa3bdc34af83d898c0b7"},{url:"favicon.svg",revision:"c8dd2748f1fedd25449164d7dda6aecb"},{url:"Freeze icon.png",revision:"decc09aac214dca5210bbe023426e4d3"},{url:"Freeze shop.png",revision:"85c2880486a59dfda07968ea20496141"},{url:"game window.png",revision:"b184e67f3ad807095a00d1278ee13aa2"},{url:"health bar.png",revision:"4f6f8b12630845bde9bc89e75b1485a3"},{url:"heart_small.png",revision:"9af76d6404f92c4777152a73b3c7465f"},{url:"heart.png",revision:"3ce9494b944f0eb8930785a0a9700586"},{url:"index.html",revision:"22197eea63c707b163b4f7b49301b260"},{url:"Kitchen BG.png",revision:"463708f5495058ff69b3ac1ec164c801"},{url:"Ludwig Coots.png",revision:"267217fe492f24c0de4b4f657e229762"},{url:"Lvl 1_0.png",revision:"cfa284005fe3b9c6db03542548c6e1a7"},{url:"Lvl 1_1.png",revision:"9cd5e66b5c3cad561a6691171f2b1d66"},{url:"Lvl 2_0.png",revision:"3ac7f3c7cd97d5b930f3889dd4378662"},{url:"Lvl 2_1.png",revision:"7e99cae404be2ae3b4565f9b767554b2"},{url:"Lvl 2_2.png",revision:"7664e032267c09c9f35849f1dbe0c37c"},{url:"Lvl 3.png",revision:"5ad2d4778058036e8b3391ed74714574"},{url:"Maid Coots.png",revision:"848651b3c86d6710fb3a53fcc55602cc"},{url:"Mogul Mail Coots.png",revision:"b78cc4bc2e383f172934e2e49397f7b8"},{url:"Mogul Money Coots.png",revision:"462b9d9e93271238d6ae9488fbc1c5d2"},{url:"money bar.png",revision:"602546452b00b38ff813230b7cc9c0a8"},{url:"money_small.png",revision:"5e78929d65efda759ed7127899752209"},{url:"Normal Coots.png",revision:"7e10198d336eba9a0eb4429ec80b9ccd"},{url:"particle.png",revision:"63770d8f9fbdc61a909ddf4298a46842"},{url:"Play Again.png",revision:"83654e5cec040eeac90a408cd79e17a9"},{url:"play.png",revision:"a7774abdae3f28d239db9de339df8955"},{url:"presence_small.png",revision:"7548cf56f3cee2c79db032353b74fa71"},{url:"presence_v2.png",revision:"fbaa0b18d5b351dc1550fa408e0ffdc5"},{url:"pwa-192x192.png",revision:"a16785d9e890858c5b508e0ef6954aaf"},{url:"pwa-512x512.png",revision:"b84004b93fd62ef6599ff179372861a1"},{url:"QT Coots.png",revision:"c6e2cce95d03e55c04488f52d2128e93"},{url:"Shadow.png",revision:"938c513b361078057852347d854fd2cc"},{url:"shop cat.png",revision:"be3c067011a5cd223fba6e6dfbd1a069"},{url:"shop window.png",revision:"878f2c280114d396e5f8a192dcef83ad"},{url:"shop_Sell1.png",revision:"c1a71beffc4c57a1356e1884b36d4de5"},{url:"shop1.png",revision:"3e33337f78e1dbce7c69185393141c01"},{url:"Stanz Coots.png",revision:"5c6777ac7f0629b28b880aba415fb837"},{url:"start stream.png",revision:"1e67c6b5484f35813764290ae18a77e3"},{url:"Tie Button.png",revision:"6cd26f69795c7cbf0f5d870a819acaaf"},{url:"Vespa Coots.png",revision:"87311a431e62a5a05ba9da4d149b2799"},{url:"Victory Button.png",revision:"2ed197d677467f411d0ecd000dbbef0a"},{url:"win bar.png",revision:"5bb814face6cea9d891aaf48201884a7"},{url:"win face.png",revision:"3389d37ea6089f109cad931eb3a99f64"},{url:"wins_small.png",revision:"b4562addb25a5773e7aef1d4cec09edf"},{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:"f93609f5a1f787be307fe537f0c532f3"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));