From 78acd2a63ec7e72b37a5a9f7b553c291f63daa49 Mon Sep 17 00:00:00 2001 From: Brian Beck Date: Wed, 23 Oct 2024 19:35:49 -1000 Subject: [PATCH] Deploy --- app/global.css | 10 ++++---- docs/404.html | 2 +- docs/404/index.html | 2 +- .../_buildManifest.js | 0 .../_ssgManifest.js | 0 .../chunks/app/page-8bfd722117a9a7d9.js | 1 - .../chunks/app/page-e66009e34e76f13e.js | 1 + ...7680c75095ce4.css => d80ab0a0f2784fed.css} | 2 +- docs/_next/static/css/e296810e160012c4.css | 1 - docs/_next/static/css/f1ea3743fc784e98.css | 1 + docs/index.html | 2 +- docs/index.txt | 4 +-- src/FileItem.tsx | 4 +-- src/Forge.module.css | 3 +++ src/Forge.tsx | 2 ++ src/Loading.module.css | 2 +- src/utils.ts | 25 ++++++++++--------- 17 files changed, 34 insertions(+), 28 deletions(-) rename docs/_next/static/{d1IhGb8z70Loo4_E-WAtv => ESD_kf-gb_uy2iubrKiy_}/_buildManifest.js (100%) rename docs/_next/static/{d1IhGb8z70Loo4_E-WAtv => ESD_kf-gb_uy2iubrKiy_}/_ssgManifest.js (100%) delete mode 100644 docs/_next/static/chunks/app/page-8bfd722117a9a7d9.js create mode 100644 docs/_next/static/chunks/app/page-e66009e34e76f13e.js rename docs/_next/static/css/{50e7680c75095ce4.css => d80ab0a0f2784fed.css} (97%) delete mode 100644 docs/_next/static/css/e296810e160012c4.css create mode 100644 docs/_next/static/css/f1ea3743fc784e98.css diff --git a/app/global.css b/app/global.css index b61e0bb..abdc366 100644 --- a/app/global.css +++ b/app/global.css @@ -21,14 +21,14 @@ html { body { display: flex; + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; flex-direction: column; margin: 0; padding: 0; - height: 100vh; - max-height: 100vh; overflow: hidden; background-color: #699697; - background-image: url("../public/noise.png"), - linear-gradient(to bottom, #5be9ee 0%, #1e4172 100%); - background-repeat: repeat, repeat; } diff --git a/docs/404.html b/docs/404.html index 649a12d..aadfd5c 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file diff --git a/docs/404/index.html b/docs/404/index.html index 649a12d..aadfd5c 100644 --- a/docs/404/index.html +++ b/docs/404/index.html @@ -1 +1 @@ -404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file +404: This page could not be found.VL2 Forge

404

This page could not be found.

\ No newline at end of file diff --git a/docs/_next/static/d1IhGb8z70Loo4_E-WAtv/_buildManifest.js b/docs/_next/static/ESD_kf-gb_uy2iubrKiy_/_buildManifest.js similarity index 100% rename from docs/_next/static/d1IhGb8z70Loo4_E-WAtv/_buildManifest.js rename to docs/_next/static/ESD_kf-gb_uy2iubrKiy_/_buildManifest.js diff --git a/docs/_next/static/d1IhGb8z70Loo4_E-WAtv/_ssgManifest.js b/docs/_next/static/ESD_kf-gb_uy2iubrKiy_/_ssgManifest.js similarity index 100% rename from docs/_next/static/d1IhGb8z70Loo4_E-WAtv/_ssgManifest.js rename to docs/_next/static/ESD_kf-gb_uy2iubrKiy_/_ssgManifest.js diff --git a/docs/_next/static/chunks/app/page-8bfd722117a9a7d9.js b/docs/_next/static/chunks/app/page-8bfd722117a9a7d9.js deleted file mode 100644 index d592a8b..0000000 --- a/docs/_next/static/chunks/app/page-8bfd722117a9a7d9.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{9343:function(e,t,i){Promise.resolve().then(i.bind(i,2967))},2967:function(e,t,i){"use strict";i.d(t,{Forge:function(){return M}});var n=i(7437),a=i(2265),r=i(7380),s=i(1124),o=i.n(s),l=i(9089),m=i(7311),c=i.n(m);function u(){return(0,n.jsx)("div",{className:c().LoadingBackdrop,children:(0,n.jsx)("div",{className:c().LoadingText,children:"Loading…"})})}var p=i(2744),d=i(6417),g=i(8637),f=i(1273),y=i(7780),h=i(3257),_=i(5201),x=i.n(_);function v(e){let{file:t,onDelete:i,onRename:r}=e,s=(0,a.useMemo)(()=>{var e,i;if(t.dataUri&&(null===(e=t.type)||void 0===e?void 0:e.genericType)==="image")return(0,n.jsx)("img",{className:x().PreviewIcon,src:t.dataUri,width:24,alt:""});if((null===(i=t.type)||void 0===i?void 0:i.genericType)==="audio")return(0,n.jsx)(y.Eow,{});if(/\.cs$/i.test(t.path))return(0,n.jsx)(g.HXH,{});if(/\.mis$/i.test(t.path))return(0,n.jsx)(h.Gw8,{});if(/\.dif$/i.test(t.path))return(0,n.jsx)(d.Mm0,{});if(/\.ter$/i.test(t.path))return(0,n.jsx)(p.seb,{});if(/\.spn$/i.test(t.path))return(0,n.jsx)(f.ekl,{});return null},[t]);return(0,n.jsxs)("div",{className:x().File,children:[(0,n.jsx)("span",{className:x().IconContainer,children:s})," ",(0,n.jsx)("span",{className:x().Path,onDoubleClick:()=>{let e=window.prompt("Rename file (".concat(t.path,"):"),t.path);e&&(e=e.trim().replace(/\/+/g,"/").replace(/^\//,"").replace(/\/$/,"").trim())&&e!==t.path&&r(t.path,e)},children:t.path}),(0,n.jsx)("button",{className:x().DeleteButton,type:"button","aria-label":"Delete",title:"Delete",onClick:e=>{i(t.path)},children:(0,n.jsx)(l.AMf,{})})]})}var w=i(7635),F=i.n(w),j=i(12);function T(e){let t=e.split("/"),i="",n="";return(t.length>1?(i=t.slice(0,-1).join("/"),n=t[t.length-1]):(i="",n=t[0]),i)?"".concat(i,"/").concat(n):(/\.(l|m|h)(male|female|bioderm)\.png$/i.test(n)||/^(vehicle|weapon)_.+png$/i.test(n)||/^dcase\d\d\.png$/i.test(n)?i="textures/skins":/\.(ter|spn)$/i.test(n)?i="terrains":/\.mis$/i.test(n)?i="missions":/\.dif$/i.test(n)&&(i="interiors"),i)?"".concat(i,"/").concat(n):n}function b(e){if(e.type){if(/^image\//i.test(e.type))return{mimeType:e.type,genericType:"image"};if(/^audio\//i.test(e.type))return{mimeType:e.type,genericType:"audio"}}if(/\.png$/i.test(e.name))return{mimeType:"image/png",genericType:"image"};if(/\.jpg$/i.test(e.name))return{mimeType:"image/jpeg",genericType:"image"};if(/\.bmp$/i.test(e.name))return{mimeType:"image/bmp",genericType:"image"};if(/\.webp$/i.test(e.name))return{mimeType:"image/webp",genericType:"image"};if(/\.gif$/i.test(e.name))return{mimeType:"image/gif",genericType:"image"};if(/\.tiff$/i.test(e.name))return{mimeType:"image/tiff",genericType:"image"};if(/\.svg$/i.test(e.name))return{mimeType:"image/svg+xml",genericType:"image"};else if(/\.wav$/i.test(e.name))return{mimeType:"audio/wav",genericType:"audio"};else if(/\.mp3$/i.test(e.name))return{mimeType:"audio/mpeg",genericType:"audio"};return e.type?{mimeType:e.type,genericType:null}:null}async function N(e){let t=await F().loadAsync(e),i=new Map;for(let e in t.files){let r=t.files[e];if(!r.dir){var n,a;let t={path:e=T(e),buffer:await r.async("arraybuffer"),dataUri:null,date:r.date,unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions,type:b(r)};if((null===(n=t.type)||void 0===n?void 0:n.genericType)==="image"||(null===(a=t.type)||void 0===a?void 0:a.genericType)==="audio"){let e=await r.async("base64");t.dataUri="data:".concat(t.type.mimeType,";base64,").concat(e)}i.set(e,t)}}return i}async function L(e){var t,i;let n;let a=new Map;if(e.path)(n=e.path).startsWith("/")&&(n=n.slice(1));else{if(!e.name)return a;n=e.name}n=T(n);let r=await new Promise((t,i)=>{let n=new FileReader;n.addEventListener("load",e=>{t(e.target.result)}),n.readAsArrayBuffer(e)}),s={path:n,buffer:r,dataUri:null,date:null,unixPermissions:null,dosPermissions:null,type:b(e)};if((null===(t=s.type)||void 0===t?void 0:t.genericType)==="image"||(null===(i=s.type)||void 0===i?void 0:i.genericType)==="audio"){let e=function(e){for(var t,i,n,a,r="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(e),l=o.byteLength,m=l%3,c=l-m,u=0;u>18]+s[(258048&a)>>12]+s[(4032&a)>>6]+s[63&a];return 1==m?r+=s[t=(252&(a=o[c]))>>2]+s[(3&a)<<4]+"==":2==m&&(r+=s[t=(64512&(a=o[c]<<8|o[c+1]))>>10]+s[(1008&a)>>4]+s[(15&a)<<2]+"="),r}(r);s.dataUri="data:".concat(s.type.mimeType,";base64,").concat(e)}return a.set(n,s),a}async function k(e){return/\.(zip|vl2)$/i.test(e.name)?N(e):L(e)}async function D(e,t){let i=await e.generateAsync({type:"blob",mimeType:"application/octet-stream"});(0,j.saveAs)(i,t)}var $=i(9349),A=i.n($);function P(e){let{fileList:t}=e;return(0,n.jsxs)("form",{className:A().DownloadForm,onSubmit:async e=>{e.preventDefault();let i=e.target.elements.fileName,n=i.value.trim();if(n){if(t.length){let e=function(e){let t=new(F());for(let i of e)t.file(i.path,i.buffer,{date:i.date,dosPermissions:i.dosPermissions,unixPermissions:i.unixPermissions});return t}(t);await D(e,"".concat(n,".vl2"))}else window.alert("Add some files!")}else window.alert("Name thy file."),i.focus()},children:[(0,n.jsx)("div",{className:A().NameInput,children:(0,n.jsx)("input",{name:"fileName",type:"text",placeholder:"name thy file",onChange:e=>{/\.vl2$/i.test(e.target.value)&&(e.target.value=e.target.value.slice(0,-4))}})}),(0,n.jsx)("button",{type:"submit",className:A().DownloadButton,children:"Download"})]})}var C=i(6537),I=i.n(C);function M(){let[e,t]=(0,a.useTransition)(),[i,s]=(0,a.useState)(0),[m,c]=(0,a.useState)(()=>[]),[p,d]=(0,a.useState)(()=>new Map),g=(0,a.useCallback)(async e=>{s(e=>e+1);let i=[],n=new Map;(await Promise.all(e.map(e=>k(e)))).forEach(e=>{e.forEach((e,t)=>{n.has(t)&&i.push({type:"overwrite",path:t}),n.set(t,e)})}),t(()=>{d(e=>new Map([...Array.from(e.entries()),...Array.from(n.entries())])),c(e=>[...e,...i])}),s(e=>e-1)},[]),{getRootProps:f,getInputProps:y,open:h,isDragActive:_}=(0,r.uI)({noClick:!0,onDrop:g}),x=(0,a.useMemo)(()=>o()(Array.from(p.keys()),[e=>e.toLowerCase()],["asc"]).map(e=>p.get(e)),[p]),w=(0,n.jsx)("button",{type:"button",className:I().AddButton,"aria-label":"Add files",title:"Add files",onClick:h,children:"+"}),F=(0,a.useCallback)(e=>{d(t=>{let i=new Map(t);return i.delete(e),i})},[]),j=(0,a.useCallback)((e,t)=>{d(i=>{let n={...i.get(e),path:t},a=new Map(i);return a.delete(e),a.set(t,n),a})},[]),T=e||i>0;return(0,n.jsxs)("section",{className:I().Forge,...f(),children:[(0,n.jsxs)("header",{className:I().Header,children:[(0,n.jsx)("a",{className:I().HeaderLink,href:"https://github.com/exogen/vl2-forge",children:(0,n.jsx)(l.hJX,{"aria-label":"GitHub"})}),(0,n.jsx)("img",{className:I().Logo,width:210,height:188,src:"/vl2-forge/logo-md.png",alt:"VL2 Forge"}),w]}),(0,n.jsx)("input",{...y()}),(0,n.jsxs)("div",{className:I().ListArea,children:[T?(0,n.jsx)(u,{}):null,x.length?(0,n.jsx)("ul",{className:I().FileList,children:x.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(v,{file:e,onDelete:F,onRename:j})},e.path))}):T?null:(0,n.jsx)("div",{className:I().EmptyMessage,children:"Drop files onto the page or press the add button. No need to extract existing .vl2 files first –\xa0just drop ‘em in and it’ll take care of that!"})]}),(0,n.jsxs)("footer",{className:I().Footer,children:[(0,n.jsx)("a",{className:I().FooterLink,href:"https://github.com/exogen/vl2-forge",children:(0,n.jsx)(l.hJX,{"aria-label":"GitHub"})}),(0,n.jsx)(P,{fileList:x})]})]})}},9349:function(e){e.exports={DownloadForm:"DownloadForm_DownloadForm__xJrhQ",NameInput:"DownloadForm_NameInput__rJoTF",DownloadButton:"DownloadForm_DownloadButton__THR8u"}},5201:function(e){e.exports={File:"FileItem_File__FC9Rk",IconContainer:"FileItem_IconContainer__B0pA0",PreviewIcon:"FileItem_PreviewIcon__CVUKY",Path:"FileItem_Path__6Y42m",DeleteButton:"FileItem_DeleteButton__qYt5o"}},6537:function(e){e.exports={Forge:"Forge_Forge__dDZFe",Footer:"Forge_Footer__ghw3O",ListArea:"Forge_ListArea__OpY_R",FileList:"Forge_FileList__9JOyh",EmptyMessage:"Forge_EmptyMessage__Lrlud",AddButton:"Forge_AddButton__09pXD",Header:"Forge_Header__7t3Qc",HeaderLink:"Forge_HeaderLink__fEDGG",FooterLink:"Forge_FooterLink__gznaM"}},7311:function(e){e.exports={LoadingBackdrop:"Loading_LoadingBackdrop__9nxZJ",LoadingText:"Loading_LoadingText__cJZao"}}},function(e){e.O(0,[132,665,51,212,516,675,240,699,634,971,117,744],function(){return e(e.s=9343)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/docs/_next/static/chunks/app/page-e66009e34e76f13e.js b/docs/_next/static/chunks/app/page-e66009e34e76f13e.js new file mode 100644 index 0000000..7ce8e9e --- /dev/null +++ b/docs/_next/static/chunks/app/page-e66009e34e76f13e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{9343:function(e,t,i){Promise.resolve().then(i.bind(i,2967))},2967:function(e,t,i){"use strict";i.d(t,{Forge:function(){return I}});var n=i(7437),a=i(2265),r=i(7380),s=i(1124),o=i.n(s),l=i(9089),m=i(7311),c=i.n(m);function u(){return(0,n.jsx)("div",{className:c().LoadingBackdrop,children:(0,n.jsx)("div",{className:c().LoadingText,children:"Loading…"})})}var p=i(2744),d=i(6417),g=i(8637),f=i(1273),h=i(7780),y=i(3257),_=i(5201),x=i.n(_);function v(e){let{file:t,onDelete:i,onRename:r}=e,s=(0,a.useMemo)(()=>{var e,i;if(t.blobUri&&(null===(e=t.type)||void 0===e?void 0:e.genericType)==="image")return(0,n.jsx)("img",{className:x().PreviewIcon,src:t.blobUri,width:24,alt:""});if((null===(i=t.type)||void 0===i?void 0:i.genericType)==="audio")return(0,n.jsx)(h.Eow,{});if(/\.cs$/i.test(t.path))return(0,n.jsx)(g.HXH,{});if(/\.mis$/i.test(t.path))return(0,n.jsx)(y.Gw8,{});if(/\.dif$/i.test(t.path))return(0,n.jsx)(d.Mm0,{});if(/\.ter$/i.test(t.path))return(0,n.jsx)(p.seb,{});if(/\.spn$/i.test(t.path))return(0,n.jsx)(f.ekl,{});return null},[t]);return(0,n.jsxs)("div",{className:x().File,children:[(0,n.jsx)("span",{className:x().IconContainer,children:s})," ",(0,n.jsx)("span",{className:x().Path,onDoubleClick:()=>{let e=window.prompt("Rename file (".concat(t.path,"):"),t.path);e&&(e=e.trim().replace(/\/+/g,"/").replace(/^\//,"").replace(/\/$/,"").trim())&&e!==t.path&&r(t.path,e)},children:t.path}),(0,n.jsx)("button",{className:x().DeleteButton,type:"button","aria-label":"Delete",title:"Delete",onClick:e=>{i(t.path)},children:(0,n.jsx)(l.AMf,{})})]})}var b=i(7635),w=i.n(b),j=i(12);function F(e){let t=e.split("/"),i="",n="";return(t.length>1?(i=t.slice(0,-1).join("/"),n=t[t.length-1]):(i="",n=t[0]),i)?"".concat(i,"/").concat(n):(/\.(l|m|h)(male|female|bioderm)\.png$/i.test(n)||/^(vehicle|weapon)_.+png$/i.test(n)||/^dcase\d\d\.png$/i.test(n)?i="textures/skins":/\.(ter|spn)$/i.test(n)?i="terrains":/\.mis$/i.test(n)?i="missions":/\.dif$/i.test(n)&&(i="interiors"),i)?"".concat(i,"/").concat(n):n}function T(e){if(e.type){if(/^image\//i.test(e.type))return{mimeType:e.type,genericType:"image"};if(/^audio\//i.test(e.type))return{mimeType:e.type,genericType:"audio"}}if(/\.png$/i.test(e.name))return{mimeType:"image/png",genericType:"image"};if(/\.jpg$/i.test(e.name))return{mimeType:"image/jpeg",genericType:"image"};if(/\.bmp$/i.test(e.name))return{mimeType:"image/bmp",genericType:"image"};if(/\.webp$/i.test(e.name))return{mimeType:"image/webp",genericType:"image"};if(/\.gif$/i.test(e.name))return{mimeType:"image/gif",genericType:"image"};if(/\.tiff$/i.test(e.name))return{mimeType:"image/tiff",genericType:"image"};if(/\.svg$/i.test(e.name))return{mimeType:"image/svg+xml",genericType:"image"};else if(/\.wav$/i.test(e.name))return{mimeType:"audio/wav",genericType:"audio"};else if(/\.mp3$/i.test(e.name))return{mimeType:"audio/mpeg",genericType:"audio"};return e.type?{mimeType:e.type,genericType:null}:null}async function L(e){let t=await w().loadAsync(e),i=new Map;for(let e in t.files){let o=t.files[e];if(!o.dir){var n,a,r,s;e=F(e);let t=await o.async("arraybuffer"),l={path:e,buffer:t,blobUri:null,date:o.date,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,type:T(o)};if((null===(n=l.type)||void 0===n?void 0:n.genericType)==="image"||(null===(a=l.type)||void 0===a?void 0:a.genericType)==="audio"){let e=new Blob([t],{type:null!==(s=null===(r=l.type)||void 0===r?void 0:r.mimeType)&&void 0!==s?s:""});l.blobUri=URL.createObjectURL(e)}i.set(e,l)}}return i}async function N(e){var t;let i;let n=new Map;if(e.path)(i=e.path).startsWith("/")&&(i=i.slice(1));else{if(!e.name)return n;i=e.name}let a={path:i=F(i),buffer:await new Promise((t,i)=>{let n=new FileReader;n.addEventListener("load",e=>{t(e.target.result)}),n.readAsArrayBuffer(e)}),blobUri:null,date:null,unixPermissions:null,dosPermissions:null,type:T(e)};return(null===(t=a.type)||void 0===t?void 0:t.genericType)==="image"&&(a.blobUri=URL.createObjectURL(e)),n.set(i,a),n}async function k(e){return/\.(zip|vl2)$/i.test(e.name)?L(e):N(e)}async function $(e,t){let i=await e.generateAsync({type:"blob",mimeType:"application/octet-stream"});(0,j.saveAs)(i,t)}var D=i(9349),A=i.n(D);function P(e){let{fileList:t}=e;return(0,n.jsxs)("form",{className:A().DownloadForm,onSubmit:async e=>{e.preventDefault();let i=e.target.elements.fileName,n=i.value.trim();if(n){if(t.length){let e=function(e){let t=new(w());for(let i of e)t.file(i.path,i.buffer,{date:i.date,dosPermissions:i.dosPermissions,unixPermissions:i.unixPermissions});return t}(t);await $(e,"".concat(n,".vl2"))}else window.alert("Add some files!")}else window.alert("Name thy file."),i.focus()},children:[(0,n.jsx)("div",{className:A().NameInput,children:(0,n.jsx)("input",{name:"fileName",type:"text",placeholder:"name thy file",onChange:e=>{/\.vl2$/i.test(e.target.value)&&(e.target.value=e.target.value.slice(0,-4))}})}),(0,n.jsx)("button",{type:"submit",className:A().DownloadButton,children:"Download"})]})}var C=i(6537),B=i.n(C);function I(){let[e,t]=(0,a.useTransition)(),[i,s]=(0,a.useState)(0),[m,c]=(0,a.useState)(()=>[]),[p,d]=(0,a.useState)(()=>new Map),g=(0,a.useCallback)(async e=>{s(e=>e+1);let i=[],n=new Map;(await Promise.all(e.map(e=>k(e)))).forEach(e=>{e.forEach((e,t)=>{n.has(t)&&i.push({type:"overwrite",path:t}),n.set(t,e)})}),t(()=>{d(e=>new Map([...Array.from(e.entries()),...Array.from(n.entries())])),c(e=>[...e,...i])}),s(e=>e-1)},[]),{getRootProps:f,getInputProps:h,open:y,isDragActive:_}=(0,r.uI)({noClick:!0,noKeyboard:!0,onDrop:g}),x=(0,a.useMemo)(()=>o()(Array.from(p.keys()),[e=>e.toLowerCase()],["asc"]).map(e=>p.get(e)),[p]),b=(0,n.jsx)("button",{type:"button",className:B().AddButton,"aria-label":"Add files",title:"Add files",onClick:y,children:"+"}),w=(0,a.useCallback)(e=>{d(t=>{let i=new Map(t);return i.delete(e),i})},[]),j=(0,a.useCallback)((e,t)=>{d(i=>{let n={...i.get(e),path:t},a=new Map(i);return a.delete(e),a.set(t,n),a})},[]),F=e||i>0;return(0,n.jsxs)("section",{className:B().Forge,...f(),children:[(0,n.jsxs)("header",{className:B().Header,children:[(0,n.jsx)("a",{className:B().HeaderLink,href:"https://github.com/exogen/vl2-forge",children:(0,n.jsx)(l.hJX,{"aria-label":"GitHub"})}),(0,n.jsx)("img",{className:B().Logo,width:210,height:188,src:"/vl2-forge/logo-md.png",alt:"VL2 Forge"}),b]}),(0,n.jsx)("input",{...h()}),(0,n.jsxs)("div",{className:B().ListArea,children:[F?(0,n.jsx)(u,{}):null,x.length?(0,n.jsx)("ul",{className:B().FileList,children:x.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(v,{file:e,onDelete:w,onRename:j})},e.path))}):F?null:(0,n.jsx)("div",{className:B().EmptyMessage,children:"Drop files onto the page or press the add button. No need to extract existing .vl2 files first –\xa0just drop ‘em in and it’ll take care of that!"})]}),(0,n.jsxs)("footer",{className:B().Footer,children:[(0,n.jsx)("a",{className:B().FooterLink,href:"https://github.com/exogen/vl2-forge",children:(0,n.jsx)(l.hJX,{"aria-label":"GitHub"})}),(0,n.jsx)(P,{fileList:x})]})]})}},9349:function(e){e.exports={DownloadForm:"DownloadForm_DownloadForm__xJrhQ",NameInput:"DownloadForm_NameInput__rJoTF",DownloadButton:"DownloadForm_DownloadButton__THR8u"}},5201:function(e){e.exports={File:"FileItem_File__FC9Rk",IconContainer:"FileItem_IconContainer__B0pA0",PreviewIcon:"FileItem_PreviewIcon__CVUKY",Path:"FileItem_Path__6Y42m",DeleteButton:"FileItem_DeleteButton__qYt5o"}},6537:function(e){e.exports={Forge:"Forge_Forge__dDZFe",Footer:"Forge_Footer__ghw3O",ListArea:"Forge_ListArea__OpY_R",FileList:"Forge_FileList__9JOyh",EmptyMessage:"Forge_EmptyMessage__Lrlud",AddButton:"Forge_AddButton__09pXD",Header:"Forge_Header__7t3Qc",HeaderLink:"Forge_HeaderLink__fEDGG",FooterLink:"Forge_FooterLink__gznaM"}},7311:function(e){e.exports={LoadingBackdrop:"Loading_LoadingBackdrop__9nxZJ",LoadingText:"Loading_LoadingText__cJZao"}}},function(e){e.O(0,[132,665,51,212,516,675,240,699,634,971,117,744],function(){return e(e.s=9343)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/docs/_next/static/css/50e7680c75095ce4.css b/docs/_next/static/css/d80ab0a0f2784fed.css similarity index 97% rename from docs/_next/static/css/50e7680c75095ce4.css rename to docs/_next/static/css/d80ab0a0f2784fed.css index e0016ed..2faf2b5 100644 --- a/docs/_next/static/css/50e7680c75095ce4.css +++ b/docs/_next/static/css/d80ab0a0f2784fed.css @@ -1 +1 @@ -@font-face{font-family:__departureMono_6dd175;src:url(/vl2-forge/_next/static/media/4df1fe70433cf083-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:__departureMono_Fallback_6dd175;src:local("Arial");ascent-override:71.70%;descent-override:19.56%;line-gap-override:0.00%;size-adjust:139.46%}.__className_6dd175{font-family:__departureMono_6dd175,__departureMono_Fallback_6dd175;font-weight:400;font-style:normal}.__variable_6dd175{--font-departure:"__departureMono_6dd175","__departureMono_Fallback_6dd175"}@font-face{font-family:__alagard_60c549;src:url(/vl2-forge/_next/static/media/a521fcc400cf9065-s.p.ttf) format("truetype");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:__alagard_Fallback_60c549;src:local("Arial");ascent-override:70.28%;descent-override:17.57%;line-gap-override:8.42%;size-adjust:106.71%}.__className_60c549{font-family:__alagard_60c549,__alagard_Fallback_60c549;font-weight:400;font-style:normal}.__variable_60c549{--font-alagard:"__alagard_60c549","__alagard_Fallback_60c549"}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/194e68b1ff4d40ee-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/118bf6d367285d36-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/b94157c21e18e701-s.woff2) format("woff2");unicode-range:u+0302-0303,u+0305,u+0307-0308,u+0310,u+0312,u+0315,u+031a,u+0326-0327,u+032c,u+032f-0330,u+0332-0333,u+0338,u+033a,u+0346,u+034d,u+0391-03a1,u+03a3-03a9,u+03b1-03c9,u+03d1,u+03d5-03d6,u+03f0-03f1,u+03f4-03f5,u+2016-2017,u+2034-2038,u+203c,u+2040,u+2043,u+2047,u+2050,u+2057,u+205f,u+2070-2071,u+2074-208e,u+2090-209c,u+20d0-20dc,u+20e1,u+20e5-20ef,u+2100-2112,u+2114-2115,u+2117-2121,u+2123-214f,u+2190,u+2192,u+2194-21ae,u+21b0-21e5,u+21f1-21f2,u+21f4-2211,u+2213-2214,u+2216-22ff,u+2308-230b,u+2310,u+2319,u+231c-2321,u+2336-237a,u+237c,u+2395,u+239b-23b7,u+23d0,u+23dc-23e1,u+2474-2475,u+25af,u+25b3,u+25b7,u+25bd,u+25c1,u+25ca,u+25cc,u+25fb,u+266d-266f,u+27c0-27ff,u+2900-2aff,u+2b0e-2b11,u+2b30-2b4c,u+2bfe,u+3030,u+ff5b,u+ff5d,u+1d400-1d7ff,u+1ee??}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/ec4a340d7d92ca39-s.woff2) format("woff2");unicode-range:u+0001-000c,u+000e-001f,u+007f-009f,u+20dd-20e0,u+20e2-20e4,u+2150-218f,u+2190,u+2192,u+2194-2199,u+21af,u+21e6-21f0,u+21f3,u+2218-2219,u+2299,u+22c4-22c6,u+2300-243f,u+2440-244a,u+2460-24ff,u+25a0-27bf,u+28??,u+2921-2922,u+2981,u+29bf,u+29eb,u+2b??,u+4dc0-4dff,u+fff9-fffb,u+10140-1018e,u+10190-1019c,u+101a0,u+101d0-101fd,u+102e0-102fb,u+10e60-10e7e,u+1d2c0-1d2d3,u+1d2e0-1d37f,u+1f0??,u+1f100-1f1ad,u+1f1e6-1f1ff,u+1f30d-1f30f,u+1f315,u+1f31c,u+1f31e,u+1f320-1f32c,u+1f336,u+1f378,u+1f37d,u+1f382,u+1f393-1f39f,u+1f3a7-1f3a8,u+1f3ac-1f3af,u+1f3c2,u+1f3c4-1f3c6,u+1f3ca-1f3ce,u+1f3d4-1f3e0,u+1f3ed,u+1f3f1-1f3f3,u+1f3f5-1f3f7,u+1f408,u+1f415,u+1f41f,u+1f426,u+1f43f,u+1f441-1f442,u+1f444,u+1f446-1f449,u+1f44c-1f44e,u+1f453,u+1f46a,u+1f47d,u+1f4a3,u+1f4b0,u+1f4b3,u+1f4b9,u+1f4bb,u+1f4bf,u+1f4c8-1f4cb,u+1f4d6,u+1f4da,u+1f4df,u+1f4e3-1f4e6,u+1f4ea-1f4ed,u+1f4f7,u+1f4f9-1f4fb,u+1f4fd-1f4fe,u+1f503,u+1f507-1f50b,u+1f50d,u+1f512-1f513,u+1f53e-1f54a,u+1f54f-1f5fa,u+1f610,u+1f650-1f67f,u+1f687,u+1f68d,u+1f691,u+1f694,u+1f698,u+1f6ad,u+1f6b2,u+1f6b9-1f6ba,u+1f6bc,u+1f6c6-1f6cf,u+1f6d3-1f6d7,u+1f6e0-1f6ea,u+1f6f0-1f6f3,u+1f6f7-1f6fc,u+1f7??,u+1f800-1f80b,u+1f810-1f847,u+1f850-1f859,u+1f860-1f887,u+1f890-1f8ad,u+1f8b0-1f8bb,u+1f8c0-1f8c1,u+1f900-1f90b,u+1f93b,u+1f946,u+1f984,u+1f996,u+1f9e9,u+1fa00-1fa6f,u+1fa70-1fa7c,u+1fa80-1fa89,u+1fa8f-1fac6,u+1face-1fadc,u+1fadf-1fae9,u+1faf0-1faf8,u+1fb??}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/47124bda5734331b-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/aefa312f0ff0f860-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/e9ed9197b1d41e00-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/8976b37f8037a4c0-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/ada9171bd6839183-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/21633f890e359fee-s.woff2) format("woff2");unicode-range:u+0302-0303,u+0305,u+0307-0308,u+0310,u+0312,u+0315,u+031a,u+0326-0327,u+032c,u+032f-0330,u+0332-0333,u+0338,u+033a,u+0346,u+034d,u+0391-03a1,u+03a3-03a9,u+03b1-03c9,u+03d1,u+03d5-03d6,u+03f0-03f1,u+03f4-03f5,u+2016-2017,u+2034-2038,u+203c,u+2040,u+2043,u+2047,u+2050,u+2057,u+205f,u+2070-2071,u+2074-208e,u+2090-209c,u+20d0-20dc,u+20e1,u+20e5-20ef,u+2100-2112,u+2114-2115,u+2117-2121,u+2123-214f,u+2190,u+2192,u+2194-21ae,u+21b0-21e5,u+21f1-21f2,u+21f4-2211,u+2213-2214,u+2216-22ff,u+2308-230b,u+2310,u+2319,u+231c-2321,u+2336-237a,u+237c,u+2395,u+239b-23b7,u+23d0,u+23dc-23e1,u+2474-2475,u+25af,u+25b3,u+25b7,u+25bd,u+25c1,u+25ca,u+25cc,u+25fb,u+266d-266f,u+27c0-27ff,u+2900-2aff,u+2b0e-2b11,u+2b30-2b4c,u+2bfe,u+3030,u+ff5b,u+ff5d,u+1d400-1d7ff,u+1ee??}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/9c526da3fdc4ac93-s.woff2) format("woff2");unicode-range:u+0001-000c,u+000e-001f,u+007f-009f,u+20dd-20e0,u+20e2-20e4,u+2150-218f,u+2190,u+2192,u+2194-2199,u+21af,u+21e6-21f0,u+21f3,u+2218-2219,u+2299,u+22c4-22c6,u+2300-243f,u+2440-244a,u+2460-24ff,u+25a0-27bf,u+28??,u+2921-2922,u+2981,u+29bf,u+29eb,u+2b??,u+4dc0-4dff,u+fff9-fffb,u+10140-1018e,u+10190-1019c,u+101a0,u+101d0-101fd,u+102e0-102fb,u+10e60-10e7e,u+1d2c0-1d2d3,u+1d2e0-1d37f,u+1f0??,u+1f100-1f1ad,u+1f1e6-1f1ff,u+1f30d-1f30f,u+1f315,u+1f31c,u+1f31e,u+1f320-1f32c,u+1f336,u+1f378,u+1f37d,u+1f382,u+1f393-1f39f,u+1f3a7-1f3a8,u+1f3ac-1f3af,u+1f3c2,u+1f3c4-1f3c6,u+1f3ca-1f3ce,u+1f3d4-1f3e0,u+1f3ed,u+1f3f1-1f3f3,u+1f3f5-1f3f7,u+1f408,u+1f415,u+1f41f,u+1f426,u+1f43f,u+1f441-1f442,u+1f444,u+1f446-1f449,u+1f44c-1f44e,u+1f453,u+1f46a,u+1f47d,u+1f4a3,u+1f4b0,u+1f4b3,u+1f4b9,u+1f4bb,u+1f4bf,u+1f4c8-1f4cb,u+1f4d6,u+1f4da,u+1f4df,u+1f4e3-1f4e6,u+1f4ea-1f4ed,u+1f4f7,u+1f4f9-1f4fb,u+1f4fd-1f4fe,u+1f503,u+1f507-1f50b,u+1f50d,u+1f512-1f513,u+1f53e-1f54a,u+1f54f-1f5fa,u+1f610,u+1f650-1f67f,u+1f687,u+1f68d,u+1f691,u+1f694,u+1f698,u+1f6ad,u+1f6b2,u+1f6b9-1f6ba,u+1f6bc,u+1f6c6-1f6cf,u+1f6d3-1f6d7,u+1f6e0-1f6ea,u+1f6f0-1f6f3,u+1f6f7-1f6fc,u+1f7??,u+1f800-1f80b,u+1f810-1f847,u+1f850-1f859,u+1f860-1f887,u+1f890-1f8ad,u+1f8b0-1f8bb,u+1f8c0-1f8c1,u+1f900-1f90b,u+1f93b,u+1f946,u+1f984,u+1f996,u+1f9e9,u+1fa00-1fa6f,u+1fa70-1fa7c,u+1fa80-1fa89,u+1fa8f-1fac6,u+1face-1fadc,u+1fadf-1fae9,u+1faf0-1faf8,u+1fb??}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/d364c42434837330-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/293d9d85a89f760b-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/3a8dc5763a8ae4b2-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Lora_Fallback_b97ccf;src:local("Times New Roman");ascent-override:87.33%;descent-override:23.78%;line-gap-override:0.00%;size-adjust:115.20%}.__className_b97ccf{font-family:__Lora_b97ccf,__Lora_Fallback_b97ccf}.__variable_b97ccf{--font-lora:"__Lora_b97ccf","__Lora_Fallback_b97ccf"}:root{--system-ui:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}*,:after,:before{box-sizing:border-box}html{text-size-adjust:100%}body,html{margin:0;padding:0}body{display:flex;flex-direction:column;height:100vh;max-height:100vh;overflow:hidden;background-color:#699697;background-image:url(/vl2-forge/_next/static/media/noise.27f5ca25.png),linear-gradient(180deg,#5be9ee 0,#1e4172);background-repeat:repeat,repeat} \ No newline at end of file +@font-face{font-family:__departureMono_6dd175;src:url(/vl2-forge/_next/static/media/4df1fe70433cf083-s.p.woff2) format("woff2");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:__departureMono_Fallback_6dd175;src:local("Arial");ascent-override:71.70%;descent-override:19.56%;line-gap-override:0.00%;size-adjust:139.46%}.__className_6dd175{font-family:__departureMono_6dd175,__departureMono_Fallback_6dd175;font-weight:400;font-style:normal}.__variable_6dd175{--font-departure:"__departureMono_6dd175","__departureMono_Fallback_6dd175"}@font-face{font-family:__alagard_60c549;src:url(/vl2-forge/_next/static/media/a521fcc400cf9065-s.p.ttf) format("truetype");font-display:swap;font-weight:400;font-style:normal}@font-face{font-family:__alagard_Fallback_60c549;src:local("Arial");ascent-override:70.28%;descent-override:17.57%;line-gap-override:8.42%;size-adjust:106.71%}.__className_60c549{font-family:__alagard_60c549,__alagard_Fallback_60c549;font-weight:400;font-style:normal}.__variable_60c549{--font-alagard:"__alagard_60c549","__alagard_Fallback_60c549"}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/194e68b1ff4d40ee-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/118bf6d367285d36-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/b94157c21e18e701-s.woff2) format("woff2");unicode-range:u+0302-0303,u+0305,u+0307-0308,u+0310,u+0312,u+0315,u+031a,u+0326-0327,u+032c,u+032f-0330,u+0332-0333,u+0338,u+033a,u+0346,u+034d,u+0391-03a1,u+03a3-03a9,u+03b1-03c9,u+03d1,u+03d5-03d6,u+03f0-03f1,u+03f4-03f5,u+2016-2017,u+2034-2038,u+203c,u+2040,u+2043,u+2047,u+2050,u+2057,u+205f,u+2070-2071,u+2074-208e,u+2090-209c,u+20d0-20dc,u+20e1,u+20e5-20ef,u+2100-2112,u+2114-2115,u+2117-2121,u+2123-214f,u+2190,u+2192,u+2194-21ae,u+21b0-21e5,u+21f1-21f2,u+21f4-2211,u+2213-2214,u+2216-22ff,u+2308-230b,u+2310,u+2319,u+231c-2321,u+2336-237a,u+237c,u+2395,u+239b-23b7,u+23d0,u+23dc-23e1,u+2474-2475,u+25af,u+25b3,u+25b7,u+25bd,u+25c1,u+25ca,u+25cc,u+25fb,u+266d-266f,u+27c0-27ff,u+2900-2aff,u+2b0e-2b11,u+2b30-2b4c,u+2bfe,u+3030,u+ff5b,u+ff5d,u+1d400-1d7ff,u+1ee??}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/ec4a340d7d92ca39-s.woff2) format("woff2");unicode-range:u+0001-000c,u+000e-001f,u+007f-009f,u+20dd-20e0,u+20e2-20e4,u+2150-218f,u+2190,u+2192,u+2194-2199,u+21af,u+21e6-21f0,u+21f3,u+2218-2219,u+2299,u+22c4-22c6,u+2300-243f,u+2440-244a,u+2460-24ff,u+25a0-27bf,u+28??,u+2921-2922,u+2981,u+29bf,u+29eb,u+2b??,u+4dc0-4dff,u+fff9-fffb,u+10140-1018e,u+10190-1019c,u+101a0,u+101d0-101fd,u+102e0-102fb,u+10e60-10e7e,u+1d2c0-1d2d3,u+1d2e0-1d37f,u+1f0??,u+1f100-1f1ad,u+1f1e6-1f1ff,u+1f30d-1f30f,u+1f315,u+1f31c,u+1f31e,u+1f320-1f32c,u+1f336,u+1f378,u+1f37d,u+1f382,u+1f393-1f39f,u+1f3a7-1f3a8,u+1f3ac-1f3af,u+1f3c2,u+1f3c4-1f3c6,u+1f3ca-1f3ce,u+1f3d4-1f3e0,u+1f3ed,u+1f3f1-1f3f3,u+1f3f5-1f3f7,u+1f408,u+1f415,u+1f41f,u+1f426,u+1f43f,u+1f441-1f442,u+1f444,u+1f446-1f449,u+1f44c-1f44e,u+1f453,u+1f46a,u+1f47d,u+1f4a3,u+1f4b0,u+1f4b3,u+1f4b9,u+1f4bb,u+1f4bf,u+1f4c8-1f4cb,u+1f4d6,u+1f4da,u+1f4df,u+1f4e3-1f4e6,u+1f4ea-1f4ed,u+1f4f7,u+1f4f9-1f4fb,u+1f4fd-1f4fe,u+1f503,u+1f507-1f50b,u+1f50d,u+1f512-1f513,u+1f53e-1f54a,u+1f54f-1f5fa,u+1f610,u+1f650-1f67f,u+1f687,u+1f68d,u+1f691,u+1f694,u+1f698,u+1f6ad,u+1f6b2,u+1f6b9-1f6ba,u+1f6bc,u+1f6c6-1f6cf,u+1f6d3-1f6d7,u+1f6e0-1f6ea,u+1f6f0-1f6f3,u+1f6f7-1f6fc,u+1f7??,u+1f800-1f80b,u+1f810-1f847,u+1f850-1f859,u+1f860-1f887,u+1f890-1f8ad,u+1f8b0-1f8bb,u+1f8c0-1f8c1,u+1f900-1f90b,u+1f93b,u+1f946,u+1f984,u+1f996,u+1f9e9,u+1fa00-1fa6f,u+1fa70-1fa7c,u+1fa80-1fa89,u+1fa8f-1fac6,u+1face-1fadc,u+1fadf-1fae9,u+1faf0-1faf8,u+1fb??}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/47124bda5734331b-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/aefa312f0ff0f860-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Lora_b97ccf;font-style:italic;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/e9ed9197b1d41e00-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/8976b37f8037a4c0-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/ada9171bd6839183-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/21633f890e359fee-s.woff2) format("woff2");unicode-range:u+0302-0303,u+0305,u+0307-0308,u+0310,u+0312,u+0315,u+031a,u+0326-0327,u+032c,u+032f-0330,u+0332-0333,u+0338,u+033a,u+0346,u+034d,u+0391-03a1,u+03a3-03a9,u+03b1-03c9,u+03d1,u+03d5-03d6,u+03f0-03f1,u+03f4-03f5,u+2016-2017,u+2034-2038,u+203c,u+2040,u+2043,u+2047,u+2050,u+2057,u+205f,u+2070-2071,u+2074-208e,u+2090-209c,u+20d0-20dc,u+20e1,u+20e5-20ef,u+2100-2112,u+2114-2115,u+2117-2121,u+2123-214f,u+2190,u+2192,u+2194-21ae,u+21b0-21e5,u+21f1-21f2,u+21f4-2211,u+2213-2214,u+2216-22ff,u+2308-230b,u+2310,u+2319,u+231c-2321,u+2336-237a,u+237c,u+2395,u+239b-23b7,u+23d0,u+23dc-23e1,u+2474-2475,u+25af,u+25b3,u+25b7,u+25bd,u+25c1,u+25ca,u+25cc,u+25fb,u+266d-266f,u+27c0-27ff,u+2900-2aff,u+2b0e-2b11,u+2b30-2b4c,u+2bfe,u+3030,u+ff5b,u+ff5d,u+1d400-1d7ff,u+1ee??}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/9c526da3fdc4ac93-s.woff2) format("woff2");unicode-range:u+0001-000c,u+000e-001f,u+007f-009f,u+20dd-20e0,u+20e2-20e4,u+2150-218f,u+2190,u+2192,u+2194-2199,u+21af,u+21e6-21f0,u+21f3,u+2218-2219,u+2299,u+22c4-22c6,u+2300-243f,u+2440-244a,u+2460-24ff,u+25a0-27bf,u+28??,u+2921-2922,u+2981,u+29bf,u+29eb,u+2b??,u+4dc0-4dff,u+fff9-fffb,u+10140-1018e,u+10190-1019c,u+101a0,u+101d0-101fd,u+102e0-102fb,u+10e60-10e7e,u+1d2c0-1d2d3,u+1d2e0-1d37f,u+1f0??,u+1f100-1f1ad,u+1f1e6-1f1ff,u+1f30d-1f30f,u+1f315,u+1f31c,u+1f31e,u+1f320-1f32c,u+1f336,u+1f378,u+1f37d,u+1f382,u+1f393-1f39f,u+1f3a7-1f3a8,u+1f3ac-1f3af,u+1f3c2,u+1f3c4-1f3c6,u+1f3ca-1f3ce,u+1f3d4-1f3e0,u+1f3ed,u+1f3f1-1f3f3,u+1f3f5-1f3f7,u+1f408,u+1f415,u+1f41f,u+1f426,u+1f43f,u+1f441-1f442,u+1f444,u+1f446-1f449,u+1f44c-1f44e,u+1f453,u+1f46a,u+1f47d,u+1f4a3,u+1f4b0,u+1f4b3,u+1f4b9,u+1f4bb,u+1f4bf,u+1f4c8-1f4cb,u+1f4d6,u+1f4da,u+1f4df,u+1f4e3-1f4e6,u+1f4ea-1f4ed,u+1f4f7,u+1f4f9-1f4fb,u+1f4fd-1f4fe,u+1f503,u+1f507-1f50b,u+1f50d,u+1f512-1f513,u+1f53e-1f54a,u+1f54f-1f5fa,u+1f610,u+1f650-1f67f,u+1f687,u+1f68d,u+1f691,u+1f694,u+1f698,u+1f6ad,u+1f6b2,u+1f6b9-1f6ba,u+1f6bc,u+1f6c6-1f6cf,u+1f6d3-1f6d7,u+1f6e0-1f6ea,u+1f6f0-1f6f3,u+1f6f7-1f6fc,u+1f7??,u+1f800-1f80b,u+1f810-1f847,u+1f850-1f859,u+1f860-1f887,u+1f890-1f8ad,u+1f8b0-1f8bb,u+1f8c0-1f8c1,u+1f900-1f90b,u+1f93b,u+1f946,u+1f984,u+1f996,u+1f9e9,u+1fa00-1fa6f,u+1fa70-1fa7c,u+1fa80-1fa89,u+1fa8f-1fac6,u+1face-1fadc,u+1fadf-1fae9,u+1faf0-1faf8,u+1fb??}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/d364c42434837330-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/293d9d85a89f760b-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Lora_b97ccf;font-style:normal;font-weight:400 700;font-display:swap;src:url(/vl2-forge/_next/static/media/3a8dc5763a8ae4b2-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Lora_Fallback_b97ccf;src:local("Times New Roman");ascent-override:87.33%;descent-override:23.78%;line-gap-override:0.00%;size-adjust:115.20%}.__className_b97ccf{font-family:__Lora_b97ccf,__Lora_Fallback_b97ccf}.__variable_b97ccf{--font-lora:"__Lora_b97ccf","__Lora_Fallback_b97ccf"}:root{--system-ui:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}*,:after,:before{box-sizing:border-box}html{text-size-adjust:100%}body,html{margin:0;padding:0}body{display:flex;position:fixed;top:0;left:0;right:0;bottom:0;flex-direction:column;overflow:hidden;background-color:#699697} \ No newline at end of file diff --git a/docs/_next/static/css/e296810e160012c4.css b/docs/_next/static/css/e296810e160012c4.css deleted file mode 100644 index 54ad97d..0000000 --- a/docs/_next/static/css/e296810e160012c4.css +++ /dev/null @@ -1 +0,0 @@ -.Loading_LoadingBackdrop__9nxZJ{display:flex;align-items:stretch;position:absolute;top:50%;left:50%;width:400px;height:120px;transform:translate(-50%,-50%);background:url(/vl2-forge/_next/static/media/fire1.b42a759c.gif);background-repeat:no-repeat;background-size:100% 100%;border-radius:10px;z-index:2;text-align:center;overflow:hidden}.Loading_LoadingText__cJZao{display:flex;align-items:center;justify-content:center;width:100%;color:#e8c29a;background:rgba(0,0,0,.95);mix-blend-mode:hard-light;font-family:var(--font-alagard);font-size:40px;text-shadow:0 -3px 10px #fb521e}.FileItem_File__FC9Rk{display:flex;align-items:center;gap:12px}.FileItem_IconContainer__B0pA0{flex:0 0 auto;display:grid;place-content:center;width:24px;font-size:22px;color:hsla(0,0%,100%,.9)}.FileItem_PreviewIcon__CVUKY{width:auto;height:auto;max-width:100%;max-height:24px;border:1px solid #000}.FileItem_Path__6Y42m{background:rgba(0,0,0,.3);padding:3px 8px;border-radius:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.FileItem_DeleteButton__qYt5o{flex:0 0 auto;border:0;background:transparent;display:grid;place-content:center;font-size:24px;margin:0;padding:0;color:rgba(0,0,0,.4);cursor:pointer}.FileItem_DeleteButton__qYt5o:hover{color:#ff5959}.FileItem_DeleteButton__qYt5o svg{pointer-events:none}.DownloadForm_DownloadForm__xJrhQ{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:0 auto}.DownloadForm_NameInput__rJoTF{position:relative;font-size:18px;font-family:var(--font-lora);font-weight:500;font-style:italic;line-height:1.25}.DownloadForm_NameInput__rJoTF input{--dark-bevel:#25221d;--light-bevel:#6c6558;display:block;min-width:240px;max-width:100%;min-height:46px;background:#fff;border-top:3px solid var(--dark-bevel);border-left:3px solid var(--dark-bevel);border-bottom:3px solid var(--light-bevel);border-right:3px solid var(--light-bevel);color:#333;font-size:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;line-height:inherit;padding:2px 50px 2px 0;text-indent:10px}.DownloadForm_NameInput__rJoTF:after{display:grid;place-content:center;content:".vl2";position:absolute;top:0;right:0;bottom:0;width:50px;color:#999}.DownloadForm_DownloadButton__THR8u{border:0;margin:0;padding:0 12px;min-width:128px;min-height:46px;font-family:var(--font-alagard),monospace;font-size:24px;font-style:normal;font-weight:400;line-height:1;border-radius:2px;background:url(/vl2-forge/_next/static/media/button.69ed12fe.png) transparent;background-repeat:no-repeat;background-size:150% 190%;background-position:50% 50%;border-color:rgba(255,145,105,.5) rgba(36,14,14,.7) rgba(36,14,14,.7) rgba(255,178,150,.5);border-style:solid;border-width:3px;color:#fff;text-shadow:0 0 5px rgba(255,226,82,.358),2px 3px 0 rgba(0,0,0,.5);cursor:pointer}.Forge_Forge__dDZFe{flex:1 1 100%;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;align-content:stretch;font-family:var(--font-departure),monospace;color:#fff;padding:20px;grid-gap:20px;gap:20px;overflow:auto}.Forge_Footer__ghw3O{position:relative;grid-column:span 2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:32px 40px;background:rgba(59,55,49,.8);border-image-slice:18 26 26 23;border-image-width:16px 16px 16px 16px;border-image-outset:0 0 0 0;border-image-repeat:round repeat;border-image-source:url(/vl2-forge/_next/static/media/border.d6506fa8.png);border-style:solid;box-shadow:0 0 8px rgba(0,0,0,.3),inset 0 0 12px rgba(0,0,0,.8)}.Forge_Footer__ghw3O:before{content:"";position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;border-color:rgba(255,250,234,.4) hsla(0,0%,9%,.5) hsla(0,0%,9%,.5) rgba(255,250,234,.4);border-style:solid;border-width:4px 4px 5px;pointer-events:none}.Forge_Footer__ghw3O:after{display:block;content:"";position:absolute;top:10px;left:10px;right:10px;bottom:10px;border-color:hsla(0,0%,9%,.5) rgba(255,250,234,.4) rgba(255,250,234,.4) hsla(0,0%,9%,.5);border-style:solid;border-width:4px;pointer-events:none}.Forge_ListArea__OpY_R{position:relative;display:grid;align-items:center;justify-content:stretch;padding:32px;background:rgba(2,2,84,.252);border-radius:12px;overflow:auto}.Forge_FileList__9JOyh{width:100%;display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;text-shadow:2px 1px 0 #000}.Forge_EmptyMessage__Lrlud{text-align:center;text-wrap:balance;line-height:1.75}.Forge_AddButton__09pXD{border:0;margin:0;padding:0 0 2px;min-width:48px;min-height:48px;font-family:var(--font-departure),monospace;font-size:40px;font-style:inherit;font-weight:inherit;line-height:1;border-radius:3px;background:url(/vl2-forge/_next/static/media/button.69ed12fe.png) transparent;background-repeat:no-repeat;background-size:150% 190%;background-position:50% 50%;border-color:rgba(255,145,105,.5) rgba(36,14,14,.7) rgba(36,14,14,.7) rgba(255,178,150,.5);border-style:solid;border-width:3px;color:#fff;text-shadow:0 0 5px rgba(255,226,82,.358),2px 3px 0 rgba(0,0,0,.5);cursor:pointer;vertical-align:middle}.Forge_Header__7t3Qc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px}.Forge_HeaderLink__fEDGG{display:none;margin-left:0;place-content:center;flex:0 0 auto;color:rgba(53,57,75,.8);text-decoration:none;font-size:48px}.Forge_HeaderLink__fEDGG svg{border:0}.Forge_FooterLink__gznaM{display:grid;margin-left:0;place-content:center;flex:0 0 auto;color:hsla(0,0%,100%,.4);font-size:40px}@media (max-width:767px){.Forge_Forge__dDZFe{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;padding:12px;gap:12px}.Forge_Header__7t3Qc{flex-direction:row}.Forge_Header__7t3Qc img{width:auto;max-height:96px}.Forge_HeaderLink__fEDGG{display:grid}.Forge_Footer__ghw3O{grid-column:span 1}.Forge_FooterLink__gznaM{display:none}} \ No newline at end of file diff --git a/docs/_next/static/css/f1ea3743fc784e98.css b/docs/_next/static/css/f1ea3743fc784e98.css new file mode 100644 index 0000000..fc5117a --- /dev/null +++ b/docs/_next/static/css/f1ea3743fc784e98.css @@ -0,0 +1 @@ +.Loading_LoadingBackdrop__9nxZJ{display:flex;align-items:stretch;position:absolute;top:50%;left:50%;width:400px;height:120px;transform:translate(-50%,-50%);background:url(/vl2-forge/_next/static/media/fire1.b42a759c.gif);background-repeat:no-repeat;background-size:100% 100%;border-radius:10px;z-index:2;text-align:center;overflow:hidden}.Loading_LoadingText__cJZao{display:flex;align-items:center;justify-content:center;width:100%;color:#e8c29a;background:#000;mix-blend-mode:hard-light;font-family:var(--font-alagard);font-size:40px;text-shadow:0 -3px 10px #fb521e}.FileItem_File__FC9Rk{display:flex;align-items:center;gap:12px}.FileItem_IconContainer__B0pA0{flex:0 0 auto;display:grid;place-content:center;width:24px;font-size:22px;color:hsla(0,0%,100%,.9)}.FileItem_PreviewIcon__CVUKY{width:auto;height:auto;max-width:100%;max-height:24px;border:1px solid #000}.FileItem_Path__6Y42m{background:rgba(0,0,0,.3);padding:3px 8px;border-radius:8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.FileItem_DeleteButton__qYt5o{flex:0 0 auto;border:0;background:transparent;display:grid;place-content:center;font-size:24px;margin:0;padding:0;color:rgba(0,0,0,.4);cursor:pointer}.FileItem_DeleteButton__qYt5o:hover{color:#ff5959}.FileItem_DeleteButton__qYt5o svg{pointer-events:none}.DownloadForm_DownloadForm__xJrhQ{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:0 auto}.DownloadForm_NameInput__rJoTF{position:relative;font-size:18px;font-family:var(--font-lora);font-weight:500;font-style:italic;line-height:1.25}.DownloadForm_NameInput__rJoTF input{--dark-bevel:#25221d;--light-bevel:#6c6558;display:block;min-width:240px;max-width:100%;min-height:46px;background:#fff;border-top:3px solid var(--dark-bevel);border-left:3px solid var(--dark-bevel);border-bottom:3px solid var(--light-bevel);border-right:3px solid var(--light-bevel);color:#333;font-size:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;line-height:inherit;padding:2px 50px 2px 0;text-indent:10px}.DownloadForm_NameInput__rJoTF:after{display:grid;place-content:center;content:".vl2";position:absolute;top:0;right:0;bottom:0;width:50px;color:#999}.DownloadForm_DownloadButton__THR8u{border:0;margin:0;padding:0 12px;min-width:128px;min-height:46px;font-family:var(--font-alagard),monospace;font-size:24px;font-style:normal;font-weight:400;line-height:1;border-radius:2px;background:url(/vl2-forge/_next/static/media/button.69ed12fe.png) transparent;background-repeat:no-repeat;background-size:150% 190%;background-position:50% 50%;border-color:rgba(255,145,105,.5) rgba(36,14,14,.7) rgba(36,14,14,.7) rgba(255,178,150,.5);border-style:solid;border-width:3px;color:#fff;text-shadow:0 0 5px rgba(255,226,82,.358),2px 3px 0 rgba(0,0,0,.5);cursor:pointer}.Forge_Forge__dDZFe{flex:1 1 100%;display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr auto;align-content:stretch;font-family:var(--font-departure),monospace;color:#fff;padding:20px;grid-gap:20px;gap:20px;overflow:auto;background-image:url(/vl2-forge/_next/static/media/noise.27f5ca25.png),linear-gradient(180deg,#5be9ee 0,#1e4172);background-repeat:repeat,repeat}.Forge_Footer__ghw3O{position:relative;grid-column:span 2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:32px 40px;background:rgba(59,55,49,.8);border-image-slice:18 26 26 23;border-image-width:16px 16px 16px 16px;border-image-outset:0 0 0 0;border-image-repeat:round repeat;border-image-source:url(/vl2-forge/_next/static/media/border.d6506fa8.png);border-style:solid;box-shadow:0 0 8px rgba(0,0,0,.3),inset 0 0 12px rgba(0,0,0,.8)}.Forge_Footer__ghw3O:before{content:"";position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;border-color:rgba(255,250,234,.4) hsla(0,0%,9%,.5) hsla(0,0%,9%,.5) rgba(255,250,234,.4);border-style:solid;border-width:4px 4px 5px;pointer-events:none}.Forge_Footer__ghw3O:after{display:block;content:"";position:absolute;top:10px;left:10px;right:10px;bottom:10px;border-color:hsla(0,0%,9%,.5) rgba(255,250,234,.4) rgba(255,250,234,.4) hsla(0,0%,9%,.5);border-style:solid;border-width:4px;pointer-events:none}.Forge_ListArea__OpY_R{position:relative;display:grid;align-items:center;justify-content:stretch;padding:32px;background:rgba(2,2,84,.252);border-radius:12px;overflow:auto}.Forge_FileList__9JOyh{width:100%;display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;text-shadow:2px 1px 0 #000}.Forge_EmptyMessage__Lrlud{text-align:center;text-wrap:balance;line-height:1.75}.Forge_AddButton__09pXD{border:0;margin:0;padding:0 0 2px;min-width:48px;min-height:48px;font-family:var(--font-departure),monospace;font-size:40px;font-style:inherit;font-weight:inherit;line-height:1;border-radius:3px;background:url(/vl2-forge/_next/static/media/button.69ed12fe.png) transparent;background-repeat:no-repeat;background-size:150% 190%;background-position:50% 50%;border-color:rgba(255,145,105,.5) rgba(36,14,14,.7) rgba(36,14,14,.7) rgba(255,178,150,.5);border-style:solid;border-width:3px;color:#fff;text-shadow:0 0 5px rgba(255,226,82,.358),2px 3px 0 rgba(0,0,0,.5);cursor:pointer;vertical-align:middle}.Forge_Header__7t3Qc{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px}.Forge_HeaderLink__fEDGG{display:none;margin-left:0;place-content:center;flex:0 0 auto;color:rgba(53,57,75,.8);text-decoration:none;font-size:48px}.Forge_HeaderLink__fEDGG svg{border:0}.Forge_FooterLink__gznaM{display:grid;margin-left:0;place-content:center;flex:0 0 auto;color:hsla(0,0%,100%,.4);font-size:40px}@media (max-width:767px){.Forge_Forge__dDZFe{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;padding:12px;gap:12px}.Forge_Header__7t3Qc{flex-direction:row}.Forge_Header__7t3Qc img{width:auto;max-height:96px}.Forge_HeaderLink__fEDGG{display:grid}.Forge_Footer__ghw3O{grid-column:span 1}.Forge_FooterLink__gznaM{display:none}} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 8775e92..0c5d205 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -VL2 Forge \ No newline at end of file +VL2 Forge \ No newline at end of file diff --git a/docs/index.txt b/docs/index.txt index 63c885b..8c25d59 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -1,6 +1,6 @@ -2:I[2967,["665","static/chunks/f97e080b-dd5f2930cdd62ec6.js","51","static/chunks/795d4814-41e831b7c57cc385.js","212","static/chunks/59650de3-d12eb82ab0e85613.js","516","static/chunks/f7333993-8f32bf8e5c1e3f32.js","675","static/chunks/b563f954-107b6adade962249.js","240","static/chunks/53c13509-84be3322852db000.js","699","static/chunks/8e1d74a4-2e60cc37d7b04363.js","634","static/chunks/634-fc7f40d81b6d4544.js","931","static/chunks/app/page-8bfd722117a9a7d9.js"],"Forge"] +2:I[2967,["665","static/chunks/f97e080b-dd5f2930cdd62ec6.js","51","static/chunks/795d4814-41e831b7c57cc385.js","212","static/chunks/59650de3-d12eb82ab0e85613.js","516","static/chunks/f7333993-8f32bf8e5c1e3f32.js","675","static/chunks/b563f954-107b6adade962249.js","240","static/chunks/53c13509-84be3322852db000.js","699","static/chunks/8e1d74a4-2e60cc37d7b04363.js","634","static/chunks/634-fc7f40d81b6d4544.js","931","static/chunks/app/page-e66009e34e76f13e.js"],"Forge"] 3:I[4707,[],""] 4:I[6423,[],""] -0:["d1IhGb8z70Loo4_E-WAtv",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/e296810e160012c4.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/50e7680c75095ce4.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_6dd175 __variable_60c549 __variable_b97ccf","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]],null],null],["$L5",null]]]] +0:["ESD_kf-gb_uy2iubrKiy_",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{}],[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/f1ea3743fc784e98.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/vl2-forge/_next/static/css/d80ab0a0f2784fed.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_6dd175 __variable_60c549 __variable_b97ccf","children":["$","body",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]],null],null],["$L5",null]]]] 5:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"VL2 Forge"}],["$","meta","3",{"name":"description","content":"Create .vl2 files for Tribes 2"}],["$","meta","4",{"name":"next-size-adjust"}]] 1:null diff --git a/src/FileItem.tsx b/src/FileItem.tsx index a832de1..deaac41 100644 --- a/src/FileItem.tsx +++ b/src/FileItem.tsx @@ -10,11 +10,11 @@ import styles from "./FileItem.module.css"; export function FileItem({ file, onDelete, onRename }) { const icon = useMemo(() => { - if (file.dataUri && file.type?.genericType === "image") { + if (file.blobUri && file.type?.genericType === "image") { return ( diff --git a/src/Forge.module.css b/src/Forge.module.css index 464d75d..b29fd7f 100644 --- a/src/Forge.module.css +++ b/src/Forge.module.css @@ -9,6 +9,9 @@ padding: 20px; gap: 20px; overflow: auto; + background-image: url("../public/noise.png"), + linear-gradient(to bottom, #5be9ee 0%, #1e4172 100%); + background-repeat: repeat, repeat; } .Footer { diff --git a/src/Forge.tsx b/src/Forge.tsx index 6fe9fa7..e24259b 100644 --- a/src/Forge.tsx +++ b/src/Forge.tsx @@ -44,8 +44,10 @@ export function Forge() { }); setLoadingCount((count) => count - 1); }, []); + const { getRootProps, getInputProps, open, isDragActive } = useDropzone({ noClick: true, + noKeyboard: true, onDrop, }); diff --git a/src/Loading.module.css b/src/Loading.module.css index 93a67e5..87517d7 100644 --- a/src/Loading.module.css +++ b/src/Loading.module.css @@ -22,7 +22,7 @@ justify-content: center; width: 100%; color: rgb(232, 194, 154); - background: rgba(0, 0, 0, 0.95); + background: #000; mix-blend-mode: hard-light; font-family: var(--font-alagard); font-size: 40px; diff --git a/src/utils.ts b/src/utils.ts index 5406413..cf3f7f9 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -9,7 +9,7 @@ export type FileType = { export type FileEntry = { path: string; buffer: ArrayBuffer; - dataUri: string | null; + blobUri: string | null; date: Date | null; unixPermissions: string | number | null; dosPermissions: number | null; @@ -146,8 +146,8 @@ export async function handleZipFile(file) { const buffer = await fileObj.async("arraybuffer"); const fileEntry = { path, - buffer: buffer, - dataUri: null, + buffer, + blobUri: null, date: fileObj.date, unixPermissions: fileObj.unixPermissions, dosPermissions: fileObj.dosPermissions, @@ -157,8 +157,12 @@ export async function handleZipFile(file) { fileEntry.type?.genericType === "image" || fileEntry.type?.genericType === "audio" ) { - const base64String = await fileObj.async("base64"); - fileEntry.dataUri = `data:${fileEntry.type.mimeType};base64,${base64String}`; + // const base64String = await fileObj.async("base64"); + // fileEntry.dataUri = `data:${fileEntry.type.mimeType};base64,${base64String}`; + const blob = new Blob([buffer], { + type: fileEntry.type?.mimeType ?? "", + }); + fileEntry.blobUri = URL.createObjectURL(blob); } map.set(path, fileEntry); } @@ -190,18 +194,15 @@ export async function handleOtherFile(file) { const fileEntry = { path, buffer, - dataUri: null, + blobUri: null, date: null, unixPermissions: null, dosPermissions: null, type: detectFileType(file), }; - if ( - fileEntry.type?.genericType === "image" || - fileEntry.type?.genericType === "audio" - ) { - const base64String = base64ArrayBuffer(buffer); - fileEntry.dataUri = `data:${fileEntry.type.mimeType};base64,${base64String}`; + if (fileEntry.type?.genericType === "image") { + // const base64String = base64ArrayBuffer(buffer); + fileEntry.blobUri = URL.createObjectURL(file); } map.set(path, fileEntry); return map;