- Added more ball in scene
    - Modify Lambert texture to Physical
    - Implement RectAreaLight in scene
This commit is contained in:
Hugo Bourgeon
2024-08-08 16:38:35 +02:00
parent d92f1eab47
commit ea0404d606
65 changed files with 161 additions and 103532 deletions

View File

@ -6,7 +6,7 @@
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/07 16:07:51 by hubourge #+# #+# */
/* Updated: 2024/08/07 16:12:33 by hubourge ### ########.fr */
/* Updated: 2024/08/08 15:37:06 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,7 +20,7 @@ let BoxThickness = 0.1;
function createBox(scene, x, y, z)
{
const geometryBox = new THREE.BoxGeometry(BoxWidth, BoxHeight, BoxThickness);
const materialBox = new THREE.MeshLambertMaterial({
const materialBox = new THREE.MeshPhysicalMaterial({
color: 0xff0000,
});
const box = new THREE.Mesh(geometryBox, materialBox);
@ -31,4 +31,15 @@ function createBox(scene, x, y, z)
return box;
}
function createBall(scene, x, y, z, geometryBall, materialBall) {
const ball = new THREE.Mesh(geometryBall, materialBall);
ball.position.x = x;
ball.position.y = y;
ball.position.z = z;
ball.castShadow = true;
scene.add(ball);
return ball;
}
export { createBall };
export { createBox };

View File

@ -6,18 +6,20 @@
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 13:50:49 by edbernar #+# #+# */
/* Updated: 2024/08/07 16:52:45 by hubourge ### ########.fr */
/* Updated: 2024/08/08 16:33:16 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
import { sendRequest } from './websocket.js';
import { MoveObject } from './controls.js';
import { createBox } from './elements.js';
import * as THREE from 'three';
import Stats from 'stats.js';
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
import { createSpotLight, refreshSpotLight, createLightAmbient, createLightPoint, refreshLightPoint } from './light.js';
import { createMap } from './map.js';
import { createBox } from './elements.js';
import { createBall } from './elements.js';
import { RectAreaLightUniformsLib } from 'three/examples/jsm/lights/RectAreaLightUniformsLib.js';
let time = Date.now();
@ -27,12 +29,12 @@ const renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);
// ------------------- Stats ------------------- //
// ------------------- Stats -------------------- //
const stats = new Stats();
stats.showPanel(0); // 0: fps, 1: ms, 2: mémoire
document.body.appendChild(stats.dom);
// ------------------- Scene ------------------- //
// ------------------- Scene -------------------- //
scene.background = new THREE.Color(0x1a1a1a);
// ------------------- Shadow ------------------- //
@ -44,47 +46,77 @@ camera.position.z = 4;
camera.position.y = 3;
camera.rotation.x = -(Math.PI / 4);
// ------------------- Ball ------------------- //
// ------------------- Ball --------------------- //
const geometryBall = new THREE.SphereGeometry(0.1, 32, 32);
const materialBall = new THREE.MeshLambertMaterial({ color: 0xffffff });
const ball = new THREE.Mesh(geometryBall, materialBall);
ball.position.y = 0.1;
ball.castShadow = true;
scene.add(ball);
const materialBall = new THREE.MeshPhysicalMaterial({ color: 0xffffff });
const ball1 = createBall(scene, 0, 0.1, 0, geometryBall, materialBall);
const ball2 = createBall(scene, 2, 0.1, 0, geometryBall, materialBall);
const ball3 = createBall(scene, 2, 0.1, 2, geometryBall, materialBall);
const ball4 = createBall(scene, 0, 0.1, 0, geometryBall, materialBall);
const ball5 = createBall(scene, 2, 0.1, -1.5, geometryBall, materialBall);
// ------------------- RectAreaLight ------------ //
RectAreaLightUniformsLib.init();
let width = 9;
let height = 1;
let intensity = 10;
const rectLightUp = new THREE.RectAreaLight( 0xff0000, intensity, width, height );
rectLightUp.position.set( 0, 0, -2.24);
rectLightUp.rotation.y = Math.PI;
scene.add( rectLightUp )
width = 9;
height = 1;
intensity = 5;
const rectLightDown = new THREE.RectAreaLight( 0x0000ff, intensity, width, height );
rectLightDown.position.set( 0, 0, 2.24);
scene.add( rectLightDown )
// --------------- Box Constrols -------------- //
const boxLeft = createBox(scene, -4.45, 0.1 / 2, 0);
const boxRight = createBox(scene, 4.45, 0.1 / 2, 0);
const controlBoxLeft = new MoveObject(boxLeft);
let spotLight = createSpotLight(0xffffff, ball, scene);
let spotLight = createSpotLight(0xffffff, ball4, scene);
let lightAmbient = createLightAmbient(scene);
let lightPoint = createLightPoint(scene);
createMap(scene);
const controls = new OrbitControls(camera, renderer.domElement);
camera.position.set(0, 1, 5);
camera.position.set(0, 4, 5);
controls.update();
function animate() {
stats.begin();
if (Date.now() - time > 10000)
{
time = Date.now();
spotLight = refreshSpotLight(scene, spotLight, ball);
spotLight = refreshSpotLight(scene, spotLight, ball4);
lightPoint = refreshLightPoint(scene, lightPoint);
}
// controls.update();
ball.position.x = Math.sin(Date.now() * 0.001) * 2;
ball.position.z = Math.cos(Date.now() * 0.001) * 2;
updateBalls();
renderer.render(scene, camera);
controlBoxLeft.update();
stats.end();
}
function updateBalls() {
ball1.position.z = Math.sin(Date.now() * 0.001) * 2;
ball2.position.x = Math.sin(Date.now() * 0.001) * 3.5;
ball3.position.x = Math.sin(Date.now() * 0.001) * 3.5;
ball3.position.z = Math.sin(Date.now() * 0.001) * 2;
ball4.position.z = Math.sin(Date.now() * 0.001) * 2;
ball4.position.x = Math.cos(Date.now() * 0.001) * 2;
ball5.position.y = Math.sin(Date.now() * 0.001) * 0.5 + 0.7;
}
renderer.setAnimationLoop(animate)
document.addEventListener("wheel", onDocumentWheel, false);

View File

@ -6,7 +6,7 @@
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 13:50:51 by edbernar #+# #+# */
/* Updated: 2024/08/07 16:26:17 by hubourge ### ########.fr */
/* Updated: 2024/08/08 15:36:48 by hubourge ### ########.fr */
/* */
/* ************************************************************************** */
@ -26,7 +26,7 @@ function createMap(scene) {
function createWall(scene, x, y, z, thickness) {
const geometryWall = new THREE.BoxGeometry(9, 0.5, thickness);
const materialWall = new THREE.MeshLambertMaterial({
const materialWall = new THREE.MeshPhysicalMaterial({
color: 0x3b3b3b,
});
const wall = new THREE.Mesh(geometryWall, materialWall);
@ -38,7 +38,7 @@ function createWall(scene, x, y, z, thickness) {
function createGround(scene) {
const geometry = new THREE.PlaneGeometry(9, 4.5, 1);
const material = new THREE.MeshLambertMaterial({
const material = new THREE.MeshPhysicalMaterial({
color: 0x3b3b3b,
});
const plane = new THREE.Mesh(geometry, material);

View File

@ -1,3 +0,0 @@
// optional-peer-dep:__vite-optional-peer-dep:lightningcss:vite
throw new Error(`Could not resolve "lightningcss" imported by "vite". Is it installed?`);
//# sourceMappingURL=__vite-optional-peer-dep_lightningcss_vite-LUUMBJI5.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["optional-peer-dep:__vite-optional-peer-dep:lightningcss:vite"],
"sourcesContent": ["throw new Error(`Could not resolve \"lightningcss\" imported by \"vite\". Is it installed?`)"],
"mappings": ";AAAA,MAAM,IAAI,MAAM,uEAAuE;",
"names": []
}

View File

@ -1,109 +1,40 @@
{
"hash": "b28c11ff",
"configHash": "8ea63f38",
"hash": "84705c79",
"configHash": "e6b0507d",
"lockfileHash": "c0b533f0",
"browserHash": "fea337a7",
"browserHash": "e8cce6d5",
"optimized": {
"stats.js": {
"src": "../../stats.js/build/stats.min.js",
"file": "stats__js.js",
"fileHash": "3b5669d4",
"fileHash": "76e64697",
"needsInterop": true
},
"three": {
"src": "../../three/build/three.module.js",
"file": "three.js",
"fileHash": "e6d9b41d",
"fileHash": "2c53ee09",
"needsInterop": false
},
"three/examples/jsm/controls/OrbitControls.js": {
"src": "../../three/examples/jsm/controls/OrbitControls.js",
"file": "three_examples_jsm_controls_OrbitControls__js.js",
"fileHash": "d8efbae2",
"fileHash": "ed778cce",
"needsInterop": false
},
"vite": {
"src": "../../vite/dist/node/index.js",
"file": "vite.js",
"fileHash": "0b83e725",
"three/examples/jsm/lights/RectAreaLightUniformsLib.js": {
"src": "../../three/examples/jsm/lights/RectAreaLightUniformsLib.js",
"file": "three_examples_jsm_lights_RectAreaLightUniformsLib__js.js",
"fileHash": "ca8c3839",
"needsInterop": false
}
},
"chunks": {
"postcss-EOMQEHKO": {
"file": "postcss-EOMQEHKO.js"
},
"dep-CjZz522d-UKJ7SIID": {
"file": "dep-CjZz522d-UKJ7SIID.js"
},
"chunk-7522MNHT": {
"file": "chunk-7522MNHT.js"
},
"__vite-optional-peer-dep_lightningcss_vite-LUUMBJI5": {
"file": "__vite-optional-peer-dep_lightningcss_vite-LUUMBJI5.js"
},
"node_http2-LSZGSR42": {
"file": "node_http2-LSZGSR42.js"
},
"watch-EFW4YXCL": {
"file": "watch-EFW4YXCL.js"
},
"rollup-CIAQV775": {
"file": "rollup-CIAQV775.js"
},
"chunk-PTYCI75C": {
"file": "chunk-PTYCI75C.js"
},
"chunk-IS2ZBFBB": {
"file": "chunk-IS2ZBFBB.js"
},
"node_http-PVJAKJLZ": {
"file": "node_http-PVJAKJLZ.js"
},
"node_https-MF5UXHZ4": {
"file": "node_https-MF5UXHZ4.js"
},
"dep-D-7KCb9p-QLXNKUUS": {
"file": "dep-D-7KCb9p-QLXNKUUS.js"
},
"dep-VqAwxVIc-WZUMGT3D": {
"file": "dep-VqAwxVIc-WZUMGT3D.js"
},
"chunk-H6V4345L": {
"file": "chunk-H6V4345L.js"
},
"chunk-UIZRH6IJ": {
"file": "chunk-UIZRH6IJ.js"
},
"chunk-MPVQUUHK": {
"file": "chunk-MPVQUUHK.js"
},
"chunk-KPGLAEFU": {
"file": "chunk-KPGLAEFU.js"
},
"chunk-I5RSIQOR": {
"file": "chunk-I5RSIQOR.js"
},
"chunk-I6YKGN4K": {
"file": "chunk-I6YKGN4K.js"
},
"chunk-4XRL7ZXG": {
"file": "chunk-4XRL7ZXG.js"
},
"chunk-X45QO7DX": {
"file": "chunk-X45QO7DX.js"
},
"chunk-OZBCPRVH": {
"file": "chunk-OZBCPRVH.js"
},
"chunk-G2ZEZZAJ": {
"file": "chunk-G2ZEZZAJ.js"
},
"chunk-M2MSWSHF": {
"file": "chunk-M2MSWSHF.js"
},
"chunk-ZSMWDLMK": {
"file": "chunk-ZSMWDLMK.js"
"chunk-BUSYA2B4": {
"file": "chunk-BUSYA2B4.js"
}
}
}

View File

@ -1,21 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:path
var require_path = __commonJS({
"browser-external:path"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "path" has been externalized for browser compatibility. Cannot access "path.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_path
};
//# sourceMappingURL=chunk-4XRL7ZXG.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:path"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"path\" has been externalized for browser compatibility. Cannot access \"path.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,sFAAsF,GAAG,qIAAqI;AAAA,QAC7O;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

9
site/game/node_modules/.vite/deps/chunk-BUSYA2B4.js generated vendored Normal file
View File

@ -0,0 +1,9 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
export {
__commonJS
};
//# sourceMappingURL=chunk-BUSYA2B4.js.map

View File

@ -1,35 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:node:url
var require_node_url = __commonJS({
"browser-external:node:url"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:url" has been externalized for browser compatibility. Cannot access "node:url.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
// browser-external:node:module
var require_node_module = __commonJS({
"browser-external:node:module"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:module" has been externalized for browser compatibility. Cannot access "node:module.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_node_url,
require_node_module
};
//# sourceMappingURL=chunk-G2ZEZZAJ.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:node:url", "browser-external:node:module"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:url\" has been externalized for browser compatibility. Cannot access \"node:url.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))", "module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:module\" has been externalized for browser compatibility. Cannot access \"node:module.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,8FAA8F,GAAG,qIAAqI;AAAA,QACrP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;;;ACXF;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,oGAAoG,GAAG,qIAAqI;AAAA,QAC3P;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

View File

@ -1,428 +0,0 @@
import {
require_node_module,
require_node_url
} from "./chunk-G2ZEZZAJ.js";
import {
require_node_path
} from "./chunk-M2MSWSHF.js";
import {
__toESM
} from "./chunk-ZSMWDLMK.js";
// node_modules/vite/dist/node/chunks/dep-IQS-Za7F.js
var import_node_url = __toESM(require_node_url(), 1);
var import_node_path = __toESM(require_node_path(), 1);
var import_node_module = __toESM(require_node_module(), 1);
var __filename = (0, import_node_url.fileURLToPath)(import.meta.url);
var __dirname = (0, import_node_path.dirname)(__filename);
var require2 = (0, import_node_module.createRequire)(import.meta.url);
var openParentheses = "(".charCodeAt(0);
var closeParentheses = ")".charCodeAt(0);
var singleQuote = "'".charCodeAt(0);
var doubleQuote = '"'.charCodeAt(0);
var backslash = "\\".charCodeAt(0);
var slash = "/".charCodeAt(0);
var comma = ",".charCodeAt(0);
var colon = ":".charCodeAt(0);
var star = "*".charCodeAt(0);
var uLower = "u".charCodeAt(0);
var uUpper = "U".charCodeAt(0);
var plus = "+".charCodeAt(0);
var isUnicodeRange = /^[a-f0-9?-]+$/i;
var parse$1 = function(input) {
var tokens = [];
var value = input;
var next, quote, prev, token, escape, escapePos, whitespacePos, parenthesesOpenPos;
var pos = 0;
var code = value.charCodeAt(pos);
var max = value.length;
var stack = [{ nodes: tokens }];
var balanced = 0;
var parent;
var name = "";
var before = "";
var after = "";
while (pos < max) {
if (code <= 32) {
next = pos;
do {
next += 1;
code = value.charCodeAt(next);
} while (code <= 32);
token = value.slice(pos, next);
prev = tokens[tokens.length - 1];
if (code === closeParentheses && balanced) {
after = token;
} else if (prev && prev.type === "div") {
prev.after = token;
prev.sourceEndIndex += token.length;
} else if (code === comma || code === colon || code === slash && value.charCodeAt(next + 1) !== star && (!parent || parent && parent.type === "function" && parent.value !== "calc")) {
before = token;
} else {
tokens.push({
type: "space",
sourceIndex: pos,
sourceEndIndex: next,
value: token
});
}
pos = next;
} else if (code === singleQuote || code === doubleQuote) {
next = pos;
quote = code === singleQuote ? "'" : '"';
token = {
type: "string",
sourceIndex: pos,
quote
};
do {
escape = false;
next = value.indexOf(quote, next + 1);
if (~next) {
escapePos = next;
while (value.charCodeAt(escapePos - 1) === backslash) {
escapePos -= 1;
escape = !escape;
}
} else {
value += quote;
next = value.length - 1;
token.unclosed = true;
}
} while (escape);
token.value = value.slice(pos + 1, next);
token.sourceEndIndex = token.unclosed ? next : next + 1;
tokens.push(token);
pos = next + 1;
code = value.charCodeAt(pos);
} else if (code === slash && value.charCodeAt(pos + 1) === star) {
next = value.indexOf("*/", pos);
token = {
type: "comment",
sourceIndex: pos,
sourceEndIndex: next + 2
};
if (next === -1) {
token.unclosed = true;
next = value.length;
token.sourceEndIndex = next;
}
token.value = value.slice(pos + 2, next);
tokens.push(token);
pos = next + 2;
code = value.charCodeAt(pos);
} else if ((code === slash || code === star) && parent && parent.type === "function" && parent.value === "calc") {
token = value[pos];
tokens.push({
type: "word",
sourceIndex: pos - before.length,
sourceEndIndex: pos + token.length,
value: token
});
pos += 1;
code = value.charCodeAt(pos);
} else if (code === slash || code === comma || code === colon) {
token = value[pos];
tokens.push({
type: "div",
sourceIndex: pos - before.length,
sourceEndIndex: pos + token.length,
value: token,
before,
after: ""
});
before = "";
pos += 1;
code = value.charCodeAt(pos);
} else if (openParentheses === code) {
next = pos;
do {
next += 1;
code = value.charCodeAt(next);
} while (code <= 32);
parenthesesOpenPos = pos;
token = {
type: "function",
sourceIndex: pos - name.length,
value: name,
before: value.slice(parenthesesOpenPos + 1, next)
};
pos = next;
if (name === "url" && code !== singleQuote && code !== doubleQuote) {
next -= 1;
do {
escape = false;
next = value.indexOf(")", next + 1);
if (~next) {
escapePos = next;
while (value.charCodeAt(escapePos - 1) === backslash) {
escapePos -= 1;
escape = !escape;
}
} else {
value += ")";
next = value.length - 1;
token.unclosed = true;
}
} while (escape);
whitespacePos = next;
do {
whitespacePos -= 1;
code = value.charCodeAt(whitespacePos);
} while (code <= 32);
if (parenthesesOpenPos < whitespacePos) {
if (pos !== whitespacePos + 1) {
token.nodes = [
{
type: "word",
sourceIndex: pos,
sourceEndIndex: whitespacePos + 1,
value: value.slice(pos, whitespacePos + 1)
}
];
} else {
token.nodes = [];
}
if (token.unclosed && whitespacePos + 1 !== next) {
token.after = "";
token.nodes.push({
type: "space",
sourceIndex: whitespacePos + 1,
sourceEndIndex: next,
value: value.slice(whitespacePos + 1, next)
});
} else {
token.after = value.slice(whitespacePos + 1, next);
token.sourceEndIndex = next;
}
} else {
token.after = "";
token.nodes = [];
}
pos = next + 1;
token.sourceEndIndex = token.unclosed ? next : pos;
code = value.charCodeAt(pos);
tokens.push(token);
} else {
balanced += 1;
token.after = "";
token.sourceEndIndex = pos + 1;
tokens.push(token);
stack.push(token);
tokens = token.nodes = [];
parent = token;
}
name = "";
} else if (closeParentheses === code && balanced) {
pos += 1;
code = value.charCodeAt(pos);
parent.after = after;
parent.sourceEndIndex += after.length;
after = "";
balanced -= 1;
stack[stack.length - 1].sourceEndIndex = pos;
stack.pop();
parent = stack[balanced];
tokens = parent.nodes;
} else {
next = pos;
do {
if (code === backslash) {
next += 1;
}
next += 1;
code = value.charCodeAt(next);
} while (next < max && !(code <= 32 || code === singleQuote || code === doubleQuote || code === comma || code === colon || code === slash || code === openParentheses || code === star && parent && parent.type === "function" && parent.value === "calc" || code === slash && parent.type === "function" && parent.value === "calc" || code === closeParentheses && balanced));
token = value.slice(pos, next);
if (openParentheses === code) {
name = token;
} else if ((uLower === token.charCodeAt(0) || uUpper === token.charCodeAt(0)) && plus === token.charCodeAt(1) && isUnicodeRange.test(token.slice(2))) {
tokens.push({
type: "unicode-range",
sourceIndex: pos,
sourceEndIndex: next,
value: token
});
} else {
tokens.push({
type: "word",
sourceIndex: pos,
sourceEndIndex: next,
value: token
});
}
pos = next;
}
}
for (pos = stack.length - 1; pos; pos -= 1) {
stack[pos].unclosed = true;
stack[pos].sourceEndIndex = value.length;
}
return stack[0].nodes;
};
var walk$1 = function walk(nodes, cb, bubble) {
var i, max, node, result;
for (i = 0, max = nodes.length; i < max; i += 1) {
node = nodes[i];
if (!bubble) {
result = cb(node, i, nodes);
}
if (result !== false && node.type === "function" && Array.isArray(node.nodes)) {
walk(node.nodes, cb, bubble);
}
if (bubble) {
cb(node, i, nodes);
}
}
};
function stringifyNode(node, custom) {
var type = node.type;
var value = node.value;
var buf;
var customResult;
if (custom && (customResult = custom(node)) !== void 0) {
return customResult;
} else if (type === "word" || type === "space") {
return value;
} else if (type === "string") {
buf = node.quote || "";
return buf + value + (node.unclosed ? "" : buf);
} else if (type === "comment") {
return "/*" + value + (node.unclosed ? "" : "*/");
} else if (type === "div") {
return (node.before || "") + value + (node.after || "");
} else if (Array.isArray(node.nodes)) {
buf = stringify$1(node.nodes, custom);
if (type !== "function") {
return buf;
}
return value + "(" + (node.before || "") + buf + (node.after || "") + (node.unclosed ? "" : ")");
}
return value;
}
function stringify$1(nodes, custom) {
var result, i;
if (Array.isArray(nodes)) {
result = "";
for (i = nodes.length - 1; ~i; i -= 1) {
result = stringifyNode(nodes[i], custom) + result;
}
return result;
}
return stringifyNode(nodes, custom);
}
var stringify_1 = stringify$1;
var unit;
var hasRequiredUnit;
function requireUnit() {
if (hasRequiredUnit) return unit;
hasRequiredUnit = 1;
var minus = "-".charCodeAt(0);
var plus2 = "+".charCodeAt(0);
var dot = ".".charCodeAt(0);
var exp = "e".charCodeAt(0);
var EXP = "E".charCodeAt(0);
function likeNumber(value) {
var code = value.charCodeAt(0);
var nextCode;
if (code === plus2 || code === minus) {
nextCode = value.charCodeAt(1);
if (nextCode >= 48 && nextCode <= 57) {
return true;
}
var nextNextCode = value.charCodeAt(2);
if (nextCode === dot && nextNextCode >= 48 && nextNextCode <= 57) {
return true;
}
return false;
}
if (code === dot) {
nextCode = value.charCodeAt(1);
if (nextCode >= 48 && nextCode <= 57) {
return true;
}
return false;
}
if (code >= 48 && code <= 57) {
return true;
}
return false;
}
unit = function(value) {
var pos = 0;
var length = value.length;
var code;
var nextCode;
var nextNextCode;
if (length === 0 || !likeNumber(value)) {
return false;
}
code = value.charCodeAt(pos);
if (code === plus2 || code === minus) {
pos++;
}
while (pos < length) {
code = value.charCodeAt(pos);
if (code < 48 || code > 57) {
break;
}
pos += 1;
}
code = value.charCodeAt(pos);
nextCode = value.charCodeAt(pos + 1);
if (code === dot && nextCode >= 48 && nextCode <= 57) {
pos += 2;
while (pos < length) {
code = value.charCodeAt(pos);
if (code < 48 || code > 57) {
break;
}
pos += 1;
}
}
code = value.charCodeAt(pos);
nextCode = value.charCodeAt(pos + 1);
nextNextCode = value.charCodeAt(pos + 2);
if ((code === exp || code === EXP) && (nextCode >= 48 && nextCode <= 57 || (nextCode === plus2 || nextCode === minus) && nextNextCode >= 48 && nextNextCode <= 57)) {
pos += nextCode === plus2 || nextCode === minus ? 3 : 2;
while (pos < length) {
code = value.charCodeAt(pos);
if (code < 48 || code > 57) {
break;
}
pos += 1;
}
}
return {
number: value.slice(0, pos),
unit: value.slice(pos)
};
};
return unit;
}
var parse = parse$1;
var walk2 = walk$1;
var stringify = stringify_1;
function ValueParser(value) {
if (this instanceof ValueParser) {
this.nodes = parse(value);
return this;
}
return new ValueParser(value);
}
ValueParser.prototype.toString = function() {
return Array.isArray(this.nodes) ? stringify(this.nodes) : "";
};
ValueParser.prototype.walk = function(cb, bubble) {
walk2(this.nodes, cb, bubble);
return this;
};
ValueParser.unit = requireUnit();
ValueParser.walk = walk2;
ValueParser.stringify = stringify;
var lib = ValueParser;
export {
lib
};
//# sourceMappingURL=chunk-H6V4345L.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,21 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:fs
var require_fs = __commonJS({
"browser-external:fs"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "fs" has been externalized for browser compatibility. Cannot access "fs.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_fs
};
//# sourceMappingURL=chunk-I5RSIQOR.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:fs"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"fs\" has been externalized for browser compatibility. Cannot access \"fs.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,kFAAkF,GAAG,qIAAqI;AAAA,QACzO;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,77 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:os
var require_os = __commonJS({
"browser-external:os"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "os" has been externalized for browser compatibility. Cannot access "os.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
// browser-external:util
var require_util = __commonJS({
"browser-external:util"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "util" has been externalized for browser compatibility. Cannot access "util.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
// browser-external:events
var require_events = __commonJS({
"browser-external:events"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "events" has been externalized for browser compatibility. Cannot access "events.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
// browser-external:stream
var require_stream = __commonJS({
"browser-external:stream"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "stream" has been externalized for browser compatibility. Cannot access "stream.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
// browser-external:node:os
var require_node_os = __commonJS({
"browser-external:node:os"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:os" has been externalized for browser compatibility. Cannot access "node:os.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_os,
require_util,
require_events,
require_stream,
require_node_os
};
//# sourceMappingURL=chunk-KPGLAEFU.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:os", "browser-external:util", "browser-external:events", "browser-external:stream", "browser-external:node:os"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"os\" has been externalized for browser compatibility. Cannot access \"os.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))", "module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"util\" has been externalized for browser compatibility. Cannot access \"util.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))", "module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"events\" has been externalized for browser compatibility. Cannot access \"events.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))", "module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"stream\" has been externalized for browser compatibility. Cannot access \"stream.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))", "module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:os\" has been externalized for browser compatibility. Cannot access \"node:os.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,kFAAkF,GAAG,qIAAqI;AAAA,QACzO;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;;;ACXF;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,sFAAsF,GAAG,qIAAqI;AAAA,QAC7O;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;;;ACXF;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,0FAA0F,GAAG,qIAAqI;AAAA,QACjP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;;;ACXF;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,0FAA0F,GAAG,qIAAqI;AAAA,QACjP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;;;ACXF;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,4FAA4F,GAAG,qIAAqI;AAAA,QACnP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

View File

@ -1,21 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:node:path
var require_node_path = __commonJS({
"browser-external:node:path"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:path" has been externalized for browser compatibility. Cannot access "node:path.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_node_path
};
//# sourceMappingURL=chunk-M2MSWSHF.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:node:path"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:path\" has been externalized for browser compatibility. Cannot access \"node:path.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,gGAAgG,GAAG,qIAAqI;AAAA,QACvP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

View File

@ -1,21 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:url
var require_url = __commonJS({
"browser-external:url"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "url" has been externalized for browser compatibility. Cannot access "url.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_url
};
//# sourceMappingURL=chunk-MPVQUUHK.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:url"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"url\" has been externalized for browser compatibility. Cannot access \"url.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,oFAAoF,GAAG,qIAAqI;AAAA,QAC3O;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

View File

@ -1,21 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:node:https
var require_node_https = __commonJS({
"browser-external:node:https"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:https" has been externalized for browser compatibility. Cannot access "node:https.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_node_https
};
//# sourceMappingURL=chunk-OZBCPRVH.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:node:https"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:https\" has been externalized for browser compatibility. Cannot access \"node:https.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,kGAAkG,GAAG,qIAAqI;AAAA,QACzP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

File diff suppressed because it is too large Load Diff

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

@ -1,21 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:node:http
var require_node_http = __commonJS({
"browser-external:node:http"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:http" has been externalized for browser compatibility. Cannot access "node:http.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export {
require_node_http
};
//# sourceMappingURL=chunk-X45QO7DX.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:node:http"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:http\" has been externalized for browser compatibility. Cannot access \"node:http.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,gGAAgG,GAAG,qIAAqI;AAAA,QACvP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

View File

@ -1,62 +0,0 @@
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __typeError = (msg) => {
throw TypeError(msg);
};
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
}) : x)(function(x) {
if (typeof require !== "undefined") return require.apply(this, arguments);
throw Error('Dynamic require of "' + x + '" is not supported');
});
var __commonJS = (cb, mod) => function __require2() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
var __privateWrapper = (obj, member, setter, getter) => ({
set _(value) {
__privateSet(obj, member, value, setter);
},
get _() {
return __privateGet(obj, member, getter);
}
});
export {
__require,
__commonJS,
__toESM,
__publicField,
__privateGet,
__privateAdd,
__privateSet,
__privateMethod,
__privateWrapper
};
//# sourceMappingURL=chunk-ZSMWDLMK.js.map

File diff suppressed because it is too large Load Diff

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

@ -1,755 +0,0 @@
import {
lib
} from "./chunk-H6V4345L.js";
import {
getDefaultExportFromCjs
} from "./chunk-UIZRH6IJ.js";
import "./chunk-MPVQUUHK.js";
import "./chunk-KPGLAEFU.js";
import {
require_fs
} from "./chunk-I5RSIQOR.js";
import "./chunk-I6YKGN4K.js";
import {
require_path
} from "./chunk-4XRL7ZXG.js";
import "./chunk-X45QO7DX.js";
import "./chunk-OZBCPRVH.js";
import {
require_node_module,
require_node_url
} from "./chunk-G2ZEZZAJ.js";
import {
require_node_path
} from "./chunk-M2MSWSHF.js";
import {
__toESM
} from "./chunk-ZSMWDLMK.js";
// node_modules/vite/dist/node/chunks/dep-VqAwxVIc.js
var import_path = __toESM(require_path(), 1);
var import_fs = __toESM(require_fs(), 1);
var import_node_url = __toESM(require_node_url(), 1);
var import_node_path = __toESM(require_node_path(), 1);
var import_node_module = __toESM(require_node_module(), 1);
var __filename = (0, import_node_url.fileURLToPath)(import.meta.url);
var __dirname = (0, import_node_path.dirname)(__filename);
var require2 = (0, import_node_module.createRequire)(import.meta.url);
var __require = require2;
function _mergeNamespaces(n, m) {
for (var i = 0; i < m.length; i++) {
var e = m[i];
if (typeof e !== "string" && !Array.isArray(e)) {
for (var k in e) {
if (k !== "default" && !(k in n)) {
n[k] = e[k];
}
}
}
}
return n;
}
var formatImportPrelude$2 = function formatImportPrelude(layer, media, supports) {
const parts = [];
if (typeof layer !== "undefined") {
let layerParams = "layer";
if (layer) {
layerParams = `layer(${layer})`;
}
parts.push(layerParams);
}
if (typeof supports !== "undefined") {
parts.push(`supports(${supports})`);
}
if (typeof media !== "undefined") {
parts.push(media);
}
return parts.join(" ");
};
var formatImportPrelude$1 = formatImportPrelude$2;
var base64EncodedImport = function base64EncodedConditionalImport(prelude, conditions) {
conditions.reverse();
const first = conditions.pop();
let params = `${prelude} ${formatImportPrelude$1(
first.layer,
first.media,
first.supports
)}`;
for (const condition of conditions) {
params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString(
"base64"
)}' ${formatImportPrelude$1(
condition.layer,
condition.media,
condition.supports
)}`;
}
return params;
};
var base64EncodedConditionalImport2 = base64EncodedImport;
var applyConditions$1 = function applyConditions(bundle, atRule) {
bundle.forEach((stmt) => {
var _a;
if (stmt.type === "charset" || stmt.type === "warning" || !((_a = stmt.conditions) == null ? void 0 : _a.length)) {
return;
}
if (stmt.type === "import") {
stmt.node.params = base64EncodedConditionalImport2(
stmt.fullUri,
stmt.conditions
);
return;
}
const { nodes } = stmt;
const { parent } = nodes[0];
const atRules = [];
for (const condition of stmt.conditions) {
if (typeof condition.media !== "undefined") {
const mediaNode = atRule({
name: "media",
params: condition.media,
source: parent.source
});
atRules.push(mediaNode);
}
if (typeof condition.supports !== "undefined") {
const supportsNode = atRule({
name: "supports",
params: `(${condition.supports})`,
source: parent.source
});
atRules.push(supportsNode);
}
if (typeof condition.layer !== "undefined") {
const layerNode = atRule({
name: "layer",
params: condition.layer,
source: parent.source
});
atRules.push(layerNode);
}
}
const outerAtRule = atRules.shift();
const innerAtRule = atRules.reduce((previous, next) => {
previous.append(next);
return next;
}, outerAtRule);
parent.insertBefore(nodes[0], outerAtRule);
nodes.forEach((node) => {
node.parent = void 0;
});
nodes[0].raws.before = nodes[0].raws.before || "\n";
innerAtRule.append(nodes);
stmt.type = "nodes";
stmt.nodes = [outerAtRule];
delete stmt.node;
});
};
var applyRaws$1 = function applyRaws(bundle) {
bundle.forEach((stmt, index2) => {
if (index2 === 0) return;
if (stmt.parent) {
const { before } = stmt.parent.node.raws;
if (stmt.type === "nodes") stmt.nodes[0].raws.before = before;
else stmt.node.raws.before = before;
} else if (stmt.type === "nodes") {
stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || "\n";
}
});
};
var applyStyles$1 = function applyStyles(bundle, styles) {
styles.nodes = [];
bundle.forEach((stmt) => {
if (["charset", "import"].includes(stmt.type)) {
stmt.node.parent = void 0;
styles.append(stmt.node);
} else if (stmt.type === "nodes") {
stmt.nodes.forEach((node) => {
node.parent = void 0;
styles.append(node);
});
}
});
};
var readCache$1 = { exports: {} };
var pify$2 = { exports: {} };
var processFn = function(fn, P, opts) {
return function() {
var that = this;
var args = new Array(arguments.length);
for (var i = 0; i < arguments.length; i++) {
args[i] = arguments[i];
}
return new P(function(resolve2, reject) {
args.push(function(err, result) {
if (err) {
reject(err);
} else if (opts.multiArgs) {
var results = new Array(arguments.length - 1);
for (var i2 = 1; i2 < arguments.length; i2++) {
results[i2 - 1] = arguments[i2];
}
resolve2(results);
} else {
resolve2(result);
}
});
fn.apply(that, args);
});
};
};
var pify$1 = pify$2.exports = function(obj, P, opts) {
if (typeof P !== "function") {
opts = P;
P = Promise;
}
opts = opts || {};
opts.exclude = opts.exclude || [/.+Sync$/];
var filter = function(key) {
var match = function(pattern) {
return typeof pattern === "string" ? key === pattern : pattern.test(key);
};
return opts.include ? opts.include.some(match) : !opts.exclude.some(match);
};
var ret = typeof obj === "function" ? function() {
if (opts.excludeMain) {
return obj.apply(this, arguments);
}
return processFn(obj, P, opts).apply(this, arguments);
} : {};
return Object.keys(obj).reduce(function(ret2, key) {
var x = obj[key];
ret2[key] = typeof x === "function" && filter(key) ? processFn(x, P, opts) : x;
return ret2;
}, ret);
};
pify$1.all = pify$1;
var pifyExports = pify$2.exports;
var fs = import_fs.default;
var path$3 = import_path.default;
var pify = pifyExports;
var stat = pify(fs.stat);
var readFile = pify(fs.readFile);
var resolve = path$3.resolve;
var cache = /* @__PURE__ */ Object.create(null);
function convert(content, encoding) {
if (Buffer.isEncoding(encoding)) {
return content.toString(encoding);
}
return content;
}
readCache$1.exports = function(path2, encoding) {
path2 = resolve(path2);
return stat(path2).then(function(stats) {
var item = cache[path2];
if (item && item.mtime.getTime() === stats.mtime.getTime()) {
return convert(item.content, encoding);
}
return readFile(path2).then(function(data) {
cache[path2] = {
mtime: stats.mtime,
content: data
};
return convert(data, encoding);
});
}).catch(function(err) {
cache[path2] = null;
return Promise.reject(err);
});
};
readCache$1.exports.sync = function(path2, encoding) {
path2 = resolve(path2);
try {
var stats = fs.statSync(path2);
var item = cache[path2];
if (item && item.mtime.getTime() === stats.mtime.getTime()) {
return convert(item.content, encoding);
}
var data = fs.readFileSync(path2);
cache[path2] = {
mtime: stats.mtime,
content: data
};
return convert(data, encoding);
} catch (err) {
cache[path2] = null;
throw err;
}
};
readCache$1.exports.get = function(path2, encoding) {
path2 = resolve(path2);
if (cache[path2]) {
return convert(cache[path2].content, encoding);
}
return null;
};
readCache$1.exports.clear = function() {
cache = /* @__PURE__ */ Object.create(null);
};
var readCacheExports = readCache$1.exports;
var anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i;
var base64DataURLRegexp = /^data:text\/css;base64,/i;
var plainDataURLRegexp = /^data:text\/css;plain,/i;
function isValid(url) {
return anyDataURLRegexp.test(url);
}
function contents(url) {
if (base64DataURLRegexp.test(url)) {
return Buffer.from(url.slice(21), "base64").toString();
}
if (plainDataURLRegexp.test(url)) {
return decodeURIComponent(url.slice(20));
}
return decodeURIComponent(url.slice(14));
}
var dataUrl = {
isValid,
contents
};
var readCache = readCacheExports;
var dataURL$1 = dataUrl;
var loadContent$1 = function loadContent(filename) {
if (dataURL$1.isValid(filename)) {
return dataURL$1.contents(filename);
}
return readCache(filename, "utf-8");
};
var valueParser = lib;
var { stringify } = valueParser;
var parseStatements$1 = function parseStatements(result, styles, conditions, from) {
const statements = [];
let nodes = [];
styles.each((node) => {
let stmt;
if (node.type === "atrule") {
if (node.name === "import")
stmt = parseImport(result, node, conditions, from);
else if (node.name === "charset")
stmt = parseCharset(result, node, conditions, from);
}
if (stmt) {
if (nodes.length) {
statements.push({
type: "nodes",
nodes,
conditions: [...conditions],
from
});
nodes = [];
}
statements.push(stmt);
} else nodes.push(node);
});
if (nodes.length) {
statements.push({
type: "nodes",
nodes,
conditions: [...conditions],
from
});
}
return statements;
};
function parseCharset(result, atRule, conditions, from) {
if (atRule.prev()) {
return result.warn("@charset must precede all other statements", {
node: atRule
});
}
return {
type: "charset",
node: atRule,
conditions: [...conditions],
from
};
}
function parseImport(result, atRule, conditions, from) {
var _a, _b;
let prev = atRule.prev();
if (prev) {
do {
if (prev.type === "comment" || prev.type === "atrule" && prev.name === "import") {
prev = prev.prev();
continue;
}
break;
} while (prev);
}
if (prev) {
do {
if (prev.type === "comment" || prev.type === "atrule" && (prev.name === "charset" || prev.name === "layer" && !prev.nodes)) {
prev = prev.prev();
continue;
}
return result.warn(
"@import must precede all other statements (besides @charset or empty @layer)",
{ node: atRule }
);
} while (prev);
}
if (atRule.nodes) {
return result.warn(
"It looks like you didn't end your @import statement correctly. Child nodes are attached to it.",
{ node: atRule }
);
}
const params = valueParser(atRule.params).nodes;
const stmt = {
type: "import",
uri: "",
fullUri: "",
node: atRule,
conditions: [...conditions],
from
};
let layer;
let media;
let supports;
for (let i = 0; i < params.length; i++) {
const node = params[i];
if (node.type === "space" || node.type === "comment") continue;
if (node.type === "string") {
if (stmt.uri) {
return result.warn(`Multiple url's in '${atRule.toString()}'`, {
node: atRule
});
}
if (!node.value) {
return result.warn(`Unable to find uri in '${atRule.toString()}'`, {
node: atRule
});
}
stmt.uri = node.value;
stmt.fullUri = stringify(node);
continue;
}
if (node.type === "function" && /^url$/i.test(node.value)) {
if (stmt.uri) {
return result.warn(`Multiple url's in '${atRule.toString()}'`, {
node: atRule
});
}
if (!((_b = (_a = node.nodes) == null ? void 0 : _a[0]) == null ? void 0 : _b.value)) {
return result.warn(`Unable to find uri in '${atRule.toString()}'`, {
node: atRule
});
}
stmt.uri = node.nodes[0].value;
stmt.fullUri = stringify(node);
continue;
}
if (!stmt.uri) {
return result.warn(`Unable to find uri in '${atRule.toString()}'`, {
node: atRule
});
}
if ((node.type === "word" || node.type === "function") && /^layer$/i.test(node.value)) {
if (typeof layer !== "undefined") {
return result.warn(`Multiple layers in '${atRule.toString()}'`, {
node: atRule
});
}
if (typeof supports !== "undefined") {
return result.warn(
`layers must be defined before support conditions in '${atRule.toString()}'`,
{
node: atRule
}
);
}
if (node.nodes) {
layer = stringify(node.nodes);
} else {
layer = "";
}
continue;
}
if (node.type === "function" && /^supports$/i.test(node.value)) {
if (typeof supports !== "undefined") {
return result.warn(
`Multiple support conditions in '${atRule.toString()}'`,
{
node: atRule
}
);
}
supports = stringify(node.nodes);
continue;
}
media = stringify(params.slice(i));
break;
}
if (!stmt.uri) {
return result.warn(`Unable to find uri in '${atRule.toString()}'`, {
node: atRule
});
}
if (typeof media !== "undefined" || typeof layer !== "undefined" || typeof supports !== "undefined") {
stmt.conditions.push({
layer,
media,
supports
});
}
return stmt;
}
var path$2 = import_path.default;
var sugarss;
var processContent$1 = function processContent(result, content, filename, options, postcss) {
var _a;
const { plugins } = options;
const ext = path$2.extname(filename);
const parserList = [];
if (ext === ".sss") {
if (!sugarss) {
try {
sugarss = __require("sugarss");
} catch {
}
}
if (sugarss)
return runPostcss(postcss, content, filename, plugins, [sugarss]);
}
if ((_a = result.opts.syntax) == null ? void 0 : _a.parse) {
parserList.push(result.opts.syntax.parse);
}
if (result.opts.parser) parserList.push(result.opts.parser);
parserList.push(null);
return runPostcss(postcss, content, filename, plugins, parserList);
};
function runPostcss(postcss, content, filename, plugins, parsers, index2) {
if (!index2) index2 = 0;
return postcss(plugins).process(content, {
from: filename,
parser: parsers[index2]
}).catch((err) => {
index2++;
if (index2 === parsers.length) throw err;
return runPostcss(postcss, content, filename, plugins, parsers, index2);
});
}
var path$1 = import_path.default;
var dataURL = dataUrl;
var parseStatements2 = parseStatements$1;
var processContent2 = processContent$1;
var resolveId$1 = (id) => id;
var formatImportPrelude2 = formatImportPrelude$2;
async function parseStyles$1(result, styles, options, state, conditions, from, postcss) {
const statements = parseStatements2(result, styles, conditions, from);
for (const stmt of statements) {
if (stmt.type !== "import" || !isProcessableURL(stmt.uri)) {
continue;
}
if (options.filter && !options.filter(stmt.uri)) {
continue;
}
await resolveImportId(result, stmt, options, state, postcss);
}
let charset;
const imports = [];
const bundle = [];
function handleCharset(stmt) {
if (!charset) charset = stmt;
else if (stmt.node.params.toLowerCase() !== charset.node.params.toLowerCase()) {
throw stmt.node.error(
`Incompatible @charset statements:
${stmt.node.params} specified in ${stmt.node.source.input.file}
${charset.node.params} specified in ${charset.node.source.input.file}`
);
}
}
statements.forEach((stmt) => {
if (stmt.type === "charset") handleCharset(stmt);
else if (stmt.type === "import") {
if (stmt.children) {
stmt.children.forEach((child, index2) => {
if (child.type === "import") imports.push(child);
else if (child.type === "charset") handleCharset(child);
else bundle.push(child);
if (index2 === 0) child.parent = stmt;
});
} else imports.push(stmt);
} else if (stmt.type === "nodes") {
bundle.push(stmt);
}
});
return charset ? [charset, ...imports.concat(bundle)] : imports.concat(bundle);
}
async function resolveImportId(result, stmt, options, state, postcss) {
var _a, _b;
if (dataURL.isValid(stmt.uri)) {
stmt.children = await loadImportContent(
result,
stmt,
stmt.uri,
options,
state,
postcss
);
return;
} else if (dataURL.isValid(stmt.from.slice(-1))) {
throw stmt.node.error(
`Unable to import '${stmt.uri}' from a stylesheet that is embedded in a data url`
);
}
const atRule = stmt.node;
let sourceFile;
if ((_b = (_a = atRule.source) == null ? void 0 : _a.input) == null ? void 0 : _b.file) {
sourceFile = atRule.source.input.file;
}
const base = sourceFile ? path$1.dirname(atRule.source.input.file) : options.root;
const paths = [await options.resolve(stmt.uri, base, options, atRule)].flat();
const resolved = await Promise.all(
paths.map((file) => {
return !path$1.isAbsolute(file) ? resolveId$1(file) : file;
})
);
resolved.forEach((file) => {
result.messages.push({
type: "dependency",
plugin: "postcss-import",
file,
parent: sourceFile
});
});
const importedContent = await Promise.all(
resolved.map((file) => {
return loadImportContent(result, stmt, file, options, state, postcss);
})
);
stmt.children = importedContent.flat().filter((x) => !!x);
}
async function loadImportContent(result, stmt, filename, options, state, postcss) {
var _a, _b;
const atRule = stmt.node;
const { conditions, from } = stmt;
const stmtDuplicateCheckKey = conditions.map(
(condition) => formatImportPrelude2(condition.layer, condition.media, condition.supports)
).join(":");
if (options.skipDuplicates) {
if ((_a = state.importedFiles[filename]) == null ? void 0 : _a[stmtDuplicateCheckKey]) {
return;
}
if (!state.importedFiles[filename]) {
state.importedFiles[filename] = {};
}
state.importedFiles[filename][stmtDuplicateCheckKey] = true;
}
if (from.includes(filename)) {
return;
}
const content = await options.load(filename, options);
if (content.trim() === "" && options.warnOnEmpty) {
result.warn(`${filename} is empty`, { node: atRule });
return;
}
if (options.skipDuplicates && ((_b = state.hashFiles[content]) == null ? void 0 : _b[stmtDuplicateCheckKey])) {
return;
}
const importedResult = await processContent2(
result,
content,
filename,
options,
postcss
);
const styles = importedResult.root;
result.messages = result.messages.concat(importedResult.messages);
if (options.skipDuplicates) {
const hasImport = styles.some((child) => {
return child.type === "atrule" && child.name === "import";
});
if (!hasImport) {
if (!state.hashFiles[content]) {
state.hashFiles[content] = {};
}
state.hashFiles[content][stmtDuplicateCheckKey] = true;
}
}
return parseStyles$1(
result,
styles,
options,
state,
conditions,
[...from, filename],
postcss
);
}
function isProcessableURL(uri) {
if (/^(?:[a-z]+:)?\/\//i.test(uri)) {
return false;
}
try {
const url = new URL(uri, "https://example.com");
if (url.search) {
return false;
}
} catch {
}
return true;
}
var parseStyles_1 = parseStyles$1;
var path = import_path.default;
var applyConditions2 = applyConditions$1;
var applyRaws2 = applyRaws$1;
var applyStyles2 = applyStyles$1;
var loadContent2 = loadContent$1;
var parseStyles = parseStyles_1;
var resolveId = (id) => id;
function AtImport(options) {
options = {
root: process.cwd(),
path: [],
skipDuplicates: true,
resolve: resolveId,
load: loadContent2,
plugins: [],
addModulesDirectories: [],
warnOnEmpty: true,
...options
};
options.root = path.resolve(options.root);
if (typeof options.path === "string") options.path = [options.path];
if (!Array.isArray(options.path)) options.path = [];
options.path = options.path.map((p) => path.resolve(options.root, p));
return {
postcssPlugin: "postcss-import",
async Once(styles, { result, atRule, postcss }) {
var _a, _b;
const state = {
importedFiles: {},
hashFiles: {}
};
if ((_b = (_a = styles.source) == null ? void 0 : _a.input) == null ? void 0 : _b.file) {
state.importedFiles[styles.source.input.file] = {};
}
if (options.plugins && !Array.isArray(options.plugins)) {
throw new Error("plugins option must be an array");
}
const bundle = await parseStyles(
result,
styles,
options,
state,
[],
[],
postcss
);
applyRaws2(bundle);
applyConditions2(bundle, atRule);
applyStyles2(bundle, styles);
}
};
}
AtImport.postcss = true;
var postcssImport = AtImport;
var index = getDefaultExportFromCjs(postcssImport);
var index$1 = _mergeNamespaces({
__proto__: null,
default: index
}, [postcssImport]);
export {
index$1 as i
};
//# sourceMappingURL=dep-VqAwxVIc-WZUMGT3D.js.map

File diff suppressed because one or more lines are too long

View File

@ -1,6 +0,0 @@
import {
require_node_http
} from "./chunk-X45QO7DX.js";
import "./chunk-ZSMWDLMK.js";
export default require_node_http();
//# sourceMappingURL=node_http-PVJAKJLZ.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

View File

@ -1,18 +0,0 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
// browser-external:node:http2
var require_node_http2 = __commonJS({
"browser-external:node:http2"(exports, module) {
module.exports = Object.create(new Proxy({}, {
get(_, key) {
if (key !== "__esModule" && key !== "__proto__" && key !== "constructor" && key !== "splice") {
console.warn(`Module "node:http2" has been externalized for browser compatibility. Cannot access "node:http2.${key}" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`);
}
}
}));
}
});
export default require_node_http2();
//# sourceMappingURL=node_http2-LSZGSR42.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["browser-external:node:http2"],
"sourcesContent": ["module.exports = Object.create(new Proxy({}, {\n get(_, key) {\n if (\n key !== '__esModule' &&\n key !== '__proto__' &&\n key !== 'constructor' &&\n key !== 'splice'\n ) {\n console.warn(`Module \"node:http2\" has been externalized for browser compatibility. Cannot access \"node:http2.${key}\" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.`)\n }\n }\n}))"],
"mappings": ";;;;;AAAA;AAAA;AAAA,WAAO,UAAU,OAAO,OAAO,IAAI,MAAM,CAAC,GAAG;AAAA,MAC3C,IAAI,GAAG,KAAK;AACV,YACE,QAAQ,gBACR,QAAQ,eACR,QAAQ,iBACR,QAAQ,UACR;AACA,kBAAQ,KAAK,kGAAkG,GAAG,qIAAqI;AAAA,QACzP;AAAA,MACF;AAAA,IACF,CAAC,CAAC;AAAA;AAAA;",
"names": []
}

View File

@ -1,6 +0,0 @@
import {
require_node_https
} from "./chunk-OZBCPRVH.js";
import "./chunk-ZSMWDLMK.js";
export default require_node_https();
//# sourceMappingURL=node_https-MF5UXHZ4.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

View File

@ -1,59 +0,0 @@
import {
AtRule,
Comment,
Container,
CssSyntaxError,
Declaration,
Document,
Input,
Node,
Processor,
Result,
Root,
Rule,
Warning,
atRule,
comment,
decl,
document,
fromJSON,
list,
parse,
plugin,
postcss_default,
root,
rule,
stringify
} from "./chunk-7522MNHT.js";
import "./chunk-MPVQUUHK.js";
import "./chunk-I5RSIQOR.js";
import "./chunk-4XRL7ZXG.js";
import "./chunk-ZSMWDLMK.js";
export {
AtRule,
Comment,
Container,
CssSyntaxError,
Declaration,
Document,
Input,
Node,
Processor,
Result,
Root,
Rule,
Warning,
atRule,
comment,
decl,
postcss_default as default,
document,
fromJSON,
list,
parse,
plugin,
root,
rule,
stringify
};
//# sourceMappingURL=postcss-EOMQEHKO.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": [],
"sourcesContent": [],
"mappings": "",
"names": []
}

View File

@ -1,51 +0,0 @@
import {
defineConfig,
rollup,
version,
watch
} from "./chunk-PTYCI75C.js";
import {
require_native,
require_node_perf_hooks,
require_node_process,
require_promises,
require_tty
} from "./chunk-I6YKGN4K.js";
import {
require_path
} from "./chunk-4XRL7ZXG.js";
import {
require_node_path
} from "./chunk-M2MSWSHF.js";
import {
__toESM
} from "./chunk-ZSMWDLMK.js";
// node_modules/rollup/dist/es/rollup.js
var import_native = __toESM(require_native());
var import_node_path = __toESM(require_node_path());
var import_path = __toESM(require_path());
var import_node_process = __toESM(require_node_process());
var import_node_perf_hooks = __toESM(require_node_perf_hooks());
var import_promises = __toESM(require_promises());
var import_tty = __toESM(require_tty());
export {
version as VERSION,
defineConfig,
rollup,
watch
};
/*! Bundled license information:
rollup/dist/es/rollup.js:
(*
@license
Rollup.js v4.19.1
Sat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f
https://github.com/rollup/rollup
Released under the MIT License.
*)
*/
//# sourceMappingURL=rollup-CIAQV775.js.map

View File

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["../../rollup/dist/es/rollup.js"],
"sourcesContent": ["/*\n @license\n\tRollup.js v4.19.1\n\tSat, 27 Jul 2024 04:53:31 GMT - commit 8b967917c2923dc6a02ca1238261387aefa2cb2f\n\n\thttps://github.com/rollup/rollup\n\n\tReleased under the MIT License.\n*/\nexport { version as VERSION, defineConfig, rollup, watch } from './shared/node-entry.js';\nimport './shared/parseAst.js';\nimport '../native.js';\nimport 'node:path';\nimport 'path';\nimport 'node:process';\nimport 'node:perf_hooks';\nimport 'node:fs/promises';\nimport 'tty';\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAWA,oBAAO;AACP,uBAAO;AACP,kBAAO;AACP,0BAAO;AACP,6BAAO;AACP,sBAAO;AACP,iBAAO;",
"names": []
}

View File

@ -1,6 +1,6 @@
import {
__commonJS
} from "./chunk-ZSMWDLMK.js";
} from "./chunk-BUSYA2B4.js";
// node_modules/stats.js/build/stats.min.js
var require_stats_min = __commonJS({

View File

@ -418,7 +418,7 @@ import {
ZeroStencilOp,
createCanvasElement
} from "./chunk-IS2ZBFBB.js";
import "./chunk-ZSMWDLMK.js";
import "./chunk-BUSYA2B4.js";
export {
ACESFilmicToneMapping,
AddEquation,

View File

@ -10,7 +10,7 @@ import {
Vector2,
Vector3
} from "./chunk-IS2ZBFBB.js";
import "./chunk-ZSMWDLMK.js";
import "./chunk-BUSYA2B4.js";
// node_modules/three/examples/jsm/controls/OrbitControls.js
var _changeEvent = { type: "change" };

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 it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long