initial commit

This commit is contained in:
2026-04-05 16:08:59 +03:00
commit 75ab9bec9f
1117 changed files with 789034 additions and 0 deletions

13
editor/node_modules/tsup/assets/cjs_shims.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
// Shim globals in cjs bundle
// There's a weird bug that esbuild will always inject importMetaUrl
// if we export it as `const importMetaUrl = ... __filename ...`
// But using a function will not cause this issue
const getImportMetaUrl = () =>
typeof document === "undefined"
? new URL(`file:${__filename}`).href
: (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')
? document.currentScript.src
: new URL("main.js", document.baseURI).href;
export const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()

9
editor/node_modules/tsup/assets/esm_shims.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
// Shim globals in esm bundle
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const getFilename = () => fileURLToPath(import.meta.url)
const getDirname = () => path.dirname(getFilename())
export const __dirname = /* @__PURE__ */ getDirname()
export const __filename = /* @__PURE__ */ getFilename()

3
editor/node_modules/tsup/assets/package.json generated vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"sideEffects": false
}