This commit is contained in:
trmazi
2023-07-22 15:49:30 +00:00
parent 62bfc2bdb6
commit 8bdf5dcef5
37 changed files with 59 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
import{o as e,d as l,w as _,a as g,ai as x,b as a,t as s,g as c,X as i,c as n,F as y,r as k,R as u,aj as p,h as m,ak as D,al as w,n as B,_ as v}from"./index.a2955c9a.js";import{g as S}from"./area.7873ab93.js";const j={class:"space-y-3 text-center"},A={class:"text-2xl lg:text-3xl font-bold"},C={class:"flex gap-2 justify-center items-center"},N={class:"text-2xl md:text-3xl font-bold lg:hidden"},V={class:"text-xl md:text-2xl font-bold"},$=a("hr",{class:"border-t border-1 w-full"},null,-1),O={class:"text-lg"},T={key:0},q={key:1},z=a("span",{class:"font-normal"},"and",-1),E={key:2},F={class:"flex flex-wrap gap-4 place-content-center"},M={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!0},arcadeData:{type:Object,required:!0}},setup(t){const b=t;function h(o){if(o!==null)return`
import{o as e,d as l,w as _,a as g,ai as x,b as a,t as s,g as c,X as i,c as n,F as y,r as k,R as u,aj as p,h as m,ak as D,al as w,n as B,_ as v}from"./index.49bfadcb.js";import{g as S}from"./area.7873ab93.js";const j={class:"space-y-3 text-center"},A={class:"text-2xl lg:text-3xl font-bold"},C={class:"flex gap-2 justify-center items-center"},N={class:"text-2xl md:text-3xl font-bold lg:hidden"},V={class:"text-xl md:text-2xl font-bold"},$=a("hr",{class:"border-t border-1 w-full"},null,-1),O={class:"text-lg"},T={key:0},q={key:1},z=a("span",{class:"font-normal"},"and",-1),E={key:2},F={class:"flex flex-wrap gap-4 place-content-center"},M={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!0},arcadeData:{type:Object,required:!0}},setup(t){const b=t;function h(o){if(o!==null)return`
background-image: url('${o}');
background-size: cover;
background-repeat: no-repeat;

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{u as x,o as a,c as t,a as c,w as u,b as r,t as l,g as s,X as i,h as g,F as b,r as k,n as C,_ as $,s as A,d as f,e as V,ac as v,f as D,i as B,ad as S}from"./index.a2955c9a.js";import{C as L}from"./CardBoxComponentEmpty.847f61e8.js";import{g as N}from"./area.7873ab93.js";import{_ as F}from"./FormField.d29874fa.js";import{_ as j}from"./FormControl.8829c0d6.js";const z={class:"outline outline-slate-800/75 hover:outline hover:outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950/90 bg-white dark:bg-slate-900/90 rounded-xl p-4 h-full w-full transition-all duration-50"},E={class:"text-xl font-bold"},O={class:"text-lg"},q={class:"lg:hidden text-xl"},M={key:0,class:"text-lg"},P=r("hr",{class:"pb-1 my-1"},null,-1),R={class:"text-lg"},T={key:0},U={key:1},X=r("span",{class:"font-normal"},"and",-1),G={key:2},H={__name:"CardBoxArcade",props:{arcadeData:{type:Object,required:!0}},setup(n){const e=n.arcadeData,o=x();function y(){return`
import{u as x,o as a,c as t,a as c,w as u,b as r,t as l,g as s,X as i,h as g,F as b,r as k,n as C,_ as $,s as A,d as f,e as V,ac as v,f as D,i as B,ad as S}from"./index.49bfadcb.js";import{C as L}from"./CardBoxComponentEmpty.1ecaf60a.js";import{g as N}from"./area.7873ab93.js";import{_ as F}from"./FormField.d8177f13.js";import{_ as j}from"./FormControl.1a09880b.js";const z={class:"outline outline-slate-800/75 hover:outline hover:outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950/90 bg-white dark:bg-slate-900/90 rounded-xl p-4 h-full w-full transition-all duration-50"},E={class:"text-xl font-bold"},O={class:"text-lg"},q={class:"lg:hidden text-xl"},M={key:0,class:"text-lg"},P=r("hr",{class:"pb-1 my-1"},null,-1),R={class:"text-lg"},T={key:0},U={key:1},X=r("span",{class:"font-normal"},"and",-1),G={key:2},H={__name:"CardBoxArcade",props:{arcadeData:{type:Object,required:!0}},setup(n){const e=n.arcadeData,o=x();function y(){return`
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)),
url('${e.image}');
background-size: cover;

View File

@@ -1 +1 @@
import{j as e,o as t,c as o,b as s}from"./index.a2955c9a.js";const c={},n={class:"text-center py-14 text-gray-500 dark:text-slate-400"},r=s("p",null,"Nothing's here\u2026",-1),a=[r];function _(d,i){return t(),o("div",n,a)}const l=e(c,[["render",_]]);export{l as C};
import{j as e,o as t,c as o,b as s}from"./index.49bfadcb.js";const c={},n={class:"text-center py-14 text-gray-500 dark:text-slate-400"},r=s("p",null,"Nothing's here\u2026",-1),a=[r];function _(d,i){return t(),o("div",n,a)}const l=e(c,[["render",_]]);export{l as C};

View File

@@ -0,0 +1 @@
import{d as i,w as l,e as r,o,a as e,P as d,f as _,g as n,b as s,c as m,r as u,F as p,i as g,a1 as f,t as C,p as t}from"./index.49bfadcb.js";import{d as b}from"./userData.bcc92478.js";const h="/assets/passes/generic.png",x=s("div",{class:"text-xl mb-4"},[s("h4",null,"AC = Web Access Code"),s("h4",null,"NFC-ID = Internal ID for card0.txt")],-1),y={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},F={class:"flex justify-between md:grid md:gap-2 mb-4 items-center"},v=s("img",{src:h,class:"w-24 md:w-auto"},null,-1),w={class:"text-xl text-center font-mono"},A={class:"grid grid-cols-3 md:grid-cols-2 gap-2"},R={__name:"CardsView",setup(B){const c=["YRZ2FGHW24JJTU2E","Z1Y0WWAMXGRMZY26","1RJKZLBFKSK2AB2F","R1Y4H1J7GSUZSR2P","7JNC815MHXU33222"];return(D,k)=>(o(),i(r,null,{default:l(()=>[e(g,null,{default:l(()=>[e(d,{class:"mb-6","use-small":"","even-smaller":""}),e(_,{icon:n(f),title:"Login Cards",main:""},null,8,["icon"]),x,s("div",y,[(o(),m(p,null,u(c,a=>s("div",{key:a,class:"grid dark:bg-slate-900/70 rounded-2xl p-5"},[s("div",F,[v,s("h1",w,C(n(b)(a)),1)]),s("div",A,[e(t,{type:"submit",color:"info",label:"Copy AC"}),e(t,{type:"submit",color:"info",label:"Copy NFC-ID"}),e(t,{type:"submit",color:"danger",label:"Delete"})])])),64))])]),_:1})]),_:1}))}};export{R as default};

View File

@@ -1 +0,0 @@
import{d as i,w as a,e as r,o as l,a as s,P as _,f as d,g as n,b as e,c as m,r as u,F as f,i as p,a1 as g,_ as C,p as t,t as b}from"./index.a2955c9a.js";import{d as h}from"./userData.bcc92478.js";const x="/assets/passes/generic.png",y=e("div",{class:"text-xl mb-4"},[e("h4",null,"AC = Web Access Code"),e("h4",null,"NFC-ID = Internal ID for card0.txt")],-1),F={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},A=e("img",{src:x,class:"rounded-3xl mb-4"},null,-1),B={class:"text-xl text-center font-mono"},D={class:"grid grid-cols-2 gap-3"},k={__name:"CardsView",setup($){const c=["YRZ2FGHW24JJTU2E","Z1Y0WWAMXGRMZY26","1RJKZLBFKSK2AB2F","R1Y4H1J7GSUZSR2P","7JNC815MHXU33222"];return(J,N)=>(l(),i(r,null,{default:a(()=>[s(p,null,{default:a(()=>[s(_,{class:"mb-6","use-small":"","even-smaller":""}),s(d,{icon:n(g),title:"Login Cards",main:""},null,8,["icon"]),y,e("div",F,[(l(),m(f,null,u(c,o=>s(C,{key:o},{footer:a(()=>[e("div",D,[s(t,{type:"submit",color:"info",label:"Copy AC"}),s(t,{type:"submit",color:"info",label:"Copy NFC-ID"}),s(t,{type:"submit",color:"danger",label:"Delete"})])]),default:a(()=>[A,e("h1",B,b(n(h)(o)),1)]),_:2},1024)),64))])]),_:1})]),_:1}))}};export{k as default};

View File

@@ -1 +1 @@
import{d as t,w as e,e as i,o as r,a,P as n,f as c,g as _,b as s,_ as d,p as o,i as m,W as u}from"./index.a2955c9a.js";import{_ as l}from"./FormControl.8829c0d6.js";const f={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),v=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),p=s("h2",{class:"text-lg mb-2"},"Profile Background",-1),b={class:"space-x-2"},P={__name:"CustomizeView",setup(h){return(x,$)=>(r(),t(i,null,{default:e(()=>[a(m,null,{default:e(()=>[a(n,{class:"mb-6","use-small":"","even-smaller":""}),a(c,{icon:_(u),title:"Profile Customizations",main:""},null,8,["icon"]),s("div",null,[a(d,null,{footer:e(()=>[s("div",b,[a(o,{type:"submit",color:"success",label:"Save"}),a(o,{type:"submit",color:"danger",label:"Revert"})])]),default:e(()=>[s("div",f,[s("div",null,[g,a(l,{options:["Discord","Gravatar","Kamaitachi"],"model-value":"Gravatar",name:"border"})]),s("div",null,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default};
import{d as t,w as e,e as i,o as r,a,P as n,f as c,g as _,b as s,_ as d,p as o,i as m,W as u}from"./index.49bfadcb.js";import{_ as l}from"./FormControl.1a09880b.js";const f={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},g=s("h2",{class:"text-lg mb-2"},"Avatar Source",-1),v=s("h2",{class:"text-lg mb-2"},"Avatar Border",-1),p=s("h2",{class:"text-lg mb-2"},"Profile Background",-1),b={class:"space-x-2"},P={__name:"CustomizeView",setup(h){return(x,$)=>(r(),t(i,null,{default:e(()=>[a(m,null,{default:e(()=>[a(n,{class:"mb-6","use-small":"","even-smaller":""}),a(c,{icon:_(u),title:"Profile Customizations",main:""},null,8,["icon"]),s("div",null,[a(d,null,{footer:e(()=>[s("div",b,[a(o,{type:"submit",color:"success",label:"Save"}),a(o,{type:"submit",color:"danger",label:"Revert"})])]),default:e(()=>[s("div",f,[s("div",null,[g,a(l,{options:["Discord","Gravatar","Kamaitachi"],"model-value":"Gravatar",name:"border"})]),s("div",null,[v,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})]),s("div",null,[p,a(l,{options:["Trans Flag","Pride Flag"],"model-value":"Trans Flag",name:"border"})])])]),_:1})])]),_:1})]),_:1}))}};export{P as default};

View File

@@ -0,0 +1,5 @@
import{s as v,am as V,d as n,w as d,e as x,k as $,u as P,o,a as l,b as i,p as _,g as m,c,h as s,f as B,n as C,_ as A,F as N,r as E,i as F,q as G,W as z}from"./index.49bfadcb.js";import{_ as D}from"./ProfileCard.b0fcd669.js";import{_ as R}from"./FormField.d8177f13.js";import{_ as I}from"./FormCheckRadio.dee6d755.js";import{_ as p}from"./FormControl.1a09880b.js";import"./userData.bcc92478.js";const T={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},L={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},U=i("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),W={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},j={class:"w-full"},q={key:2},H={class:"space-x-2"},X={__name:"EditView",setup(M){const b=$(),h=P();var f=null,t=null;const r=v({currentVersion:null}),k=[{id:"username",name:"Username",help:"Set your username for this profile",type:String},{id:"fastSlow",name:"Fast/Slow Display",help:"Enable or disable displaying of Fast/Slow",type:Boolean},{id:"comboPosition",name:"Combo Position",help:"Change order of the combo and notes",type:Boolean},{id:"weight",name:"Weight (kg)",help:"Set your weight for in-game workout mode",type:Number},{id:"dancer",name:"Character",help:"Set your background dancer",type:Array,options:[{id:0,label:"Afro"},{id:1,label:"Emi"}]},{id:"arrow",name:"Arrow Skin",help:"Set your arrow skin",type:Array,options:[{id:0,label:"Normal"},{id:1,label:"Classic"}]}],g={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:95e4}},a=v({username:"TRMAZI",fastSlow:!0,comboPosition:!1,weight:100,dancer:0,arrow:1,guideLines:0,filter:3});f=b.params.game,t=V(f),t||h.push({name:"ErrorPage",params:{catchAll:"404"}}),t.versions||(r.currentVersion=1);function w(){var u=null;return r.currentVersion?u=`/assets/games/${t.id}/card/${r.currentVersion}.png`:u=t.cardBG,u}function S(){return`
background-image: url('${w()}');
background-size: cover;
background-repeat: no-repeat;
`}return(u,y)=>(o(),n(x,null,{default:d(()=>[l(F,null,{default:d(()=>[i("div",T,[l(_,{icon:m(G),href:`/#/games/${m(f)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),m(t).versions?(o(),c("div",L,[U,l(p,{modelValue:r.currentVersion,"onUpdate:modelValue":y[0]||(y[0]=e=>r.currentVersion=e),options:m(t).versions},null,8,["modelValue","options"])])):s("",!0)]),r.currentVersion?(o(),n(B,{key:0,icon:m(z),title:"Profile Customizations",main:""},null,8,["icon"])):s("",!0),r.currentVersion?(o(),c("div",{key:1,style:C(S()),class:"rounded-2xl mb-6"},[i("div",W,[i("div",j,[l(D,{"use-small":"",profile:g})])])],4)):s("",!0),r.currentVersion?(o(),c("div",q,[l(A,null,{footer:d(()=>[i("div",H,[l(_,{type:"submit",color:"success",label:"Save"}),l(_,{type:"submit",color:"danger",label:"Revert"})])]),default:d(()=>[i("div",null,[(o(),c(N,null,E(k,e=>l(R,{key:e.id,label:e.name,help:e.help},{default:d(()=>[e.type==String?(o(),n(p,{key:0,"v-model":a[e.id],"model-value":a[e.id]},null,8,["v-model","model-value"])):s("",!0),e.type==Number?(o(),n(p,{key:1,"v-model":a[e.id],"model-value":a[e.id],type:"number"},null,8,["v-model","model-value"])):s("",!0),e.type==Array?(o(),n(p,{key:2,options:e.options,"v-model":a[e.id],"model-value":a[e.id],selected:a[e.id]},null,8,["options","v-model","model-value","selected"])):s("",!0),e.type==Boolean?(o(),n(I,{key:3,"v-model":a[e.id],"model-value":a[e.id],type:"switch"},null,8,["v-model","model-value"])):s("",!0)]),_:2},1032,["label","help"])),64))])]),_:1})])):s("",!0)]),_:1})]),_:1}))}};export{X as default};

View File

@@ -1 +1 @@
import{d as a,w as s,o as l,b as e,a as t,p as o,_ as r,v as c}from"./index.a2955c9a.js";import{_ as n}from"./LayoutGuest.537a1424.js";const d={class:"flex md:min-h-screen md:items-center md:justify-center"},i={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Broken since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(l(),a(n,null,{default:s(()=>[e("div",d,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",i,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default};
import{d as a,w as s,o as l,b as e,a as t,p as o,_ as r,v as c}from"./index.49bfadcb.js";import{_ as n}from"./LayoutGuest.b8c99ff7.js";const d={class:"flex md:min-h-screen md:items-center md:justify-center"},i={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Broken since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(l(),a(n,null,{default:s(()=>[e("div",d,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",i,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default};

View File

@@ -1 +1 @@
import{ac as x,s as B,af as C,d as r,w as d,e as G,k as N,o as l,a as s,g as v,f as U,_ as E,b as i,c as p,h as m,X as w,t as O,F as A,r as D,p as F,i as P,am as f,an as T,ao as W}from"./index.a2955c9a.js";import{_ as j}from"./ArcadeCard.e5e8de80.js";import{_}from"./FormField.d29874fa.js";import{_ as u}from"./FormControl.8829c0d6.js";import{_ as L}from"./FormCheckRadio.f5f9d79c.js";import"./area.7873ab93.js";const M={class:"mb-4"},X={class:"grid md:grid-cols-2 gap-4"},Q=i("p",{class:"pb-2 text-lg"},"Game",-1),R={key:0},q=i("p",{class:"pb-2 text-lg"},"Version",-1),z={key:0},H={class:"text-xl"},J=i("hr",{class:"pb-1 my-2"},null,-1),ne={__name:"EventView",setup(K){const g=N(),h=parseInt(g.params.id),b=x.find(o=>o.id===h),c=[{id:"iidx",versions:[{id:22,settings:[{id:0,keyId:"coke",type:Boolean,name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:Array,name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]}]},{id:"dm",versions:[{id:18,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]},{id:17,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}]}],t=B({game:null,version:null});function V(){var o=[];for(const a of W)c.find(n=>n.id==a.id)&&o.push(a.id);return o}function y(){var o=[];const a=V();for(const e of a)o.push({id:e,label:f(e).name});return o}function S(){const o=c.find(e=>e.id==t.game);var a=[];for(const e of o.versions){const n=f(t.game).versions.find($=>$.id==e.id);a.push({id:e.id,label:n.label})}return a}function k(){return c.find(a=>a.id==t.game).versions.find(a=>a.id==t.version)}function I(){const o=f(t.game),a=o.versions.find(e=>e.id==t.version);return`${o.name} ${a.label}`}return C(()=>t.game,()=>{t.version=null}),(o,a)=>(l(),r(G,null,{default:d(()=>[s(P,null,{default:d(()=>[s(j,{class:"mb-6","arcade-data":v(b)},null,8,["arcade-data"]),s(U,{icon:v(T),title:"Game Event Settings",main:""},null,8,["icon"]),s(E,{class:"mb-6"},{default:d(()=>[i("div",M,[s(_,{label:"Select Game",help:"Pick a game and version to get started."},{default:d(()=>[i("div",X,[i("div",null,[Q,s(u,{modelValue:t.game,"onUpdate:modelValue":a[0]||(a[0]=e=>t.game=e),name:"game",options:y()},null,8,["modelValue","options"])]),t.game?(l(),p("div",R,[q,s(u,{modelValue:t.version,"onUpdate:modelValue":a[1]||(a[1]=e=>t.version=e),name:"version",options:S()},null,8,["modelValue","options"])])):m("",!0)])]),_:1})]),t.game&&t.version?(l(),p("div",z,[i("h2",H,[w(" Settings for "),i("b",null,O(I()),1)]),J,(l(!0),p(A,null,D(k().settings,e=>(l(),r(_,{key:e.id,label:e.name,help:e.tooltip},{default:d(()=>[e.type==String?(l(),r(u,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type==Boolean?(l(),r(L,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):m("",!0),e.type==Array?(l(),r(u,{key:2,modelValue:e.options[e.value],"onUpdate:modelValue":n=>e.options[e.value]=n,name:e.keyId,options:e.options,placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):m("",!0)]),_:2},1032,["label","help"]))),128)),s(F,{color:"success",type:"submit",label:"Save",small:!1})])):m("",!0)]),_:1})]),_:1})]),_:1}))}};export{ne as default};
import{ac as x,s as B,af as C,d as r,w as d,e as G,k as N,o as l,a as s,g as v,f as U,_ as E,b as i,c as p,h as m,X as w,t as O,F as A,r as D,p as F,i as P,am as f,an as T,ao as W}from"./index.49bfadcb.js";import{_ as j}from"./ArcadeCard.d52b5351.js";import{_}from"./FormField.d8177f13.js";import{_ as u}from"./FormControl.1a09880b.js";import{_ as L}from"./FormCheckRadio.dee6d755.js";import"./area.7873ab93.js";const M={class:"mb-4"},X={class:"grid md:grid-cols-2 gap-4"},Q=i("p",{class:"pb-2 text-lg"},"Game",-1),R={key:0},q=i("p",{class:"pb-2 text-lg"},"Version",-1),z={key:0},H={class:"text-xl"},J=i("hr",{class:"pb-1 my-2"},null,-1),ne={__name:"EventView",setup(K){const g=N(),h=parseInt(g.params.id),b=x.find(o=>o.id===h),c=[{id:"iidx",versions:[{id:22,settings:[{id:0,keyId:"coke",type:Boolean,name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:Array,name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]}]},{id:"dm",versions:[{id:18,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]},{id:17,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}]}],t=B({game:null,version:null});function V(){var o=[];for(const a of W)c.find(n=>n.id==a.id)&&o.push(a.id);return o}function y(){var o=[];const a=V();for(const e of a)o.push({id:e,label:f(e).name});return o}function S(){const o=c.find(e=>e.id==t.game);var a=[];for(const e of o.versions){const n=f(t.game).versions.find($=>$.id==e.id);a.push({id:e.id,label:n.label})}return a}function k(){return c.find(a=>a.id==t.game).versions.find(a=>a.id==t.version)}function I(){const o=f(t.game),a=o.versions.find(e=>e.id==t.version);return`${o.name} ${a.label}`}return C(()=>t.game,()=>{t.version=null}),(o,a)=>(l(),r(G,null,{default:d(()=>[s(P,null,{default:d(()=>[s(j,{class:"mb-6","arcade-data":v(b)},null,8,["arcade-data"]),s(U,{icon:v(T),title:"Game Event Settings",main:""},null,8,["icon"]),s(E,{class:"mb-6"},{default:d(()=>[i("div",M,[s(_,{label:"Select Game",help:"Pick a game and version to get started."},{default:d(()=>[i("div",X,[i("div",null,[Q,s(u,{modelValue:t.game,"onUpdate:modelValue":a[0]||(a[0]=e=>t.game=e),name:"game",options:y()},null,8,["modelValue","options"])]),t.game?(l(),p("div",R,[q,s(u,{modelValue:t.version,"onUpdate:modelValue":a[1]||(a[1]=e=>t.version=e),name:"version",options:S()},null,8,["modelValue","options"])])):m("",!0)])]),_:1})]),t.game&&t.version?(l(),p("div",z,[i("h2",H,[w(" Settings for "),i("b",null,O(I()),1)]),J,(l(!0),p(A,null,D(k().settings,e=>(l(),r(_,{key:e.id,label:e.name,help:e.tooltip},{default:d(()=>[e.type==String?(l(),r(u,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type==Boolean?(l(),r(L,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):m("",!0),e.type==Array?(l(),r(u,{key:2,modelValue:e.options[e.value],"onUpdate:modelValue":n=>e.options[e.value]=n,name:e.keyId,options:e.options,placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):m("",!0)]),_:2},1032,["label","help"]))),128)),s(F,{color:"success",type:"submit",label:"Save",small:!1})])):m("",!0)]),_:1})]),_:1})]),_:1}))}};export{ne as default};

View File

@@ -1 +1 @@
import{z as s,o as d,c as p,A as m,B as y,g as u,b as a,C as b,t as h,D as V}from"./index.a2955c9a.js";const g=["type","name","value"],f=a("span",{class:"check"},null,-1),k={class:"pl-2"},B={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,t=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:V(e.type)},[m(a("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>b(t)?t.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,g),[[y,u(t)]]),f,a("span",k,h(e.label),1)],2))}};export{B as _};
import{z as s,o as d,c as p,A as m,B as y,g as u,b as a,C as b,t as h,D as V}from"./index.49bfadcb.js";const g=["type","name","value"],f=a("span",{class:"check"},null,-1),k={class:"pl-2"},B={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,t=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:V(e.type)},[m(a("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>b(t)?t.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,g),[[y,u(t)]]),f,a("span",k,h(e.label),1)],2))}};export{B as _};

View File

@@ -1 +1 @@
import{o as r,d as B,H as V,z as m,I as R,J as p,K as w,L as q,c as s,g as a,A as h,M as C,C as g,D as v,F as M,r as D,t as K,N as L,B as U,h as z}from"./index.a2955c9a.js";const A={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},H={class:"relative"},I=["id","name"],N=["value"],T=["id","name","maxlength","placeholder","required"],$=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],J={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-blue-700 dark:border-blue-500 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",H,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(M,null,D(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,N)}),128))],10,I)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,T)),[[L,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,$)),[[U,a(o)]]),e.icon?(r(),B(A,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):z("",!0)]))}};export{J as _};
import{o as r,d as B,H as V,z as m,I as R,J as p,K as w,L as q,c as s,g as a,A as h,M as C,C as g,D as v,F as M,r as D,t as K,N as L,B as U,h as z}from"./index.49bfadcb.js";const A={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},H={class:"relative"},I=["id","name"],N=["value"],T=["id","name","maxlength","placeholder","required"],$=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],J={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-blue-700 dark:border-blue-500 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",H,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(M,null,D(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,N)}),128))],10,I)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,T)),[[L,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,$)),[[U,a(o)]]),e.icon?(r(),B(A,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):z("",!0)]))}};export{J as _};

View File

@@ -1 +1 @@
import{E as d,z as i,o as l,c as a,t as o,h as r,b as u,G as m,D as b,g as f}from"./index.a2955c9a.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},k={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:b(f(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{k as _};
import{E as d,z as i,o as l,c as a,t as o,h as r,b as u,G as m,D as b,g as f}from"./index.49bfadcb.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},k={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:b(f(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{k as _};

View File

@@ -1,5 +0,0 @@
import{z as d,o as r,c as _,b as e,a,ar as P,t as x,g as s,G as S,h as w,E as C,I as A,J as y,F as $,r as k,w as m,l as D,d as V,p as L,ai as G,s as R,am as I,e as B,k as j,u as z,a2 as g,n as M,f as T,_ as E,i as F,as as H}from"./index.a2955c9a.js";import{_ as N}from"./FormControl.8829c0d6.js";import{_ as U}from"./ProfileCard.ccfd8d4f.js";import"./userData.bcc92478.js";const q={class:"pt-6 mb-6 flex items-center justify-between"},J={class:"flex items-center justify-start space-x-2"},Y={class:"text-2xl md:text-3xl leading-tight"},Z={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(f){const h=d(()=>C().default);return(u,n)=>(r(),_("section",q,[e("div",J,[a(P,{path:f.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),e("h1",Y,x(f.title),1)]),s(h)?S(u.$slots,"default",{key:0}):w("",!0)]))}},K=e("thead",null,[e("tr",null,[e("th",null,"Username"),e("th",null,"Rival ID"),e("th",null,"Creation Date"),e("th",null,"Last Played"),e("th",null,"Last Arcade"),e("th",null,"Play Count")])],-1),O=e("td",{"data-label":"Username"},"TRMAZI",-1),Q=e("td",{"data-label":"Rival ID"},"1234-5678",-1),W=e("td",{"data-label":"Creation Date"},"10/22/2022",-1),X=e("td",{"data-label":"Last Played"},"10/22/2022",-1),ee=e("td",{"data-label":"Last Arcade"},"Ho-House",-1),te=e("td",{"data-label":"Play Count",class:"lg:w-32"},"466",-1),ae=[O,Q,W,X,ee,te],se={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},le={__name:"TablePlayers",setup(f){const h=A(),u=d(()=>h.clients),n=y(5),t=y(0),i=d(()=>u.value.slice(n.value*t.value,n.value*(t.value+1))),p=d(()=>Math.ceil(u.value.length/n.value)),b=d(()=>t.value+1),v=d(()=>{const o=[];for(let c=0;c<p.value;c++)o.push(c);return o});return(o,c)=>(r(),_($,null,[e("table",null,[K,e("tbody",null,[(r(!0),_($,null,k(s(i),l=>(r(),_("tr",{key:l.id},ae))),128))])]),e("div",se,[a(G,null,{default:m(()=>[a(D,null,{default:m(()=>[(r(!0),_($,null,k(s(v),l=>(r(),V(L,{key:l,active:l===t.value,label:l+1,color:l===t.value?"lightDark":"whiteDark",small:"",onClick:he=>t.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+x(s(b))+" of "+x(s(p)),1)]),_:1})])],64))}},ne={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},oe={class:"w-full"},re={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},ie={key:0,class:"md:w-1/3 md:text-right"},ce=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ue={class:"w-full"},de={class:"grid grid-cols-1 gap-6 lg:grid-cols-4 pt-6"},_e={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},me={class:"w-full"},ve={__name:"GameView",setup(f){const h=j(),u=z();var n=null,t=null;const i=R({currentVersion:null}),p={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}};n=h.params.id,t=I(n),t.versions||(i.currentVersion=1),t||u.push({name:"ErrorPage",params:{catchAll:"404"}});function b(){var o=null;return i.currentVersion?o=`/assets/games/${t.id}/card/${i.currentVersion}.png`:o=t.cardBG,o}function v(){return`
background-image: url('${b()}');
background-size: cover;
background-repeat: no-repeat;
`}return(o,c)=>(r(),V(B,null,{default:m(()=>[a(F,null,{default:m(()=>[e("div",{style:M(v()),class:"rounded-2xl mb-6"},[e("div",ne,[e("div",oe,[e("div",re,[a(Z,{path:s(t).icon,title:s(t).name},null,8,["path","title"]),s(t).versions?(r(),_("div",ie,[ce,a(N,{modelValue:i.currentVersion,"onUpdate:modelValue":c[0]||(c[0]=l=>i.currentVersion=l),options:s(t).versions},null,8,["modelValue","options"])])):w("",!0)])]),e("div",ue,[a(U,{game:s(n),profile:p},{default:m(()=>[e("div",de,[a(g,{number:3733,label:"Scores (All Versions)"}),a(g,{number:1244,label:"Plays (All Versions)"}),a(g,{prefix:"#",number:43,suffix:" / 300",label:"Ranking (All Versions)"}),a(g,{number:2,label:"Rivals"})])]),_:1},8,["game"])])])],4),a(T,{icon:s(H),title:"All Players",main:""},null,8,["icon"]),a(E,{"has-table":""},{default:m(()=>[e("div",_e,[e("div",me,[a(le)])])]),_:1})]),_:1})]),_:1}))}};export{ve as default};

View File

@@ -0,0 +1,5 @@
import{z as d,o as i,c as _,b as e,a as s,ar as V,t as x,g as a,G as S,h as P,E as C,I as D,J as y,F as $,r as k,w as m,l as A,d as w,p as L,ai as G,s as R,am as I,e as j,k as B,u as z,a2 as g,n as M,f as T,_ as E,i as F,as as H}from"./index.49bfadcb.js";import{_ as N}from"./FormControl.1a09880b.js";import{_ as U}from"./ProfileCard.b0fcd669.js";import"./userData.bcc92478.js";const q={class:"pt-6 mb-6 flex items-center justify-between"},J={class:"flex items-center justify-start space-x-2"},Y={class:"text-2xl md:text-3xl leading-tight"},Z={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(h){const f=d(()=>C().default);return(u,n)=>(i(),_("section",q,[e("div",J,[s(V,{path:h.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),e("h1",Y,x(h.title),1)]),a(f)?S(u.$slots,"default",{key:0}):P("",!0)]))}},K=e("thead",null,[e("tr",null,[e("th",null,"Username"),e("th",null,"Rival ID"),e("th",null,"Creation Date"),e("th",null,"Last Played"),e("th",null,"Last Arcade"),e("th",null,"Play Count")])],-1),O=e("td",{"data-label":"Username"},"TRMAZI",-1),Q=e("td",{"data-label":"Rival ID"},"1234-5678",-1),W=e("td",{"data-label":"Creation Date"},"10/22/2022",-1),X=e("td",{"data-label":"Last Played"},"10/22/2022",-1),ee=e("td",{"data-label":"Last Arcade"},"Ho-House",-1),te=e("td",{"data-label":"Play Count",class:"lg:w-32"},"466",-1),se=[O,Q,W,X,ee,te],ae={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},le={__name:"TablePlayers",setup(h){const f=D(),u=d(()=>f.clients),n=y(5),t=y(0),r=d(()=>u.value.slice(n.value*t.value,n.value*(t.value+1))),p=d(()=>Math.ceil(u.value.length/n.value)),b=d(()=>t.value+1),v=d(()=>{const o=[];for(let c=0;c<p.value;c++)o.push(c);return o});return(o,c)=>(i(),_($,null,[e("table",null,[K,e("tbody",null,[(i(!0),_($,null,k(a(r),l=>(i(),_("tr",{key:l.id},se))),128))])]),e("div",ae,[s(G,null,{default:m(()=>[s(A,null,{default:m(()=>[(i(!0),_($,null,k(a(v),l=>(i(),w(L,{key:l,active:l===t.value,label:l+1,color:l===t.value?"lightDark":"whiteDark",small:"",onClick:fe=>t.value=l},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+x(a(b))+" of "+x(a(p)),1)]),_:1})])],64))}},ne={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},oe={class:"w-full"},ie={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},re={key:0,class:"md:w-1/3 md:text-right"},ce=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ue={class:"w-full"},de={class:"grid grid-cols-1 gap-6 lg:grid-cols-4 pt-6"},_e={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},me={class:"w-full"},ve={__name:"GameView",setup(h){const f=B(),u=z();var n=null,t=null;const r=R({currentVersion:null}),p={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:3723,jubility:7690}};n=f.params.id,t=I(n),t.versions||(r.currentVersion=1),t||u.push({name:"ErrorPage",params:{catchAll:"404"}});function b(){var o=null;return r.currentVersion?o=`/assets/games/${t.id}/card/${r.currentVersion}.png`:o=t.cardBG,o}function v(){return`
background-image: url('${b()}');
background-size: cover;
background-repeat: no-repeat;
`}return(o,c)=>(i(),w(j,null,{default:m(()=>[s(F,null,{default:m(()=>[e("div",{style:M(v()),class:"rounded-2xl mb-6"},[e("div",ne,[e("div",oe,[e("div",ie,[s(Z,{path:a(t).icon,title:a(t).name},null,8,["path","title"]),a(t).versions?(i(),_("div",re,[ce,s(N,{modelValue:r.currentVersion,"onUpdate:modelValue":c[0]||(c[0]=l=>r.currentVersion=l),options:a(t).versions},null,8,["modelValue","options"])])):P("",!0)])]),e("div",ue,[s(U,{game:a(n),profile:p},{default:m(()=>[e("div",de,[s(g,{number:3733,label:"Scores (All Versions)"}),s(g,{number:1244,label:"Plays (All Versions)"}),s(g,{prefix:"#",number:43,suffix:" / 300",label:"Ranking (All Versions)"}),s(g,{number:2,label:"Rivals"})])]),_:1},8,["game"])])])],4),s(T,{icon:a(H),title:"All Players",main:""},null,8,["icon"]),s(E,{"has-table":""},{default:m(()=>[e("div",_e,[e("div",me,[s(le)])])]),_:1})]),_:1})]),_:1}))}};export{ve as default};

View File

@@ -1 +1 @@
import{s as b,d as V,w as i,e as k,o as n,a as l,f as p,g as a,b as t,a2 as _,_ as g,a3 as y,c as d,p as G,h as u,t as C,i as D,a4 as $,a5 as w,a6 as A}from"./index.a2955c9a.js";import{_ as c}from"./FormControl.8829c0d6.js";const F={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},R={class:"mb-6"},B={class:"mb-12"},P=t("h1",{class:"text-xl md:text-2xl font-bold"},"Goal Creator",-1),U=t("p",{class:"pb-4 dark:text-white/50"}," Follow these steps and set some goals! ",-1),T={class:"grid md:grid-cols-3 gap-6"},W=t("h2",{class:"text-lg mb-2"},"Game",-1),N={key:0},S=t("h2",{class:"text-lg mb-2"},"Goal Type",-1),E={key:1},I=t("h2",{class:"text-lg mb-2"},"Goals",-1),L={key:2},O=t("h2",{class:"text-lg mb-2"},"Value",-1),H={key:3},M=t("h2",{class:"text-lg mb-2"},"Deadline",-1),Y={key:0},j=t("h1",{class:"pt-4 text-xl md:text-2xl font-bold"},"Compiled Goal",-1),q={class:"text-lg dark:text-white/75"},z={key:0,class:"space-x-2"},X={__name:"GoalsView",setup(J){const h=[{game:"DanceDance Revolution",types:[{id:"Combo",needValue:!0},{id:"Grade",needValue:!0},{id:"Ranking",needValue:!1},{id:"Score",needValue:!1}],combo:["# of LIFE 4 FCs","# of PFCs","# of MFCs"],grade:["# of AAA","# of AA","# of A","# of B","# of C"],ranking:["1st place","top 10","top 100"],score:["1 million points","2 million points","3 million points"]}],v=["DanceDance Revolution"];var e=b({id:0,game:"...",type:"...",goal:"...",value:null,deadline:"..."});function r(){const m=h.find(o=>o.game==e.game);var s=[];for(const o of m.types)s.push(o.id);return m.listTypes=s,m}function x(){return e.goal=="..."||e.game=="..."||e.deadline=="..."?!1:`I want ${e.goal} on ${e.game} in ${e.deadline}`}const f=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}];return(m,s)=>(n(),V(k,null,{default:i(()=>[l(D,null,{default:i(()=>[l(p,{icon:a($),title:"Your Goals",main:""},null,8,["icon"]),t("div",F,[l(_,{number:1,label:"Active Goals",color:"text-yellow-500 dark:text-yellow-400"}),l(_,{number:3,label:"Completed Goals",color:"text-green-500 dark:text-green-400"}),l(_,{number:2,label:"Abandoned Goals",color:"text-red-500 dark:text-red-400"})]),l(p,{icon:a(w),title:"Active Goals"},null,8,["icon"]),t("div",R,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f})]),_:1})]),l(p,{icon:a(A),title:"Past Goals"},null,8,["icon"]),t("div",B,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f,"is-past":""})]),_:1})]),t("div",null,[l(g,null,{footer:i(()=>[a(e).deadline!=="..."?(n(),d("div",z,[l(G,{type:"submit",color:"success",label:"Create",small:!1})])):u("",!0)]),default:i(()=>[P,U,t("div",T,[t("div",null,[W,l(c,{modelValue:a(e).game,"onUpdate:modelValue":s[0]||(s[0]=o=>a(e).game=o),options:v,"input-value":"",name:"game"},null,8,["modelValue"])]),a(e).game!=="..."?(n(),d("div",N,[S,l(c,{modelValue:a(e).type,"onUpdate:modelValue":s[1]||(s[1]=o=>a(e).type=o),options:r().listTypes,"input-value":"",name:"type"},null,8,["modelValue","options"])])):u("",!0),a(e).type!=="..."?(n(),d("div",E,[I,l(c,{modelValue:a(e).goal,"onUpdate:modelValue":s[2]||(s[2]=o=>a(e).goal=o),options:r()[a(e).type.toLowerCase()],"input-value":"",name:"goal"},null,8,["modelValue","options"])])):u("",!0),a(e).goal!=="..."&&r().types.find(o=>o.id==a(e).type).needValue?(n(),d("div",L,[O,l(c,{modelValue:a(e).value,"onUpdate:modelValue":s[3]||(s[3]=o=>a(e).value=o),placeholder:a(e).goal,name:"goal"},null,8,["modelValue","placeholder"])])):u("",!0),a(e).goal!=="..."||a(e).value?(n(),d("div",H,[M,l(c,{modelValue:a(e).deadline,"onUpdate:modelValue":s[4]||(s[4]=o=>a(e).deadline=o),options:["24Hrs","5 Days","15 Days","1 Week","2 Weeks"],"input-value":"",name:"deadline"},null,8,["modelValue"])])):u("",!0)]),a(e).deadline!=="..."?(n(),d("div",Y,[j,t("p",q,C(x()),1)])):u("",!0)]),_:1})])]),_:1})]),_:1}))}};export{X as default};
import{s as b,d as V,w as i,e as k,o as n,a as l,f as p,g as a,b as t,a2 as _,_ as g,a3 as y,c as d,p as G,h as u,t as C,i as D,a4 as $,a5 as w,a6 as A}from"./index.49bfadcb.js";import{_ as c}from"./FormControl.1a09880b.js";const F={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3 mb-6"},R={class:"mb-6"},B={class:"mb-12"},P=t("h1",{class:"text-xl md:text-2xl font-bold"},"Goal Creator",-1),U=t("p",{class:"pb-4 dark:text-white/50"}," Follow these steps and set some goals! ",-1),T={class:"grid md:grid-cols-3 gap-6"},W=t("h2",{class:"text-lg mb-2"},"Game",-1),N={key:0},S=t("h2",{class:"text-lg mb-2"},"Goal Type",-1),E={key:1},I=t("h2",{class:"text-lg mb-2"},"Goals",-1),L={key:2},O=t("h2",{class:"text-lg mb-2"},"Value",-1),H={key:3},M=t("h2",{class:"text-lg mb-2"},"Deadline",-1),Y={key:0},j=t("h1",{class:"pt-4 text-xl md:text-2xl font-bold"},"Compiled Goal",-1),q={class:"text-lg dark:text-white/75"},z={key:0,class:"space-x-2"},X={__name:"GoalsView",setup(J){const h=[{game:"DanceDance Revolution",types:[{id:"Combo",needValue:!0},{id:"Grade",needValue:!0},{id:"Ranking",needValue:!1},{id:"Score",needValue:!1}],combo:["# of LIFE 4 FCs","# of PFCs","# of MFCs"],grade:["# of AAA","# of AA","# of A","# of B","# of C"],ranking:["1st place","top 10","top 100"],score:["1 million points","2 million points","3 million points"]}],v=["DanceDance Revolution"];var e=b({id:0,game:"...",type:"...",goal:"...",value:null,deadline:"..."});function r(){const m=h.find(o=>o.game==e.game);var s=[];for(const o of m.types)s.push(o.id);return m.listTypes=s,m}function x(){return e.goal=="..."||e.game=="..."||e.deadline=="..."?!1:`I want ${e.goal} on ${e.game} in ${e.deadline}`}const f=[{game:"DanceDance Revolution",type:"Rank",goal:"Top 10 Ranking",status:"#10 of 132",deadline:"3 Weeks"},{game:"pop'n music",type:"Plays",goal:"100 Plays",status:"2 Plays Since Creation",deadline:"1 Week"}];return(m,s)=>(n(),V(k,null,{default:i(()=>[l(D,null,{default:i(()=>[l(p,{icon:a($),title:"Your Goals",main:""},null,8,["icon"]),t("div",F,[l(_,{number:1,label:"Active Goals",color:"text-yellow-500 dark:text-yellow-400"}),l(_,{number:3,label:"Completed Goals",color:"text-green-500 dark:text-green-400"}),l(_,{number:2,label:"Abandoned Goals",color:"text-red-500 dark:text-red-400"})]),l(p,{icon:a(w),title:"Active Goals"},null,8,["icon"]),t("div",R,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f})]),_:1})]),l(p,{icon:a(A),title:"Past Goals"},null,8,["icon"]),t("div",B,[l(g,{"has-table":""},{default:i(()=>[l(y,{goals:f,"is-past":""})]),_:1})]),t("div",null,[l(g,null,{footer:i(()=>[a(e).deadline!=="..."?(n(),d("div",z,[l(G,{type:"submit",color:"success",label:"Create",small:!1})])):u("",!0)]),default:i(()=>[P,U,t("div",T,[t("div",null,[W,l(c,{modelValue:a(e).game,"onUpdate:modelValue":s[0]||(s[0]=o=>a(e).game=o),options:v,"input-value":"",name:"game"},null,8,["modelValue"])]),a(e).game!=="..."?(n(),d("div",N,[S,l(c,{modelValue:a(e).type,"onUpdate:modelValue":s[1]||(s[1]=o=>a(e).type=o),options:r().listTypes,"input-value":"",name:"type"},null,8,["modelValue","options"])])):u("",!0),a(e).type!=="..."?(n(),d("div",E,[I,l(c,{modelValue:a(e).goal,"onUpdate:modelValue":s[2]||(s[2]=o=>a(e).goal=o),options:r()[a(e).type.toLowerCase()],"input-value":"",name:"goal"},null,8,["modelValue","options"])])):u("",!0),a(e).goal!=="..."&&r().types.find(o=>o.id==a(e).type).needValue?(n(),d("div",L,[O,l(c,{modelValue:a(e).value,"onUpdate:modelValue":s[3]||(s[3]=o=>a(e).value=o),placeholder:a(e).goal,name:"goal"},null,8,["modelValue","placeholder"])])):u("",!0),a(e).goal!=="..."||a(e).value?(n(),d("div",H,[M,l(c,{modelValue:a(e).deadline,"onUpdate:modelValue":s[4]||(s[4]=o=>a(e).deadline=o),options:["24Hrs","5 Days","15 Days","1 Week","2 Weeks"],"input-value":"",name:"deadline"},null,8,["modelValue"])])):u("",!0)]),a(e).deadline!=="..."?(n(),d("div",Y,[j,t("p",q,C(x()),1)])):u("",!0)]),_:1})])]),_:1})]),_:1}))}};export{X as default};

View File

@@ -1 +1 @@
import{d as c,w as t,e as r,o as _,a as s,P as d,f as m,g as a,b as l,_ as i,p as e,R as o,i as u,X as n,Y as b,Z as f,$ as h,a0 as p}from"./index.a2955c9a.js";const k={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},g=l("h1",{class:"text-lg"},[n("Discord is linked to "),l("b",null,"@trmazi")],-1),x=l("h1",{class:"text-lg"},"Discord isn't linked!",-1),y={class:"space-x-2"},$=l("h1",{class:"text-lg"},[n("Kamaitachi is linked to "),l("b",null,"@trmazi")],-1),v=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),w={class:"space-x-2"},N=l("h1",{class:"text-lg"},[n("Start.GG is linked to "),l("b",null,"@trmazi")],-1),G=l("h1",{class:"text-lg"},"Start.GG isn't linked!",-1),S={class:"space-x-2"},D={__name:"IntegrationView",setup(R){return(V,z)=>(_(),c(r,null,{default:t(()=>[s(u,null,{default:t(()=>[s(d,{class:"mb-6","use-small":"","even-smaller":""}),s(m,{icon:a(b),title:"Server Integrations",main:""},null,8,["icon"]),l("div",k,[s(i,null,{footer:t(()=>[l("div",y,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{color:"info",icon:a(f),label:"Discord",class:"mb-2"},null,8,["icon"]),g,x]),_:1}),s(i,null,{footer:t(()=>[l("div",w,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(h),color:"info",label:"Kamaitachi",class:"mb-2"},null,8,["icon"]),$,v]),_:1}),s(i,null,{footer:t(()=>[l("div",S,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(p),color:"info",label:"Start.GG",class:"mb-2"},null,8,["icon"]),N,G]),_:1})])]),_:1})]),_:1}))}};export{D as default};
import{d as c,w as t,e as r,o as _,a as s,P as d,f as m,g as a,b as l,_ as i,p as e,R as o,i as u,X as n,Y as b,Z as f,$ as h,a0 as p}from"./index.49bfadcb.js";const k={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},g=l("h1",{class:"text-lg"},[n("Discord is linked to "),l("b",null,"@trmazi")],-1),x=l("h1",{class:"text-lg"},"Discord isn't linked!",-1),y={class:"space-x-2"},$=l("h1",{class:"text-lg"},[n("Kamaitachi is linked to "),l("b",null,"@trmazi")],-1),v=l("h1",{class:"text-lg"},"Kamaitachi isn't linked!",-1),w={class:"space-x-2"},N=l("h1",{class:"text-lg"},[n("Start.GG is linked to "),l("b",null,"@trmazi")],-1),G=l("h1",{class:"text-lg"},"Start.GG isn't linked!",-1),S={class:"space-x-2"},D={__name:"IntegrationView",setup(R){return(V,z)=>(_(),c(r,null,{default:t(()=>[s(u,null,{default:t(()=>[s(d,{class:"mb-6","use-small":"","even-smaller":""}),s(m,{icon:a(b),title:"Server Integrations",main:""},null,8,["icon"]),l("div",k,[s(i,null,{footer:t(()=>[l("div",y,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{color:"info",icon:a(f),label:"Discord",class:"mb-2"},null,8,["icon"]),g,x]),_:1}),s(i,null,{footer:t(()=>[l("div",w,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(h),color:"info",label:"Kamaitachi",class:"mb-2"},null,8,["icon"]),$,v]),_:1}),s(i,null,{footer:t(()=>[l("div",S,[s(e,{type:"submit",color:"success",label:"Link Now"}),s(e,{type:"submit",color:"info",label:"Relink"}),s(e,{type:"submit",color:"danger",label:"Unlink"})])]),default:t(()=>[s(o,{icon:a(p),color:"info",label:"Start.GG",class:"mb-2"},null,8,["icon"]),N,G]),_:1})])]),_:1})]),_:1}))}};export{D as default};

View File

@@ -1 +1 @@
import{O as t,o,c as r,b as e,G as n,D as _,g as d}from"./index.a2955c9a.js";const l={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},c={class:"animated animatedFadeInUp fadeInUp"},m={__name:"LayoutGuest",setup(u){const a=t();return(s,i)=>(o(),r("div",{class:_({dark:d(a).darkMode})},[e("div",l,[e("div",c,[n(s.$slots,"default")])])],2))}};export{m as _};
import{O as t,o,c as r,b as e,G as n,D as _,g as d}from"./index.49bfadcb.js";const l={class:"bg-gray-50 dark:bg-slate-800 dark:text-slate-100"},c={class:"animated animatedFadeInUp fadeInUp"},m={__name:"LayoutGuest",setup(u){const a=t();return(s,i)=>(o(),r("div",{class:_({dark:d(a).darkMode})},[e("div",l,[e("div",c,[n(s.$slots,"default")])])],2))}};export{m as _};

View File

@@ -1 +1 @@
import{s as c,d as _,w as t,o as f,b as e,a as s,g as n,p as r,_ as p,v as h,u as x,x as w,y as g}from"./index.a2955c9a.js";import{_ as b}from"./FormCheckRadio.f5f9d79c.js";import{_ as m}from"./FormField.d29874fa.js";import{_ as d}from"./FormControl.8829c0d6.js";import{_ as v}from"./LayoutGuest.537a1424.js";const V={class:"flex md:min-h-screen md:items-center md:justify-center"},y={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},$=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:h,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-r-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r"},null,-1),P={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t my-4 w-full"},null,-1),U={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"Not Registered?",-1),B=e("h2",null,"Forgot Password?",-1),S={__name:"LoginView",setup(I){const o=c({login:"john.doe",pass:"highly-secure-password-fYjUw-",remember:!0}),i=x(),u=()=>{i.push("/")};return(N,l)=>(f(),_(v,null,{default:t(()=>[e("div",V,[s(p,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",y,[$,k,e("div",null,[s(m,{label:"Username"},{default:t(()=>[s(d,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:n(w),name:"login",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),s(m,{label:"Password"},{default:t(()=>[s(d,{modelValue:o.pass,"onUpdate:modelValue":l[1]||(l[1]=a=>o.pass=a),icon:n(g),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(b,{modelValue:o.remember,"onUpdate:modelValue":l[2]||(l[2]=a=>o.remember=a),name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),e("div",P,[s(r,{label:"Log In",color:"success",onClick:l[3]||(l[3]=a=>u())})]),R,e("div",U,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{S as default};
import{s as c,d as _,w as t,o as f,b as e,a as s,g as n,p as r,_ as p,v as h,u as x,x as w,y as g}from"./index.49bfadcb.js";import{_ as b}from"./FormCheckRadio.dee6d755.js";import{_ as m}from"./FormField.d8177f13.js";import{_ as d}from"./FormControl.1a09880b.js";import{_ as v}from"./LayoutGuest.b8c99ff7.js";const V={class:"flex md:min-h-screen md:items-center md:justify-center"},y={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},$=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:h,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-r-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Please log in.")],-1),k=e("div",{class:"md:border-r"},null,-1),P={class:"flex flex-col gap-2 mt-4"},R=e("hr",{class:"border-t my-4 w-full"},null,-1),U={class:"flex flex-col gap-2 my-4"},j=e("h2",null,"Not Registered?",-1),B=e("h2",null,"Forgot Password?",-1),S={__name:"LoginView",setup(I){const o=c({login:"john.doe",pass:"highly-secure-password-fYjUw-",remember:!0}),i=x(),u=()=>{i.push("/")};return(N,l)=>(f(),_(v,null,{default:t(()=>[e("div",V,[s(p,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",y,[$,k,e("div",null,[s(m,{label:"Username"},{default:t(()=>[s(d,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:n(w),name:"login",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),s(m,{label:"Password"},{default:t(()=>[s(d,{modelValue:o.pass,"onUpdate:modelValue":l[1]||(l[1]=a=>o.pass=a),icon:n(g),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),s(b,{modelValue:o.remember,"onUpdate:modelValue":l[2]||(l[2]=a=>o.remember=a),name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),e("div",P,[s(r,{label:"Log In",color:"success",onClick:l[3]||(l[3]=a=>u())})]),R,e("div",U,[j,s(r,{label:"Register",color:"info",href:"/#/auth/register"}),B,s(r,{label:"Password Reset",color:"warning",href:"/#/auth/reset"})])])])]),_:1})])]),_:1}))}};export{S as default};

View File

@@ -1 +1 @@
import{J as g,z as m,o as s,c as p,b as a,F as b,r as k,t as l,g as n,a as c,w as u,l as P,d as h,p as y,ai as D,ac as N,e as x,k as I,f as L,_ as w,h as $,i as M,aa as V}from"./index.a2955c9a.js";import{_ as E}from"./ArcadeCard.e5e8de80.js";import{C as F}from"./CardBoxComponentEmpty.847f61e8.js";import"./area.7873ab93.js";const J=a("thead",null,[a("tr",null,[a("th",null,"Name"),a("th",null,"PCBID"),a("th",null,"Cabinet?"),a("th",null,"Updates?")])],-1),A={"data-label":"Name"},G={"data-label":"PCBID"},O={"data-label":"Cabinet?"},R={"data-label":"Updates?"},T={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},U={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(v){const d=v,r=g(8),t=g(0),o=m(()=>d.machines.slice(r.value*t.value,r.value*(t.value+1))),i=m(()=>Math.ceil(d.machines.length/r.value)),C=m(()=>t.value+1),B=m(()=>{const f=[];for(let _=0;_<i.value;_++)f.push(_);return f});return(f,_)=>(s(),p(b,null,[a("table",null,[J,a("tbody",null,[(s(!0),p(b,null,k(n(o),e=>(s(),p("tr",{key:e.id},[a("td",A,l(e.name),1),a("td",G,l(e.pcbid),1),a("td",O,l(e.cabinet?"Yes":"No"),1),a("td",R,l(e.ota?"Yes":"No"),1)]))),128))])]),a("div",T,[c(D,null,{default:u(()=>[c(P,null,{default:u(()=>[(s(!0),p(b,null,k(n(B),e=>(s(),h(y,{key:e,active:e===t.value,label:e+1,color:e===t.value?"lightDark":"whiteDark",small:"",onClick:Y=>t.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+l(n(C))+" of "+l(n(i)),1)]),_:1})])],64))}},S={__name:"MachinesView",setup(v){const d=I(),r=parseInt(d.params.id),t=N.find(i=>i.id===r),o=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(i,C)=>(s(),h(x,null,{default:u(()=>[c(M,null,{default:u(()=>[c(E,{class:"mb-6","arcade-data":n(t)},null,8,["arcade-data"]),c(L,{icon:n(V),title:"Machines",main:""},null,8,["icon"]),c(w,{class:"mb-6","has-table":""},{default:u(()=>[o.length?(s(),h(U,{key:0,machines:o})):$("",!0),o.length?$("",!0):(s(),h(F,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{S as default};
import{J as g,z as m,o as s,c as p,b as a,F as b,r as k,t as l,g as n,a as c,w as u,l as P,d as h,p as y,ai as D,ac as N,e as x,k as I,f as L,_ as w,h as $,i as M,aa as V}from"./index.49bfadcb.js";import{_ as E}from"./ArcadeCard.d52b5351.js";import{C as F}from"./CardBoxComponentEmpty.1ecaf60a.js";import"./area.7873ab93.js";const J=a("thead",null,[a("tr",null,[a("th",null,"Name"),a("th",null,"PCBID"),a("th",null,"Cabinet?"),a("th",null,"Updates?")])],-1),A={"data-label":"Name"},G={"data-label":"PCBID"},O={"data-label":"Cabinet?"},R={"data-label":"Updates?"},T={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},U={__name:"TableMachine",props:{machines:{type:Object,required:!0}},setup(v){const d=v,r=g(8),t=g(0),o=m(()=>d.machines.slice(r.value*t.value,r.value*(t.value+1))),i=m(()=>Math.ceil(d.machines.length/r.value)),C=m(()=>t.value+1),B=m(()=>{const f=[];for(let _=0;_<i.value;_++)f.push(_);return f});return(f,_)=>(s(),p(b,null,[a("table",null,[J,a("tbody",null,[(s(!0),p(b,null,k(n(o),e=>(s(),p("tr",{key:e.id},[a("td",A,l(e.name),1),a("td",G,l(e.pcbid),1),a("td",O,l(e.cabinet?"Yes":"No"),1),a("td",R,l(e.ota?"Yes":"No"),1)]))),128))])]),a("div",T,[c(D,null,{default:u(()=>[c(P,null,{default:u(()=>[(s(!0),p(b,null,k(n(B),e=>(s(),h(y,{key:e,active:e===t.value,label:e+1,color:e===t.value?"lightDark":"whiteDark",small:"",onClick:Y=>t.value=e},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+l(n(C))+" of "+l(n(i)),1)]),_:1})])],64))}},S={__name:"MachinesView",setup(v){const d=I(),r=parseInt(d.params.id),t=N.find(i=>i.id===r),o=[{id:0,pcbid:"1A2B3C4D0000",name:"Test PCBID",ota:!1,cabinet:!1},{id:1,pcbid:"1E2R3G3F4JJ0",name:"Other PCBID",ota:!0,cabinet:!0}];return(i,C)=>(s(),h(x,null,{default:u(()=>[c(M,null,{default:u(()=>[c(E,{class:"mb-6","arcade-data":n(t)},null,8,["arcade-data"]),c(L,{icon:n(V),title:"Machines",main:""},null,8,["icon"]),c(w,{class:"mb-6","has-table":""},{default:u(()=>[o.length?(s(),h(U,{key:0,machines:o})):$("",!0),o.length?$("",!0):(s(),h(F,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{S as default};

View File

@@ -1,4 +1,4 @@
import{u as m,o as a,c as p,a as o,w as l,b as r,t as _,n as f,_ as g,d as n,e as h,f as b,g as s,r as v,F as y,h as k,i as w,m as x}from"./index.a2955c9a.js";import{C as N}from"./CardBoxComponentEmpty.847f61e8.js";import{t as C}from"./news.b9c16f1f.js";const $={class:"outline outline-green-900/50 hover:outline hover:outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950/90 bg-white dark:bg-slate-900/90 rounded-xl p-4 h-full w-full transition-all duration-50"},S=r("p",{class:"text-sm font-bold"},"Unread",-1),B={class:"text-sm"},V=r("hr",{class:"pb-1"},null,-1),q={class:"text-xl pb-2"},z={__name:"CardBoxNews",props:{title:{type:String,required:!0},content:{type:String,required:!0},cover:{type:String,default:null},date:{type:String,required:!0},id:{type:Number,required:!0}},setup(i){const e=i,c=m();function u(d){if(d!==null)return`
import{u as m,o as a,c as p,a as o,w as l,b as r,t as _,n as f,_ as g,d as n,e as h,f as b,g as s,r as v,F as y,h as k,i as w,m as x}from"./index.49bfadcb.js";import{C as N}from"./CardBoxComponentEmpty.1ecaf60a.js";import{t as C}from"./news.b9c16f1f.js";const $={class:"outline outline-green-900/50 hover:outline hover:outline-blue-500/50 hover:bg-slate-500 hover:dark:bg-slate-950/90 bg-white dark:bg-slate-900/90 rounded-xl p-4 h-full w-full transition-all duration-50"},S=r("p",{class:"text-sm font-bold"},"Unread",-1),B={class:"text-sm"},V=r("hr",{class:"pb-1"},null,-1),q={class:"text-xl pb-2"},z={__name:"CardBoxNews",props:{title:{type:String,required:!0},content:{type:String,required:!0},cover:{type:String,default:null},date:{type:String,required:!0},id:{type:Number,required:!0}},setup(i){const e=i,c=m();function u(d){if(d!==null)return`
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .6)),
url('${e.cover}');
background-size: cover;

View File

@@ -1 +1 @@
import{J as y,z as h,o as s,c as p,b as a,F as v,r as P,t as c,g as e,a as r,w as i,l as L,d as o,p as D,ai as T,ac as w,e as A,k as E,f as $,_ as C,h as f,i as I,ap as M,aq as R}from"./index.a2955c9a.js";import{_ as S}from"./ArcadeCard.e5e8de80.js";import{C as V}from"./CardBoxComponentEmpty.847f61e8.js";import"./area.7873ab93.js";const N=a("thead",null,[a("tr",null,[a("th",null,"User"),a("th",null,"Value"),a("th",null,"Machine"),a("th",null,"Reason"),a("th",null,"Timestamp")])],-1),q={"data-label":"User"},z={"data-label":"Value"},F={"data-label":"Machine"},H={"data-label":"Reason"},U={"data-label":"Timestamp"},j={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},x={__name:"TablePaseli",props:{transactions:{type:Object,required:!0}},setup(g){const _=g,u=y(8),l=y(0),n=h(()=>_.transactions.slice(u.value*l.value,u.value*(l.value+1))),d=h(()=>Math.ceil(_.transactions.length/u.value)),k=h(()=>l.value+1),B=h(()=>{const b=[];for(let m=0;m<d.value;m++)b.push(m);return b});return(b,m)=>(s(),p(v,null,[a("table",null,[N,a("tbody",null,[(s(!0),p(v,null,P(e(n),t=>(s(),p("tr",{key:t.id},[a("td",q,c(t.user),1),a("td",z,c(t.value),1),a("td",F,c(t.machine),1),a("td",H,c(t.reason),1),a("td",U,c(t.timestamp),1)]))),128))])]),a("div",j,[r(T,null,{default:i(()=>[r(L,null,{default:i(()=>[(s(!0),p(v,null,P(e(B),t=>(s(),o(D,{key:t,active:t===l.value,label:t+1,color:t===l.value?"lightDark":"whiteDark",small:"",onClick:J=>l.value=t},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+c(e(k))+" of "+c(e(d)),1)]),_:1})])],64))}},Q={__name:"PaseliView",setup(g){const _=E(),u=parseInt(_.params.id),l=w.find(d=>d.id===u);var n=[{id:0,value:-300,timestamp:"7/13/2023 1:27 PM",machine:"SDVX",reason:"/eacoin/nstart",user:"Trmazi"}];return(d,k)=>(s(),o(A,null,{default:i(()=>[r(I,null,{default:i(()=>[r(S,{class:"mb-6","arcade-data":e(l)},null,8,["arcade-data"]),r($,{icon:e(M),title:"Player PASELI Balances",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(x,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(V,{key:1}))]),_:1}),r($,{icon:e(R),title:"PASELI Transaction History",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(x,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(V,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{Q as default};
import{J as y,z as h,o as s,c as p,b as a,F as v,r as P,t as c,g as e,a as r,w as i,l as L,d as o,p as D,ai as T,ac as w,e as A,k as E,f as $,_ as C,h as f,i as I,ap as M,aq as R}from"./index.49bfadcb.js";import{_ as S}from"./ArcadeCard.d52b5351.js";import{C as V}from"./CardBoxComponentEmpty.1ecaf60a.js";import"./area.7873ab93.js";const N=a("thead",null,[a("tr",null,[a("th",null,"User"),a("th",null,"Value"),a("th",null,"Machine"),a("th",null,"Reason"),a("th",null,"Timestamp")])],-1),q={"data-label":"User"},z={"data-label":"Value"},F={"data-label":"Machine"},H={"data-label":"Reason"},U={"data-label":"Timestamp"},j={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},x={__name:"TablePaseli",props:{transactions:{type:Object,required:!0}},setup(g){const _=g,u=y(8),l=y(0),n=h(()=>_.transactions.slice(u.value*l.value,u.value*(l.value+1))),d=h(()=>Math.ceil(_.transactions.length/u.value)),k=h(()=>l.value+1),B=h(()=>{const b=[];for(let m=0;m<d.value;m++)b.push(m);return b});return(b,m)=>(s(),p(v,null,[a("table",null,[N,a("tbody",null,[(s(!0),p(v,null,P(e(n),t=>(s(),p("tr",{key:t.id},[a("td",q,c(t.user),1),a("td",z,c(t.value),1),a("td",F,c(t.machine),1),a("td",H,c(t.reason),1),a("td",U,c(t.timestamp),1)]))),128))])]),a("div",j,[r(T,null,{default:i(()=>[r(L,null,{default:i(()=>[(s(!0),p(v,null,P(e(B),t=>(s(),o(D,{key:t,active:t===l.value,label:t+1,color:t===l.value?"lightDark":"whiteDark",small:"",onClick:J=>l.value=t},null,8,["active","label","color","onClick"]))),128))]),_:1}),a("small",null,"Page "+c(e(k))+" of "+c(e(d)),1)]),_:1})])],64))}},Q={__name:"PaseliView",setup(g){const _=E(),u=parseInt(_.params.id),l=w.find(d=>d.id===u);var n=[{id:0,value:-300,timestamp:"7/13/2023 1:27 PM",machine:"SDVX",reason:"/eacoin/nstart",user:"Trmazi"}];return(d,k)=>(s(),o(A,null,{default:i(()=>[r(I,null,{default:i(()=>[r(S,{class:"mb-6","arcade-data":e(l)},null,8,["arcade-data"]),r($,{icon:e(M),title:"Player PASELI Balances",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(x,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(V,{key:1}))]),_:1}),r($,{icon:e(R),title:"PASELI Transaction History",main:""},null,8,["icon"]),r(C,{class:"mb-6","has-table":""},{default:i(()=>[e(n).length?(s(),o(x,{key:0,transactions:e(n)},null,8,["transactions"])):f("",!0),e(n).length?f("",!0):(s(),o(V,{key:1}))]),_:1})]),_:1})]),_:1}))}};export{Q as default};

View File

@@ -1,5 +0,0 @@
import{s as y,am as x,d as n,w as m,e as $,k as B,u as A,o,a as r,b as d,p as _,g as i,c,h as t,n as C,f as h,_ as P,F as N,r as F,i as G,q as z,au as E,W as R}from"./index.a2955c9a.js";import{_ as I}from"./ProfileCard.ccfd8d4f.js";import{_ as T}from"./FormField.d29874fa.js";import{_ as D}from"./FormCheckRadio.f5f9d79c.js";import{_ as p}from"./FormControl.8829c0d6.js";import"./userData.bcc92478.js";const L={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},U={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},W=d("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),j={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},q={class:"w-full"},H={key:2},M={class:"space-x-2"},ee={__name:"PlayerView",setup(O){const b=B(),k=A();var f=null,s=null;const l=y({currentVersion:null}),w=[{id:"username",name:"Username",help:"Set your username for this profile",type:String},{id:"fastSlow",name:"Fast/Slow Display",help:"Enable or disable displaying of Fast/Slow",type:Boolean},{id:"comboPosition",name:"Combo Position",help:"Change order of the combo and notes",type:Boolean},{id:"weight",name:"Weight (kg)",help:"Set your weight for in-game workout mode",type:Number},{id:"dancer",name:"Character",help:"Set your background dancer",type:Array,options:[{id:0,label:"Afro"},{id:1,label:"Emi"}]},{id:"arrow",name:"Arrow Skin",help:"Set your arrow skin",type:Array,options:[{id:0,label:"Normal"},{id:1,label:"Classic"}]}],g={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},a=y({username:"TRMAZI",fastSlow:!0,comboPosition:!1,weight:100,dancer:0,arrow:1,guideLines:0,filter:3});f=b.params.game,s=x(f),s||k.push({name:"ErrorPage",params:{catchAll:"404"}}),s.versions||(l.currentVersion=1);function V(){var u=null;return l.currentVersion?u=`/assets/games/${s.id}/card/${l.currentVersion}.png`:u=s.cardBG,u}function S(){return`
background-image: url('${V()}');
background-size: cover;
background-repeat: no-repeat;
`}return(u,v)=>(o(),n($,null,{default:m(()=>[r(G,null,{default:m(()=>[d("div",L,[r(_,{icon:i(z),href:`/#/games/${i(f)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),i(s).versions?(o(),c("div",U,[W,r(p,{modelValue:l.currentVersion,"onUpdate:modelValue":v[0]||(v[0]=e=>l.currentVersion=e),options:i(s).versions},null,8,["modelValue","options"])])):t("",!0)]),l.currentVersion?(o(),c("div",{key:0,style:C(S()),class:"rounded-2xl mb-6"},[d("div",j,[d("div",q,[r(I,{"use-small":"",profile:g})])])],4)):t("",!0),r(h,{icon:i(E),title:"View Profile",main:""},null,8,["icon"]),l.currentVersion?(o(),n(h,{key:1,icon:i(R),title:"Profile Customizations",main:""},null,8,["icon"])):t("",!0),l.currentVersion?(o(),c("div",H,[r(P,null,{footer:m(()=>[d("div",M,[r(_,{type:"submit",color:"success",label:"Save"}),r(_,{type:"submit",color:"danger",label:"Revert"})])]),default:m(()=>[d("div",null,[(o(),c(N,null,F(w,e=>r(T,{key:e.id,label:e.name,help:e.help},{default:m(()=>[e.type==String?(o(),n(p,{key:0,"v-model":a[e.id],"model-value":a[e.id]},null,8,["v-model","model-value"])):t("",!0),e.type==Number?(o(),n(p,{key:1,"v-model":a[e.id],"model-value":a[e.id],type:"number"},null,8,["v-model","model-value"])):t("",!0),e.type==Array?(o(),n(p,{key:2,options:e.options,"v-model":a[e.id],"model-value":a[e.id],selected:a[e.id]},null,8,["options","v-model","model-value","selected"])):t("",!0),e.type==Boolean?(o(),n(D,{key:3,"v-model":a[e.id],"model-value":a[e.id],type:"switch"},null,8,["v-model","model-value"])):t("",!0)]),_:2},1032,["label","help"])),64))])]),_:1})])):t("",!0)]),_:1})]),_:1}))}};export{ee as default};

View File

@@ -0,0 +1,5 @@
var N=Object.defineProperty;var V=(s,a,i)=>a in s?N(s,a,{enumerable:!0,configurable:!0,writable:!0,value:i}):s[a]=i;var f=(s,a,i)=>(V(s,typeof a!="symbol"?a+"":a,i),i);import{s as I,am as x,d as $,w as c,e as w,k as K,u as C,o as m,a as o,b as u,p as B,g as d,c as y,h as g,f as J,F as G,r as X,n as L,i as T,q as z,av as j,a2 as F,D as O,X as R,t as p}from"./index.49bfadcb.js";import{_ as A,g as E,a as q}from"./ProfileCard.b0fcd669.js";import{_ as U}from"./FormControl.1a09880b.js";import"./userData.bcc92478.js";class k{}f(k,"danList",[{id:100,label:"7th Kyu (\u4E03\u7D1A)",short:"\u4E03\u7D1A"},{id:200,label:"6th Kyu (\u516D\u7D1A)",short:"\u516D\u7D1A"},{id:300,label:"5th Kyu (\u4E94\u7D1A)",short:"\u4E94\u7D1A"},{id:400,label:"4th Kyu (\u56DB\u7D1A)",short:"\u56DB\u7D1A"},{id:500,label:"3rd Kyu (\u4E09\u7D1A)",short:"\u4E09\u7D1A"},{id:600,label:"2nd Kyu (\u4E8C\u7D1A)",short:"\u4E8C\u7D1A"},{id:700,label:"1st Kyu (\u4E00\u7D1A)",short:"\u4E00\u7D1A"},{id:800,label:"1st Dan (\u521D\u6BB5)",short:"\u521D\u6BB5"},{id:900,label:"2nd Dan (\u4E8C\u6BB5)",short:"\u4E8C\u6BB5"},{id:1e3,label:"3rd Dan (\u4E09\u6BB5)",short:"\u4E09\u6BB5"},{id:1100,label:"4th Dan (\u56DB\u6BB5)",short:"\u56DB\u6BB5"},{id:1200,label:"5th Dan (\u4E94\u6BB5)",short:"\u4E94\u6BB5"},{id:1300,label:"6th Dan (\u516D\u6BB5)",short:"\u516D\u6BB5"},{id:1400,label:"7th Dan (\u4E03\u6BB5)",short:"\u4E03\u6BB5"},{id:1500,label:"8th Dan (\u516B\u6BB5)",short:"\u516B\u6BB5"},{id:1600,label:"9th Dan (\u4E5D\u6BB5)",short:"\u4E5D\u6BB5"},{id:1700,label:"10th Dan (\u5341\u6BB5)",short:"\u5341\u6BB5"},{id:1800,label:"Chuuden (\u4E2D\u4F1D)",short:"\u4E2D\u4F1D"},{id:1900,label:"Kaiden (\u7686\u4F1D)",short:"\u7686\u4F1D"}]);function Y(s){var a=k.danList.find(i=>i.id==s);return a||(a={id:0,label:"--",short:"--"}),a}const H={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},M={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},Q=u("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),W={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},Z={class:"w-full"},ee={class:"my-6 grid grid-cols-1 md:grid-cols-4 gap-6"},re={__name:"PlayerView",setup(s){const a=K(),i=C();var b=null,r=null;const n=I({currentVersion:null}),t={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"},stats:{firstPlay:"1/14/2021",singlePlays:165,singleDan:1900,singlePoint:1877,doublePlays:15,doubleDan:0,doublePoint:187,skillPoints:193090,jubility:7600}},_=[{id:0,label:"Register Date",type:String,span:"md:col-span-2",key:"firstPlay"},{id:1,label:"Single Plays",type:Number,key:"singlePlays"},{id:2,label:"Single Dan",type:String,key:"singleDan",isIIDXDan:!0},{id:3,label:"Single DJ POINT",type:Number,key:"singlePoint"},{id:4,label:"Double Plays",type:Number,key:"doublePlays"},{id:5,label:"Double Dan",type:String,key:"doubleDan",isIIDXDan:!0},{id:6,label:"Double DJ POINT",type:Number,key:"doublePoint"},{id:7,label:"SKILL Points",type:Number,key:"skillPoints",isSkill:!0},{id:8,label:"Jubility",type:Number,key:"jubility",isJubility:!0}];b=a.params.game,r=x(b),r||i.push({name:"ErrorPage",params:{catchAll:"404"}}),r.versions||(n.currentVersion=1);function D(){var e=null;return n.currentVersion?e=`/assets/games/${r.id}/card/${n.currentVersion}.png`:e=r.cardBG,e}function v(){return`
background-image: url('${D()}');
background-size: cover;
background-repeat: no-repeat;
`}function P(e){return e.isSkill?t.stats[e.key]/100:e.isJubility?t.stats[e.key]/10:t.stats[e.key]}function S(e){return e.isSkill?E(t.stats[e.key]):e.isJubility?q(t.stats[e.key]):""}return(e,h)=>(m(),$(w,null,{default:c(()=>[o(T,null,{default:c(()=>[u("div",H,[o(B,{icon:d(z),href:`/#/games/${d(b)}`,class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"]),d(r).versions?(m(),y("div",M,[Q,o(U,{modelValue:n.currentVersion,"onUpdate:modelValue":h[0]||(h[0]=l=>n.currentVersion=l),options:d(r).versions},null,8,["modelValue","options"])])):g("",!0)]),o(J,{icon:d(j),title:"View Profile",main:""},null,8,["icon"]),n.currentVersion?(m(),y("div",{key:0,style:L(v()),class:"rounded-2xl mb-6"},[u("div",W,[u("div",Z,[o(A,{"use-small":"",profile:t},{default:c(()=>[u("div",ee,[(m(),y(G,null,X(_,l=>o(F,{key:l.id,class:O(l.span),label:l.label,number:l.type==Number?P(l):e.None,"num-color":S(l)},{default:c(()=>[R(p(l.type==String&&!l.isIIDXDan&&!l.isSkill?t.stats[l.key]:e.None)+" "+p(l.type==String&&l.isIIDXDan?d(Y)(t.stats[l.key]).label:e.None),1)]),_:2},1032,["class","label","number","num-color"])),64))])]),_:1})])])],4)):g("",!0)]),_:1})]),_:1}))}};export{re as default};

View File

@@ -1,2 +1,2 @@
import{d as h,w as e,e as p,k as x,o,a,T as w,_ as k,l as N,p as B,g as t,b as s,c as l,t as r,F as $,r as g,i as v,u as b,q as y}from"./index.a2955c9a.js";import{t as D}from"./news.b9c16f1f.js";const V={class:"flex flex-col items-center"},C=["src"],F={class:"text-left md:text-center"},I={class:"text-2xl"},R=s("hr",{class:"pb-1 my-2"},null,-1),T=s("br",null,null,-1),q={key:1},z=s("h1",{class:"text-2xl"},"News not found...",-1),E=[z],G={__name:"PostView",setup(L){const _=x(),d=b(),u=parseInt(_.params.id),n=D.find(c=>c.id===u),f=n.content.split(`
import{d as h,w as e,e as p,k as x,o,a,T as w,_ as k,l as N,p as B,g as t,b as s,c as l,t as r,F as $,r as g,i as v,u as b,q as y}from"./index.49bfadcb.js";import{t as D}from"./news.b9c16f1f.js";const V={class:"flex flex-col items-center"},C=["src"],F={class:"text-left md:text-center"},I={class:"text-2xl"},R=s("hr",{class:"pb-1 my-2"},null,-1),T=s("br",null,null,-1),q={key:1},z=s("h1",{class:"text-2xl"},"News not found...",-1),E=[z],G={__name:"PostView",setup(L){const _=x(),d=b(),u=parseInt(_.params.id),n=D.find(c=>c.id===u),f=n.content.split(`
`);function m(){d.push("/news")}return(c,S)=>(o(),h(p,null,{default:e(()=>[a(v,null,{default:e(()=>[a(w,null,{default:e(()=>[a(k,{"has-table":""},{footer:e(()=>[a(N,null,{default:e(()=>[a(B,{label:"News",color:"info",icon:t(y),"icon-size":"20",onClick:m},null,8,["icon"])]),_:1})]),default:e(()=>[s("div",V,[s("img",{src:t(n).cover,class:"rounded-t-2xl md:rounded-2xl md:w-1/2 md:m-4"},null,8,C)]),t(n)?(o(),l("div",{key:t(n).id,class:"flex flex-col items-center p-4"},[s("div",F,[s("h1",I,r(t(n).title),1),R,(o(!0),l($,null,g(t(f),i=>(o(),l("div",{key:i},[s("p",null,r(i),1),T]))),128))])])):(o(),l("div",q,E))]),_:1})]),_:1})]),_:1})]),_:1}))}};export{G as default};

View File

@@ -0,0 +1 @@
var g=Object.defineProperty;var y=(e,t,l)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l;var m=(e,t,l)=>(y(e,typeof t!="symbol"?t+"":t,l),l);import{o as a,c as d,b as i,h as c,D as b,t as r,g as s,X as x,d as f,at as h,p as u,au as p,G as k,F as v}from"./index.49bfadcb.js";import{d as S}from"./userData.bcc92478.js";class n{}m(n,"gitadoraSkill",[{id:1,min:0,max:99999,color:"text-white"},{id:2,min:1e5,max:149999,color:"text-orange-500"},{id:3,min:15e4,max:199999,color:"text-orange-600"},{id:4,min:2e5,max:249999,color:"text-yellow-400"},{id:5,min:25e4,max:299999,color:"text-yellow-500"},{id:6,min:3e5,max:349999,color:"text-green-500"},{id:7,min:35e4,max:399999,color:"text-lime-500"},{id:8,min:4e5,max:449999,color:"text-blue-500"},{id:9,min:45e4,max:499999,color:"text-cyan-500"},{id:10,min:5e5,max:549999,color:"text-purple-600"},{id:11,min:55e4,max:599999,color:"text-purple-500"},{id:12,min:6e5,max:649999,color:"text-red-500"},{id:13,min:65e4,max:699999,color:"text-red-700"},{id:14,min:7e5,max:749999,color:"text-amber-600"},{id:15,min:75e4,max:799999,color:"text-stone-400"},{id:16,min:8e5,max:849999,color:"text-yellow-500"},{id:17,min:85e4,max:999999,color:"text-transparent bg-clip-text bg-gradient-to-bl from-green-300 via-blue-500 to-purple-600"}]),m(n,"jubilitySkill",[{id:1,min:0,max:2499,color:"text-white"},{id:2,min:2500,max:7499,color:"text-emerald-500"},{id:3,min:7500,max:14999,color:"text-green-500"},{id:4,min:15e3,max:24999,color:"text-sky-500"},{id:5,min:25e3,max:39999,color:"text-blue-500"},{id:6,min:4e4,max:54999,color:"text-violet-600"},{id:7,min:55e3,max:69999,color:"text-purple-600"},{id:8,min:7e4,max:84999,color:"text-pink-300"},{id:9,min:85e3,max:94999,color:"text-orange-600"},{id:10,min:95e3,max:999999,color:"text-yellow-500"}]);function w(e){var t=n.gitadoraSkill.find(l=>e>=l.min&&l.max>=e);return t.color}function C(e){var t=n.jubilitySkill.find(l=>e>=l.min&&l.max>=e);return t.color}const $={class:"flex content-center justify-center items-center"},j=["src"],B={class:"space-y-2 text-center md:text-left lg:mx-12 p-2"},P={class:"text-xl font-mono"},V={class:"text-md md:text-lg"},D={class:"flex gap-3"},T={__name:"ProfileCard",props:{game:{type:String,default:null},profile:{type:Object,required:!0},useSmall:{type:Boolean,default:!1}},setup(e){const t=e;function l(){if(t.profile.stats){const o=t.profile.stats;if(o.jubility)return C(o.jubility);if(o.skillPoints)return w(o.skillPoints)}}return(o,N)=>(a(),d(v,null,[i("div",$,[e.profile.avatar?(a(),d("img",{key:0,class:"h-40",src:e.profile.avatar},null,8,j)):c("",!0),i("div",B,[i("h1",{class:b([l(),"text-3xl md:text-4xl font-bold"])},r(e.profile.name),3),i("p",P,r(s(S)(e.profile.extid)),1),i("p",V,[x(" Last played at "),i("b",null,r(e.profile.last.arcade),1),x(" on "),i("b",null,r(e.profile.last.date),1)]),i("div",D,[!e.useSmall&&e.game?(a(),f(u,{key:0,icon:s(h),href:`/#/games/${e.game}/profiles/${e.profile.id}`,color:"success",label:"View Profile"},null,8,["icon","href"])):c("",!0),!e.useSmall&&e.game?(a(),f(u,{key:1,icon:s(p),href:`/#/games/${e.game}/profiles/${e.profile.id}/edit`,color:"info",label:"Edit Profile"},null,8,["icon","href"])):c("",!0)])])]),k(o.$slots,"default")],64))}};export{T as _,C as a,w as g};

View File

@@ -1 +0,0 @@
import{o as l,c as s,b as t,h as o,t as a,g as n,X as r,d as i,at as d,p as f,G as m,F as u}from"./index.a2955c9a.js";import{d as x}from"./userData.bcc92478.js";const h={class:"flex content-center justify-center items-center"},g=["src"],y={class:"space-y-2 text-center md:text-left lg:mx-12 p-2"},p={class:"text-3xl md:text-4xl font-bold"},b={class:"text-xl font-mono"},k={class:"text-md md:text-lg"},C={__name:"ProfileCard",props:{game:{type:String,default:null},profile:{type:Object,required:!0},useSmall:{type:Boolean,default:!1}},setup(e){return(c,B)=>(l(),s(u,null,[t("div",h,[e.profile.avatar?(l(),s("img",{key:0,class:"h-40",src:e.profile.avatar},null,8,g)):o("",!0),t("div",y,[t("h1",p,a(e.profile.name),1),t("p",b,a(n(x)(e.profile.extid)),1),t("p",k,[r(" Last played at "),t("b",null,a(e.profile.last.arcade),1),r(" on "),t("b",null,a(e.profile.last.date),1)]),!e.useSmall&&e.game?(l(),i(f,{key:0,icon:n(d),href:`/#/games/${e.game}/profiles/${e.profile.id}`,color:"info",label:"Edit Profile"},null,8,["icon","href"])):o("",!0)])]),m(c.$slots,"default")],64))}};export{C as _};

View File

@@ -1 +1 @@
import{I as v,s as f,d as U,w as s,e as P,o as S,a as e,P as $,f as q,g as t,_ as u,Q as p,R as c,b as w,p as _,S as N,i as A,x as b,U as R,y,V}from"./index.a2955c9a.js";import{_ as r}from"./FormField.d29874fa.js";import{_ as m}from"./FormCheckRadio.f5f9d79c.js";import{_ as i}from"./FormControl.8829c0d6.js";const h={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},M={__name:"ProfileView",setup(k){const d=v(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),n=f({password_current:"",password:"",password_confirmation:""}),g=()=>{d.setUser(l)},x=()=>{};return(B,a)=>(S(),U(P,null,{default:s(()=>[e(A,null,{default:s(()=>[e($,{class:"mb-6","use-small":"","even-smaller":""}),e(q,{icon:t(b),title:"Profile Settings",main:""},null,8,["icon"]),e(u,{"is-form":"",class:"mb-6",onSubmit:a[0]||(a[0]=p(()=>{},["prevent"]))},{default:s(()=>[e(c,{color:"info",label:"Discord Notifications",class:"mb-4"}),w("div",h,[e(m,{name:"goals","model-value":!0,type:"switch",label:"Goal Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"tournaments","model-value":!0,type:"switch",label:"Tournament Status",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"paseli","model-value":!0,type:"switch",label:"PASELI Transactions",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"system","model-value":!0,type:"switch",label:"System Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"})])]),_:1}),w("div",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(g,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(r,{label:"Username"},{default:s(()=>[e(i,{modelValue:l.name,"onUpdate:modelValue":a[1]||(a[1]=o=>l.name=o),icon:t(b),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"E-mail",help:"Used for Gravatar and Password Resetting"},{default:s(()=>[e(i,{modelValue:l.email,"onUpdate:modelValue":a[2]||(a[2]=o=>l.email=o),icon:t(R),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"PIN",help:"Used when logging into a game"},{default:s(()=>[e(i,{modelValue:l.pin,"onUpdate:modelValue":a[3]||(a[3]=o=>l.pin=o),icon:t(y),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Public Profile",help:"Allow your profile to be seen publicly"},{default:s(()=>[e(m,{name:"system","model-value":!0,type:"switch"})]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(r,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:n.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>n.password_current=o),icon:t(y),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(r,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:n.password,"onUpdate:modelValue":a[5]||(a[5]=o=>n.password=o),icon:t(V),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>n.password_confirmation=o),icon:t(V),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{M as default};
import{I as v,s as f,d as U,w as s,e as P,o as S,a as e,P as $,f as q,g as t,_ as u,Q as p,R as c,b as w,p as _,S as N,i as A,x as b,U as R,y,V}from"./index.49bfadcb.js";import{_ as r}from"./FormField.d8177f13.js";import{_ as m}from"./FormCheckRadio.dee6d755.js";import{_ as i}from"./FormControl.1a09880b.js";const h={class:"grid gap-4 grid-cols-2 md:grid-cols-4"},C={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},M={__name:"ProfileView",setup(k){const d=v(),l=f({name:d.userName,email:d.userEmail,pin:"****"}),n=f({password_current:"",password:"",password_confirmation:""}),g=()=>{d.setUser(l)},x=()=>{};return(B,a)=>(S(),U(P,null,{default:s(()=>[e(A,null,{default:s(()=>[e($,{class:"mb-6","use-small":"","even-smaller":""}),e(q,{icon:t(b),title:"Profile Settings",main:""},null,8,["icon"]),e(u,{"is-form":"",class:"mb-6",onSubmit:a[0]||(a[0]=p(()=>{},["prevent"]))},{default:s(()=>[e(c,{color:"info",label:"Discord Notifications",class:"mb-4"}),w("div",h,[e(m,{name:"goals","model-value":!0,type:"switch",label:"Goal Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"tournaments","model-value":!0,type:"switch",label:"Tournament Status",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"paseli","model-value":!0,type:"switch",label:"PASELI Transactions",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"}),e(m,{name:"system","model-value":!0,type:"switch",label:"System Alerts",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"})])]),_:1}),w("div",C,[e(u,{"is-form":"",class:"row-span-1",onSubmit:p(g,["prevent"])},{footer:s(()=>[e(_,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"General",class:"mb-2"}),e(r,{label:"Username"},{default:s(()=>[e(i,{modelValue:l.name,"onUpdate:modelValue":a[1]||(a[1]=o=>l.name=o),icon:t(b),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"E-mail",help:"Used for Gravatar and Password Resetting"},{default:s(()=>[e(i,{modelValue:l.email,"onUpdate:modelValue":a[2]||(a[2]=o=>l.email=o),icon:t(R),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"PIN",help:"Used when logging into a game"},{default:s(()=>[e(i,{modelValue:l.pin,"onUpdate:modelValue":a[3]||(a[3]=o=>l.pin=o),icon:t(y),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Public Profile",help:"Allow your profile to be seen publicly"},{default:s(()=>[e(m,{name:"system","model-value":!0,type:"switch"})]),_:1})]),_:1},8,["onSubmit"]),e(u,{"is-form":"",class:"row-span-2",onSubmit:p(x,["prevent"])},{footer:s(()=>[e(_,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(c,{color:"info",label:"Change Password",class:"mb-2"}),e(r,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(i,{modelValue:n.password_current,"onUpdate:modelValue":a[4]||(a[4]=o=>n.password_current=o),icon:t(y),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(N),e(r,{label:"New password",help:"Required. New password"},{default:s(()=>[e(i,{modelValue:n.password,"onUpdate:modelValue":a[5]||(a[5]=o=>n.password=o),icon:t(V),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(r,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(i,{modelValue:n.password_confirmation,"onUpdate:modelValue":a[6]||(a[6]=o=>n.password_confirmation=o),icon:t(V),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{M as default};

View File

@@ -1 +1 @@
import{d as t,w as n,e as m,o as u,a,f as i,g as e,P as r,_,b as o,p as c,a7 as s,i as d,x as f,a8 as p,a9 as g,aa as A,ab as l}from"./index.a2955c9a.js";const b={class:"flex gap-4"},v={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},R={__name:"PublicView",setup($){return(w,M)=>(u(),t(m,null,{default:n(()=>[a(d,null,{default:n(()=>[a(i,{icon:e(f),title:"Trmazi's Profile",main:""},null,8,["icon"]),a(r,{class:"mb-6","use-small":""}),a(_,{"is-form":"",class:"mb-6"},{default:n(()=>[o("div",b,[a(c,{color:"success",label:"Add Friend",icon:e(p)},null,8,["icon"]),a(c,{color:"danger",label:"Remove Friend",icon:e(g)},null,8,["icon"])])]),_:1}),a(i,{icon:e(A),title:"Game Stats",main:""},null,8,["icon"]),o("div",v,[a(s,{game:e(l).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),a(s,{game:e(l).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),a(s,{game:e(l).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),a(s,{game:e(l).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])])]),_:1})]),_:1}))}};export{R as default};
import{d as t,w as n,e as m,o as u,a,f as i,g as e,P as r,_,b as o,p as c,a7 as s,i as d,x as f,a8 as p,a9 as g,aa as A,ab as l}from"./index.49bfadcb.js";const b={class:"flex gap-4"},v={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},R={__name:"PublicView",setup($){return(w,M)=>(u(),t(m,null,{default:n(()=>[a(d,null,{default:n(()=>[a(i,{icon:e(f),title:"Trmazi's Profile",main:""},null,8,["icon"]),a(r,{class:"mb-6","use-small":""}),a(_,{"is-form":"",class:"mb-6"},{default:n(()=>[o("div",b,[a(c,{color:"success",label:"Add Friend",icon:e(p)},null,8,["icon"]),a(c,{color:"danger",label:"Remove Friend",icon:e(g)},null,8,["icon"])])]),_:1}),a(i,{icon:e(A),title:"Game Stats",main:""},null,8,["icon"]),o("div",v,[a(s,{game:e(l).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),a(s,{game:e(l).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),a(s,{game:e(l).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),a(s,{game:e(l).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])])]),_:1})]),_:1}))}};export{R as default};

View File

@@ -1 +1 @@
import{s as f,d as _,w as t,o as b,b as s,a as l,g as m,p as i,_ as x,v as V,u as w,x as r,y as u}from"./index.a2955c9a.js";import{_ as g}from"./FormCheckRadio.f5f9d79c.js";import{_ as d}from"./FormField.d29874fa.js";import{_ as n}from"./FormControl.8829c0d6.js";import{_ as v}from"./LayoutGuest.537a1424.js";const y={class:"flex md:min-h-screen md:items-center md:justify-center"},h={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=s("div",{class:"flex flex-col items-center text-wrap h-full"},[s("img",{src:V,class:"rounded-full shadow-lg mb-2"}),s("h1",{class:"text-xl"},[s("samp",null,"PhaseII")]),s("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),s("hr",{class:"border-t border-1 my-1 w-full"}),s("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=s("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},k={class:"col-span-2"},C={class:"flex flex-col gap-2 mt-4"},I=s("hr",{class:"border-t border-1 my-4 w-full"},null,-1),P={class:"flex flex-col gap-2 my-4"},R=s("h2",null,"Have an Account?",-1),L={__name:"RegisterView",setup(B){const a=f({username:"",email:"",pass:"",remember:!0}),c=w(),p=()=>{c.push("/")};return(N,e)=>(b(),_(v,null,{default:t(()=>[s("div",y,[l(x,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[s("div",h,[U,$,s("div",A,[l(d,{label:"Desired Username"},{default:t(()=>[l(n,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=o=>a.username=o),icon:m(r),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[1]||(e[1]=o=>a.email=o),icon:m(r),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[2]||(e[2]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[3]||(e[3]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[4]||(e[4]=o=>a.email=o),icon:m(r),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[5]||(e[5]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(g,{modelValue:a.remember,"onUpdate:modelValue":e[6]||(e[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),s("div",k,[s("div",C,[l(i,{label:"Create Account",color:"success",onClick:e[7]||(e[7]=o=>p())})]),I,s("div",P,[R,l(i,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{L as default};
import{s as f,d as _,w as t,o as b,b as s,a as l,g as m,p as i,_ as x,v as V,u as w,x as r,y as u}from"./index.49bfadcb.js";import{_ as g}from"./FormCheckRadio.dee6d755.js";import{_ as d}from"./FormField.d8177f13.js";import{_ as n}from"./FormControl.1a09880b.js";import{_ as v}from"./LayoutGuest.b8c99ff7.js";const y={class:"flex md:min-h-screen md:items-center md:justify-center"},h={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},U=s("div",{class:"flex flex-col items-center text-wrap h-full"},[s("img",{src:V,class:"rounded-full shadow-lg mb-2"}),s("h1",{class:"text-xl"},[s("samp",null,"PhaseII")]),s("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),s("hr",{class:"border-t border-1 my-1 w-full"}),s("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),$=s("div",{class:"md:border-r md:border-1"},null,-1),A={class:"grid grid-cols-2 gap-x-2"},k={class:"col-span-2"},C={class:"flex flex-col gap-2 mt-4"},I=s("hr",{class:"border-t border-1 my-4 w-full"},null,-1),P={class:"flex flex-col gap-2 my-4"},R=s("h2",null,"Have an Account?",-1),L={__name:"RegisterView",setup(B){const a=f({username:"",email:"",pass:"",remember:!0}),c=w(),p=()=>{c.push("/")};return(N,e)=>(b(),_(v,null,{default:t(()=>[s("div",y,[l(x,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[s("div",h,[U,$,s("div",A,[l(d,{label:"Desired Username"},{default:t(()=>[l(n,{modelValue:a.username,"onUpdate:modelValue":e[0]||(e[0]=o=>a.username=o),icon:m(r),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[1]||(e[1]=o=>a.email=o),icon:m(r),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[2]||(e[2]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[3]||(e[3]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(n,{modelValue:a.email,"onUpdate:modelValue":e[4]||(e[4]=o=>a.email=o),icon:m(r),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(n,{modelValue:a.pass,"onUpdate:modelValue":e[5]||(e[5]=o=>a.pass=o),icon:m(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(g,{modelValue:a.remember,"onUpdate:modelValue":e[6]||(e[6]=o=>a.remember=o),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),s("div",k,[s("div",C,[l(i,{label:"Create Account",color:"success",onClick:e[7]||(e[7]=o=>p())})]),I,s("div",P,[R,l(i,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{L as default};

View File

@@ -1 +1 @@
import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as n,_,v as f,u as p,x}from"./index.a2955c9a.js";import{_ as h}from"./FormField.d29874fa.js";import{_ as b}from"./FormControl.8829c0d6.js";import{_ as w}from"./LayoutGuest.537a1424.js";const g={class:"flex md:min-h-screen md:items-center md:justify-center"},v={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},y=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:f,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Password Reset")],-1),V=e("div",{class:"md:border-r md:border-1"},null,-1),$={class:"flex flex-col gap-2 mt-4"},k=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),j={__name:"ResetView",setup(I){const o=c({login:"test@website.com"}),r=p(),i=()=>{r.push("/auth/login")};return(A,l)=>(m(),d(w,null,{default:t(()=>[e("div",g,[s(_,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",v,[y,V,e("div",null,[s(h,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:u(x),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(n,{label:"Submit",color:"info",onClick:l[1]||(l[1]=a=>i())})]),k,e("div",R,[B,s(n,{label:"Log In",color:"success",href:"/#/auth/login"})])])])]),_:1})])]),_:1}))}};export{j as default};
import{s as c,d,w as t,o as m,b as e,a as s,g as u,p as n,_,v as f,u as p,x}from"./index.49bfadcb.js";import{_ as h}from"./FormField.d8177f13.js";import{_ as b}from"./FormControl.1a09880b.js";import{_ as w}from"./LayoutGuest.b8c99ff7.js";const g={class:"flex md:min-h-screen md:items-center md:justify-center"},v={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},y=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:f,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"Password Reset")],-1),V=e("div",{class:"md:border-r md:border-1"},null,-1),$={class:"flex flex-col gap-2 mt-4"},k=e("hr",{class:"border-t border-1 my-4 w-full"},null,-1),R={class:"flex flex-col gap-2 my-4"},B=e("h2",null,"Remember it?",-1),j={__name:"ResetView",setup(I){const o=c({login:"test@website.com"}),r=p(),i=()=>{r.push("/auth/login")};return(A,l)=>(m(),d(w,null,{default:t(()=>[e("div",g,[s(_,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:t(()=>[e("div",v,[y,V,e("div",null,[s(h,{label:"Email Address"},{default:t(()=>[s(b,{modelValue:o.login,"onUpdate:modelValue":l[0]||(l[0]=a=>o.login=a),icon:u(x),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e("div",$,[s(n,{label:"Submit",color:"info",onClick:l[1]||(l[1]=a=>i())})]),k,e("div",R,[B,s(n,{label:"Log In",color:"success",href:"/#/auth/login"})])])])]),_:1})])]),_:1}))}};export{j as default};

View File

@@ -1,5 +0,0 @@
import{I as L,z as v,J as I,o as s,c as m,b as e,F as w,r as D,a,p as $,g as r,w as c,l as A,d as h,t as x,ai as G,s as C,am as z,e as F,k as M,u as T,h as k,n as E,f as P,_ as R,i as N,q as U,av as j,aw as H}from"./index.a2955c9a.js";import{_ as Y}from"./ProfileCard.ccfd8d4f.js";import{_ as Z}from"./FormField.d29874fa.js";import{_ as S}from"./FormControl.8829c0d6.js";import"./userData.bcc92478.js";const q=e("thead",null,[e("tr",null,[e("th",null,"Player"),e("th",null,"Rival ID"),e("th")])],-1),J=e("td",{"data-label":"Player"},"TRMAZI",-1),O=e("td",{"data-label":"Rival ID"},"1234-5678",-1),K={class:"p-3 lg:px-6 border-t border-gray-100 dark:border-slate-800"},Q={__name:"TableRivals",setup(B){const V=L(),g=v(()=>V.clients),u=I(5),t=I(0),y=v(()=>g.value.slice(u.value*t.value,u.value*(t.value+1))),p=v(()=>Math.ceil(g.value.length/u.value)),l=v(()=>t.value+1),o=v(()=>{const f=[];for(let _=0;_<p.value;_++)f.push(_);return f});return(f,_)=>(s(),m(w,null,[e("table",null,[q,e("tbody",null,[(s(!0),m(w,null,D(r(y),n=>(s(),m("tr",{key:n.id},[J,O,e("td",null,[a($,{label:"Remove Rival",color:"danger"})])]))),128))])]),e("div",K,[a(G,null,{default:c(()=>[a(A,null,{default:c(()=>[(s(!0),m(w,null,D(r(o),n=>(s(),h($,{key:n,active:n===t.value,label:n+1,color:n===t.value?"lightDark":"whiteDark",small:"",onClick:i=>t.value=n},null,8,["active","label","color","onClick"]))),128))]),_:1}),e("small",null,"Page "+x(r(l))+" of "+x(r(p)),1)]),_:1})])],64))}},W={class:"md:flex pb-6 md:px-5 md:space-x-10 md:justify-between md:items-center"},X={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},ee=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),te={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},ae={class:"w-full"},se={class:"grid gap-3"},le={class:"flex justify-between items-center"},re={class:"flex"},ne=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),oe={class:"grid"},ie={class:"text-lg"},ce={class:"text-md font-mono"},ve={__name:"RivalsView",setup(B){const V=M(),g=T();var u=null,t=null;const y={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},p=[{id:1,name:"TRMAZI",rivalID:"1234-5678"},{id:2,name:"BLADE",rivalID:"1454-5687"},{id:3,name:"HO!",rivalID:"5364-5568"}],l=C({currentVersion:null}),o=C({filter:null});u=V.params.game,t=z(u),t.versions||(l.currentVersion=1),t||g.push({name:"ErrorPage",params:{catchAll:"404"}});function f(){if(o.filter)return p.filter(i=>i.name.toLowerCase().includes(o.filter.toLowerCase())||i.rivalID.toLowerCase().includes(o.filter.toLowerCase()))}function _(){var i=null;return l.currentVersion?i=`/assets/games/${t.id}/card/${l.currentVersion}.png`:i=t.cardBG,i}function n(){return`
background-image: url('${_()}');
background-size: cover;
background-repeat: no-repeat;
`}return(i,b)=>(s(),h(F,null,{default:c(()=>[a(N,null,{default:c(()=>[e("div",W,[e("div",null,[a($,{icon:r(U),href:"/#/games/"+r(u),class:"w-full md:w-auto",color:"info",label:"Go Back"},null,8,["icon","href"])]),r(t).versions?(s(),m("div",X,[ee,a(S,{modelValue:l.currentVersion,"onUpdate:modelValue":b[0]||(b[0]=d=>l.currentVersion=d),options:r(t).versions},null,8,["modelValue","options"])])):k("",!0)]),l.currentVersion?(s(),m("div",{key:0,style:E(n()),class:"rounded-2xl mb-6"},[e("div",te,[e("div",ae,[a(Y,{"use-small":"",profile:y})])])],4)):k("",!0),a(P,{icon:r(j),title:"Add a Rival",main:""},null,8,["icon"]),l.currentVersion?(s(),h(R,{key:1,class:"mb-6"},{default:c(()=>[a(Z,{label:"Search",help:"Search by username or Rival ID to add a rival.",class:"w-full md:w-1/3"},{default:c(()=>[a(S,{modelValue:o.filter,"onUpdate:modelValue":b[1]||(b[1]=d=>o.filter=d),"model-value":o.filter,placeholder:"1234-5678"},null,8,["modelValue","model-value"])]),_:1}),e("div",se,[(s(!0),m(w,null,D(f(),d=>(s(),h(R,{key:d.id},{default:c(()=>[e("div",le,[e("div",re,[ne,e("div",oe,[e("h1",ie,x(d.name),1),e("h2",ce,x(d.rivalID),1)])]),a($,{label:"Add Rival",color:"success"})])]),_:2},1024))),128))])]),_:1})):k("",!0),a(P,{icon:r(H),title:"Rivals",main:""},null,8,["icon"]),l.currentVersion?(s(),h(R,{key:2,"has-table":"",class:"mb-6"},{default:c(()=>[a(Q)]),_:1})):k("",!0)]),_:1})]),_:1}))}};export{ve as default};

View File

@@ -0,0 +1,5 @@
import{s as p,am as S,d as c,w as r,e as B,k as L,u as A,o as i,a as t,b as e,g as m,c as u,h as _,n as F,f as w,_ as f,r as x,F as b,i as G,aw as j,t as g,p as k,ax as z}from"./index.49bfadcb.js";import{_ as E}from"./ProfileCard.b0fcd669.js";import{_ as N}from"./FormField.d8177f13.js";import{_ as V}from"./FormControl.1a09880b.js";import"./userData.bcc92478.js";const U={class:"md:flex md:justify-end pb-6 items-center"},Y={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},P=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),T={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},H={class:"w-full"},M={class:"grid gap-3"},O={class:"flex justify-between items-center"},Z={class:"flex"},q=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),J={class:"grid"},K={class:"text-lg"},Q={class:"text-md font-mono"},W={class:"grid gap-3"},X={class:"flex justify-between items-center"},ee={class:"flex"},se=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),te={class:"grid"},ae={class:"text-lg"},ie={class:"text-md font-mono"},me={__name:"RivalsView",setup(oe){const y=L(),$=A();var v=null,o=null;const D={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},h=[{id:1,name:"TRMAZI",rivalID:"1234-5678"},{id:2,name:"BLADE",rivalID:"1454-5687"},{id:3,name:"HO!",rivalID:"5364-5568"}],a=p({currentVersion:null}),l=p({filter:null});v=y.params.game,o=S(v),o.versions||(a.currentVersion=1),o||$.push({name:"ErrorPage",params:{catchAll:"404"}});function I(){if(l.filter)return h.filter(n=>n.name.toLowerCase().includes(l.filter.toLowerCase())||n.rivalID.toLowerCase().includes(l.filter.toLowerCase()))}function R(){var n=null;return a.currentVersion?n=`/assets/games/${o.id}/card/${a.currentVersion}.png`:n=o.cardBG,n}function C(){return`
background-image: url('${R()}');
background-size: cover;
background-repeat: no-repeat;
`}return(n,d)=>(i(),c(B,null,{default:r(()=>[t(G,null,{default:r(()=>[e("div",U,[m(o).versions?(i(),u("div",Y,[P,t(V,{modelValue:a.currentVersion,"onUpdate:modelValue":d[0]||(d[0]=s=>a.currentVersion=s),options:m(o).versions},null,8,["modelValue","options"])])):_("",!0)]),a.currentVersion?(i(),u("div",{key:0,style:F(C()),class:"rounded-2xl mb-6"},[e("div",T,[e("div",H,[t(E,{"use-small":"",profile:D})])])],4)):_("",!0),t(w,{icon:m(j),title:"Add a Rival",main:""},null,8,["icon"]),a.currentVersion?(i(),c(f,{key:1,class:"mb-6"},{default:r(()=>[t(N,{label:"Search",help:"Search by username or Rival ID to add a rival.",class:"w-full md:w-1/3"},{default:r(()=>[t(V,{modelValue:l.filter,"onUpdate:modelValue":d[1]||(d[1]=s=>l.filter=s),"model-value":l.filter,placeholder:"1234-5678"},null,8,["modelValue","model-value"])]),_:1}),e("div",M,[(i(!0),u(b,null,x(I(),s=>(i(),c(f,{key:s.id},{default:r(()=>[e("div",O,[e("div",Z,[q,e("div",J,[e("h1",K,g(s.name),1),e("h2",Q,g(s.rivalID),1)])]),t(k,{label:"Add Rival",color:"success"})])]),_:2},1024))),128))])]),_:1})):_("",!0),t(w,{icon:m(z),title:"Rivals",main:""},null,8,["icon"]),a.currentVersion?(i(),c(f,{key:2,class:"mb-6"},{default:r(()=>[e("div",W,[(i(),u(b,null,x(h,s=>t(f,{key:s.id},{default:r(()=>[e("div",X,[e("div",ee,[se,e("div",te,[e("h1",ae,g(s.name),1),e("h2",ie,g(s.rivalID),1)])]),t(k,{label:"Remove Rival",color:"danger"})])]),_:2},1024)),64))])]),_:1})):_("",!0)]),_:1})]),_:1}))}};export{me as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -7,8 +7,8 @@
<link rel="icon" href="/favicon.png">
<title>PhaseWeb 3</title>
<script type="module" crossorigin src="/assets/index.a2955c9a.js"></script>
<link rel="stylesheet" href="/assets/index.f9a0d950.css">
<script type="module" crossorigin src="/assets/index.49bfadcb.js"></script>
<link rel="stylesheet" href="/assets/index.95237da7.css">
</head>
<body class="scroll-smooth">
<noscript>