diff --git a/assets/gameLoop.ddfbe99a.js b/assets/gameLoop.ddfbe99a.js new file mode 100644 index 0000000..6295190 --- /dev/null +++ b/assets/gameLoop.ddfbe99a.js @@ -0,0 +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.712f3d0f.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"./vuedraggable.c3acdf62.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./vue-textarea-autosize.35804eaf.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.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"./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.712f3d0f.js").then(function(t){return t.c}),["assets/index.712f3d0f.js","assets/index.9fcd1d96.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.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/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/gameLoop.f161412f.js b/assets/gameLoop.f161412f.js deleted file mode 100644 index ad773b2..0000000 --- a/assets/gameLoop.f161412f.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d,s,p as e,a as n,l as T,D as r,b as l,g as u}from"./index.731c9646.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"./vuedraggable.c3acdf62.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./vue-next-select.0dc4e443.js";import"./vue-textarea-autosize.35804eaf.js";import"./@pixi.1eac1889.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.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"./vue-toastification.b7cd620e.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.731c9646.js").then(function(t){return t.c}),["assets/index.731c9646.js","assets/index.892abd58.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.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/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.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/heart_small.5a26b7f7.png b/assets/heart_small.5a26b7f7.png new file mode 100644 index 0000000..99ffb75 Binary files /dev/null and b/assets/heart_small.5a26b7f7.png differ diff --git a/assets/index.712f3d0f.js b/assets/index.712f3d0f.js new file mode 100644 index 0000000..9e692be --- /dev/null +++ b/assets/index.712f3d0f.js @@ -0,0 +1,15 @@ +/* empty css */import"./vue.f6263579.js";import{Z as V,C as c,q as ut,u as zt,j as za,l as Ce,bv as kt,t as w,a8 as l,aa as F,ay as Bt,ar as Qe,aE as h,a0 as B,aK as be,a1 as d,O as j,aG as dt,A as he,_ as O,b6 as M,b8 as Ot,bs as Oa,aq as He,bu as it,bb as oa,T as Fa,a7 as f,b1 as Ne,G as $,w as ve,b2 as Et,aN as ie,I as Be,$ as T,aL as Mt,aJ as la,J as G,aH as ke,aF as Me,z as Te,br as xa,au as Ga,al as Wt,aC as Ua,bc as gt,ao as La,bn as Ja,be as Ya}from"./@vue.4ce677c2.js";import{c as Aa}from"./nanoevents.1080beb7.js";import{L as Se}from"./lz-string.f2f3b7cf.js";import{s as Wa,u as ua}from"./vue-toastification.b7cd620e.js";import{D as Xa}from"./vuedraggable.c3acdf62.js";import{Y as ja}from"./vue-next-select.0dc4e443.js";import{p as Ka}from"./vue-textarea-autosize.35804eaf.js";import{A as ca,T as Ha,R as Za,B as $a,u as en,E as Xt}from"./@pixi.1eac1889.js";import{s as tn}from"./semver.83ff78cf.js";import{l as an}from"./socket.io-client.79ce0df5.js";import{v as nn,n as sn}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.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";const rn=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function a(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerpolicy&&(i.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?i.credentials="include":s.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=a(s);fetch(s.href,i)}};rn();const on="modulepreload",jt={},ln="./",pt=function(t,a){return!a||a.length===0?t():Promise.all(a.map(n=>{if(n=`${ln}${n}`,n in jt)return;jt[n]=!0;const s=n.endsWith(".css"),i=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${i}`))return;const r=document.createElement("link");if(r.rel=s?"stylesheet":on,s||(r.as="script",r.crossOrigin=""),r.href=n,document.head.appendChild(r),s)return new Promise((o,u)=>{r.addEventListener("load",o),r.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},An="./projInfo-schema.json",un="Super Auto Coots",cn="A project made in Profectus",dn="superautocoots",gn="thepaperpilot and crea",mn="",fn="",hn="0.0.0",vn="Initial Commit",pn=!1,yn=!1,bn=2,Cn=!0,Nn=null,Bn="",En=["main"],wn=3600,_n=1,In=!0,Sn="base64";var U={$schema:An,title:un,description:cn,id:dn,author:gn,discordName:mn,discordLink:fn,versionNumber:hn,versionTitle:vn,allowGoBack:pn,defaultShowSmall:yn,defaultDecimalsShown:bn,useHeader:Cn,banner:Nn,logo:Bn,initialTabs:En,maxTickLength:wn,offlineLimit:_n,enablePausing:In,exportEncoding:Sn};class Qn{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 n=new Tn(t,a);for(this.first===void 0?(this.first=n,this.last=n):(n.next=this.first,this.first.prev=n,this.first=n),this.map.set(t,n);this.map.size>this.maxSize;){const s=this.last;this.map.delete(s.key),this.last=s.prev,this.last.next=void 0}}}class Tn{constructor(t,a){this.next=void 0,this.prev=void 0,this.key=t,this.value=a}}const Qt=17,kn=9e15,Mn=Math.log10(9e15),Dn=1/9e15,Rn=308,Vn=-324,Kt=5,Pn=(1<<10)-1,qn=function(){const e=[];for(let a=Vn+1;a<=Rn;a++)e.push(Number("1e"+a));const t=323;return function(a){return e[a+t]}}(),Ve=[2,Math.E,3,4,5,6,7,8,9,10],zn=[[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]],On=[[-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 g=function(t){return E.fromValue_noAlloc(t)},k=function(e,t,a){return E.fromComponents(e,t,a)},R=function(t,a,n){return E.fromComponents_noNormalize(t,a,n)};const _e=function(t,a){const n=a+1,s=Math.ceil(Math.log10(Math.abs(t))),i=Math.round(t*Math.pow(10,n-s))*Math.pow(10,s-n);return parseFloat(i.toFixed(Math.max(n-s,0)))},Tt=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},Fn=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 n=e*e;let s=e;return a=a+1/(12*s),s=s*n,a=a+1/(360*s),s=s*n,a=a+1/(1260*s),s=s*n,a=a+1/(1680*s),s=s*n,a=a+1/(1188*s),s=s*n,a=a+691/(360360*s),s=s*n,a=a+7/(1092*s),s=s*n,a=a+3617/(122400*s),Math.exp(a)/t},da=.5671432904097838,Ht=function(e,t=1e-10){let a,n;if(!Number.isFinite(e)||e===0)return e;if(e===1)return da;e<10?a=0:a=Math.log(e)-Math.log(Math.log(e));for(let s=0;s<100;++s){if(n=(e*Math.exp(-a)+a*a)/(a+1),Math.abs(n-a).5?1:-1;if(Math.random()*20<1)return R(t,0,1);const a=Math.floor(Math.random()*(e+1));let n=a===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(n=Math.trunc(n));let s=Math.pow(10,n);return Math.random()>.9&&(s=Math.trunc(s)),k(t,a,s)}static affordGeometricSeries_core(e,t,a,n){const s=t.mul(a.pow(n));return A.floor(e.div(s).mul(a.sub(1)).add(1).log10().div(a.log10()))}static sumGeometricSeries_core(e,t,a,n){return t.mul(a.pow(n)).mul(A.sub(1,a.pow(e))).div(A.sub(1,a))}static affordArithmeticSeries_core(e,t,a,n){const i=t.add(n.mul(a)).sub(a.div(2)),r=i.pow(2);return i.neg().add(r.add(a.mul(e).mul(2)).sqrt()).div(a).floor()}static sumArithmeticSeries_core(e,t,a,n){const s=t.add(n.mul(a));return e.div(2).mul(s.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=kn)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=A.fromStringCache.get(t);if(a!==void 0)return this.fromDecimal(a);e=e.replace(",","");const n=e.split("^^^");if(n.length===2){const _=parseFloat(n[0]),S=parseFloat(n[1]),Q=n[1].split(";");let ee=1;if(Q.length===2&&(ee=parseFloat(Q[1]),isFinite(ee)||(ee=1)),isFinite(_)&&isFinite(S)){const N=A.pentate(_,S,ee);return this.sign=N.sign,this.layer=N.layer,this.mag=N.mag,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}}const s=e.split("^^");if(s.length===2){const _=parseFloat(s[0]),S=parseFloat(s[1]),Q=s[1].split(";");let ee=1;if(Q.length===2&&(ee=parseFloat(Q[1]),isFinite(ee)||(ee=1)),isFinite(_)&&isFinite(S)){const N=A.tetrate(_,S,ee);return this.sign=N.sign,this.layer=N.layer,this.mag=N.mag,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}}const i=e.split("^");if(i.length===2){const _=parseFloat(i[0]),S=parseFloat(i[1]);if(isFinite(_)&&isFinite(S)){const Q=A.pow(_,S);return this.sign=Q.sign,this.layer=Q.layer,this.mag=Q.mag,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}}e=e.trim().toLowerCase();let r,o,u=e.split("pt");if(u.length===2){r=10,o=parseFloat(u[0]),u[1]=u[1].replace("(",""),u[1]=u[1].replace(")","");let _=parseFloat(u[1]);if(isFinite(_)||(_=1),isFinite(r)&&isFinite(o)){const S=A.tetrate(r,o,_);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}}if(u=e.split("p"),u.length===2){r=10,o=parseFloat(u[0]),u[1]=u[1].replace("(",""),u[1]=u[1].replace(")","");let _=parseFloat(u[1]);if(isFinite(_)||(_=1),isFinite(r)&&isFinite(o)){const S=A.tetrate(r,o,_);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}}const m=e.split("e"),y=m.length-1;if(y===0){const _=parseFloat(e);if(isFinite(_))return this.fromNumber(_),A.fromStringCache.size>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}else if(y===1){const _=parseFloat(e);if(isFinite(_)&&_!==0)return this.fromNumber(_),A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}const p=e.split("e^");if(p.length===2){this.sign=1,p[0].charAt(0)=="-"&&(this.sign=-1);let _="";for(let S=0;S=43&&Q<=57||Q===101)_+=p[1].charAt(S);else return this.layer=parseFloat(_),this.mag=parseFloat(p[1].substr(S+1)),this.normalize(),A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}}if(y<1)return this.sign=0,this.layer=0,this.mag=0,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this;const C=parseFloat(m[0]);if(C===0)return this.sign=0,this.layer=0,this.mag=0,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this;let b=parseFloat(m[m.length-1]);if(y>=2){const _=parseFloat(m[m.length-2]);isFinite(_)&&(b*=Math.sign(_),b+=Tt(_))}if(!isFinite(C))this.sign=m[0]==="-"?-1:1,this.layer=y,this.mag=b;else if(y===1)this.sign=Math.sign(C),this.layer=1,this.mag=b+Math.log10(Math.abs(C));else if(this.sign=Math.sign(C),this.layer=y,y===2){const _=A.mul(k(1,2,b),g(C));return this.sign=_.sign,this.layer=_.layer,this.mag=_.mag,A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}else this.mag=b;return this.normalize(),A.fromStringCache.maxSize>=1&&A.fromStringCache.set(t,A.fromDecimal(this)),this}fromValue(e){return e instanceof A?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:_e(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:_e(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<=Kt?(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):_e(this.m,e)+"e"+_e(this.e,e):this.layer===1?_e(this.m,e)+"e"+_e(this.e,e):this.layer<=Kt?(this.sign===-1?"-":"")+"e".repeat(this.layer)+_e(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+_e(this.mag,e)}abs(){return R(this.sign===0?0:1,this.layer,this.mag)}neg(){return R(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?A.dZero:this.layer===0?k(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?A.dZero:this.layer===0?k(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?A.dZero:this.layer===0?k(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?A.dZero:this.layer===0?k(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=g(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 R(0,0,0);let a,n;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(A.cmpabs(this,t)>0?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return A.fromNumber(a.sign*a.mag+n.sign*n.mag);const s=a.layer*Math.sign(a.mag),i=n.layer*Math.sign(n.mag);if(s-i>=2)return a;if(s===0&&i===-1){if(Math.abs(n.mag-Math.log10(a.mag))>Qt)return a;{const r=Math.pow(10,Math.log10(a.mag)-n.mag),o=n.sign+a.sign*r;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}if(s===1&&i===0){if(Math.abs(a.mag-Math.log10(n.mag))>Qt)return a;{const r=Math.pow(10,a.mag-Math.log10(n.mag)),o=n.sign+a.sign*r;return k(Math.sign(o),1,Math.log10(n.mag)+Math.log10(Math.abs(o)))}}if(Math.abs(a.mag-n.mag)>Qt)return a;{const r=Math.pow(10,a.mag-n.mag),o=n.sign+a.sign*r;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}plus(e){return this.add(e)}sub(e){return this.add(g(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=g(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return R(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return R(this.sign*t.sign,0,1);let a,n;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return A.fromNumber(a.sign*n.sign*a.mag*n.mag);if(a.layer>=3||a.layer-n.layer>=2)return k(a.sign*n.sign,a.layer,a.mag);if(a.layer===1&&n.layer===0)return k(a.sign*n.sign,1,a.mag+Math.log10(n.mag));if(a.layer===1&&n.layer===1)return k(a.sign*n.sign,1,a.mag+n.mag);if(a.layer===2&&n.layer===1){const s=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,s.layer+1,s.sign*s.mag)}if(a.layer===2&&n.layer===2){const s=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,s.layer+1,s.sign*s.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=g(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?A.dNaN:this.layer===0?k(this.sign,0,1/this.mag):k(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=g(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,n=t.mag>0?t.layer:-t.layer;return a>n?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=g(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=g(e);if(t==null&&(t=1e-7),this.sign!==a.sign||Math.abs(this.layer-a.layer)>1)return!1;let n=this.mag,s=a.mag;return this.layer>a.layer&&(s=Tt(s)),this.layer0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?A.dNaN:this.layer>0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(this.sign,0,Math.log10(this.mag))}log(e){return e=g(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?A.dNaN:this.layer===0&&e.layer===0?k(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):A.div(this.log10(),e.log10())}log2(){return this.sign<=0?A.dNaN:this.layer===0?k(this.sign,0,Math.log2(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?A.dNaN:this.layer===0?k(this.sign,0,Math.log(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=g(e),a=this,n=t;if(a.sign===0)return n.eq(0)?R(1,0,1):a;if(a.sign===1&&a.layer===0&&a.mag===1)return a;if(n.sign===0)return R(1,0,1);if(n.sign===1&&n.layer===0&&n.mag===1)return a;const s=a.absLog10().mul(n).pow10();return this.sign===-1?Math.abs(n.toNumber()%2)%2===1?s.neg():Math.abs(n.toNumber()%2)%2===0?s:A.dNaN:s}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return A.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 k(1,0,t);if(e.sign===0)return A.dOne;e=R(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?k(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?k(-e.sign,e.layer+1,-e.mag):A.dOne}pow_base(e){return g(e).pow(this)}root(e){const t=g(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?A.exp(A.mul(this,A.ln(this).sub(1))):A.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(R(1,0,24)))return A.fromNumber(Fn(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 n=e,s=12*n,i=1/s,r=t+i;if(r===t||(t=r,n=n*a,s=360*n,i=1/s,r=t-i,r===t))return A.exp(t);t=r,n=n*a,s=1260*n;let o=1/s;return t=t+o,n=n*a,s=1680*n,o=1/s,t=t-o,A.exp(t)}else return this.layer===1?A.exp(A.mul(this,A.ln(this).sub(1))):A.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?A.dOne:this.layer===0&&this.mag<=709.7?A.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?k(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?k(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):k(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return A.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return k(1,2,Math.log10(this.mag)-.3010299956639812);{const e=A.div(R(this.sign,this.layer-1,this.mag),R(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=R(1,0,1)){if(e===1)return A.pow(this,t);if(e===0)return new A(t);if(this.eq(A.dOne))return A.dOne;if(this.eq(-1))return A.pow(this,t);if(e===Number.POSITIVE_INFINITY){const s=this.toNumber();if(s<=1.444667861009766&&s>=.06598803584531254){if(s>1.444667861009099)return A.fromNumber(Math.E);const i=A.ln(this).neg();return i.lambertw().div(i)}else return s>1.444667861009766?A.fromNumber(Number.POSITIVE_INFINITY):A.dNaN}if(this.eq(A.dZero)){let s=Math.abs((e+1)%2);return s>1&&(s=2-s),A.fromNumber(s)}if(e<0)return A.iteratedlog(t,this,-e);t=g(t);const a=e;e=Math.trunc(e);const n=a-e;if(this.gt(A.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let s=0;s3)return R(t.sign,t.layer+(e-s-1),t.mag);if(s>1e4)return t}return t}iteratedexp(e=2,t=R(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return A.tetrate(e,-t,this);e=g(e);let a=A.fromDecimal(this);const n=t;t=Math.trunc(t);const s=n-t;if(a.layer-e.layer>3){const i=Math.min(t,a.layer-e.layer-3);t-=i,a.layer-=i}for(let i=0;i1e4)return a}return s>0&&s<1&&(e.eq(10)?a=a.layeradd10(-s):a=a.layeradd(-s,e)),a}slog(e=10,t=100){let a=.001,n=!1,s=!1,i=this.slog_internal(e).toNumber();for(let r=1;r1&&s!=u&&(n=!0),s=u,n?a/=2:a*=2,a=Math.abs(a)*(u?-1:1),i+=a,a===0)break}return A.fromNumber(i)}slog_internal(e=10){if(e=g(e),e.lte(A.dZero)||e.eq(A.dOne))return A.dNaN;if(e.lt(A.dOne))return this.eq(A.dOne)?A.dZero:this.eq(A.dZero)?A.dNegOne:A.dNaN;if(this.mag<0||this.eq(A.dZero))return A.dNegOne;let t=0,a=A.fromDecimal(this);if(a.layer-e.layer>3){const n=a.layer-e.layer-3;t+=n,a.layer-=n}for(let n=0;n<100;++n)if(a.lt(A.dZero))a=A.pow(e,a),t-=1;else{if(a.lte(A.dOne))return A.fromNumber(t+A.slog_critical(e.toNumber(),a.toNumber()));t+=1,a=A.log(a,e)}return A.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:A.critical_section(e,t,On)}static tetrate_critical(e,t){return A.critical_section(e,t,zn)}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 n=0,s=0;for(let r=0;re){const o=(e-Ve[r])/(Ve[r+1]-Ve[r]);n=a[r][Math.floor(t)]*(1-o)+a[r+1][Math.floor(t)]*o,s=a[r][Math.ceil(t)]*(1-o)+a[r+1][Math.ceil(t)]*o;break}const i=t-Math.floor(t);return n<=0||s<=0?n*(1-i)+s*i:Math.pow(e,Math.log(n)/Math.log(e)*(1-i)+Math.log(s)/Math.log(e)*i)}layeradd10(e){e=A.fromValue_noAlloc(e).toNumber();const t=A.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 n=0;n<100;++n){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 n=this.slog(t).toNumber()+e;return n>=0?A.tetrate(t,n):Number.isFinite(n)?n>=-1?A.log(A.tetrate(t,n+1),t):A.log(A.log(A.tetrate(t,n+2),t),t):A.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return A.fromNumber(Ht(this.toNumber()));if(this.layer===0)return A.fromNumber(Ht(this.sign*this.mag));if(this.layer===1)return Zt(this);if(this.layer===2)return Zt(this);if(this.layer>=3)return R(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return R(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=R(1,0,1)){t=g(t);const a=e;e=Math.trunc(e);const n=a-e;n!==0&&(t.eq(A.dOne)?(++e,t=A.fromNumber(n)):this.eq(10)?t=t.layeradd10(n):t=t.layeradd(n,this));for(let s=0;s10)return t}return t}sin(){return this.mag<0?this:this.layer===0?A.fromNumber(Math.sin(this.sign*this.mag)):R(0,0,0)}cos(){return this.mag<0?A.dOne:this.layer===0?A.fromNumber(Math.cos(this.sign*this.mag)):R(0,0,0)}tan(){return this.mag<0?this:this.layer===0?A.fromNumber(Math.tan(this.sign*this.mag)):R(0,0,0)}asin(){return this.mag<0?this:this.layer===0?A.fromNumber(Math.asin(this.sign*this.mag)):R(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?A.fromNumber(Math.acos(this.toNumber())):this.layer===0?A.fromNumber(Math.acos(this.sign*this.mag)):R(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?A.fromNumber(Math.atan(this.sign*this.mag)):A.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 A.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return A.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?R(Number.NaN,Number.NaN,Number.NaN):A.ln(this.add(1).div(A.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(A.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 E=A;E.fromStringCache=new Qn(Pn);E.dZero=R(0,0,0);E.dOne=R(1,0,1);E.dNegOne=R(-1,0,1);E.dTwo=R(1,0,2);E.dTen=R(1,0,10);E.dNaN=R(Number.NaN,Number.NaN,Number.NaN);E.dInf=R(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);E.dNegInf=R(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);E.dNumberMax=k(1,0,Number.MAX_VALUE);E.dNumberMin=k(1,0,Number.MIN_VALUE);g=E.fromValue_noAlloc;k=E.fromComponents;R=E.fromComponents_noNormalize;E.fromMantissaExponent;E.fromMantissaExponent_noNormalize;const xn=new E(1);function nt(e,t,a=!0){let n=E.log10(e).floor(),s=E.div(e,E.pow(10,n));s.toStringWithDecimalPlaces(t)==="10"&&(s=xn,n=n.add(1));const i=n.gte(1e9)?Ae(n,Math.max(Math.max(t,3),U.defaultDecimalsShown)):n.gte(1e4)?yt(n,0):n.toStringWithDecimalPlaces(0);return a?s.toStringWithDecimalPlaces(t)+"e"+i:"e"+i}function yt(e,t){if(e==null)return"NaN";if(e=new E(e),e.mag<.001)return 0 .toFixed(t);const n=e.toStringWithDecimalPlaces(t).split(".");return n[0]=n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),n.length==1?n[0]:n[0]+"."+n[1]}function ga(e,t){return e==null?"NaN":(e=new E(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),U.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const Gn=new E("eeee1000"),Un=new E("e100000"),$t=new E("e1000"),ma=new E(1e9),Ln=new E(1e6),Jn=new E(1e3),Yn=new E(.98),Wn=new E(.001),fa=new E(0);function Ae(e,t,a){if(t==null&&(t=U.defaultDecimalsShown),a=a!=null?a:U.defaultShowSmall,e=new E(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+Ae(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(Gn)){const n=e.slog();return n.gte(Ln)?"F"+Ae(n.floor()):E.pow(10,n.sub(n.floor())).toStringWithDecimalPlaces(3)+"F"+yt(n.floor(),0)}else{if(e.gte(Un))return nt(e,0,!1);if(e.gte($t))return nt(e,0);if(e.gte(ma))return nt(e,t);if(e.gte(Jn))return yt(e,0);if(e.gte(Wn)||!a)return ga(e,t);if(e.eq(fa))return 0 .toFixed(t)}return e=va(e),e.lt($t)?nt(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):Ae(e,t)+"\u207B\xB9"}function oe(e){return e=new E(e),e.sign<0?"-"+oe(e.neg()):e.gte(ma)||e.lte(Yn)&&!e.eq(fa)?Ae(e):Ae(e,0)}function ha(e){return E.lt(e,0)?"-"+ha(E.neg(e)):E.gt(e,2**51)?Ae(E.div(e,31536e3))+"y":(e=new E(e).toNumber(),e<60?Ae(e)+"s":e<3600?oe(Math.floor(e/60))+"m "+Ae(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 Xn(e,t,a){e=new E(e);let n=e.toStringWithDecimalPlaces(t);return new E(n).gte(a)&&(n=E.sub(a,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),n}function jn(e,t){return Ae(e,t,!0)}function va(e){let t=E.log10(e).ceil();const a=E.div(e,E.pow(10,t));return t=t.neg(),e=new E(10).pow(t).times(a),e}var Kn=Object.freeze(Object.defineProperty({__proto__:null,default:E,exponentialFormat:nt,commaFormat:yt,regularFormat:ga,format:Ae,formatWhole:oe,formatTime:ha,toPlaces:Xn,formatSmall:jn,invertOOM:va},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:Hn,commaFormat:Zn,regularFormat:$n,format:pa,formatWhole:Dt,formatTime:Ft,toPlaces:es,formatSmall:ts,invertOOM:as}=Kn;window.Decimal=E;window.exponentialFormat=Hn;window.commaFormat=Zn;window.regularFormat=$n;window.format=pa;window.formatWhole=Dt;window.formatTime=Ft;window.toPlaces=es;window.formatSmall=ts;window.invertOOM=as;function ns(e){let t=e.replace(/([A-Z])/g," $1");return t=t.charAt(0).toUpperCase()+t.slice(1),t}function ea(e){return typeof e=="function"}var X=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(X||{});const bt=Symbol("DoNotCache");function K(e,t){const a=e[t];ea(a)&&a.length===0&&!a[bt]?e[t]=V(a.bind(e)):ea(a)&&(e[t]=a.bind(e),e[t][bt]=!0)}const rt=Symbol("Component"),wt=Symbol("GatherProps");let ss=0;function xt(e="feature-"){return e+ss++}var ot=(e=>(e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.None=2]="None",e))(ot||{});function Ct(e){const t=c(e);return t!==2&&t!==!1}function ya(e){return c(e)===1}function L(e){return e[bt]=!0,e}function Ge(e,t,a){e[t]===void 0&&a!=null&&(e[t]=a)}const ae=Aa();"fonts"in document&&(document.fonts.onloadingdone=()=>ae.emit("fontsLoaded"));var is=Object.freeze(Object.defineProperty({__proto__:null,globalBus:ae},Symbol.toStringTag,{value:"Module"}));const Oe=Symbol("ProxyState");function _t(e,t={}){const a=t;let n=!1;function s(){return n||(Object.assign(a,e(a)),n=!0),a}return new Proxy(a,{get(i,r){if(r===Oe)return s();const o=s()[r];return o!=null&&typeof o=="object"&&Vt in o?o[Vt]:o},set(i,r,o){return s()[r]=o,!0},has(i,r){return r===Oe?!0:Reflect.has(s(),r)},ownKeys(){return Reflect.ownKeys(s())},getOwnPropertyDescriptor(i,r){return n||(Object.assign(a,e(a)),n=!0),Object.getOwnPropertyDescriptor(i,r)}})}const rs=ut({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var q=window.player=rs;function ba(e){return JSON.stringify(e,(t,a)=>c(a))}var te=window.state=zt({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const Ye=Symbol("PersistentState"),Ze=Symbol("DefaultValue"),Nt=Symbol("StackTrace"),Rt=Symbol("Deleted"),Vt=Symbol("NonPersistent"),Fe=Symbol("SaveDataPath");function os(){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 ta(e,t){var a;if(E.isNaN(t))throw te.hasNaN||(q.autosave=!1,te.hasNaN=!0,te.NaNPath=e[Fe],te.NaNPersistent=e),console.error("Attempted to save NaN value to",(a=e[Fe])==null?void 0:a.join("."),e),"Attempted to set NaN value. See above for details";e[Ye].value=t}function Ca(e,t=!0){const a=Ce(e)?e:w(e);Ce(e)&&(e=e.value);const n=V({get(){return a.value},set(i){t?ta(s,i):s[Ye].value=i}});n[Ze]=e;const s={get value(){return a.value},set value(i){t?ta(s,i):s[Ye].value=i},__v_isRef:!0,[Ye]:a,[Ze]:e,[Nt]:os(),[Rt]:!1,[Vt]:n,[Fe]:void 0};return me.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",s,` +Created at: +`+s[Nt]):We[me[me.length-1]].add(s),s}function ls(e){return e!=null&&typeof e=="object"&&Ye in e}ae.on("addLayer",(e,t)=>{const a=[],n=(s,i=[])=>{let r=!1;return Object.keys(s).forEach(o=>{let u=s[o];if(u!=null&&typeof u=="object")if(Oe in u&&(u=u[Oe]),ls(u)){if(r=!0,u[Rt]){console.warn("Deleted persistent ref present in returned object. Ignoring...",u,` +Created at: +`+u[Nt]);return}We[e.id].delete(u);const m=[e.id,...i,o];u[Fe]!=null&&JSON.stringify(m)!==JSON.stringify(u[Fe])&&console.error(`Persistent ref is being saved to \`${m.join(".")}\` when it's already present at \`${u[Fe].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,u),u[Fe]=m;const y=i.reduce((C,b)=>(b in C||(C[b]={}),C[b]),t),p=y[o];y[o]=u[Ye],za(y)?p!=null?y[o]=p:y[o]=u[Ze]:p!=null?y[o].value=p:y[o].value=u[Ze]}else!(u instanceof E)&&!Ce(u)&&!a.includes(u)&&(typeof u.type=="symbol"&&a.push(u),n(u,[...i,o])&&(kt(u)&&!kt(s)?console.warn("Found array that contains persistent values when adding layer. Keep in mind changing the order of elements in the array will mess with existing player saves.",Oe in s?s[Oe]:s,o):r=!0))}),r};n(e[Oe]),We[e.id].forEach(s=>{s[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`,s,` +Created at: +`+s[Nt])}),We[e.id].clear()});const Gt=Symbol("RegisterNode"),Ut=Symbol("UnregisterNode"),Na=Symbol("Nodes"),Ba=Symbol("Bounds"),ne=zt({});window.layers=ne;const We={},me=[];function Ea(e,t){return _t(()=>{const a={},n=a.emitter=Aa();if(a.on=n.on.bind(n),a.emit=n.emit.bind(n),a.nodes=w({}),a.id=e,me.push(e),We[e]=new Set,a.minimized=Ca(!1,!1),Object.assign(a,t.call(a)),me[me.length-1]==null||me[me.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen +Stack: ${me} +Trying to pop ${a.id}`;me.pop(),K(a,"color"),K(a,"display"),K(a,"classes"),K(a,"style"),K(a,"name"),Ge(a,"name",a.id),K(a,"minWidth"),Ge(a,"minWidth",600),K(a,"minimizable"),Ge(a,"minimizable",!0),K(a,"minimizedDisplay");const s=a.style;return a.style=V(()=>{var r,o;let i=c(a.minWidth);return(typeof i=="number"||!Number.isNaN(parseInt(i)))&&(i=i+"px"),[(r=c(s))!=null?r:"",(o=a.minimized)!=null&&o.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:i,flexBasis:i,margin:""}]}),a})}function wa(e,t){if(console.info("Adding layer",e.id),ne[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,ne[e.id]);return}Ge(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),ne[e.id]=e,ae.emit("addLayer",e,t.layers[e.id])}function As(e){return ne[e]}function _a(e){console.info("Removing layer",e.id),ae.emit("removeLayer",e),ne[e.id]=void 0}function us(e){_a(e),wa(e,q)}function cs(e){const t=w(!1);return{openModal:()=>t.value=!0,modal:L(()=>l(De,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a},{header:()=>l("h2",null,[c(e.name)]),body:c(e.display)}))}}ae.on("update",function(t){Object.values(ne).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(ne).forEach(a=>{a==null||a.emit("update",t)}),Object.values(ne).forEach(a=>{a==null||a.emit("postUpdate",t)})});var ds=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Gt,UnregisterNodeInjectionKey:Ut,NodesInjectionKey:Na,BoundsInjectionKey:Ba,layers:ne,persistentRefs:We,addingLayers:me,createLayer:Ea,addLayer:wa,getLayer:As,removeLayer:_a,reloadLayer:us,setupLayerModal:cs},Symbol.toStringTag,{value:"Module"}));var W=(e,t)=>{const a=e.__vccOpts||e;for(const[n,s]of t)a[n]=s;return a};const gs=F({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var y;const a=w({}),n=new ResizeObserver(o),s=w(null);Bt(()=>{const p=s.value;p!=null&&n.observe(p)});let i=!0,r=w((y=s.value)==null?void 0:y.getBoundingClientRect());function o(){i&&(i=!1,Qe(()=>{var p;r.value=(p=s.value)==null?void 0:p.getBoundingClientRect(),Object.values(a.value).filter(C=>C).forEach(C=>C.rect=C.element.getBoundingClientRect()),t("updateNodes",a.value),i=!0}))}ae.on("fontsLoaded",o);const u={attributes:!1,childList:!0,subtree:!1};dt(Gt,(p,C)=>{const b=new MutationObserver(()=>m(p));b.observe(C,u),a.value[p]={element:C,observer:b,rect:C.getBoundingClientRect()},o()}),dt(Ut,p=>{var C;(C=a.value[p])==null||C.observer.disconnect(),a.value[p]=void 0,o()}),dt(Na,a),dt(Ba,r);function m(p){const C=a.value[p];C!=null&&(C.rect=C.element.getBoundingClientRect(),t("updateNodes",a.value))}return(p,C)=>(h(),B(j,null,[be(p.$slots,"default",{},void 0,!0),d("div",{ref_key:"resizeListener",ref:s,class:"resize-listener"},null,512)],64))}});var Ia=W(gs,[["__scopeId","data-v-2b1dc1bc"]]);const ms=["onPointerdown"],fs={class:"modal-wrapper"},hs={class:"modal-container"},vs={class:"modal-header"},ps=f(" default header "),ys={class:"modal-body"},bs=f(" default body "),Cs={class:"modal-footer"},Ns=d("div",{class:"modal-default-flex-grow"},null,-1),De=F({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){const s=he(e),i=V(()=>c(s.modelValue)||o.value);function r(){a("update:modelValue",!1)}const o=w(!1),u=w(null),m=V(()=>{var y,p;return(p=(y=u.value)==null?void 0:y.nodes)!=null?p:null});return t({isOpen:i,nodes:m}),(y,p)=>(h(),O(Fa,{to:"#modal-root"},[l(oa,{name:"modal",onBeforeEnter:p[0]||(p[0]=C=>o.value=!0),onAfterLeave:p[1]||(p[1]=C=>o.value=!1)},{default:M(()=>[Ot(d("div",He({class:"modal-mask",onPointerdown:it(r,["self"])},y.$attrs),[d("div",fs,[d("div",hs,[d("div",vs,[be(y.$slots,"header",{shown:c(i)},()=>[ps])]),d("div",ys,[l(Ia,{ref_key:"contextRef",ref:u},{default:M(()=>[be(y.$slots,"body",{shown:c(i)},()=>[bs])]),_:3},512)]),d("div",Cs,[be(y.$slots,"footer",{shown:c(i)},()=>[d("div",{class:"modal-default-footer"},[Ns,d("button",{class:"button modal-default-button",onClick:r}," Close ")])])])])])],16,ms),[[Oa,e.modelValue]])]),_:3})]))}});const Pe={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 Lt=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(Lt||{}),$e={classic:Pe,paper:{...Pe,variables:{...Pe.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:{...Pe,variables:{...Pe.variables,"--foreground":"#45283c","--background":"#bbc3e8","--feature-foreground":"#fff7f6","--raised-background":"#fff7f6","--points":"#45283c","--locked":"#fff7f6","--highlighted":"#434c5e","--bought":"#fff7f6","--danger":"#D08770","--link":"#412323","--outline":"#551842","--accent1":"#dc7d71","--accent2":"#8423a9","--accent3":"#47f2ca","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...Pe,variables:{...Pe.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};function Sa(e={}){return Object.assign({id:`${U.id}-0`,name:"Default Save",tabs:U.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:U.id,modVersion:U.versionNumber,layers:{}},e)}function le(e){const t=Se.compressToUTF16(ba(e!=null?e:q));return localStorage.setItem((e!=null?e:q).id,t),t}async function Bs(){_s();try{let e=localStorage.getItem(P.active);if(e==null){await xe(Xe());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Se.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==U.id){await xe(Xe());return}t.id=P.active,await xe(t)}catch(e){console.error(`Failed to load save. Falling back to new save. +`,e),await xe(Xe())}}function Xe(){const e=vt(),t=Sa({id:e});return le(t),P.saves.push(e),t}function vt(){let e,t=0;do e=`${U.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const Es=w(!1);async function xe(e){console.info("Loading save",e),Es.value=!0;const{layers:t,removeLayer:a,addLayer:n}=await pt(()=>Promise.resolve().then(function(){return ds}),void 0),{fixOldSave:s,getInitialLayers:i}=await pt(()=>Promise.resolve().then(function(){return nl}),void 0);for(const r in t){const o=t[r];o&&a(o)}i(e).forEach(r=>n(r,e)),e=Sa(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,U.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==U.versionNumber&&(s(e.modVersion,e),e.modVersion=U.versionNumber),Object.assign(q,e),P.active=q.id,ae.emit("onLoad")}setInterval(()=>{q.autosave&&le()},1e3);window.onbeforeunload=()=>{q.autosave&&le()};window.save=le;const ws=window.hardReset=async()=>{await xe(Xe())};window.deleteLowerSaves=()=>{const e=Object.values(P.saves).indexOf(q.id)+1;Object.values(P.saves).slice(e).forEach(t=>localStorage.removeItem(t)),P.saves=P.saves.slice(0,e)};const lt=ut({active:"",saves:[],showTPS:!0,theme:Lt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1,showTutorial:!0});Ne(lt,e=>{const t=Se.compressToUTF16(JSON.stringify(e));localStorage.setItem(U.id,t)},{deep:!0});var P=window.settings=lt;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:Lt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};ae.emit("loadSettings",e),Object.assign(lt,e),ws()};function _s(){try{let e=localStorage.getItem(U.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Se.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(lt,t)}ae.emit("loadSettings",lt)}catch{}}const Qa=ut([]);function Is(e){Qa.push(e)}const Ss=ut([]),Qs=ut([]),Ts={class:"table"},aa=F({__name:"Column",setup(e){const t=V(()=>$e[P.theme].mergeAdjacent);return(a,n)=>(h(),B("div",Ts,[d("div",{class:$(["col",{mergeAdjacent:c(t)}])},[be(a.$slots,"default")],2)]))}}),ks={class:"table"},qe=F({__name:"Row",setup(e){const t=V(()=>$e[P.theme].mergeAdjacent);return(a,n)=>(h(),B("div",ks,[d("div",{class:$(["row",{mergeAdjacent:c(t)}])},[be(a.$slots,"default")],2)]))}});function ue(e,t="span"){return typeof e=="function"?F({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),F({template:e})):F({render:()=>({})}):e}function je(e){if(st(e))return typeof e=="function"?e():ue(e);const t=e[rt];return l(t,e[wt](),null)}function Ta(e){if(st(e))return typeof e=="function"?e():typeof e=="string"?l(j,null,[e]):l(e,null,null);const t=e[rt];return l(t,e[wt](),null)}function st(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[bt]===!0}function ka(e,t="div"){const a=ve();return Et(()=>{a.value=ue(fe(e),t)}),a}function It(e,t="div"){const a=ve(null);return Et(()=>{const n=fe(e);a.value=n==""||n==null?null:ue(n,t)}),a}function fe(e){return c(c(e))}function J(...e){return e.includes(Object)||e.push(Object),e}ae.on("setupVue",e=>e.use(Wa));function Ms(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 Ds=F({props:{visibility:{type:J(Number,Boolean),required:!0},display:{type:J(Object,String,Function),required:!0},style:J(String,Object,Array),classes:J(Object),glowColor:J(String),active:Boolean,floating:Boolean},emits:["selectTab"],setup(e,{emit:t}){const{display:a,glowColor:n,floating:s}=he(e),i=ka(a),r=V(()=>{const u=fe(n);return u==null||u===""?{}:c(s)?Ms(u):{boxShadow:`0px 9px 5px -6px ${u}`}});function o(){t("selectTab")}return{selectTab:o,component:i,glowColorStyle:r,unref:c,Visibility:ot,isVisible:Ct,isHidden:ya}}});function Rs(e,t,a,n,s,i){var r;return e.isVisible(e.visibility)?(h(),B("button",{key:0,onClick:t[0]||(t[0]=(...o)=>e.selectTab&&e.selectTab(...o)),class:$(["tabButton",{active:e.active,...e.unref(e.classes)}]),style:Be([{visibility:e.isHidden(e.visibility)?"hidden":void 0},e.glowColorStyle,(r=e.unref(e.style))!=null?r:{}])},[(h(),O(ie(e.component)))],6)):T("",!0)}var Ma=W(Ds,[["render",Rs],["__scopeId","data-v-485cbefe"]]);const Vs=F({__name:"Sticky",setup(e){const t=w("0"),a=new ResizeObserver(s),n=ve(null);function s(){let i=n.value;if(i==null)return;let r=0;for(;i.previousSibling;){const o=i.previousSibling;o.dataset&&"vSticky"in o.dataset&&(r+=o.offsetHeight),i=o}t.value=r+"px"}return Qe(s),document.fonts.ready.then(s),Bt(()=>{var r;const i=(r=n.value)==null?void 0:r.parentElement;i&&a.observe(i)}),(i,r)=>(h(),B("div",{class:"sticky",style:Be({top:t.value}),ref_key:"element",ref:n,"data-v-sticky":""},[be(i.$slots,"default",{},void 0,!0)],4))}});var Ps=W(Vs,[["__scopeId","data-v-cccac690"]]);const qs=F({props:{visibility:{type:J(Number,Boolean),required:!0},activeTab:{type:J(Object),required:!0},selected:{type:Object,required:!0},tabs:{type:J(Object),required:!0},style:J(String,Object,Array),classes:J(Object),buttonContainerStyle:J(String,Object,Array),buttonContainerClasses:J(Object)},components:{Sticky:Ps,TabButton:Ma},setup(e){const{activeTab:t}=he(e),a=V(()=>$e[P.theme].floatingTabs),n=ve("");Et(()=>{const o=fe(t);if(o==null){n.value="";return}if(st(o)){n.value=ue(o);return}n.value=ue(c(o.display))});const s=V(()=>{const o=fe(t);return st(o)||!o?void 0:c(o.classes)}),i=V(()=>{const o=fe(t);return st(o)||!o?void 0:c(o.style)});function r(o){const{display:u,style:m,classes:y,glowColor:p,visibility:C}=o;return{display:u,style:c(m),classes:y,glowColor:p,visibility:C}}return{floating:a,tabClasses:s,tabStyle:i,Visibility:ot,component:n,gatherButtonProps:r,unref:c,isVisible:Ct,isHidden:ya}}});function zs(e,t,a,n,s,i){var u,m;const r=Mt("TabButton"),o=Mt("Sticky");return e.isVisible(e.visibility)?(h(),B("div",{key:0,class:$(["tab-family-container",{...e.unref(e.classes),...e.tabClasses}]),style:Be([{visibility:e.isHidden(e.visibility)?"hidden":void 0},(u=e.unref(e.style))!=null?u:[],(m=e.tabStyle)!=null?m:[]])},[l(o,{class:$(["tab-buttons-container",e.unref(e.buttonContainerClasses)]),style:Be(e.unref(e.buttonContainerStyle))},{default:M(()=>[d("div",{class:$(["tab-buttons",{floating:e.floating}])},[(h(!0),B(j,null,la(e.unref(e.tabs),(y,p)=>(h(),O(r,He({onSelectTab:C=>e.selected.value=p,floating:e.floating,key:p,active:e.unref(y.tab)===e.unref(e.activeTab)},e.gatherButtonProps(y)),null,16,["onSelectTab","floating","active"]))),128))],2)]),_:1},8,["class","style"]),e.unref(e.activeTab)?(h(),O(ie(e.unref(e.component)),{key:0})):T("",!0)],6)):T("",!0)}var Os=W(qs,[["render",zs],["__scopeId","data-v-58dbf83a"]]);const Fs=Symbol("TabButton"),xs=Symbol("TabFamily");function Gs(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=Ca(Object.keys(e)[0],!1);return _t(()=>{var i;const n=(i=t==null?void 0:t())!=null?i:{};n.id=xt("tabFamily-"),n.type=xs,n[rt]=Os,n.tabs=Object.keys(e).reduce((r,o)=>{const u=e[o]();return u.type=Fs,u[rt]=Ma,K(u,"visibility"),Ge(u,"visibility",ot.Visible),K(u,"tab"),K(u,"display"),K(u,"classes"),K(u,"style"),K(u,"glowColor"),r[o]=u,r},{}),n.selected=a,n.activeTab=V(()=>{const r=c(s.tabs);if(a.value in r&&Ct(r[a.value].visibility))return c(r[a.value].tab);const o=Object.values(r).find(u=>Ct(u.visibility));return o?c(o.tab):null}),K(n,"visibility"),Ge(n,"visibility",ot.Visible),K(n,"classes"),K(n,"style"),K(n,"buttonContainerClasses"),K(n,"buttonContainerStyle"),n[wt]=function(){const{visibility:r,activeTab:o,selected:u,tabs:m,style:y,classes:p,buttonContainerClasses:C,buttonContainerStyle:b}=this;return{visibility:r,activeTab:o,selected:u,tabs:m,style:c(y),classes:p,buttonContainerClasses:C,buttonContainerStyle:b}};const s=n;return s})}var na="./assets/heart_small.5a26b7f7.png",Us="./assets/presence_small.bbe534cd.png",Ls="./assets/wins_small.a33d849a.png",mt="./assets/money_small.16f3e324.png";const Js=F({components:{Context:Ia},props:{index:{type:Number,required:!0},display:{type:J(Object,String,Function),required:!0},minimizedDisplay:J(Object,String,Function),minimized:{type:Object,required:!0},name:{type:J(String),required:!0},color:J(String),minimizable:J(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:s}=he(e),i=ka(t),r=It(s),o=V(()=>U.allowGoBack&&a.value>0&&!fe(n));function u(){q.tabs.splice(c(e.index),1/0)}function m(y){e.nodes.value=y}return{component:i,minimizedComponent:r,showGoBack:o,updateNodes:m,unref:c,goBack:u}}}),Ys={key:1};function Ws(e,t,a,n,s,i){const r=Mt("Context");return h(),B("div",{class:"layer-container",style:Be({"--layer-color":e.unref(e.color)})},[e.showGoBack?(h(),B("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...o)=>e.goBack&&e.goBack(...o))},"\u274C")):T("",!0),e.unref(e.minimized)?(h(),B("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=o=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(h(),O(ie(e.minimizedComponent),{key:0})):(h(),B("div",Ys,G(e.unref(e.name)),1))])):(h(),B("div",{key:2,class:$(["layer-tab",{showGoBack:e.showGoBack}])},[l(r,{onUpdateNodes:e.updateNodes},{default:M(()=>[(h(),O(ie(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(h(),B("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=o=>e.$emit("setMinimized",!0))}," \u25BC ")):T("",!0)],4)}var Xs=W(Js,[["render",Ws],["__scopeId","data-v-a592996e"]]);const Da=e=>(ke("data-v-4b4bda40"),e=e(),Me(),e),js=Da(()=>d("h2",null,"Changelog",-1)),Ks=Da(()=>d("details",{open:""},[d("summary",null,[f("v0.0 Initial Commit - "),d("time",null,"2021-09-04")]),f(" This is the first release :D "),d("ul",null,[d("li",{class:"feature"},"Did everything"),d("li",{class:"fix"},"Had some fun"),d("li",{class:"breaking"},"Removed everything"),d("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),Hs=F({__name:"Changelog",setup(e,{expose:t}){const a=w(!1);return t({open(){a.value=!0}}),(n,s)=>(h(),O(De,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=i=>a.value=i)},{header:M(()=>[js]),body:M(()=>[Ks]),_:1},8,["modelValue"]))}});var Zs=W(Hs,[["__scopeId","data-v-4b4bda40"]]),$s=F({props:{element:Object,display:{type:J(Object,String,Function),required:!0},style:J(Object,String,Array),classes:J(Object),direction:J(String),xoffset:J(String),yoffset:J(String),pinned:Object},setup(e){const{element:t,display:a,pinned:n}=he(e),s=w(!1),i=V(()=>(fe(n)||s.value)&&r.value),r=It(a),o=ve(ue(L(()=>{const y=fe(t);return y==null?"":Ta(y)})));function u(y){const p=n;y.shiftKey&&p&&(p.value=!p.value,y.stopPropagation(),y.preventDefault())}const m=V(()=>fe(n)&&$e[P.theme].showPin);return{Direction:X,isHovered:s,isShown:i,comp:r,elementComp:o,unref:c,togglePinned:u,showPin:m}}});const ei={key:0,class:"material-icons pinned"};function ti(e,t,a,n,s,i){return h(),B("div",{class:$(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=r=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=r=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...r)=>e.togglePinned&&e.togglePinned(...r))},[be(e.$slots,"default",{},void 0,!0),e.elementComp?(h(),O(ie(e.elementComp),{key:0})):T("",!0),l(oa,{name:"fade",css:!!e.comp},{default:M(()=>{var r;return[e.isShown?(h(),B("div",{key:0,class:$(["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"},(r=e.unref(e.style))!=null?r:{}])},[e.showPin?(h(),B("span",ei,"push_pin")):T("",!0),e.comp?(h(),O(ie(e.comp),{key:1})):T("",!0)],6)):T("",!0)]}),_:1},8,["css"])],34)}var Z=W($s,[["render",ti],["__scopeId","data-v-7a579aa7"]]);const Ue=e=>(ke("data-v-5d3cb6f4"),e=e(),Me(),e),ai={class:"info-modal-header"},ni=["src","alt"],si={class:"info-modal-title"},ii={key:0},ri={key:0},oi={key:0},li=Ue(()=>d("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),Ai=Ue(()=>d("br",null,null,-1)),ui=Ue(()=>d("br",null,null,-1)),ci=["href"],di=Ue(()=>d("span",{class:"material-icons info-modal-discord"},"discord",-1)),gi=Ue(()=>d("div",null,[d("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[d("span",{class:"material-icons info-modal-discord"},"discord"),f(" The Paper Pilot Community ")])],-1)),mi=Ue(()=>d("div",null,[d("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[d("span",{class:"material-icons info-modal-discord"},"discord"),f(" The Modding Tree ")])],-1)),fi=Ue(()=>d("br",null,null,-1));var hi=F({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const a=e,{title:n,logo:s,author:i,discordName:r,discordLink:o,versionNumber:u,versionTitle:m}=U,y=he(a),p=w(!1),C=V(()=>Ft(q.timePlayed)),b=V(()=>ue(L(()=>l(j,null,[Ss.map(je)]))));t({open(){p.value=!0}});function _(){var S;(S=c(y.changelog))==null||S.open()}return(S,Q)=>(h(),O(De,{modelValue:p.value,"onUpdate:modelValue":Q[0]||(Q[0]=ee=>p.value=ee)},{header:M(()=>[d("div",ai,[c(s)?(h(),B("img",{key:0,class:"info-modal-logo",src:c(s),alt:c(n)},null,8,ni)):T("",!0),d("div",si,[d("h2",null,G(c(n)),1),d("h4",null,[f(" v"+G(c(u)),1),c(m)?(h(),B("span",ii,": "+G(c(m)),1)):T("",!0)])])])]),body:M(({shown:ee})=>[ee?(h(),B("div",ri,[c(i)?(h(),B("div",oi,"By "+G(c(i)),1)):T("",!0),li,Ai,d("div",{class:"link",onClick:_},"Changelog"),ui,d("div",null,[c(o)?(h(),B("a",{key:0,href:c(o),class:"info-modal-discord-link",target:"_blank"},[di,f(" "+G(c(r)),1)],8,ci)):T("",!0)]),gi,mi,fi,d("div",null,"Time Played: "+G(c(C)),1),(h(),O(ie(c(b))))])):T("",!0)]),_:1},8,["modelValue"]))}});var vi=W(hi,[["__scopeId","data-v-5d3cb6f4"]]);const pi=d("h2",null,"Settings",-1);var yi=F({__name:"Options",setup(e,{expose:t}){const a=w(!1),n=w("behaviour");function s(o){return o==n.value}function i(o){n.value=o}t({isTab:s,setTab:i,save:le,open(){a.value=!0}}),Object.keys($e).map(o=>({label:ns(o),value:o}));const r=V(()=>ue(L(()=>l(j,null,[Qa.map(je)]))));return he(P),he(q),V({get(){return q.devSpeed===0},set(o){q.devSpeed=o?0:null}}),L(()=>l("span",{class:"option-title"},[f("Unthrottled"),l("desc",null,[f("Allow the game to run as fast as possible. Not battery friendly.")])])),L(()=>l("span",{class:"option-title"},[f("Offline Production"),l(Z,{display:"Save-specific",direction:X.Right},{default:()=>[f("*")]}),l("desc",null,[f("Simulate production that occurs while the game is closed.")])])),L(()=>l("span",{class:"option-title"},[f("Autosave"),l(Z,{display:"Save-specific",direction:X.Right},{default:()=>[f("*")]}),l("desc",null,[f("Automatically save the game every second or when the game is closed.")])])),L(()=>l("span",{class:"option-title"},[f("Pause game"),l(Z,{display:"Save-specific",direction:X.Right},{default:()=>[f("*")]}),l("desc",null,[f("Stop everything from moving.")])])),L(()=>l("span",{class:"option-title"},[f("Theme"),l("desc",null,[f("How the game looks.")])])),L(()=>l("span",{class:"option-title"},[f("Show TPS"),l("desc",null,[f("Show TPS meter at the bottom-left corner of the page.")])])),L(()=>l("span",{class:"option-title"},[f("Align modifier units"),l("desc",null,[f("Align numbers to the beginning of the unit in modifier view.")])])),(o,u)=>(h(),O(De,{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=m=>a.value=m)},{header:M(()=>[pi]),body:M(()=>[(h(),O(ie(c(r))))]),_:1},8,["modelValue"]))}});const bi={class:"field"},Ci={key:0,class:"field-title"},Ni=F({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var r;const a=e,n=It(Te(a,"title"),"span"),s=w((r=a.options.find(o=>o.value===a.modelValue))!=null?r:null);Ne(Te(a,"modelValue"),o=>{var u;fe(s)!==o&&(s.value=(u=a.options.find(m=>m.value===o))!=null?u:null)});function i(o){t("update:modelValue",o.value)}return(o,u)=>(h(),B("div",bi,[c(n)?(h(),B("span",Ci,[(h(),O(ie(c(n))))])):T("",!0),l(c(ja),{options:e.options,modelValue:s.value,"onUpdate:modelValue":[u[0]||(u[0]=m=>s.value=m),i],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const Bi=["onSubmit"],Ei={class:"field"},wi={key:0,class:"field-title"},_i=["placeholder"],Ii=F({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const a=e,n=It(Te(a,"title"),"span"),s=ve(null);Bt(()=>{var u;(u=s.value)==null||u.focus()});const i=V({get(){var u;return(u=c(a.modelValue))!=null?u:""},set(u){t("update:modelValue",u)}});function r(){t("submit")}function o(){a.submitOnBlur!==!1?t("submit"):t("cancel")}return(u,m)=>(h(),B("form",{onSubmit:it(r,["prevent"])},[d("div",Ei,[c(n)?(h(),B("span",wi,[(h(),O(ie(c(n))))])):T("",!0),e.textArea?(h(),O(c(Ka),{key:1,modelValue:c(i),"onUpdate:modelValue":m[0]||(m[0]=y=>Ce(i)?i.value=y:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:o,ref_key:"field",ref:s},null,8,["modelValue","placeholder","maxHeight"])):Ot((h(),B("input",{key:2,type:"text","onUpdate:modelValue":m[1]||(m[1]=y=>Ce(i)?i.value=y:null),placeholder:e.placeholder,class:$({fullWidth:!e.title}),onBlur:o,ref_key:"field",ref:s},null,42,_i)),[[xa,c(i)]])])],40,Bi))}});var Jt=W(Ii,[["__scopeId","data-v-90bd4994"]]);const Si={key:0},Qi=["onClick","disabled"],Ti={key:0},ki=["onClick"],Mi=F({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const n=he(e),s=w(!1);Ne(s,o=>{t("confirmingChanged",o)});function i(){if(c(n.skipConfirm)){t("click");return}s.value&&t("click"),s.value=!s.value}function r(){s.value=!1}return(o,u)=>(h(),B("span",{class:$(["container",{confirming:s.value}])},[s.value?(h(),B("span",Si,"Are you sure?")):T("",!0),d("button",{onClick:it(i,["stop"]),class:"button danger",disabled:e.disabled},[s.value?(h(),B("span",Ti,"Yes")):be(o.$slots,"default",{key:1},void 0,!0)],8,Qi),s.value?(h(),B("button",{key:1,class:"button",onClick:it(r,["stop"])},"No",8,ki)):T("",!0)],2))}});var Di=W(Mi,[["__scopeId","data-v-2f8ef34c"]]);const Ri=["onClick"],Vi=F({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=w(!1),n=w(null);function s(){t("click"),n.value&&clearTimeout(n.value),a.value=!1,Qe(()=>{a.value=!0,n.value=setTimeout(()=>a.value=!1,500)})}return(i,r)=>(h(),B("button",{onClick:it(s,["stop"]),class:$(["feedback",{activated:a.value,left:e.left}])},[be(i.$slots,"default",{},void 0,!0)],10,Ri))}});var Pi=W(Vi,[["__scopeId","data-v-01a1b95c"]]);const we=e=>(ke("data-v-c3447434"),e=e(),Me(),e),qi=we(()=>d("div",{class:"handle material-icons"},"drag_handle",-1)),zi={key:0,class:"actions"},Oi=we(()=>d("span",{class:"material-icons"},"content_paste",-1)),Fi=we(()=>d("span",{class:"material-icons"},"content_copy",-1)),xi=we(()=>d("span",{class:"material-icons"},"edit",-1)),Gi=we(()=>d("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),Ui={key:1,class:"actions"},Li=we(()=>d("span",{class:"material-icons"},"check",-1)),Ji=we(()=>d("span",{class:"material-icons"},"close",-1)),Yi={key:2,class:"details"},Wi={class:"save-version"},Xi=we(()=>d("br",null,null,-1)),ji={key:0},Ki={key:3,class:"details"},Hi={key:4,class:"details error"},Zi=we(()=>d("br",null,null,-1)),$i=F({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const a=e,{save:n}=he(a),s=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),i=w(!1),r=w(!1),o=w("");Ne(i,()=>{var p;return o.value=(p=n.value.name)!=null?p:""});const u=V(()=>n.value!=null&&n.value.id===q.id),m=V(()=>{var p;return u.value?q.time:(p=n.value!=null&&n.value.time)!=null?p:0});function y(){t("editName",o.value),i.value=!1}return(p,C)=>(h(),B("div",{class:$(["save",{active:c(u)}])},[qi,i.value?(h(),B("div",Ui,[d("button",{onClick:y,class:"button"},[l(Z,{display:"Save",direction:c(X).Left,class:"info"},{default:M(()=>[Li]),_:1},8,["direction"])]),d("button",{onClick:C[5]||(C[5]=b=>i.value=!i.value),class:"button"},[l(Z,{display:"Cancel",direction:c(X).Left,class:"info"},{default:M(()=>[Ji]),_:1},8,["direction"])])])):(h(),B("div",zi,[c(n).error==null&&!r.value?(h(),O(Pi,{key:0,onClick:C[0]||(C[0]=b=>t("export")),class:"button",left:""},{default:M(()=>[l(Z,{display:"Export",direction:c(X).Left,class:"info"},{default:M(()=>[Oi]),_:1},8,["direction"])]),_:1})):T("",!0),c(n).error==null&&!r.value?(h(),B("button",{key:1,onClick:C[1]||(C[1]=b=>t("duplicate")),class:"button"},[l(Z,{display:"Duplicate",direction:c(X).Left,class:"info"},{default:M(()=>[Fi]),_:1},8,["direction"])])):T("",!0),c(n).error==null&&!r.value?(h(),B("button",{key:2,onClick:C[2]||(C[2]=b=>i.value=!i.value),class:"button"},[l(Z,{display:"Edit Name",direction:c(X).Left,class:"info"},{default:M(()=>[xi]),_:1},8,["direction"])])):T("",!0),l(Di,{disabled:c(u),onClick:C[3]||(C[3]=b=>t("delete")),onConfirmingChanged:C[4]||(C[4]=b=>r.value=b)},{default:M(()=>[l(Z,{display:"Delete",direction:c(X).Left,class:"info"},{default:M(()=>[Gi]),_:1},8,["direction"])]),_:1},8,["disabled"])])),c(n).error==null&&!i.value?(h(),B("div",Yi,[d("button",{class:"button open",onClick:C[6]||(C[6]=b=>t("open"))},[d("h3",null,G(c(n).name),1)]),d("span",Wi,"v"+G(c(n).modVersion),1),Xi,c(m)?(h(),B("div",ji,"Last played "+G(c(s).format(c(m))),1)):T("",!0)])):c(n).error==null&&i.value?(h(),B("div",Ki,[l(Jt,{modelValue:o.value,"onUpdate:modelValue":C[7]||(C[7]=b=>o.value=b),class:"editname",onSubmit:y},null,8,["modelValue"])])):(h(),B("div",Hi,[f(" Error: Failed to load save with id "+G(c(n).id),1),Zi,f(G(c(n).error),1)]))],2))}});var er=W($i,[["__scopeId","data-v-c3447434"]]);const Yt=e=>(ke("data-v-5b5b1604"),e=e(),Me(),e),tr=Yt(()=>d("h2",null,"Saves Manager",-1)),ar={class:"modal-footer"},nr={class:"field"},sr=Yt(()=>d("span",{class:"field-title"},"Create Save",-1)),ir={class:"field-buttons"},rr={class:"footer"},or=Yt(()=>d("div",{style:{"flex-grow":"1"}},null,-1)),lr=F({__name:"SavesManager",setup(e,{expose:t}){const a=w(!1),n=w(null);t({open(){a.value=!0}});const s=w(!1),i=w(""),r=w(null);Ne(i,N=>{N?Qe(()=>{try{if(N[0]!=="{")if(N[0]==="e")N=decodeURIComponent(escape(atob(N)));else if(N[0]==="\u1BE1")N=Se.decompressFromUTF16(N);else{console.warn("Unable to determine preset encoding",N),s.value=!0;return}const I=JSON.parse(N);if(typeof I!="object"){s.value=!0;return}const z=vt();I.id=z,le(I),i.value="",s.value=!1,P.saves.push(z)}catch{s.value=!0}}):s.value=!1});let o={},u=w(Object.keys(o).reduce((N,I)=>(N.push({label:I.split("/").slice(-1)[0].slice(0,-4),value:o[I]}),N),[]));const m=zt({});function y(N){if(m[N]==null){let I=localStorage.getItem(N);if(I==null)m[N]={error:"Save doesn't exist in localStorage",id:N};else if(I==="dW5kZWZpbmVk")m[N]={error:"Save is undefined",id:N};else try{if(I[0]!=="{")if(I[0]==="e")I=decodeURIComponent(escape(atob(I)));else if(I[0]==="\u1BE1")I=Se.decompressFromUTF16(I);else return console.warn("Unable to determine preset encoding",I),s.value=!0,m[N]={error:"Unable to determine preset encoding",id:N},m[N];m[N]={...JSON.parse(I),id:N}}catch(z){m[N]={error:z,id:N},console.warn(`SavesManager: Failed to load info about save with id ${N}: +${z} +${I}`)}}return m[N]}Ne(a,N=>{N&&Object.keys(m).forEach(I=>delete m[I])});const p=V(()=>P.saves.reduce((N,I)=>(N[I]=y(I),N),{}));function C(N){let I;switch(q.id===N?I=ba(q):I=JSON.stringify(p.value[N]),U.exportEncoding){default:console.warn(`Unknown save encoding: ${U.exportEncoding}. Defaulting to lz`);case"lz":I=Se.compressToUTF16(I);break;case"base64":I=btoa(unescape(encodeURIComponent(I)));break;case"plain":break}const z=document.createElement("textarea");z.value=I,document.body.appendChild(z),z.select(),z.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(z)}function b(N){q.id===N&&le();const I={...p.value[N],id:vt()};le(I),P.saves.push(I.id)}function _(N){P.saves=P.saves.filter(I=>I!==N),localStorage.removeItem(N),m[N]=void 0}function S(N){p.value[q.id].time=q.time,le(),m[q.id]=void 0,xe(p.value[N]),m[N]=void 0}function Q(N){if(r.value=N,Qe(()=>{r.value=null}),N[0]!=="{")if(N[0]==="e")N=decodeURIComponent(escape(atob(N)));else if(N[0]==="\u1BE1")N=Se.decompressFromUTF16(N);else{console.warn("Unable to determine preset encoding",N);return}const I=JSON.parse(N);I.id=vt(),le(I),P.saves.push(I.id),S(I.id)}function ee(N,I){const z=p.value[N];z!=null&&(z.name=I,q.id===N?(q.name=I,le()):(le(z),m[N]=void 0))}return(N,I)=>(h(),O(De,{modelValue:a.value,"onUpdate:modelValue":I[4]||(I[4]=z=>a.value=z),ref_key:"modal",ref:n},{header:M(()=>[tr]),body:M(({shown:z})=>[z?(h(),O(c(Xa),{key:0,list:c(P).saves,handle:".handle",itemKey:se=>se},{item:M(({element:se})=>[l(er,{save:c(p)[se],onOpen:pe=>S(se),onExport:pe=>C(se),onEditName:pe=>ee(se,pe),onDuplicate:pe=>b(se),onDelete:pe=>_(se)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):T("",!0)]),footer:M(()=>[d("div",ar,[l(Jt,{modelValue:i.value,"onUpdate:modelValue":I[0]||(I[0]=z=>i.value=z),title:"Import Save",placeholder:"Paste your save here!",class:$({importingFailed:s.value})},null,8,["modelValue","class"]),d("div",nr,[sr,d("div",ir,[d("button",{class:"button",onClick:I[1]||(I[1]=z=>S(c(Xe)().id))},"New Game"),Object.keys(c(u)).length>0?(h(),O(Ni,{key:0,options:c(u),modelValue:r.value,"onUpdate:modelValue":I[2]||(I[2]=z=>Q(z)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):T("",!0)])]),d("div",rr,[or,d("button",{class:"button modal-default-button",onClick:I[3]||(I[3]=z=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Ra=W(lr,[["__scopeId","data-v-5b5b1604"]]);const ce=e=>(ke("data-v-d43b25a6"),e=e(),Me(),e),Ar=["src","alt"],ur={key:1,class:"title"},cr=ce(()=>d("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),dr={class:"discord"},gr={class:"discord-links"},mr={key:0},fr=["href"],hr=ce(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),vr=ce(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),pr={href:"https://forums.moddingtree.com/",target:"_blank"},yr=ce(()=>d("span",{class:"material-icons"},"forum",-1)),br=ce(()=>d("span",{class:"material-icons"},"info",-1)),Cr=ce(()=>d("span",{class:"material-icons"},"help",-1)),Nr=ce(()=>d("span",{class:"material-icons"},"settings",-1)),Br=ce(()=>d("span",{class:"material-icons"},"settings",-1)),Er=ce(()=>d("span",{class:"material-icons"},"info",-1)),wr={href:"https://forums.moddingtree.com/",target:"_blank"},_r=ce(()=>d("span",{class:"material-icons"},"forum",-1)),Ir={class:"discord"},Sr={class:"discord-links"},Qr={key:0},Tr=["href"],kr=ce(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),Mr=ce(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),Dr=F({__name:"Nav",setup(e){const t=w(null),a=w(null),n=w(null),s=w(null),{useHeader:i,banner:r,title:o,discordName:u,discordLink:m,versionNumber:y}=U;function p(){window.open(m,"mywindow")}return(C,b)=>(h(),B(j,null,[c(i)?(h(),B("div",He({key:0,class:"nav"},C.$attrs),[c(r)?(h(),B("img",{key:0,src:c(r),class:"banner",alt:c(o)},null,8,Ar)):(h(),B("div",ur,G(c(o)),1)),d("div",{onClick:b[0]||(b[0]=_=>{var S;return(S=s.value)==null?void 0:S.open()}),class:"version-container"},[l(Z,{display:"Changelog",direction:c(X).Down,class:"version"},{default:M(()=>[d("span",null,"v"+G(c(y)),1)]),_:1},8,["direction"])]),cr,d("div",dr,[d("span",{onClick:p,class:"material-icons"},"discord"),d("ul",gr,[c(m)?(h(),B("li",mr,[d("a",{href:c(m),target:"_blank"},G(c(u)),9,fr)])):T("",!0),hr,vr])]),d("div",null,[d("a",pr,[l(Z,{display:"Forums",direction:c(X).Down,yoffset:"5px"},{default:M(()=>[yr]),_:1},8,["direction"])])]),d("div",{onClick:b[1]||(b[1]=_=>{var S;return(S=t.value)==null?void 0:S.open()})},[l(Z,{display:"Info",direction:c(X).Down,class:"info"},{default:M(()=>[br]),_:1},8,["direction"])]),d("div",{onClick:b[2]||(b[2]=()=>c(P).showTutorial=!0)},[l(Z,{display:"Help",direction:c(X).Down,class:"info"},{default:M(()=>[Cr]),_:1},8,["direction"])]),d("div",{onClick:b[3]||(b[3]=_=>{var S;return(S=n.value)==null?void 0:S.open()})},[l(Z,{display:"Settings",direction:c(X).Down,xoffset:"-66px"},{default:M(()=>[Nr]),_:1},8,["direction"])])],16)):(h(),B("div",He({key:1,class:"overlay-nav"},C.$attrs),[d("div",{onClick:b[4]||(b[4]=_=>{var S;return(S=s.value)==null?void 0:S.open()}),class:"version-container"},[l(Z,{display:"Changelog",direction:c(X).Right,xoffset:"25%",class:"version"},{default:M(()=>[d("span",null,"v"+G(c(y)),1)]),_:1},8,["direction"])]),d("div",{onClick:b[5]||(b[5]=_=>{var S;return(S=n.value)==null?void 0:S.open()})},[l(Z,{display:"Settings",direction:c(X).Right},{default:M(()=>[Br]),_:1},8,["direction"])]),d("div",{onClick:b[6]||(b[6]=_=>{var S;return(S=t.value)==null?void 0:S.open()})},[l(Z,{display:"Info",direction:c(X).Right},{default:M(()=>[Er]),_:1},8,["direction"])]),d("div",null,[d("a",wr,[l(Z,{display:"Forums",direction:c(X).Right,xoffset:"7px"},{default:M(()=>[_r]),_:1},8,["direction"])])]),d("div",Ir,[d("span",{onClick:p,class:"material-icons"},"discord"),d("ul",Sr,[c(m)?(h(),B("li",Qr,[d("a",{href:c(m),target:"_blank"},G(c(u)),9,Tr)])):T("",!0),kr,Mr])])],16)),l(vi,{ref_key:"info",ref:t,changelog:s.value},null,8,["changelog"]),l(Ra,{ref_key:"savesManager",ref:a},null,512),l(yi,{ref_key:"options",ref:n},null,512),l(Zs,{ref_key:"changelog",ref:s},null,512)],64))}});var Va=W(Dr,[["__scopeId","data-v-d43b25a6"]]);const Rr={class:"inner-tab"},Vr=F({__name:"Game",setup(e){const t=Te(q,"tabs"),a=V(()=>Object.keys(ne)),n=U.useHeader;function s(i){const{display:r,minimized:o,name:u,color:m,minimizable:y,nodes:p,minimizedDisplay:C}=i;return{display:r,minimized:o,name:u,color:m,minimizable:y,nodes:p,minimizedDisplay:C}}return(i,r)=>(h(),B("div",{class:$(["tabs-container",{useHeader:c(n)}])},[(h(!0),B(j,null,la(c(t),(o,u)=>{var m,y;return h(),B("div",{key:u,class:$(["tab",c((m=c(ne)[o])==null?void 0:m.classes)]),style:Be(c((y=c(ne)[o])==null?void 0:y.style))},[u===0&&!c(n)?(h(),O(Va,{key:0})):T("",!0),d("div",Rr,[c(a).includes(o)?(h(),O(Xs,He({key:0},s(c(ne)[o]),{index:u,onSetMinimized:p=>c(ne)[o].minimized.value=p}),null,16,["index","onSetMinimized"])):(h(),O(ie(o),{key:1,index:u},null,8,["index"]))])],6)}),128))],2))}});var Pr=W(Vr,[["__scopeId","data-v-3e0f1aab"]]);ca.registerPlugin(Ha);Za.registerPlugin("batch",$a);var qr=F({props:{style:J(String,Object,Array),classes:J(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=ve(null),a=new ResizeObserver(i),n=ve(null);Bt(()=>{var o,u;const r=n.value;r!=null&&(a.observe(r),t.value=new ca({resizeTo:r,backgroundAlpha:0}),(o=n.value)==null||o.appendChild(t.value.view),(u=e.onInit)==null||u.call(e,t.value)),i(),e.onHotReload&&Qe(e.onHotReload)}),Ga(()=>{var r;(r=t.value)==null||r.destroy()});let s=!0;function i(){s&&(s=!1,Qe(()=>{var r;n.value!=null&&((r=e.onContainerResized)==null||r.call(e,n.value.getBoundingClientRect())),s=!0}))}return ae.on("fontsLoaded",i),{unref:c,resizeListener:n}}});function zr(e,t,a,n,s,i){return h(),B("div",{ref:"resizeListener",class:$(["resize-listener",e.unref(e.classes)]),style:Be(e.unref(e.style))},null,6)}var Or=W(qr,[["render",zr],["__scopeId","data-v-0b99a6fc"]]);const Fr=Symbol("Particles");function xr(e){return _t(()=>{var s,i;const t=(s=e==null?void 0:e())!=null?s:{};t.id=xt("particles-"),t.type=Fr,t[rt]=Or,t.app=ve(null),t.addEmitter=r=>{const o=t;return o.app.value?Promise.resolve(new Xt(o.app.value.stage,r)):new Promise(u=>{a.push({resolve:u,config:r})})};let a=[];function n(r){const o=t;o.app.value=r,a.forEach(({resolve:u,config:m})=>u(new Xt(r.stage,m))),a=[]}return t.onContainerResized=(i=t.onContainerResized)==null?void 0:i.bind(t),t[wt]=function(){const{id:r,style:o,classes:u,onContainerResized:m,onHotReload:y}=this;return{id:r,style:c(o),classes:u,onContainerResized:m,onHotReload:y,onInit:n}},t})}window.upgradeConfig=en;const Gr=Symbol("Reset");function Ur(e){return _t(()=>{const t=e();return t.id=xt("reset-"),t.type=Gr,t.reset=function(){var s;const a=i=>{if(i!=null&&typeof i=="object")if(Ze in i){const r=i;r.value=r[Ze]}else!(i instanceof E)&&!Ce(i)&&Object.values(i).forEach(r=>a(r))},n=c(t.thingsToReset);kt(n)?n.forEach(a):a(n),ae.emit("reset",t),(s=t.onReset)==null||s.call(t)},K(t,"thingsToReset"),t})}const ft={};ae.on("removeLayer",e=>{var t;(t=ft[e.id])==null||t.call(ft),ft[e.id]=void 0});var Lr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABT5JREFUeJzt3UGrVVUYBuBj2ERSikSKRmXixDBoEl6kBpVSEBUGgRbUyF9QTYQLd6KDaBoNykqhSKpJoBBBmNakgeRErGahiUGkOAps4nB9t1btc8/Z532e4Xf3XXt55WWxP9ZeezIBAAAAAAAAAAAAAAAAYBzWzXoC8+7mzas3Zz2H/2Pdus3+j1dx26wnALMkAEQTAKIJANEEgGjrZz2Btdbb1Vna9Mq0prImev+9aV0jKwDRBIBoAkA0ASCaABBtYbtAVfejt6tz5sqJQeYzK0ub9nVdX/3dFrU7ZAUgmgAQTQCIJgBEEwCijebJfqg9PGPv6kzb0pZ21+jMnx8262PvDlkBiCYARBMAogkA0QSAaHO3F2ioPTxDuX7hXLN+x/adazyT1Y1lnvPGCkA0ASCaABBNAIgmAESb2T6O3m7PqdOHmvWqy1Htaan0jj8WVXdoz+6VZn1R9/xUrABEEwCiCQDRBIBoAkC0udsLVOntxlRvflXdod7xv3nq8Wb9pR/ON+uXfr/aNX6ve+/e3Kx//MiO4jfa16exAhBNAIgmAEQTAKIJANFG0wXqVXV7jr79dLN+8fh7zfq2/a816499/W2zvrL1/n8xu+GtbL6rWa/mefSDd5v1ai/Wop4abQUgmgAQTQCIJgBEEwCiLewbYZXy9OPOU6NvfPZps77hhRe7xqn89f3ZZn39o7u6xqnm+eTBT5p1b4RBEAEgmgAQTQCIJgBEm7sn+3k7L2js3xRL++ZXLysA0QSAaAJANAEgmgAQbWHfCKtORa5cPvJ8s151Ub784mDX+HfueqLr+sofZ79q1p957p1mXbdndVYAogkA0QSAaAJANAEg2sJ2gapvYP3y8oPN+oZinKo7NFRXp1d138tHfmvW08756WUFIJoAEE0AiCYARBMAoi1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eDvxvxx9ktz/ujjbye5v7fnx2t7jhw9b84PjdvnLHnXH3/jNnOeux1iBYA0AgBpBADSCACkEQBIq1wLNDT5mDlvN+4z59E9Lf33vmbOZ+fs6xd/WzDnN23825x7LU0q3u9On7T3OA3cucWc7x2eMuc3B5/Ha3s8Y8/ZbU8prACQRgAgjQBAGgGANAIAaZVrgfbNXLDnzvVXfvo038M0/BbFa4e861NJ9buzc/tD1x8Zfd2ce63Ou6f+THJ9bqwAkEYAII0AQBoBgDQCAGmVa4E8udueqGg7lPt3Pd6en2gLND79pjnfsM3euzXW2BG6//zPu8157lOjWQEgjQBAGgGANAIAaQQA0rK3QPFTo+1zeDzem1BRqfbw5N4LlEruvUyDB8+Z8z3rx8w53wgDCiAAkEYAII0AQBoBgLRie4Gi7ZDH+9ZY1PRJe94rrU7U6PMdc+79HTyD2+x51doeDysApBEASCMAkEYAII0AQFrl3giLtgHRL9F7p0k/67Qis3P1bIE6SyfMebxVs/9una59/1Jtj4cVANIIAKQRAEgjAJBGACCtci1QVPyNszR7h+rKa4eiqtb2eFgBII0AQBoBgDQCAGkEANJ6vgXy0A6tTq+0N6mwAkAaAYA0AgBpBADSCACk1bYFSiX3N79QFisApBEASCMAkEYAII0AQBot0AoGRw6Erm8NxL5xFtWePxz8F/a5PbiKFQDSCACkEQBIIwCQRgAgrbYtUPTNr87iTOj+0bYnet4Ob6itDVYASCMAkEYAII0AQBoBgLTatkBRyxfOm/O+rdtD9/Hanug5RVgbrACQRgAgjQBAGgGANAIAabRAK/DaIe/NLG8PD21PNbECQBoBgDQCAGkEANIIAKTVtgUq9Y2wVG9+xc//wWqwAkAaAYA0AgBpBADSCACkSX0V/P+k2qsT/dJ6qVZK7YvwHlYASCMAkEYAII0AQBoBgDSagIoq1UqpYQWANAIAaQQA0ggApBEASPsPNfCbE/9N2ZUAAAAASUVORK5CYII=",Kr="./assets/shop.3860773a.gif",Hr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYAAAAGACAYAAACkx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9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",$r="./assets/start stream.dd66a6ec.png",eo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABk1JREFUeJzt3TFoXVUcx/GX1EWRp4N0UkRD0UEJCELhVVuEWHQQIxVKWhxKcRCXiqO6tOhS6iIZRDIIFodCN4sECmIrQqxQ6KBIsigEpEItgks0DnX8/5B//J/ce9/v+xlPH/fevMevB36cc+5oBAAAAAAAAAAAAAAAAGAazHT9ALtte/vmdtfP8H/MzDxg95u1NNv1AwBdIgCwRgBgjQDAGgGAtbu6foBWVNszGb+2249SSv1dtEM7wwwAawQA1ggArBEAWCMAsDb4Fijb9lz99ULT52ltMj4SjtMO7QwzAKwRAFgjALBGAGCNAMDa4Fug1iZ749Zl6G0S7mAGgDUCAGsEANYIAKwRAFgbTAuUXfPz5dfvpq5f1fa0bo3UdVgjtDPMALBGAGCNAMAaAYA1AgBrg2mBWpPtimh1lGz7hG4xA8AaAYA1AgBrBADWCACs0QL9h2yrc+9j8+H4V88fCsePXrsRjm/+djN13yzWCN3BDABrBADWCACsEQBYIwCwVtYCTWuroFqdrIOXr4Tjp+ceKbl+ltpJN62/o8IMAGsEANYIAKwRAFgjALCWboGy5/P0rVX448fr4bhqe376bCV1/X3HTsT/sLUVDi998H7q+lvffpP6vPpdjr33curzffsdqzADwBoBgDUCAGsEANYIAKzJFqjqDexVpxar8apTo1U7JFsdQbVG6jr3vPJq6voHXzqX+rxqe6oMvR1iBoA1AgBrBADWCACsEQBYK9sRplqUaW2HNr+7Fo5nWyN1/cPPnA7Hr97+NBxXf9f6xnrqeRR1fWUo7RAzAKwRAFgjALBGAGCNAMCab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uVYnVbdmmp71KnLffu9Wp8azQwAawQA1ggArBEAWCMAsFbWAimtzxFSVHugZO+bbSeyb3Kvkm1L+vZ78Y4woCECAGsEANYIAKwRAFhr3gIp2bYhS7UHSva+Ve1Ka1VtSVe/V9XzK8wAsEYAYI0AwBoBgDUCAGudtUBKVVuSbQ+y923dTgxFV79XFWYAWCMAsEYAYI0AwBoBgLV/AH3DQBxUNmu+AAAAAElFTkSuQmCC";const to=F({__name:"Node",props:{id:null},setup(e){const a=he(e),n=Wt(Gt,()=>{}),s=Wt(Ut,()=>{}),i=ve(null),r=V(()=>i.value&&i.value.parentElement);return Ne([r,a.id],([o,u],[m,y])=>{m&&s(c(y)),o&&n(u,o)}),Ua(()=>s(c(a.id))),(o,u)=>(h(),B("div",{class:"node",ref_key:"node",ref:i},null,512))}});var ao=W(to,[["__scopeId","data-v-a48cb382"]]),no="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdERGJCaKgESUWCsZCTG0dbSyCZTp9B0ufxMJu38EHsA5YCDaiKGihiCxYuhZp7x254e6O6/m+8me4M1k4/HCYzGQCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkGg69gOs2mLxbbHM86fTS8XfdKz7MuzU2A8AYxIAogkA0QSAaAJAtNNjP8Cy1FqX+zceRt1XOzTMBiCaABBNAIgmAEQTAKKtfQvU2rrsb10tzu9t/i7O9y5sF+dHP74U5w92D4rzZ9evNJ1fU7tv7e/VDg2zAYgmAEQTAKIJANEEgGhr3wL10tr21Ly4dbvLObXrq63Rp69N53PMBiCaABBNAIgmAEQTAKLFtUCff30vzl9+LF//ZKdPO1TT2vb0ui/HbACiCQDRBIBoAkA0ASBaXAt07dzF4rzWDk0ml4vTXi1N6zneBerLBiCaABBNAIgmAEQTAKL9t9+G6fW9oFo79Hz3TnHe692e2vWHb46K89cfXhXnvv8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ZuW1Zq2Xq5dDbJCcA0QSAaAJANAEgmgAQbbVZoF6tS3WWptVatNZ7tVLVtuf84n6P25afXGvp9T3PxglANAEgmgAQTQCIJgBEW+2Xeqs9aLUWrVbkyaPPi+ujZ2Cq7Up1/7vTy/KeRjp7f7K4Xv2eZ2uHnABEEwCiCQDRBIBoAkC0g3kv0JdXHxfXzy8eL65XW5pWm1FtpVpa+99sltuV0e6++bC4/uDF8pNrb0+Xr1Od0ZqNE4BoAkA0ASCaABBNAIg2XQtUbWN2m1o71FJte9qtDofECUA0ASCaABBNAIgmAEQ7mCfCzu58G7qf3dfbUfftpbX/VpvniTCYiAAQTQCIJgBEEwCiDf9FXm171lKdQTr0+/bivUBwwASAaAJANAEgmgAQbbpZIPgfvdokJwDRBIBoAkA0ASCaABBtqrkM/qjOUM32NubR/1DfUm2HnABEEwCiCQDRBIBoAkC06d4OzXHo1UqNbr2cAEQTAKIJANEEgGgCQDQt0JGrtiijW5fqjNDoGScnANEEgGgCQDQBIJoAEE0LxJWqtjpmgWAgASCaABBNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const Pa=e=>(ke("data-v-3f6edf7e"),e=e(),Me(),e),co=["ondragend","ondragenter","ondragleave","ondragover","ondrop"],go={key:0,class:"move-indicator"},mo=Pa(()=>d("span",{class:"material-icons"},"straight",-1)),fo=[mo],ho={key:1,class:"move-indicator"},vo=Pa(()=>d("span",{class:"material-icons"},"merge",-1)),po=[vo],yo={key:2,class:"character-display"},bo=["src"],Co={key:3,class:"relevancy-display"},No=["src"],Bo={key:4,class:"presence-display"},Eo=["src"],wo={key:5,class:"level-display"},_o=["src"],Io=["src"],So=["src"],Qo=["src"],To=["src"],ko=["src"],Mo={key:6,class:"frozen"};var Do=F({__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,n=w(!1),s=w(!1),i=w(void 0);function r(u){var m;n.value=!0,(m=u.dataTransfer)==null||m.setDragImage(i.value,0,0)}Ne(n,u=>{t(u?"dragstart":"dragend")});const o=ve("");return Et(()=>{if(a.character==null||a.selected!=null||n.value){o.value="";return}const u=ue(H[a.character.type].abilityDescription(a.character));o.value=L(()=>l(j,null,[l("b",null,[H[a.character.type].nickname]),l("br",null,null),l(u,null,null)]))}),(u,m)=>(h(),O(Z,{display:c(o),direction:c(X).Up},{default:M(()=>{var y,p,C;return[d("div",{class:$(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:n.value,isDragging:e.isDragging,draggingOver:s.value,shake:e.shake}]),draggable:"true",ondragstart:r,ondragend:()=>n.value=!1,ondragenter:()=>s.value=!0,ondragleave:()=>s.value=!1,ondragover:b=>{var _;e.selected!=null&&!e.isShop&&(((_=e.character)==null?void 0:_.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:()=>{s.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((y=e.character)==null?void 0:y.type)!==e.selected.type||e.isSelected)&&n.value===!1?(h(),B("span",go,fo)):T("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(h(),B("span",ho,po)):T("",!0),e.character!=null?(h(),B("span",yo,[d("img",{ref_key:"imageElement",ref:i,src:c(H)[e.character.type].display},null,8,bo)])):T("",!0),e.character!=null?(h(),B("span",Co,[d("img",{src:c(no)},null,8,No),d("span",null,G((p=e.character)==null?void 0:p.relevancy),1)])):T("",!0),e.character!=null?(h(),B("span",Bo,[d("img",{src:c(so)},null,8,Eo),d("span",null,G((C=e.character)==null?void 0:C.presence),1)])):T("",!0),e.character!=null?(h(),B("span",wo,[e.character.exp===1?(h(),B("img",{key:0,src:c(io)},null,8,_o)):T("",!0),e.character.exp===2?(h(),B("img",{key:1,src:c(ro)},null,8,Io)):T("",!0),e.character.exp===3?(h(),B("img",{key:2,src:c(oo)},null,8,So)):T("",!0),e.character.exp===4?(h(),B("img",{key:3,src:c(lo)},null,8,Qo)):T("",!0),e.character.exp===5?(h(),B("img",{key:4,src:c(Ao)},null,8,To)):T("",!0),e.character.exp===6?(h(),B("img",{key:5,src:c(uo)},null,8,ko)):T("",!0)])):T("",!0),e.frozen?(h(),B("div",Mo)):T("",!0),e.id?(h(),O(ao,{key:7,id:e.id},null,8,["id"])):T("",!0)],10,co)]}),_:1},8,["display","direction"]))}});var Ie=W(Do,[["__scopeId","data-v-3f6edf7e"]]);const Ro={min:.25,max:.5},Vo=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Po=.01,qo=.1,zo=100,Oo=!0,Fo={x:0,y:0},xo=!1,Go=[{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 Uo={lifetime:Ro,ease:Vo,frequency:Po,emitterLifetime:qo,maxParticles:zo,addAtBack:Oo,pos:Fo,emit:xo,behaviors:Go};const At=w(!1),Pt=w(""),sa=ua(),Je=w(),Ke=w("");function ye(e,...t){var a;!At.value||(a=Je.value)==null||a.emit(e,...t)}ae.on("loadSettings",e=>{Ge(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),Ne(()=>e.server,t=>{Je.value&&Je.value.close(),Je.value=an(t),Lo(Je.value),At.value=!1,Ke.value="",Je.value.connect()},{immediate:!0}),Is(L(()=>l(j,null,[l(Jt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),l("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[At.value?l("span",null,[f("Connected!")]):Ke.value?l("span",{style:"color: red"},[Ke.value]):l("span",null,[f("Connecting...")])])])))});function Ee(e){var n;const t=v.particles.boundingRect.value;if(!t)return;const a=(n=v.nodes.value[e])==null?void 0:n.rect;a&&v.particles.addEmitter(Uo).then(s=>{s.updateOwnerPos(a.x+a.width/2-t.x,a.y+a.height/2-t.y),s.playOnceAndDestroy()})}function Lo(e){e.on("connect",()=>{Ke.value="",At.value=!0,v.reset.reset()}),e.on("connect_error",t=>{Ke.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;Ke.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,At.value=!1}),e.on("server version",t=>{tn(U.versionNumber,t)||(sa.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{sa.info(t),t==="Failed to start streaming"&&(v.findingMatch.value=!1)}),e.on("nickname",t=>{Pt.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:H[a].initialRelevancy,presence:H[a].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>Ee(`shop-char-${n}`))},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:H[a].initialRelevancy,presence:H[a].initialPresence,exp:1})),v.frozen.value=v.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>Ee(`shop-char-${n}`))},0),v.showRefreshAnim.value=!0,setTimeout(()=>v.showRefreshAnim.value=!1,500)}),e.on("buy",(t,a,n)=>{v.team.value[a]=n,v.shop.value[t]=null,v.gold.value-=3,Ee(`shop-char-${t}`),Ee(`team-char-${a}`),v.frozen.value.includes(t)&&(v.frozen.value=v.frozen.value.filter(s=>s!==t))}),e.on("move",(t,a)=>{const n=v.team.value[t];v.team.value[t]=v.team.value[a],v.team.value[a]=n,Ee(`team-char-${t}`),Ee(`team-char-${a}`)}),e.on("merge",(t,a,n)=>{var o,u;const s=(u=(o=v.team.value[a])==null?void 0:o.exp)!=null?u:0,i=s>=6?3:s>=3?2:1,r=n.exp>=6?3:n.exp>=3?2:1;v.team.value[t]=null,v.team.value[a]=n,Ee(`team-char-${t}`),Ee(`team-char-${a}`),H[n.type].abilityType==="LevelUp"&&i!==r&&setTimeout(()=>H[n.type].performAbility(n),1250)}),e.on("stream",(t,a)=>{let n=!1;v.team.value.forEach(s=>{s!=null&&H[s.type].abilityType==="StreamStarted"&&(n=!0,H[s.type].performAbility(s))}),n?setTimeout(()=>ia(t,a)):ia(t,a)}),e.on("sell",t=>{const a=v.team.value[t];let n;a.exp>=6?n=3:a.exp>=3?n=2:n=1,v.gold.value+=n,v.team.value[t]=null,Ee(`team-char-${t}`),H[a.type].abilityType==="Sold"&&setTimeout(()=>H[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)})}function ia(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 Jo={min:1.5,max:2.5},Yo=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],Wo=.001,Xo=.1,jo=100,Ko=!0,Ho={x:0,y:0},Zo=!1,$o=[{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 el={lifetime:Jo,ease:Yo,frequency:Wo,emitterLifetime:Xo,maxParticles:jo,addAtBack:Ko,pos:Ho,emit:Zo,behaviors:$o};function ze(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!La(e)}const H={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:Xr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>l(j,null,[l("i",null,[f("Livestream joined")]),f(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",f("relevancy 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:Lr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>l(j,null,[l("i",null,[f("Livestream joined")]),f(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",f("presence 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:jr,abilityType:"Sold",abilityDescription:e=>L(()=>l(j,null,[l("i",null,[f("Sold")]),f(": Gain "),e.exp>=6?3:e.exp>=3?2:1,f(" 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:Jr,abilityType:"LevelUp",abilityDescription:e=>L(()=>l(j,null,[l("i",null,[f("Level up")]),f(": Every character gains "),e.exp>=3?2:1,f(" relevancy and 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:Yr,abilityType:"LivestreamJoined",abilityDescription:e=>L(()=>l(j,null,[l("i",null,[f("Livestream joined")]),f(": Summon a lv")," ",e.exp>=6?3:e.exp>=3?2:1,f(" Ludwig Coots with this character's stats.")])),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:Zr,abilityType:"LivestreamEnded",abilityDescription:e=>L(()=>l(j,null,[l("i",null,[f("Livestream ended")]),f(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",f("relevancy for every character on either livestream with more relevancy.")])),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(()=>l(j,null,[l("i",null,[f("Stream started")]),f(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,f(" presence if you have 2 or more moguls.")])),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:eo,abilityType:"LivestreamJoined",abilityDescription:()=>L(()=>l(j,null,[l("i",null,[f("Livestream joined")]),f(": Set the character that most recently joined the enemy livestream's presence 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=Ea("main",function(){const e=w(3),t=w(0),a=w(0),n=w(0),s=w([null,null,null]),i=w([]),r=w(null),o=w(null),u=w(!1),m=w(""),y=w(!1),p=w(!1),C=w(!1),b=w([]),_=w([]),S=w(!1),Q=w(null),ee=V(()=>Q.value==null?0:Q.value.streamers.reduce((re,x)=>re+Math.max(0,x.presence)*Math.max(0,x.relevancy),0)*100),N=V(()=>Q.value==null?0:Q.value.enemyStreamers.reduce((re,x)=>re+Math.max(0,x.presence)*Math.max(0,x.relevancy),0)*100),I=Ur(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,s.value=[null,null,null],i.value=[],r.value=null,o.value=null,u.value=!1,Q.value=null,m.value="",y.value=!1,C.value=!1,b.value=[],_.value=[]}})),z=w(!1);function se(){var re,x;if(Q.value==null)throw"Preparing move while not in battle";if(b.value.length===0&&Q.value.team.length===0&&Q.value.enemyTeam.length===0){if(Q.value.ranLivestreamEnded===!1){Q.value.streamers.forEach(D=>{H[D.type].abilityType==="LivestreamEnded"&&b.value.push({action:"LivestreamEnded",target:D})}),Q.value.enemyStreamers.forEach(D=>{H[D.type].abilityType==="LivestreamEnded"&&b.value.push({action:"LivestreamEnded",target:D})}),Q.value.ranLivestreamEnded=!0,se();return}m.value==="Victory"?t.value++:m.value==="Defeat"&&e.value--,y.value=!0;return}if(b.value.length===0?b.value.push({action:"join"}):b.value.length>1&&(b.value=b.value.sort((D,Y)=>D.action!==Y.action?1:D.target!=null&&Y.target!=null?Y.target.relevancy-D.target.relevancy:0)),P.autoplay===!1&&C.value===!1)p.value=!0;else{p.value=!1;const D=b.value.shift();switch(D.action){case"join":if(((re=Q.value.team.length)!=null?re:0)>0){const Y=Q.value.team.pop();Q.value.streamers.push(Y),H[Y.type].abilityType==="LivestreamJoined"&&b.value.unshift({action:"LivestreamJoined",target:Y})}if(((x=Q.value.enemyTeam.length)!=null?x:0)>0){const Y=Q.value.enemyTeam.pop();Q.value.enemyStreamers.push(Y),H[Y.type].abilityType==="LivestreamJoined"&&b.value.unshift({action:"LivestreamJoined",target:Y})}break;default:if(D.target==null){console.error("Invalid action",D);break}H[D.target.type].performAbility(D.target);break}C.value=!1,setTimeout(se,P.fast?750:1250)}}const pe=xr(()=>({fullscreen:!1,zIndex:10,boundingRect:w(null),onContainerResized(re){this.boundingRect.value=re}}));return{name:"Game",minimizable:!1,display:L(()=>{let re;if(t.value>=5){let x;return l("div",{class:"total-outcome-container"},[l("span",{class:"total-outcome"},[f("You Won!")]),l("span",{class:"smiley"},[f("\u{1F603}")]),l(qe,null,ze(x=new Array(3).fill(0).map((D,Y)=>l(Ie,{character:s.value[Y]},null)))?x:{default:()=>[x]}),l("button",{class:"button",onClick:()=>location.reload()},[f("Play again")]),je(pe)])}if(e.value<=0){let x;return l("div",{class:"total-outcome-container"},[l("span",{class:"total-outcome"},[f("You ran out of lives!")]),l("span",{class:"smiley"},[f("\u{1F630}")]),l(qe,null,ze(x=new Array(3).fill(0).map((D,Y)=>l(Ie,{character:s.value[Y]},null)))?x:{default:()=>[x]}),l("button",{class:"button",onClick:()=>location.reload()},[f("Play again")]),je(pe)])}if(Q.value!=null){let x,D,Y,Le;return l("div",{class:{["battle-container"]:!0,fast:P.fast}},[l("div",{class:"battle-controls"},[l("button",{class:"button",onClick:()=>{C.value=!0,se()}},[l("span",{class:"material-icons"},[f("play_arrow")]),l("span",null,[f("Play")])]),l("button",{class:{button:!0,active:P.autoplay},onClick:()=>{P.autoplay=!P.autoplay,p.value&&se()}},[l("span",{class:"material-icons"},[f("all_inclusive")]),l("span",null,[f("Autoplay")])]),l("button",{class:{button:!0,active:P.fast},onClick:()=>P.fast=!P.fast},[l("span",{class:"material-icons"},[f("fast_forward")]),l("span",null,[f("Fast")])])]),l("div",{class:"teams-container",style:y.value?"pointer-events: none;":""},[l("div",{class:"team-container"},[l("div",{class:"stream-container"},[l("div",{class:"stream-details",style:"left: 1vmin"},[l("span",null,[Pt.value,f(" (YOU)")]),l("div",{class:"stats"},[l("div",{class:"resource-box lives"},[e.value]),l("div",{class:"resource-box wins"},[t.value,f("/5")]),l("div",{class:"view-counter"},[Dt(ee.value),f(" Views")])])]),l(qe,{class:"streamers-container"},{default:()=>[l(gt,{name:"character-transition"},ze(x=Q.value.streamers.slice().reverse().map((de,Re)=>{var ge;return l(Ie,{key:Q.value.streamers.length-Re,character:de,shake:p.value&&((ge=b.value[0])==null?void 0:ge.target)===de},null)}))?x:{default:()=>[x]})]})]),l(aa,{class:"members-container"},{default:()=>[l(gt,{name:"character-transition"},ze(D=Q.value.team.map((de,Re)=>{var ge,et,tt,at;return l(Ie,{character:de,key:Re,shake:p.value&&((ge=b.value[0])==null?void 0:ge.action)==="join"&&de===((at=Q.value)==null?void 0:at.team[((tt=(et=Q.value)==null?void 0:et.team.length)!=null?tt:0)-1])},null)}))?D:{default:()=>[D]})]})]),l("div",{class:"team-container"},[l("div",{class:"stream-container"},[l("div",{class:"stream-details",style:"right: 1vmin"},[l("span",null,[Q.value.enemyNickname]),l("div",{class:"stats",style:"margin-right: 0"},[l("div",{class:"resource-box lives"},[Q.value.enemyLives]),l("div",{class:"resource-box wins"},[Q.value.enemyWins,f("/5")]),l("div",{class:"view-counter"},[Dt(N.value),f(" Views")])])]),l(qe,{class:"streamers-container"},{default:()=>[l(gt,{name:"character-transition"},ze(Y=Q.value.enemyStreamers.map((de,Re)=>{var ge;return l(Ie,{key:Re,character:de,shake:p.value&&((ge=b.value[0])==null?void 0:ge.target)===de},null)}))?Y:{default:()=>[Y]})]})]),l(aa,{class:"members-container"},{default:()=>[l(gt,{name:"character-transition"},ze(Le=Q.value.enemyTeam.map((de,Re)=>{var ge,et,tt,at;return l(Ie,{character:de,key:Q.value.enemyStreamers.length+Re,shake:p.value&&((ge=b.value[0])==null?void 0:ge.action)==="join"&&de===((at=Q.value)==null?void 0:at.enemyTeam[((tt=(et=Q.value)==null?void 0:et.enemyTeam.length)!=null?tt:0)-1])},null)}))?Le:{default:()=>[Le]})]})])]),y.value?l("div",{class:"outcome",onClick:()=>ye("newTurn")},[l("span",null,[m.value]),l("span",{style:"font-size: 2vmin"},[f("Next Turn")])]):null])}return l("div",{class:"game-container",style:u.value?"pointer-events: none":"",onClick:()=>{r.value=null,o.value=null}},[l("h2",{class:"team-nickname"},[Pt.value]),l(qe,{class:"manager-header"},{default:()=>[l("div",{class:"resource-box moguls"},[n.value]),l("div",{class:"resource-box lives"},[e.value]),l("div",{class:"resource-box wins"},[t.value,f("/5")]),l("div",{style:"flex-grow: 1"},null),u.value?l("div",{class:"waiting"},[f("Finding opposing team...")]):l(j,null,[r.value==null?null:l("button",{class:"button",onDragover:x=>x.preventDefault(),onClick:()=>ye("sell",r.value),onDrop:()=>ye("sell",r.value)},[f("Sell")]),o.value==null?null:l("button",{class:"button",onDragover:x=>x.preventDefault(),onClick:()=>ye("freeze",o.value),onDrop:()=>ye("freeze",o.value)},[f("Freeze")]),l("img",{class:"startStream",draggable:"false",onClick:()=>{ye("stream"),u.value=!0},src:$r},null)])]}),l("div",{style:"flex-grow: 1"},null),l(qe,{style:"margin-top: 10vh"},ze(re=new Array(3).fill(0).map((x,D)=>{var Y,Le;return l(Ie,{id:`team-char-${D}`,character:s.value[D],isSelected:r.value===D,selected:r.value==null?o.value==null||s.value[D]!=null&&((Y=i.value[o.value])==null?void 0:Y.type)!==((Le=s.value[D])==null?void 0:Le.type)||n.value<3?null:i.value[o.value]:s.value[r.value],isDragging:z.value,onClick:ra(D),onDragstart:()=>{z.value=!0,r.value=D,o.value=null},onDragend:()=>{z.value=!1,r.value=null,o.value=null},onDrop:()=>ra(D)()},null)}))?re:{default:()=>[re]}),l(qe,{class:"shop"},{default:()=>[l("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&ye("reroll")}},[l("img",{src:S.value?Kr:Hr},null)]),i.value.map((x,D)=>l(Ie,{id:`shop-char-${D}`,frozen:_.value.includes(D),character:x==null?void 0:x,isSelected:o.value===D,isShop:!0,isDragging:z.value,onClick:Y=>{x!=null&&(o.value=o.value===D?null:D,r.value=null,Y.stopPropagation())},onDragstart:()=>{z.value=!0,r.value=null,o.value=D},onDragend:()=>{z.value=!1,r.value=null,o.value=null}},null))]}),je(pe)])}),lives:e,wins:t,turn:a,gold:n,team:s,shop:i,selectedCharacter:r,selectedShopItem:o,findingMatch:u,showingOutcome:y,outcome:m,reset:I,battle:Q,frozen:_,playClicked:C,prepareMove:se,particles:pe,queue:b,showRefreshAnim:S}});let ht=0;ae.on("update",e=>{if(v.wins.value>=5){if(ht+=e,ht>=1){ht=0;const t=v.particles.boundingRect.value;if(!t)return;v.particles.addEmitter(el).then(a=>{a.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),console.log(a),a.playOnceAndDestroy()})}}else ht=0});function ra(e){return t=>{var a,n,s,i,r,o,u;v.selectedCharacter.value!=null&&v.selectedCharacter.value!==e?((a=v.team.value[v.selectedCharacter.value])==null?void 0:a.type)===((n=v.team.value[e])==null?void 0:n.type)&&((i=(s=v.team.value[v.selectedCharacter.value])==null?void 0:s.exp)!=null?i:0)<6&&((o=(r=v.team.value[e])==null?void 0:r.exp)!=null?o:0)<6?(ye("merge",v.selectedCharacter.value,e),v.selectedCharacter.value=null):(ye("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===((u=v.shop.value[v.selectedShopItem.value])==null?void 0:u.type)&&v.team.value[e].exp<6)&&v.gold.value>=3&&ye("buy",v.selectedShopItem.value,e),v.selectedShopItem.value=null):v.selectedCharacter.value=e,t==null||t.stopPropagation()}}const tl=e=>[v],qa=V(()=>!1);function al(e,t){}var nl=Object.freeze(Object.defineProperty({__proto__:null,characters:H,main:v,getInitialLayers:tl,hasWon:qa,fixOldSave:al},Symbol.toStringTag,{value:"Module"}));const sl={class:"field"},il=F({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=V(()=>{var i;return ue((i=c(a.title))!=null?i:"","span")}),s=V({get(){return!!a.modelValue},set(i){t("update:modelValue",i)}});return(i,r)=>(h(),B("label",sl,[Ot(d("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":r[0]||(r[0]=o=>Ce(s)?s.value=o:null)},null,512),[[Ja,c(s)]]),(h(),O(ie(c(n))))]))}});var qt=W(il,[["__scopeId","data-v-11046116"]]);const ct=e=>(ke("data-v-4a50ce42"),e=e(),Me(),e),rl={class:"game-over-modal-header"},ol=["src","alt"],ll={class:"game-over-modal-title"},Al=ct(()=>d("h2",null,"Congratulations!",-1)),ul={key:0},cl=ct(()=>d("br",null,null,-1)),dl=ct(()=>d("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),gl=ct(()=>d("br",null,null,-1)),ml=["href"],fl=ct(()=>d("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),hl=F({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:s,versionNumber:i,versionTitle:r}=U,o=V(()=>Ft(q.timePlayed)),u=V(()=>qa.value&&!q.keepGoing),m=Te(q,"autosave");function y(){q.keepGoing=!0}function p(){xe(Xe())}return(C,b)=>(h(),O(De,{"model-value":c(u)},{header:M(()=>[d("div",rl,[c(a)?(h(),B("img",{key:0,class:"game-over-modal-logo",src:c(a),alt:c(t)},null,8,ol)):T("",!0),d("div",ll,[Al,d("h4",null,"You've beaten "+G(c(t))+" v"+G(c(i))+": "+G(c(r)),1)])])]),body:M(({shown:_})=>[_?(h(),B("div",ul,[d("div",null,"It took you "+G(c(o))+" to beat the game.",1),cl,dl,gl,d("div",null,[d("a",{href:c(s),class:"game-over-modal-discord-link"},[fl,f(" "+G(c(n)),1)],8,ml)]),l(qt,{title:"Autosave",modelValue:c(m),"onUpdate:modelValue":b[0]||(b[0]=S=>Ce(m)?m.value=S:null)},null,8,["modelValue"])])):T("",!0)]),footer:M(()=>[d("div",{class:"game-over-footer"},[d("button",{onClick:y,class:"button"},"Keep Going"),d("button",{onClick:p,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var vl=W(hl,[["__scopeId","data-v-4a50ce42"]]);const St=e=>(ke("data-v-336bf74f"),e=e(),Me(),e),pl=St(()=>d("div",{class:"nan-modal-header"},[d("h2",null,"NaN value detected!")],-1)),yl={key:0},bl=St(()=>d("br",null,null,-1)),Cl=["href"],Nl=St(()=>d("span",{class:"material-icons nan-modal-discord"},"discord",-1)),Bl=St(()=>d("br",null,null,-1)),El={class:"nan-footer"},wl=F({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=U,n=w(!0),s=w(!0),i=Te(te,"hasNaN"),r=w(null);Ne(i,C=>{C?(n.value=q.autosave,s.value=q.devSpeed===0):(q.autosave=n.value,q.devSpeed=s.value?0:null)});const o=V(()=>{var C;return(C=te.NaNPath)==null?void 0:C.join(".")}),u=V(()=>te.NaNPersistent!=null?te.NaNPersistent.value:null);function m(){te.NaNPersistent!=null&&(te.NaNPersistent.value=new E(0),te.hasNaN=!1)}function y(){te.NaNPersistent&&(te.NaNPersistent.value=new E(1),te.hasNaN=!1)}function p(){te.NaNPersistent&&(te.NaNPersistent.value=new E(NaN),te.hasNaN=!1)}return(C,b)=>(h(),B(j,null,[l(De,He({modelValue:c(i),"onUpdate:modelValue":b[4]||(b[4]=_=>Ce(i)?i.value=_:null)},C.$attrs),{header:M(()=>[pl]),body:M(()=>[d("div",null,[f(' Attempted to assign "'+G(c(o))+'" to NaN',1),c(u)?(h(),B("span",yl,G(" ")+"(previously "+G(c(pa)(c(u)))+")",1)):T("",!0),f(". Auto-saving has been "+G(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),bl,d("div",null,[d("a",{href:c(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[Nl,f(" "+G(c(t)||"The Paper Pilot Community"),1)],8,Cl)]),Bl,l(qt,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":b[0]||(b[0]=_=>n.value=_)},null,8,["modelValue"]),c(U).enablePausing?(h(),O(qt,{key:0,title:"Pause game",modelValue:s.value,"onUpdate:modelValue":b[1]||(b[1]=_=>s.value=_)},null,8,["modelValue"])):T("",!0)]),footer:M(()=>[d("div",El,[d("button",{onClick:b[2]||(b[2]=_=>{var S;return(S=r.value)==null?void 0:S.open()}),class:"button"},"Open Saves Manager"),d("button",{onClick:m,class:"button"},"Set to 0"),d("button",{onClick:y,class:"button"},"Set to 1"),c(u)&&c(E).neq(c(u),0)&&c(E).neq(c(u),1)?(h(),B("button",{key:0,onClick:b[3]||(b[3]=_=>i.value=!1),class:"button"}," Set to previous ")):T("",!0),d("button",{onClick:p,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),l(Ra,{ref_key:"savesManager",ref:r},null,512)],64))}});var _l=W(wl,[["__scopeId","data-v-336bf74f"]]);const Il=f("Information");var Sl=F({__name:"App",setup(e){const t=U.useHeader,a=V(()=>$e[P.theme].variables);Te(P,"showTPS");const n=Te(P,"showTutorial"),s=V(()=>ue(L(()=>l(j,null,[Qs.map(je)])))),i=Gs({general:()=>({display:"General",glowColor(){return i.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>l("div",null,[f("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!"),l("br",null,null),l("br",null,null),f("For those unfamiliar with SAP, this is a game in which you'll manage a team of Coots that have a livestream battle with another player's team of Coots. You win the game by winning 5 "),l("img",{src:Ls},null),l("span",{style:"color: cadetblue"},[f("trophies")]),f(" before losing all 3 "),l("img",{src:na},null),l("span",{style:"color: red"},[f("lives")]),f(".")]))}),managing:()=>({display:"Managing",glowColor(){return i.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>l("div",null,[f("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 "),l("img",{src:mt},null),l("span",{style:"color: yellow"},[f("moguls")]),f(", which is a currency you receive 10 of during the management phase. Any unspent "),l("img",{src:mt},null),l("span",{style:"color: yellow"},[f("moguls")]),f(" are lost. Each Coots costs 3 "),l("img",{src:mt},null),l("span",{style:"color: yellow"},[f("moguls")]),f(", and you can reroll the shop for 1 "),l("img",{src:mt},null),l("span",{style:"color: yellow"},[f("mogul")]),f("."),l("br",null,null),l("br",null,null),f("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 i.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>l("div",null,[f("In a livestream battle, your goal is to get more views than your opponent. Each team will add their Coots to the livestream together, one at a time. Abilities will also activate throughout the stream as appropriate."),l("br",null,null),l("br",null,null),f("Each Coots has two stats- "),l("img",{src:na},null),l("span",{style:"color: red"},[f("Relevancy")]),f(" and "),l("img",{src:Us},null),l("span",{style:"color: gold"},[f("Presence")]),f(". 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."),l("br",null,null),l("br",null,null),f("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 i.activeTab.value===this.tab?"var(--foreground)":""},tab:L(()=>l("div",null,[f("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."),l("br",null,null),l("br",null,null),f("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}})),r=ue(L(()=>Ta(i)));return(o,u)=>(h(),B(j,null,[d("div",{id:"modal-root",style:Be(c(a))},null,4),d("div",{class:$(["app",{useHeader:c(t)}]),style:Be(c(a))},[c(t)?(h(),O(Va,{key:0})):T("",!0),l(Pr),l(vl),l(_l),(h(),O(ie(c(s)))),l(De,{modelValue:c(n),"onUpdate:modelValue":u[0]||(u[0]=m=>Ce(n)?n.value=m:null)},{header:M(()=>[Il]),body:M(()=>[(h(),O(ie(c(r))))]),_:1},8,["modelValue"])],6)],64))}});var Ql=W(Sl,[["__scopeId","data-v-47fdf026"]]);function Tl(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:s,onRegisterError:i}=e;let r,o;const u=async(m=!0)=>{m&&(r==null||r.addEventListener("controlling",y=>{y.isUpdate&&window.location.reload()})),o&&o.waiting&&await sn(o.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){r=new nn("./sw.js",{scope:"./",type:"classic"}),r.addEventListener("activated",m=>{m.isUpdate||n==null||n()});{const m=()=>{a==null||a()};r.addEventListener("waiting",m),r.addEventListener("externalwaiting",m)}r.register({immediate:t}).then(m=>{o=m,s==null||s(m)}).catch(m=>{i==null||i(m)})}return u}function kl(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:s,onRegisterError:i}=e,r=w(!1),o=w(!1);return{updateServiceWorker:Tl({immediate:t,onNeedRefresh(){r.value=!0,a==null||a()},onOfflineReady(){o.value=!0,n==null||n()},onRegistered:s,onRegisterError:i}),offlineReady:o,needRefresh:r}}document.title=U.title;window.projInfo=U;if(U.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 Bs();const{globalBus:e}=await pt(()=>Promise.resolve().then(function(){return is}),void 0),{startGameLoop:t}=await pt(()=>import("./gameLoop.ddfbe99a.js"),["assets/gameLoop.ddfbe99a.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.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/workbox-window.8d14e8b7.js"]),a=window.vue=Ya(Ql);e.emit("setupVue",a),a.mount("#app"),Qe(()=>{const n=ua(),{updateServiceWorker:s}=kl({onNeedRefresh(){n.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(){s()}})},onOfflineReady(){n.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(i){i&&setInterval(()=>i.update(),60*60*1e3)}})}),t()});export{E as D,pt as _,te as a,U as b,nl as c,ae as g,Es as l,q as p,P as s}; diff --git a/assets/index.731c9646.js b/assets/index.731c9646.js deleted file mode 100644 index 80ea0cf..0000000 --- a/assets/index.731c9646.js +++ /dev/null @@ -1,15 +0,0 @@ -/* empty css */import"./vue.f6263579.js";import{Z as q,q as rt,C as u,t as w,b1 as fe,aa as O,aE as h,a0 as E,a1 as c,aK as pe,G as te,w as ye,b2 as Qt,a8 as A,O as Y,ay as St,ar as xe,aG as At,A as be,_ as U,b6 as R,b8 as Mt,bs as _a,aq as at,bu as nt,bb as ea,T as Qa,a7 as p,u as kt,j as Sa,l as Ce,bv as Nt,aL as Ma,$ as M,aN as ce,J as F,I as je,aH as _e,aF as Qe,z as ze,br as ka,aJ as Ta,au as Da,al as Gt,aC as Ra,bc as ut,ao as Va,bn as Pa,be as qa}from"./@vue.4ce677c2.js";import{c as ta}from"./nanoevents.1080beb7.js";import{L as Ie}from"./lz-string.f2f3b7cf.js";import{D as xa}from"./vuedraggable.c3acdf62.js";import{Y as za}from"./vue-next-select.0dc4e443.js";import{p as Fa}from"./vue-textarea-autosize.35804eaf.js";import{A as aa,T as Ga,R as Oa,B as Ua,u as La,E as Ot}from"./@pixi.1eac1889.js";import{s as Ja}from"./semver.83ff78cf.js";import{l as Ya}from"./socket.io-client.79ce0df5.js";import{u as na,s as Wa}from"./vue-toastification.b7cd620e.js";import{v as Xa,n as ja}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.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";const Ka=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const r of s.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function a(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=a(i);fetch(i.href,s)}};Ka();const Ha="modulepreload",Ut={},Za="./",mt=function(t,a){return!a||a.length===0?t():Promise.all(a.map(n=>{if(n=`${Za}${n}`,n in Ut)return;Ut[n]=!0;const i=n.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${s}`))return;const r=document.createElement("link");if(r.rel=i?"stylesheet":Ha,i||(r.as="script",r.crossOrigin=""),r.href=n,document.head.appendChild(r),i)return new Promise((o,d)=>{r.addEventListener("load",o),r.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},$a="./projInfo-schema.json",en="Super Auto Coots",tn="A project made in Profectus",an="superautocoots",nn="thepaperpilot and crea",sn="",rn="",on="0.0.0",ln="Initial Commit",An=!1,un=!1,cn=2,dn=!0,gn=null,mn="",fn=["main"],hn=3600,vn=1,pn=!0,yn="base64";var G={$schema:$a,title:en,description:tn,id:an,author:nn,discordName:sn,discordLink:rn,versionNumber:on,versionTitle:ln,allowGoBack:An,defaultShowSmall:un,defaultDecimalsShown:cn,useHeader:dn,banner:gn,logo:mn,initialTabs:fn,maxTickLength:hn,offlineLimit:vn,enablePausing:pn,exportEncoding:yn};class bn{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 n=new Cn(t,a);for(this.first===void 0?(this.first=n,this.last=n):(n.next=this.first,this.first.prev=n,this.first=n),this.map.set(t,n);this.map.size>this.maxSize;){const i=this.last;this.map.delete(i.key),this.last=i.prev,this.last.next=void 0}}}class Cn{constructor(t,a){this.next=void 0,this.prev=void 0,this.key=t,this.value=a}}const bt=17,Nn=9e15,En=Math.log10(9e15),Bn=1/9e15,wn=308,In=-324,Lt=5,_n=(1<<10)-1,Qn=function(){const e=[];for(let a=In+1;a<=wn;a++)e.push(Number("1e"+a));const t=323;return function(a){return e[a+t]}}(),Me=[2,Math.E,3,4,5,6,7,8,9,10],Sn=[[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]],Mn=[[-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 g=function(t){return B.fromValue_noAlloc(t)},k=function(e,t,a){return B.fromComponents(e,t,a)},D=function(t,a,n){return B.fromComponents_noNormalize(t,a,n)};const Be=function(t,a){const n=a+1,i=Math.ceil(Math.log10(Math.abs(t))),s=Math.round(t*Math.pow(10,n-i))*Math.pow(10,i-n);return parseFloat(s.toFixed(Math.max(n-i,0)))},Ct=function(e){return Math.sign(e)*Math.log10(Math.abs(e))},kn=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 n=e*e;let i=e;return a=a+1/(12*i),i=i*n,a=a+1/(360*i),i=i*n,a=a+1/(1260*i),i=i*n,a=a+1/(1680*i),i=i*n,a=a+1/(1188*i),i=i*n,a=a+691/(360360*i),i=i*n,a=a+7/(1092*i),i=i*n,a=a+3617/(122400*i),Math.exp(a)/t},ia=.5671432904097838,Jt=function(e,t=1e-10){let a,n;if(!Number.isFinite(e)||e===0)return e;if(e===1)return ia;e<10?a=0:a=Math.log(e)-Math.log(Math.log(e));for(let i=0;i<100;++i){if(n=(e*Math.exp(-a)+a*a)/(a+1),Math.abs(n-a).5?1:-1;if(Math.random()*20<1)return D(t,0,1);const a=Math.floor(Math.random()*(e+1));let n=a===0?Math.random()*616-308:Math.random()*16;Math.random()>.9&&(n=Math.trunc(n));let i=Math.pow(10,n);return Math.random()>.9&&(i=Math.trunc(i)),k(t,a,i)}static affordGeometricSeries_core(e,t,a,n){const i=t.mul(a.pow(n));return l.floor(e.div(i).mul(a.sub(1)).add(1).log10().div(a.log10()))}static sumGeometricSeries_core(e,t,a,n){return t.mul(a.pow(n)).mul(l.sub(1,a.pow(e))).div(l.sub(1,a))}static affordArithmeticSeries_core(e,t,a,n){const s=t.add(n.mul(a)).sub(a.div(2)),r=s.pow(2);return s.neg().add(r.add(a.mul(e).mul(2)).sqrt()).div(a).floor()}static sumArithmeticSeries_core(e,t,a,n){const i=t.add(n.mul(a));return e.div(2).mul(i.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=Nn)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=l.fromStringCache.get(t);if(a!==void 0)return this.fromDecimal(a);e=e.replace(",","");const n=e.split("^^^");if(n.length===2){const I=parseFloat(n[0]),Q=parseFloat(n[1]),S=n[1].split(";");let H=1;if(S.length===2&&(H=parseFloat(S[1]),isFinite(H)||(H=1)),isFinite(I)&&isFinite(Q)){const C=l.pentate(I,Q,H);return this.sign=C.sign,this.layer=C.layer,this.mag=C.mag,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}}const i=e.split("^^");if(i.length===2){const I=parseFloat(i[0]),Q=parseFloat(i[1]),S=i[1].split(";");let H=1;if(S.length===2&&(H=parseFloat(S[1]),isFinite(H)||(H=1)),isFinite(I)&&isFinite(Q)){const C=l.tetrate(I,Q,H);return this.sign=C.sign,this.layer=C.layer,this.mag=C.mag,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}}const s=e.split("^");if(s.length===2){const I=parseFloat(s[0]),Q=parseFloat(s[1]);if(isFinite(I)&&isFinite(Q)){const S=l.pow(I,Q);return this.sign=S.sign,this.layer=S.layer,this.mag=S.mag,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}}e=e.trim().toLowerCase();let r,o,d=e.split("pt");if(d.length===2){r=10,o=parseFloat(d[0]),d[1]=d[1].replace("(",""),d[1]=d[1].replace(")","");let I=parseFloat(d[1]);if(isFinite(I)||(I=1),isFinite(r)&&isFinite(o)){const Q=l.tetrate(r,o,I);return this.sign=Q.sign,this.layer=Q.layer,this.mag=Q.mag,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}}if(d=e.split("p"),d.length===2){r=10,o=parseFloat(d[0]),d[1]=d[1].replace("(",""),d[1]=d[1].replace(")","");let I=parseFloat(d[1]);if(isFinite(I)||(I=1),isFinite(r)&&isFinite(o)){const Q=l.tetrate(r,o,I);return this.sign=Q.sign,this.layer=Q.layer,this.mag=Q.mag,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}}const f=e.split("e"),b=f.length-1;if(b===0){const I=parseFloat(e);if(isFinite(I))return this.fromNumber(I),l.fromStringCache.size>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}else if(b===1){const I=parseFloat(e);if(isFinite(I)&&I!==0)return this.fromNumber(I),l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}const v=e.split("e^");if(v.length===2){this.sign=1,v[0].charAt(0)=="-"&&(this.sign=-1);let I="";for(let Q=0;Q=43&&S<=57||S===101)I+=v[1].charAt(Q);else return this.layer=parseFloat(I),this.mag=parseFloat(v[1].substr(Q+1)),this.normalize(),l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}}if(b<1)return this.sign=0,this.layer=0,this.mag=0,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this;const N=parseFloat(f[0]);if(N===0)return this.sign=0,this.layer=0,this.mag=0,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this;let y=parseFloat(f[f.length-1]);if(b>=2){const I=parseFloat(f[f.length-2]);isFinite(I)&&(y*=Math.sign(I),y+=Ct(I))}if(!isFinite(N))this.sign=f[0]==="-"?-1:1,this.layer=b,this.mag=y;else if(b===1)this.sign=Math.sign(N),this.layer=1,this.mag=y+Math.log10(Math.abs(N));else if(this.sign=Math.sign(N),this.layer=b,b===2){const I=l.mul(k(1,2,y),g(N));return this.sign=I.sign,this.layer=I.layer,this.mag=I.mag,l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}else this.mag=y;return this.normalize(),l.fromStringCache.maxSize>=1&&l.fromStringCache.set(t,l.fromDecimal(this)),this}fromValue(e){return e instanceof l?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:Be(this.m,e)}magnitudeWithDecimalPlaces(e){return isNaN(this.mag)?Number.NaN:this.mag===0?0:Be(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<=Lt?(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):Be(this.m,e)+"e"+Be(this.e,e):this.layer===1?Be(this.m,e)+"e"+Be(this.e,e):this.layer<=Lt?(this.sign===-1?"-":"")+"e".repeat(this.layer)+Be(this.mag,e):(this.sign===-1?"-":"")+"(e^"+this.layer+")"+Be(this.mag,e)}abs(){return D(this.sign===0?0:1,this.layer,this.mag)}neg(){return D(-this.sign,this.layer,this.mag)}negate(){return this.neg()}negated(){return this.neg()}sgn(){return this.sign}round(){return this.mag<0?l.dZero:this.layer===0?k(this.sign,0,Math.round(this.mag)):this}floor(){return this.mag<0?l.dZero:this.layer===0?k(this.sign,0,Math.floor(this.mag)):this}ceil(){return this.mag<0?l.dZero:this.layer===0?k(this.sign,0,Math.ceil(this.mag)):this}trunc(){return this.mag<0?l.dZero:this.layer===0?k(this.sign,0,Math.trunc(this.mag)):this}add(e){const t=g(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 D(0,0,0);let a,n;if(this.layer>=2||t.layer>=2)return this.maxabs(t);if(l.cmpabs(this,t)>0?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return l.fromNumber(a.sign*a.mag+n.sign*n.mag);const i=a.layer*Math.sign(a.mag),s=n.layer*Math.sign(n.mag);if(i-s>=2)return a;if(i===0&&s===-1){if(Math.abs(n.mag-Math.log10(a.mag))>bt)return a;{const r=Math.pow(10,Math.log10(a.mag)-n.mag),o=n.sign+a.sign*r;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}if(i===1&&s===0){if(Math.abs(a.mag-Math.log10(n.mag))>bt)return a;{const r=Math.pow(10,a.mag-Math.log10(n.mag)),o=n.sign+a.sign*r;return k(Math.sign(o),1,Math.log10(n.mag)+Math.log10(Math.abs(o)))}}if(Math.abs(a.mag-n.mag)>bt)return a;{const r=Math.pow(10,a.mag-n.mag),o=n.sign+a.sign*r;return k(Math.sign(o),1,n.mag+Math.log10(Math.abs(o)))}}plus(e){return this.add(e)}sub(e){return this.add(g(e).neg())}subtract(e){return this.sub(e)}minus(e){return this.sub(e)}mul(e){const t=g(e);if(!Number.isFinite(this.layer))return this;if(!Number.isFinite(t.layer))return t;if(this.sign===0||t.sign===0)return D(0,0,0);if(this.layer===t.layer&&this.mag===-t.mag)return D(this.sign*t.sign,0,1);let a,n;if(this.layer>t.layer||this.layer==t.layer&&Math.abs(this.mag)>Math.abs(t.mag)?(a=this,n=t):(a=t,n=this),a.layer===0&&n.layer===0)return l.fromNumber(a.sign*n.sign*a.mag*n.mag);if(a.layer>=3||a.layer-n.layer>=2)return k(a.sign*n.sign,a.layer,a.mag);if(a.layer===1&&n.layer===0)return k(a.sign*n.sign,1,a.mag+Math.log10(n.mag));if(a.layer===1&&n.layer===1)return k(a.sign*n.sign,1,a.mag+n.mag);if(a.layer===2&&n.layer===1){const i=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,i.layer+1,i.sign*i.mag)}if(a.layer===2&&n.layer===2){const i=k(Math.sign(a.mag),a.layer-1,Math.abs(a.mag)).add(k(Math.sign(n.mag),n.layer-1,Math.abs(n.mag)));return k(a.sign*n.sign,i.layer+1,i.sign*i.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=g(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?l.dNaN:this.layer===0?k(this.sign,0,1/this.mag):k(this.sign,this.layer,-this.mag)}reciprocal(){return this.recip()}reciprocate(){return this.recip()}cmp(e){const t=g(e);return this.sign>t.sign?1:this.sign0?this.layer:-this.layer,n=t.mag>0?t.layer:-t.layer;return a>n?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=g(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=g(e);if(t==null&&(t=1e-7),this.sign!==a.sign||Math.abs(this.layer-a.layer)>1)return!1;let n=this.mag,i=a.mag;return this.layer>a.layer&&(i=Ct(i)),this.layer0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(1,0,Math.log10(this.mag))}log10(){return this.sign<=0?l.dNaN:this.layer>0?k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag)):k(this.sign,0,Math.log10(this.mag))}log(e){return e=g(e),this.sign<=0||e.sign<=0||e.sign===1&&e.layer===0&&e.mag===1?l.dNaN:this.layer===0&&e.layer===0?k(this.sign,0,Math.log(this.mag)/Math.log(e.mag)):l.div(this.log10(),e.log10())}log2(){return this.sign<=0?l.dNaN:this.layer===0?k(this.sign,0,Math.log2(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*3.321928094887362):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.5213902276543247):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}ln(){return this.sign<=0?l.dNaN:this.layer===0?k(this.sign,0,Math.log(this.mag)):this.layer===1?k(Math.sign(this.mag),0,Math.abs(this.mag)*2.302585092994046):this.layer===2?k(Math.sign(this.mag),1,Math.abs(this.mag)+.36221568869946325):k(Math.sign(this.mag),this.layer-1,Math.abs(this.mag))}logarithm(e){return this.log(e)}pow(e){const t=g(e),a=this,n=t;if(a.sign===0)return n.eq(0)?D(1,0,1):a;if(a.sign===1&&a.layer===0&&a.mag===1)return a;if(n.sign===0)return D(1,0,1);if(n.sign===1&&n.layer===0&&n.mag===1)return a;const i=a.absLog10().mul(n).pow10();return this.sign===-1?Math.abs(n.toNumber()%2)%2===1?i.neg():Math.abs(n.toNumber()%2)%2===0?i:l.dNaN:i}pow10(){if(!Number.isFinite(this.layer)||!Number.isFinite(this.mag))return l.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 k(1,0,t);if(e.sign===0)return l.dOne;e=D(e.sign,e.layer+1,Math.log10(e.mag))}return e.sign>0&&e.mag>=0?k(e.sign,e.layer+1,e.mag):e.sign<0&&e.mag>=0?k(-e.sign,e.layer+1,-e.mag):l.dOne}pow_base(e){return g(e).pow(this)}root(e){const t=g(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?l.exp(l.mul(this,l.ln(this).sub(1))):l.exp(this)}gamma(){if(this.mag<0)return this.recip();if(this.layer===0){if(this.lt(D(1,0,24)))return l.fromNumber(kn(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 n=e,i=12*n,s=1/i,r=t+s;if(r===t||(t=r,n=n*a,i=360*n,s=1/i,r=t-s,r===t))return l.exp(t);t=r,n=n*a,i=1260*n;let o=1/i;return t=t+o,n=n*a,i=1680*n,o=1/i,t=t-o,l.exp(t)}else return this.layer===1?l.exp(l.mul(this,l.ln(this).sub(1))):l.exp(this)}lngamma(){return this.gamma().ln()}exp(){return this.mag<0?l.dOne:this.layer===0&&this.mag<=709.7?l.fromNumber(Math.exp(this.sign*this.mag)):this.layer===0?k(1,1,this.sign*Math.log10(Math.E)*this.mag):this.layer===1?k(1,2,this.sign*(Math.log10(.4342944819032518)+this.mag)):k(1,this.layer+1,this.sign*this.mag)}sqr(){return this.pow(2)}sqrt(){if(this.layer===0)return l.fromNumber(Math.sqrt(this.sign*this.mag));if(this.layer===1)return k(1,2,Math.log10(this.mag)-.3010299956639812);{const e=l.div(D(this.sign,this.layer-1,this.mag),D(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=D(1,0,1)){if(e===1)return l.pow(this,t);if(e===0)return new l(t);if(this.eq(l.dOne))return l.dOne;if(this.eq(-1))return l.pow(this,t);if(e===Number.POSITIVE_INFINITY){const i=this.toNumber();if(i<=1.444667861009766&&i>=.06598803584531254){if(i>1.444667861009099)return l.fromNumber(Math.E);const s=l.ln(this).neg();return s.lambertw().div(s)}else return i>1.444667861009766?l.fromNumber(Number.POSITIVE_INFINITY):l.dNaN}if(this.eq(l.dZero)){let i=Math.abs((e+1)%2);return i>1&&(i=2-i),l.fromNumber(i)}if(e<0)return l.iteratedlog(t,this,-e);t=g(t);const a=e;e=Math.trunc(e);const n=a-e;if(this.gt(l.dZero)&&this.lte(1.444667861009766)){e=Math.min(1e4,e);for(let i=0;i3)return D(t.sign,t.layer+(e-i-1),t.mag);if(i>1e4)return t}return t}iteratedexp(e=2,t=D(1,0,1)){return this.tetrate(e,t)}iteratedlog(e=10,t=1){if(t<0)return l.tetrate(e,-t,this);e=g(e);let a=l.fromDecimal(this);const n=t;t=Math.trunc(t);const i=n-t;if(a.layer-e.layer>3){const s=Math.min(t,a.layer-e.layer-3);t-=s,a.layer-=s}for(let s=0;s1e4)return a}return i>0&&i<1&&(e.eq(10)?a=a.layeradd10(-i):a=a.layeradd(-i,e)),a}slog(e=10,t=100){let a=.001,n=!1,i=!1,s=this.slog_internal(e).toNumber();for(let r=1;r1&&i!=d&&(n=!0),i=d,n?a/=2:a*=2,a=Math.abs(a)*(d?-1:1),s+=a,a===0)break}return l.fromNumber(s)}slog_internal(e=10){if(e=g(e),e.lte(l.dZero)||e.eq(l.dOne))return l.dNaN;if(e.lt(l.dOne))return this.eq(l.dOne)?l.dZero:this.eq(l.dZero)?l.dNegOne:l.dNaN;if(this.mag<0||this.eq(l.dZero))return l.dNegOne;let t=0,a=l.fromDecimal(this);if(a.layer-e.layer>3){const n=a.layer-e.layer-3;t+=n,a.layer-=n}for(let n=0;n<100;++n)if(a.lt(l.dZero))a=l.pow(e,a),t-=1;else{if(a.lte(l.dOne))return l.fromNumber(t+l.slog_critical(e.toNumber(),a.toNumber()));t+=1,a=l.log(a,e)}return l.fromNumber(t)}static slog_critical(e,t){return e>10?t-1:l.critical_section(e,t,Mn)}static tetrate_critical(e,t){return l.critical_section(e,t,Sn)}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 n=0,i=0;for(let r=0;re){const o=(e-Me[r])/(Me[r+1]-Me[r]);n=a[r][Math.floor(t)]*(1-o)+a[r+1][Math.floor(t)]*o,i=a[r][Math.ceil(t)]*(1-o)+a[r+1][Math.ceil(t)]*o;break}const s=t-Math.floor(t);return n<=0||i<=0?n*(1-s)+i*s:Math.pow(e,Math.log(n)/Math.log(e)*(1-s)+Math.log(i)/Math.log(e)*s)}layeradd10(e){e=l.fromValue_noAlloc(e).toNumber();const t=l.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 n=0;n<100;++n){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 n=this.slog(t).toNumber()+e;return n>=0?l.tetrate(t,n):Number.isFinite(n)?n>=-1?l.log(l.tetrate(t,n+1),t):l.log(l.log(l.tetrate(t,n+2),t),t):l.dNaN}lambertw(){if(this.lt(-.3678794411710499))throw Error("lambertw is unimplemented for results less than -1, sorry!");if(this.mag<0)return l.fromNumber(Jt(this.toNumber()));if(this.layer===0)return l.fromNumber(Jt(this.sign*this.mag));if(this.layer===1)return Yt(this);if(this.layer===2)return Yt(this);if(this.layer>=3)return D(this.sign,this.layer-1,this.mag);throw"Unhandled behavior in lambertw()"}ssqrt(){if(this.sign==1&&this.layer>=3)return D(this.sign,this.layer-1,this.mag);const e=this.ln();return e.div(e.lambertw())}pentate(e=2,t=D(1,0,1)){t=g(t);const a=e;e=Math.trunc(e);const n=a-e;n!==0&&(t.eq(l.dOne)?(++e,t=l.fromNumber(n)):this.eq(10)?t=t.layeradd10(n):t=t.layeradd(n,this));for(let i=0;i10)return t}return t}sin(){return this.mag<0?this:this.layer===0?l.fromNumber(Math.sin(this.sign*this.mag)):D(0,0,0)}cos(){return this.mag<0?l.dOne:this.layer===0?l.fromNumber(Math.cos(this.sign*this.mag)):D(0,0,0)}tan(){return this.mag<0?this:this.layer===0?l.fromNumber(Math.tan(this.sign*this.mag)):D(0,0,0)}asin(){return this.mag<0?this:this.layer===0?l.fromNumber(Math.asin(this.sign*this.mag)):D(Number.NaN,Number.NaN,Number.NaN)}acos(){return this.mag<0?l.fromNumber(Math.acos(this.toNumber())):this.layer===0?l.fromNumber(Math.acos(this.sign*this.mag)):D(Number.NaN,Number.NaN,Number.NaN)}atan(){return this.mag<0?this:this.layer===0?l.fromNumber(Math.atan(this.sign*this.mag)):l.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 l.ln(this.add(this.sqr().add(1).sqrt()))}acosh(){return l.ln(this.add(this.sqr().sub(1).sqrt()))}atanh(){return this.abs().gte(1)?D(Number.NaN,Number.NaN,Number.NaN):l.ln(this.add(1).div(l.fromNumber(1).sub(this))).div(2)}ascensionPenalty(e){return e===0?this:this.root(l.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 B=l;B.fromStringCache=new bn(_n);B.dZero=D(0,0,0);B.dOne=D(1,0,1);B.dNegOne=D(-1,0,1);B.dTwo=D(1,0,2);B.dTen=D(1,0,10);B.dNaN=D(Number.NaN,Number.NaN,Number.NaN);B.dInf=D(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);B.dNegInf=D(-1,Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY);B.dNumberMax=k(1,0,Number.MAX_VALUE);B.dNumberMin=k(1,0,Number.MIN_VALUE);g=B.fromValue_noAlloc;k=B.fromComponents;D=B.fromComponents_noNormalize;B.fromMantissaExponent;B.fromMantissaExponent_noNormalize;const Tn=new B(1);function et(e,t,a=!0){let n=B.log10(e).floor(),i=B.div(e,B.pow(10,n));i.toStringWithDecimalPlaces(t)==="10"&&(i=Tn,n=n.add(1));const s=n.gte(1e9)?oe(n,Math.max(Math.max(t,3),G.defaultDecimalsShown)):n.gte(1e4)?ft(n,0):n.toStringWithDecimalPlaces(0);return a?i.toStringWithDecimalPlaces(t)+"e"+s:"e"+s}function ft(e,t){if(e==null)return"NaN";if(e=new B(e),e.mag<.001)return 0 .toFixed(t);const n=e.toStringWithDecimalPlaces(t).split(".");return n[0]=n[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"),n.length==1?n[0]:n[0]+"."+n[1]}function sa(e,t){return e==null?"NaN":(e=new B(e),e.mag<1e-4?0 .toFixed(t):(e.mag<.1&&t!==0&&(t=Math.max(Math.max(t,e.log10().negate().ceil().toNumber()),G.defaultDecimalsShown)),e.toStringWithDecimalPlaces(t)))}const Dn=new B("eeee1000"),Rn=new B("e100000"),Wt=new B("e1000"),ra=new B(1e9),Vn=new B(1e6),Pn=new B(1e3),qn=new B(.98),xn=new B(.001),oa=new B(0);function oe(e,t,a){if(t==null&&(t=G.defaultDecimalsShown),a=a!=null?a:G.defaultShowSmall,e=new B(e),isNaN(e.sign)||isNaN(e.layer)||isNaN(e.mag))return"NaN";if(e.sign<0)return"-"+oe(e.neg(),t);if(e.mag===Number.POSITIVE_INFINITY)return"Infinity";if(e.gte(Dn)){const n=e.slog();return n.gte(Vn)?"F"+oe(n.floor()):B.pow(10,n.sub(n.floor())).toStringWithDecimalPlaces(3)+"F"+ft(n.floor(),0)}else{if(e.gte(Rn))return et(e,0,!1);if(e.gte(Wt))return et(e,0);if(e.gte(ra))return et(e,t);if(e.gte(Pn))return ft(e,0);if(e.gte(xn)||!a)return sa(e,t);if(e.eq(oa))return 0 .toFixed(t)}return e=Aa(e),e.lt(Wt)?et(e,t).replace(/([^(?:e|F)]*)$/,"-$1"):oe(e,t)+"\u207B\xB9"}function se(e){return e=new B(e),e.sign<0?"-"+se(e.neg()):e.gte(ra)||e.lte(qn)&&!e.eq(oa)?oe(e):oe(e,0)}function la(e){return B.lt(e,0)?"-"+la(B.neg(e)):B.gt(e,2**51)?oe(B.div(e,31536e3))+"y":(e=new B(e).toNumber(),e<60?oe(e)+"s":e<3600?se(Math.floor(e/60))+"m "+oe(e%60)+"s":e<86400?se(Math.floor(e/3600))+"h "+se(Math.floor(e/60)%60)+"m "+se(e%60)+"s":e<31536e3?se(Math.floor(e/84600)%365)+"d "+se(Math.floor(e/3600)%24)+"h "+se(Math.floor(e/60)%60)+"m":se(Math.floor(e/31536e3))+"y "+se(Math.floor(e/84600)%365)+"d "+se(Math.floor(e/3600)%24)+"h")}function zn(e,t,a){e=new B(e);let n=e.toStringWithDecimalPlaces(t);return new B(n).gte(a)&&(n=B.sub(a,Math.pow(.1,t)).toStringWithDecimalPlaces(t)),n}function Fn(e,t){return oe(e,t,!0)}function Aa(e){let t=B.log10(e).ceil();const a=B.div(e,B.pow(10,t));return t=t.neg(),e=new B(10).pow(t).times(a),e}var Gn=Object.freeze(Object.defineProperty({__proto__:null,default:B,exponentialFormat:et,commaFormat:ft,regularFormat:sa,format:oe,formatWhole:se,formatTime:la,toPlaces:zn,formatSmall:Fn,invertOOM:Aa},Symbol.toStringTag,{value:"Module"}));const{exponentialFormat:On,commaFormat:Un,regularFormat:Ln,format:ua,formatWhole:Et,formatTime:Tt,toPlaces:Jn,formatSmall:Yn,invertOOM:Wn}=Gn;window.Decimal=B;window.exponentialFormat=On;window.commaFormat=Un;window.regularFormat=Ln;window.format=ua;window.formatWhole=Et;window.formatTime=Tt;window.toPlaces=Jn;window.formatSmall=Yn;window.invertOOM=Wn;function Xn(e){let t=e.replace(/([A-Z])/g," $1");return t=t.charAt(0).toUpperCase()+t.slice(1),t}function Xt(e){return typeof e=="function"}var W=(e=>(e.Up="Up",e.Down="Down",e.Left="Left",e.Right="Right",e.Default="Up",e))(W||{});const ht=Symbol("DoNotCache");function ve(e,t){const a=e[t];Xt(a)&&a.length===0&&!a[ht]?e[t]=q(a.bind(e)):Xt(a)&&(e[t]=a.bind(e),e[t][ht]=!0)}const Dt=Symbol("Component"),Rt=Symbol("GatherProps");let jn=0;function ca(e="feature-"){return e+jn++}function J(e){return e[ht]=!0,e}function tt(e,t,a){e[t]===void 0&&a!=null&&(e[t]=a)}const ke={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 Vt=(e=>(e.Classic="classic",e.Paper="paper",e.Nordic="nordic",e.Aqua="aqua",e))(Vt||{}),ot={classic:ke,paper:{...ke,variables:{...ke.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:{...ke,variables:{...ke.variables,"--foreground":"#45283c","--background":"#bbc3e8","--feature-foreground":"#fff7f6","--raised-background":"#fff7f6","--points":"#45283c","--locked":"#fff7f6","--highlighted":"#434c5e","--bought":"#fff7f6","--danger":"#D08770","--link":"#412323","--outline":"#551842","--accent1":"#dc7d71","--accent2":"#8423a9","--accent3":"#47f2ca","--border-radius":"4px","--modal-border":"solid 2px #3B4252","--feature-margin":"5px"},floatingTabs:!1},aqua:{...ke,variables:{...ke.variables,"--foreground":"#bfdfff","--background":"#001f3f","--tooltip-background":"rgba(0, 15, 31, 0.75)","--raised-background":"#001f3f","--points":"#dfefff","--locked":"#c4a7b3","--outline":"#bfdfff"}}};const $=ta();"fonts"in document&&(document.fonts.onloadingdone=()=>$.emit("fontsLoaded"));var Kn=Object.freeze(Object.defineProperty({__proto__:null,globalBus:$},Symbol.toStringTag,{value:"Module"}));const Hn=rt({id:"",devSpeed:null,name:"",tabs:[],time:-1,autosave:!0,offlineProd:!0,offlineTime:null,timePlayed:0,keepGoing:!1,modID:"",modVersion:"",layers:{}});var V=window.player=Hn;function da(e){return JSON.stringify(e,(t,a)=>u(a))}function ga(e={}){return Object.assign({id:`${G.id}-0`,name:"Default Save",tabs:G.initialTabs.slice(),time:Date.now(),autosave:!0,offlineProd:!0,offlineTime:0,timePlayed:0,keepGoing:!1,modID:G.id,modVersion:G.versionNumber,layers:{}},e)}function re(e){const t=Ie.compressToUTF16(da(e!=null?e:V));return localStorage.setItem((e!=null?e:V).id,t),t}async function Zn(){ti();try{let e=localStorage.getItem(x.active);if(e==null){await Ve(Le());return}if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Ie.decompressFromUTF16(e);else throw"Unable to determine save encoding";const t=JSON.parse(e);if(t.modID!==G.id){await Ve(Le());return}t.id=x.active,await Ve(t)}catch(e){console.error(`Failed to load save. Falling back to new save. -`,e),await Ve(Le())}}function Le(){const e=gt(),t=ga({id:e});return re(t),x.saves.push(e),t}function gt(){let e,t=0;do e=`${G.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const $n=w(!1);async function Ve(e){console.info("Loading save",e),$n.value=!0;const{layers:t,removeLayer:a,addLayer:n}=await mt(()=>Promise.resolve().then(function(){return wi}),void 0),{fixOldSave:i,getInitialLayers:s}=await mt(()=>Promise.resolve().then(function(){return qo}),void 0);for(const r in t){const o=t[r];o&&a(o)}s(e).forEach(r=>n(r,e)),e=ga(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,G.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==G.versionNumber&&(i(e.modVersion,e),e.modVersion=G.versionNumber),Object.assign(V,e),x.active=V.id,$.emit("onLoad")}setInterval(()=>{V.autosave&&re()},1e3);window.onbeforeunload=()=>{V.autosave&&re()};window.save=re;const ei=window.hardReset=async()=>{await Ve(Le())};window.deleteLowerSaves=()=>{const e=Object.values(x.saves).indexOf(V.id)+1;Object.values(x.saves).slice(e).forEach(t=>localStorage.removeItem(t)),x.saves=x.saves.slice(0,e)};const it=rt({active:"",saves:[],showTPS:!0,theme:Vt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1});fe(it,e=>{const t=Ie.compressToUTF16(JSON.stringify(e));localStorage.setItem(G.id,t)},{deep:!0});var x=window.settings=it;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:Vt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};$.emit("loadSettings",e),Object.assign(it,e),ei()};function ti(){try{let e=localStorage.getItem(G.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Ie.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(it,t)}$.emit("loadSettings",it)}catch{}}const ma=rt([]);function ai(e){ma.push(e)}const ni=rt([]),ii=rt([]),si={class:"table"},jt=O({__name:"Column",setup(e){const t=q(()=>ot[x.theme].mergeAdjacent);return(a,n)=>(h(),E("div",si,[c("div",{class:te(["col",{mergeAdjacent:u(t)}])},[pe(a.$slots,"default")],2)]))}}),ri={class:"table"},Te=O({__name:"Row",setup(e){const t=q(()=>ot[x.theme].mergeAdjacent);return(a,n)=>(h(),E("div",ri,[c("div",{class:te(["row",{mergeAdjacent:u(t)}])},[pe(a.$slots,"default")],2)]))}});function Ne(e,t="span"){return typeof e=="function"?O({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}`),O({template:e})):O({render:()=>({})}):e}function Je(e){if(fa(e))return typeof e=="function"?e():Ne(e);const t=e[Dt];return A(t,e[Rt](),null)}function oi(e){if(fa(e))return typeof e=="function"?e():typeof e=="string"?A(Y,null,[e]):A(e,null,null);const t=e[Dt];return A(t,e[Rt](),null)}function fa(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[ht]===!0}function li(e,t="div"){const a=ye();return Qt(()=>{a.value=Ne(qe(e),t)}),a}function pt(e,t="div"){const a=ye(null);return Qt(()=>{const n=qe(e);a.value=n==""||n==null?null:Ne(n,t)}),a}function qe(e){return u(u(e))}function ne(...e){return e.includes(Object)||e.push(Object),e}var j=(e,t)=>{const a=e.__vccOpts||e;for(const[n,i]of t)a[n]=i;return a};const Ai=O({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var b;const a=w({}),n=new ResizeObserver(o),i=w(null);St(()=>{const v=i.value;v!=null&&n.observe(v)});let s=!0,r=w((b=i.value)==null?void 0:b.getBoundingClientRect());function o(){s&&(s=!1,xe(()=>{var v;r.value=(v=i.value)==null?void 0:v.getBoundingClientRect(),Object.values(a.value).filter(N=>N).forEach(N=>N.rect=N.element.getBoundingClientRect()),t("updateNodes",a.value),s=!0}))}$.on("fontsLoaded",o);const d={attributes:!1,childList:!0,subtree:!1};At(qt,(v,N)=>{const y=new MutationObserver(()=>f(v));y.observe(N,d),a.value[v]={element:N,observer:y,rect:N.getBoundingClientRect()},o()}),At(xt,v=>{var N;(N=a.value[v])==null||N.observer.disconnect(),a.value[v]=void 0,o()}),At(va,a),At(pa,r);function f(v){const N=a.value[v];N!=null&&(N.rect=N.element.getBoundingClientRect(),t("updateNodes",a.value))}return(v,N)=>(h(),E(Y,null,[pe(v.$slots,"default",{},void 0,!0),c("div",{ref_key:"resizeListener",ref:i,class:"resize-listener"},null,512)],64))}});var ha=j(Ai,[["__scopeId","data-v-2b1dc1bc"]]);const ui=["onPointerdown"],ci={class:"modal-wrapper"},di={class:"modal-container"},gi={class:"modal-header"},mi=p(" default header "),fi={class:"modal-body"},hi=p(" default body "),vi={class:"modal-footer"},pi=c("div",{class:"modal-default-flex-grow"},null,-1),Fe=O({__name:"Modal",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){const i=be(e),s=q(()=>u(i.modelValue)||o.value);function r(){a("update:modelValue",!1)}const o=w(!1),d=w(null),f=q(()=>{var b,v;return(v=(b=d.value)==null?void 0:b.nodes)!=null?v:null});return t({isOpen:s,nodes:f}),(b,v)=>(h(),U(Qa,{to:"#modal-root"},[A(ea,{name:"modal",onBeforeEnter:v[0]||(v[0]=N=>o.value=!0),onAfterLeave:v[1]||(v[1]=N=>o.value=!1)},{default:R(()=>[Mt(c("div",at({class:"modal-mask",onPointerdown:nt(r,["self"])},b.$attrs),[c("div",ci,[c("div",di,[c("div",gi,[pe(b.$slots,"header",{shown:u(s)},()=>[mi])]),c("div",fi,[A(ha,{ref_key:"contextRef",ref:d},{default:R(()=>[pe(b.$slots,"body",{shown:u(s)},()=>[hi])]),_:3},512)]),c("div",vi,[pe(b.$slots,"footer",{shown:u(s)},()=>[c("div",{class:"modal-default-footer"},[pi,c("button",{class:"button modal-default-button",onClick:r}," Close ")])])])])])],16,ui),[[_a,e.modelValue]])]),_:3})]))}}),Re=Symbol("ProxyState");function Pt(e,t={}){const a=t;let n=!1;function i(){return n||(Object.assign(a,e(a)),n=!0),a}return new Proxy(a,{get(s,r){if(r===Re)return i();const o=i()[r];return o!=null&&typeof o=="object"&&wt in o?o[wt]:o},set(s,r,o){return i()[r]=o,!0},has(s,r){return r===Re?!0:Reflect.has(i(),r)},ownKeys(){return Reflect.ownKeys(i())},getOwnPropertyDescriptor(s,r){return n||(Object.assign(a,e(a)),n=!0),Object.getOwnPropertyDescriptor(s,r)}})}var Z=window.state=kt({lastTenTicks:[],hasNaN:!1,NaNPath:[]});const Ye=Symbol("PersistentState"),Ke=Symbol("DefaultValue"),vt=Symbol("StackTrace"),Bt=Symbol("Deleted"),wt=Symbol("NonPersistent"),Pe=Symbol("SaveDataPath");function yi(){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 Kt(e,t){var a;if(B.isNaN(t))throw Z.hasNaN||(V.autosave=!1,Z.hasNaN=!0,Z.NaNPath=e[Pe],Z.NaNPersistent=e),console.error("Attempted to save NaN value to",(a=e[Pe])==null?void 0:a.join("."),e),"Attempted to set NaN value. See above for details";e[Ye].value=t}function bi(e,t=!0){const a=Ce(e)?e:w(e);Ce(e)&&(e=e.value);const n=q({get(){return a.value},set(s){t?Kt(i,s):i[Ye].value=s}});n[Ke]=e;const i={get value(){return a.value},set value(s){t?Kt(i,s):i[Ye].value=s},__v_isRef:!0,[Ye]:a,[Ke]:e,[vt]:yi(),[Bt]:!1,[wt]:n,[Pe]:void 0};return ue.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",i,` -Created at: -`+i[vt]):We[ue[ue.length-1]].add(i),i}function Ci(e){return e!=null&&typeof e=="object"&&Ye in e}$.on("addLayer",(e,t)=>{const a=[],n=(i,s=[])=>{let r=!1;return Object.keys(i).forEach(o=>{let d=i[o];if(d!=null&&typeof d=="object")if(Re in d&&(d=d[Re]),Ci(d)){if(r=!0,d[Bt]){console.warn("Deleted persistent ref present in returned object. Ignoring...",d,` -Created at: -`+d[vt]);return}We[e.id].delete(d);const f=[e.id,...s,o];d[Pe]!=null&&JSON.stringify(f)!==JSON.stringify(d[Pe])&&console.error(`Persistent ref is being saved to \`${f.join(".")}\` when it's already present at \`${d[Pe].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,d),d[Pe]=f;const b=s.reduce((N,y)=>(y in N||(N[y]={}),N[y]),t),v=b[o];b[o]=d[Ye],Sa(b)?v!=null?b[o]=v:b[o]=d[Ke]:v!=null?b[o].value=v:b[o].value=d[Ke]}else!(d instanceof B)&&!Ce(d)&&!a.includes(d)&&(typeof d.type=="symbol"&&a.push(d),n(d,[...s,o])&&(Nt(d)&&!Nt(i)?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 i?i[Re]:i,o):r=!0))}),r};n(e[Re]),We[e.id].forEach(i=>{i[Bt]||console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,i,` -Created at: -`+i[vt])}),We[e.id].clear()});const qt=Symbol("RegisterNode"),xt=Symbol("UnregisterNode"),va=Symbol("Nodes"),pa=Symbol("Bounds"),ee=kt({});window.layers=ee;const We={},ue=[];function ya(e,t){return Pt(()=>{const a={},n=a.emitter=ta();if(a.on=n.on.bind(n),a.emit=n.emit.bind(n),a.nodes=w({}),a.id=e,ue.push(e),We[e]=new Set,a.minimized=bi(!1,!1),Object.assign(a,t.call(a)),ue[ue.length-1]==null||ue[ue.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen -Stack: ${ue} -Trying to pop ${a.id}`;ue.pop(),ve(a,"color"),ve(a,"display"),ve(a,"classes"),ve(a,"style"),ve(a,"name"),tt(a,"name",a.id),ve(a,"minWidth"),tt(a,"minWidth",600),ve(a,"minimizable"),tt(a,"minimizable",!0),ve(a,"minimizedDisplay");const i=a.style;return a.style=q(()=>{var r,o;let s=u(a.minWidth);return(typeof s=="number"||!Number.isNaN(parseInt(s)))&&(s=s+"px"),[(r=u(i))!=null?r:"",(o=a.minimized)!=null&&o.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:s,flexBasis:s,margin:""}]}),a})}function ba(e,t){if(console.info("Adding layer",e.id),ee[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,ee[e.id]);return}tt(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),ee[e.id]=e,$.emit("addLayer",e,t.layers[e.id])}function Ni(e){return ee[e]}function Ca(e){console.info("Removing layer",e.id),$.emit("removeLayer",e),ee[e.id]=void 0}function Ei(e){Ca(e),ba(e,V)}function Bi(e){const t=w(!1);return{openModal:()=>t.value=!0,modal:J(()=>A(Fe,{modelValue:t.value,"onUpdate:modelValue":a=>t.value=a},{header:()=>A("h2",null,[u(e.name)]),body:u(e.display)}))}}$.on("update",function(t){Object.values(ee).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(ee).forEach(a=>{a==null||a.emit("update",t)}),Object.values(ee).forEach(a=>{a==null||a.emit("postUpdate",t)})});var wi=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:qt,UnregisterNodeInjectionKey:xt,NodesInjectionKey:va,BoundsInjectionKey:pa,layers:ee,persistentRefs:We,addingLayers:ue,createLayer:ya,addLayer:ba,getLayer:Ni,removeLayer:Ca,reloadLayer:Ei,setupLayerModal:Bi},Symbol.toStringTag,{value:"Module"}));const Ii=O({components:{Context:ha},props:{index:{type:Number,required:!0},display:{type:ne(Object,String,Function),required:!0},minimizedDisplay:ne(Object,String,Function),minimized:{type:Object,required:!0},name:{type:ne(String),required:!0},color:ne(String),minimizable:ne(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:i}=be(e),s=li(t),r=pt(i),o=q(()=>G.allowGoBack&&a.value>0&&!qe(n));function d(){V.tabs.splice(u(e.index),1/0)}function f(b){e.nodes.value=b}return{component:s,minimizedComponent:r,showGoBack:o,updateNodes:f,unref:u,goBack:d}}}),_i={key:1};function Qi(e,t,a,n,i,s){const r=Ma("Context");return h(),E("div",{class:"layer-container",style:je({"--layer-color":e.unref(e.color)})},[e.showGoBack?(h(),E("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...o)=>e.goBack&&e.goBack(...o))},"\u274C")):M("",!0),e.unref(e.minimized)?(h(),E("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=o=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(h(),U(ce(e.minimizedComponent),{key:0})):(h(),E("div",_i,F(e.unref(e.name)),1))])):(h(),E("div",{key:2,class:te(["layer-tab",{showGoBack:e.showGoBack}])},[A(r,{onUpdateNodes:e.updateNodes},{default:R(()=>[(h(),U(ce(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(h(),E("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=o=>e.$emit("setMinimized",!0))}," \u25BC ")):M("",!0)],4)}var Si=j(Ii,[["render",Qi],["__scopeId","data-v-a592996e"]]);const Na=e=>(_e("data-v-4b4bda40"),e=e(),Qe(),e),Mi=Na(()=>c("h2",null,"Changelog",-1)),ki=Na(()=>c("details",{open:""},[c("summary",null,[p("v0.0 Initial Commit - "),c("time",null,"2021-09-04")]),p(" This is the first release :D "),c("ul",null,[c("li",{class:"feature"},"Did everything"),c("li",{class:"fix"},"Had some fun"),c("li",{class:"breaking"},"Removed everything"),c("li",{class:"balancing"},"Created some bugs to fix later")])],-1)),Ti=O({__name:"Changelog",setup(e,{expose:t}){const a=w(!1);return t({open(){a.value=!0}}),(n,i)=>(h(),U(Fe,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=s=>a.value=s)},{header:R(()=>[Mi]),body:R(()=>[ki]),_:1},8,["modelValue"]))}});var Di=j(Ti,[["__scopeId","data-v-4b4bda40"]]),Ri=O({props:{element:Object,display:{type:ne(Object,String,Function),required:!0},style:ne(Object,String,Array),classes:ne(Object),direction:ne(String),xoffset:ne(String),yoffset:ne(String),pinned:Object},setup(e){const{element:t,display:a,pinned:n}=be(e),i=w(!1),s=q(()=>(qe(n)||i.value)&&r.value),r=pt(a),o=ye(Ne(J(()=>{const b=qe(t);return b==null?"":oi(b)})));function d(b){const v=n;b.shiftKey&&v&&(v.value=!v.value,b.stopPropagation(),b.preventDefault())}const f=q(()=>qe(n)&&ot[x.theme].showPin);return{Direction:W,isHovered:i,isShown:s,comp:r,elementComp:o,unref:u,togglePinned:d,showPin:f}}});const Vi={key:0,class:"material-icons pinned"};function Pi(e,t,a,n,i,s){return h(),E("div",{class:te(["tooltip-container",{shown:e.isShown}]),onMouseenter:t[0]||(t[0]=r=>e.isHovered=!0),onMouseleave:t[1]||(t[1]=r=>e.isHovered=!1),onClickCapture:t[2]||(t[2]=(...r)=>e.togglePinned&&e.togglePinned(...r))},[pe(e.$slots,"default",{},void 0,!0),e.elementComp?(h(),U(ce(e.elementComp),{key:0})):M("",!0),A(ea,{name:"fade",css:!!e.comp},{default:R(()=>{var r;return[e.isShown?(h(),E("div",{key:0,class:te(["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:je([{"--xoffset":e.unref(e.xoffset)||"0px","--yoffset":e.unref(e.yoffset)||"0px"},(r=e.unref(e.style))!=null?r:{}])},[e.showPin?(h(),E("span",Vi,"push_pin")):M("",!0),e.comp?(h(),U(ce(e.comp),{key:1})):M("",!0)],6)):M("",!0)]}),_:1},8,["css"])],34)}var K=j(Ri,[["render",Pi],["__scopeId","data-v-7a579aa7"]]);const Ge=e=>(_e("data-v-5d3cb6f4"),e=e(),Qe(),e),qi={class:"info-modal-header"},xi=["src","alt"],zi={class:"info-modal-title"},Fi={key:0},Gi={key:0},Oi={key:0},Ui=Ge(()=>c("div",null," Made in Profectus, by thepaperpilot with inspiration from Acameada and Jacorb ",-1)),Li=Ge(()=>c("br",null,null,-1)),Ji=Ge(()=>c("br",null,null,-1)),Yi=["href"],Wi=Ge(()=>c("span",{class:"material-icons info-modal-discord"},"discord",-1)),Xi=Ge(()=>c("div",null,[c("a",{href:"https://discord.gg/WzejVAx",class:"info-modal-discord-link",target:"_blank"},[c("span",{class:"material-icons info-modal-discord"},"discord"),p(" The Paper Pilot Community ")])],-1)),ji=Ge(()=>c("div",null,[c("a",{href:"https://discord.gg/F3xveHV",class:"info-modal-discord-link",target:"_blank"},[c("span",{class:"material-icons info-modal-discord"},"discord"),p(" The Modding Tree ")])],-1)),Ki=Ge(()=>c("br",null,null,-1));var Hi=O({__name:"Info",props:{changelog:null},setup(e,{expose:t}){const a=e,{title:n,logo:i,author:s,discordName:r,discordLink:o,versionNumber:d,versionTitle:f}=G,b=be(a),v=w(!1),N=q(()=>Tt(V.timePlayed)),y=q(()=>Ne(J(()=>A(Y,null,[ni.map(Je)]))));t({open(){v.value=!0}});function I(){var Q;(Q=u(b.changelog))==null||Q.open()}return(Q,S)=>(h(),U(Fe,{modelValue:v.value,"onUpdate:modelValue":S[0]||(S[0]=H=>v.value=H)},{header:R(()=>[c("div",qi,[u(i)?(h(),E("img",{key:0,class:"info-modal-logo",src:u(i),alt:u(n)},null,8,xi)):M("",!0),c("div",zi,[c("h2",null,F(u(n)),1),c("h4",null,[p(" v"+F(u(d)),1),u(f)?(h(),E("span",Fi,": "+F(u(f)),1)):M("",!0)])])])]),body:R(({shown:H})=>[H?(h(),E("div",Gi,[u(s)?(h(),E("div",Oi,"By "+F(u(s)),1)):M("",!0),Ui,Li,c("div",{class:"link",onClick:I},"Changelog"),Ji,c("div",null,[u(o)?(h(),E("a",{key:0,href:u(o),class:"info-modal-discord-link",target:"_blank"},[Wi,p(" "+F(u(r)),1)],8,Yi)):M("",!0)]),Xi,ji,Ki,c("div",null,"Time Played: "+F(u(N)),1),(h(),U(ce(u(y))))])):M("",!0)]),_:1},8,["modelValue"]))}});var Zi=j(Hi,[["__scopeId","data-v-5d3cb6f4"]]);const $i=c("h2",null,"Settings",-1);var es=O({__name:"Options",setup(e,{expose:t}){const a=w(!1),n=w("behaviour");function i(o){return o==n.value}function s(o){n.value=o}t({isTab:i,setTab:s,save:re,open(){a.value=!0}}),Object.keys(ot).map(o=>({label:Xn(o),value:o}));const r=q(()=>Ne(J(()=>A(Y,null,[ma.map(Je)]))));return be(x),be(V),q({get(){return V.devSpeed===0},set(o){V.devSpeed=o?0:null}}),J(()=>A("span",{class:"option-title"},[p("Unthrottled"),A("desc",null,[p("Allow the game to run as fast as possible. Not battery friendly.")])])),J(()=>A("span",{class:"option-title"},[p("Offline Production"),A(K,{display:"Save-specific",direction:W.Right},{default:()=>[p("*")]}),A("desc",null,[p("Simulate production that occurs while the game is closed.")])])),J(()=>A("span",{class:"option-title"},[p("Autosave"),A(K,{display:"Save-specific",direction:W.Right},{default:()=>[p("*")]}),A("desc",null,[p("Automatically save the game every second or when the game is closed.")])])),J(()=>A("span",{class:"option-title"},[p("Pause game"),A(K,{display:"Save-specific",direction:W.Right},{default:()=>[p("*")]}),A("desc",null,[p("Stop everything from moving.")])])),J(()=>A("span",{class:"option-title"},[p("Theme"),A("desc",null,[p("How the game looks.")])])),J(()=>A("span",{class:"option-title"},[p("Show TPS"),A("desc",null,[p("Show TPS meter at the bottom-left corner of the page.")])])),J(()=>A("span",{class:"option-title"},[p("Align modifier units"),A("desc",null,[p("Align numbers to the beginning of the unit in modifier view.")])])),(o,d)=>(h(),U(Fe,{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=f=>a.value=f)},{header:R(()=>[$i]),body:R(()=>[(h(),U(ce(u(r))))]),_:1},8,["modelValue"]))}});const ts={class:"field"},as={key:0,class:"field-title"},ns=O({__name:"Select",props:{title:null,modelValue:null,options:null,placeholder:null,closeOnSelect:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){var r;const a=e,n=pt(ze(a,"title"),"span"),i=w((r=a.options.find(o=>o.value===a.modelValue))!=null?r:null);fe(ze(a,"modelValue"),o=>{var d;qe(i)!==o&&(i.value=(d=a.options.find(f=>f.value===o))!=null?d:null)});function s(o){t("update:modelValue",o.value)}return(o,d)=>(h(),E("div",ts,[u(n)?(h(),E("span",as,[(h(),U(ce(u(n))))])):M("",!0),A(u(za),{options:e.options,modelValue:i.value,"onUpdate:modelValue":[d[0]||(d[0]=f=>i.value=f),s],min:1,"label-by":"label",placeholder:e.placeholder,"close-on-select":e.closeOnSelect},null,8,["options","modelValue","placeholder","close-on-select"])]))}});const is=["onSubmit"],ss={class:"field"},rs={key:0,class:"field-title"},os=["placeholder"],ls=O({__name:"Text",props:{title:null,modelValue:null,textArea:{type:Boolean},placeholder:null,maxHeight:null,submitOnBlur:{type:Boolean}},emits:["update:modelValue","submit","cancel"],setup(e,{emit:t}){const a=e,n=pt(ze(a,"title"),"span"),i=ye(null);St(()=>{var d;(d=i.value)==null||d.focus()});const s=q({get(){var d;return(d=u(a.modelValue))!=null?d:""},set(d){t("update:modelValue",d)}});function r(){t("submit")}function o(){a.submitOnBlur!==!1?t("submit"):t("cancel")}return(d,f)=>(h(),E("form",{onSubmit:nt(r,["prevent"])},[c("div",ss,[u(n)?(h(),E("span",rs,[(h(),U(ce(u(n))))])):M("",!0),e.textArea?(h(),U(u(Fa),{key:1,modelValue:u(s),"onUpdate:modelValue":f[0]||(f[0]=b=>Ce(s)?s.value=b:null),placeholder:e.placeholder,maxHeight:e.maxHeight,onBlur:o,ref_key:"field",ref:i},null,8,["modelValue","placeholder","maxHeight"])):Mt((h(),E("input",{key:2,type:"text","onUpdate:modelValue":f[1]||(f[1]=b=>Ce(s)?s.value=b:null),placeholder:e.placeholder,class:te({fullWidth:!e.title}),onBlur:o,ref_key:"field",ref:i},null,42,os)),[[ka,u(s)]])])],40,is))}});var zt=j(ls,[["__scopeId","data-v-90bd4994"]]);const As={key:0},us=["onClick","disabled"],cs={key:0},ds=["onClick"],gs=O({__name:"DangerButton",props:{disabled:{type:Boolean},skipConfirm:{type:Boolean}},emits:["click","confirmingChanged"],setup(e,{emit:t}){const n=be(e),i=w(!1);fe(i,o=>{t("confirmingChanged",o)});function s(){if(u(n.skipConfirm)){t("click");return}i.value&&t("click"),i.value=!i.value}function r(){i.value=!1}return(o,d)=>(h(),E("span",{class:te(["container",{confirming:i.value}])},[i.value?(h(),E("span",As,"Are you sure?")):M("",!0),c("button",{onClick:nt(s,["stop"]),class:"button danger",disabled:e.disabled},[i.value?(h(),E("span",cs,"Yes")):pe(o.$slots,"default",{key:1},void 0,!0)],8,us),i.value?(h(),E("button",{key:1,class:"button",onClick:nt(r,["stop"])},"No",8,ds)):M("",!0)],2))}});var ms=j(gs,[["__scopeId","data-v-2f8ef34c"]]);const fs=["onClick"],hs=O({__name:"FeedbackButton",props:{left:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const a=w(!1),n=w(null);function i(){t("click"),n.value&&clearTimeout(n.value),a.value=!1,xe(()=>{a.value=!0,n.value=setTimeout(()=>a.value=!1,500)})}return(s,r)=>(h(),E("button",{onClick:nt(i,["stop"]),class:te(["feedback",{activated:a.value,left:e.left}])},[pe(s.$slots,"default",{},void 0,!0)],10,fs))}});var vs=j(hs,[["__scopeId","data-v-01a1b95c"]]);const Ee=e=>(_e("data-v-c3447434"),e=e(),Qe(),e),ps=Ee(()=>c("div",{class:"handle material-icons"},"drag_handle",-1)),ys={key:0,class:"actions"},bs=Ee(()=>c("span",{class:"material-icons"},"content_paste",-1)),Cs=Ee(()=>c("span",{class:"material-icons"},"content_copy",-1)),Ns=Ee(()=>c("span",{class:"material-icons"},"edit",-1)),Es=Ee(()=>c("span",{class:"material-icons",style:{margin:"-2px"}},"delete",-1)),Bs={key:1,class:"actions"},ws=Ee(()=>c("span",{class:"material-icons"},"check",-1)),Is=Ee(()=>c("span",{class:"material-icons"},"close",-1)),_s={key:2,class:"details"},Qs={class:"save-version"},Ss=Ee(()=>c("br",null,null,-1)),Ms={key:0},ks={key:3,class:"details"},Ts={key:4,class:"details error"},Ds=Ee(()=>c("br",null,null,-1)),Rs=O({__name:"Save",props:{save:null},emits:["export","open","duplicate","delete","editName"],setup(e,{emit:t}){const a=e,{save:n}=be(a),i=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),s=w(!1),r=w(!1),o=w("");fe(s,()=>{var v;return o.value=(v=n.value.name)!=null?v:""});const d=q(()=>n.value!=null&&n.value.id===V.id),f=q(()=>{var v;return d.value?V.time:(v=n.value!=null&&n.value.time)!=null?v:0});function b(){t("editName",o.value),s.value=!1}return(v,N)=>(h(),E("div",{class:te(["save",{active:u(d)}])},[ps,s.value?(h(),E("div",Bs,[c("button",{onClick:b,class:"button"},[A(K,{display:"Save",direction:u(W).Left,class:"info"},{default:R(()=>[ws]),_:1},8,["direction"])]),c("button",{onClick:N[5]||(N[5]=y=>s.value=!s.value),class:"button"},[A(K,{display:"Cancel",direction:u(W).Left,class:"info"},{default:R(()=>[Is]),_:1},8,["direction"])])])):(h(),E("div",ys,[u(n).error==null&&!r.value?(h(),U(vs,{key:0,onClick:N[0]||(N[0]=y=>t("export")),class:"button",left:""},{default:R(()=>[A(K,{display:"Export",direction:u(W).Left,class:"info"},{default:R(()=>[bs]),_:1},8,["direction"])]),_:1})):M("",!0),u(n).error==null&&!r.value?(h(),E("button",{key:1,onClick:N[1]||(N[1]=y=>t("duplicate")),class:"button"},[A(K,{display:"Duplicate",direction:u(W).Left,class:"info"},{default:R(()=>[Cs]),_:1},8,["direction"])])):M("",!0),u(n).error==null&&!r.value?(h(),E("button",{key:2,onClick:N[2]||(N[2]=y=>s.value=!s.value),class:"button"},[A(K,{display:"Edit Name",direction:u(W).Left,class:"info"},{default:R(()=>[Ns]),_:1},8,["direction"])])):M("",!0),A(ms,{disabled:u(d),onClick:N[3]||(N[3]=y=>t("delete")),onConfirmingChanged:N[4]||(N[4]=y=>r.value=y)},{default:R(()=>[A(K,{display:"Delete",direction:u(W).Left,class:"info"},{default:R(()=>[Es]),_:1},8,["direction"])]),_:1},8,["disabled"])])),u(n).error==null&&!s.value?(h(),E("div",_s,[c("button",{class:"button open",onClick:N[6]||(N[6]=y=>t("open"))},[c("h3",null,F(u(n).name),1)]),c("span",Qs,"v"+F(u(n).modVersion),1),Ss,u(f)?(h(),E("div",Ms,"Last played "+F(u(i).format(u(f))),1)):M("",!0)])):u(n).error==null&&s.value?(h(),E("div",ks,[A(zt,{modelValue:o.value,"onUpdate:modelValue":N[7]||(N[7]=y=>o.value=y),class:"editname",onSubmit:b},null,8,["modelValue"])])):(h(),E("div",Ts,[p(" Error: Failed to load save with id "+F(u(n).id),1),Ds,p(F(u(n).error),1)]))],2))}});var Vs=j(Rs,[["__scopeId","data-v-c3447434"]]);const Ft=e=>(_e("data-v-5b5b1604"),e=e(),Qe(),e),Ps=Ft(()=>c("h2",null,"Saves Manager",-1)),qs={class:"modal-footer"},xs={class:"field"},zs=Ft(()=>c("span",{class:"field-title"},"Create Save",-1)),Fs={class:"field-buttons"},Gs={class:"footer"},Os=Ft(()=>c("div",{style:{"flex-grow":"1"}},null,-1)),Us=O({__name:"SavesManager",setup(e,{expose:t}){const a=w(!1),n=w(null);t({open(){a.value=!0}});const i=w(!1),s=w(""),r=w(null);fe(s,C=>{C?xe(()=>{try{if(C[0]!=="{")if(C[0]==="e")C=decodeURIComponent(escape(atob(C)));else if(C[0]==="\u1BE1")C=Ie.decompressFromUTF16(C);else{console.warn("Unable to determine preset encoding",C),i.value=!0;return}const _=JSON.parse(C);if(typeof _!="object"){i.value=!0;return}const P=gt();_.id=P,re(_),s.value="",i.value=!1,x.saves.push(P)}catch{i.value=!0}}):i.value=!1});let o={},d=w(Object.keys(o).reduce((C,_)=>(C.push({label:_.split("/").slice(-1)[0].slice(0,-4),value:o[_]}),C),[]));const f=kt({});function b(C){if(f[C]==null){let _=localStorage.getItem(C);if(_==null)f[C]={error:"Save doesn't exist in localStorage",id:C};else if(_==="dW5kZWZpbmVk")f[C]={error:"Save is undefined",id:C};else try{if(_[0]!=="{")if(_[0]==="e")_=decodeURIComponent(escape(atob(_)));else if(_[0]==="\u1BE1")_=Ie.decompressFromUTF16(_);else return console.warn("Unable to determine preset encoding",_),i.value=!0,f[C]={error:"Unable to determine preset encoding",id:C},f[C];f[C]={...JSON.parse(_),id:C}}catch(P){f[C]={error:P,id:C},console.warn(`SavesManager: Failed to load info about save with id ${C}: -${P} -${_}`)}}return f[C]}fe(a,C=>{C&&Object.keys(f).forEach(_=>delete f[_])});const v=q(()=>x.saves.reduce((C,_)=>(C[_]=b(_),C),{}));function N(C){let _;switch(V.id===C?_=da(V):_=JSON.stringify(v.value[C]),G.exportEncoding){default:console.warn(`Unknown save encoding: ${G.exportEncoding}. Defaulting to lz`);case"lz":_=Ie.compressToUTF16(_);break;case"base64":_=btoa(unescape(encodeURIComponent(_)));break;case"plain":break}const P=document.createElement("textarea");P.value=_,document.body.appendChild(P),P.select(),P.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(P)}function y(C){V.id===C&&re();const _={...v.value[C],id:gt()};re(_),x.saves.push(_.id)}function I(C){x.saves=x.saves.filter(_=>_!==C),localStorage.removeItem(C),f[C]=void 0}function Q(C){v.value[V.id].time=V.time,re(),f[V.id]=void 0,Ve(v.value[C]),f[C]=void 0}function S(C){if(r.value=C,xe(()=>{r.value=null}),C[0]!=="{")if(C[0]==="e")C=decodeURIComponent(escape(atob(C)));else if(C[0]==="\u1BE1")C=Ie.decompressFromUTF16(C);else{console.warn("Unable to determine preset encoding",C);return}const _=JSON.parse(C);_.id=gt(),re(_),x.saves.push(_.id),Q(_.id)}function H(C,_){const P=v.value[C];P!=null&&(P.name=_,V.id===C?(V.name=_,re()):(re(P),f[C]=void 0))}return(C,_)=>(h(),U(Fe,{modelValue:a.value,"onUpdate:modelValue":_[4]||(_[4]=P=>a.value=P),ref_key:"modal",ref:n},{header:R(()=>[Ps]),body:R(({shown:P})=>[P?(h(),U(u(xa),{key:0,list:u(x).saves,handle:".handle",itemKey:ae=>ae},{item:R(({element:ae})=>[A(Vs,{save:u(v)[ae],onOpen:ge=>Q(ae),onExport:ge=>N(ae),onEditName:ge=>H(ae,ge),onDuplicate:ge=>y(ae),onDelete:ge=>I(ae)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):M("",!0)]),footer:R(()=>[c("div",qs,[A(zt,{modelValue:s.value,"onUpdate:modelValue":_[0]||(_[0]=P=>s.value=P),title:"Import Save",placeholder:"Paste your save here!",class:te({importingFailed:i.value})},null,8,["modelValue","class"]),c("div",xs,[zs,c("div",Fs,[c("button",{class:"button",onClick:_[1]||(_[1]=P=>Q(u(Le)().id))},"New Game"),Object.keys(u(d)).length>0?(h(),U(ns,{key:0,options:u(d),modelValue:r.value,"onUpdate:modelValue":_[2]||(_[2]=P=>S(P)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):M("",!0)])]),c("div",Gs,[Os,c("button",{class:"button modal-default-button",onClick:_[3]||(_[3]=P=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Ea=j(Us,[["__scopeId","data-v-5b5b1604"]]);const de=e=>(_e("data-v-269f7a94"),e=e(),Qe(),e),Ls=["src","alt"],Js={key:1,class:"title"},Ys=de(()=>c("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Ws={class:"discord"},Xs={class:"discord-links"},js={key:0},Ks=["href"],Hs=de(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),Zs=de(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),$s={href:"https://forums.moddingtree.com/",target:"_blank"},er=de(()=>c("span",{class:"material-icons"},"forum",-1)),tr=de(()=>c("span",{class:"material-icons"},"info",-1)),ar=de(()=>c("span",{class:"material-icons"},"settings",-1)),nr=de(()=>c("span",{class:"material-icons"},"settings",-1)),ir=de(()=>c("span",{class:"material-icons"},"info",-1)),sr={href:"https://forums.moddingtree.com/",target:"_blank"},rr=de(()=>c("span",{class:"material-icons"},"forum",-1)),or={class:"discord"},lr={class:"discord-links"},Ar={key:0},ur=["href"],cr=de(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),dr=de(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),gr=O({__name:"Nav",setup(e){const t=w(null),a=w(null),n=w(null),i=w(null),{useHeader:s,banner:r,title:o,discordName:d,discordLink:f,versionNumber:b}=G;function v(){window.open(f,"mywindow")}return(N,y)=>(h(),E(Y,null,[u(s)?(h(),E("div",at({key:0,class:"nav"},N.$attrs),[u(r)?(h(),E("img",{key:0,src:u(r),class:"banner",alt:u(o)},null,8,Ls)):(h(),E("div",Js,F(u(o)),1)),c("div",{onClick:y[0]||(y[0]=I=>{var Q;return(Q=i.value)==null?void 0:Q.open()}),class:"version-container"},[A(K,{display:"Changelog",direction:u(W).Down,class:"version"},{default:R(()=>[c("span",null,"v"+F(u(b)),1)]),_:1},8,["direction"])]),Ys,c("div",Ws,[c("span",{onClick:v,class:"material-icons"},"discord"),c("ul",Xs,[u(f)?(h(),E("li",js,[c("a",{href:u(f),target:"_blank"},F(u(d)),9,Ks)])):M("",!0),Hs,Zs])]),c("div",null,[c("a",$s,[A(K,{display:"Forums",direction:u(W).Down,yoffset:"5px"},{default:R(()=>[er]),_:1},8,["direction"])])]),c("div",{onClick:y[1]||(y[1]=I=>{var Q;return(Q=t.value)==null?void 0:Q.open()})},[A(K,{display:"Info",direction:u(W).Down,class:"info"},{default:R(()=>[tr]),_:1},8,["direction"])]),c("div",{onClick:y[2]||(y[2]=I=>{var Q;return(Q=n.value)==null?void 0:Q.open()})},[A(K,{display:"Settings",direction:u(W).Down,xoffset:"-66px"},{default:R(()=>[ar]),_:1},8,["direction"])])],16)):(h(),E("div",at({key:1,class:"overlay-nav"},N.$attrs),[c("div",{onClick:y[3]||(y[3]=I=>{var Q;return(Q=i.value)==null?void 0:Q.open()}),class:"version-container"},[A(K,{display:"Changelog",direction:u(W).Right,xoffset:"25%",class:"version"},{default:R(()=>[c("span",null,"v"+F(u(b)),1)]),_:1},8,["direction"])]),c("div",{onClick:y[4]||(y[4]=I=>{var Q;return(Q=n.value)==null?void 0:Q.open()})},[A(K,{display:"Settings",direction:u(W).Right},{default:R(()=>[nr]),_:1},8,["direction"])]),c("div",{onClick:y[5]||(y[5]=I=>{var Q;return(Q=t.value)==null?void 0:Q.open()})},[A(K,{display:"Info",direction:u(W).Right},{default:R(()=>[ir]),_:1},8,["direction"])]),c("div",null,[c("a",sr,[A(K,{display:"Forums",direction:u(W).Right,xoffset:"7px"},{default:R(()=>[rr]),_:1},8,["direction"])])]),c("div",or,[c("span",{onClick:v,class:"material-icons"},"discord"),c("ul",lr,[u(f)?(h(),E("li",Ar,[c("a",{href:u(f),target:"_blank"},F(u(d)),9,ur)])):M("",!0),cr,dr])])],16)),A(Zi,{ref_key:"info",ref:t,changelog:i.value},null,8,["changelog"]),A(Ea,{ref_key:"savesManager",ref:a},null,512),A(es,{ref_key:"options",ref:n},null,512),A(Di,{ref_key:"changelog",ref:i},null,512)],64))}});var Ba=j(gr,[["__scopeId","data-v-269f7a94"]]);const mr={class:"inner-tab"},fr=O({__name:"Game",setup(e){const t=ze(V,"tabs"),a=q(()=>Object.keys(ee)),n=G.useHeader;function i(s){const{display:r,minimized:o,name:d,color:f,minimizable:b,nodes:v,minimizedDisplay:N}=s;return{display:r,minimized:o,name:d,color:f,minimizable:b,nodes:v,minimizedDisplay:N}}return(s,r)=>(h(),E("div",{class:te(["tabs-container",{useHeader:u(n)}])},[(h(!0),E(Y,null,Ta(u(t),(o,d)=>{var f,b;return h(),E("div",{key:d,class:te(["tab",u((f=u(ee)[o])==null?void 0:f.classes)]),style:je(u((b=u(ee)[o])==null?void 0:b.style))},[d===0&&!u(n)?(h(),U(Ba,{key:0})):M("",!0),c("div",mr,[u(a).includes(o)?(h(),U(Si,at({key:0},i(u(ee)[o]),{index:d,onSetMinimized:v=>u(ee)[o].minimized.value=v}),null,16,["index","onSetMinimized"])):(h(),U(ce(o),{key:1,index:d},null,8,["index"]))])],6)}),128))],2))}});var hr=j(fr,[["__scopeId","data-v-3e0f1aab"]]);aa.registerPlugin(Ga);Oa.registerPlugin("batch",Ua);var vr=O({props:{style:ne(String,Object,Array),classes:ne(Object),onInit:{type:Function,required:!0},id:{type:String,required:!0},onContainerResized:Function,onHotReload:Function},setup(e){const t=ye(null),a=new ResizeObserver(s),n=ye(null);St(()=>{var o,d;const r=n.value;r!=null&&(a.observe(r),t.value=new aa({resizeTo:r,backgroundAlpha:0}),(o=n.value)==null||o.appendChild(t.value.view),(d=e.onInit)==null||d.call(e,t.value)),s(),e.onHotReload&&xe(e.onHotReload)}),Da(()=>{var r;(r=t.value)==null||r.destroy()});let i=!0;function s(){i&&(i=!1,xe(()=>{var r;n.value!=null&&((r=e.onContainerResized)==null||r.call(e,n.value.getBoundingClientRect())),i=!0}))}return $.on("fontsLoaded",s),{unref:u,resizeListener:n}}});function pr(e,t,a,n,i,s){return h(),E("div",{ref:"resizeListener",class:te(["resize-listener",e.unref(e.classes)]),style:je(e.unref(e.style))},null,6)}var yr=j(vr,[["render",pr],["__scopeId","data-v-0b99a6fc"]]);const br=Symbol("Particles");function Cr(e){return Pt(()=>{var i,s;const t=(i=e==null?void 0:e())!=null?i:{};t.id=ca("particles-"),t.type=br,t[Dt]=yr,t.app=ye(null),t.addEmitter=r=>{const o=t;return o.app.value?Promise.resolve(new Ot(o.app.value.stage,r)):new Promise(d=>{a.push({resolve:d,config:r})})};let a=[];function n(r){const o=t;o.app.value=r,a.forEach(({resolve:d,config:f})=>d(new Ot(r.stage,f))),a=[]}return t.onContainerResized=(s=t.onContainerResized)==null?void 0:s.bind(t),t[Rt]=function(){const{id:r,style:o,classes:d,onContainerResized:f,onHotReload:b}=this;return{id:r,style:u(o),classes:d,onContainerResized:f,onHotReload:b,onInit:n}},t})}window.upgradeConfig=La;const Nr=Symbol("Reset");function Er(e){return Pt(()=>{const t=e();return t.id=ca("reset-"),t.type=Nr,t.reset=function(){var i;const a=s=>{if(s!=null&&typeof s=="object")if(Ke in s){const r=s;r.value=r[Ke]}else!(s instanceof B)&&!Ce(s)&&Object.values(s).forEach(r=>a(r))},n=u(t.thingsToReset);Nt(n)?n.forEach(a):a(n),$.emit("reset",t),(i=t.onReset)==null||i.call(t)},ve(t,"thingsToReset"),t})}const ct={};$.on("removeLayer",e=>{var t;(t=ct[e.id])==null||t.call(ct),ct[e.id]=void 0});var Br="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABT5JREFUeJzt3UGrVVUYBuBj2ERSikSKRmXixDBoEl6kBpVSEBUGgRbUyF9QTYQLd6KDaBoNykqhSKpJoBBBmNakgeRErGahiUGkOAps4nB9t1btc8/Z532e4Xf3XXt55WWxP9ZeezIBAAAAAAAAAAAAAAAAYBzWzXoC8+7mzas3Zz2H/2Pdus3+j1dx26wnALMkAEQTAKIJANEEgGjrZz2Btdbb1Vna9Mq0prImev+9aV0jKwDRBIBoAkA0ASCaABBtYbtAVfejt6tz5sqJQeYzK0ub9nVdX/3dFrU7ZAUgmgAQTQCIJgBEEwCijebJfqg9PGPv6kzb0pZ21+jMnx8262PvDlkBiCYARBMAogkA0QSAaHO3F2ioPTxDuX7hXLN+x/adazyT1Y1ln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ASCaABBNAIgmAESb+Tf4sVqgzXv7WqDKw9sea47/+Mu3Xc/pddfifV0//+XpTwb53LXa9lSsAEQTAKIJANEEgGgCQLS5a4F6T2Bd+ueh5vj5H9rv/HrzpW+6nj91VTuU1vZUrABEEwCiCQDRBIBoAkC0mZ8Iq1qFuh1qn8Cq2qH113/VHF/cXs1onBbo1Y+ONsdf3LN3pp978423N8d73/BemXprZAUgmgAQTQCIJgBEEwCijfam+KHaoep+nrFUbU91om2odqja81O1QL3tUKX6e02lHbICEE0AiCYARBMAogkA0UZrgXpPilW3HD+19+Wuz63aj1699/bMm7fef3qQ5/TuKZq3dsgKQDQBIJoAEE0AiCYARButBRrKUO/Aqtqh3ran2sMz1omw6t1hXGEFIJoAEE0AiCYARBMAos3VvoyFheH2CM267RlL9W6yqu2pboHuPflVmfot01YAogkA0QSAaAJANAEg2tztBeq/L2iYNmPe9LY9var2ptdU2p6KFYBoAkA0ASCaABBNAIg2dy1QZah2qLoPZ3H7jpVObSaWtrRvwz5+4nBzfNfO/V3Pn3p7MxQrANEEgGgCQDQBIJoAEG3NNgG97VD1JvpeVXvTq2p7elXt0NRPcg3FCkA0ASCaABBNAIgmAESbzF6geVO1PUOdtKraqqHaIa6wAhBNAIgmAEQTAKIJANG0QCtU7R1a2tTXDg110k07tDJWAKIJANEEgGgCQDQBINqabYH625W+e3g2bt660qld43y0PavBCkA0ASCaABBNAIgmAERbsy3QrF04e6Y5XrU05X1ExR6hod7w7v6f5VkBiCYARBMAogkA0QSAaJqA/8z6TfRDtTHVPCvanuVZAYgmAEQTAKIJANEEgGgagqvobV0q2pj5ZAUgmgAQTQCIJgBEEwAAAAAAAAAAAAAm71+GfXJS6hdsVQAAAABJRU5ErkJggg==",Qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABHZJREFUeJzt3TFrJVUYx+Eb2UqWoBgESxHZRtjCRjYsWqgL2ogoCIKF1X4Jq3wAW7GQ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rbo7oupfYaKeq52a6OOummPgduhwYaiADAGgGANQIAawQA1mrfBVLUbcntldxeoFLyvxGWu01anRRT3Rutmd0ehRUA1ggArBEAWCMAsEYAYK02XaC7++MTXtVqXFe/4XWuP947pPbAqL032RNhpX4jLLs36YtTYhzR1VHq3u1RWAFgjQDAGgGANQIAawQA1rrWBSp1a/T00cnUc09O7km9Xt+H01tK3dvT1G6PwgoAawQA1ggArBEAWCMAsNZze4FKdYfmlg6HdXWPkOqiLMxfCOvqf45tAxvC+gfHxF+Q44g/+HklLA+KvUBYHysArBEAWCMAsEYAYI0AwFrt931ku0PKg8PHi8zn8+V7i4yjqHmq5zb1Pp9SWAFgjQDAGgGANQIAawQA1npuL1BWqb1DWdmui6LmU6orhfWxAsAaAYA1AgBrBADWCACs1b4LVEr/1dd0ewr/0mvzaSpWAFgjALBGAGCNAMAaAYA1AgBrBADWCACsEQBYIwCwRgBgjb1Alyz+cWvq9TduvBjW5W3VyZNinZ6POjHndl8QKwCsEQBYIwCwRgBgjQDAmtU3/qrq/H1B2duYe20+blgBYI0AwBoBgDUCAGsEANboBFyiujFZpborvTafpmIFgDUCAGsEANYIAKwRAAAAAAAAAAAAAAAAAABA7f0NUYSCE1qhmF4AAAAASUVORK5CYII=",Dr="./assets/start stream.dd66a6ec.png",Rr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAABk1JREFUeJzt3TFoXVUcx/GX1EWRp4N0UkRD0UEJCELhVVuEWHQQIxVKWhxKcRCXiqO6tOhS6iIZRDIIFodCN4sECmIrQqxQ6KBIsigEpEItgks0DnX8/5B//J/ce9/v+xlPH/fevMevB36cc+5oBAAAAAAAAAAAAAAAAGAazHT9ALtte/vmdtfP8H/MzDxg95u1NNv1AwBdIgCwRgBgjQDAGgGAtbu6foBWVNszGb+2249SSv1dtEM7wwwAawQA1ggArBEAWCMAsDb4Fijb9lz99ULT52ltMj4SjtMO7QwzAKwRAFgjALB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Wqc+t2SMmeAl2180sZyhvnmQFgjQDAGgGANQIAawQA1np3OvSe2V/EHV4PR6+f+CIcV2tLWrdGrdsh9f088Un8/WSpU6DVO8JunPy45L5//f1gON76jfPMALBGAGCNAMAaAYA1AgBrne0IU23G0XfeDMc/P/lROL7/+Avh+If3xy3QqVvnwvG+UTvX5le6aXvU9/n0Uvz9Z62dvxSOsyMMaIgAwBoBgDUCAGsEANbSLVDd2p7Y+sZ6OC7boTNxO6SoNiOrau1N1Rvkla7anj+feygcv/vyz6nrt26HmAFgjQDAGgGANQIAawQA1jo7Fyjd6oiWoGotStaa3AkV72zKUjvI1I4zdc7Psw8fCser1kQdWF4Ix7Nrsa68sVryPFnMALBGAGCNAMAaAYA1AgBrvTsdWq2x0a3LMKj2JkutrVLn86jW5ew4Ht8j/kuce3QuHN88u5G6r/q8uv5a/DhlmAFgjQDAGgGANQIAawQA1kpO2B2N2p8LlJXdKZa9r7q+OuVYnVbdmmp71KnLffu9Wp8azQwAawQA1ggArBEAWCMAsFbWAimtzxFSVHugZO+bbSeyb3Kvkm1L+vZ78Y4woCECAGsEANYIAKwRAFhr3gIp2bYhS7UHSva+Ve1Ka1VtSVe/V9XzK8wAsEYAYI0AwBoBgDUCAGudtUBKVVuSbQ+y923dTgxFV79XFWYAWCMAsEYAYI0AwBoBgLV/AH3DQBxUNmu+AAAAAElFTkSuQmCC";const Vr=O({__name:"Node",props:{id:null},setup(e){const a=be(e),n=Gt(qt,()=>{}),i=Gt(xt,()=>{}),s=ye(null),r=q(()=>s.value&&s.value.parentElement);return fe([r,a.id],([o,d],[f,b])=>{f&&i(u(b)),o&&n(d,o)}),Ra(()=>i(u(a.id))),(o,d)=>(h(),E("div",{class:"node",ref_key:"node",ref:s},null,512))}});var Pr=j(Vr,[["__scopeId","data-v-a48cb382"]]),qr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAqhJREFUeJzt3LFqFFEYBeBdER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BNAIgmAETTAh2J0TM/vT5fZRYIBhIAogkA0QSAaAJANG+HnpT/UPs7/xEGHQgA0QSAaAJANAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK7ILzj6vECOPLAcAAAAAElFTkSuQmCC";const wa=e=>(_e("data-v-3f6edf7e"),e=e(),Qe(),e),Jr=["ondragend","ondragenter","ondragleave","ondragover","ondrop"],Yr={key:0,class:"move-indicator"},Wr=wa(()=>c("span",{class:"material-icons"},"straight",-1)),Xr=[Wr],jr={key:1,class:"move-indicator"},Kr=wa(()=>c("span",{class:"material-icons"},"merge",-1)),Hr=[Kr],Zr={key:2,class:"character-display"},$r=["src"],eo={key:3,class:"relevancy-display"},to=["src"],ao={key:4,class:"presence-display"},no=["src"],io={key:5,class:"level-display"},so=["src"],ro=["src"],oo=["src"],lo=["src"],Ao=["src"],uo=["src"],co={key:6,class:"frozen"};var go=O({__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,n=w(!1),i=w(!1),s=w(void 0);function r(d){var f;n.value=!0,(f=d.dataTransfer)==null||f.setDragImage(s.value,0,0)}fe(n,d=>{t(d?"dragstart":"dragend")});const o=ye("");return Qt(()=>{if(a.character==null||a.selected!=null||n.value){o.value="";return}const d=Ne(X[a.character.type].abilityDescription(a.character));o.value=J(()=>A(Y,null,[A("b",null,[X[a.character.type].nickname]),A("br",null,null),A(d,null,null)]))}),(d,f)=>(h(),U(K,{display:u(o),direction:u(W).Up},{default:R(()=>{var b,v,N;return[c("div",{class:te(["character",{selected:e.isSelected,empty:e.character==null&&e.selected==null,dragging:n.value,isDragging:e.isDragging,draggingOver:i.value,shake:e.shake}]),draggable:"true",ondragstart:r,ondragend:()=>n.value=!1,ondragenter:()=>i.value=!0,ondragleave:()=>i.value=!1,ondragover:y=>{var I;e.selected!=null&&!e.isShop&&(((I=e.character)==null?void 0:I.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:()=>{i.value=!1,t("drop")}},[e.selected!=null&&!e.isShop&&(((b=e.character)==null?void 0:b.type)!==e.selected.type||e.isSelected)&&n.value===!1?(h(),E("span",Yr,Xr)):M("",!0),e.character!=null&&e.selected!=null&&!e.isSelected&&e.character.type===e.selected.type&&e.character.exp<6?(h(),E("span",jr,Hr)):M("",!0),e.character!=null?(h(),E("span",Zr,[c("img",{ref_key:"imageElement",ref:s,src:u(X)[e.character.type].display},null,8,$r)])):M("",!0),e.character!=null?(h(),E("span",eo,[c("img",{src:u(qr)},null,8,to),c("span",null,F((v=e.character)==null?void 0:v.relevancy),1)])):M("",!0),e.character!=null?(h(),E("span",ao,[c("img",{src:u(xr)},null,8,no),c("span",null,F((N=e.character)==null?void 0:N.presence),1)])):M("",!0),e.character!=null?(h(),E("span",io,[e.character.exp===1?(h(),E("img",{key:0,src:u(zr)},null,8,so)):M("",!0),e.character.exp===2?(h(),E("img",{key:1,src:u(Fr)},null,8,ro)):M("",!0),e.character.exp===3?(h(),E("img",{key:2,src:u(Gr)},null,8,oo)):M("",!0),e.character.exp===4?(h(),E("img",{key:3,src:u(Or)},null,8,lo)):M("",!0),e.character.exp===5?(h(),E("img",{key:4,src:u(Ur)},null,8,Ao)):M("",!0),e.character.exp===6?(h(),E("img",{key:5,src:u(Lr)},null,8,uo)):M("",!0)])):M("",!0),e.frozen?(h(),E("div",co)):M("",!0),e.id?(h(),U(Pr,{key:7,id:e.id},null,8,["id"])):M("",!0)],10,Jr)]}),_:1},8,["display","direction"]))}});var we=j(go,[["__scopeId","data-v-3f6edf7e"]]);const mo={min:.25,max:.5},fo=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],ho=.01,vo=.1,po=100,yo=!0,bo={x:0,y:0},Co=!1,No=[{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 Eo={lifetime:mo,ease:fo,frequency:ho,emitterLifetime:vo,maxParticles:po,addAtBack:yo,pos:bo,emit:Co,behaviors:No};const st=w(!1),It=w(""),Ht=na(),Ue=w(),Xe=w("");function me(e,...t){var a;!st.value||(a=Ue.value)==null||a.emit(e,...t)}$.on("loadSettings",e=>{tt(e,"server","https://Super-Auto-Coots.thepaperpilot.repl.co"),fe(()=>e.server,t=>{Ue.value&&Ue.value.close(),Ue.value=Ya(t),Bo(Ue.value),st.value=!1,Xe.value="",Ue.value.connect()},{immediate:!0}),ai(J(()=>A(Y,null,[A(zt,{title:"Server URL","onUpdate:modelValue":t=>e.server=t,modelValue:e.server},null),A("div",{style:"font-style: italic; font-size: small; margin-top: -10px;"},[st.value?A("span",null,[p("Connected!")]):Xe.value?A("span",{style:"color: red"},[Xe.value]):A("span",null,[p("Connecting...")])])])))});function he(e){var n;const t=m.particles.boundingRect.value;if(!t)return;const a=(n=m.nodes.value[e])==null?void 0:n.rect;a&&m.particles.addEmitter(Eo).then(i=>{i.updateOwnerPos(a.x+a.width/2-t.x,a.y+a.height/2-t.y),i.playOnceAndDestroy()})}function Bo(e){e.on("connect",()=>{Xe.value="",st.value=!0,m.reset.reset()}),e.on("connect_error",t=>{Xe.value=`${t.name}: ${t.message}`}),e.on("disconnect",(t,a)=>{var n;Xe.value=a instanceof Error?`${a.name}: ${a.message}`:(n=a==null?void 0:a.description)!=null?n:t,st.value=!1}),e.on("server version",t=>{Ja(G.versionNumber,t)||(Ht.info("Server only accepts game versions in range: "+t),e.disconnect())}),e.on("info",t=>{Ht.info(t),t==="Failed to start streaming"&&(m.findingMatch.value=!1)}),e.on("nickname",t=>{It.value=t}),e.on("newTurn",t=>{m.gold.value=10,m.turn.value++,m.battle.value=null,m.shop.value=t.map(a=>({type:a,relevancy:X[a].initialRelevancy,presence:X[a].initialPresence,exp:1})),m.frozen.value=m.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>he(`shop-char-${n}`))},0),m.showRefreshAnim.value=!0,setTimeout(()=>m.showRefreshAnim.value=!1,500)}),e.on("reroll",t=>{m.gold.value--,m.shop.value=t.map(a=>({type:a,relevancy:X[a].initialRelevancy,presence:X[a].initialPresence,exp:1})),m.frozen.value=m.frozen.value.map((a,n)=>n),setTimeout(()=>{t.forEach((a,n)=>he(`shop-char-${n}`))},0),m.showRefreshAnim.value=!0,setTimeout(()=>m.showRefreshAnim.value=!1,500)}),e.on("buy",(t,a,n)=>{m.team.value[a]=n,m.shop.value[t]=null,m.gold.value-=3,he(`shop-char-${t}`),he(`team-char-${a}`),m.frozen.value.includes(t)&&(m.frozen.value=m.frozen.value.filter(i=>i!==t))}),e.on("move",(t,a)=>{const n=m.team.value[t];m.team.value[t]=m.team.value[a],m.team.value[a]=n,he(`team-char-${t}`),he(`team-char-${a}`)}),e.on("merge",(t,a,n)=>{var o,d;const i=(d=(o=m.team.value[a])==null?void 0:o.exp)!=null?d:0,s=i>=6?3:i>=3?2:1,r=n.exp>=6?3:n.exp>=3?2:1;m.team.value[t]=null,m.team.value[a]=n,he(`team-char-${t}`),he(`team-char-${a}`),X[n.type].abilityType==="LevelUp"&&s!==r&&setTimeout(()=>X[n.type].performAbility(n),1250)}),e.on("stream",(t,a)=>{let n=!1;m.team.value.forEach(i=>{i!=null&&X[i.type].abilityType==="StreamStarted"&&(n=!0,X[i.type].performAbility(i))}),n?setTimeout(()=>Zt(t,a)):Zt(t,a)}),e.on("sell",t=>{const a=m.team.value[t];let n;a.exp>=6?n=3:a.exp>=3?n=2:n=1,m.gold.value+=n,m.team.value[t]=null,he(`team-char-${t}`),X[a.type].abilityType==="Sold"&&setTimeout(()=>X[a.type].performAbility(a),500)}),e.on("freeze",t=>{m.frozen.value.includes(t)?m.frozen.value=m.frozen.value.filter(a=>a!==t):m.frozen.value.push(t)})}function Zt(e,t){m.findingMatch.value=!1,m.battle.value={team:JSON.parse(JSON.stringify(m.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},m.outcome.value=t,m.showingOutcome.value=!1,m.playClicked.value=!1,setTimeout(m.prepareMove,1e3)}const wo={min:1.5,max:2.5},Io=[{s:0,cp:.329,e:.548},{s:.548,cp:.767,e:.876},{s:.876,cp:.985,e:1}],_o=.001,Qo=.1,So=100,Mo=!0,ko={x:0,y:0},To=!1,Do=[{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 Ro={lifetime:wo,ease:Io,frequency:_o,emitterLifetime:Qo,maxParticles:So,addAtBack:Mo,pos:ko,emit:To,behaviors:Do};function De(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Va(e)}const X={coots:{nickname:"Coots",initialRelevancy:3,initialPresence:1,display:Qr,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>A(Y,null,[A("i",null,[p("Livestream joined")]),p(": Deal "),e.exp>=6?6:e.exp>=3?4:2," ",p("relevancy damage to every character on a stream")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?6:e.exp>=3?4:2;m.battle.value.streamers.forEach(a=>a.relevancy-=t),m.battle.value.enemyStreamers.forEach(a=>a.relevancy-=t)}},ludwig:{nickname:"Ludwig Coots",initialRelevancy:2,initialPresence:1,display:Br,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>A(Y,null,[A("i",null,[p("Livestream joined")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",p("presence for every character on that livestream")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;m.battle.value.streamers.includes(e)?e.presence+=t*m.battle.value.streamers.length:e.presence+=t*m.battle.value.enemyStreamers.length}},qt:{nickname:"Qt Coots",initialRelevancy:1,initialPresence:2,display:Sr,abilityType:"Sold",abilityDescription:e=>J(()=>A(Y,null,[A("i",null,[p("Sold")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1,p(" mogul"),e.exp>=3?"s":""])),performAbility(e){const t=e.exp>=6?3:e.exp>=3?2:1;m.gold.value+=t}},maid:{nickname:"Maid Coots",initialRelevancy:2,initialPresence:2,display:wr,abilityType:"LevelUp",abilityDescription:e=>J(()=>A(Y,null,[A("i",null,[p("Level up")]),p(": Every character gains "),e.exp>=3?2:1,p(" relevancy and presence")])),performAbility(e){const t=e.exp>=6?2:1;m.team.value.forEach(a=>{a&&(a.relevancy+=t,a.presence+=t)})}},mail:{nickname:"Mogul Mail Coots",initialRelevancy:1,initialPresence:1,display:Ir,abilityType:"LivestreamJoined",abilityDescription:e=>J(()=>A(Y,null,[A("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 stats.")])),performAbility(e){if(m.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};m.queue.value.push({action:"LivestreamJoined",target:a}),m.battle.value.streamers.includes(e)?m.battle.value.streamers.push(a):m.battle.value.enemyStreamers.push(a)}},stanz:{nickname:"Stanz Coots",initialRelevancy:1,initialPresence:1,display:Tr,abilityType:"LivestreamEnded",abilityDescription:e=>J(()=>A(Y,null,[A("i",null,[p("Livestream ended")]),p(": Gain "),e.exp>=6?3:e.exp>=3?2:1," ",p("relevancy for every character on either livestream with more relevancy.")])),performAbility(e){if(m.battle.value==null)return;const t=e.exp>=6?3:e.exp>=3?2:1;e.relevancy+=t*(m.battle.value.streamers.filter(a=>a.relevancya.relevancyJ(()=>A(Y,null,[A("i",null,[p("Stream started")]),p(": Permanently gain")," ",e.exp>=6?3:e.exp>=3?2:1,p(" presence if you have 2 or more moguls.")])),performAbility(e){if(m.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:Rr,abilityType:"LivestreamJoined",abilityDescription:()=>J(()=>A(Y,null,[A("i",null,[p("Livestream joined")]),p(": Set the character that most recently joined the enemy livestream's presence to 0. This effect does not improve on level up.")])),performAbility(e){m.battle.value!=null&&(m.battle.value.streamers.includes(e)?m.battle.value.enemyStreamers.length>0&&(m.battle.value.enemyStreamers[m.battle.value.enemyStreamers.length-1].presence=0):m.battle.value.streamers.length>0&&(m.battle.value.streamers[m.battle.value.streamers.length-1].presence=0))}}},m=ya("main",function(){const e=w(3),t=w(0),a=w(0),n=w(0),i=w([null,null,null]),s=w([]),r=w(null),o=w(null),d=w(!1),f=w(""),b=w(!1),v=w(!1),N=w(!1),y=w([]),I=w([]),Q=w(!1),S=w(null),H=q(()=>S.value==null?0:S.value.streamers.reduce((ie,z)=>ie+Math.max(0,z.presence)*Math.max(0,z.relevancy),0)*100),C=q(()=>S.value==null?0:S.value.enemyStreamers.reduce((ie,z)=>ie+Math.max(0,z.presence)*Math.max(0,z.relevancy),0)*100),_=Er(()=>({onReset(){e.value=3,t.value=0,a.value=0,n.value=0,i.value=[null,null,null],s.value=[],r.value=null,o.value=null,d.value=!1,S.value=null,f.value="",b.value=!1,N.value=!1,y.value=[],I.value=[]}})),P=w(!1);function ae(){var ie,z;if(S.value==null)throw"Preparing move while not in battle";if(y.value.length===0&&S.value.team.length===0&&S.value.enemyTeam.length===0){if(S.value.ranLivestreamEnded===!1){S.value.streamers.forEach(T=>{X[T.type].abilityType==="LivestreamEnded"&&y.value.push({action:"LivestreamEnded",target:T})}),S.value.enemyStreamers.forEach(T=>{X[T.type].abilityType==="LivestreamEnded"&&y.value.push({action:"LivestreamEnded",target:T})}),S.value.ranLivestreamEnded=!0,ae();return}f.value==="Victory"?t.value++:f.value==="Defeat"&&e.value--,b.value=!0;return}if(y.value.length===0?y.value.push({action:"join"}):y.value.length>1&&(y.value=y.value.sort((T,L)=>T.action!==L.action?1:T.target!=null&&L.target!=null?L.target.relevancy-T.target.relevancy:0)),x.autoplay===!1&&N.value===!1)v.value=!0;else{v.value=!1;const T=y.value.shift();switch(T.action){case"join":if(((ie=S.value.team.length)!=null?ie:0)>0){const L=S.value.team.pop();S.value.streamers.push(L),X[L.type].abilityType==="LivestreamJoined"&&y.value.unshift({action:"LivestreamJoined",target:L})}if(((z=S.value.enemyTeam.length)!=null?z:0)>0){const L=S.value.enemyTeam.pop();S.value.enemyStreamers.push(L),X[L.type].abilityType==="LivestreamJoined"&&y.value.unshift({action:"LivestreamJoined",target:L})}break;default:if(T.target==null){console.error("Invalid action",T);break}X[T.target.type].performAbility(T.target);break}N.value=!1,setTimeout(ae,x.fast?750:1250)}}const ge=Cr(()=>({fullscreen:!1,zIndex:10,boundingRect:w(null),onContainerResized(ie){this.boundingRect.value=ie}}));return{name:"Game",minimizable:!1,display:J(()=>{let ie;if(t.value>=5){let z;return A("div",{class:"total-outcome-container"},[A("span",{class:"total-outcome"},[p("You Won!")]),A("span",{class:"smiley"},[p("\u{1F603}")]),A(Te,null,De(z=new Array(3).fill(0).map((T,L)=>A(we,{character:i.value[L]},null)))?z:{default:()=>[z]}),A("button",{class:"button",onClick:()=>location.reload()},[p("Play again")]),Je(ge)])}if(e.value<=0){let z;return A("div",{class:"total-outcome-container"},[A("span",{class:"total-outcome"},[p("You ran out of lives!")]),A("span",{class:"smiley"},[p("\u{1F630}")]),A(Te,null,De(z=new Array(3).fill(0).map((T,L)=>A(we,{character:i.value[L]},null)))?z:{default:()=>[z]}),A("button",{class:"button",onClick:()=>location.reload()},[p("Play again")]),Je(ge)])}if(S.value!=null){let z,T,L,Oe;return A("div",{class:{["battle-container"]:!0,fast:x.fast}},[A("div",{class:"battle-controls"},[A("button",{class:"button",onClick:()=>{N.value=!0,ae()}},[A("span",{class:"material-icons"},[p("play_arrow")]),A("span",null,[p("Play")])]),A("button",{class:{button:!0,active:x.autoplay},onClick:()=>{x.autoplay=!x.autoplay,v.value&&ae()}},[A("span",{class:"material-icons"},[p("all_inclusive")]),A("span",null,[p("Autoplay")])]),A("button",{class:{button:!0,active:x.fast},onClick:()=>x.fast=!x.fast},[A("span",{class:"material-icons"},[p("fast_forward")]),A("span",null,[p("Fast")])])]),A("div",{class:"teams-container",style:b.value?"pointer-events: none;":""},[A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"left: 1vmin"},[A("span",null,[It.value,p(" (YOU)")]),A("div",{class:"stats"},[A("div",{class:"resource-box lives"},[e.value]),A("div",{class:"resource-box wins"},[t.value,p("/5")]),A("div",{class:"view-counter"},[Et(H.value),p(" Views")])])]),A(Te,{class:"streamers-container"},{default:()=>[A(ut,{name:"character-transition"},De(z=S.value.streamers.slice().reverse().map((le,Se)=>{var Ae;return A(we,{key:S.value.streamers.length-Se,character:le,shake:v.value&&((Ae=y.value[0])==null?void 0:Ae.target)===le},null)}))?z:{default:()=>[z]})]})]),A(jt,{class:"members-container"},{default:()=>[A(ut,{name:"character-transition"},De(T=S.value.team.map((le,Se)=>{var Ae,He,Ze,$e;return A(we,{character:le,key:Se,shake:v.value&&((Ae=y.value[0])==null?void 0:Ae.action)==="join"&&le===(($e=S.value)==null?void 0:$e.team[((Ze=(He=S.value)==null?void 0:He.team.length)!=null?Ze:0)-1])},null)}))?T:{default:()=>[T]})]})]),A("div",{class:"team-container"},[A("div",{class:"stream-container"},[A("div",{class:"stream-details",style:"right: 1vmin"},[A("span",null,[S.value.enemyNickname]),A("div",{class:"stats",style:"margin-right: 0"},[A("div",{class:"resource-box lives"},[S.value.enemyLives]),A("div",{class:"resource-box wins"},[S.value.enemyWins,p("/5")]),A("div",{class:"view-counter"},[Et(C.value),p(" Views")])])]),A(Te,{class:"streamers-container"},{default:()=>[A(ut,{name:"character-transition"},De(L=S.value.enemyStreamers.map((le,Se)=>{var Ae;return A(we,{key:Se,character:le,shake:v.value&&((Ae=y.value[0])==null?void 0:Ae.target)===le},null)}))?L:{default:()=>[L]})]})]),A(jt,{class:"members-container"},{default:()=>[A(ut,{name:"character-transition"},De(Oe=S.value.enemyTeam.map((le,Se)=>{var Ae,He,Ze,$e;return A(we,{character:le,key:S.value.enemyStreamers.length+Se,shake:v.value&&((Ae=y.value[0])==null?void 0:Ae.action)==="join"&&le===(($e=S.value)==null?void 0:$e.enemyTeam[((Ze=(He=S.value)==null?void 0:He.enemyTeam.length)!=null?Ze:0)-1])},null)}))?Oe:{default:()=>[Oe]})]})])]),b.value?A("div",{class:"outcome",onClick:()=>me("newTurn")},[A("span",null,[f.value]),A("span",{style:"font-size: 2vmin"},[p("Next Turn")])]):null])}return A("div",{class:"game-container",style:d.value?"pointer-events: none":"",onClick:()=>{r.value=null,o.value=null}},[A("h2",{class:"team-nickname"},[It.value]),A(Te,{class:"manager-header"},{default:()=>[A("div",{class:"resource-box moguls"},[n.value]),A("div",{class:"resource-box lives"},[e.value]),A("div",{class:"resource-box wins"},[t.value,p("/5")]),A("div",{style:"flex-grow: 1"},null),d.value?A("div",{class:"waiting"},[p("Finding opposing team...")]):A(Y,null,[r.value==null?null:A("button",{class:"button",onDragover:z=>z.preventDefault(),onClick:()=>me("sell",r.value),onDrop:()=>me("sell",r.value)},[p("Sell")]),o.value==null?null:A("button",{class:"button",onDragover:z=>z.preventDefault(),onClick:()=>me("freeze",o.value),onDrop:()=>me("freeze",o.value)},[p("Freeze")]),A("img",{class:"startStream",draggable:"false",onClick:()=>{me("stream"),d.value=!0},src:Dr},null)])]}),A("div",{style:"flex-grow: 1"},null),A(Te,{style:"margin-top: 10vh"},De(ie=new Array(3).fill(0).map((z,T)=>{var L,Oe;return A(we,{id:`team-char-${T}`,character:i.value[T],isSelected:r.value===T,selected:r.value==null?o.value==null||i.value[T]!=null&&((L=s.value[o.value])==null?void 0:L.type)!==((Oe=i.value[T])==null?void 0:Oe.type)||n.value<3?null:s.value[o.value]:i.value[r.value],isDragging:P.value,onClick:$t(T),onDragstart:()=>{P.value=!0,r.value=T,o.value=null},onDragend:()=>{P.value=!1,r.value=null,o.value=null},onDrop:()=>$t(T)()},null)}))?ie:{default:()=>[ie]}),A(Te,{class:"shop"},{default:()=>[A("div",{class:"reroll",style:n.value>0?"":"color: var(--locked); cursor: not-allowed",onClick:()=>{n.value>0&&me("reroll")}},[A("img",{src:Q.value?Mr:kr},null)]),s.value.map((z,T)=>A(we,{id:`shop-char-${T}`,frozen:I.value.includes(T),character:z==null?void 0:z,isSelected:o.value===T,isShop:!0,isDragging:P.value,onClick:L=>{z!=null&&(o.value=o.value===T?null:T,r.value=null,L.stopPropagation())},onDragstart:()=>{P.value=!0,r.value=null,o.value=T},onDragend:()=>{P.value=!1,r.value=null,o.value=null}},null))]}),Je(ge)])}),lives:e,wins:t,turn:a,gold:n,team:i,shop:s,selectedCharacter:r,selectedShopItem:o,findingMatch:d,showingOutcome:b,outcome:f,reset:_,battle:S,frozen:I,playClicked:N,prepareMove:ae,particles:ge,queue:y,showRefreshAnim:Q}});let dt=0;$.on("update",e=>{if(m.wins.value>=5){if(dt+=e,dt>=1){dt=0;const t=m.particles.boundingRect.value;if(!t)return;m.particles.addEmitter(Ro).then(a=>{a.updateOwnerPos(Math.random()*t.width,Math.random()*t.height),console.log(a),a.playOnceAndDestroy()})}}else dt=0});function $t(e){return t=>{var a,n,i,s,r,o,d;m.selectedCharacter.value!=null&&m.selectedCharacter.value!==e?((a=m.team.value[m.selectedCharacter.value])==null?void 0:a.type)===((n=m.team.value[e])==null?void 0:n.type)&&((s=(i=m.team.value[m.selectedCharacter.value])==null?void 0:i.exp)!=null?s:0)<6&&((o=(r=m.team.value[e])==null?void 0:r.exp)!=null?o:0)<6?(me("merge",m.selectedCharacter.value,e),m.selectedCharacter.value=null):(me("move",m.selectedCharacter.value,e),m.selectedCharacter.value=null):m.selectedCharacter.value===e?m.selectedCharacter.value=null:m.selectedShopItem.value!==null?((m.team.value[e]==null||m.team.value[e].type===((d=m.shop.value[m.selectedShopItem.value])==null?void 0:d.type)&&m.team.value[e].exp<6)&&m.gold.value>=3&&me("buy",m.selectedShopItem.value,e),m.selectedShopItem.value=null):m.selectedCharacter.value=e,t==null||t.stopPropagation()}}const Vo=e=>[m],Ia=q(()=>!1);function Po(e,t){}var qo=Object.freeze(Object.defineProperty({__proto__:null,characters:X,main:m,getInitialLayers:Vo,hasWon:Ia,fixOldSave:Po},Symbol.toStringTag,{value:"Module"}));const xo={class:"field"},zo=O({__name:"Toggle",props:{title:null,modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const a=e,n=q(()=>{var s;return Ne((s=u(a.title))!=null?s:"","span")}),i=q({get(){return!!a.modelValue},set(s){t("update:modelValue",s)}});return(s,r)=>(h(),E("label",xo,[Mt(c("input",{type:"checkbox",class:"toggle","onUpdate:modelValue":r[0]||(r[0]=o=>Ce(i)?i.value=o:null)},null,512),[[Pa,u(i)]]),(h(),U(ce(u(n))))]))}});var _t=j(zo,[["__scopeId","data-v-11046116"]]);const lt=e=>(_e("data-v-4a50ce42"),e=e(),Qe(),e),Fo={class:"game-over-modal-header"},Go=["src","alt"],Oo={class:"game-over-modal-title"},Uo=lt(()=>c("h2",null,"Congratulations!",-1)),Lo={key:0},Jo=lt(()=>c("br",null,null,-1)),Yo=lt(()=>c("div",null," Please check the Discord to discuss the game or to check for new content updates! ",-1)),Wo=lt(()=>c("br",null,null,-1)),Xo=["href"],jo=lt(()=>c("span",{class:"material-icons game-over-modal-discord"},"discord",-1)),Ko=O({__name:"GameOverScreen",setup(e){const{title:t,logo:a,discordName:n,discordLink:i,versionNumber:s,versionTitle:r}=G,o=q(()=>Tt(V.timePlayed)),d=q(()=>Ia.value&&!V.keepGoing),f=ze(V,"autosave");function b(){V.keepGoing=!0}function v(){Ve(Le())}return(N,y)=>(h(),U(Fe,{"model-value":u(d)},{header:R(()=>[c("div",Fo,[u(a)?(h(),E("img",{key:0,class:"game-over-modal-logo",src:u(a),alt:u(t)},null,8,Go)):M("",!0),c("div",Oo,[Uo,c("h4",null,"You've beaten "+F(u(t))+" v"+F(u(s))+": "+F(u(r)),1)])])]),body:R(({shown:I})=>[I?(h(),E("div",Lo,[c("div",null,"It took you "+F(u(o))+" to beat the game.",1),Jo,Yo,Wo,c("div",null,[c("a",{href:u(i),class:"game-over-modal-discord-link"},[jo,p(" "+F(u(n)),1)],8,Xo)]),A(_t,{title:"Autosave",modelValue:u(f),"onUpdate:modelValue":y[0]||(y[0]=Q=>Ce(f)?f.value=Q:null)},null,8,["modelValue"])])):M("",!0)]),footer:R(()=>[c("div",{class:"game-over-footer"},[c("button",{onClick:b,class:"button"},"Keep Going"),c("button",{onClick:v,class:"button danger"},"Play Again")])]),_:1},8,["model-value"]))}});var Ho=j(Ko,[["__scopeId","data-v-4a50ce42"]]);const yt=e=>(_e("data-v-336bf74f"),e=e(),Qe(),e),Zo=yt(()=>c("div",{class:"nan-modal-header"},[c("h2",null,"NaN value detected!")],-1)),$o={key:0},el=yt(()=>c("br",null,null,-1)),tl=["href"],al=yt(()=>c("span",{class:"material-icons nan-modal-discord"},"discord",-1)),nl=yt(()=>c("br",null,null,-1)),il={class:"nan-footer"},sl=O({__name:"NaNScreen",setup(e){const{discordName:t,discordLink:a}=G,n=w(!0),i=w(!0),s=ze(Z,"hasNaN"),r=w(null);fe(s,N=>{N?(n.value=V.autosave,i.value=V.devSpeed===0):(V.autosave=n.value,V.devSpeed=i.value?0:null)});const o=q(()=>{var N;return(N=Z.NaNPath)==null?void 0:N.join(".")}),d=q(()=>Z.NaNPersistent!=null?Z.NaNPersistent.value:null);function f(){Z.NaNPersistent!=null&&(Z.NaNPersistent.value=new B(0),Z.hasNaN=!1)}function b(){Z.NaNPersistent&&(Z.NaNPersistent.value=new B(1),Z.hasNaN=!1)}function v(){Z.NaNPersistent&&(Z.NaNPersistent.value=new B(NaN),Z.hasNaN=!1)}return(N,y)=>(h(),E(Y,null,[A(Fe,at({modelValue:u(s),"onUpdate:modelValue":y[4]||(y[4]=I=>Ce(s)?s.value=I:null)},N.$attrs),{header:R(()=>[Zo]),body:R(()=>[c("div",null,[p(' Attempted to assign "'+F(u(o))+'" to NaN',1),u(d)?(h(),E("span",$o,F(" ")+"(previously "+F(u(ua)(u(d)))+")",1)):M("",!0),p(". Auto-saving has been "+F(n.value?"enabled":"disabled")+". Check the console for more details, and consider sharing it with the developers on discord. ",1)]),el,c("div",null,[c("a",{href:u(a)||"https://discord.gg/WzejVAx",class:"nan-modal-discord-link"},[al,p(" "+F(u(t)||"The Paper Pilot Community"),1)],8,tl)]),nl,A(_t,{title:"Autosave",modelValue:n.value,"onUpdate:modelValue":y[0]||(y[0]=I=>n.value=I)},null,8,["modelValue"]),u(G).enablePausing?(h(),U(_t,{key:0,title:"Pause game",modelValue:i.value,"onUpdate:modelValue":y[1]||(y[1]=I=>i.value=I)},null,8,["modelValue"])):M("",!0)]),footer:R(()=>[c("div",il,[c("button",{onClick:y[2]||(y[2]=I=>{var Q;return(Q=r.value)==null?void 0:Q.open()}),class:"button"},"Open Saves Manager"),c("button",{onClick:f,class:"button"},"Set to 0"),c("button",{onClick:b,class:"button"},"Set to 1"),u(d)&&u(B).neq(u(d),0)&&u(B).neq(u(d),1)?(h(),E("button",{key:0,onClick:y[3]||(y[3]=I=>s.value=!1),class:"button"}," Set to previous ")):M("",!0),c("button",{onClick:v,class:"button danger"},"Ignore")])]),_:1},16,["modelValue"]),A(Ea,{ref_key:"savesManager",ref:r},null,512)],64))}});var rl=j(sl,[["__scopeId","data-v-336bf74f"]]);var ol=O({__name:"App",setup(e){const t=G.useHeader,a=q(()=>ot[x.theme].variables);ze(x,"showTPS");const n=q(()=>Ne(J(()=>A(Y,null,[ii.map(Je)]))));return(i,s)=>(h(),E(Y,null,[c("div",{id:"modal-root",style:je(u(a))},null,4),c("div",{class:te(["app",{useHeader:u(t)}]),style:je(u(a))},[u(t)?(h(),U(Ba,{key:0})):M("",!0),A(hr),A(Ho),A(rl),(h(),U(ce(u(n))))],6)],64))}});var ll=j(ol,[["__scopeId","data-v-48adfab3"]]);$.on("setupVue",e=>e.use(Wa));function Al(e={}){const{immediate:t=!1,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e;let r,o;const d=async(f=!0)=>{f&&(r==null||r.addEventListener("controlling",b=>{b.isUpdate&&window.location.reload()})),o&&o.waiting&&await ja(o.waiting,{type:"SKIP_WAITING"})};if("serviceWorker"in navigator){r=new Xa("./sw.js",{scope:"./",type:"classic"}),r.addEventListener("activated",f=>{f.isUpdate||n==null||n()});{const f=()=>{a==null||a()};r.addEventListener("waiting",f),r.addEventListener("externalwaiting",f)}r.register({immediate:t}).then(f=>{o=f,i==null||i(f)}).catch(f=>{s==null||s(f)})}return d}function ul(e={}){const{immediate:t=!0,onNeedRefresh:a,onOfflineReady:n,onRegistered:i,onRegisterError:s}=e,r=w(!1),o=w(!1);return{updateServiceWorker:Al({immediate:t,onNeedRefresh(){r.value=!0,a==null||a()},onOfflineReady(){o.value=!0,n==null||n()},onRegistered:i,onRegisterError:s}),offlineReady:o,needRefresh:r}}document.title=G.title;window.projInfo=G;if(G.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 Zn();const{globalBus:e}=await mt(()=>Promise.resolve().then(function(){return Kn}),void 0),{startGameLoop:t}=await mt(()=>import("./gameLoop.f161412f.js"),["assets/gameLoop.f161412f.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/vuedraggable.c3acdf62.js","assets/sortablejs.cbae5b2d.js","assets/vue-next-select.0dc4e443.js","assets/vue-next-select.9e6f4164.css","assets/vue-textarea-autosize.35804eaf.js","assets/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.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/vue-toastification.b7cd620e.js","assets/vue-toastification.4b5f8ac8.css","assets/workbox-window.8d14e8b7.js"]),a=window.vue=qa(ll);e.emit("setupVue",a),a.mount("#app"),xe(()=>{const n=na(),{updateServiceWorker:i}=ul({onNeedRefresh(){n.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(){i()}})},onOfflineReady(){n.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(s){s&&setInterval(()=>s.update(),60*60*1e3)}})}),t()});export{B as D,mt as _,Z as a,G as b,qo as c,$ as g,$n as l,V as p,x as s}; diff --git a/assets/index.892abd58.css b/assets/index.892abd58.css deleted file mode 100644 index 16d945e..0000000 --- a/assets/index.892abd58.css +++ /dev/null @@ -1 +0,0 @@ -.table{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;max-width:100%;margin:0 auto}.table+.table{margin-top:10px}.row{display:flex;flex-flow:row wrap;justify-content:center;align-items:stretch;max-width:100%;margin:0 10px}.row>:not(.feature){margin:0;display:flex}.col{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;height:100%;margin:10px 0}.row.mergeAdjacent>.feature:not(.dontMerge),.row.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin-left:0;margin-right:0;border-radius:0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child,.row.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:var(--border-radius) 0 0 var(--border-radius)}.row.mergeAdjacent>.feature:not(.dontMerge):last-child,.row.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0 var(--border-radius) var(--border-radius) 0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child:last-child,.row.mergeAdjacent>.tooltip-container:first-child:last-child>.feature:not(.dontMerge){border-radius:var(--border-radius)}.row-grid.mergeAdjacent>.feature:not(.dontMerge),.row-grid.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin:0;border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):last-child,.row-grid.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):first-child,.row-grid.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):first-child{border-radius:0 0 0 var(--border-radius)}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):last-child{border-radius:0 var(--border-radius) 0 0}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):first-child{border-radius:var(--border-radius) 0 0 0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) 0}.col.mergeAdjacent .feature:not(.dontMerge){margin-top:0;margin-bottom:0;border-radius:0}.col.mergeAdjacent .feature:not(.dontMerge):first-child{border-radius:var(--border-radius) var(--border-radius) 0 0}.col.mergeAdjacent .feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}.col.mergeAdjacent .feature:not(.dontMerge):first-child:last-child{border-radius:var(--border-radius)}.resize-listener[data-v-2b1dc1bc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;z-index:-10;pointer-events:none}.modal-mask{position:fixed;z-index:9998;top:0;left:0;bottom:0;right:0;background-color:#00000080;transition:opacity .3s ease}.modal-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.modal-container{width:640px;max-width:95vw;max-height:95vh;background-color:var(--background);padding:20px;border-radius:5px;transition:all .3s ease;text-align:left;border:var(--modal-border);box-sizing:border-box;display:flex;flex-direction:column}.modal-header{width:100%}.modal-body{margin:20px 0;width:100%;overflow-y:auto;overflow-x:hidden}.modal-footer{width:100%}.modal-default-footer{display:flex}.modal-default-flex-grow{flex-grow:1}.modal-enter-from,.modal-leave-active{opacity:0}.modal-enter-from .modal-container,.modal-leave-active .modal-container{-webkit-transform:scale(1.1);transform:scale(1.1)}.layer-container[data-v-a592996e]{min-width:100%;min-height:100%;margin:0;flex-grow:1;display:flex;isolation:isolate}.layer-tab[data-v-a592996e]:not(.minimized){padding-top:20px;padding-bottom:20px;min-height:100%;flex-grow:1;text-align:center;position:relative}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){padding-top:50px}.layer-tab.minimized[data-v-a592996e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;padding:55px 0 0;margin:0;cursor:pointer;font-size:40px;color:var(--foreground);border:none;background-color:transparent}.layer-tab.minimized>*[data-v-a592996e]{margin:0;writing-mode:vertical-rl;text-align:left;padding-left:10px;width:50px}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){margin:-50px -10px;padding:50px 10px}.modal-body .layer-tab[data-v-a592996e]{padding-bottom:0}.modal-body .layer-tab[data-v-a592996e]:not(.hasSubtabs){padding-top:0}.minimize[data-v-a592996e]{position:sticky;top:6px;right:9px;z-index:7;line-height:30px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:40px;cursor:pointer;margin-top:-44px;margin-right:-30px}.minimized+.minimize[data-v-a592996e]{transform:rotate(-90deg);top:10px;right:18px;pointer-events:none}.goBack[data-v-a592996e]{position:sticky;top:10px;left:10px;line-height:30px;margin-top:-50px;margin-left:-35px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:30px;cursor:pointer;z-index:7}.goBack[data-v-a592996e]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}.layer-tab.minimized>*>.desc{color:var(--accent1);font-size:30px}details[data-v-4b4bda40]{margin:10px 0;padding-left:18px}summary[data-v-4b4bda40]{cursor:pointer;margin-bottom:10px;margin-left:-18px}ul[data-v-4b4bda40]{margin:var(--feature-margin) 0;background:var(--raised-background);border:2px solid rgba(0,0,0,.125);padding:5px 5px 5px 15px;list-style:inside}li[data-v-4b4bda40]{margin:8px 0}li[data-v-4b4bda40]:before{padding:2px 8px;margin-right:8px;border-radius:var(--border-radius)}.feature[data-v-4b4bda40]:before{content:"Feature";background:var(--accent1)}.fix[data-v-4b4bda40]:before{content:"Fix";background:var(--accent2)}.balancing[data-v-4b4bda40]:before{content:"Balancing";background:var(--accent3)}.breaking[data-v-4b4bda40]:before{content:"Breaking";background:var(--danger)}.tooltip-container[data-v-7a579aa7]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-7a579aa7],.tooltip[data-v-7a579aa7]:after{pointer-events:none;position:absolute}.tooltip[data-v-7a579aa7]{text-align:center;width:250px;font-size:14px;line-height:1.2;bottom:calc(100% + var(--yoffset));left:calc(50% + var(--xoffset));margin-bottom:5px;transform:translate(-50%);padding:7px;border-radius:3px;background-color:var(--tooltip-background);color:var(--background);z-index:1000!important;word-break:break-word}.tooltip[data-v-7a579aa7] hr{margin:var(--feature-margin) 0}.shown[data-v-7a579aa7]{z-index:10}.fade-enter-from[data-v-7a579aa7],.fade-leave-to[data-v-7a579aa7]{opacity:0}.tooltip[data-v-7a579aa7]:after{content:" ";position:absolute;top:100%;bottom:100%;left:calc(50% - var(--xoffset));width:0;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--tooltip-background) transparent transparent transparent}.tooltip.left[data-v-7a579aa7],.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top){bottom:calc(50% + var(--yoffset));left:unset;right:calc(100% + var(--xoffset));margin-bottom:unset;margin-right:5px;transform:translateY(50%)}.tooltip.left[data-v-7a579aa7]:after,.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top):after{top:calc(50% + var(--yoffset));bottom:unset;left:100%;right:100%;margin-left:unset;margin-top:-5px;border-color:transparent transparent transparent var(--tooltip-background)}.tooltip.right[data-v-7a579aa7]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-7a579aa7]:after{top:calc(50% + var(--yoffset));left:0;right:100%;margin-left:-10px;margin-top:-5px;border-color:transparent var(--tooltip-background) transparent transparent}.tooltip.bottom[data-v-7a579aa7]{top:calc(100% + var(--yoffset));bottom:unset;left:calc(50% + var(--xoffset));margin-bottom:unset;margin-top:5px;transform:translate(-50%)}.tooltip.bottom[data-v-7a579aa7]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-7a579aa7]{position:absolute;right:-5px;top:-5px;transform:rotate(45deg)}.info-modal-header[data-v-5d3cb6f4]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.info-modal-header *[data-v-5d3cb6f4]{margin:0}.info-modal-logo[data-v-5d3cb6f4]{height:4em;width:4em}.info-modal-title[data-v-5d3cb6f4]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.info-modal-discord-link[data-v-5d3cb6f4]{display:flex;align-items:center}.info-modal-discord[data-v-5d3cb6f4]{margin:0 4px 0 0}.option-tabs{border-bottom:2px solid var(--outline);margin-top:10px;margin-bottom:-10px}.option-tabs button{background-color:transparent;color:var(--foreground);margin-bottom:-2px;font-size:14px;cursor:pointer;padding:5px 20px;border:none;border-bottom:2px solid var(--foreground)}.option-tabs button:not(.selected){border-bottom-color:transparent}.option-title .tooltip-container{display:inline;margin-left:5px}.option-title desc{display:block;opacity:.6;font-size:small;width:300px;margin-left:0}.save-button{text-align:right}.field{display:flex;position:relative;min-height:2em;margin:10px 0;user-select:none;justify-content:space-between;align-items:center}.field>*{margin:0}.vue-select{width:50%;border-radius:var(--border-radius)}.field-buttons .vue-select{width:unset}.vue-select,.vue-dropdown{border-color:var(--outline)}.vue-dropdown{background:var(--raised-background)}.vue-dropdown-item{color:var(--foreground)}.vue-dropdown-item,.vue-dropdown-item *{transition-duration:0s}.vue-dropdown-item.highlighted{background-color:var(--highlighted)}.vue-dropdown-item.selected,.vue-dropdown-item.highlighted.selected{background-color:var(--bought)}.vue-input input{font-size:inherit}.vue-input input::placeholder{color:var(--link)}form[data-v-90bd4994]{margin:0;width:100%}.field>*[data-v-90bd4994]{margin:0}input[data-v-90bd4994]{width:50%;outline:none;border:solid 1px var(--outline);background-color:unset;border-radius:var(--border-radius)}.fullWidth[data-v-90bd4994]{width:100%}.container[data-v-2f8ef34c]{display:flex;align-items:center;background:var(--raised-background);box-shadow:var(--raised-background) 0 2px 3px 5px}.container.confirming button[data-v-2f8ef34c]{font-size:1em}.container>*[data-v-2f8ef34c]{margin:0 4px}.danger,.button.danger{position:relative;border:solid 2px var(--danger);border-right-width:16px}.danger:after{position:absolute;content:"!";color:#fff;right:-13px}.feedback[data-v-01a1b95c]{position:relative}.feedback[data-v-01a1b95c]:after{position:absolute;left:calc(100% + 5px);top:50%;transform:translateY(-50%);content:"\2714";opacity:0;pointer-events:none;box-shadow:inset 0 0 0 35px #6f94b600;text-shadow:none}.feedback.left[data-v-01a1b95c]:after{left:unset;right:calc(100% + 5px)}.feedback.activated[data-v-01a1b95c]:after{animation:feedback-01a1b95c .5s ease-out forwards}@keyframes feedback-01a1b95c{0%{opacity:1;transform:scale3d(.4,.4,1),translateY(-50%)}80%{opacity:.1}to{opacity:0;transform:scale3d(1.2,1.2,1),translateY(-50%)}}.save[data-v-c3447434]{position:relative;border:solid 4px var(--outline);padding:4px;background:var(--raised-background);margin:var(--feature-margin);display:flex;align-items:center;min-height:30px}.save.active[data-v-c3447434]{border-color:var(--bought)}.open[data-v-c3447434]{display:inline;margin:0;padding-left:0}.handle[data-v-c3447434]{flex-grow:0;margin-right:8px;margin-left:0;cursor:pointer}.details[data-v-c3447434]{margin:0 80px 0 0;flex-grow:1}.error[data-v-c3447434]{font-size:.8em;color:var(--danger)}.save-version[data-v-c3447434]{margin-left:4px;font-size:.7em;opacity:.7}.actions[data-v-c3447434]{position:absolute;top:0;bottom:0;right:4px;display:flex;padding:4px;z-index:1}.editname[data-v-c3447434]{margin:0}.save button{transition-duration:0s}.save .actions button{display:flex;font-size:1.2em}.save .actions button .material-icons{font-size:unset}.save .button.danger{display:flex;align-items:center;padding:4px}.save .field,.field form[data-v-5b5b1604],.field .field-title[data-v-5b5b1604],.field .field-buttons[data-v-5b5b1604]{margin:0}.field-buttons[data-v-5b5b1604]{display:flex}.field-buttons .field[data-v-5b5b1604]{margin:0 0 0 8px}.modal-footer[data-v-5b5b1604]{margin-top:-20px}.footer[data-v-5b5b1604]{display:flex;margin-top:20px}.importingFailed input{color:red}.field-buttons .v-select{width:220px}.presets .vue-select[aria-expanded=true] vue-dropdown{visibility:hidden}.nav[data-v-269f7a94]{background-color:var(--raised-background);display:flex;left:0;right:0;top:0;height:46px;width:100%;border-bottom:4px solid var(--outline)}.nav>*[data-v-269f7a94]{height:46px;width:46px;display:flex;cursor:pointer;flex-shrink:0}.nav>.banner[data-v-269f7a94]{height:100%;width:unset}.overlay-nav[data-v-269f7a94]{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;z-index:2}.overlay-nav>*[data-v-269f7a94]{height:50px;width:50px;display:flex;cursor:pointer;margin:0;align-items:center;justify-content:center}.title[data-v-269f7a94]{font-size:36px;text-align:left;margin-left:12px;cursor:unset}.nav>.title[data-v-269f7a94]{width:unset;flex-shrink:1;overflow:hidden;white-space:nowrap}.nav .saves[data-v-269f7a94],.nav .info[data-v-269f7a94]{display:flex}.tooltip-container[data-v-269f7a94]{width:100%;height:100%;display:flex}.overlay-nav .discord[data-v-269f7a94]{position:relative}.discord img[data-v-269f7a94]{width:100%;height:100%}.discord-links[data-v-269f7a94]{position:fixed;top:45px;padding:20px;right:-280px;width:200px;transition:right .25s ease;background:var(--raised-background);z-index:10}.overlay-nav .discord-links[data-v-269f7a94]{position:absolute;left:-280px;right:unset;transition:left .25s ease}.overlay-nav .discord:hover .discord-links[data-v-269f7a94]{left:-10px}.discord-links li[data-v-269f7a94]{margin-bottom:4px}.discord-links li[data-v-269f7a94]:first-child{font-size:1.2em}*:not(.overlay-nav) .discord:hover .discord-links[data-v-269f7a94]{right:0}.material-icons[data-v-269f7a94]{font-size:36px}.material-icons[data-v-269f7a94]:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--foreground)}.nav .version-container[data-v-269f7a94]{display:flex;height:25px;margin-bottom:0;margin-left:10px}.overlay-nav .version-container[data-v-269f7a94]{width:unset;height:25px}.version[data-v-269f7a94]{color:var(--points)}.version:hover span[data-v-269f7a94]{text-shadow:5px 0 10px var(--points),-3px 0 12px var(--points)}.nav>div>a[data-v-269f7a94],.overlay-nav>div>a[data-v-269f7a94]{color:var(--foreground);text-shadow:none}.tabs-container[data-v-3e0f1aab]{width:100vw;flex-grow:1;overflow-x:auto;overflow-y:hidden;display:flex}.tabs-container[data-v-3e0f1aab]:not(.useHeader){width:calc(100vw - 50px);margin-left:50px}.tab[data-v-3e0f1aab]{position:relative;height:100%;flex-grow:1;transition-duration:0s;overflow-y:auto;overflow-x:hidden}.inner-tab[data-v-3e0f1aab]{padding:50px 10px;min-height:calc(100% - 100px);display:flex;flex-direction:column;margin:0;flex-grow:1}.tab+.tab>.inner-tab[data-v-3e0f1aab]{border-left:solid 4px var(--outline)}.tab hr{height:4px;border:none;background:var(--outline);margin:var(--feature-margin) 0}.tab .modal-body hr{margin:7px 0}.not-fullscreen[data-v-0b99a6fc],.resize-listener[data-v-0b99a6fc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;pointer-events:none;z-index:10}.node[data-v-a48cb382]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.character[data-v-3f6edf7e]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-3f6edf7e]:not(.empty){cursor:pointer}.character.shake[data-v-3f6edf7e]{animation:shake-3f6edf7e .5s infinite}.character *[data-v-3f6edf7e]{pointer-events:none}.character-display[data-v-3f6edf7e]{z-index:1}.character-display img[data-v-3f6edf7e]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-3f6edf7e]:after{content:"";background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAZtJREFUeJzt3MFtwkAQQFEccYFaQhMUnhSRXGkDjs41UaRIoOC19d9rYOfytdJo7d0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeM8236+gZ4JfpcFzknJdFToGVEgBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgLT96AFGO7+e5tEzrNnb58c0eoZncgOQJgDSBECaAEgTAGnTfLuOnuEhtjfbcu82aTocnzXKD24A0gRAmgBIEwBpAiBtNVsgWx2+e79cFnmD5AYgTQCkCYA0AZAmANIEQJoASBMAaQIgTQCkCYC01bwFupe3Q9viizBYIQGQJgDSBECaAEjb7Bbov9gm/W3U36FtgWABAiBNAKQJgDQBAAAAAAAAAAAAAAAAAAAAAAAAAAADfQFNHyOSwUzC4gAAAABJRU5ErkJggg==);position:absolute;top:15%;left:0;right:0;bottom:-15%;background-size:contain}.character.selected[data-v-3f6edf7e]:not(.dragging):before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='12' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.character[data-v-3f6edf7e]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-3f6edf7e]:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='8' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.relevancy-display[data-v-3f6edf7e],.presence-display[data-v-3f6edf7e]{position:absolute;top:-15%;transform:translate(-50%,-50%)}.relevancy-display[data-v-3f6edf7e]{left:0}.presence-display[data-v-3f6edf7e]{right:0}.relevancy-display img[data-v-3f6edf7e],.presence-display img[data-v-3f6edf7e]{position:absolute;z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display img[data-v-3f6edf7e]{transform:translate(-45%,-45%)}.presence-display img[data-v-3f6edf7e]{transform:translate(-50%,-50%)}.relevancy-display span[data-v-3f6edf7e],.presence-display span[data-v-3f6edf7e]{font-size:1.5vmin;color:#fff;text-shadow:-1px 1px 0 black,1px 1px 0 black,1px -1px 0 black,-1px -1px 0 black;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.level-display[data-v-3f6edf7e]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-3f6edf7e]{width:10vmin;height:10vmin}.move-indicator[data-v-3f6edf7e]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-3f6edf7e 1s infinite}.move-indicator .material-icons[data-v-3f6edf7e]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-3f6edf7e],.character.draggingOver .move-indicator .material-icons[data-v-3f6edf7e]{color:var(--feature-foreground)}.frozen[data-v-3f6edf7e]{position:absolute;background:skyblue;top:0;left:0;right:0;bottom:0;opacity:.5;transform:rotate(45deg)}@keyframes bouncingMoveIndicator-3f6edf7e{0%{transform:translate(-50%) rotate(180deg) translateY(0)}50%{transform:translate(-50%) rotate(180deg) translateY(50%)}to{transform:translate(-50%) rotate(180deg) translateY(0)}}@keyframes shake-3f6edf7e{0%{transform:translate(1px,1px) rotate(0)}10%{transform:translate(-1px,-2px) rotate(-1deg)}20%{transform:translate(-3px) rotate(1deg)}30%{transform:translate(3px,2px) rotate(0)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,2px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0)}to{transform:translate(1px,-2px) rotate(-1deg)}}.inner-tab{background:url(./Kitchen\ BG.9c8f4daf.png);background-position:center;background-size:cover}.game-container{display:flex;flex-direction:column;height:calc(100% - 5vmin);padding-top:5vmin}.game-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-image:url(./game\ window.07b1840c.png);border-image-slice:100 50 50 450;border-style:solid;border-width:10vmin 5vmin 5vmin 45vmin;z-index:101;pointer-events:none}.game-container:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:10vmin;aspect-ratio:516/100;background-size:contain;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAABkCAYAAAD5aSjlAAAKu3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZhrdiQrDoT/s4pZAiCEYDmA4JzZwSx/PtJlu92v2z1nXG1nOZ3FQxGKCDrs//z7hH/xlbuWUNRa7bVGvkovPQ/etPj21Z+fKZbn59tXifl198v9UMvrgcwt4Spvv9p4u6bBff38wPscaX69H9rrL7m9BkofAz9fcme+7/3bRXI/v91Pr4WEvt/e1N7s26XO10DrfcXt87t8LOu1W34PX24YVXJlIsl5S5LIzyyvFcj9FhnPddzf73PP+yQ1vN16DUZBvmzv/RrjtwX6WvzXu/B99SX9vPh5vJ6Q72pZXzXizU//kPS7+/Ixf/4y8ceK8tc/aInjh+28vs/xds5+290olYrWF6OeYqf3YXhwUnJ5PlZ5Gd/Ke3tenVdjmgXkHlecvFbqKYPKCakkTyOdtJ/rSosllryzcc15ZXnuNbHc8wKxJOW+0skmXVwaYK28A4AWyR9rSc+8/ZlvpcbMnng0JwZLD9i/eIXf/fFvXuGcdUuUbjGfdngAzpfXLOMid3/yFICk88JNnwK/v17wx2+IBVVBUJ8yNzY44nwbYmr65JY8OAvPKde3FkrB/DUAJWJuZTFJQCDWJJpqipazpUQdGwANVp6l5AkCSTU7i8xFpOZgueU7N5+x9DybNdd8b6NNAKFSxcCmywCsUhT+WGlwaKhoUdWqpi1o11Gllqq1VqtX5IaJFVOrZtas22jSStNWm7XWehs9d0EDtdduvfXex8hhMNFgrMHzgzszT5ll6qzTZpt9jgV9Vlm66rLVVl/Ds4sjE17dvHn3sVPYKMUuW3fdttvuexy4duSU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AAggAAEAQAgCAAACIiZq29oGzqodb0AayjvqYPTBPA1ZVOE7z58aHKZ7MVAgBAEAAAggAAEAQAgCAAACKiwSmDTOn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAACJijaYMMtn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAAAAAAAAAAAAA/voDN6/JxSGUP10AAAAASUVORK5CYII=);z-index:102;pointer-events:none}.team-nickname{font-size:2.5vmin;z-index:105;top:3.2vmin;position:absolute;left:6.3vmin;text-shadow:-1px 1px 0 var(--raised-background),1px 1px 0 var(--raised-background),1px -1px 0 var(--raised-background),-1px -1px 0 var(--raised-background)}.manager-header{width:calc(100% - 10vmin)}.manager-header .row{align-items:center;width:100%}.manager-header .button{font-size:4vmin;padding:2vmin;height:8vmin}.modifier-toggle{padding-right:10px;transform:translateY(-1px);display:inline-block}.modifier-toggle.collapsed{transform:translate(-5px,-5px) rotate(-90deg)}.resource-box{font-size:2vmin;align-items:center;image-rendering:pixelated;border-style:solid;height:3vmin;display:flex;filter:drop-shadow(2px 4px 6px black)}.resource-box.wins{border-image:url(./win\ bar.b60a7ec9.png);border-image-slice:12 12 18 96 fill;border-width:.5vmin .5vmin .75vmin 4vmin}.resource-box.lives{border-image:url(./health\ bar.2f7af180.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box.moguls{border-image:url(./money\ bar.6c027dc4.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box:not(:last-child){margin-right:1vmin!important}.shop{margin-top:10vh!important;position:relative;filter:drop-shadow(2px 4px 6px black)}.shop .row{border-image:url(./shop\ window.0a80aaff.png);border-image-slice:106 53 53 424 fill;border-style:solid;border-width:5vmin 2.5vmin 2.5vmin 20vmin;width:72.5vmin;justify-content:flex-start;align-items:center}.shop .row:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:5vmin;aspect-ratio:516/102;background-size:contain;background-image:url(./shop\ cat.90b80da1.png);z-index:3;pointer-events:none}.reroll{margin-left:-19vmin!important;margin-top:-1vmin!important;height:18vmin;cursor:pointer;user-select:none;transition-duration:0s;image-rendering:pixelated}.reroll img{height:100%;transform:scale(1.5) translateY(-18%);filter:drop-shadow(2px 4px 6px black)}.startStream{height:16vmin;cursor:pointer;filter:drop-shadow(2px 4px 6px black);margin-right:0!important;margin-bottom:-8vmin!important}.waiting{font-size:4vmin;height:8vmin;display:flex;align-items:center}.battle-container{display:flex;flex-direction:column}.battle-container:not(.fast) *{transition-duration:1s}.teams-container{display:flex;height:calc(93vh - 154px);width:93%;flex-direction:column}.team-container{display:flex;margin:2vmin 0;height:calc(50% - 4vmin)}.team-container:first-child{flex-direction:row-reverse}.stream-container{height:100%;width:calc(100% - 18vmin);border:solid 2px var(--accent1);position:relative;background:var(--background);filter:drop-shadow(2px 4px 6px black)}.stream-details{position:absolute;top:1vmin;display:flex;flex-direction:column;width:calc(100% - 2vmin)}.stream-details .stats{display:flex;margin-top:1vmin;width:100%}.view-counter{font-size:2vmin;flex-grow:1;text-align:right}.streamers-container{width:90%;height:18vmin;position:absolute;left:5%;bottom:5%}.members-container{width:18vmin}.members-container .col{flex-flow:column-reverse}.members-container .tooltip-container{margin-bottom:0;margin-top:-4vmin}.members-container .tooltip-container:last-child{margin-bottom:-2vmin}.streamers-container .row{flex-flow:row}.battle-controls{display:flex}.battle-controls .button{display:flex;flex-direction:column;font-size:2vmin;margin:1vmin;border:solid 2px var(--link);border-radius:var(--border-radius)}.battle-controls .button.active{background:var(--link);color:var(--feature-foreground)}.outcome{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:2vmin 4vmin;background:var(--tooltip-background);border-radius:4vmin;font-size:6vmin;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;color:var(--feature-foreground)}.outcome span{margin:1vmin}.character-transition-enter-from{transform:translateY(100%)}.character-transition-leave-to{transform:translateY(-100%)}.character-trensition-active{position:absolute}.total-outcome-container{display:flex;flex-direction:column;justify-content:space-around;height:100%}.total-outcome{font-size:4vmin;margin:0}.smiley{font-size:20vmin;margin:0;animation:swing 2s infinite ease}.total-outcome-container .button{margin:0;font-size:xx-large}@keyframes swing{0%,to{transform:rotate(-30deg)}20%{transform:scale(.95)}50%{transform:rotate(30deg)}80%{transform:scale(.95)}}.field[data-v-11046116]{cursor:pointer}input[data-v-11046116]{appearance:none;pointer-events:none}span[data-v-11046116]{width:100%;padding-right:41px;position:relative}input+span[data-v-11046116]:before{content:"";position:absolute;top:calc(50% - 7px);right:0px;border-radius:7px;width:36px;height:14px;background-color:var(--outline);opacity:.38;vertical-align:top;transition:background-color .2s,opacity .2s}input+span[data-v-11046116]:after{content:"";position:absolute;top:calc(50% - 10px);right:16px;border-radius:50%;width:20px;height:20px;background-color:var(--locked);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,transform .2s}input:checked+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked+span[data-v-11046116]:after{background-color:var(--link);transform:translate(16px)}input:active+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked:active+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:disabled+span[data-v-11046116]{color:#000;opacity:.38;cursor:default}input:disabled+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:checked:disabled+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}.game-over-modal-header[data-v-4a50ce42]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.game-over-modal-header *[data-v-4a50ce42]{margin:0}.game-over-modal-logo[data-v-4a50ce42]{height:4em;width:4em}.game-over-modal-title[data-v-4a50ce42]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.game-over-footer[data-v-4a50ce42]{display:flex;justify-content:flex-end}.game-over-footer button[data-v-4a50ce42]{margin:0 10px}.game-over-modal-discord-link[data-v-4a50ce42]{display:flex;align-items:center}.game-over-modal-discord[data-v-4a50ce42]{margin:0 4px 0 0}.nan-modal-header[data-v-336bf74f]{padding:10px 0;margin-left:10px}.nan-footer[data-v-336bf74f]{display:flex;justify-content:flex-end}.nan-footer button[data-v-336bf74f]{margin:0 10px}.nan-modal-discord-link[data-v-336bf74f]{display:flex;align-items:center}.nan-modal-discord[data-v-336bf74f]{margin:0 4px 0 0}:root{color-scheme:dark}*{transition-duration:.5s;font-family:DogicaPixelBold,Roboto Mono,monospace;font-weight:400;margin:auto;text-size-adjust:none;line-height:1.25}*:focus{outline:none}body{overflow:hidden;transition:none;text-align:center}html,body,#app{min-height:100%;height:100%}h1,h2,h3,b,input{display:inline}button{color:#000}a,.button,.link{display:block;color:var(--link);background:none;border:none;cursor:pointer;text-decoration:none}a:hover,.button:hover,.link:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--link)}.button:disabled{opacity:.5;cursor:not-allowed}.button:disabled:hover{text-shadow:none}ul{list-style-type:none}.Vue-Toastification__toast{margin:unset}.app[data-v-48adfab3]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-48adfab3]{position:absolute;min-height:100%;height:100%;color:var(--foreground)} diff --git a/assets/index.9fcd1d96.css b/assets/index.9fcd1d96.css new file mode 100644 index 0000000..4222034 --- /dev/null +++ b/assets/index.9fcd1d96.css @@ -0,0 +1 @@ +.resize-listener[data-v-2b1dc1bc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;z-index:-10;pointer-events:none}.modal-mask{position:fixed;z-index:9998;top:0;left:0;bottom:0;right:0;background-color:#00000080;transition:opacity .3s ease}.modal-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.modal-container{width:640px;max-width:95vw;max-height:95vh;background-color:var(--background);padding:20px;border-radius:5px;transition:all .3s ease;text-align:left;border:var(--modal-border);box-sizing:border-box;display:flex;flex-direction:column}.modal-header{width:100%}.modal-body{margin:20px 0;width:100%;overflow-y:auto;overflow-x:hidden}.modal-footer{width:100%}.modal-default-footer{display:flex}.modal-default-flex-grow{flex-grow:1}.modal-enter-from,.modal-leave-active{opacity:0}.modal-enter-from .modal-container,.modal-leave-active .modal-container{-webkit-transform:scale(1.1);transform:scale(1.1)}.table{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;max-width:100%;margin:0 auto}.table+.table{margin-top:10px}.row{display:flex;flex-flow:row wrap;justify-content:center;align-items:stretch;max-width:100%;margin:0 10px}.row>:not(.feature){margin:0;display:flex}.col{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;height:100%;margin:10px 0}.row.mergeAdjacent>.feature:not(.dontMerge),.row.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin-left:0;margin-right:0;border-radius:0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child,.row.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:var(--border-radius) 0 0 var(--border-radius)}.row.mergeAdjacent>.feature:not(.dontMerge):last-child,.row.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0 var(--border-radius) var(--border-radius) 0}.row.mergeAdjacent>.feature:not(.dontMerge):first-child:last-child,.row.mergeAdjacent>.tooltip-container:first-child:last-child>.feature:not(.dontMerge){border-radius:var(--border-radius)}.row-grid.mergeAdjacent>.feature:not(.dontMerge),.row-grid.mergeAdjacent>.tooltip-container>.feature:not(.dontMerge){margin:0;border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):last-child,.row-grid.mergeAdjacent>.tooltip-container:last-child>.feature:not(.dontMerge){border-radius:0}.row-grid.mergeAdjacent>.feature:not(.dontMerge):first-child,.row-grid.mergeAdjacent>.tooltip-container:first-child>.feature:not(.dontMerge){border-radius:0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):first-child{border-radius:0 0 0 var(--border-radius)}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):last-child{border-radius:0 var(--border-radius) 0 0}.table-grid>.row-grid.mergeAdjacent:first-child>.feature:not(.dontMerge):first-child{border-radius:var(--border-radius) 0 0 0}.table-grid>.row-grid.mergeAdjacent:last-child>.feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) 0}.col.mergeAdjacent .feature:not(.dontMerge){margin-top:0;margin-bottom:0;border-radius:0}.col.mergeAdjacent .feature:not(.dontMerge):first-child{border-radius:var(--border-radius) var(--border-radius) 0 0}.col.mergeAdjacent .feature:not(.dontMerge):last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}.col.mergeAdjacent .feature:not(.dontMerge):first-child:last-child{border-radius:var(--border-radius)}.tabButton[data-v-485cbefe]{background-color:transparent;color:var(--foreground);font-size:14px;cursor:pointer;padding:5px 10px;margin:5px;border-radius:5px;border:2px solid;flex-shrink:0;border-color:var(--layer-color)}.tabButton[data-v-485cbefe]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}:not(.floating)>.tabButton[data-v-485cbefe]{height:50px;margin:0;border-left:none;border-right:none;border-top:none;border-bottom-width:4px;border-radius:0;transform:unset}:not(.floating) .tabButton[data-v-485cbefe]:not(.active){border-bottom-color:transparent}.tabButton>*[data-v-485cbefe]{pointer-events:none}.sticky[data-v-cccac690]{position:sticky;background:var(--background);width:calc(100% - 2px);z-index:3}.tab-family-container[data-v-58dbf83a]{margin:calc(50px + var(--feature-margin)) 20px var(--feature-margin) 20px;position:relative;border:solid 4px;border-color:var(--outline)}.layer-tab>.tab-family-container[data-v-58dbf83a]:first-child{margin:-4px -11px var(--feature-margin) -11px}.layer-tab>.tab-family-container[data-v-58dbf83a]:first-child:nth-last-child(3){border-bottom-style:none;border-left-style:none;border-right-style:none;height:calc(100% + 50px)}.modal-body>.tab-family-container[data-v-58dbf83a]:first-child{margin:calc(10px + var(--feature-margin)) 10px 0 10px;border:none}.tab-family-container[data-v-58dbf83a]>:nth-child(2){margin-top:20px}.modal-body>.tab-family-container[data-v-58dbf83a]>:nth-child(2){margin-top:50px}.tab-family-container[data-v-f18896fc][data-v-58dbf83a]>:last-child{margin-bottom:20px}.tab-buttons-container[data-v-58dbf83a]{z-index:4}.tab-buttons-container[data-v-58dbf83a]:not(.floating){border-bottom:solid 4px;border-color:inherit}:not(.layer-tab):not(.modal-body)>.tab-family-container>.tab-buttons-container[data-v-58dbf83a]:not(.floating){width:calc(100% + 6px);margin-left:-3px}.tab-buttons-container:not(.floating) .tab-buttons[data-v-58dbf83a]{text-align:left;margin-bottom:-4px}.tab-buttons-container.floating .tab-buttons[data-v-58dbf83a]{justify-content:center;margin-top:-25px}.tab-buttons[data-v-58dbf83a]{margin-bottom:24px;display:flex;flex-flow:wrap;z-index:4}.layer-tab>.tab-family-container:first-child:nth-last-child(3)>.tab-buttons-container>.tab-buttons[data-v-58dbf83a]{padding-right:60px}.tab-buttons[data-v-58dbf83a]:not(.floating){text-align:left;border-bottom:inherit;border-width:4px;box-sizing:border-box;height:50px}.modal-body .tab-buttons[data-v-58dbf83a]{width:100%;margin-left:0;margin-right:0;padding-left:0}.showGoBack>.tab-family-container:first-child>.tab-buttons-container:not(.floating) .tab-buttons[data-v-58dbf83a]{padding-left:70px}:not(.showGoBack)>.tab-family-container>.tab-buttons-container:not(.floating):first-child .tab-buttons[data-v-58dbf83a]{padding-left:0}.minimizable>.tab-buttons-container[data-v-58dbf83a]:not(.floating):first-child{padding-right:50px}.tab-buttons-container:not(.floating):first-child .tab-buttons[data-v-58dbf83a]{margin-top:-50px}.tab-buttons-container+*[data-v-58dbf83a]{margin-top:20px}.layer-container[data-v-a592996e]{min-width:100%;min-height:100%;margin:0;flex-grow:1;display:flex;isolation:isolate}.layer-tab[data-v-a592996e]:not(.minimized){padding-top:20px;padding-bottom:20px;min-height:100%;flex-grow:1;text-align:center;position:relative}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){padding-top:50px}.layer-tab.minimized[data-v-a592996e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;padding:55px 0 0;margin:0;cursor:pointer;font-size:40px;color:var(--foreground);border:none;background-color:transparent}.layer-tab.minimized>*[data-v-a592996e]{margin:0;writing-mode:vertical-rl;text-align:left;padding-left:10px;width:50px}.inner-tab>.layer-container>.layer-tab[data-v-a592996e]:not(.minimized){margin:-50px -10px;padding:50px 10px}.modal-body .layer-tab[data-v-a592996e]{padding-bottom:0}.modal-body .layer-tab[data-v-a592996e]:not(.hasSubtabs){padding-top:0}.minimize[data-v-a592996e]{position:sticky;top:6px;right:9px;z-index:7;line-height:30px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:40px;cursor:pointer;margin-top:-44px;margin-right:-30px}.minimized+.minimize[data-v-a592996e]{transform:rotate(-90deg);top:10px;right:18px;pointer-events:none}.goBack[data-v-a592996e]{position:sticky;top:10px;left:10px;line-height:30px;margin-top:-50px;margin-left:-35px;border:none;background:var(--background);box-shadow:var(--background) 0 2px 3px 5px;border-radius:50%;color:var(--foreground);font-size:30px;cursor:pointer;z-index:7}.goBack[data-v-a592996e]:hover{transform:scale(1.1);text-shadow:0 0 7px var(--foreground)}.layer-tab.minimized>*>.desc{color:var(--accent1);font-size:30px}details[data-v-4b4bda40]{margin:10px 0;padding-left:18px}summary[data-v-4b4bda40]{cursor:pointer;margin-bottom:10px;margin-left:-18px}ul[data-v-4b4bda40]{margin:var(--feature-margin) 0;background:var(--raised-background);border:2px solid rgba(0,0,0,.125);padding:5px 5px 5px 15px;list-style:inside}li[data-v-4b4bda40]{margin:8px 0}li[data-v-4b4bda40]:before{padding:2px 8px;margin-right:8px;border-radius:var(--border-radius)}.feature[data-v-4b4bda40]:before{content:"Feature";background:var(--accent1)}.fix[data-v-4b4bda40]:before{content:"Fix";background:var(--accent2)}.balancing[data-v-4b4bda40]:before{content:"Balancing";background:var(--accent3)}.breaking[data-v-4b4bda40]:before{content:"Breaking";background:var(--danger)}.tooltip-container[data-v-7a579aa7]{position:relative;--xoffset: 0px;--yoffset: 0px;text-shadow:none!important}.tooltip[data-v-7a579aa7],.tooltip[data-v-7a579aa7]:after{pointer-events:none;position:absolute}.tooltip[data-v-7a579aa7]{text-align:center;width:250px;font-size:14px;line-height:1.2;bottom:calc(100% + var(--yoffset));left:calc(50% + var(--xoffset));margin-bottom:5px;transform:translate(-50%);padding:7px;border-radius:3px;background-color:var(--tooltip-background);color:var(--background);z-index:1000!important;word-break:break-word}.tooltip[data-v-7a579aa7] hr{margin:var(--feature-margin) 0}.shown[data-v-7a579aa7]{z-index:10}.fade-enter-from[data-v-7a579aa7],.fade-leave-to[data-v-7a579aa7]{opacity:0}.tooltip[data-v-7a579aa7]:after{content:" ";position:absolute;top:100%;bottom:100%;left:calc(50% - var(--xoffset));width:0;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--tooltip-background) transparent transparent transparent}.tooltip.left[data-v-7a579aa7],.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top){bottom:calc(50% + var(--yoffset));left:unset;right:calc(100% + var(--xoffset));margin-bottom:unset;margin-right:5px;transform:translateY(50%)}.tooltip.left[data-v-7a579aa7]:after,.side-nodes .tooltip[data-v-7a579aa7]:not(.right):not(.bottom):not(.top):after{top:calc(50% + var(--yoffset));bottom:unset;left:100%;right:100%;margin-left:unset;margin-top:-5px;border-color:transparent transparent transparent var(--tooltip-background)}.tooltip.right[data-v-7a579aa7]{bottom:calc(50% + var(--yoffset));left:calc(100% + var(--xoffset));margin-bottom:unset;margin-left:5px;transform:translateY(50%)}.tooltip.right[data-v-7a579aa7]:after{top:calc(50% + var(--yoffset));left:0;right:100%;margin-left:-10px;margin-top:-5px;border-color:transparent var(--tooltip-background) transparent transparent}.tooltip.bottom[data-v-7a579aa7]{top:calc(100% + var(--yoffset));bottom:unset;left:calc(50% + var(--xoffset));margin-bottom:unset;margin-top:5px;transform:translate(-50%)}.tooltip.bottom[data-v-7a579aa7]:after{top:0;margin-top:-10px;border-color:transparent transparent var(--tooltip-background) transparent}.pinned[data-v-7a579aa7]{position:absolute;right:-5px;top:-5px;transform:rotate(45deg)}.info-modal-header[data-v-5d3cb6f4]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.info-modal-header *[data-v-5d3cb6f4]{margin:0}.info-modal-logo[data-v-5d3cb6f4]{height:4em;width:4em}.info-modal-title[data-v-5d3cb6f4]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.info-modal-discord-link[data-v-5d3cb6f4]{display:flex;align-items:center}.info-modal-discord[data-v-5d3cb6f4]{margin:0 4px 0 0}.option-tabs{border-bottom:2px solid var(--outline);margin-top:10px;margin-bottom:-10px}.option-tabs button{background-color:transparent;color:var(--foreground);margin-bottom:-2px;font-size:14px;cursor:pointer;padding:5px 20px;border:none;border-bottom:2px solid var(--foreground)}.option-tabs button:not(.selected){border-bottom-color:transparent}.option-title .tooltip-container{display:inline;margin-left:5px}.option-title desc{display:block;opacity:.6;font-size:small;width:300px;margin-left:0}.save-button{text-align:right}.field{display:flex;position:relative;min-height:2em;margin:10px 0;user-select:none;justify-content:space-between;align-items:center}.field>*{margin:0}.vue-select{width:50%;border-radius:var(--border-radius)}.field-buttons .vue-select{width:unset}.vue-select,.vue-dropdown{border-color:var(--outline)}.vue-dropdown{background:var(--raised-background)}.vue-dropdown-item{color:var(--foreground)}.vue-dropdown-item,.vue-dropdown-item *{transition-duration:0s}.vue-dropdown-item.highlighted{background-color:var(--highlighted)}.vue-dropdown-item.selected,.vue-dropdown-item.highlighted.selected{background-color:var(--bought)}.vue-input input{font-size:inherit}.vue-input input::placeholder{color:var(--link)}form[data-v-90bd4994]{margin:0;width:100%}.field>*[data-v-90bd4994]{margin:0}input[data-v-90bd4994]{width:50%;outline:none;border:solid 1px var(--outline);background-color:unset;border-radius:var(--border-radius)}.fullWidth[data-v-90bd4994]{width:100%}.container[data-v-2f8ef34c]{display:flex;align-items:center;background:var(--raised-background);box-shadow:var(--raised-background) 0 2px 3px 5px}.container.confirming button[data-v-2f8ef34c]{font-size:1em}.container>*[data-v-2f8ef34c]{margin:0 4px}.danger,.button.danger{position:relative;border:solid 2px var(--danger);border-right-width:16px}.danger:after{position:absolute;content:"!";color:#fff;right:-13px}.feedback[data-v-01a1b95c]{position:relative}.feedback[data-v-01a1b95c]:after{position:absolute;left:calc(100% + 5px);top:50%;transform:translateY(-50%);content:"\2714";opacity:0;pointer-events:none;box-shadow:inset 0 0 0 35px #6f94b600;text-shadow:none}.feedback.left[data-v-01a1b95c]:after{left:unset;right:calc(100% + 5px)}.feedback.activated[data-v-01a1b95c]:after{animation:feedback-01a1b95c .5s ease-out forwards}@keyframes feedback-01a1b95c{0%{opacity:1;transform:scale3d(.4,.4,1),translateY(-50%)}80%{opacity:.1}to{opacity:0;transform:scale3d(1.2,1.2,1),translateY(-50%)}}.save[data-v-c3447434]{position:relative;border:solid 4px var(--outline);padding:4px;background:var(--raised-background);margin:var(--feature-margin);display:flex;align-items:center;min-height:30px}.save.active[data-v-c3447434]{border-color:var(--bought)}.open[data-v-c3447434]{display:inline;margin:0;padding-left:0}.handle[data-v-c3447434]{flex-grow:0;margin-right:8px;margin-left:0;cursor:pointer}.details[data-v-c3447434]{margin:0 80px 0 0;flex-grow:1}.error[data-v-c3447434]{font-size:.8em;color:var(--danger)}.save-version[data-v-c3447434]{margin-left:4px;font-size:.7em;opacity:.7}.actions[data-v-c3447434]{position:absolute;top:0;bottom:0;right:4px;display:flex;padding:4px;z-index:1}.editname[data-v-c3447434]{margin:0}.save button{transition-duration:0s}.save .actions button{display:flex;font-size:1.2em}.save .actions button .material-icons{font-size:unset}.save .button.danger{display:flex;align-items:center;padding:4px}.save .field,.field form[data-v-5b5b1604],.field .field-title[data-v-5b5b1604],.field .field-buttons[data-v-5b5b1604]{margin:0}.field-buttons[data-v-5b5b1604]{display:flex}.field-buttons .field[data-v-5b5b1604]{margin:0 0 0 8px}.modal-footer[data-v-5b5b1604]{margin-top:-20px}.footer[data-v-5b5b1604]{display:flex;margin-top:20px}.importingFailed input{color:red}.field-buttons .v-select{width:220px}.presets .vue-select[aria-expanded=true] vue-dropdown{visibility:hidden}.nav[data-v-d43b25a6]{background-color:var(--raised-background);display:flex;left:0;right:0;top:0;height:46px;width:100%;border-bottom:4px solid var(--outline)}.nav>*[data-v-d43b25a6]{height:46px;width:46px;display:flex;cursor:pointer;flex-shrink:0}.nav>.banner[data-v-d43b25a6]{height:100%;width:unset}.overlay-nav[data-v-d43b25a6]{position:fixed;top:10px;left:10px;display:flex;flex-direction:column;z-index:2}.overlay-nav>*[data-v-d43b25a6]{height:50px;width:50px;display:flex;cursor:pointer;margin:0;align-items:center;justify-content:center}.title[data-v-d43b25a6]{font-size:36px;text-align:left;margin-left:12px;cursor:unset}.nav>.title[data-v-d43b25a6]{width:unset;flex-shrink:1;overflow:hidden;white-space:nowrap}.nav .saves[data-v-d43b25a6],.nav .info[data-v-d43b25a6]{display:flex}.tooltip-container[data-v-d43b25a6]{width:100%;height:100%;display:flex}.overlay-nav .discord[data-v-d43b25a6]{position:relative}.discord img[data-v-d43b25a6]{width:100%;height:100%}.discord-links[data-v-d43b25a6]{position:fixed;top:45px;padding:20px;right:-280px;width:200px;transition:right .25s ease;background:var(--raised-background);z-index:10}.overlay-nav .discord-links[data-v-d43b25a6]{position:absolute;left:-280px;right:unset;transition:left .25s ease}.overlay-nav .discord:hover .discord-links[data-v-d43b25a6]{left:-10px}.discord-links li[data-v-d43b25a6]{margin-bottom:4px}.discord-links li[data-v-d43b25a6]:first-child{font-size:1.2em}*:not(.overlay-nav) .discord:hover .discord-links[data-v-d43b25a6]{right:0}.material-icons[data-v-d43b25a6]{font-size:36px}.material-icons[data-v-d43b25a6]:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--foreground)}.nav .version-container[data-v-d43b25a6]{display:flex;height:25px;margin-bottom:0;margin-left:10px}.overlay-nav .version-container[data-v-d43b25a6]{width:unset;height:25px}.version[data-v-d43b25a6]{color:var(--points)}.version:hover span[data-v-d43b25a6]{text-shadow:5px 0 10px var(--points),-3px 0 12px var(--points)}.nav>div>a[data-v-d43b25a6],.overlay-nav>div>a[data-v-d43b25a6]{color:var(--foreground);text-shadow:none}.tabs-container[data-v-3e0f1aab]{width:100vw;flex-grow:1;overflow-x:auto;overflow-y:hidden;display:flex}.tabs-container[data-v-3e0f1aab]:not(.useHeader){width:calc(100vw - 50px);margin-left:50px}.tab[data-v-3e0f1aab]{position:relative;height:100%;flex-grow:1;transition-duration:0s;overflow-y:auto;overflow-x:hidden}.inner-tab[data-v-3e0f1aab]{padding:50px 10px;min-height:calc(100% - 100px);display:flex;flex-direction:column;margin:0;flex-grow:1}.tab+.tab>.inner-tab[data-v-3e0f1aab]{border-left:solid 4px var(--outline)}.tab hr{height:4px;border:none;background:var(--outline);margin:var(--feature-margin) 0}.tab .modal-body hr{margin:7px 0}.not-fullscreen[data-v-0b99a6fc],.resize-listener[data-v-0b99a6fc]{position:absolute;top:0px;left:0;right:-4px;bottom:5px;pointer-events:none;z-index:10}.node[data-v-a48cb382]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.character[data-v-3f6edf7e]{width:10vmin;height:10vmin;position:relative;margin:4vmin;justify-content:center;user-select:none;display:flex}.character[data-v-3f6edf7e]:not(.empty){cursor:pointer}.character.shake[data-v-3f6edf7e]{animation:shake-3f6edf7e .5s infinite}.character *[data-v-3f6edf7e]{pointer-events:none}.character-display[data-v-3f6edf7e]{z-index:1}.character-display img[data-v-3f6edf7e]{image-rendering:pixelated;width:10vmin;height:10vmin;filter:drop-shadow(2px 4px 6px black)}.character[data-v-3f6edf7e]:after{content:"";background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAAAXNSR0IArs4c6QAAAZtJREFUeJzt3MFtwkAQQFEccYFaQhMUnhSRXGkDjs41UaRIoOC19d9rYOfytdJo7d0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeM8236+gZ4JfpcFzknJdFToGVEgBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgDQBkCYA0gRAmgBIEwBpAiBNAKQJgLT96AFGO7+e5tEzrNnb58c0eoZncgOQJgDSBECaAEgTAGnTfLuOnuEhtjfbcu82aTocnzXKD24A0gRAmgBIEwBpAiBtNVsgWx2+e79cFnmD5AYgTQCkCYA0AZAmANIEQJoASBMAaQIgTQCkCYC01bwFupe3Q9viizBYIQGQJgDSBECaAEjb7Bbov9gm/W3U36FtgWABAiBNAKQJgDQBAAAAAAAAAAAAAAAAAAAAAAAAAAADfQFNHyOSwUzC4gAAAABJRU5ErkJggg==);position:absolute;top:15%;left:0;right:0;bottom:-15%;background-size:contain}.character.selected[data-v-3f6edf7e]:not(.dragging):before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='12' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.character[data-v-3f6edf7e]:not(.selected):not(.empty):not(.dragging):not(.isDragging):hover:before,.character:not(.selected):not(.empty):not(.dragging).draggingOver[data-v-3f6edf7e]:before{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-image:url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23000' stroke-width='8' stroke-dasharray='10%25%2c90%25' stroke-dashoffset='5%25' stroke-linecap='square'/%3e%3c/svg%3e");z-index:100}.relevancy-display[data-v-3f6edf7e],.presence-display[data-v-3f6edf7e]{position:absolute;top:-15%;transform:translate(-50%,-50%)}.relevancy-display[data-v-3f6edf7e]{left:0}.presence-display[data-v-3f6edf7e]{right:0}.relevancy-display img[data-v-3f6edf7e],.presence-display img[data-v-3f6edf7e]{position:absolute;z-index:-1;width:10vmin;height:10vmin;image-rendering:pixelated}.relevancy-display img[data-v-3f6edf7e]{transform:translate(-45%,-45%)}.presence-display img[data-v-3f6edf7e]{transform:translate(-50%,-50%)}.relevancy-display span[data-v-3f6edf7e],.presence-display span[data-v-3f6edf7e]{font-size:1.5vmin;color:#fff;text-shadow:-1px 1px 0 black,1px 1px 0 black,1px -1px 0 black,-1px -1px 0 black;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.level-display[data-v-3f6edf7e]{position:absolute;bottom:-5%;right:-5%;z-index:1;transform:translate(50%,50%)}.level-display img[data-v-3f6edf7e]{width:10vmin;height:10vmin}.move-indicator[data-v-3f6edf7e]{position:absolute;transform:translate(-50%) rotate(180deg);top:-75%;left:50%;animation:bouncingMoveIndicator-3f6edf7e 1s infinite}.move-indicator .material-icons[data-v-3f6edf7e]{font-size:5vmin;transition:all .5s ease,color 0s}.character:not(.isDragging):hover .move-indicator .material-icons[data-v-3f6edf7e],.character.draggingOver .move-indicator .material-icons[data-v-3f6edf7e]{color:var(--feature-foreground)}.frozen[data-v-3f6edf7e]{position:absolute;background:skyblue;top:0;left:0;right:0;bottom:0;opacity:.5;transform:rotate(45deg)}@keyframes bouncingMoveIndicator-3f6edf7e{0%{transform:translate(-50%) rotate(180deg) translateY(0)}50%{transform:translate(-50%) rotate(180deg) translateY(50%)}to{transform:translate(-50%) rotate(180deg) translateY(0)}}@keyframes shake-3f6edf7e{0%{transform:translate(1px,1px) rotate(0)}10%{transform:translate(-1px,-2px) rotate(-1deg)}20%{transform:translate(-3px) rotate(1deg)}30%{transform:translate(3px,2px) rotate(0)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,2px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0)}to{transform:translate(1px,-2px) rotate(-1deg)}}.inner-tab{background:url(./Kitchen\ BG.9c8f4daf.png);background-position:center;background-size:cover}.game-container{display:flex;flex-direction:column;height:calc(100% - 5vmin);padding-top:5vmin}.game-container:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-image:url(./game\ window.07b1840c.png);border-image-slice:100 50 50 450;border-style:solid;border-width:10vmin 5vmin 5vmin 45vmin;z-index:101;pointer-events:none}.game-container:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:10vmin;aspect-ratio:516/100;background-size:contain;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgQAAABkCAYAAAD5aSjlAAAKu3pUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZhrdiQrDoT/s4pZAiCEYDmA4JzZwSx/PtJlu92v2z1nXG1nOZ3FQxGKCDrs//z7hH/xlbuWUNRa7bVGvkovPQ/etPj21Z+fKZbn59tXifl198v9UMvrgcwt4Spvv9p4u6bBff38wPscaX69H9rrL7m9BkofAz9fcme+7/3bRXI/v91Pr4WEvt/e1N7s26XO10DrfcXt87t8LOu1W34PX24YVXJlIsl5S5LIzyyvFcj9FhnPddzf73PP+yQ1vN16DUZBvmzv/RrjtwX6WvzXu/B99SX9vPh5vJ6Q72pZXzXizU//kPS7+/Ixf/4y8ceK8tc/aInjh+28vs/xds5+290olYrWF6OeYqf3YXhwUnJ5PlZ5Gd/Ke3tenVdjmgXkHlecvFbqKYPKCakkTyOdtJ/rSosllryzcc15ZXnuNbHc8wKxJOW+0skmXVwaYK28A4AWyR9rSc+8/ZlvpcbMnng0JwZLD9i/eIXf/fFvXuGcdUuUbjGfdngAzpfXLOMid3/yFICk88JNnwK/v17wx2+IBVVBUJ8yNzY44nwbYmr65JY8OAvPKde3FkrB/DUAJWJuZTFJQCDWJJpqipazpUQdGwANVp6l5AkCSTU7i8xFpOZgueU7N5+x9DybNdd8b6NNAKFSxcCmywCsUhT+WGlwaKhoUdWqpi1o11Gllqq1VqtX5IaJFVOrZtas22jSStNWm7XWehs9d0EDtdduvfXex8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AQAgCAAAAQBABARMXt662FTUwb77192Pj709EFru3Mzdu1y2e8vn6o878a9+w4+rqtXlE0T7D16YYUAAKhDEAAAggAAEAQAgCAAACIiZq29oGzqodb0AayjvqYPTBPA1ZVOE7z58aHKZ7MVAgBAEAAAggAAEAQAgCAAACKiwSmDTOn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAACJijaYMMtn0AQC0oLVpgowVAgBAEAAAggAAEAQAgCAAAAAAAAAAAAAA/voDN6/JxSGUP10AAAAASUVORK5CYII=);z-index:102;pointer-events:none}.team-nickname{font-size:2.5vmin;z-index:105;top:3.2vmin;position:absolute;left:6.3vmin;text-shadow:-1px 1px 0 var(--raised-background),1px 1px 0 var(--raised-background),1px -1px 0 var(--raised-background),-1px -1px 0 var(--raised-background)}.manager-header{width:calc(100% - 10vmin)}.manager-header .row{align-items:center;width:100%}.manager-header .button{font-size:4vmin;padding:2vmin;height:8vmin}.modifier-toggle{padding-right:10px;transform:translateY(-1px);display:inline-block}.modifier-toggle.collapsed{transform:translate(-5px,-5px) rotate(-90deg)}.resource-box{font-size:2vmin;align-items:center;image-rendering:pixelated;border-style:solid;height:3vmin;display:flex;filter:drop-shadow(2px 4px 6px black)}.resource-box.wins{border-image:url(./win\ bar.b60a7ec9.png);border-image-slice:12 12 18 96 fill;border-width:.5vmin .5vmin .75vmin 4vmin}.resource-box.lives{border-image:url(./health\ bar.2f7af180.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box.moguls{border-image:url(./money\ bar.6c027dc4.png);border-image-slice:12 12 18 84 fill;border-width:.5vmin .5vmin .75vmin 3.5vmin}.resource-box:not(:last-child){margin-right:1vmin!important}.shop{margin-top:10vh!important;position:relative;filter:drop-shadow(2px 4px 6px black)}.shop .row{border-image:url(./shop\ window.0a80aaff.png);border-image-slice:106 53 53 424 fill;border-style:solid;border-width:5vmin 2.5vmin 2.5vmin 20vmin;width:72.5vmin;justify-content:flex-start;align-items:center}.shop .row:after{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:5vmin;aspect-ratio:516/102;background-size:contain;background-image:url(./shop\ cat.90b80da1.png);z-index:3;pointer-events:none}.reroll{margin-left:-19vmin!important;margin-top:-1vmin!important;height:18vmin;cursor:pointer;user-select:none;transition-duration:0s;image-rendering:pixelated}.reroll img{height:100%;transform:scale(1.5) translateY(-18%);filter:drop-shadow(2px 4px 6px black)}.startStream{height:16vmin;cursor:pointer;filter:drop-shadow(2px 4px 6px black);margin-right:0!important;margin-bottom:-8vmin!important}.waiting{font-size:4vmin;height:8vmin;display:flex;align-items:center}.battle-container{display:flex;flex-direction:column}.battle-container:not(.fast) *{transition-duration:1s}.teams-container{display:flex;height:calc(93vh - 154px);width:93%;flex-direction:column}.team-container{display:flex;margin:2vmin 0;height:calc(50% - 4vmin)}.team-container:first-child{flex-direction:row-reverse}.stream-container{height:100%;width:calc(100% - 18vmin);border:solid 2px var(--accent1);position:relative;background:var(--background);filter:drop-shadow(2px 4px 6px black)}.stream-details{position:absolute;top:1vmin;display:flex;flex-direction:column;width:calc(100% - 2vmin)}.stream-details .stats{display:flex;margin-top:1vmin;width:100%}.view-counter{font-size:2vmin;flex-grow:1;text-align:right}.streamers-container{width:90%;height:18vmin;position:absolute;left:5%;bottom:5%}.members-container{width:18vmin}.members-container .col{flex-flow:column-reverse}.members-container .tooltip-container{margin-bottom:0;margin-top:-4vmin}.members-container .tooltip-container:last-child{margin-bottom:-2vmin}.streamers-container .row{flex-flow:row}.battle-controls{display:flex}.battle-controls .button{display:flex;flex-direction:column;font-size:2vmin;margin:1vmin;border:solid 2px var(--link);border-radius:var(--border-radius)}.battle-controls .button.active{background:var(--link);color:var(--feature-foreground)}.outcome{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);padding:2vmin 4vmin;background:var(--tooltip-background);border-radius:4vmin;font-size:6vmin;display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;color:var(--feature-foreground)}.outcome span{margin:1vmin}.character-transition-enter-from{transform:translateY(100%)}.character-transition-leave-to{transform:translateY(-100%)}.character-trensition-active{position:absolute}.total-outcome-container{display:flex;flex-direction:column;justify-content:space-around;height:100%}.total-outcome{font-size:4vmin;margin:0}.smiley{font-size:20vmin;margin:0;animation:swing 2s infinite ease}.total-outcome-container .button{margin:0;font-size:xx-large}@keyframes swing{0%,to{transform:rotate(-30deg)}20%{transform:scale(.95)}50%{transform:rotate(30deg)}80%{transform:scale(.95)}}.field[data-v-11046116]{cursor:pointer}input[data-v-11046116]{appearance:none;pointer-events:none}span[data-v-11046116]{width:100%;padding-right:41px;position:relative}input+span[data-v-11046116]:before{content:"";position:absolute;top:calc(50% - 7px);right:0px;border-radius:7px;width:36px;height:14px;background-color:var(--outline);opacity:.38;vertical-align:top;transition:background-color .2s,opacity .2s}input+span[data-v-11046116]:after{content:"";position:absolute;top:calc(50% - 10px);right:16px;border-radius:50%;width:20px;height:20px;background-color:var(--locked);box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;transition:background-color .2s,transform .2s}input:checked+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked+span[data-v-11046116]:after{background-color:var(--link);transform:translate(16px)}input:active+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}input:checked:active+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:disabled+span[data-v-11046116]{color:#000;opacity:.38;cursor:default}input:disabled+span[data-v-11046116]:before{background-color:var(--outline);opacity:.38}input:checked:disabled+span[data-v-11046116]:before{background-color:var(--link);opacity:.6}.game-over-modal-header[data-v-4a50ce42]{display:flex;margin:-20px -20px 0;background:var(--raised-background);align-items:center}.game-over-modal-header *[data-v-4a50ce42]{margin:0}.game-over-modal-logo[data-v-4a50ce42]{height:4em;width:4em}.game-over-modal-title[data-v-4a50ce42]{display:flex;flex-direction:column;padding:10px 0;margin-left:10px}.game-over-footer[data-v-4a50ce42]{display:flex;justify-content:flex-end}.game-over-footer button[data-v-4a50ce42]{margin:0 10px}.game-over-modal-discord-link[data-v-4a50ce42]{display:flex;align-items:center}.game-over-modal-discord[data-v-4a50ce42]{margin:0 4px 0 0}.nan-modal-header[data-v-336bf74f]{padding:10px 0;margin-left:10px}.nan-footer[data-v-336bf74f]{display:flex;justify-content:flex-end}.nan-footer button[data-v-336bf74f]{margin:0 10px}.nan-modal-discord-link[data-v-336bf74f]{display:flex;align-items:center}.nan-modal-discord[data-v-336bf74f]{margin:0 4px 0 0}:root{color-scheme:dark}*{transition-duration:.5s;font-family:DogicaPixelBold,Roboto Mono,monospace;font-weight:400;margin:auto;text-size-adjust:none;line-height:1.25}*:focus{outline:none}body{overflow:hidden;transition:none;text-align:center}html,body,#app{min-height:100%;height:100%}h1,h2,h3,b,input{display:inline}button{color:#000}a,.button,.link{display:block;color:var(--link);background:none;border:none;cursor:pointer;text-decoration:none}a:hover,.button:hover,.link:hover{text-shadow:5px 0 10px var(--link),-3px 0 12px var(--link)}.button:disabled{opacity:.5;cursor:not-allowed}.button:disabled:hover{text-shadow:none}ul{list-style-type:none}.Vue-Toastification__toast{margin:unset}.app[data-v-47fdf026]{background-color:var(--background);color:var(--foreground);display:flex;flex-flow:column;min-height:100%;height:100%}#modal-root[data-v-47fdf026]{position:absolute;min-height:100%;height:100%;color:var(--foreground)}.tutorial img{height:1em;padding-right:.5em} diff --git a/assets/money_small.16f3e324.png b/assets/money_small.16f3e324.png new file mode 100644 index 0000000..77bf532 Binary files /dev/null and b/assets/money_small.16f3e324.png differ diff --git a/assets/presence_small.bbe534cd.png b/assets/presence_small.bbe534cd.png new file mode 100644 index 0000000..819984a Binary files /dev/null and b/assets/presence_small.bbe534cd.png differ diff --git a/assets/wins_small.a33d849a.png b/assets/wins_small.a33d849a.png new file mode 100644 index 0000000..3b2f564 Binary files /dev/null and b/assets/wins_small.a33d849a.png differ diff --git a/heart_small.png b/heart_small.png new file mode 100644 index 0000000..99ffb75 Binary files /dev/null and b/heart_small.png differ diff --git a/index.html b/index.html index a2a148c..cb3728f 100644 --- a/index.html +++ b/index.html @@ -41,16 +41,21 @@ + + + + Profectus - + + @@ -68,11 +73,10 @@ - - - + + diff --git a/money_small.png b/money_small.png new file mode 100644 index 0000000..77bf532 Binary files /dev/null and b/money_small.png differ diff --git a/presence_small.png b/presence_small.png new file mode 100644 index 0000000..819984a Binary files /dev/null and b/presence_small.png differ diff --git a/sw.js b/sw.js index 250ed9d..086c21b 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),o={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>o[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-958fa2bd"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{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/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/gameLoop.f161412f.js",revision:null},{url:"assets/index.731c9646.js",revision:null},{url:"assets/index.892abd58.css",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",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/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/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"index.html",revision:"45316751d56dbb3d982476b8f0a6379a"},{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"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))})); +if(!self.define){let s,e={};const i=(i,l)=>(i=new URL(i+".js",l).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s})));self.define=(l,n)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const t=s=>i(s,r),o={module:{uri:r},exports:u,require:t};e[r]=Promise.all(l.map((s=>o[s]||t(s)))).then((s=>(n(...s),u)))}}define(["./workbox-958fa2bd"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.precacheAndRoute([{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/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/gameLoop.ddfbe99a.js",revision:null},{url:"assets/index.712f3d0f.js",revision:null},{url:"assets/index.9fcd1d96.css",revision:null},{url:"assets/ismobilejs.5c6954b9.js",revision:null},{url:"assets/lru-cache.9a21e90b.js",revision:null},{url:"assets/lz-string.f2f3b7cf.js",revision:null},{url:"assets/nanoevents.1080beb7.js",revision:null},{url:"assets/querystring.23ae9a54.js",revision:null},{url:"assets/semver.83ff78cf.js",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/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/workbox-window.8d14e8b7.js",revision:null},{url:"assets/yallist.fd762fe7.js",revision:null},{url:"index.html",revision:"6a837c3eab195e75635b67b43cae90ad"},{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"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))})); diff --git a/wins_small.png b/wins_small.png new file mode 100644 index 0000000..3b2f564 Binary files /dev/null and b/wins_small.png differ