This commit is contained in:
kunish 2024-11-13 12:30:45 +00:00
commit e61df5ea17
43 changed files with 1333 additions and 0 deletions

0
.nojekyll Normal file
View File

1
CNAME Normal file
View File

@ -0,0 +1 @@
d.metacubex.one

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{d as t,bC as r}from"./index-CxY9iUr8.js";const o=({children:e})=>t(r,{get children(){return[e," - MetaCubeXD"]}});export{o as D};

Binary file not shown.

View File

@ -0,0 +1,6 @@
import{N as o}from"./index-CxY9iUr8.js";/**
* @license @tabler/icons-solidjs v3.22.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var e=o("outline","reload","IconReload",[["path",{d:"M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747"}],["path",{d:"M20 4v5h-5"}]]);export{e as I};

1
assets/Logs-RdN0RUFW.js Normal file
View File

@ -0,0 +1 @@
import{u as O,d as e,ab as V,i as t,ac as I,ad as q,F as x,ae as H,af as Q,ag as d,ah as X,ai as Z,g as C,aj as W,ak as J,al as K,Q as U,t as h,b as Y,y as ee,A as z,am as te,T as re,$ as F,D as ae,B as j,a3 as le,a1 as A,a4 as se,a0 as G,a8 as ne,aa as ie,m as oe}from"./index-CxY9iUr8.js";import{c as ce,g as de,a as ue,e as ge,I as he,f as ve,h as P,i as me,j as fe,r as be}from"./index-BfxJG9cO.js";import{D as pe}from"./DocumentTitle-CsAeJySq.js";var $e=h('<div class="flex flex-col gap-4"><div><select class="select select-bordered w-full"></select></div><div><select class="select select-bordered w-full"></select></div><div><select class="select select-bordered w-full">'),k=h("<option>");const _e=v=>{const[l]=O();return e(U,{ref:n=>{var o;return(o=v.ref)==null?void 0:o.call(v,n)},get icon(){return e(V,{size:24})},get title(){return l("logsSettings")},get children(){var n=$e(),o=n.firstChild,c=o.firstChild,$=o.nextSibling,f=$.firstChild,w=$.nextSibling,b=w.firstChild;return t(o,e(I,{withDivider:!0,get children(){return l("tableSize")}}),c),c.addEventListener("change",r=>q(r.target.value)),t(c,e(x,{get each(){return Object.values(H)},children:r=>(()=>{var s=k();return s.value=r,t(s,()=>l(r)),s})()})),t($,e(I,{withDivider:!0,get children(){return l("logLevel")}}),f),f.addEventListener("change",r=>Q(r.target.value)),t(f,e(x,{get each(){return[d.Info,d.Error,d.Warning,d.Debug,d.Silent]},children:r=>(()=>{var s=k();return s.value=r,t(s,()=>l(r)),s})()})),t(w,e(I,{withDivider:!0,get children(){return l("logMaxRows")}}),b),b.addEventListener("change",r=>X(parseInt(r.target.value))),t(b,e(x,{each:Z,children:r=>(()=>{var s=k();return s.value=r,t(s,r),s})()})),C(()=>c.value=W()),C(()=>f.value=J()),C(()=>b.value=K()),n}})};var Se=h("<span>"),xe=h('<div class="flex h-full flex-col gap-2"><div class="join w-full"><input type=search class="input input-sm join-item input-primary flex-1 flex-shrink-0"></div><div class="overflow-x-auto whitespace-nowrap rounded-md bg-base-300"><table><thead class="sticky top-0 z-10"></thead><tbody>'),Ce=h("<tr>"),we=h('<th class=bg-base-200><div class="flex items-center"><div>'),ye=h('<tr class="hover:!bg-primary hover:text-primary-content">'),Le=h("<td class=py-2>");const N=(v,l,n,o)=>{const c=be(v.getValue(l),n);return o({itemRank:c}),c.passed},Me=()=>{const v=Y();if(!ee())return v("/setup",{replace:!0}),null;let l;const[n]=O(),[o,c]=z(""),{logs:$,paused:f,setPaused:w}=te(),[b,r]=re(z([]),{name:"logsTableSorting",storage:localStorage}),s=[{header:n("sequence"),accessorFn:i=>i.seq},{header:n("type"),accessorFn:i=>i.type,cell:({row:i})=>{const p=i.original.type;let u="";switch(p){case d.Error:u="text-error";break;case d.Warning:u="text-warning";break;case d.Info:u="text-info";break;case d.Debug:u="text-success";break}return(()=>{var _=Se();return F(_,u),t(_,()=>`[${i.original.type}]`),_})()}},{header:n("payload"),accessorFn:i=>i.payload}],M=ce({filterFns:{fuzzy:N},state:{get globalFilter(){return o()},get sorting(){return b()}},get data(){return $()},sortDescFirst:!0,columns:s,onGlobalFilterChange:c,onSortingChange:r,globalFilterFn:N,getFilteredRowModel:de(),getSortedRowModel:ue(),getCoreRowModel:ge()});return[e(pe,{get children(){return n("logs")}}),(()=>{var i=xe(),p=i.firstChild,u=p.firstChild,_=p.nextSibling,D=_.firstChild,R=D.firstChild,B=R.nextSibling;return u.$$input=a=>c(a.target.value),t(p,e(j,{class:"btn-primary join-item btn-sm",onClick:()=>w(a=>!a),get icon(){return ae(()=>!!f())()?e(he,{}):e(ve,{})}}),null),t(p,e(j,{class:"btn-primary join-item btn-sm",onClick:()=>l==null?void 0:l.showModal(),get icon(){return e(le,{})}}),null),t(R,e(A,{get each(){return M.getHeaderGroups()},children:a=>{const m=a();return(()=>{var g=Ce();return t(g,e(A,{get each(){return m.headers},children:y=>{const S=y();return(()=>{var E=we(),T=E.firstChild,L=T.firstChild;return se(L,"click",S.column.getToggleSortingHandler(),!0),t(L,()=>P(S.column.columnDef.header,S.getContext())),t(T,()=>({asc:e(me,{}),desc:e(fe,{})})[S.column.getIsSorted()]??null,null),C(()=>F(L,G(S.column.getCanSort()&&"cursor-pointer select-none","flex-1"))),E})()}})),g})()}})),t(B,e(x,{get each(){return M.getRowModel().rows},children:a=>(()=>{var m=ye();return t(m,e(x,{get each(){return a.getVisibleCells()},children:g=>(()=>{var y=Le();return t(y,()=>P(g.column.columnDef.cell,g.getContext())),y})()})),m})()})),t(i,e(_e,{ref:a=>l=a}),null),C(a=>{var m=n("search"),g=G(ne(W()),"table relative rounded-none");return m!==a.e&&ie(u,"placeholder",a.e=m),g!==a.t&&F(D,a.t=g),a},{e:void 0,t:void 0}),i})()]};oe(["input","click"]);export{Me as default};

834
assets/Overview-D9Zpq-mM.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9
assets/Rules-CQ5tR2kr.js Normal file

File diff suppressed because one or more lines are too long

1
assets/Setup-Bqt8zNL5.js Normal file
View File

@ -0,0 +1 @@
import{u as B,a as T,b as q,c as z,v as H,o as M,e as h,d,f as N,i as o,g as X,S as G,B as S,I as J,F as K,t as x,z as b,h as U,s as w,j as O,k as Q,l as C,m as W,n as Y}from"./index-CxY9iUr8.js";import{D as Z}from"./DocumentTitle-CsAeJySq.js";const l=[];for(let t=0;t<256;++t)l.push((t+256).toString(16).slice(1));function tt(t,n=0){return(l[t[n+0]]+l[t[n+1]]+l[t[n+2]]+l[t[n+3]]+"-"+l[t[n+4]]+l[t[n+5]]+"-"+l[t[n+6]]+l[t[n+7]]+"-"+l[t[n+8]]+l[t[n+9]]+"-"+l[t[n+10]]+l[t[n+11]]+l[t[n+12]]+l[t[n+13]]+l[t[n+14]]+l[t[n+15]]).toLowerCase()}let v;const et=new Uint8Array(16);function nt(){if(!v){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");v=crypto.getRandomValues.bind(crypto)}return v(et)}const st=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),E={randomUUID:st};function lt(t,n,y){if(E.randomUUID&&!n&&!t)return E.randomUUID();t=t||{};const r=t.random||(t.rng||nt)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,tt(r)}var it=x("<option>"),at=x('<div class="mx-auto flex max-w-screen-sm flex-col items-center gap-4 py-10"><form class=contents><div class="flex w-full flex-col gap-4"><div class=flex-1><label class=label><span class=label-text></span></label><input name=url type=url class="input input-bordered w-full"placeholder=http(s)://{hostname}:{port} list=defaultEndpoints><datalist id=defaultEndpoints><option value=http://127.0.0.1:9090></option></datalist></div><div class=flex-1><label class=label><span class=label-text></span></label><input name=secret type=password class="input input-bordered w-full"placeholder=secret></div></div></form><div class="grid w-full grid-cols-2 gap-4">'),rt=x('<div class="badge badge-info flex w-full cursor-pointer items-center justify-between gap-4 py-4"><span class=truncate>');const ot=b.object({url:b.string().min(1),secret:b.string()}),ut=()=>{const[t]=B(),n=T(),y=q(),r=s=>{C(s),y("/overview",{replace:!0})},R=async s=>{const e=h().find(i=>i.id===s);e&&await U(e.url,e.secret)&&r(s)},g=async({url:s,secret:e})=>{const i=Y(s);if(!await U(i,e))return;const a=lt(),c=h().slice(),u=c.find(f=>f.url===i);if(!u){w([{id:a,url:i,secret:e},...c]),r(a);return}u.secret=e,u.id=a,w(c),r(a)},I=s=>{const{message:e}=s;O.error(e)},{form:$}=z({extend:H({schema:ot}),onSubmit:g,onError:I}),L=s=>{Q()===s&&C(""),w(h().filter(e=>e.id!==s))};return M(async()=>{var i,a;const s=n.search||window.location.search||((a=(i=n.hash.match(/\?.*$/))==null?void 0:i[0])==null?void 0:a.replace("?",""));if(!s)return;const e=new URLSearchParams(s);e.has("hostname")?await g({url:`${e.get("http")?"http:":e.get("https")?"https:":window.location.protocol}//${e.get("hostname")}${e.get("port")?`:${e.get("port")}`:""}`,secret:e.get("secret")??""}):h().length===0&&await g({url:"http://127.0.0.1:9090",secret:""})}),[d(Z,{get children(){return t("setup")}}),(()=>{var s=at(),e=s.firstChild,i=e.firstChild,a=i.firstChild,c=a.firstChild,u=c.firstChild,f=c.nextSibling,_=f.nextSibling;_.firstChild;var D=a.nextSibling,k=D.firstChild,j=k.firstChild,V=e.nextSibling;return N($,e,()=>$),o(u,()=>t("endpointURL")),o(_,d(G,{get when(){return window.location.origin!=="http://127.0.0.1:9090"},get children(){var p=it();return X(()=>p.value=window.location.origin),p}}),null),o(j,()=>t("secret")),o(i,d(S,{type:"submit",class:"btn-primary uppercase",get children(){return t("add")}}),null),o(V,d(K,{get each(){return h()},children:({id:p,url:F})=>(()=>{var m=rt(),P=m.firstChild;return m.$$click=()=>R(p),o(P,F),o(m,d(S,{class:"btn-circle btn-ghost btn-xs text-white",onClick:A=>{A.stopPropagation(),L(p)},get children(){return d(J,{})}}),null),m})()})),s})()]};W(["click"]);export{ut as default};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

56
assets/index-BfxJG9cO.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

104
assets/index-CxY9iUr8.js Normal file

File diff suppressed because one or more lines are too long

1
assets/time-CBiaM5Rv.js Normal file
View File

@ -0,0 +1 @@
import{W as a,b4 as m}from"./index-CxY9iUr8.js";const s=o=>a(o).locale(m()).fromNow();export{s as f};

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 900 B

270
favicon.svg Normal file
View File

@ -0,0 +1,270 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0.00 0.00 200.00 200.00">
<g stroke-width="2.00" fill="none" stroke-linecap="butt">
<path stroke="#babcbd" vector-effect="non-scaling-stroke" d="
M 40.95 140.48
Q 68.55 157.30 96.63 173.25
C 102.24 176.44 107.25 175.99 112.94 172.72
Q 137.94 158.32 162.95 143.97
Q 165.51 142.50 167.13 140.70
A 1.36 1.36 0.0 0 0 167.49 139.78
C 167.62 114.80 168.11 94.50 166.94 76.07
C 166.62 71.04 164.79 67.55 160.95 64.72"
/>
<path stroke="#edefef" vector-effect="non-scaling-stroke" d="
M 160.95 64.72
C 158.30 59.86 148.11 55.99 143.18 53.08
C 131.17 46.00 119.07 39.12 106.93 32.27
C 102.78 29.92 100.95 27.45 95.80 30.54
Q 86.26 36.27 72.74 43.77
C 65.00 48.06 55.94 53.83 47.28 58.44
C 36.47 64.19 37.03 68.23 37.02 79.49
Q 36.99 107.48 37.00 135.54
A 1.33 1.30 24.1 0 0 37.35 136.43
L 40.95 140.48"
/>
<path stroke="#cdcdcd" vector-effect="non-scaling-stroke" d="
M 160.95 64.72
C 162.26 67.10 163.25 68.73 163.25 71.58
Q 163.26 102.51 163.09 133.43
Q 163.07 137.05 160.83 138.33
Q 133.44 154.04 106.07 169.70
C 102.53 171.72 96.73 171.58 93.59 169.67
C 81.84 162.53 70.33 156.39 57.98 148.94
Q 49.77 143.99 40.95 140.48"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 155.05 66.47
A 0.30 0.30 0.0 0 0 155.05 65.95
L 100.11 34.53
A 0.30 0.30 0.0 0 0 99.81 34.53
L 44.98 65.96
A 0.30 0.30 0.0 0 0 44.98 66.48
L 99.82 97.91
A 0.30 0.30 0.0 0 0 100.12 97.91
L 155.05 66.47"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 97.83 102.22
A 0.32 0.32 0.0 0 0 97.67 101.94
L 42.48 70.37
A 0.32 0.32 0.0 0 0 42.00 70.65
L 42.00 133.51
A 0.32 0.32 0.0 0 0 42.16 133.79
L 97.04 165.13
A 0.32 0.32 0.0 0 0 97.52 164.85
L 97.83 102.22"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 102.35 101.92
A 0.32 0.32 0.0 0 0 102.19 102.20
L 102.47 164.86
A 0.32 0.32 0.0 0 0 102.95 165.14
L 157.78 133.85
A 0.32 0.32 0.0 0 0 157.94 133.57
L 157.72 70.85
A 0.32 0.32 0.0 0 0 157.24 70.57
L 102.35 101.92"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 101.2539 41.9921
A 1.17 1.17 0.0 0 0 100.0859 40.8201
L 100.0459 40.8200
A 1.17 1.17 0.0 0 0 98.8739 41.9880
L 98.7861 92.2679
A 1.17 1.17 0.0 0 0 99.9541 93.4399
L 99.9941 93.4400
A 1.17 1.17 0.0 0 0 101.1661 92.2720
L 101.2539 41.9921"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 93.8121 104.2576
A 1.09 1.09 0.0 0 0 92.3238 103.8561
L 48.3895 129.1194
A 1.09 1.09 0.0 0 0 47.9879 130.6077
L 48.0079 130.6424
A 1.09 1.09 0.0 0 0 49.4962 131.0439
L 93.4305 105.7806
A 1.09 1.09 0.0 0 0 93.8321 104.2923
L 93.8121 104.2576"
/>
<path stroke="#848484" vector-effect="non-scaling-stroke" d="
M 152.0194 130.6077
A 1.09 1.09 0.0 0 0 151.6178 129.1194
L 107.6488 103.8361
A 1.09 1.09 0.0 0 0 106.1606 104.2377
L 106.1406 104.2723
A 1.09 1.09 0.0 0 0 106.5422 105.7606
L 150.5112 131.0439
A 1.09 1.09 0.0 0 0 151.9994 130.6423
L 152.0194 130.6077"
/>
</g>
<path fill="#dadedf" d="
M 0.00 0.00
L 200.00 0.00
L 200.00 200.00
L 0.00 200.00
L 0.00 0.00
Z
M 40.95 140.48
Q 68.55 157.30 96.63 173.25
C 102.24 176.44 107.25 175.99 112.94 172.72
Q 137.94 158.32 162.95 143.97
Q 165.51 142.50 167.13 140.70
A 1.36 1.36 0.0 0 0 167.49 139.78
C 167.62 114.80 168.11 94.50 166.94 76.07
C 166.62 71.04 164.79 67.55 160.95 64.72
C 158.30 59.86 148.11 55.99 143.18 53.08
C 131.17 46.00 119.07 39.12 106.93 32.27
C 102.78 29.92 100.95 27.45 95.80 30.54
Q 86.26 36.27 72.74 43.77
C 65.00 48.06 55.94 53.83 47.28 58.44
C 36.47 64.19 37.03 68.23 37.02 79.49
Q 36.99 107.48 37.00 135.54
A 1.33 1.30 24.1 0 0 37.35 136.43
L 40.95 140.48
Z"
/>
<path fill="#ffffff" d="
M 160.95 64.72
C 162.26 67.10 163.25 68.73 163.25 71.58
Q 163.26 102.51 163.09 133.43
Q 163.07 137.05 160.83 138.33
Q 133.44 154.04 106.07 169.70
C 102.53 171.72 96.73 171.58 93.59 169.67
C 81.84 162.53 70.33 156.39 57.98 148.94
Q 49.77 143.99 40.95 140.48
L 37.35 136.43
A 1.33 1.30 24.1 0 1 37.00 135.54
Q 36.99 107.48 37.02 79.49
C 37.03 68.23 36.47 64.19 47.28 58.44
C 55.94 53.83 65.00 48.06 72.74 43.77
Q 86.26 36.27 95.80 30.54
C 100.95 27.45 102.78 29.92 106.93 32.27
C 119.07 39.12 131.17 46.00 143.18 53.08
C 148.11 55.99 158.30 59.86 160.95 64.72
Z
M 155.05 66.47
A 0.30 0.30 0.0 0 0 155.05 65.95
L 100.11 34.53
A 0.30 0.30 0.0 0 0 99.81 34.53
L 44.98 65.96
A 0.30 0.30 0.0 0 0 44.98 66.48
L 99.82 97.91
A 0.30 0.30 0.0 0 0 100.12 97.91
L 155.05 66.47
Z
M 97.83 102.22
A 0.32 0.32 0.0 0 0 97.67 101.94
L 42.48 70.37
A 0.32 0.32 0.0 0 0 42.00 70.65
L 42.00 133.51
A 0.32 0.32 0.0 0 0 42.16 133.79
L 97.04 165.13
A 0.32 0.32 0.0 0 0 97.52 164.85
L 97.83 102.22
Z
M 102.35 101.92
A 0.32 0.32 0.0 0 0 102.19 102.20
L 102.47 164.86
A 0.32 0.32 0.0 0 0 102.95 165.14
L 157.78 133.85
A 0.32 0.32 0.0 0 0 157.94 133.57
L 157.72 70.85
A 0.32 0.32 0.0 0 0 157.24 70.57
L 102.35 101.92
Z"
/>
<path fill="#080808" d="
M 155.05 66.47
L 100.12 97.91
A 0.30 0.30 0.0 0 1 99.82 97.91
L 44.98 66.48
A 0.30 0.30 0.0 0 1 44.98 65.96
L 99.81 34.53
A 0.30 0.30 0.0 0 1 100.11 34.53
L 155.05 65.95
A 0.30 0.30 0.0 0 1 155.05 66.47
Z
M 101.2539 41.9921
A 1.17 1.17 0.0 0 0 100.0859 40.8201
L 100.0459 40.8200
A 1.17 1.17 0.0 0 0 98.8739 41.9880
L 98.7861 92.2679
A 1.17 1.17 0.0 0 0 99.9541 93.4399
L 99.9941 93.4400
A 1.17 1.17 0.0 0 0 101.1661 92.2720
L 101.2539 41.9921
Z"
/>
<rect fill="#ffffff" x="-1.19" y="-26.31" transform="translate(100.02,67.13) rotate(0.1)" width="2.38"
height="52.62" rx="1.17"/>
<path fill="#9a9a9b" d="
M 160.95 64.72
C 164.79 67.55 166.62 71.04 166.94 76.07
C 168.11 94.50 167.62 114.80 167.49 139.78
A 1.36 1.36 0.0 0 1 167.13 140.70
Q 165.51 142.50 162.95 143.97
Q 137.94 158.32 112.94 172.72
C 107.25 175.99 102.24 176.44 96.63 173.25
Q 68.55 157.30 40.95 140.48
Q 49.77 143.99 57.98 148.94
C 70.33 156.39 81.84 162.53 93.59 169.67
C 96.73 171.58 102.53 171.72 106.07 169.70
Q 133.44 154.04 160.83 138.33
Q 163.07 137.05 163.09 133.43
Q 163.26 102.51 163.25 71.58
C 163.25 68.73 162.26 67.10 160.95 64.72
Z"
/>
<path fill="#080808" d="
M 97.83 102.22
L 97.52 164.85
A 0.32 0.32 0.0 0 1 97.04 165.13
L 42.16 133.79
A 0.32 0.32 0.0 0 1 42.00 133.51
L 42.00 70.65
A 0.32 0.32 0.0 0 1 42.48 70.37
L 97.67 101.94
A 0.32 0.32 0.0 0 1 97.83 102.22
Z
M 93.8121 104.2576
A 1.09 1.09 0.0 0 0 92.3238 103.8561
L 48.3895 129.1194
A 1.09 1.09 0.0 0 0 47.9879 130.6077
L 48.0079 130.6424
A 1.09 1.09 0.0 0 0 49.4962 131.0439
L 93.4305 105.7806
A 1.09 1.09 0.0 0 0 93.8321 104.2923
L 93.8121 104.2576
Z"
/>
<path fill="#080808" d="
M 102.35 101.92
L 157.24 70.57
A 0.32 0.32 0.0 0 1 157.72 70.85
L 157.94 133.57
A 0.32 0.32 0.0 0 1 157.78 133.85
L 102.95 165.14
A 0.32 0.32 0.0 0 1 102.47 164.86
L 102.19 102.20
A 0.32 0.32 0.0 0 1 102.35 101.92
Z
M 152.0194 130.6077
A 1.09 1.09 0.0 0 0 151.6178 129.1194
L 107.6488 103.8361
A 1.09 1.09 0.0 0 0 106.1606 104.2377
L 106.1406 104.2723
A 1.09 1.09 0.0 0 0 106.5422 105.7606
L 150.5112 131.0439
A 1.09 1.09 0.0 0 0 151.9994 130.6423
L 152.0194 130.6077
Z"
/>
<rect fill="#ffffff" x="-26.43" y="-1.11" transform="translate(70.91,117.45) rotate(-29.9)" width="52.86"
height="2.22" rx="1.09"/>
<rect fill="#ffffff" x="-26.45" y="-1.11" transform="translate(129.08,117.44) rotate(29.9)" width="52.90"
height="2.22" rx="1.09"/>
</svg>

After

Width:  |  Height:  |  Size: 7.9 KiB

21
index.html Normal file
View File

@ -0,0 +1,21 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
/>
<meta name="theme-color" content="#000000" />
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<link rel="apple-touch-icon" href="./pwa-192x192.png" />
<script type="module" crossorigin src="./assets/index-CxY9iUr8.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-CS3JiQW-.css">
<link rel="manifest" href="./manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="./registerSW.js"></script></head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" style="display: contents"></div>
</body>
</html>

1
manifest.webmanifest Normal file
View File

@ -0,0 +1 @@
{"name":"MetaCubeXD","short_name":"MetaCubeXD","start_url":"./","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","description":"Mihomo Dashboard, The Official One, XD","theme_color":"#000000","icons":[{"src":"pwa-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/pwa-512x512.png","sizes":"512x512","type":"image/png"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}

BIN
maskable-icon-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
pwa-192x192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
pwa-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
pwa-64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

1
registerSW.js Normal file
View File

@ -0,0 +1 @@
if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('./sw.js', { scope: './' })})}

1
sw.js Normal file
View File

@ -0,0 +1 @@
if(!self.define){let s,e={};const i=(i,n)=>(i=new URL(i+".js",n).href,e[i]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()})).then((()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didnt register its module`);return s})));self.define=(n,r)=>{const l=s||("document"in self?document.currentScript.src:"")||location.href;if(e[l])return;let o={};const t=s=>i(s,l),u={module:{uri:l},exports:o,require:t};e[l]=Promise.all(n.map((s=>u[s]||t(s)))).then((s=>(r(...s),o)))}}define(["./workbox-e1498109"],(function(s){"use strict";self.skipWaiting(),s.clientsClaim(),s.precacheAndRoute([{url:"assets/Config-kZBF41C6.js",revision:null},{url:"assets/Connections-DftFNHJA.js",revision:null},{url:"assets/DocumentTitle-CsAeJySq.js",revision:null},{url:"assets/IconReload-omMZ1Tgl.js",revision:null},{url:"assets/index-BfxJG9cO.js",revision:null},{url:"assets/index-CS3JiQW-.css",revision:null},{url:"assets/index-CxY9iUr8.js",revision:null},{url:"assets/Logs-RdN0RUFW.js",revision:null},{url:"assets/Overview-D9Zpq-mM.js",revision:null},{url:"assets/Proxies-szS3Nq74.js",revision:null},{url:"assets/Rules-CQ5tR2kr.js",revision:null},{url:"assets/Setup-Bqt8zNL5.js",revision:null},{url:"assets/time-CBiaM5Rv.js",revision:null},{url:"index.html",revision:"44865dbb9da22dd996cd9379522ee79a"},{url:"registerSW.js",revision:"402b66900e731ca748771b6fc5e7a068"},{url:"favicon.svg",revision:"f5b3372f312fbbe60a6ed8c03741ff80"},{url:"pwa-192x192.png",revision:"c45f48fc59b5bf47e6cbf1626aff51fc"},{url:"pwa-512x512.png",revision:"a311504ae6a46bd29b5678a410aaafc6"},{url:"manifest.webmanifest",revision:"f0952d333375ba4273b4372ffa349b8b"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html")))}));

1
workbox-e1498109.js Normal file

File diff suppressed because one or more lines are too long