pages/ludwig/assets/index.43d4d036.js

16 lines
125 KiB
JavaScript
Raw Normal View History

/* empty css */import"./vue.f6263579.js";import{Z as R,q as at,C as u,t as _,b1 as me,aa as G,aE as f,a0 as C,a1 as c,aK as Be,G as ee,w as he,b2 as wt,a8 as A,O as se,ay as It,ar as Re,aG as it,A as ve,_ as U,b6 as T,b8 as St,bs as Ea,aq as Ze,bu as $e,bb as Kt,T as Ba,a7 as w,u as Qt,j as _a,l as pe,bv as bt,aL as wa,$ as M,aN as ue,J as P,I as Ve,aH as _e,aF as we,z as Pe,br as Ia,aJ as Sa,al as Ft,aC as Qa,au as Ma,bc as st,ao as ka,bn as Ta,be as Da}from"./@vue.4ce677c2.js";import{c as Zt}from"./nanoevents.1080beb7.js";import{L as Ee}from"./lz-string.f2f3b7cf.js";import{D as Ra}from"./vuedraggable.c3acdf62.js";import{Y as Va}from"./vue-next-select.0dc4e443.js";import{p as Pa}from"./vue-textarea-autosize.35804eaf.js";import{s as za}from"./semver.83ff78cf.js";import{l as qa}from"./socket.io-client.79ce0df5.js";import{u as $t,s as xa}from"./vue-toastification.b7cd620e.js";import{A as ea,T as Fa,R as Ga,B as Ua,u as Oa,E as Gt}from"./@pixi.1eac1889.js";import{v as Ya,n as Ja}from"./workbox-window.8d14e8b7.js";import"./earcut.b6f90e68.js";import"./sortablejs.cbae5b2d.js";import"./lru-cache.9a21e90b.js";import"./yallist.fd762fe7.js";import"./engine.io-client.58517560.js";import"./engine.io-parser.3f360695.js";import"./@socket.io.aec831e2.js";import"./socket.io-parser.544e37d1.js";import"./ismobilejs.5c6954b9.js";import"./eventemitter3.dc5195d7.js";import"./url.e51cb87b.js";import"./querystring.23ae9a54.js";const La=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)}};La();const Wa="modulepreload",Ut={},Xa="./",At=function(t,a){return!a||a.length===0?t():Promise.all(a.map(n=>{if(n=`${Xa}${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":Wa,i||(r.as="script",r.crossOrigin=""),r.href=n,document.head.appendChild(r),i)return new Promise((l,m)=>{r.addEventListener("load",l),r.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())},ja="./projInfo-schema.json",Ha="Super Auto Coots",Ka="A project made in Profectus",Za="superautocoots",$a="thepaperpilot and crea",en="",tn="",an="0.0.0",nn="Initial Commit",sn=!1,rn=!1,on=2,ln=!0,An=null,un="",cn=["main"],dn=3600,mn=1,gn=!0,fn="base64";var z={$schema:ja,title:Ha,description:Ka,id:Za,author:$a,discordName:en,discordLink:tn,versionNumber:an,versionTitle:nn,allowGoBack:sn,defaultShowSmall:rn,defaultDecimalsShown:on,useHeader:ln,banner:An,logo:un,initialTabs:cn,maxTickLength:dn,offlineLimit:mn,enablePausing:gn,exportEncoding:fn};class hn{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 vn(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 vn{constructor(t,a){this.next=void 0,this.prev=void 0,this.key=t,this.value=a}}const pt=17,pn=9e15,yn=Math.
`,e),await ke(Ue())}}function Ue(){const e=ot(),t=ua({id:e});return ne(t),V.saves.push(e),t}function ot(){let e,t=0;do e=`${z.id}-${t++}`;while(localStorage.getItem(e)!=null);return e}const jn=_(!1);async function ke(e){console.info("Loading save",e),jn.value=!0;const{layers:t,removeLayer:a,addLayer:n}=await At(()=>Promise.resolve().then(function(){return bi}),void 0),{fixOldSave:i,getInitialLayers:s}=await At(()=>Promise.resolve().then(function(){return po}),void 0);for(const r in t){const l=t[r];l&&a(l)}s(e).forEach(r=>n(r,e)),e=ua(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,z.offlineLimit*3600)),e.time=Date.now(),e.modVersion!==z.versionNumber&&(i(e.modVersion,e),e.modVersion=z.versionNumber),Object.assign(D,e),V.active=D.id,$.emit("onLoad")}setInterval(()=>{D.autosave&&ne()},1e3);window.onbeforeunload=()=>{D.autosave&&ne()};window.save=ne;const Hn=window.hardReset=async()=>{await ke(Ue())};window.deleteLowerSaves=()=>{const e=Object.values(V.saves).indexOf(D.id)+1;Object.values(V.saves).slice(e).forEach(t=>localStorage.removeItem(t)),V.saves=V.saves.slice(0,e)};const et=at({active:"",saves:[],showTPS:!0,theme:Dt.Nordic,unthrottled:!1,alignUnits:!1,autoplay:!1,fast:!1});me(et,e=>{const t=Ee.compressToUTF16(JSON.stringify(e));localStorage.setItem(z.id,t)},{deep:!0});var V=window.settings=et;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:Dt.Nordic,alignUnits:!1,autoplay:!1,fast:!1};$.emit("loadSettings",e),Object.assign(et,e),Hn()};function Kn(){try{let e=localStorage.getItem(z.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Ee.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(et,t)}$.emit("loadSettings",et)}catch{}}const ca=at([]);function Zn(e){ca.push(e)}const $n=at([]),ei=at([]),ti={class:"table"},Ce=G({__name:"Row",setup(e){const t=R(()=>mt[V.theme].mergeAdjacent);return(a,n)=>(f(),C("div",ti,[c("div",{class:ee(["row",{mergeAdjacent:u(t)}])},[Be(a.$slots,"default")],2)]))}});function ye(e,t="span"){return typeof e=="function"?G({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}</${t}>`),G({template:e})):G({render:()=>({})}):e}function gt(e){if(da(e))return typeof e=="function"?e():ye(e);const t=e[kt];return A(t,e[Tt](),null)}function ai(e){if(da(e))return typeof e=="function"?e():typeof e=="string"?A(se,null,[e]):A(e,null,null);const t=e[kt];return A(t,e[Tt](),null)}function da(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[ct]===!0}function ni(e,t="div"){const a=he();return wt(()=>{a.value=ye(De(e),t)}),a}function ft(e,t="div"){const a=he(null);return wt(()=>{const n=De(e);a.value=n==""||n==null?null:ye(n,t)}),a}function De(e){return u(u(e))}function te(...e){return e.includes(Object)||e.push(Object),e}var W=(e,t)=>{const a=e.__vccOpts||e;for(const[n,i]of t)a[n]=i;return a};const ii=G({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var y;const a=_({}),n=new ResizeObserver(l),i=_(null);It(()=>{const v=i.value;v!=null&&n.observe(v)});let s=!0,r=_((y=i.value)==null?void 0:y.getBoundingClientRect());function l(){s&&(s=!1,Re(()=>{var v;r.value=(v=i.value)==null?void 0:v.getBoundingClientRect(),Object.values(a.value).filter(b=>b).forEach(b=>b.rect=b.element.getBoundingClientRect()),t("updateNodes",a.value),s=!0}))}$.on("fontsLoaded",l);const m={attributes:!1,childList:!0,subtree:!1};it(Vt,(v,b)=>{const N=new MutationObserver(()=>g(v));N.observe(b,m),a.value[v]={element:b,observer:N,rect:b.getBoundingClientRect()},l()}),it(Pt,v=>{var b;(b=a.value[v])==null||b.observer.disconnect(),a.value[v]=void 0,l()}),it(ga,a),it(fa,r);function g(v){const b=a.value[v];b!=null&&(b.rect=b.element.getBoundingClientRect(),t("updateNodes",a.value))}return(v,b)=>(f(),C(se,null,[Be(v.$slots,"default",{},void 0,!0),c("div",{re
`).slice(3,5).map(a=>a.trim()).join(`
`))!=null?t:""}function Xt(e,t){var a;if(E.isNaN(t))throw H.hasNaN||(D.autosave=!1,H.hasNaN=!0,H.NaNPath=e[Te],H.NaNPersistent=e),console.error("Attempted to save NaN value to",(a=e[Te])==null?void 0:a.join("."),e),"Attempted to set NaN value. See above for details";e[ht].value=t}function fi(e){const t=pe(e)?e:_(e);pe(e)&&(e=e.value);const a=R({get(){return t.value},set(i){Xt(n,i)}});a[Je]=e;const n={get value(){return t.value},set value(i){Xt(n,i)},__v_isRef:!0,[ht]:t,[Je]:e,[dt]:gi(),[Ct]:!1,[Et]:a,[Te]:void 0};return le.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",n,`
Created at:
`+n[dt]):Oe[le[le.length-1]].add(n),n}function hi(e){return e!=null&&typeof e=="object"&&ht in e}$.on("addLayer",(e,t)=>{const a=[],n=(i,s=[])=>{let r=!1;return Object.keys(i).forEach(l=>{let m=i[l];if(m!=null&&typeof m=="object")if(Me in m&&(m=m[Me]),hi(m)){if(r=!0,m[Ct]){console.warn("Deleted persistent ref present in returned object. Ignoring...",m,`
Created at:
`+m[dt]);return}Oe[e.id].delete(m);const g=[e.id,...s,l];m[Te]!=null&&JSON.stringify(g)!==JSON.stringify(m[Te])&&console.error(`Persistent ref is being saved to \`${g.join(".")}\` when it's already present at \`${m[Te].join(".")}\`. This can cause unexpected behavior when loading saves between updates.`,m),m[Te]=g;const y=s.reduce((b,N)=>(N in b||(b[N]={}),b[N]),t),v=y[l];y[l]=m[ht],_a(y)?v!=null?y[l]=v:y[l]=m[Je]:v!=null?y[l].value=v:y[l].value=m[Je]}else!(m instanceof E)&&!pe(m)&&!a.includes(m)&&(typeof m.type=="symbol"&&a.push(m),n(m,[...s,l])&&(bt(m)&&!bt(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.",Me in i?i[Me]:i,l):r=!0))}),r};n(e[Me]),Oe[e.id].forEach(i=>{i[Ct]||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[dt])}),Oe[e.id].clear()});const Vt=Symbol("RegisterNode"),Pt=Symbol("UnregisterNode"),ga=Symbol("Nodes"),fa=Symbol("Bounds"),Z=Qt({});window.layers=Z;const Oe={},le=[];function ha(e,t){return Rt(()=>{const a={},n=a.emitter=Zt();if(a.on=n.on.bind(n),a.emit=n.emit.bind(n),a.nodes=_({}),a.id=e,le.push(e),Oe[e]=new Set,a.minimized=fi(!1),Object.assign(a,t.call(a)),le[le.length-1]==null||le[le.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen
Stack: ${le}
Trying to pop ${a.id}`;le.pop(),fe(a,"color"),fe(a,"display"),fe(a,"classes"),fe(a,"style"),fe(a,"name"),Ke(a,"name",a.id),fe(a,"minWidth"),Ke(a,"minWidth",600),fe(a,"minimizable"),Ke(a,"minimizable",!0),fe(a,"minimizedDisplay");const i=a.style;return a.style=R(()=>{var r,l;let s=u(a.minWidth);return(typeof s=="number"||!Number.isNaN(parseInt(s)))&&(s=s+"px"),[(r=u(i))!=null?r:"",(l=a.minimized)!=null&&l.value?{flexGrow:"0",flexShrink:"0",width:"60px",minWidth:"",flexBasis:"",margin:"0"}:{flexGrow:"",flexShrink:"",width:"",minWidth:s,flexBasis:s,margin:""}]}),a})}function va(e,t){if(console.info("Adding layer",e.id),Z[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,Z[e.id]);return}Ke(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),Z[e.id]=e,$.emit("addLayer",e,t.layers[e.id])}function vi(e){return Z[e]}function pa(e){console.info("Removing layer",e.id),$.emit("removeLayer",e),Z[e.id]=void 0}function pi(e){pa(e),va(e,D)}function yi(e){const t=_(!1);return{openModal:()=>t.value=!0,modal:K(()=>A(ze,{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(Z).forEach(a=>{a==null||a.emit("preUpdate",t)}),Object.values(Z).forEach(a=>{a==null||a.emit("update",t)}),Object.values(Z).forEach(a=>{a==null||a.emit("postUpdate",t)})});var bi=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Vt,UnregisterNodeInjectionKey:Pt,NodesInjectionKey:ga,BoundsInjectionKey:fa,layers:Z,persistentRefs:Oe,addingLayers:le,createLayer:ha,addLayer:va,getLayer:vi,removeLayer:pa,reloadLayer:pi,setupLayerModal:yi},Symbol.toStringTag,{value:"Module"}));const Ni=G({components:{Context:ma},props:{index:{type:Number,required:!0},display:{type:te(Object,String,Function),required:!0},minimizedDisplay:te(Object,String,Function),minimized:{type:Object,required:!0},name:{type:te(String),required:!0},color:te(String),minimizable:te(Boolean),nodes:{type:Object,required:!0}},emits:["setMinimized"],setup(e){const{display:t,index:a,minimized:n,minimizedDisplay:i}=ve(e),s=ni(t),r=ft(i),l=R(()=>z.allowGoBack&&a.value>0&&!De(n));function m(){D.tabs.splice(u(e.index),1/0)}function g(y){e.nodes.value=y}return{component:s,minimizedComponent:r,showGoBack:l,updateNodes:g,unref:u,goBack:m}}}),Ci={key:1};function Ei(e,t,a,n,i,s){const r=wa("Context");return f(),C("div",{class:"layer-container",style:Ve({"--layer-color":e.unref(e.color)})},[e.showGoBack?(f(),C("button",{key:0,class:"goBack",onClick:t[0]||(t[0]=(...l)=>e.goBack&&e.goBack(...l))},"\u274C")):M("",!0),e.unref(e.minimized)?(f(),C("button",{key:1,class:"layer-tab minimized",onClick:t[1]||(t[1]=l=>e.$emit("setMinimized",!1))},[e.minimizedComponent?(f(),U(ue(e.minimizedComponent),{key:0})):(f(),C("div",Ci,P(e.unref(e.name)),1))])):(f(),C("div",{key:2,class:ee(["layer-tab",{showGoBack:e.showGoBack}])},[A(r,{onUpdateNodes:e.updateNodes},{default:T(()=>[(f(),U(ue(e.component)))]),_:1},8,["onUpdateNodes"])],2)),e.unref(e.minimizable)?(f(),C("button",{key:3,class:"minimize",onClick:t[2]||(t[2]=l=>e.$emit("setMinimized",!0))}," \u25BC ")):M("",!0)],4)}var Bi=W(Ni,[["render",Ei],["__scopeId","data-v-a592996e"]]);const ya=e=>(_e("data-v-4b4bda40"),e=e(),we(),e),_i=ya(()=>c("h2",null,"Changelog",-1)),wi=ya(()=>c("details",{open:""},[c("summary",null,[w("v0.0 Initial Commit - "),c("time",null,"2021-09-04")]),w(" 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)),Ii=G({__name:"Changelog",setup(e,{expose:t}){const a=_(!1);return t({open(){a.value=!0}}),(n,i)=>(f(),U(ze,{modelValue:a.value,"onUpdate:modelValue":i[0]||(i[0]=s=>a.value=s)},{header:T(()=>[_i]),body:T(()=>[wi]),_:1},8,["modelValue"]))}});var Si=W(Ii,[["__scopeId","data-v-4b4bda40"]]),Qi=G({props:{element:Object,display:{type:te(Object,String,Function),required:!0},style:te(Object,String,Array),classes:te(Object),direc
${q}
${B}`)}}return g[p]}me(a,p=>{p&&Object.keys(g).forEach(B=>delete g[B])});const v=R(()=>V.saves.reduce((p,B)=>(p[B]=y(B),p),{}));function b(p){let B;switch(D.id===p?B=Aa(D):B=JSON.stringify(v.value[p]),z.exportEncoding){default:console.warn(`Unknown save encoding: ${z.exportEncoding}. Defaulting to lz`);case"lz":B=Ee.compressToUTF16(B);break;case"base64":B=btoa(unescape(encodeURIComponent(B)));break;case"plain":break}const q=document.createElement("textarea");q.value=B,document.body.appendChild(q),q.select(),q.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(q)}function N(p){D.id===p&&ne();const B={...v.value[p],id:ot()};ne(B),V.saves.push(B.id)}function h(p){V.saves=V.saves.filter(B=>B!==p),localStorage.removeItem(p),g[p]=void 0}function S(p){v.value[D.id].time=D.time,ne(),g[D.id]=void 0,ke(v.value[p]),g[p]=void 0}function Y(p){if(r.value=p,Re(()=>{r.value=null}),p[0]!=="{")if(p[0]==="e")p=decodeURIComponent(escape(atob(p)));else if(p[0]==="\u1BE1")p=Ee.decompressFromUTF16(p);else{console.warn("Unable to determine preset encoding",p);return}const B=JSON.parse(p);B.id=ot(),ne(B),V.saves.push(B.id),S(B.id)}function j(p,B){const q=v.value[p];q!=null&&(q.name=B,D.id===p?(D.name=B,ne()):(ne(q),g[p]=void 0))}return(p,B)=>(f(),U(ze,{modelValue:a.value,"onUpdate:modelValue":B[4]||(B[4]=q=>a.value=q),ref_key:"modal",ref:n},{header:T(()=>[ks]),body:T(({shown:q})=>[q?(f(),U(u(Ra),{key:0,list:u(V).saves,handle:".handle",itemKey:O=>O},{item:T(({element:O})=>[A(Ms,{save:u(v)[O],onOpen:F=>S(O),onExport:F=>b(O),onEditName:F=>j(O,F),onDuplicate:F=>N(O),onDelete:F=>h(O)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):M("",!0)]),footer:T(()=>[c("div",Ts,[A(zt,{modelValue:s.value,"onUpdate:modelValue":B[0]||(B[0]=q=>s.value=q),title:"Import Save",placeholder:"Paste your save here!",class:ee({importingFailed:i.value})},null,8,["modelValue","class"]),c("div",Ds,[Rs,c("div",Vs,[c("button",{class:"button",onClick:B[1]||(B[1]=q=>S(u(Ue)().id))},"New Game"),Object.keys(u(m)).length>0?(f(),U(Zi,{key:0,options:u(m),modelValue:r.value,"onUpdate:modelValue":B[2]||(B[2]=q=>Y(q)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):M("",!0)])]),c("div",Ps,[zs,c("button",{class:"button modal-default-button",onClick:B[3]||(B[3]=q=>a.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var ba=W(qs,[["__scopeId","data-v-5b5b1604"]]);const ce=e=>(_e("data-v-269f7a94"),e=e(),we(),e),xs=["src","alt"],Fs={key:1,class:"title"},Gs=ce(()=>c("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Us={class:"discord"},Os={class:"discord-links"},Ys={key:0},Js=["href"],Ls=ce(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),Ws=ce(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),Xs={href:"https://forums.moddingtree.com/",target:"_blank"},js=ce(()=>c("span",{class:"material-icons"},"forum",-1)),Hs=ce(()=>c("span",{class:"material-icons"},"info",-1)),Ks=ce(()=>c("span",{class:"material-icons"},"settings",-1)),Zs=ce(()=>c("span",{class:"material-icons"},"settings",-1)),$s=ce(()=>c("span",{class:"material-icons"},"info",-1)),er={href:"https://forums.moddingtree.com/",target:"_blank"},tr=ce(()=>c("span",{class:"material-icons"},"forum",-1)),ar={class:"discord"},nr={class:"discord-links"},ir={key:0},sr=["href"],rr=ce(()=>c("li",null,[c("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),or=ce(()=>c("li",null,[c("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),lr=G({__name:"Nav",setup(e){const t=_(null),a=_(null),n=_(null),i=_(null),{useHeader:s,banner:r,title:l,discordName:m,discordLink:g,versionNumber:y}=z;function v(){window.open(g,"mywindow")}return(b,N)=>(f(),C(se,null,[u(s)?(f(),C("div",Ze({key:0,class:"nav"},b.$attrs),[u(r)?(f(),C("img",{key:0,src:u(r),class:"banner",alt:u(l)},null,8,xs)):(f(),C("div",Fs,P(u(l)),1)),c("div",{onClick:N[0]||(N[0]=h=>{var
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 Xn();const{globalBus:e}=await At(()=>Promise.resolve().then(function(){return Ln}),void 0),{startGameLoop:t}=await At(()=>import("./gameLoop.67963716.js"),["assets/gameLoop.67963716.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/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/@pixi.1eac1889.js","assets/ismobilejs.5c6954b9.js","assets/eventemitter3.dc5195d7.js","assets/url.e51cb87b.js","assets/querystring.23ae9a54.js","assets/workbox-window.8d14e8b7.js"]),a=window.vue=Da(Oo);e.emit("setupVue",a),a.mount("#app"),Re(()=>{const n=$t(),{updateServiceWorker:i}=Jo({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{E as D,At as _,H as a,z as b,po as c,$ as g,jn as l,D as p,V as s};