shaders 2.2.39 → 2.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/Stripes-TdCUOh07.js +127 -0
- package/dist/core/Tint-ChKku9xR.js +56 -0
- package/dist/core/index.js +25 -21
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Stripes/index.d.ts +71 -0
- package/dist/core/shaders/Stripes/index.d.ts.map +1 -0
- package/dist/core/shaders/Stripes/index.js +5 -0
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tint/index.d.ts +29 -0
- package/dist/core/shaders/Tint/index.d.ts.map +1 -0
- package/dist/core/shaders/Tint/index.js +3 -0
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/Stripes.d.ts +31 -0
- package/dist/react/components/Stripes.d.ts.map +1 -0
- package/dist/react/components/Tint.d.ts +31 -0
- package/dist/react/components/Tint.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-CPcLELa5.js → generatePresetCode-K6ZAneRr.js} +22 -0
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +690 -412
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +294 -0
- package/dist/solid/components/Stripes.d.ts +28 -0
- package/dist/solid/components/Stripes.d.ts.map +1 -0
- package/dist/solid/components/Tint.d.ts +28 -0
- package/dist/solid/components/Tint.d.ts.map +1 -0
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +634 -350
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +22 -0
- package/dist/svelte/components/Stripes.svelte.d.ts +19 -0
- package/dist/svelte/components/Tint.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-By5juLjK.js → generatePresetCode-x1dhDaQ3.js} +22 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +238 -16
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/Stripes.vue.d.ts +57 -0
- package/dist/vue/components/Stripes.vue.d.ts.map +1 -0
- package/dist/vue/components/Tint.vue.d.ts +57 -0
- package/dist/vue/components/Tint.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-REXb9hnv.js → generatePresetCode-BaNcX5ua.js} +22 -0
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +300 -48
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +17 -1
- /package/dist/core/{Swirl-DoCDBZad.js → Swirl-m1-Mnzj5.js} +0 -0
- /package/dist/core/{TiltShift-BYQjUHpn.js → TiltShift-C_NUqKZF.js} +0 -0
- /package/dist/core/{Tritone-CJW8YTyB.js → Tritone-D-NcV7N-.js} +0 -0
- /package/dist/core/{Twirl-5k_XPd51.js → Twirl-Cqzll6nW.js} +0 -0
- /package/dist/core/{Vibrance-c25pkbWj.js → Vibrance-CxunJkcb.js} +0 -0
- /package/dist/core/{WaveDistortion-Bo2Ar13M.js → WaveDistortion-UQZKCfKh.js} +0 -0
- /package/dist/core/{ZoomBlur-DEozXA8U.js → ZoomBlur-DqKYdlmm.js} +0 -0
package/dist/react/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatePresetCode } from "./generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode } from "./generatePresetCode-K6ZAneRr.js";
|
|
2
2
|
import { createContext, useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap, shaderRenderer } from "../core/index.js";
|
|
4
4
|
import { componentDefinition } from "../core/shaders/AngularBlur/index.js";
|
|
@@ -55,13 +55,15 @@ import { componentDefinition as componentDefinition$47 } from "../core/shaders/S
|
|
|
55
55
|
import { componentDefinition as componentDefinition$48 } from "../core/shaders/Spiral/index.js";
|
|
56
56
|
import { componentDefinition as componentDefinition$49 } from "../core/shaders/Strands/index.js";
|
|
57
57
|
import { componentDefinition as componentDefinition$50 } from "../core/shaders/Stretch/index.js";
|
|
58
|
-
import { componentDefinition as componentDefinition$51 } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$52 } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$53 } from "../core/shaders/
|
|
61
|
-
import { componentDefinition as componentDefinition$54 } from "../core/shaders/
|
|
62
|
-
import { componentDefinition as componentDefinition$55 } from "../core/shaders/
|
|
63
|
-
import { componentDefinition as componentDefinition$56 } from "../core/shaders/
|
|
64
|
-
import { componentDefinition as componentDefinition$57 } from "../core/shaders/
|
|
58
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/Stripes/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/Swirl/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/TiltShift/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/Tint/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/Tritone/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$56 } from "../core/shaders/Twirl/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$57 } from "../core/shaders/Vibrance/index.js";
|
|
65
|
+
import { componentDefinition as componentDefinition$58 } from "../core/shaders/WaveDistortion/index.js";
|
|
66
|
+
import { componentDefinition as componentDefinition$59 } from "../core/shaders/ZoomBlur/index.js";
|
|
65
67
|
const OmbreContext = createContext(null);
|
|
66
68
|
const Shader = ({ children, hideNotice = false, style = {}, className = "",...rest }) => {
|
|
67
69
|
const containerRef = useRef(null);
|
|
@@ -71,7 +73,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
71
73
|
if (rendererRef.current === null) rendererRef.current = shaderRenderer();
|
|
72
74
|
const telemetryCollectorRef = useRef(null);
|
|
73
75
|
const nodeRegister = useMemo(() => {
|
|
74
|
-
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$
|
|
76
|
+
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$60 = null) => {
|
|
75
77
|
if (fragmentNodeFunc === null) {
|
|
76
78
|
try {
|
|
77
79
|
rendererRef.current.removeNode(id);
|
|
@@ -81,7 +83,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
81
83
|
return;
|
|
82
84
|
}
|
|
83
85
|
try {
|
|
84
|
-
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$
|
|
86
|
+
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$60);
|
|
85
87
|
} catch (err) {
|
|
86
88
|
console.error("Error registering node:", err, {
|
|
87
89
|
id,
|
|
@@ -222,8 +224,284 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
222
224
|
});
|
|
223
225
|
};
|
|
224
226
|
var Shader_default = Shader;
|
|
225
|
-
function computeEffectiveProps$
|
|
226
|
-
let baseProps = { ...defaultProps$
|
|
227
|
+
function computeEffectiveProps$59(props, defaultProps$60) {
|
|
228
|
+
let baseProps = { ...defaultProps$60 };
|
|
229
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
230
|
+
return baseProps;
|
|
231
|
+
}
|
|
232
|
+
var DEFAULT_TRANSFORM$59 = {
|
|
233
|
+
offsetX: 0,
|
|
234
|
+
offsetY: 0,
|
|
235
|
+
rotation: 0,
|
|
236
|
+
scale: 1,
|
|
237
|
+
anchorX: .5,
|
|
238
|
+
anchorY: .5,
|
|
239
|
+
edges: "transparent"
|
|
240
|
+
};
|
|
241
|
+
var defaultProps$59 = {
|
|
242
|
+
blendMode: "normal",
|
|
243
|
+
renderOrder: 0,
|
|
244
|
+
visible: true
|
|
245
|
+
};
|
|
246
|
+
try {
|
|
247
|
+
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
248
|
+
const propConfig = config;
|
|
249
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$59[key] = propConfig.default;
|
|
250
|
+
});
|
|
251
|
+
} catch (e) {
|
|
252
|
+
console.warn("Error extracting default props:", e);
|
|
253
|
+
}
|
|
254
|
+
const OmbreComponent$59 = (props) => {
|
|
255
|
+
const context = useContext(OmbreContext);
|
|
256
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
257
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
258
|
+
const instanceId = useMemo(() => {
|
|
259
|
+
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
260
|
+
}, [props.id]);
|
|
261
|
+
const effectiveProps = useMemo(() => {
|
|
262
|
+
return computeEffectiveProps$59(props, defaultProps$59);
|
|
263
|
+
}, [props]);
|
|
264
|
+
const effectiveTransform = useMemo(() => ({
|
|
265
|
+
...DEFAULT_TRANSFORM$59,
|
|
266
|
+
...props.transform
|
|
267
|
+
}), [props.transform]);
|
|
268
|
+
const uniformsRef = useRef(null);
|
|
269
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
270
|
+
const childContextValue = useMemo(() => {
|
|
271
|
+
return {
|
|
272
|
+
...context,
|
|
273
|
+
ombreParentId: instanceId
|
|
274
|
+
};
|
|
275
|
+
}, [context, instanceId]);
|
|
276
|
+
useEffect(() => {
|
|
277
|
+
if (!uniformsRef.current) return;
|
|
278
|
+
try {
|
|
279
|
+
const metadata = {
|
|
280
|
+
blendMode: props.blendMode || "normal",
|
|
281
|
+
opacity: props.opacity,
|
|
282
|
+
visible: props.visible === false ? false : true,
|
|
283
|
+
id: props.id,
|
|
284
|
+
mask: props.maskSource ? {
|
|
285
|
+
source: props.maskSource,
|
|
286
|
+
type: props.maskType || "alpha"
|
|
287
|
+
} : void 0,
|
|
288
|
+
renderOrder: props.renderOrder || 0,
|
|
289
|
+
transform: effectiveTransform
|
|
290
|
+
};
|
|
291
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
292
|
+
return () => {
|
|
293
|
+
parentRegister(instanceId, null, null, null, null);
|
|
294
|
+
};
|
|
295
|
+
} catch (error) {
|
|
296
|
+
console.error("Error registering shader node:", error);
|
|
297
|
+
return () => {};
|
|
298
|
+
}
|
|
299
|
+
}, [
|
|
300
|
+
instanceId,
|
|
301
|
+
parentId,
|
|
302
|
+
parentRegister
|
|
303
|
+
]);
|
|
304
|
+
const prevPropsRef = useRef({});
|
|
305
|
+
useEffect(() => {
|
|
306
|
+
if (!uniformsRef.current) return;
|
|
307
|
+
try {
|
|
308
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
309
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
310
|
+
const { uniform, transform } = uniformData;
|
|
311
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
312
|
+
const newValue = effectiveProps[propName];
|
|
313
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
314
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
315
|
+
prevPropsRef.current[propName] = newValue;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
});
|
|
319
|
+
} catch (error) {
|
|
320
|
+
console.error("Error updating uniforms:", error);
|
|
321
|
+
}
|
|
322
|
+
}, [
|
|
323
|
+
effectiveProps,
|
|
324
|
+
instanceId,
|
|
325
|
+
parentUniformUpdate
|
|
326
|
+
]);
|
|
327
|
+
useEffect(() => {
|
|
328
|
+
try {
|
|
329
|
+
parentMetadataUpdate(instanceId, {
|
|
330
|
+
blendMode: props.blendMode || "normal",
|
|
331
|
+
opacity: props.opacity,
|
|
332
|
+
visible: props.visible === false ? false : true,
|
|
333
|
+
id: props.id,
|
|
334
|
+
mask: props.maskSource ? {
|
|
335
|
+
source: props.maskSource,
|
|
336
|
+
type: props.maskType || "alpha"
|
|
337
|
+
} : void 0,
|
|
338
|
+
renderOrder: props.renderOrder || 0,
|
|
339
|
+
transform: effectiveTransform
|
|
340
|
+
});
|
|
341
|
+
} catch (error) {
|
|
342
|
+
console.error("Error updating metadata:", error);
|
|
343
|
+
}
|
|
344
|
+
}, [
|
|
345
|
+
props.blendMode,
|
|
346
|
+
props.opacity,
|
|
347
|
+
props.visible,
|
|
348
|
+
props.maskSource,
|
|
349
|
+
props.maskType,
|
|
350
|
+
props.renderOrder,
|
|
351
|
+
props.id,
|
|
352
|
+
effectiveTransform,
|
|
353
|
+
instanceId,
|
|
354
|
+
parentMetadataUpdate
|
|
355
|
+
]);
|
|
356
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
357
|
+
props.ref(null);
|
|
358
|
+
} catch (e) {}
|
|
359
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
360
|
+
value: childContextValue,
|
|
361
|
+
children: props.children
|
|
362
|
+
});
|
|
363
|
+
};
|
|
364
|
+
var AngularBlur_default = OmbreComponent$59;
|
|
365
|
+
function computeEffectiveProps$58(props, defaultProps$60) {
|
|
366
|
+
let baseProps = { ...defaultProps$60 };
|
|
367
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
368
|
+
return baseProps;
|
|
369
|
+
}
|
|
370
|
+
var DEFAULT_TRANSFORM$58 = {
|
|
371
|
+
offsetX: 0,
|
|
372
|
+
offsetY: 0,
|
|
373
|
+
rotation: 0,
|
|
374
|
+
scale: 1,
|
|
375
|
+
anchorX: .5,
|
|
376
|
+
anchorY: .5,
|
|
377
|
+
edges: "transparent"
|
|
378
|
+
};
|
|
379
|
+
var defaultProps$58 = {
|
|
380
|
+
blendMode: "normal",
|
|
381
|
+
renderOrder: 0,
|
|
382
|
+
visible: true
|
|
383
|
+
};
|
|
384
|
+
try {
|
|
385
|
+
if (componentDefinition$1 && componentDefinition$1.props) Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
386
|
+
const propConfig = config;
|
|
387
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$58[key] = propConfig.default;
|
|
388
|
+
});
|
|
389
|
+
} catch (e) {
|
|
390
|
+
console.warn("Error extracting default props:", e);
|
|
391
|
+
}
|
|
392
|
+
const OmbreComponent$58 = (props) => {
|
|
393
|
+
const context = useContext(OmbreContext);
|
|
394
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
395
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
396
|
+
const instanceId = useMemo(() => {
|
|
397
|
+
return props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
398
|
+
}, [props.id]);
|
|
399
|
+
const effectiveProps = useMemo(() => {
|
|
400
|
+
return computeEffectiveProps$58(props, defaultProps$58);
|
|
401
|
+
}, [props]);
|
|
402
|
+
const effectiveTransform = useMemo(() => ({
|
|
403
|
+
...DEFAULT_TRANSFORM$58,
|
|
404
|
+
...props.transform
|
|
405
|
+
}), [props.transform]);
|
|
406
|
+
const uniformsRef = useRef(null);
|
|
407
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$1, effectiveProps, instanceId);
|
|
408
|
+
const childContextValue = useMemo(() => {
|
|
409
|
+
return {
|
|
410
|
+
...context,
|
|
411
|
+
ombreParentId: instanceId
|
|
412
|
+
};
|
|
413
|
+
}, [context, instanceId]);
|
|
414
|
+
useEffect(() => {
|
|
415
|
+
if (!uniformsRef.current) return;
|
|
416
|
+
try {
|
|
417
|
+
const metadata = {
|
|
418
|
+
blendMode: props.blendMode || "normal",
|
|
419
|
+
opacity: props.opacity,
|
|
420
|
+
visible: props.visible === false ? false : true,
|
|
421
|
+
id: props.id,
|
|
422
|
+
mask: props.maskSource ? {
|
|
423
|
+
source: props.maskSource,
|
|
424
|
+
type: props.maskType || "alpha"
|
|
425
|
+
} : void 0,
|
|
426
|
+
renderOrder: props.renderOrder || 0,
|
|
427
|
+
transform: effectiveTransform
|
|
428
|
+
};
|
|
429
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$1);
|
|
430
|
+
return () => {
|
|
431
|
+
parentRegister(instanceId, null, null, null, null);
|
|
432
|
+
};
|
|
433
|
+
} catch (error) {
|
|
434
|
+
console.error("Error registering shader node:", error);
|
|
435
|
+
return () => {};
|
|
436
|
+
}
|
|
437
|
+
}, [
|
|
438
|
+
instanceId,
|
|
439
|
+
parentId,
|
|
440
|
+
parentRegister
|
|
441
|
+
]);
|
|
442
|
+
const prevPropsRef = useRef({});
|
|
443
|
+
useEffect(() => {
|
|
444
|
+
if (!uniformsRef.current) return;
|
|
445
|
+
try {
|
|
446
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
447
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
448
|
+
const { uniform, transform } = uniformData;
|
|
449
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
450
|
+
const newValue = effectiveProps[propName];
|
|
451
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
452
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
453
|
+
prevPropsRef.current[propName] = newValue;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
});
|
|
457
|
+
} catch (error) {
|
|
458
|
+
console.error("Error updating uniforms:", error);
|
|
459
|
+
}
|
|
460
|
+
}, [
|
|
461
|
+
effectiveProps,
|
|
462
|
+
instanceId,
|
|
463
|
+
parentUniformUpdate
|
|
464
|
+
]);
|
|
465
|
+
useEffect(() => {
|
|
466
|
+
try {
|
|
467
|
+
parentMetadataUpdate(instanceId, {
|
|
468
|
+
blendMode: props.blendMode || "normal",
|
|
469
|
+
opacity: props.opacity,
|
|
470
|
+
visible: props.visible === false ? false : true,
|
|
471
|
+
id: props.id,
|
|
472
|
+
mask: props.maskSource ? {
|
|
473
|
+
source: props.maskSource,
|
|
474
|
+
type: props.maskType || "alpha"
|
|
475
|
+
} : void 0,
|
|
476
|
+
renderOrder: props.renderOrder || 0,
|
|
477
|
+
transform: effectiveTransform
|
|
478
|
+
});
|
|
479
|
+
} catch (error) {
|
|
480
|
+
console.error("Error updating metadata:", error);
|
|
481
|
+
}
|
|
482
|
+
}, [
|
|
483
|
+
props.blendMode,
|
|
484
|
+
props.opacity,
|
|
485
|
+
props.visible,
|
|
486
|
+
props.maskSource,
|
|
487
|
+
props.maskType,
|
|
488
|
+
props.renderOrder,
|
|
489
|
+
props.id,
|
|
490
|
+
effectiveTransform,
|
|
491
|
+
instanceId,
|
|
492
|
+
parentMetadataUpdate
|
|
493
|
+
]);
|
|
494
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
495
|
+
props.ref(null);
|
|
496
|
+
} catch (e) {}
|
|
497
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
498
|
+
value: childContextValue,
|
|
499
|
+
children: props.children
|
|
500
|
+
});
|
|
501
|
+
};
|
|
502
|
+
var Ascii_default = OmbreComponent$58;
|
|
503
|
+
function computeEffectiveProps$57(props, defaultProps$60) {
|
|
504
|
+
let baseProps = { ...defaultProps$60 };
|
|
227
505
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
228
506
|
return baseProps;
|
|
229
507
|
}
|
|
@@ -242,7 +520,7 @@ var defaultProps$57 = {
|
|
|
242
520
|
visible: true
|
|
243
521
|
};
|
|
244
522
|
try {
|
|
245
|
-
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
523
|
+
if (componentDefinition$2 && componentDefinition$2.props) Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
246
524
|
const propConfig = config;
|
|
247
525
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$57[key] = propConfig.default;
|
|
248
526
|
});
|
|
@@ -254,7 +532,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
254
532
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
255
533
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
256
534
|
const instanceId = useMemo(() => {
|
|
257
|
-
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
535
|
+
return props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
258
536
|
}, [props.id]);
|
|
259
537
|
const effectiveProps = useMemo(() => {
|
|
260
538
|
return computeEffectiveProps$57(props, defaultProps$57);
|
|
@@ -264,7 +542,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
264
542
|
...props.transform
|
|
265
543
|
}), [props.transform]);
|
|
266
544
|
const uniformsRef = useRef(null);
|
|
267
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
545
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$2, effectiveProps, instanceId);
|
|
268
546
|
const childContextValue = useMemo(() => {
|
|
269
547
|
return {
|
|
270
548
|
...context,
|
|
@@ -286,7 +564,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
286
564
|
renderOrder: props.renderOrder || 0,
|
|
287
565
|
transform: effectiveTransform
|
|
288
566
|
};
|
|
289
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
567
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$2);
|
|
290
568
|
return () => {
|
|
291
569
|
parentRegister(instanceId, null, null, null, null);
|
|
292
570
|
};
|
|
@@ -359,9 +637,9 @@ const OmbreComponent$57 = (props) => {
|
|
|
359
637
|
children: props.children
|
|
360
638
|
});
|
|
361
639
|
};
|
|
362
|
-
var
|
|
363
|
-
function computeEffectiveProps$56(props, defaultProps$
|
|
364
|
-
let baseProps = { ...defaultProps$
|
|
640
|
+
var Beam_default = OmbreComponent$57;
|
|
641
|
+
function computeEffectiveProps$56(props, defaultProps$60) {
|
|
642
|
+
let baseProps = { ...defaultProps$60 };
|
|
365
643
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
366
644
|
return baseProps;
|
|
367
645
|
}
|
|
@@ -380,7 +658,7 @@ var defaultProps$56 = {
|
|
|
380
658
|
visible: true
|
|
381
659
|
};
|
|
382
660
|
try {
|
|
383
|
-
if (componentDefinition$
|
|
661
|
+
if (componentDefinition$3 && componentDefinition$3.props) Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
384
662
|
const propConfig = config;
|
|
385
663
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$56[key] = propConfig.default;
|
|
386
664
|
});
|
|
@@ -392,7 +670,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
392
670
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
393
671
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
394
672
|
const instanceId = useMemo(() => {
|
|
395
|
-
return props.id || `${componentDefinition$
|
|
673
|
+
return props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
396
674
|
}, [props.id]);
|
|
397
675
|
const effectiveProps = useMemo(() => {
|
|
398
676
|
return computeEffectiveProps$56(props, defaultProps$56);
|
|
@@ -402,7 +680,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
402
680
|
...props.transform
|
|
403
681
|
}), [props.transform]);
|
|
404
682
|
const uniformsRef = useRef(null);
|
|
405
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
683
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$3, effectiveProps, instanceId);
|
|
406
684
|
const childContextValue = useMemo(() => {
|
|
407
685
|
return {
|
|
408
686
|
...context,
|
|
@@ -424,7 +702,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
424
702
|
renderOrder: props.renderOrder || 0,
|
|
425
703
|
transform: effectiveTransform
|
|
426
704
|
};
|
|
427
|
-
parentRegister(instanceId, componentDefinition$
|
|
705
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$3);
|
|
428
706
|
return () => {
|
|
429
707
|
parentRegister(instanceId, null, null, null, null);
|
|
430
708
|
};
|
|
@@ -497,9 +775,9 @@ const OmbreComponent$56 = (props) => {
|
|
|
497
775
|
children: props.children
|
|
498
776
|
});
|
|
499
777
|
};
|
|
500
|
-
var
|
|
501
|
-
function computeEffectiveProps$55(props, defaultProps$
|
|
502
|
-
let baseProps = { ...defaultProps$
|
|
778
|
+
var Blob_default = OmbreComponent$56;
|
|
779
|
+
function computeEffectiveProps$55(props, defaultProps$60) {
|
|
780
|
+
let baseProps = { ...defaultProps$60 };
|
|
503
781
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
504
782
|
return baseProps;
|
|
505
783
|
}
|
|
@@ -518,7 +796,7 @@ var defaultProps$55 = {
|
|
|
518
796
|
visible: true
|
|
519
797
|
};
|
|
520
798
|
try {
|
|
521
|
-
if (componentDefinition$
|
|
799
|
+
if (componentDefinition$4 && componentDefinition$4.props) Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
522
800
|
const propConfig = config;
|
|
523
801
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$55[key] = propConfig.default;
|
|
524
802
|
});
|
|
@@ -530,7 +808,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
530
808
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
531
809
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
532
810
|
const instanceId = useMemo(() => {
|
|
533
|
-
return props.id || `${componentDefinition$
|
|
811
|
+
return props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
534
812
|
}, [props.id]);
|
|
535
813
|
const effectiveProps = useMemo(() => {
|
|
536
814
|
return computeEffectiveProps$55(props, defaultProps$55);
|
|
@@ -540,7 +818,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
540
818
|
...props.transform
|
|
541
819
|
}), [props.transform]);
|
|
542
820
|
const uniformsRef = useRef(null);
|
|
543
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
821
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$4, effectiveProps, instanceId);
|
|
544
822
|
const childContextValue = useMemo(() => {
|
|
545
823
|
return {
|
|
546
824
|
...context,
|
|
@@ -562,7 +840,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
562
840
|
renderOrder: props.renderOrder || 0,
|
|
563
841
|
transform: effectiveTransform
|
|
564
842
|
};
|
|
565
|
-
parentRegister(instanceId, componentDefinition$
|
|
843
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$4);
|
|
566
844
|
return () => {
|
|
567
845
|
parentRegister(instanceId, null, null, null, null);
|
|
568
846
|
};
|
|
@@ -635,9 +913,9 @@ const OmbreComponent$55 = (props) => {
|
|
|
635
913
|
children: props.children
|
|
636
914
|
});
|
|
637
915
|
};
|
|
638
|
-
var
|
|
639
|
-
function computeEffectiveProps$54(props, defaultProps$
|
|
640
|
-
let baseProps = { ...defaultProps$
|
|
916
|
+
var Blur_default = OmbreComponent$55;
|
|
917
|
+
function computeEffectiveProps$54(props, defaultProps$60) {
|
|
918
|
+
let baseProps = { ...defaultProps$60 };
|
|
641
919
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
642
920
|
return baseProps;
|
|
643
921
|
}
|
|
@@ -656,7 +934,7 @@ var defaultProps$54 = {
|
|
|
656
934
|
visible: true
|
|
657
935
|
};
|
|
658
936
|
try {
|
|
659
|
-
if (componentDefinition$
|
|
937
|
+
if (componentDefinition$5 && componentDefinition$5.props) Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
660
938
|
const propConfig = config;
|
|
661
939
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$54[key] = propConfig.default;
|
|
662
940
|
});
|
|
@@ -668,7 +946,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
668
946
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
669
947
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
670
948
|
const instanceId = useMemo(() => {
|
|
671
|
-
return props.id || `${componentDefinition$
|
|
949
|
+
return props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
672
950
|
}, [props.id]);
|
|
673
951
|
const effectiveProps = useMemo(() => {
|
|
674
952
|
return computeEffectiveProps$54(props, defaultProps$54);
|
|
@@ -678,7 +956,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
678
956
|
...props.transform
|
|
679
957
|
}), [props.transform]);
|
|
680
958
|
const uniformsRef = useRef(null);
|
|
681
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
959
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$5, effectiveProps, instanceId);
|
|
682
960
|
const childContextValue = useMemo(() => {
|
|
683
961
|
return {
|
|
684
962
|
...context,
|
|
@@ -700,7 +978,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
700
978
|
renderOrder: props.renderOrder || 0,
|
|
701
979
|
transform: effectiveTransform
|
|
702
980
|
};
|
|
703
|
-
parentRegister(instanceId, componentDefinition$
|
|
981
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$5);
|
|
704
982
|
return () => {
|
|
705
983
|
parentRegister(instanceId, null, null, null, null);
|
|
706
984
|
};
|
|
@@ -773,9 +1051,9 @@ const OmbreComponent$54 = (props) => {
|
|
|
773
1051
|
children: props.children
|
|
774
1052
|
});
|
|
775
1053
|
};
|
|
776
|
-
var
|
|
777
|
-
function computeEffectiveProps$53(props, defaultProps$
|
|
778
|
-
let baseProps = { ...defaultProps$
|
|
1054
|
+
var BrightnessContrast_default = OmbreComponent$54;
|
|
1055
|
+
function computeEffectiveProps$53(props, defaultProps$60) {
|
|
1056
|
+
let baseProps = { ...defaultProps$60 };
|
|
779
1057
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
780
1058
|
return baseProps;
|
|
781
1059
|
}
|
|
@@ -794,7 +1072,7 @@ var defaultProps$53 = {
|
|
|
794
1072
|
visible: true
|
|
795
1073
|
};
|
|
796
1074
|
try {
|
|
797
|
-
if (componentDefinition$
|
|
1075
|
+
if (componentDefinition$6 && componentDefinition$6.props) Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
798
1076
|
const propConfig = config;
|
|
799
1077
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$53[key] = propConfig.default;
|
|
800
1078
|
});
|
|
@@ -806,7 +1084,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
806
1084
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
807
1085
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
808
1086
|
const instanceId = useMemo(() => {
|
|
809
|
-
return props.id || `${componentDefinition$
|
|
1087
|
+
return props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
810
1088
|
}, [props.id]);
|
|
811
1089
|
const effectiveProps = useMemo(() => {
|
|
812
1090
|
return computeEffectiveProps$53(props, defaultProps$53);
|
|
@@ -816,7 +1094,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
816
1094
|
...props.transform
|
|
817
1095
|
}), [props.transform]);
|
|
818
1096
|
const uniformsRef = useRef(null);
|
|
819
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1097
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$6, effectiveProps, instanceId);
|
|
820
1098
|
const childContextValue = useMemo(() => {
|
|
821
1099
|
return {
|
|
822
1100
|
...context,
|
|
@@ -838,7 +1116,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
838
1116
|
renderOrder: props.renderOrder || 0,
|
|
839
1117
|
transform: effectiveTransform
|
|
840
1118
|
};
|
|
841
|
-
parentRegister(instanceId, componentDefinition$
|
|
1119
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$6);
|
|
842
1120
|
return () => {
|
|
843
1121
|
parentRegister(instanceId, null, null, null, null);
|
|
844
1122
|
};
|
|
@@ -911,9 +1189,9 @@ const OmbreComponent$53 = (props) => {
|
|
|
911
1189
|
children: props.children
|
|
912
1190
|
});
|
|
913
1191
|
};
|
|
914
|
-
var
|
|
915
|
-
function computeEffectiveProps$52(props, defaultProps$
|
|
916
|
-
let baseProps = { ...defaultProps$
|
|
1192
|
+
var Bulge_default = OmbreComponent$53;
|
|
1193
|
+
function computeEffectiveProps$52(props, defaultProps$60) {
|
|
1194
|
+
let baseProps = { ...defaultProps$60 };
|
|
917
1195
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
918
1196
|
return baseProps;
|
|
919
1197
|
}
|
|
@@ -932,7 +1210,7 @@ var defaultProps$52 = {
|
|
|
932
1210
|
visible: true
|
|
933
1211
|
};
|
|
934
1212
|
try {
|
|
935
|
-
if (componentDefinition$
|
|
1213
|
+
if (componentDefinition$7 && componentDefinition$7.props) Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
936
1214
|
const propConfig = config;
|
|
937
1215
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$52[key] = propConfig.default;
|
|
938
1216
|
});
|
|
@@ -944,7 +1222,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
944
1222
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
945
1223
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
946
1224
|
const instanceId = useMemo(() => {
|
|
947
|
-
return props.id || `${componentDefinition$
|
|
1225
|
+
return props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
948
1226
|
}, [props.id]);
|
|
949
1227
|
const effectiveProps = useMemo(() => {
|
|
950
1228
|
return computeEffectiveProps$52(props, defaultProps$52);
|
|
@@ -954,7 +1232,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
954
1232
|
...props.transform
|
|
955
1233
|
}), [props.transform]);
|
|
956
1234
|
const uniformsRef = useRef(null);
|
|
957
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1235
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$7, effectiveProps, instanceId);
|
|
958
1236
|
const childContextValue = useMemo(() => {
|
|
959
1237
|
return {
|
|
960
1238
|
...context,
|
|
@@ -976,7 +1254,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
976
1254
|
renderOrder: props.renderOrder || 0,
|
|
977
1255
|
transform: effectiveTransform
|
|
978
1256
|
};
|
|
979
|
-
parentRegister(instanceId, componentDefinition$
|
|
1257
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$7);
|
|
980
1258
|
return () => {
|
|
981
1259
|
parentRegister(instanceId, null, null, null, null);
|
|
982
1260
|
};
|
|
@@ -1049,9 +1327,9 @@ const OmbreComponent$52 = (props) => {
|
|
|
1049
1327
|
children: props.children
|
|
1050
1328
|
});
|
|
1051
1329
|
};
|
|
1052
|
-
var
|
|
1053
|
-
function computeEffectiveProps$51(props, defaultProps$
|
|
1054
|
-
let baseProps = { ...defaultProps$
|
|
1330
|
+
var CRTScreen_default = OmbreComponent$52;
|
|
1331
|
+
function computeEffectiveProps$51(props, defaultProps$60) {
|
|
1332
|
+
let baseProps = { ...defaultProps$60 };
|
|
1055
1333
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1056
1334
|
return baseProps;
|
|
1057
1335
|
}
|
|
@@ -1070,7 +1348,7 @@ var defaultProps$51 = {
|
|
|
1070
1348
|
visible: true
|
|
1071
1349
|
};
|
|
1072
1350
|
try {
|
|
1073
|
-
if (componentDefinition$
|
|
1351
|
+
if (componentDefinition$8 && componentDefinition$8.props) Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1074
1352
|
const propConfig = config;
|
|
1075
1353
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$51[key] = propConfig.default;
|
|
1076
1354
|
});
|
|
@@ -1082,7 +1360,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1082
1360
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1083
1361
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1084
1362
|
const instanceId = useMemo(() => {
|
|
1085
|
-
return props.id || `${componentDefinition$
|
|
1363
|
+
return props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1086
1364
|
}, [props.id]);
|
|
1087
1365
|
const effectiveProps = useMemo(() => {
|
|
1088
1366
|
return computeEffectiveProps$51(props, defaultProps$51);
|
|
@@ -1092,7 +1370,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1092
1370
|
...props.transform
|
|
1093
1371
|
}), [props.transform]);
|
|
1094
1372
|
const uniformsRef = useRef(null);
|
|
1095
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1373
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$8, effectiveProps, instanceId);
|
|
1096
1374
|
const childContextValue = useMemo(() => {
|
|
1097
1375
|
return {
|
|
1098
1376
|
...context,
|
|
@@ -1114,7 +1392,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1114
1392
|
renderOrder: props.renderOrder || 0,
|
|
1115
1393
|
transform: effectiveTransform
|
|
1116
1394
|
};
|
|
1117
|
-
parentRegister(instanceId, componentDefinition$
|
|
1395
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$8);
|
|
1118
1396
|
return () => {
|
|
1119
1397
|
parentRegister(instanceId, null, null, null, null);
|
|
1120
1398
|
};
|
|
@@ -1187,9 +1465,9 @@ const OmbreComponent$51 = (props) => {
|
|
|
1187
1465
|
children: props.children
|
|
1188
1466
|
});
|
|
1189
1467
|
};
|
|
1190
|
-
var
|
|
1191
|
-
function computeEffectiveProps$50(props, defaultProps$
|
|
1192
|
-
let baseProps = { ...defaultProps$
|
|
1468
|
+
var ChannelBlur_default = OmbreComponent$51;
|
|
1469
|
+
function computeEffectiveProps$50(props, defaultProps$60) {
|
|
1470
|
+
let baseProps = { ...defaultProps$60 };
|
|
1193
1471
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1194
1472
|
return baseProps;
|
|
1195
1473
|
}
|
|
@@ -1208,7 +1486,7 @@ var defaultProps$50 = {
|
|
|
1208
1486
|
visible: true
|
|
1209
1487
|
};
|
|
1210
1488
|
try {
|
|
1211
|
-
if (componentDefinition$
|
|
1489
|
+
if (componentDefinition$9 && componentDefinition$9.props) Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1212
1490
|
const propConfig = config;
|
|
1213
1491
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$50[key] = propConfig.default;
|
|
1214
1492
|
});
|
|
@@ -1220,7 +1498,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1220
1498
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1221
1499
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1222
1500
|
const instanceId = useMemo(() => {
|
|
1223
|
-
return props.id || `${componentDefinition$
|
|
1501
|
+
return props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1224
1502
|
}, [props.id]);
|
|
1225
1503
|
const effectiveProps = useMemo(() => {
|
|
1226
1504
|
return computeEffectiveProps$50(props, defaultProps$50);
|
|
@@ -1230,7 +1508,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1230
1508
|
...props.transform
|
|
1231
1509
|
}), [props.transform]);
|
|
1232
1510
|
const uniformsRef = useRef(null);
|
|
1233
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1511
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$9, effectiveProps, instanceId);
|
|
1234
1512
|
const childContextValue = useMemo(() => {
|
|
1235
1513
|
return {
|
|
1236
1514
|
...context,
|
|
@@ -1252,7 +1530,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1252
1530
|
renderOrder: props.renderOrder || 0,
|
|
1253
1531
|
transform: effectiveTransform
|
|
1254
1532
|
};
|
|
1255
|
-
parentRegister(instanceId, componentDefinition$
|
|
1533
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$9);
|
|
1256
1534
|
return () => {
|
|
1257
1535
|
parentRegister(instanceId, null, null, null, null);
|
|
1258
1536
|
};
|
|
@@ -1325,9 +1603,9 @@ const OmbreComponent$50 = (props) => {
|
|
|
1325
1603
|
children: props.children
|
|
1326
1604
|
});
|
|
1327
1605
|
};
|
|
1328
|
-
var
|
|
1329
|
-
function computeEffectiveProps$49(props, defaultProps$
|
|
1330
|
-
let baseProps = { ...defaultProps$
|
|
1606
|
+
var Checkerboard_default = OmbreComponent$50;
|
|
1607
|
+
function computeEffectiveProps$49(props, defaultProps$60) {
|
|
1608
|
+
let baseProps = { ...defaultProps$60 };
|
|
1331
1609
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1332
1610
|
return baseProps;
|
|
1333
1611
|
}
|
|
@@ -1346,7 +1624,7 @@ var defaultProps$49 = {
|
|
|
1346
1624
|
visible: true
|
|
1347
1625
|
};
|
|
1348
1626
|
try {
|
|
1349
|
-
if (componentDefinition$
|
|
1627
|
+
if (componentDefinition$10 && componentDefinition$10.props) Object.entries(componentDefinition$10.props).forEach(([key, config]) => {
|
|
1350
1628
|
const propConfig = config;
|
|
1351
1629
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$49[key] = propConfig.default;
|
|
1352
1630
|
});
|
|
@@ -1358,7 +1636,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1358
1636
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1359
1637
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1360
1638
|
const instanceId = useMemo(() => {
|
|
1361
|
-
return props.id || `${componentDefinition$
|
|
1639
|
+
return props.id || `${componentDefinition$10.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1362
1640
|
}, [props.id]);
|
|
1363
1641
|
const effectiveProps = useMemo(() => {
|
|
1364
1642
|
return computeEffectiveProps$49(props, defaultProps$49);
|
|
@@ -1368,7 +1646,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1368
1646
|
...props.transform
|
|
1369
1647
|
}), [props.transform]);
|
|
1370
1648
|
const uniformsRef = useRef(null);
|
|
1371
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1649
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$10, effectiveProps, instanceId);
|
|
1372
1650
|
const childContextValue = useMemo(() => {
|
|
1373
1651
|
return {
|
|
1374
1652
|
...context,
|
|
@@ -1390,7 +1668,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1390
1668
|
renderOrder: props.renderOrder || 0,
|
|
1391
1669
|
transform: effectiveTransform
|
|
1392
1670
|
};
|
|
1393
|
-
parentRegister(instanceId, componentDefinition$
|
|
1671
|
+
parentRegister(instanceId, componentDefinition$10.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$10);
|
|
1394
1672
|
return () => {
|
|
1395
1673
|
parentRegister(instanceId, null, null, null, null);
|
|
1396
1674
|
};
|
|
@@ -1463,9 +1741,9 @@ const OmbreComponent$49 = (props) => {
|
|
|
1463
1741
|
children: props.children
|
|
1464
1742
|
});
|
|
1465
1743
|
};
|
|
1466
|
-
var
|
|
1467
|
-
function computeEffectiveProps$48(props, defaultProps$
|
|
1468
|
-
let baseProps = { ...defaultProps$
|
|
1744
|
+
var ChromaFlow_default = OmbreComponent$49;
|
|
1745
|
+
function computeEffectiveProps$48(props, defaultProps$60) {
|
|
1746
|
+
let baseProps = { ...defaultProps$60 };
|
|
1469
1747
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1470
1748
|
return baseProps;
|
|
1471
1749
|
}
|
|
@@ -1484,7 +1762,7 @@ var defaultProps$48 = {
|
|
|
1484
1762
|
visible: true
|
|
1485
1763
|
};
|
|
1486
1764
|
try {
|
|
1487
|
-
if (componentDefinition$
|
|
1765
|
+
if (componentDefinition$11 && componentDefinition$11.props) Object.entries(componentDefinition$11.props).forEach(([key, config]) => {
|
|
1488
1766
|
const propConfig = config;
|
|
1489
1767
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$48[key] = propConfig.default;
|
|
1490
1768
|
});
|
|
@@ -1496,7 +1774,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1496
1774
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1497
1775
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1498
1776
|
const instanceId = useMemo(() => {
|
|
1499
|
-
return props.id || `${componentDefinition$
|
|
1777
|
+
return props.id || `${componentDefinition$11.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1500
1778
|
}, [props.id]);
|
|
1501
1779
|
const effectiveProps = useMemo(() => {
|
|
1502
1780
|
return computeEffectiveProps$48(props, defaultProps$48);
|
|
@@ -1506,7 +1784,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1506
1784
|
...props.transform
|
|
1507
1785
|
}), [props.transform]);
|
|
1508
1786
|
const uniformsRef = useRef(null);
|
|
1509
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1787
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$11, effectiveProps, instanceId);
|
|
1510
1788
|
const childContextValue = useMemo(() => {
|
|
1511
1789
|
return {
|
|
1512
1790
|
...context,
|
|
@@ -1528,7 +1806,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1528
1806
|
renderOrder: props.renderOrder || 0,
|
|
1529
1807
|
transform: effectiveTransform
|
|
1530
1808
|
};
|
|
1531
|
-
parentRegister(instanceId, componentDefinition$
|
|
1809
|
+
parentRegister(instanceId, componentDefinition$11.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$11);
|
|
1532
1810
|
return () => {
|
|
1533
1811
|
parentRegister(instanceId, null, null, null, null);
|
|
1534
1812
|
};
|
|
@@ -1601,9 +1879,9 @@ const OmbreComponent$48 = (props) => {
|
|
|
1601
1879
|
children: props.children
|
|
1602
1880
|
});
|
|
1603
1881
|
};
|
|
1604
|
-
var
|
|
1605
|
-
function computeEffectiveProps$47(props, defaultProps$
|
|
1606
|
-
let baseProps = { ...defaultProps$
|
|
1882
|
+
var ChromaticAberration_default = OmbreComponent$48;
|
|
1883
|
+
function computeEffectiveProps$47(props, defaultProps$60) {
|
|
1884
|
+
let baseProps = { ...defaultProps$60 };
|
|
1607
1885
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1608
1886
|
return baseProps;
|
|
1609
1887
|
}
|
|
@@ -1622,7 +1900,7 @@ var defaultProps$47 = {
|
|
|
1622
1900
|
visible: true
|
|
1623
1901
|
};
|
|
1624
1902
|
try {
|
|
1625
|
-
if (componentDefinition$
|
|
1903
|
+
if (componentDefinition$12 && componentDefinition$12.props) Object.entries(componentDefinition$12.props).forEach(([key, config]) => {
|
|
1626
1904
|
const propConfig = config;
|
|
1627
1905
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$47[key] = propConfig.default;
|
|
1628
1906
|
});
|
|
@@ -1634,7 +1912,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1634
1912
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1635
1913
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1636
1914
|
const instanceId = useMemo(() => {
|
|
1637
|
-
return props.id || `${componentDefinition$
|
|
1915
|
+
return props.id || `${componentDefinition$12.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1638
1916
|
}, [props.id]);
|
|
1639
1917
|
const effectiveProps = useMemo(() => {
|
|
1640
1918
|
return computeEffectiveProps$47(props, defaultProps$47);
|
|
@@ -1644,7 +1922,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1644
1922
|
...props.transform
|
|
1645
1923
|
}), [props.transform]);
|
|
1646
1924
|
const uniformsRef = useRef(null);
|
|
1647
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1925
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$12, effectiveProps, instanceId);
|
|
1648
1926
|
const childContextValue = useMemo(() => {
|
|
1649
1927
|
return {
|
|
1650
1928
|
...context,
|
|
@@ -1666,7 +1944,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1666
1944
|
renderOrder: props.renderOrder || 0,
|
|
1667
1945
|
transform: effectiveTransform
|
|
1668
1946
|
};
|
|
1669
|
-
parentRegister(instanceId, componentDefinition$
|
|
1947
|
+
parentRegister(instanceId, componentDefinition$12.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$12);
|
|
1670
1948
|
return () => {
|
|
1671
1949
|
parentRegister(instanceId, null, null, null, null);
|
|
1672
1950
|
};
|
|
@@ -1739,9 +2017,9 @@ const OmbreComponent$47 = (props) => {
|
|
|
1739
2017
|
children: props.children
|
|
1740
2018
|
});
|
|
1741
2019
|
};
|
|
1742
|
-
var
|
|
1743
|
-
function computeEffectiveProps$46(props, defaultProps$
|
|
1744
|
-
let baseProps = { ...defaultProps$
|
|
2020
|
+
var Circle_default = OmbreComponent$47;
|
|
2021
|
+
function computeEffectiveProps$46(props, defaultProps$60) {
|
|
2022
|
+
let baseProps = { ...defaultProps$60 };
|
|
1745
2023
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1746
2024
|
return baseProps;
|
|
1747
2025
|
}
|
|
@@ -1760,7 +2038,7 @@ var defaultProps$46 = {
|
|
|
1760
2038
|
visible: true
|
|
1761
2039
|
};
|
|
1762
2040
|
try {
|
|
1763
|
-
if (componentDefinition$
|
|
2041
|
+
if (componentDefinition$13 && componentDefinition$13.props) Object.entries(componentDefinition$13.props).forEach(([key, config]) => {
|
|
1764
2042
|
const propConfig = config;
|
|
1765
2043
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$46[key] = propConfig.default;
|
|
1766
2044
|
});
|
|
@@ -1772,7 +2050,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1772
2050
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1773
2051
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1774
2052
|
const instanceId = useMemo(() => {
|
|
1775
|
-
return props.id || `${componentDefinition$
|
|
2053
|
+
return props.id || `${componentDefinition$13.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1776
2054
|
}, [props.id]);
|
|
1777
2055
|
const effectiveProps = useMemo(() => {
|
|
1778
2056
|
return computeEffectiveProps$46(props, defaultProps$46);
|
|
@@ -1782,7 +2060,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1782
2060
|
...props.transform
|
|
1783
2061
|
}), [props.transform]);
|
|
1784
2062
|
const uniformsRef = useRef(null);
|
|
1785
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2063
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$13, effectiveProps, instanceId);
|
|
1786
2064
|
const childContextValue = useMemo(() => {
|
|
1787
2065
|
return {
|
|
1788
2066
|
...context,
|
|
@@ -1804,7 +2082,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1804
2082
|
renderOrder: props.renderOrder || 0,
|
|
1805
2083
|
transform: effectiveTransform
|
|
1806
2084
|
};
|
|
1807
|
-
parentRegister(instanceId, componentDefinition$
|
|
2085
|
+
parentRegister(instanceId, componentDefinition$13.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$13);
|
|
1808
2086
|
return () => {
|
|
1809
2087
|
parentRegister(instanceId, null, null, null, null);
|
|
1810
2088
|
};
|
|
@@ -1877,9 +2155,9 @@ const OmbreComponent$46 = (props) => {
|
|
|
1877
2155
|
children: props.children
|
|
1878
2156
|
});
|
|
1879
2157
|
};
|
|
1880
|
-
var
|
|
1881
|
-
function computeEffectiveProps$45(props, defaultProps$
|
|
1882
|
-
let baseProps = { ...defaultProps$
|
|
2158
|
+
var CursorTrail_default = OmbreComponent$46;
|
|
2159
|
+
function computeEffectiveProps$45(props, defaultProps$60) {
|
|
2160
|
+
let baseProps = { ...defaultProps$60 };
|
|
1883
2161
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1884
2162
|
return baseProps;
|
|
1885
2163
|
}
|
|
@@ -1898,7 +2176,7 @@ var defaultProps$45 = {
|
|
|
1898
2176
|
visible: true
|
|
1899
2177
|
};
|
|
1900
2178
|
try {
|
|
1901
|
-
if (componentDefinition$
|
|
2179
|
+
if (componentDefinition$14 && componentDefinition$14.props) Object.entries(componentDefinition$14.props).forEach(([key, config]) => {
|
|
1902
2180
|
const propConfig = config;
|
|
1903
2181
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$45[key] = propConfig.default;
|
|
1904
2182
|
});
|
|
@@ -1910,7 +2188,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1910
2188
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1911
2189
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1912
2190
|
const instanceId = useMemo(() => {
|
|
1913
|
-
return props.id || `${componentDefinition$
|
|
2191
|
+
return props.id || `${componentDefinition$14.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1914
2192
|
}, [props.id]);
|
|
1915
2193
|
const effectiveProps = useMemo(() => {
|
|
1916
2194
|
return computeEffectiveProps$45(props, defaultProps$45);
|
|
@@ -1920,7 +2198,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1920
2198
|
...props.transform
|
|
1921
2199
|
}), [props.transform]);
|
|
1922
2200
|
const uniformsRef = useRef(null);
|
|
1923
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2201
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$14, effectiveProps, instanceId);
|
|
1924
2202
|
const childContextValue = useMemo(() => {
|
|
1925
2203
|
return {
|
|
1926
2204
|
...context,
|
|
@@ -1942,7 +2220,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1942
2220
|
renderOrder: props.renderOrder || 0,
|
|
1943
2221
|
transform: effectiveTransform
|
|
1944
2222
|
};
|
|
1945
|
-
parentRegister(instanceId, componentDefinition$
|
|
2223
|
+
parentRegister(instanceId, componentDefinition$14.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$14);
|
|
1946
2224
|
return () => {
|
|
1947
2225
|
parentRegister(instanceId, null, null, null, null);
|
|
1948
2226
|
};
|
|
@@ -2015,9 +2293,9 @@ const OmbreComponent$45 = (props) => {
|
|
|
2015
2293
|
children: props.children
|
|
2016
2294
|
});
|
|
2017
2295
|
};
|
|
2018
|
-
var
|
|
2019
|
-
function computeEffectiveProps$44(props, defaultProps$
|
|
2020
|
-
let baseProps = { ...defaultProps$
|
|
2296
|
+
var DiffuseBlur_default = OmbreComponent$45;
|
|
2297
|
+
function computeEffectiveProps$44(props, defaultProps$60) {
|
|
2298
|
+
let baseProps = { ...defaultProps$60 };
|
|
2021
2299
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2022
2300
|
return baseProps;
|
|
2023
2301
|
}
|
|
@@ -2036,7 +2314,7 @@ var defaultProps$44 = {
|
|
|
2036
2314
|
visible: true
|
|
2037
2315
|
};
|
|
2038
2316
|
try {
|
|
2039
|
-
if (componentDefinition$
|
|
2317
|
+
if (componentDefinition$15 && componentDefinition$15.props) Object.entries(componentDefinition$15.props).forEach(([key, config]) => {
|
|
2040
2318
|
const propConfig = config;
|
|
2041
2319
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$44[key] = propConfig.default;
|
|
2042
2320
|
});
|
|
@@ -2048,7 +2326,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2048
2326
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2049
2327
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2050
2328
|
const instanceId = useMemo(() => {
|
|
2051
|
-
return props.id || `${componentDefinition$
|
|
2329
|
+
return props.id || `${componentDefinition$15.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2052
2330
|
}, [props.id]);
|
|
2053
2331
|
const effectiveProps = useMemo(() => {
|
|
2054
2332
|
return computeEffectiveProps$44(props, defaultProps$44);
|
|
@@ -2058,7 +2336,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2058
2336
|
...props.transform
|
|
2059
2337
|
}), [props.transform]);
|
|
2060
2338
|
const uniformsRef = useRef(null);
|
|
2061
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2339
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$15, effectiveProps, instanceId);
|
|
2062
2340
|
const childContextValue = useMemo(() => {
|
|
2063
2341
|
return {
|
|
2064
2342
|
...context,
|
|
@@ -2080,7 +2358,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2080
2358
|
renderOrder: props.renderOrder || 0,
|
|
2081
2359
|
transform: effectiveTransform
|
|
2082
2360
|
};
|
|
2083
|
-
parentRegister(instanceId, componentDefinition$
|
|
2361
|
+
parentRegister(instanceId, componentDefinition$15.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$15);
|
|
2084
2362
|
return () => {
|
|
2085
2363
|
parentRegister(instanceId, null, null, null, null);
|
|
2086
2364
|
};
|
|
@@ -2153,9 +2431,9 @@ const OmbreComponent$44 = (props) => {
|
|
|
2153
2431
|
children: props.children
|
|
2154
2432
|
});
|
|
2155
2433
|
};
|
|
2156
|
-
var
|
|
2157
|
-
function computeEffectiveProps$43(props, defaultProps$
|
|
2158
|
-
let baseProps = { ...defaultProps$
|
|
2434
|
+
var Dither_default = OmbreComponent$44;
|
|
2435
|
+
function computeEffectiveProps$43(props, defaultProps$60) {
|
|
2436
|
+
let baseProps = { ...defaultProps$60 };
|
|
2159
2437
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2160
2438
|
return baseProps;
|
|
2161
2439
|
}
|
|
@@ -2174,7 +2452,7 @@ var defaultProps$43 = {
|
|
|
2174
2452
|
visible: true
|
|
2175
2453
|
};
|
|
2176
2454
|
try {
|
|
2177
|
-
if (componentDefinition$
|
|
2455
|
+
if (componentDefinition$16 && componentDefinition$16.props) Object.entries(componentDefinition$16.props).forEach(([key, config]) => {
|
|
2178
2456
|
const propConfig = config;
|
|
2179
2457
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$43[key] = propConfig.default;
|
|
2180
2458
|
});
|
|
@@ -2186,7 +2464,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2186
2464
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2187
2465
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2188
2466
|
const instanceId = useMemo(() => {
|
|
2189
|
-
return props.id || `${componentDefinition$
|
|
2467
|
+
return props.id || `${componentDefinition$16.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2190
2468
|
}, [props.id]);
|
|
2191
2469
|
const effectiveProps = useMemo(() => {
|
|
2192
2470
|
return computeEffectiveProps$43(props, defaultProps$43);
|
|
@@ -2196,7 +2474,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2196
2474
|
...props.transform
|
|
2197
2475
|
}), [props.transform]);
|
|
2198
2476
|
const uniformsRef = useRef(null);
|
|
2199
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2477
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$16, effectiveProps, instanceId);
|
|
2200
2478
|
const childContextValue = useMemo(() => {
|
|
2201
2479
|
return {
|
|
2202
2480
|
...context,
|
|
@@ -2218,7 +2496,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2218
2496
|
renderOrder: props.renderOrder || 0,
|
|
2219
2497
|
transform: effectiveTransform
|
|
2220
2498
|
};
|
|
2221
|
-
parentRegister(instanceId, componentDefinition$
|
|
2499
|
+
parentRegister(instanceId, componentDefinition$16.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$16);
|
|
2222
2500
|
return () => {
|
|
2223
2501
|
parentRegister(instanceId, null, null, null, null);
|
|
2224
2502
|
};
|
|
@@ -2291,9 +2569,9 @@ const OmbreComponent$43 = (props) => {
|
|
|
2291
2569
|
children: props.children
|
|
2292
2570
|
});
|
|
2293
2571
|
};
|
|
2294
|
-
var
|
|
2295
|
-
function computeEffectiveProps$42(props, defaultProps$
|
|
2296
|
-
let baseProps = { ...defaultProps$
|
|
2572
|
+
var DotGrid_default = OmbreComponent$43;
|
|
2573
|
+
function computeEffectiveProps$42(props, defaultProps$60) {
|
|
2574
|
+
let baseProps = { ...defaultProps$60 };
|
|
2297
2575
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2298
2576
|
return baseProps;
|
|
2299
2577
|
}
|
|
@@ -2312,7 +2590,7 @@ var defaultProps$42 = {
|
|
|
2312
2590
|
visible: true
|
|
2313
2591
|
};
|
|
2314
2592
|
try {
|
|
2315
|
-
if (componentDefinition$
|
|
2593
|
+
if (componentDefinition$17 && componentDefinition$17.props) Object.entries(componentDefinition$17.props).forEach(([key, config]) => {
|
|
2316
2594
|
const propConfig = config;
|
|
2317
2595
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$42[key] = propConfig.default;
|
|
2318
2596
|
});
|
|
@@ -2324,7 +2602,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2324
2602
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2325
2603
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2326
2604
|
const instanceId = useMemo(() => {
|
|
2327
|
-
return props.id || `${componentDefinition$
|
|
2605
|
+
return props.id || `${componentDefinition$17.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2328
2606
|
}, [props.id]);
|
|
2329
2607
|
const effectiveProps = useMemo(() => {
|
|
2330
2608
|
return computeEffectiveProps$42(props, defaultProps$42);
|
|
@@ -2334,7 +2612,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2334
2612
|
...props.transform
|
|
2335
2613
|
}), [props.transform]);
|
|
2336
2614
|
const uniformsRef = useRef(null);
|
|
2337
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2615
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$17, effectiveProps, instanceId);
|
|
2338
2616
|
const childContextValue = useMemo(() => {
|
|
2339
2617
|
return {
|
|
2340
2618
|
...context,
|
|
@@ -2356,7 +2634,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2356
2634
|
renderOrder: props.renderOrder || 0,
|
|
2357
2635
|
transform: effectiveTransform
|
|
2358
2636
|
};
|
|
2359
|
-
parentRegister(instanceId, componentDefinition$
|
|
2637
|
+
parentRegister(instanceId, componentDefinition$17.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$17);
|
|
2360
2638
|
return () => {
|
|
2361
2639
|
parentRegister(instanceId, null, null, null, null);
|
|
2362
2640
|
};
|
|
@@ -2429,9 +2707,9 @@ const OmbreComponent$42 = (props) => {
|
|
|
2429
2707
|
children: props.children
|
|
2430
2708
|
});
|
|
2431
2709
|
};
|
|
2432
|
-
var
|
|
2433
|
-
function computeEffectiveProps$41(props, defaultProps$
|
|
2434
|
-
let baseProps = { ...defaultProps$
|
|
2710
|
+
var Duotone_default = OmbreComponent$42;
|
|
2711
|
+
function computeEffectiveProps$41(props, defaultProps$60) {
|
|
2712
|
+
let baseProps = { ...defaultProps$60 };
|
|
2435
2713
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2436
2714
|
return baseProps;
|
|
2437
2715
|
}
|
|
@@ -2450,7 +2728,7 @@ var defaultProps$41 = {
|
|
|
2450
2728
|
visible: true
|
|
2451
2729
|
};
|
|
2452
2730
|
try {
|
|
2453
|
-
if (componentDefinition$
|
|
2731
|
+
if (componentDefinition$18 && componentDefinition$18.props) Object.entries(componentDefinition$18.props).forEach(([key, config]) => {
|
|
2454
2732
|
const propConfig = config;
|
|
2455
2733
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$41[key] = propConfig.default;
|
|
2456
2734
|
});
|
|
@@ -2462,7 +2740,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2462
2740
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2463
2741
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2464
2742
|
const instanceId = useMemo(() => {
|
|
2465
|
-
return props.id || `${componentDefinition$
|
|
2743
|
+
return props.id || `${componentDefinition$18.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2466
2744
|
}, [props.id]);
|
|
2467
2745
|
const effectiveProps = useMemo(() => {
|
|
2468
2746
|
return computeEffectiveProps$41(props, defaultProps$41);
|
|
@@ -2472,7 +2750,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2472
2750
|
...props.transform
|
|
2473
2751
|
}), [props.transform]);
|
|
2474
2752
|
const uniformsRef = useRef(null);
|
|
2475
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2753
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$18, effectiveProps, instanceId);
|
|
2476
2754
|
const childContextValue = useMemo(() => {
|
|
2477
2755
|
return {
|
|
2478
2756
|
...context,
|
|
@@ -2494,7 +2772,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2494
2772
|
renderOrder: props.renderOrder || 0,
|
|
2495
2773
|
transform: effectiveTransform
|
|
2496
2774
|
};
|
|
2497
|
-
parentRegister(instanceId, componentDefinition$
|
|
2775
|
+
parentRegister(instanceId, componentDefinition$18.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$18);
|
|
2498
2776
|
return () => {
|
|
2499
2777
|
parentRegister(instanceId, null, null, null, null);
|
|
2500
2778
|
};
|
|
@@ -2567,9 +2845,9 @@ const OmbreComponent$41 = (props) => {
|
|
|
2567
2845
|
children: props.children
|
|
2568
2846
|
});
|
|
2569
2847
|
};
|
|
2570
|
-
var
|
|
2571
|
-
function computeEffectiveProps$40(props, defaultProps$
|
|
2572
|
-
let baseProps = { ...defaultProps$
|
|
2848
|
+
var FilmGrain_default = OmbreComponent$41;
|
|
2849
|
+
function computeEffectiveProps$40(props, defaultProps$60) {
|
|
2850
|
+
let baseProps = { ...defaultProps$60 };
|
|
2573
2851
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2574
2852
|
return baseProps;
|
|
2575
2853
|
}
|
|
@@ -2588,7 +2866,7 @@ var defaultProps$40 = {
|
|
|
2588
2866
|
visible: true
|
|
2589
2867
|
};
|
|
2590
2868
|
try {
|
|
2591
|
-
if (componentDefinition$
|
|
2869
|
+
if (componentDefinition$19 && componentDefinition$19.props) Object.entries(componentDefinition$19.props).forEach(([key, config]) => {
|
|
2592
2870
|
const propConfig = config;
|
|
2593
2871
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$40[key] = propConfig.default;
|
|
2594
2872
|
});
|
|
@@ -2600,7 +2878,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2600
2878
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2601
2879
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2602
2880
|
const instanceId = useMemo(() => {
|
|
2603
|
-
return props.id || `${componentDefinition$
|
|
2881
|
+
return props.id || `${componentDefinition$19.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2604
2882
|
}, [props.id]);
|
|
2605
2883
|
const effectiveProps = useMemo(() => {
|
|
2606
2884
|
return computeEffectiveProps$40(props, defaultProps$40);
|
|
@@ -2610,7 +2888,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2610
2888
|
...props.transform
|
|
2611
2889
|
}), [props.transform]);
|
|
2612
2890
|
const uniformsRef = useRef(null);
|
|
2613
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2891
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$19, effectiveProps, instanceId);
|
|
2614
2892
|
const childContextValue = useMemo(() => {
|
|
2615
2893
|
return {
|
|
2616
2894
|
...context,
|
|
@@ -2632,7 +2910,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2632
2910
|
renderOrder: props.renderOrder || 0,
|
|
2633
2911
|
transform: effectiveTransform
|
|
2634
2912
|
};
|
|
2635
|
-
parentRegister(instanceId, componentDefinition$
|
|
2913
|
+
parentRegister(instanceId, componentDefinition$19.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$19);
|
|
2636
2914
|
return () => {
|
|
2637
2915
|
parentRegister(instanceId, null, null, null, null);
|
|
2638
2916
|
};
|
|
@@ -2705,9 +2983,9 @@ const OmbreComponent$40 = (props) => {
|
|
|
2705
2983
|
children: props.children
|
|
2706
2984
|
});
|
|
2707
2985
|
};
|
|
2708
|
-
var
|
|
2709
|
-
function computeEffectiveProps$39(props, defaultProps$
|
|
2710
|
-
let baseProps = { ...defaultProps$
|
|
2986
|
+
var FloatingParticles_default = OmbreComponent$40;
|
|
2987
|
+
function computeEffectiveProps$39(props, defaultProps$60) {
|
|
2988
|
+
let baseProps = { ...defaultProps$60 };
|
|
2711
2989
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2712
2990
|
return baseProps;
|
|
2713
2991
|
}
|
|
@@ -2726,7 +3004,7 @@ var defaultProps$39 = {
|
|
|
2726
3004
|
visible: true
|
|
2727
3005
|
};
|
|
2728
3006
|
try {
|
|
2729
|
-
if (componentDefinition$
|
|
3007
|
+
if (componentDefinition$20 && componentDefinition$20.props) Object.entries(componentDefinition$20.props).forEach(([key, config]) => {
|
|
2730
3008
|
const propConfig = config;
|
|
2731
3009
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$39[key] = propConfig.default;
|
|
2732
3010
|
});
|
|
@@ -2738,7 +3016,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2738
3016
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2739
3017
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2740
3018
|
const instanceId = useMemo(() => {
|
|
2741
|
-
return props.id || `${componentDefinition$
|
|
3019
|
+
return props.id || `${componentDefinition$20.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2742
3020
|
}, [props.id]);
|
|
2743
3021
|
const effectiveProps = useMemo(() => {
|
|
2744
3022
|
return computeEffectiveProps$39(props, defaultProps$39);
|
|
@@ -2748,7 +3026,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2748
3026
|
...props.transform
|
|
2749
3027
|
}), [props.transform]);
|
|
2750
3028
|
const uniformsRef = useRef(null);
|
|
2751
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3029
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$20, effectiveProps, instanceId);
|
|
2752
3030
|
const childContextValue = useMemo(() => {
|
|
2753
3031
|
return {
|
|
2754
3032
|
...context,
|
|
@@ -2770,7 +3048,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2770
3048
|
renderOrder: props.renderOrder || 0,
|
|
2771
3049
|
transform: effectiveTransform
|
|
2772
3050
|
};
|
|
2773
|
-
parentRegister(instanceId, componentDefinition$
|
|
3051
|
+
parentRegister(instanceId, componentDefinition$20.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$20);
|
|
2774
3052
|
return () => {
|
|
2775
3053
|
parentRegister(instanceId, null, null, null, null);
|
|
2776
3054
|
};
|
|
@@ -2843,9 +3121,9 @@ const OmbreComponent$39 = (props) => {
|
|
|
2843
3121
|
children: props.children
|
|
2844
3122
|
});
|
|
2845
3123
|
};
|
|
2846
|
-
var
|
|
2847
|
-
function computeEffectiveProps$38(props, defaultProps$
|
|
2848
|
-
let baseProps = { ...defaultProps$
|
|
3124
|
+
var GlassTiles_default = OmbreComponent$39;
|
|
3125
|
+
function computeEffectiveProps$38(props, defaultProps$60) {
|
|
3126
|
+
let baseProps = { ...defaultProps$60 };
|
|
2849
3127
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2850
3128
|
return baseProps;
|
|
2851
3129
|
}
|
|
@@ -2864,7 +3142,7 @@ var defaultProps$38 = {
|
|
|
2864
3142
|
visible: true
|
|
2865
3143
|
};
|
|
2866
3144
|
try {
|
|
2867
|
-
if (componentDefinition$
|
|
3145
|
+
if (componentDefinition$21 && componentDefinition$21.props) Object.entries(componentDefinition$21.props).forEach(([key, config]) => {
|
|
2868
3146
|
const propConfig = config;
|
|
2869
3147
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$38[key] = propConfig.default;
|
|
2870
3148
|
});
|
|
@@ -2876,7 +3154,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2876
3154
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2877
3155
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2878
3156
|
const instanceId = useMemo(() => {
|
|
2879
|
-
return props.id || `${componentDefinition$
|
|
3157
|
+
return props.id || `${componentDefinition$21.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2880
3158
|
}, [props.id]);
|
|
2881
3159
|
const effectiveProps = useMemo(() => {
|
|
2882
3160
|
return computeEffectiveProps$38(props, defaultProps$38);
|
|
@@ -2886,7 +3164,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2886
3164
|
...props.transform
|
|
2887
3165
|
}), [props.transform]);
|
|
2888
3166
|
const uniformsRef = useRef(null);
|
|
2889
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3167
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$21, effectiveProps, instanceId);
|
|
2890
3168
|
const childContextValue = useMemo(() => {
|
|
2891
3169
|
return {
|
|
2892
3170
|
...context,
|
|
@@ -2908,7 +3186,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2908
3186
|
renderOrder: props.renderOrder || 0,
|
|
2909
3187
|
transform: effectiveTransform
|
|
2910
3188
|
};
|
|
2911
|
-
parentRegister(instanceId, componentDefinition$
|
|
3189
|
+
parentRegister(instanceId, componentDefinition$21.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$21);
|
|
2912
3190
|
return () => {
|
|
2913
3191
|
parentRegister(instanceId, null, null, null, null);
|
|
2914
3192
|
};
|
|
@@ -2981,9 +3259,9 @@ const OmbreComponent$38 = (props) => {
|
|
|
2981
3259
|
children: props.children
|
|
2982
3260
|
});
|
|
2983
3261
|
};
|
|
2984
|
-
var
|
|
2985
|
-
function computeEffectiveProps$37(props, defaultProps$
|
|
2986
|
-
let baseProps = { ...defaultProps$
|
|
3262
|
+
var Glow_default = OmbreComponent$38;
|
|
3263
|
+
function computeEffectiveProps$37(props, defaultProps$60) {
|
|
3264
|
+
let baseProps = { ...defaultProps$60 };
|
|
2987
3265
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2988
3266
|
return baseProps;
|
|
2989
3267
|
}
|
|
@@ -3002,7 +3280,7 @@ var defaultProps$37 = {
|
|
|
3002
3280
|
visible: true
|
|
3003
3281
|
};
|
|
3004
3282
|
try {
|
|
3005
|
-
if (componentDefinition$
|
|
3283
|
+
if (componentDefinition$22 && componentDefinition$22.props) Object.entries(componentDefinition$22.props).forEach(([key, config]) => {
|
|
3006
3284
|
const propConfig = config;
|
|
3007
3285
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$37[key] = propConfig.default;
|
|
3008
3286
|
});
|
|
@@ -3014,7 +3292,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3014
3292
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3015
3293
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3016
3294
|
const instanceId = useMemo(() => {
|
|
3017
|
-
return props.id || `${componentDefinition$
|
|
3295
|
+
return props.id || `${componentDefinition$22.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3018
3296
|
}, [props.id]);
|
|
3019
3297
|
const effectiveProps = useMemo(() => {
|
|
3020
3298
|
return computeEffectiveProps$37(props, defaultProps$37);
|
|
@@ -3024,7 +3302,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3024
3302
|
...props.transform
|
|
3025
3303
|
}), [props.transform]);
|
|
3026
3304
|
const uniformsRef = useRef(null);
|
|
3027
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3305
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$22, effectiveProps, instanceId);
|
|
3028
3306
|
const childContextValue = useMemo(() => {
|
|
3029
3307
|
return {
|
|
3030
3308
|
...context,
|
|
@@ -3046,7 +3324,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3046
3324
|
renderOrder: props.renderOrder || 0,
|
|
3047
3325
|
transform: effectiveTransform
|
|
3048
3326
|
};
|
|
3049
|
-
parentRegister(instanceId, componentDefinition$
|
|
3327
|
+
parentRegister(instanceId, componentDefinition$22.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$22);
|
|
3050
3328
|
return () => {
|
|
3051
3329
|
parentRegister(instanceId, null, null, null, null);
|
|
3052
3330
|
};
|
|
@@ -3119,9 +3397,9 @@ const OmbreComponent$37 = (props) => {
|
|
|
3119
3397
|
children: props.children
|
|
3120
3398
|
});
|
|
3121
3399
|
};
|
|
3122
|
-
var
|
|
3123
|
-
function computeEffectiveProps$36(props, defaultProps$
|
|
3124
|
-
let baseProps = { ...defaultProps$
|
|
3400
|
+
var Godrays_default = OmbreComponent$37;
|
|
3401
|
+
function computeEffectiveProps$36(props, defaultProps$60) {
|
|
3402
|
+
let baseProps = { ...defaultProps$60 };
|
|
3125
3403
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3126
3404
|
return baseProps;
|
|
3127
3405
|
}
|
|
@@ -3140,7 +3418,7 @@ var defaultProps$36 = {
|
|
|
3140
3418
|
visible: true
|
|
3141
3419
|
};
|
|
3142
3420
|
try {
|
|
3143
|
-
if (componentDefinition$
|
|
3421
|
+
if (componentDefinition$23 && componentDefinition$23.props) Object.entries(componentDefinition$23.props).forEach(([key, config]) => {
|
|
3144
3422
|
const propConfig = config;
|
|
3145
3423
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$36[key] = propConfig.default;
|
|
3146
3424
|
});
|
|
@@ -3152,7 +3430,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3152
3430
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3153
3431
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3154
3432
|
const instanceId = useMemo(() => {
|
|
3155
|
-
return props.id || `${componentDefinition$
|
|
3433
|
+
return props.id || `${componentDefinition$23.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3156
3434
|
}, [props.id]);
|
|
3157
3435
|
const effectiveProps = useMemo(() => {
|
|
3158
3436
|
return computeEffectiveProps$36(props, defaultProps$36);
|
|
@@ -3162,7 +3440,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3162
3440
|
...props.transform
|
|
3163
3441
|
}), [props.transform]);
|
|
3164
3442
|
const uniformsRef = useRef(null);
|
|
3165
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3443
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$23, effectiveProps, instanceId);
|
|
3166
3444
|
const childContextValue = useMemo(() => {
|
|
3167
3445
|
return {
|
|
3168
3446
|
...context,
|
|
@@ -3184,7 +3462,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3184
3462
|
renderOrder: props.renderOrder || 0,
|
|
3185
3463
|
transform: effectiveTransform
|
|
3186
3464
|
};
|
|
3187
|
-
parentRegister(instanceId, componentDefinition$
|
|
3465
|
+
parentRegister(instanceId, componentDefinition$23.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$23);
|
|
3188
3466
|
return () => {
|
|
3189
3467
|
parentRegister(instanceId, null, null, null, null);
|
|
3190
3468
|
};
|
|
@@ -3257,9 +3535,9 @@ const OmbreComponent$36 = (props) => {
|
|
|
3257
3535
|
children: props.children
|
|
3258
3536
|
});
|
|
3259
3537
|
};
|
|
3260
|
-
var
|
|
3261
|
-
function computeEffectiveProps$35(props, defaultProps$
|
|
3262
|
-
let baseProps = { ...defaultProps$
|
|
3538
|
+
var Grayscale_default = OmbreComponent$36;
|
|
3539
|
+
function computeEffectiveProps$35(props, defaultProps$60) {
|
|
3540
|
+
let baseProps = { ...defaultProps$60 };
|
|
3263
3541
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3264
3542
|
return baseProps;
|
|
3265
3543
|
}
|
|
@@ -3278,7 +3556,7 @@ var defaultProps$35 = {
|
|
|
3278
3556
|
visible: true
|
|
3279
3557
|
};
|
|
3280
3558
|
try {
|
|
3281
|
-
if (componentDefinition$
|
|
3559
|
+
if (componentDefinition$24 && componentDefinition$24.props) Object.entries(componentDefinition$24.props).forEach(([key, config]) => {
|
|
3282
3560
|
const propConfig = config;
|
|
3283
3561
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$35[key] = propConfig.default;
|
|
3284
3562
|
});
|
|
@@ -3290,7 +3568,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3290
3568
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3291
3569
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3292
3570
|
const instanceId = useMemo(() => {
|
|
3293
|
-
return props.id || `${componentDefinition$
|
|
3571
|
+
return props.id || `${componentDefinition$24.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3294
3572
|
}, [props.id]);
|
|
3295
3573
|
const effectiveProps = useMemo(() => {
|
|
3296
3574
|
return computeEffectiveProps$35(props, defaultProps$35);
|
|
@@ -3300,7 +3578,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3300
3578
|
...props.transform
|
|
3301
3579
|
}), [props.transform]);
|
|
3302
3580
|
const uniformsRef = useRef(null);
|
|
3303
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3581
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$24, effectiveProps, instanceId);
|
|
3304
3582
|
const childContextValue = useMemo(() => {
|
|
3305
3583
|
return {
|
|
3306
3584
|
...context,
|
|
@@ -3322,7 +3600,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3322
3600
|
renderOrder: props.renderOrder || 0,
|
|
3323
3601
|
transform: effectiveTransform
|
|
3324
3602
|
};
|
|
3325
|
-
parentRegister(instanceId, componentDefinition$
|
|
3603
|
+
parentRegister(instanceId, componentDefinition$24.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$24);
|
|
3326
3604
|
return () => {
|
|
3327
3605
|
parentRegister(instanceId, null, null, null, null);
|
|
3328
3606
|
};
|
|
@@ -3395,9 +3673,9 @@ const OmbreComponent$35 = (props) => {
|
|
|
3395
3673
|
children: props.children
|
|
3396
3674
|
});
|
|
3397
3675
|
};
|
|
3398
|
-
var
|
|
3399
|
-
function computeEffectiveProps$34(props, defaultProps$
|
|
3400
|
-
let baseProps = { ...defaultProps$
|
|
3676
|
+
var Grid_default = OmbreComponent$35;
|
|
3677
|
+
function computeEffectiveProps$34(props, defaultProps$60) {
|
|
3678
|
+
let baseProps = { ...defaultProps$60 };
|
|
3401
3679
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3402
3680
|
return baseProps;
|
|
3403
3681
|
}
|
|
@@ -3416,7 +3694,7 @@ var defaultProps$34 = {
|
|
|
3416
3694
|
visible: true
|
|
3417
3695
|
};
|
|
3418
3696
|
try {
|
|
3419
|
-
if (componentDefinition$
|
|
3697
|
+
if (componentDefinition$25 && componentDefinition$25.props) Object.entries(componentDefinition$25.props).forEach(([key, config]) => {
|
|
3420
3698
|
const propConfig = config;
|
|
3421
3699
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$34[key] = propConfig.default;
|
|
3422
3700
|
});
|
|
@@ -3428,7 +3706,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3428
3706
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3429
3707
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3430
3708
|
const instanceId = useMemo(() => {
|
|
3431
|
-
return props.id || `${componentDefinition$
|
|
3709
|
+
return props.id || `${componentDefinition$25.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3432
3710
|
}, [props.id]);
|
|
3433
3711
|
const effectiveProps = useMemo(() => {
|
|
3434
3712
|
return computeEffectiveProps$34(props, defaultProps$34);
|
|
@@ -3438,7 +3716,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3438
3716
|
...props.transform
|
|
3439
3717
|
}), [props.transform]);
|
|
3440
3718
|
const uniformsRef = useRef(null);
|
|
3441
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3719
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$25, effectiveProps, instanceId);
|
|
3442
3720
|
const childContextValue = useMemo(() => {
|
|
3443
3721
|
return {
|
|
3444
3722
|
...context,
|
|
@@ -3460,7 +3738,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3460
3738
|
renderOrder: props.renderOrder || 0,
|
|
3461
3739
|
transform: effectiveTransform
|
|
3462
3740
|
};
|
|
3463
|
-
parentRegister(instanceId, componentDefinition$
|
|
3741
|
+
parentRegister(instanceId, componentDefinition$25.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$25);
|
|
3464
3742
|
return () => {
|
|
3465
3743
|
parentRegister(instanceId, null, null, null, null);
|
|
3466
3744
|
};
|
|
@@ -3533,9 +3811,9 @@ const OmbreComponent$34 = (props) => {
|
|
|
3533
3811
|
children: props.children
|
|
3534
3812
|
});
|
|
3535
3813
|
};
|
|
3536
|
-
var
|
|
3537
|
-
function computeEffectiveProps$33(props, defaultProps$
|
|
3538
|
-
let baseProps = { ...defaultProps$
|
|
3814
|
+
var GridDistortion_default = OmbreComponent$34;
|
|
3815
|
+
function computeEffectiveProps$33(props, defaultProps$60) {
|
|
3816
|
+
let baseProps = { ...defaultProps$60 };
|
|
3539
3817
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3540
3818
|
return baseProps;
|
|
3541
3819
|
}
|
|
@@ -3554,7 +3832,7 @@ var defaultProps$33 = {
|
|
|
3554
3832
|
visible: true
|
|
3555
3833
|
};
|
|
3556
3834
|
try {
|
|
3557
|
-
if (componentDefinition$
|
|
3835
|
+
if (componentDefinition$26 && componentDefinition$26.props) Object.entries(componentDefinition$26.props).forEach(([key, config]) => {
|
|
3558
3836
|
const propConfig = config;
|
|
3559
3837
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$33[key] = propConfig.default;
|
|
3560
3838
|
});
|
|
@@ -3566,7 +3844,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3566
3844
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3567
3845
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3568
3846
|
const instanceId = useMemo(() => {
|
|
3569
|
-
return props.id || `${componentDefinition$
|
|
3847
|
+
return props.id || `${componentDefinition$26.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3570
3848
|
}, [props.id]);
|
|
3571
3849
|
const effectiveProps = useMemo(() => {
|
|
3572
3850
|
return computeEffectiveProps$33(props, defaultProps$33);
|
|
@@ -3576,7 +3854,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3576
3854
|
...props.transform
|
|
3577
3855
|
}), [props.transform]);
|
|
3578
3856
|
const uniformsRef = useRef(null);
|
|
3579
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3857
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$26, effectiveProps, instanceId);
|
|
3580
3858
|
const childContextValue = useMemo(() => {
|
|
3581
3859
|
return {
|
|
3582
3860
|
...context,
|
|
@@ -3598,7 +3876,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3598
3876
|
renderOrder: props.renderOrder || 0,
|
|
3599
3877
|
transform: effectiveTransform
|
|
3600
3878
|
};
|
|
3601
|
-
parentRegister(instanceId, componentDefinition$
|
|
3879
|
+
parentRegister(instanceId, componentDefinition$26.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$26);
|
|
3602
3880
|
return () => {
|
|
3603
3881
|
parentRegister(instanceId, null, null, null, null);
|
|
3604
3882
|
};
|
|
@@ -3671,9 +3949,9 @@ const OmbreComponent$33 = (props) => {
|
|
|
3671
3949
|
children: props.children
|
|
3672
3950
|
});
|
|
3673
3951
|
};
|
|
3674
|
-
var
|
|
3675
|
-
function computeEffectiveProps$32(props, defaultProps$
|
|
3676
|
-
let baseProps = { ...defaultProps$
|
|
3952
|
+
var Group_default = OmbreComponent$33;
|
|
3953
|
+
function computeEffectiveProps$32(props, defaultProps$60) {
|
|
3954
|
+
let baseProps = { ...defaultProps$60 };
|
|
3677
3955
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3678
3956
|
return baseProps;
|
|
3679
3957
|
}
|
|
@@ -3692,7 +3970,7 @@ var defaultProps$32 = {
|
|
|
3692
3970
|
visible: true
|
|
3693
3971
|
};
|
|
3694
3972
|
try {
|
|
3695
|
-
if (componentDefinition$
|
|
3973
|
+
if (componentDefinition$27 && componentDefinition$27.props) Object.entries(componentDefinition$27.props).forEach(([key, config]) => {
|
|
3696
3974
|
const propConfig = config;
|
|
3697
3975
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$32[key] = propConfig.default;
|
|
3698
3976
|
});
|
|
@@ -3704,7 +3982,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3704
3982
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3705
3983
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3706
3984
|
const instanceId = useMemo(() => {
|
|
3707
|
-
return props.id || `${componentDefinition$
|
|
3985
|
+
return props.id || `${componentDefinition$27.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3708
3986
|
}, [props.id]);
|
|
3709
3987
|
const effectiveProps = useMemo(() => {
|
|
3710
3988
|
return computeEffectiveProps$32(props, defaultProps$32);
|
|
@@ -3714,7 +3992,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3714
3992
|
...props.transform
|
|
3715
3993
|
}), [props.transform]);
|
|
3716
3994
|
const uniformsRef = useRef(null);
|
|
3717
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3995
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$27, effectiveProps, instanceId);
|
|
3718
3996
|
const childContextValue = useMemo(() => {
|
|
3719
3997
|
return {
|
|
3720
3998
|
...context,
|
|
@@ -3736,7 +4014,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3736
4014
|
renderOrder: props.renderOrder || 0,
|
|
3737
4015
|
transform: effectiveTransform
|
|
3738
4016
|
};
|
|
3739
|
-
parentRegister(instanceId, componentDefinition$
|
|
4017
|
+
parentRegister(instanceId, componentDefinition$27.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$27);
|
|
3740
4018
|
return () => {
|
|
3741
4019
|
parentRegister(instanceId, null, null, null, null);
|
|
3742
4020
|
};
|
|
@@ -3809,9 +4087,9 @@ const OmbreComponent$32 = (props) => {
|
|
|
3809
4087
|
children: props.children
|
|
3810
4088
|
});
|
|
3811
4089
|
};
|
|
3812
|
-
var
|
|
3813
|
-
function computeEffectiveProps$31(props, defaultProps$
|
|
3814
|
-
let baseProps = { ...defaultProps$
|
|
4090
|
+
var Halftone_default = OmbreComponent$32;
|
|
4091
|
+
function computeEffectiveProps$31(props, defaultProps$60) {
|
|
4092
|
+
let baseProps = { ...defaultProps$60 };
|
|
3815
4093
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3816
4094
|
return baseProps;
|
|
3817
4095
|
}
|
|
@@ -3830,7 +4108,7 @@ var defaultProps$31 = {
|
|
|
3830
4108
|
visible: true
|
|
3831
4109
|
};
|
|
3832
4110
|
try {
|
|
3833
|
-
if (componentDefinition$
|
|
4111
|
+
if (componentDefinition$28 && componentDefinition$28.props) Object.entries(componentDefinition$28.props).forEach(([key, config]) => {
|
|
3834
4112
|
const propConfig = config;
|
|
3835
4113
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$31[key] = propConfig.default;
|
|
3836
4114
|
});
|
|
@@ -3842,7 +4120,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3842
4120
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3843
4121
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3844
4122
|
const instanceId = useMemo(() => {
|
|
3845
|
-
return props.id || `${componentDefinition$
|
|
4123
|
+
return props.id || `${componentDefinition$28.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3846
4124
|
}, [props.id]);
|
|
3847
4125
|
const effectiveProps = useMemo(() => {
|
|
3848
4126
|
return computeEffectiveProps$31(props, defaultProps$31);
|
|
@@ -3852,7 +4130,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3852
4130
|
...props.transform
|
|
3853
4131
|
}), [props.transform]);
|
|
3854
4132
|
const uniformsRef = useRef(null);
|
|
3855
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4133
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$28, effectiveProps, instanceId);
|
|
3856
4134
|
const childContextValue = useMemo(() => {
|
|
3857
4135
|
return {
|
|
3858
4136
|
...context,
|
|
@@ -3874,7 +4152,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3874
4152
|
renderOrder: props.renderOrder || 0,
|
|
3875
4153
|
transform: effectiveTransform
|
|
3876
4154
|
};
|
|
3877
|
-
parentRegister(instanceId, componentDefinition$
|
|
4155
|
+
parentRegister(instanceId, componentDefinition$28.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$28);
|
|
3878
4156
|
return () => {
|
|
3879
4157
|
parentRegister(instanceId, null, null, null, null);
|
|
3880
4158
|
};
|
|
@@ -3947,9 +4225,9 @@ const OmbreComponent$31 = (props) => {
|
|
|
3947
4225
|
children: props.children
|
|
3948
4226
|
});
|
|
3949
4227
|
};
|
|
3950
|
-
var
|
|
3951
|
-
function computeEffectiveProps$30(props, defaultProps$
|
|
3952
|
-
let baseProps = { ...defaultProps$
|
|
4228
|
+
var HueShift_default = OmbreComponent$31;
|
|
4229
|
+
function computeEffectiveProps$30(props, defaultProps$60) {
|
|
4230
|
+
let baseProps = { ...defaultProps$60 };
|
|
3953
4231
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3954
4232
|
return baseProps;
|
|
3955
4233
|
}
|
|
@@ -3968,7 +4246,7 @@ var defaultProps$30 = {
|
|
|
3968
4246
|
visible: true
|
|
3969
4247
|
};
|
|
3970
4248
|
try {
|
|
3971
|
-
if (componentDefinition$
|
|
4249
|
+
if (componentDefinition$29 && componentDefinition$29.props) Object.entries(componentDefinition$29.props).forEach(([key, config]) => {
|
|
3972
4250
|
const propConfig = config;
|
|
3973
4251
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$30[key] = propConfig.default;
|
|
3974
4252
|
});
|
|
@@ -3980,7 +4258,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3980
4258
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3981
4259
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3982
4260
|
const instanceId = useMemo(() => {
|
|
3983
|
-
return props.id || `${componentDefinition$
|
|
4261
|
+
return props.id || `${componentDefinition$29.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3984
4262
|
}, [props.id]);
|
|
3985
4263
|
const effectiveProps = useMemo(() => {
|
|
3986
4264
|
return computeEffectiveProps$30(props, defaultProps$30);
|
|
@@ -3990,7 +4268,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3990
4268
|
...props.transform
|
|
3991
4269
|
}), [props.transform]);
|
|
3992
4270
|
const uniformsRef = useRef(null);
|
|
3993
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4271
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$29, effectiveProps, instanceId);
|
|
3994
4272
|
const childContextValue = useMemo(() => {
|
|
3995
4273
|
return {
|
|
3996
4274
|
...context,
|
|
@@ -4012,7 +4290,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4012
4290
|
renderOrder: props.renderOrder || 0,
|
|
4013
4291
|
transform: effectiveTransform
|
|
4014
4292
|
};
|
|
4015
|
-
parentRegister(instanceId, componentDefinition$
|
|
4293
|
+
parentRegister(instanceId, componentDefinition$29.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$29);
|
|
4016
4294
|
return () => {
|
|
4017
4295
|
parentRegister(instanceId, null, null, null, null);
|
|
4018
4296
|
};
|
|
@@ -4085,9 +4363,9 @@ const OmbreComponent$30 = (props) => {
|
|
|
4085
4363
|
children: props.children
|
|
4086
4364
|
});
|
|
4087
4365
|
};
|
|
4088
|
-
var
|
|
4089
|
-
function computeEffectiveProps$29(props, defaultProps$
|
|
4090
|
-
let baseProps = { ...defaultProps$
|
|
4366
|
+
var ImageTexture_default = OmbreComponent$30;
|
|
4367
|
+
function computeEffectiveProps$29(props, defaultProps$60) {
|
|
4368
|
+
let baseProps = { ...defaultProps$60 };
|
|
4091
4369
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4092
4370
|
return baseProps;
|
|
4093
4371
|
}
|
|
@@ -4106,7 +4384,7 @@ var defaultProps$29 = {
|
|
|
4106
4384
|
visible: true
|
|
4107
4385
|
};
|
|
4108
4386
|
try {
|
|
4109
|
-
if (componentDefinition$
|
|
4387
|
+
if (componentDefinition$30 && componentDefinition$30.props) Object.entries(componentDefinition$30.props).forEach(([key, config]) => {
|
|
4110
4388
|
const propConfig = config;
|
|
4111
4389
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$29[key] = propConfig.default;
|
|
4112
4390
|
});
|
|
@@ -4118,7 +4396,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4118
4396
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4119
4397
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4120
4398
|
const instanceId = useMemo(() => {
|
|
4121
|
-
return props.id || `${componentDefinition$
|
|
4399
|
+
return props.id || `${componentDefinition$30.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4122
4400
|
}, [props.id]);
|
|
4123
4401
|
const effectiveProps = useMemo(() => {
|
|
4124
4402
|
return computeEffectiveProps$29(props, defaultProps$29);
|
|
@@ -4128,7 +4406,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4128
4406
|
...props.transform
|
|
4129
4407
|
}), [props.transform]);
|
|
4130
4408
|
const uniformsRef = useRef(null);
|
|
4131
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4409
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$30, effectiveProps, instanceId);
|
|
4132
4410
|
const childContextValue = useMemo(() => {
|
|
4133
4411
|
return {
|
|
4134
4412
|
...context,
|
|
@@ -4150,7 +4428,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4150
4428
|
renderOrder: props.renderOrder || 0,
|
|
4151
4429
|
transform: effectiveTransform
|
|
4152
4430
|
};
|
|
4153
|
-
parentRegister(instanceId, componentDefinition$
|
|
4431
|
+
parentRegister(instanceId, componentDefinition$30.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$30);
|
|
4154
4432
|
return () => {
|
|
4155
4433
|
parentRegister(instanceId, null, null, null, null);
|
|
4156
4434
|
};
|
|
@@ -4223,9 +4501,9 @@ const OmbreComponent$29 = (props) => {
|
|
|
4223
4501
|
children: props.children
|
|
4224
4502
|
});
|
|
4225
4503
|
};
|
|
4226
|
-
var
|
|
4227
|
-
function computeEffectiveProps$28(props, defaultProps$
|
|
4228
|
-
let baseProps = { ...defaultProps$
|
|
4504
|
+
var Invert_default = OmbreComponent$29;
|
|
4505
|
+
function computeEffectiveProps$28(props, defaultProps$60) {
|
|
4506
|
+
let baseProps = { ...defaultProps$60 };
|
|
4229
4507
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4230
4508
|
return baseProps;
|
|
4231
4509
|
}
|
|
@@ -4244,7 +4522,7 @@ var defaultProps$28 = {
|
|
|
4244
4522
|
visible: true
|
|
4245
4523
|
};
|
|
4246
4524
|
try {
|
|
4247
|
-
if (componentDefinition$
|
|
4525
|
+
if (componentDefinition$31 && componentDefinition$31.props) Object.entries(componentDefinition$31.props).forEach(([key, config]) => {
|
|
4248
4526
|
const propConfig = config;
|
|
4249
4527
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$28[key] = propConfig.default;
|
|
4250
4528
|
});
|
|
@@ -4256,7 +4534,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4256
4534
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4257
4535
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4258
4536
|
const instanceId = useMemo(() => {
|
|
4259
|
-
return props.id || `${componentDefinition$
|
|
4537
|
+
return props.id || `${componentDefinition$31.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4260
4538
|
}, [props.id]);
|
|
4261
4539
|
const effectiveProps = useMemo(() => {
|
|
4262
4540
|
return computeEffectiveProps$28(props, defaultProps$28);
|
|
@@ -4266,7 +4544,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4266
4544
|
...props.transform
|
|
4267
4545
|
}), [props.transform]);
|
|
4268
4546
|
const uniformsRef = useRef(null);
|
|
4269
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4547
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$31, effectiveProps, instanceId);
|
|
4270
4548
|
const childContextValue = useMemo(() => {
|
|
4271
4549
|
return {
|
|
4272
4550
|
...context,
|
|
@@ -4288,7 +4566,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4288
4566
|
renderOrder: props.renderOrder || 0,
|
|
4289
4567
|
transform: effectiveTransform
|
|
4290
4568
|
};
|
|
4291
|
-
parentRegister(instanceId, componentDefinition$
|
|
4569
|
+
parentRegister(instanceId, componentDefinition$31.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$31);
|
|
4292
4570
|
return () => {
|
|
4293
4571
|
parentRegister(instanceId, null, null, null, null);
|
|
4294
4572
|
};
|
|
@@ -4361,9 +4639,9 @@ const OmbreComponent$28 = (props) => {
|
|
|
4361
4639
|
children: props.children
|
|
4362
4640
|
});
|
|
4363
4641
|
};
|
|
4364
|
-
var
|
|
4365
|
-
function computeEffectiveProps$27(props, defaultProps$
|
|
4366
|
-
let baseProps = { ...defaultProps$
|
|
4642
|
+
var LinearBlur_default = OmbreComponent$28;
|
|
4643
|
+
function computeEffectiveProps$27(props, defaultProps$60) {
|
|
4644
|
+
let baseProps = { ...defaultProps$60 };
|
|
4367
4645
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4368
4646
|
return baseProps;
|
|
4369
4647
|
}
|
|
@@ -4382,7 +4660,7 @@ var defaultProps$27 = {
|
|
|
4382
4660
|
visible: true
|
|
4383
4661
|
};
|
|
4384
4662
|
try {
|
|
4385
|
-
if (componentDefinition$
|
|
4663
|
+
if (componentDefinition$32 && componentDefinition$32.props) Object.entries(componentDefinition$32.props).forEach(([key, config]) => {
|
|
4386
4664
|
const propConfig = config;
|
|
4387
4665
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$27[key] = propConfig.default;
|
|
4388
4666
|
});
|
|
@@ -4394,7 +4672,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4394
4672
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4395
4673
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4396
4674
|
const instanceId = useMemo(() => {
|
|
4397
|
-
return props.id || `${componentDefinition$
|
|
4675
|
+
return props.id || `${componentDefinition$32.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4398
4676
|
}, [props.id]);
|
|
4399
4677
|
const effectiveProps = useMemo(() => {
|
|
4400
4678
|
return computeEffectiveProps$27(props, defaultProps$27);
|
|
@@ -4404,7 +4682,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4404
4682
|
...props.transform
|
|
4405
4683
|
}), [props.transform]);
|
|
4406
4684
|
const uniformsRef = useRef(null);
|
|
4407
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4685
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$32, effectiveProps, instanceId);
|
|
4408
4686
|
const childContextValue = useMemo(() => {
|
|
4409
4687
|
return {
|
|
4410
4688
|
...context,
|
|
@@ -4426,7 +4704,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4426
4704
|
renderOrder: props.renderOrder || 0,
|
|
4427
4705
|
transform: effectiveTransform
|
|
4428
4706
|
};
|
|
4429
|
-
parentRegister(instanceId, componentDefinition$
|
|
4707
|
+
parentRegister(instanceId, componentDefinition$32.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$32);
|
|
4430
4708
|
return () => {
|
|
4431
4709
|
parentRegister(instanceId, null, null, null, null);
|
|
4432
4710
|
};
|
|
@@ -4499,9 +4777,9 @@ const OmbreComponent$27 = (props) => {
|
|
|
4499
4777
|
children: props.children
|
|
4500
4778
|
});
|
|
4501
4779
|
};
|
|
4502
|
-
var
|
|
4503
|
-
function computeEffectiveProps$26(props, defaultProps$
|
|
4504
|
-
let baseProps = { ...defaultProps$
|
|
4780
|
+
var LinearGradient_default = OmbreComponent$27;
|
|
4781
|
+
function computeEffectiveProps$26(props, defaultProps$60) {
|
|
4782
|
+
let baseProps = { ...defaultProps$60 };
|
|
4505
4783
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4506
4784
|
return baseProps;
|
|
4507
4785
|
}
|
|
@@ -4520,7 +4798,7 @@ var defaultProps$26 = {
|
|
|
4520
4798
|
visible: true
|
|
4521
4799
|
};
|
|
4522
4800
|
try {
|
|
4523
|
-
if (componentDefinition$
|
|
4801
|
+
if (componentDefinition$33 && componentDefinition$33.props) Object.entries(componentDefinition$33.props).forEach(([key, config]) => {
|
|
4524
4802
|
const propConfig = config;
|
|
4525
4803
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$26[key] = propConfig.default;
|
|
4526
4804
|
});
|
|
@@ -4532,7 +4810,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4532
4810
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4533
4811
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4534
4812
|
const instanceId = useMemo(() => {
|
|
4535
|
-
return props.id || `${componentDefinition$
|
|
4813
|
+
return props.id || `${componentDefinition$33.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4536
4814
|
}, [props.id]);
|
|
4537
4815
|
const effectiveProps = useMemo(() => {
|
|
4538
4816
|
return computeEffectiveProps$26(props, defaultProps$26);
|
|
@@ -4542,7 +4820,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4542
4820
|
...props.transform
|
|
4543
4821
|
}), [props.transform]);
|
|
4544
4822
|
const uniformsRef = useRef(null);
|
|
4545
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4823
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$33, effectiveProps, instanceId);
|
|
4546
4824
|
const childContextValue = useMemo(() => {
|
|
4547
4825
|
return {
|
|
4548
4826
|
...context,
|
|
@@ -4564,7 +4842,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4564
4842
|
renderOrder: props.renderOrder || 0,
|
|
4565
4843
|
transform: effectiveTransform
|
|
4566
4844
|
};
|
|
4567
|
-
parentRegister(instanceId, componentDefinition$
|
|
4845
|
+
parentRegister(instanceId, componentDefinition$33.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$33);
|
|
4568
4846
|
return () => {
|
|
4569
4847
|
parentRegister(instanceId, null, null, null, null);
|
|
4570
4848
|
};
|
|
@@ -4637,9 +4915,9 @@ const OmbreComponent$26 = (props) => {
|
|
|
4637
4915
|
children: props.children
|
|
4638
4916
|
});
|
|
4639
4917
|
};
|
|
4640
|
-
var
|
|
4641
|
-
function computeEffectiveProps$25(props, defaultProps$
|
|
4642
|
-
let baseProps = { ...defaultProps$
|
|
4918
|
+
var Liquify_default = OmbreComponent$26;
|
|
4919
|
+
function computeEffectiveProps$25(props, defaultProps$60) {
|
|
4920
|
+
let baseProps = { ...defaultProps$60 };
|
|
4643
4921
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4644
4922
|
return baseProps;
|
|
4645
4923
|
}
|
|
@@ -4658,7 +4936,7 @@ var defaultProps$25 = {
|
|
|
4658
4936
|
visible: true
|
|
4659
4937
|
};
|
|
4660
4938
|
try {
|
|
4661
|
-
if (componentDefinition$
|
|
4939
|
+
if (componentDefinition$34 && componentDefinition$34.props) Object.entries(componentDefinition$34.props).forEach(([key, config]) => {
|
|
4662
4940
|
const propConfig = config;
|
|
4663
4941
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$25[key] = propConfig.default;
|
|
4664
4942
|
});
|
|
@@ -4670,7 +4948,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4670
4948
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4671
4949
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4672
4950
|
const instanceId = useMemo(() => {
|
|
4673
|
-
return props.id || `${componentDefinition$
|
|
4951
|
+
return props.id || `${componentDefinition$34.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4674
4952
|
}, [props.id]);
|
|
4675
4953
|
const effectiveProps = useMemo(() => {
|
|
4676
4954
|
return computeEffectiveProps$25(props, defaultProps$25);
|
|
@@ -4680,7 +4958,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4680
4958
|
...props.transform
|
|
4681
4959
|
}), [props.transform]);
|
|
4682
4960
|
const uniformsRef = useRef(null);
|
|
4683
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4961
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$34, effectiveProps, instanceId);
|
|
4684
4962
|
const childContextValue = useMemo(() => {
|
|
4685
4963
|
return {
|
|
4686
4964
|
...context,
|
|
@@ -4702,7 +4980,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4702
4980
|
renderOrder: props.renderOrder || 0,
|
|
4703
4981
|
transform: effectiveTransform
|
|
4704
4982
|
};
|
|
4705
|
-
parentRegister(instanceId, componentDefinition$
|
|
4983
|
+
parentRegister(instanceId, componentDefinition$34.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$34);
|
|
4706
4984
|
return () => {
|
|
4707
4985
|
parentRegister(instanceId, null, null, null, null);
|
|
4708
4986
|
};
|
|
@@ -4775,9 +5053,9 @@ const OmbreComponent$25 = (props) => {
|
|
|
4775
5053
|
children: props.children
|
|
4776
5054
|
});
|
|
4777
5055
|
};
|
|
4778
|
-
var
|
|
4779
|
-
function computeEffectiveProps$24(props, defaultProps$
|
|
4780
|
-
let baseProps = { ...defaultProps$
|
|
5056
|
+
var Perspective_default = OmbreComponent$25;
|
|
5057
|
+
function computeEffectiveProps$24(props, defaultProps$60) {
|
|
5058
|
+
let baseProps = { ...defaultProps$60 };
|
|
4781
5059
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4782
5060
|
return baseProps;
|
|
4783
5061
|
}
|
|
@@ -4796,7 +5074,7 @@ var defaultProps$24 = {
|
|
|
4796
5074
|
visible: true
|
|
4797
5075
|
};
|
|
4798
5076
|
try {
|
|
4799
|
-
if (componentDefinition$
|
|
5077
|
+
if (componentDefinition$35 && componentDefinition$35.props) Object.entries(componentDefinition$35.props).forEach(([key, config]) => {
|
|
4800
5078
|
const propConfig = config;
|
|
4801
5079
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$24[key] = propConfig.default;
|
|
4802
5080
|
});
|
|
@@ -4808,7 +5086,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4808
5086
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4809
5087
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4810
5088
|
const instanceId = useMemo(() => {
|
|
4811
|
-
return props.id || `${componentDefinition$
|
|
5089
|
+
return props.id || `${componentDefinition$35.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4812
5090
|
}, [props.id]);
|
|
4813
5091
|
const effectiveProps = useMemo(() => {
|
|
4814
5092
|
return computeEffectiveProps$24(props, defaultProps$24);
|
|
@@ -4818,7 +5096,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4818
5096
|
...props.transform
|
|
4819
5097
|
}), [props.transform]);
|
|
4820
5098
|
const uniformsRef = useRef(null);
|
|
4821
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5099
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$35, effectiveProps, instanceId);
|
|
4822
5100
|
const childContextValue = useMemo(() => {
|
|
4823
5101
|
return {
|
|
4824
5102
|
...context,
|
|
@@ -4840,7 +5118,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4840
5118
|
renderOrder: props.renderOrder || 0,
|
|
4841
5119
|
transform: effectiveTransform
|
|
4842
5120
|
};
|
|
4843
|
-
parentRegister(instanceId, componentDefinition$
|
|
5121
|
+
parentRegister(instanceId, componentDefinition$35.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$35);
|
|
4844
5122
|
return () => {
|
|
4845
5123
|
parentRegister(instanceId, null, null, null, null);
|
|
4846
5124
|
};
|
|
@@ -4913,9 +5191,9 @@ const OmbreComponent$24 = (props) => {
|
|
|
4913
5191
|
children: props.children
|
|
4914
5192
|
});
|
|
4915
5193
|
};
|
|
4916
|
-
var
|
|
4917
|
-
function computeEffectiveProps$23(props, defaultProps$
|
|
4918
|
-
let baseProps = { ...defaultProps$
|
|
5194
|
+
var Pixelate_default = OmbreComponent$24;
|
|
5195
|
+
function computeEffectiveProps$23(props, defaultProps$60) {
|
|
5196
|
+
let baseProps = { ...defaultProps$60 };
|
|
4919
5197
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4920
5198
|
return baseProps;
|
|
4921
5199
|
}
|
|
@@ -4934,7 +5212,7 @@ var defaultProps$23 = {
|
|
|
4934
5212
|
visible: true
|
|
4935
5213
|
};
|
|
4936
5214
|
try {
|
|
4937
|
-
if (componentDefinition$
|
|
5215
|
+
if (componentDefinition$36 && componentDefinition$36.props) Object.entries(componentDefinition$36.props).forEach(([key, config]) => {
|
|
4938
5216
|
const propConfig = config;
|
|
4939
5217
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$23[key] = propConfig.default;
|
|
4940
5218
|
});
|
|
@@ -4946,7 +5224,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4946
5224
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4947
5225
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4948
5226
|
const instanceId = useMemo(() => {
|
|
4949
|
-
return props.id || `${componentDefinition$
|
|
5227
|
+
return props.id || `${componentDefinition$36.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4950
5228
|
}, [props.id]);
|
|
4951
5229
|
const effectiveProps = useMemo(() => {
|
|
4952
5230
|
return computeEffectiveProps$23(props, defaultProps$23);
|
|
@@ -4956,7 +5234,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4956
5234
|
...props.transform
|
|
4957
5235
|
}), [props.transform]);
|
|
4958
5236
|
const uniformsRef = useRef(null);
|
|
4959
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5237
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$36, effectiveProps, instanceId);
|
|
4960
5238
|
const childContextValue = useMemo(() => {
|
|
4961
5239
|
return {
|
|
4962
5240
|
...context,
|
|
@@ -4978,7 +5256,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4978
5256
|
renderOrder: props.renderOrder || 0,
|
|
4979
5257
|
transform: effectiveTransform
|
|
4980
5258
|
};
|
|
4981
|
-
parentRegister(instanceId, componentDefinition$
|
|
5259
|
+
parentRegister(instanceId, componentDefinition$36.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$36);
|
|
4982
5260
|
return () => {
|
|
4983
5261
|
parentRegister(instanceId, null, null, null, null);
|
|
4984
5262
|
};
|
|
@@ -5051,9 +5329,9 @@ const OmbreComponent$23 = (props) => {
|
|
|
5051
5329
|
children: props.children
|
|
5052
5330
|
});
|
|
5053
5331
|
};
|
|
5054
|
-
var
|
|
5055
|
-
function computeEffectiveProps$22(props, defaultProps$
|
|
5056
|
-
let baseProps = { ...defaultProps$
|
|
5332
|
+
var PolarCoordinates_default = OmbreComponent$23;
|
|
5333
|
+
function computeEffectiveProps$22(props, defaultProps$60) {
|
|
5334
|
+
let baseProps = { ...defaultProps$60 };
|
|
5057
5335
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5058
5336
|
return baseProps;
|
|
5059
5337
|
}
|
|
@@ -5072,7 +5350,7 @@ var defaultProps$22 = {
|
|
|
5072
5350
|
visible: true
|
|
5073
5351
|
};
|
|
5074
5352
|
try {
|
|
5075
|
-
if (componentDefinition$
|
|
5353
|
+
if (componentDefinition$37 && componentDefinition$37.props) Object.entries(componentDefinition$37.props).forEach(([key, config]) => {
|
|
5076
5354
|
const propConfig = config;
|
|
5077
5355
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$22[key] = propConfig.default;
|
|
5078
5356
|
});
|
|
@@ -5084,7 +5362,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5084
5362
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5085
5363
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5086
5364
|
const instanceId = useMemo(() => {
|
|
5087
|
-
return props.id || `${componentDefinition$
|
|
5365
|
+
return props.id || `${componentDefinition$37.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5088
5366
|
}, [props.id]);
|
|
5089
5367
|
const effectiveProps = useMemo(() => {
|
|
5090
5368
|
return computeEffectiveProps$22(props, defaultProps$22);
|
|
@@ -5094,7 +5372,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5094
5372
|
...props.transform
|
|
5095
5373
|
}), [props.transform]);
|
|
5096
5374
|
const uniformsRef = useRef(null);
|
|
5097
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5375
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$37, effectiveProps, instanceId);
|
|
5098
5376
|
const childContextValue = useMemo(() => {
|
|
5099
5377
|
return {
|
|
5100
5378
|
...context,
|
|
@@ -5116,7 +5394,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5116
5394
|
renderOrder: props.renderOrder || 0,
|
|
5117
5395
|
transform: effectiveTransform
|
|
5118
5396
|
};
|
|
5119
|
-
parentRegister(instanceId, componentDefinition$
|
|
5397
|
+
parentRegister(instanceId, componentDefinition$37.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$37);
|
|
5120
5398
|
return () => {
|
|
5121
5399
|
parentRegister(instanceId, null, null, null, null);
|
|
5122
5400
|
};
|
|
@@ -5189,9 +5467,9 @@ const OmbreComponent$22 = (props) => {
|
|
|
5189
5467
|
children: props.children
|
|
5190
5468
|
});
|
|
5191
5469
|
};
|
|
5192
|
-
var
|
|
5193
|
-
function computeEffectiveProps$21(props, defaultProps$
|
|
5194
|
-
let baseProps = { ...defaultProps$
|
|
5470
|
+
var Posterize_default = OmbreComponent$22;
|
|
5471
|
+
function computeEffectiveProps$21(props, defaultProps$60) {
|
|
5472
|
+
let baseProps = { ...defaultProps$60 };
|
|
5195
5473
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5196
5474
|
return baseProps;
|
|
5197
5475
|
}
|
|
@@ -5210,7 +5488,7 @@ var defaultProps$21 = {
|
|
|
5210
5488
|
visible: true
|
|
5211
5489
|
};
|
|
5212
5490
|
try {
|
|
5213
|
-
if (componentDefinition$
|
|
5491
|
+
if (componentDefinition$38 && componentDefinition$38.props) Object.entries(componentDefinition$38.props).forEach(([key, config]) => {
|
|
5214
5492
|
const propConfig = config;
|
|
5215
5493
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$21[key] = propConfig.default;
|
|
5216
5494
|
});
|
|
@@ -5222,7 +5500,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5222
5500
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5223
5501
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5224
5502
|
const instanceId = useMemo(() => {
|
|
5225
|
-
return props.id || `${componentDefinition$
|
|
5503
|
+
return props.id || `${componentDefinition$38.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5226
5504
|
}, [props.id]);
|
|
5227
5505
|
const effectiveProps = useMemo(() => {
|
|
5228
5506
|
return computeEffectiveProps$21(props, defaultProps$21);
|
|
@@ -5232,7 +5510,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5232
5510
|
...props.transform
|
|
5233
5511
|
}), [props.transform]);
|
|
5234
5512
|
const uniformsRef = useRef(null);
|
|
5235
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5513
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$38, effectiveProps, instanceId);
|
|
5236
5514
|
const childContextValue = useMemo(() => {
|
|
5237
5515
|
return {
|
|
5238
5516
|
...context,
|
|
@@ -5254,7 +5532,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5254
5532
|
renderOrder: props.renderOrder || 0,
|
|
5255
5533
|
transform: effectiveTransform
|
|
5256
5534
|
};
|
|
5257
|
-
parentRegister(instanceId, componentDefinition$
|
|
5535
|
+
parentRegister(instanceId, componentDefinition$38.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$38);
|
|
5258
5536
|
return () => {
|
|
5259
5537
|
parentRegister(instanceId, null, null, null, null);
|
|
5260
5538
|
};
|
|
@@ -5327,9 +5605,9 @@ const OmbreComponent$21 = (props) => {
|
|
|
5327
5605
|
children: props.children
|
|
5328
5606
|
});
|
|
5329
5607
|
};
|
|
5330
|
-
var
|
|
5331
|
-
function computeEffectiveProps$20(props, defaultProps$
|
|
5332
|
-
let baseProps = { ...defaultProps$
|
|
5608
|
+
var ProgressiveBlur_default = OmbreComponent$21;
|
|
5609
|
+
function computeEffectiveProps$20(props, defaultProps$60) {
|
|
5610
|
+
let baseProps = { ...defaultProps$60 };
|
|
5333
5611
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5334
5612
|
return baseProps;
|
|
5335
5613
|
}
|
|
@@ -5348,7 +5626,7 @@ var defaultProps$20 = {
|
|
|
5348
5626
|
visible: true
|
|
5349
5627
|
};
|
|
5350
5628
|
try {
|
|
5351
|
-
if (componentDefinition$
|
|
5629
|
+
if (componentDefinition$39 && componentDefinition$39.props) Object.entries(componentDefinition$39.props).forEach(([key, config]) => {
|
|
5352
5630
|
const propConfig = config;
|
|
5353
5631
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$20[key] = propConfig.default;
|
|
5354
5632
|
});
|
|
@@ -5360,7 +5638,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5360
5638
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5361
5639
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5362
5640
|
const instanceId = useMemo(() => {
|
|
5363
|
-
return props.id || `${componentDefinition$
|
|
5641
|
+
return props.id || `${componentDefinition$39.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5364
5642
|
}, [props.id]);
|
|
5365
5643
|
const effectiveProps = useMemo(() => {
|
|
5366
5644
|
return computeEffectiveProps$20(props, defaultProps$20);
|
|
@@ -5370,7 +5648,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5370
5648
|
...props.transform
|
|
5371
5649
|
}), [props.transform]);
|
|
5372
5650
|
const uniformsRef = useRef(null);
|
|
5373
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5651
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$39, effectiveProps, instanceId);
|
|
5374
5652
|
const childContextValue = useMemo(() => {
|
|
5375
5653
|
return {
|
|
5376
5654
|
...context,
|
|
@@ -5392,7 +5670,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5392
5670
|
renderOrder: props.renderOrder || 0,
|
|
5393
5671
|
transform: effectiveTransform
|
|
5394
5672
|
};
|
|
5395
|
-
parentRegister(instanceId, componentDefinition$
|
|
5673
|
+
parentRegister(instanceId, componentDefinition$39.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$39);
|
|
5396
5674
|
return () => {
|
|
5397
5675
|
parentRegister(instanceId, null, null, null, null);
|
|
5398
5676
|
};
|
|
@@ -5465,9 +5743,9 @@ const OmbreComponent$20 = (props) => {
|
|
|
5465
5743
|
children: props.children
|
|
5466
5744
|
});
|
|
5467
5745
|
};
|
|
5468
|
-
var
|
|
5469
|
-
function computeEffectiveProps$19(props, defaultProps$
|
|
5470
|
-
let baseProps = { ...defaultProps$
|
|
5746
|
+
var RadialGradient_default = OmbreComponent$20;
|
|
5747
|
+
function computeEffectiveProps$19(props, defaultProps$60) {
|
|
5748
|
+
let baseProps = { ...defaultProps$60 };
|
|
5471
5749
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5472
5750
|
return baseProps;
|
|
5473
5751
|
}
|
|
@@ -5486,7 +5764,7 @@ var defaultProps$19 = {
|
|
|
5486
5764
|
visible: true
|
|
5487
5765
|
};
|
|
5488
5766
|
try {
|
|
5489
|
-
if (componentDefinition$
|
|
5767
|
+
if (componentDefinition$40 && componentDefinition$40.props) Object.entries(componentDefinition$40.props).forEach(([key, config]) => {
|
|
5490
5768
|
const propConfig = config;
|
|
5491
5769
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$19[key] = propConfig.default;
|
|
5492
5770
|
});
|
|
@@ -5498,7 +5776,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5498
5776
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5499
5777
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5500
5778
|
const instanceId = useMemo(() => {
|
|
5501
|
-
return props.id || `${componentDefinition$
|
|
5779
|
+
return props.id || `${componentDefinition$40.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5502
5780
|
}, [props.id]);
|
|
5503
5781
|
const effectiveProps = useMemo(() => {
|
|
5504
5782
|
return computeEffectiveProps$19(props, defaultProps$19);
|
|
@@ -5508,7 +5786,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5508
5786
|
...props.transform
|
|
5509
5787
|
}), [props.transform]);
|
|
5510
5788
|
const uniformsRef = useRef(null);
|
|
5511
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5789
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$40, effectiveProps, instanceId);
|
|
5512
5790
|
const childContextValue = useMemo(() => {
|
|
5513
5791
|
return {
|
|
5514
5792
|
...context,
|
|
@@ -5530,7 +5808,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5530
5808
|
renderOrder: props.renderOrder || 0,
|
|
5531
5809
|
transform: effectiveTransform
|
|
5532
5810
|
};
|
|
5533
|
-
parentRegister(instanceId, componentDefinition$
|
|
5811
|
+
parentRegister(instanceId, componentDefinition$40.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$40);
|
|
5534
5812
|
return () => {
|
|
5535
5813
|
parentRegister(instanceId, null, null, null, null);
|
|
5536
5814
|
};
|
|
@@ -5603,9 +5881,9 @@ const OmbreComponent$19 = (props) => {
|
|
|
5603
5881
|
children: props.children
|
|
5604
5882
|
});
|
|
5605
5883
|
};
|
|
5606
|
-
var
|
|
5607
|
-
function computeEffectiveProps$18(props, defaultProps$
|
|
5608
|
-
let baseProps = { ...defaultProps$
|
|
5884
|
+
var RectangularCoordinates_default = OmbreComponent$19;
|
|
5885
|
+
function computeEffectiveProps$18(props, defaultProps$60) {
|
|
5886
|
+
let baseProps = { ...defaultProps$60 };
|
|
5609
5887
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5610
5888
|
return baseProps;
|
|
5611
5889
|
}
|
|
@@ -5624,7 +5902,7 @@ var defaultProps$18 = {
|
|
|
5624
5902
|
visible: true
|
|
5625
5903
|
};
|
|
5626
5904
|
try {
|
|
5627
|
-
if (componentDefinition$
|
|
5905
|
+
if (componentDefinition$41 && componentDefinition$41.props) Object.entries(componentDefinition$41.props).forEach(([key, config]) => {
|
|
5628
5906
|
const propConfig = config;
|
|
5629
5907
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$18[key] = propConfig.default;
|
|
5630
5908
|
});
|
|
@@ -5636,7 +5914,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5636
5914
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5637
5915
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5638
5916
|
const instanceId = useMemo(() => {
|
|
5639
|
-
return props.id || `${componentDefinition$
|
|
5917
|
+
return props.id || `${componentDefinition$41.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5640
5918
|
}, [props.id]);
|
|
5641
5919
|
const effectiveProps = useMemo(() => {
|
|
5642
5920
|
return computeEffectiveProps$18(props, defaultProps$18);
|
|
@@ -5646,7 +5924,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5646
5924
|
...props.transform
|
|
5647
5925
|
}), [props.transform]);
|
|
5648
5926
|
const uniformsRef = useRef(null);
|
|
5649
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5927
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$41, effectiveProps, instanceId);
|
|
5650
5928
|
const childContextValue = useMemo(() => {
|
|
5651
5929
|
return {
|
|
5652
5930
|
...context,
|
|
@@ -5668,7 +5946,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5668
5946
|
renderOrder: props.renderOrder || 0,
|
|
5669
5947
|
transform: effectiveTransform
|
|
5670
5948
|
};
|
|
5671
|
-
parentRegister(instanceId, componentDefinition$
|
|
5949
|
+
parentRegister(instanceId, componentDefinition$41.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$41);
|
|
5672
5950
|
return () => {
|
|
5673
5951
|
parentRegister(instanceId, null, null, null, null);
|
|
5674
5952
|
};
|
|
@@ -5741,9 +6019,9 @@ const OmbreComponent$18 = (props) => {
|
|
|
5741
6019
|
children: props.children
|
|
5742
6020
|
});
|
|
5743
6021
|
};
|
|
5744
|
-
var
|
|
5745
|
-
function computeEffectiveProps$17(props, defaultProps$
|
|
5746
|
-
let baseProps = { ...defaultProps$
|
|
6022
|
+
var Ripples_default = OmbreComponent$18;
|
|
6023
|
+
function computeEffectiveProps$17(props, defaultProps$60) {
|
|
6024
|
+
let baseProps = { ...defaultProps$60 };
|
|
5747
6025
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5748
6026
|
return baseProps;
|
|
5749
6027
|
}
|
|
@@ -5762,7 +6040,7 @@ var defaultProps$17 = {
|
|
|
5762
6040
|
visible: true
|
|
5763
6041
|
};
|
|
5764
6042
|
try {
|
|
5765
|
-
if (componentDefinition$
|
|
6043
|
+
if (componentDefinition$42 && componentDefinition$42.props) Object.entries(componentDefinition$42.props).forEach(([key, config]) => {
|
|
5766
6044
|
const propConfig = config;
|
|
5767
6045
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$17[key] = propConfig.default;
|
|
5768
6046
|
});
|
|
@@ -5774,7 +6052,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5774
6052
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5775
6053
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5776
6054
|
const instanceId = useMemo(() => {
|
|
5777
|
-
return props.id || `${componentDefinition$
|
|
6055
|
+
return props.id || `${componentDefinition$42.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5778
6056
|
}, [props.id]);
|
|
5779
6057
|
const effectiveProps = useMemo(() => {
|
|
5780
6058
|
return computeEffectiveProps$17(props, defaultProps$17);
|
|
@@ -5784,7 +6062,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5784
6062
|
...props.transform
|
|
5785
6063
|
}), [props.transform]);
|
|
5786
6064
|
const uniformsRef = useRef(null);
|
|
5787
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6065
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$42, effectiveProps, instanceId);
|
|
5788
6066
|
const childContextValue = useMemo(() => {
|
|
5789
6067
|
return {
|
|
5790
6068
|
...context,
|
|
@@ -5806,7 +6084,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5806
6084
|
renderOrder: props.renderOrder || 0,
|
|
5807
6085
|
transform: effectiveTransform
|
|
5808
6086
|
};
|
|
5809
|
-
parentRegister(instanceId, componentDefinition$
|
|
6087
|
+
parentRegister(instanceId, componentDefinition$42.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$42);
|
|
5810
6088
|
return () => {
|
|
5811
6089
|
parentRegister(instanceId, null, null, null, null);
|
|
5812
6090
|
};
|
|
@@ -5879,9 +6157,9 @@ const OmbreComponent$17 = (props) => {
|
|
|
5879
6157
|
children: props.children
|
|
5880
6158
|
});
|
|
5881
6159
|
};
|
|
5882
|
-
var
|
|
5883
|
-
function computeEffectiveProps$16(props, defaultProps$
|
|
5884
|
-
let baseProps = { ...defaultProps$
|
|
6160
|
+
var Saturation_default = OmbreComponent$17;
|
|
6161
|
+
function computeEffectiveProps$16(props, defaultProps$60) {
|
|
6162
|
+
let baseProps = { ...defaultProps$60 };
|
|
5885
6163
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5886
6164
|
return baseProps;
|
|
5887
6165
|
}
|
|
@@ -5900,7 +6178,7 @@ var defaultProps$16 = {
|
|
|
5900
6178
|
visible: true
|
|
5901
6179
|
};
|
|
5902
6180
|
try {
|
|
5903
|
-
if (componentDefinition$
|
|
6181
|
+
if (componentDefinition$43 && componentDefinition$43.props) Object.entries(componentDefinition$43.props).forEach(([key, config]) => {
|
|
5904
6182
|
const propConfig = config;
|
|
5905
6183
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$16[key] = propConfig.default;
|
|
5906
6184
|
});
|
|
@@ -5912,7 +6190,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5912
6190
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5913
6191
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5914
6192
|
const instanceId = useMemo(() => {
|
|
5915
|
-
return props.id || `${componentDefinition$
|
|
6193
|
+
return props.id || `${componentDefinition$43.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5916
6194
|
}, [props.id]);
|
|
5917
6195
|
const effectiveProps = useMemo(() => {
|
|
5918
6196
|
return computeEffectiveProps$16(props, defaultProps$16);
|
|
@@ -5922,7 +6200,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5922
6200
|
...props.transform
|
|
5923
6201
|
}), [props.transform]);
|
|
5924
6202
|
const uniformsRef = useRef(null);
|
|
5925
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6203
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$43, effectiveProps, instanceId);
|
|
5926
6204
|
const childContextValue = useMemo(() => {
|
|
5927
6205
|
return {
|
|
5928
6206
|
...context,
|
|
@@ -5944,7 +6222,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5944
6222
|
renderOrder: props.renderOrder || 0,
|
|
5945
6223
|
transform: effectiveTransform
|
|
5946
6224
|
};
|
|
5947
|
-
parentRegister(instanceId, componentDefinition$
|
|
6225
|
+
parentRegister(instanceId, componentDefinition$43.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$43);
|
|
5948
6226
|
return () => {
|
|
5949
6227
|
parentRegister(instanceId, null, null, null, null);
|
|
5950
6228
|
};
|
|
@@ -6017,9 +6295,9 @@ const OmbreComponent$16 = (props) => {
|
|
|
6017
6295
|
children: props.children
|
|
6018
6296
|
});
|
|
6019
6297
|
};
|
|
6020
|
-
var
|
|
6021
|
-
function computeEffectiveProps$15(props, defaultProps$
|
|
6022
|
-
let baseProps = { ...defaultProps$
|
|
6298
|
+
var Sharpness_default = OmbreComponent$16;
|
|
6299
|
+
function computeEffectiveProps$15(props, defaultProps$60) {
|
|
6300
|
+
let baseProps = { ...defaultProps$60 };
|
|
6023
6301
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6024
6302
|
return baseProps;
|
|
6025
6303
|
}
|
|
@@ -6038,7 +6316,7 @@ var defaultProps$15 = {
|
|
|
6038
6316
|
visible: true
|
|
6039
6317
|
};
|
|
6040
6318
|
try {
|
|
6041
|
-
if (componentDefinition$
|
|
6319
|
+
if (componentDefinition$44 && componentDefinition$44.props) Object.entries(componentDefinition$44.props).forEach(([key, config]) => {
|
|
6042
6320
|
const propConfig = config;
|
|
6043
6321
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$15[key] = propConfig.default;
|
|
6044
6322
|
});
|
|
@@ -6050,7 +6328,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6050
6328
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6051
6329
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6052
6330
|
const instanceId = useMemo(() => {
|
|
6053
|
-
return props.id || `${componentDefinition$
|
|
6331
|
+
return props.id || `${componentDefinition$44.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6054
6332
|
}, [props.id]);
|
|
6055
6333
|
const effectiveProps = useMemo(() => {
|
|
6056
6334
|
return computeEffectiveProps$15(props, defaultProps$15);
|
|
@@ -6060,7 +6338,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6060
6338
|
...props.transform
|
|
6061
6339
|
}), [props.transform]);
|
|
6062
6340
|
const uniformsRef = useRef(null);
|
|
6063
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6341
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$44, effectiveProps, instanceId);
|
|
6064
6342
|
const childContextValue = useMemo(() => {
|
|
6065
6343
|
return {
|
|
6066
6344
|
...context,
|
|
@@ -6082,7 +6360,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6082
6360
|
renderOrder: props.renderOrder || 0,
|
|
6083
6361
|
transform: effectiveTransform
|
|
6084
6362
|
};
|
|
6085
|
-
parentRegister(instanceId, componentDefinition$
|
|
6363
|
+
parentRegister(instanceId, componentDefinition$44.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$44);
|
|
6086
6364
|
return () => {
|
|
6087
6365
|
parentRegister(instanceId, null, null, null, null);
|
|
6088
6366
|
};
|
|
@@ -6155,9 +6433,9 @@ const OmbreComponent$15 = (props) => {
|
|
|
6155
6433
|
children: props.children
|
|
6156
6434
|
});
|
|
6157
6435
|
};
|
|
6158
|
-
var
|
|
6159
|
-
function computeEffectiveProps$14(props, defaultProps$
|
|
6160
|
-
let baseProps = { ...defaultProps$
|
|
6436
|
+
var SimplexNoise_default = OmbreComponent$15;
|
|
6437
|
+
function computeEffectiveProps$14(props, defaultProps$60) {
|
|
6438
|
+
let baseProps = { ...defaultProps$60 };
|
|
6161
6439
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6162
6440
|
return baseProps;
|
|
6163
6441
|
}
|
|
@@ -6176,7 +6454,7 @@ var defaultProps$14 = {
|
|
|
6176
6454
|
visible: true
|
|
6177
6455
|
};
|
|
6178
6456
|
try {
|
|
6179
|
-
if (componentDefinition$
|
|
6457
|
+
if (componentDefinition$45 && componentDefinition$45.props) Object.entries(componentDefinition$45.props).forEach(([key, config]) => {
|
|
6180
6458
|
const propConfig = config;
|
|
6181
6459
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$14[key] = propConfig.default;
|
|
6182
6460
|
});
|
|
@@ -6188,7 +6466,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6188
6466
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6189
6467
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6190
6468
|
const instanceId = useMemo(() => {
|
|
6191
|
-
return props.id || `${componentDefinition$
|
|
6469
|
+
return props.id || `${componentDefinition$45.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6192
6470
|
}, [props.id]);
|
|
6193
6471
|
const effectiveProps = useMemo(() => {
|
|
6194
6472
|
return computeEffectiveProps$14(props, defaultProps$14);
|
|
@@ -6198,7 +6476,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6198
6476
|
...props.transform
|
|
6199
6477
|
}), [props.transform]);
|
|
6200
6478
|
const uniformsRef = useRef(null);
|
|
6201
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6479
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$45, effectiveProps, instanceId);
|
|
6202
6480
|
const childContextValue = useMemo(() => {
|
|
6203
6481
|
return {
|
|
6204
6482
|
...context,
|
|
@@ -6220,7 +6498,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6220
6498
|
renderOrder: props.renderOrder || 0,
|
|
6221
6499
|
transform: effectiveTransform
|
|
6222
6500
|
};
|
|
6223
|
-
parentRegister(instanceId, componentDefinition$
|
|
6501
|
+
parentRegister(instanceId, componentDefinition$45.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$45);
|
|
6224
6502
|
return () => {
|
|
6225
6503
|
parentRegister(instanceId, null, null, null, null);
|
|
6226
6504
|
};
|
|
@@ -6293,9 +6571,9 @@ const OmbreComponent$14 = (props) => {
|
|
|
6293
6571
|
children: props.children
|
|
6294
6572
|
});
|
|
6295
6573
|
};
|
|
6296
|
-
var
|
|
6297
|
-
function computeEffectiveProps$13(props, defaultProps$
|
|
6298
|
-
let baseProps = { ...defaultProps$
|
|
6574
|
+
var SineWave_default = OmbreComponent$14;
|
|
6575
|
+
function computeEffectiveProps$13(props, defaultProps$60) {
|
|
6576
|
+
let baseProps = { ...defaultProps$60 };
|
|
6299
6577
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6300
6578
|
return baseProps;
|
|
6301
6579
|
}
|
|
@@ -6314,7 +6592,7 @@ var defaultProps$13 = {
|
|
|
6314
6592
|
visible: true
|
|
6315
6593
|
};
|
|
6316
6594
|
try {
|
|
6317
|
-
if (componentDefinition$
|
|
6595
|
+
if (componentDefinition$46 && componentDefinition$46.props) Object.entries(componentDefinition$46.props).forEach(([key, config]) => {
|
|
6318
6596
|
const propConfig = config;
|
|
6319
6597
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$13[key] = propConfig.default;
|
|
6320
6598
|
});
|
|
@@ -6326,7 +6604,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6326
6604
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6327
6605
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6328
6606
|
const instanceId = useMemo(() => {
|
|
6329
|
-
return props.id || `${componentDefinition$
|
|
6607
|
+
return props.id || `${componentDefinition$46.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6330
6608
|
}, [props.id]);
|
|
6331
6609
|
const effectiveProps = useMemo(() => {
|
|
6332
6610
|
return computeEffectiveProps$13(props, defaultProps$13);
|
|
@@ -6336,7 +6614,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6336
6614
|
...props.transform
|
|
6337
6615
|
}), [props.transform]);
|
|
6338
6616
|
const uniformsRef = useRef(null);
|
|
6339
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6617
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$46, effectiveProps, instanceId);
|
|
6340
6618
|
const childContextValue = useMemo(() => {
|
|
6341
6619
|
return {
|
|
6342
6620
|
...context,
|
|
@@ -6358,7 +6636,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6358
6636
|
renderOrder: props.renderOrder || 0,
|
|
6359
6637
|
transform: effectiveTransform
|
|
6360
6638
|
};
|
|
6361
|
-
parentRegister(instanceId, componentDefinition$
|
|
6639
|
+
parentRegister(instanceId, componentDefinition$46.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$46);
|
|
6362
6640
|
return () => {
|
|
6363
6641
|
parentRegister(instanceId, null, null, null, null);
|
|
6364
6642
|
};
|
|
@@ -6431,9 +6709,9 @@ const OmbreComponent$13 = (props) => {
|
|
|
6431
6709
|
children: props.children
|
|
6432
6710
|
});
|
|
6433
6711
|
};
|
|
6434
|
-
var
|
|
6435
|
-
function computeEffectiveProps$12(props, defaultProps$
|
|
6436
|
-
let baseProps = { ...defaultProps$
|
|
6712
|
+
var SolidColor_default = OmbreComponent$13;
|
|
6713
|
+
function computeEffectiveProps$12(props, defaultProps$60) {
|
|
6714
|
+
let baseProps = { ...defaultProps$60 };
|
|
6437
6715
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6438
6716
|
return baseProps;
|
|
6439
6717
|
}
|
|
@@ -6452,7 +6730,7 @@ var defaultProps$12 = {
|
|
|
6452
6730
|
visible: true
|
|
6453
6731
|
};
|
|
6454
6732
|
try {
|
|
6455
|
-
if (componentDefinition$
|
|
6733
|
+
if (componentDefinition$47 && componentDefinition$47.props) Object.entries(componentDefinition$47.props).forEach(([key, config]) => {
|
|
6456
6734
|
const propConfig = config;
|
|
6457
6735
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$12[key] = propConfig.default;
|
|
6458
6736
|
});
|
|
@@ -6464,7 +6742,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6464
6742
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6465
6743
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6466
6744
|
const instanceId = useMemo(() => {
|
|
6467
|
-
return props.id || `${componentDefinition$
|
|
6745
|
+
return props.id || `${componentDefinition$47.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6468
6746
|
}, [props.id]);
|
|
6469
6747
|
const effectiveProps = useMemo(() => {
|
|
6470
6748
|
return computeEffectiveProps$12(props, defaultProps$12);
|
|
@@ -6474,7 +6752,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6474
6752
|
...props.transform
|
|
6475
6753
|
}), [props.transform]);
|
|
6476
6754
|
const uniformsRef = useRef(null);
|
|
6477
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6755
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$47, effectiveProps, instanceId);
|
|
6478
6756
|
const childContextValue = useMemo(() => {
|
|
6479
6757
|
return {
|
|
6480
6758
|
...context,
|
|
@@ -6496,7 +6774,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6496
6774
|
renderOrder: props.renderOrder || 0,
|
|
6497
6775
|
transform: effectiveTransform
|
|
6498
6776
|
};
|
|
6499
|
-
parentRegister(instanceId, componentDefinition$
|
|
6777
|
+
parentRegister(instanceId, componentDefinition$47.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$47);
|
|
6500
6778
|
return () => {
|
|
6501
6779
|
parentRegister(instanceId, null, null, null, null);
|
|
6502
6780
|
};
|
|
@@ -6569,9 +6847,9 @@ const OmbreComponent$12 = (props) => {
|
|
|
6569
6847
|
children: props.children
|
|
6570
6848
|
});
|
|
6571
6849
|
};
|
|
6572
|
-
var
|
|
6573
|
-
function computeEffectiveProps$11(props, defaultProps$
|
|
6574
|
-
let baseProps = { ...defaultProps$
|
|
6850
|
+
var Spherize_default = OmbreComponent$12;
|
|
6851
|
+
function computeEffectiveProps$11(props, defaultProps$60) {
|
|
6852
|
+
let baseProps = { ...defaultProps$60 };
|
|
6575
6853
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6576
6854
|
return baseProps;
|
|
6577
6855
|
}
|
|
@@ -6590,7 +6868,7 @@ var defaultProps$11 = {
|
|
|
6590
6868
|
visible: true
|
|
6591
6869
|
};
|
|
6592
6870
|
try {
|
|
6593
|
-
if (componentDefinition$
|
|
6871
|
+
if (componentDefinition$48 && componentDefinition$48.props) Object.entries(componentDefinition$48.props).forEach(([key, config]) => {
|
|
6594
6872
|
const propConfig = config;
|
|
6595
6873
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$11[key] = propConfig.default;
|
|
6596
6874
|
});
|
|
@@ -6602,7 +6880,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6602
6880
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6603
6881
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6604
6882
|
const instanceId = useMemo(() => {
|
|
6605
|
-
return props.id || `${componentDefinition$
|
|
6883
|
+
return props.id || `${componentDefinition$48.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6606
6884
|
}, [props.id]);
|
|
6607
6885
|
const effectiveProps = useMemo(() => {
|
|
6608
6886
|
return computeEffectiveProps$11(props, defaultProps$11);
|
|
@@ -6612,7 +6890,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6612
6890
|
...props.transform
|
|
6613
6891
|
}), [props.transform]);
|
|
6614
6892
|
const uniformsRef = useRef(null);
|
|
6615
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6893
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$48, effectiveProps, instanceId);
|
|
6616
6894
|
const childContextValue = useMemo(() => {
|
|
6617
6895
|
return {
|
|
6618
6896
|
...context,
|
|
@@ -6634,7 +6912,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6634
6912
|
renderOrder: props.renderOrder || 0,
|
|
6635
6913
|
transform: effectiveTransform
|
|
6636
6914
|
};
|
|
6637
|
-
parentRegister(instanceId, componentDefinition$
|
|
6915
|
+
parentRegister(instanceId, componentDefinition$48.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$48);
|
|
6638
6916
|
return () => {
|
|
6639
6917
|
parentRegister(instanceId, null, null, null, null);
|
|
6640
6918
|
};
|
|
@@ -6707,9 +6985,9 @@ const OmbreComponent$11 = (props) => {
|
|
|
6707
6985
|
children: props.children
|
|
6708
6986
|
});
|
|
6709
6987
|
};
|
|
6710
|
-
var
|
|
6711
|
-
function computeEffectiveProps$10(props, defaultProps$
|
|
6712
|
-
let baseProps = { ...defaultProps$
|
|
6988
|
+
var Spiral_default = OmbreComponent$11;
|
|
6989
|
+
function computeEffectiveProps$10(props, defaultProps$60) {
|
|
6990
|
+
let baseProps = { ...defaultProps$60 };
|
|
6713
6991
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6714
6992
|
return baseProps;
|
|
6715
6993
|
}
|
|
@@ -6728,7 +7006,7 @@ var defaultProps$10 = {
|
|
|
6728
7006
|
visible: true
|
|
6729
7007
|
};
|
|
6730
7008
|
try {
|
|
6731
|
-
if (componentDefinition$
|
|
7009
|
+
if (componentDefinition$49 && componentDefinition$49.props) Object.entries(componentDefinition$49.props).forEach(([key, config]) => {
|
|
6732
7010
|
const propConfig = config;
|
|
6733
7011
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$10[key] = propConfig.default;
|
|
6734
7012
|
});
|
|
@@ -6740,7 +7018,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6740
7018
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6741
7019
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6742
7020
|
const instanceId = useMemo(() => {
|
|
6743
|
-
return props.id || `${componentDefinition$
|
|
7021
|
+
return props.id || `${componentDefinition$49.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6744
7022
|
}, [props.id]);
|
|
6745
7023
|
const effectiveProps = useMemo(() => {
|
|
6746
7024
|
return computeEffectiveProps$10(props, defaultProps$10);
|
|
@@ -6750,7 +7028,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6750
7028
|
...props.transform
|
|
6751
7029
|
}), [props.transform]);
|
|
6752
7030
|
const uniformsRef = useRef(null);
|
|
6753
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7031
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$49, effectiveProps, instanceId);
|
|
6754
7032
|
const childContextValue = useMemo(() => {
|
|
6755
7033
|
return {
|
|
6756
7034
|
...context,
|
|
@@ -6772,7 +7050,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6772
7050
|
renderOrder: props.renderOrder || 0,
|
|
6773
7051
|
transform: effectiveTransform
|
|
6774
7052
|
};
|
|
6775
|
-
parentRegister(instanceId, componentDefinition$
|
|
7053
|
+
parentRegister(instanceId, componentDefinition$49.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$49);
|
|
6776
7054
|
return () => {
|
|
6777
7055
|
parentRegister(instanceId, null, null, null, null);
|
|
6778
7056
|
};
|
|
@@ -6845,9 +7123,9 @@ const OmbreComponent$10 = (props) => {
|
|
|
6845
7123
|
children: props.children
|
|
6846
7124
|
});
|
|
6847
7125
|
};
|
|
6848
|
-
var
|
|
6849
|
-
function computeEffectiveProps$9(props, defaultProps$
|
|
6850
|
-
let baseProps = { ...defaultProps$
|
|
7126
|
+
var Strands_default = OmbreComponent$10;
|
|
7127
|
+
function computeEffectiveProps$9(props, defaultProps$60) {
|
|
7128
|
+
let baseProps = { ...defaultProps$60 };
|
|
6851
7129
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6852
7130
|
return baseProps;
|
|
6853
7131
|
}
|
|
@@ -6866,7 +7144,7 @@ var defaultProps$9 = {
|
|
|
6866
7144
|
visible: true
|
|
6867
7145
|
};
|
|
6868
7146
|
try {
|
|
6869
|
-
if (componentDefinition$
|
|
7147
|
+
if (componentDefinition$50 && componentDefinition$50.props) Object.entries(componentDefinition$50.props).forEach(([key, config]) => {
|
|
6870
7148
|
const propConfig = config;
|
|
6871
7149
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$9[key] = propConfig.default;
|
|
6872
7150
|
});
|
|
@@ -6878,7 +7156,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6878
7156
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6879
7157
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6880
7158
|
const instanceId = useMemo(() => {
|
|
6881
|
-
return props.id || `${componentDefinition$
|
|
7159
|
+
return props.id || `${componentDefinition$50.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6882
7160
|
}, [props.id]);
|
|
6883
7161
|
const effectiveProps = useMemo(() => {
|
|
6884
7162
|
return computeEffectiveProps$9(props, defaultProps$9);
|
|
@@ -6888,7 +7166,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6888
7166
|
...props.transform
|
|
6889
7167
|
}), [props.transform]);
|
|
6890
7168
|
const uniformsRef = useRef(null);
|
|
6891
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7169
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$50, effectiveProps, instanceId);
|
|
6892
7170
|
const childContextValue = useMemo(() => {
|
|
6893
7171
|
return {
|
|
6894
7172
|
...context,
|
|
@@ -6910,7 +7188,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6910
7188
|
renderOrder: props.renderOrder || 0,
|
|
6911
7189
|
transform: effectiveTransform
|
|
6912
7190
|
};
|
|
6913
|
-
parentRegister(instanceId, componentDefinition$
|
|
7191
|
+
parentRegister(instanceId, componentDefinition$50.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$50);
|
|
6914
7192
|
return () => {
|
|
6915
7193
|
parentRegister(instanceId, null, null, null, null);
|
|
6916
7194
|
};
|
|
@@ -6983,9 +7261,9 @@ const OmbreComponent$9 = (props) => {
|
|
|
6983
7261
|
children: props.children
|
|
6984
7262
|
});
|
|
6985
7263
|
};
|
|
6986
|
-
var
|
|
6987
|
-
function computeEffectiveProps$8(props, defaultProps$
|
|
6988
|
-
let baseProps = { ...defaultProps$
|
|
7264
|
+
var Stretch_default = OmbreComponent$9;
|
|
7265
|
+
function computeEffectiveProps$8(props, defaultProps$60) {
|
|
7266
|
+
let baseProps = { ...defaultProps$60 };
|
|
6989
7267
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6990
7268
|
return baseProps;
|
|
6991
7269
|
}
|
|
@@ -7004,7 +7282,7 @@ var defaultProps$8 = {
|
|
|
7004
7282
|
visible: true
|
|
7005
7283
|
};
|
|
7006
7284
|
try {
|
|
7007
|
-
if (componentDefinition$
|
|
7285
|
+
if (componentDefinition$51 && componentDefinition$51.props) Object.entries(componentDefinition$51.props).forEach(([key, config]) => {
|
|
7008
7286
|
const propConfig = config;
|
|
7009
7287
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$8[key] = propConfig.default;
|
|
7010
7288
|
});
|
|
@@ -7016,7 +7294,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7016
7294
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7017
7295
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7018
7296
|
const instanceId = useMemo(() => {
|
|
7019
|
-
return props.id || `${componentDefinition$
|
|
7297
|
+
return props.id || `${componentDefinition$51.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7020
7298
|
}, [props.id]);
|
|
7021
7299
|
const effectiveProps = useMemo(() => {
|
|
7022
7300
|
return computeEffectiveProps$8(props, defaultProps$8);
|
|
@@ -7026,7 +7304,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7026
7304
|
...props.transform
|
|
7027
7305
|
}), [props.transform]);
|
|
7028
7306
|
const uniformsRef = useRef(null);
|
|
7029
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7307
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$51, effectiveProps, instanceId);
|
|
7030
7308
|
const childContextValue = useMemo(() => {
|
|
7031
7309
|
return {
|
|
7032
7310
|
...context,
|
|
@@ -7048,7 +7326,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7048
7326
|
renderOrder: props.renderOrder || 0,
|
|
7049
7327
|
transform: effectiveTransform
|
|
7050
7328
|
};
|
|
7051
|
-
parentRegister(instanceId, componentDefinition$
|
|
7329
|
+
parentRegister(instanceId, componentDefinition$51.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$51);
|
|
7052
7330
|
return () => {
|
|
7053
7331
|
parentRegister(instanceId, null, null, null, null);
|
|
7054
7332
|
};
|
|
@@ -7121,9 +7399,9 @@ const OmbreComponent$8 = (props) => {
|
|
|
7121
7399
|
children: props.children
|
|
7122
7400
|
});
|
|
7123
7401
|
};
|
|
7124
|
-
var
|
|
7125
|
-
function computeEffectiveProps$7(props, defaultProps$
|
|
7126
|
-
let baseProps = { ...defaultProps$
|
|
7402
|
+
var Stripes_default = OmbreComponent$8;
|
|
7403
|
+
function computeEffectiveProps$7(props, defaultProps$60) {
|
|
7404
|
+
let baseProps = { ...defaultProps$60 };
|
|
7127
7405
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7128
7406
|
return baseProps;
|
|
7129
7407
|
}
|
|
@@ -7142,7 +7420,7 @@ var defaultProps$7 = {
|
|
|
7142
7420
|
visible: true
|
|
7143
7421
|
};
|
|
7144
7422
|
try {
|
|
7145
|
-
if (componentDefinition$
|
|
7423
|
+
if (componentDefinition$52 && componentDefinition$52.props) Object.entries(componentDefinition$52.props).forEach(([key, config]) => {
|
|
7146
7424
|
const propConfig = config;
|
|
7147
7425
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$7[key] = propConfig.default;
|
|
7148
7426
|
});
|
|
@@ -7154,7 +7432,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7154
7432
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7155
7433
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7156
7434
|
const instanceId = useMemo(() => {
|
|
7157
|
-
return props.id || `${componentDefinition$
|
|
7435
|
+
return props.id || `${componentDefinition$52.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7158
7436
|
}, [props.id]);
|
|
7159
7437
|
const effectiveProps = useMemo(() => {
|
|
7160
7438
|
return computeEffectiveProps$7(props, defaultProps$7);
|
|
@@ -7164,7 +7442,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7164
7442
|
...props.transform
|
|
7165
7443
|
}), [props.transform]);
|
|
7166
7444
|
const uniformsRef = useRef(null);
|
|
7167
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7445
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$52, effectiveProps, instanceId);
|
|
7168
7446
|
const childContextValue = useMemo(() => {
|
|
7169
7447
|
return {
|
|
7170
7448
|
...context,
|
|
@@ -7186,7 +7464,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7186
7464
|
renderOrder: props.renderOrder || 0,
|
|
7187
7465
|
transform: effectiveTransform
|
|
7188
7466
|
};
|
|
7189
|
-
parentRegister(instanceId, componentDefinition$
|
|
7467
|
+
parentRegister(instanceId, componentDefinition$52.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$52);
|
|
7190
7468
|
return () => {
|
|
7191
7469
|
parentRegister(instanceId, null, null, null, null);
|
|
7192
7470
|
};
|
|
@@ -7259,9 +7537,9 @@ const OmbreComponent$7 = (props) => {
|
|
|
7259
7537
|
children: props.children
|
|
7260
7538
|
});
|
|
7261
7539
|
};
|
|
7262
|
-
var
|
|
7263
|
-
function computeEffectiveProps$6(props, defaultProps$
|
|
7264
|
-
let baseProps = { ...defaultProps$
|
|
7540
|
+
var Swirl_default = OmbreComponent$7;
|
|
7541
|
+
function computeEffectiveProps$6(props, defaultProps$60) {
|
|
7542
|
+
let baseProps = { ...defaultProps$60 };
|
|
7265
7543
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7266
7544
|
return baseProps;
|
|
7267
7545
|
}
|
|
@@ -7280,7 +7558,7 @@ var defaultProps$6 = {
|
|
|
7280
7558
|
visible: true
|
|
7281
7559
|
};
|
|
7282
7560
|
try {
|
|
7283
|
-
if (componentDefinition$
|
|
7561
|
+
if (componentDefinition$53 && componentDefinition$53.props) Object.entries(componentDefinition$53.props).forEach(([key, config]) => {
|
|
7284
7562
|
const propConfig = config;
|
|
7285
7563
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$6[key] = propConfig.default;
|
|
7286
7564
|
});
|
|
@@ -7292,7 +7570,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7292
7570
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7293
7571
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7294
7572
|
const instanceId = useMemo(() => {
|
|
7295
|
-
return props.id || `${componentDefinition$
|
|
7573
|
+
return props.id || `${componentDefinition$53.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7296
7574
|
}, [props.id]);
|
|
7297
7575
|
const effectiveProps = useMemo(() => {
|
|
7298
7576
|
return computeEffectiveProps$6(props, defaultProps$6);
|
|
@@ -7302,7 +7580,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7302
7580
|
...props.transform
|
|
7303
7581
|
}), [props.transform]);
|
|
7304
7582
|
const uniformsRef = useRef(null);
|
|
7305
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7583
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$53, effectiveProps, instanceId);
|
|
7306
7584
|
const childContextValue = useMemo(() => {
|
|
7307
7585
|
return {
|
|
7308
7586
|
...context,
|
|
@@ -7324,7 +7602,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7324
7602
|
renderOrder: props.renderOrder || 0,
|
|
7325
7603
|
transform: effectiveTransform
|
|
7326
7604
|
};
|
|
7327
|
-
parentRegister(instanceId, componentDefinition$
|
|
7605
|
+
parentRegister(instanceId, componentDefinition$53.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$53);
|
|
7328
7606
|
return () => {
|
|
7329
7607
|
parentRegister(instanceId, null, null, null, null);
|
|
7330
7608
|
};
|
|
@@ -7397,9 +7675,9 @@ const OmbreComponent$6 = (props) => {
|
|
|
7397
7675
|
children: props.children
|
|
7398
7676
|
});
|
|
7399
7677
|
};
|
|
7400
|
-
var
|
|
7401
|
-
function computeEffectiveProps$5(props, defaultProps$
|
|
7402
|
-
let baseProps = { ...defaultProps$
|
|
7678
|
+
var TiltShift_default = OmbreComponent$6;
|
|
7679
|
+
function computeEffectiveProps$5(props, defaultProps$60) {
|
|
7680
|
+
let baseProps = { ...defaultProps$60 };
|
|
7403
7681
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7404
7682
|
return baseProps;
|
|
7405
7683
|
}
|
|
@@ -7418,7 +7696,7 @@ var defaultProps$5 = {
|
|
|
7418
7696
|
visible: true
|
|
7419
7697
|
};
|
|
7420
7698
|
try {
|
|
7421
|
-
if (componentDefinition$
|
|
7699
|
+
if (componentDefinition$54 && componentDefinition$54.props) Object.entries(componentDefinition$54.props).forEach(([key, config]) => {
|
|
7422
7700
|
const propConfig = config;
|
|
7423
7701
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$5[key] = propConfig.default;
|
|
7424
7702
|
});
|
|
@@ -7430,7 +7708,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7430
7708
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7431
7709
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7432
7710
|
const instanceId = useMemo(() => {
|
|
7433
|
-
return props.id || `${componentDefinition$
|
|
7711
|
+
return props.id || `${componentDefinition$54.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7434
7712
|
}, [props.id]);
|
|
7435
7713
|
const effectiveProps = useMemo(() => {
|
|
7436
7714
|
return computeEffectiveProps$5(props, defaultProps$5);
|
|
@@ -7440,7 +7718,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7440
7718
|
...props.transform
|
|
7441
7719
|
}), [props.transform]);
|
|
7442
7720
|
const uniformsRef = useRef(null);
|
|
7443
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7721
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$54, effectiveProps, instanceId);
|
|
7444
7722
|
const childContextValue = useMemo(() => {
|
|
7445
7723
|
return {
|
|
7446
7724
|
...context,
|
|
@@ -7462,7 +7740,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7462
7740
|
renderOrder: props.renderOrder || 0,
|
|
7463
7741
|
transform: effectiveTransform
|
|
7464
7742
|
};
|
|
7465
|
-
parentRegister(instanceId, componentDefinition$
|
|
7743
|
+
parentRegister(instanceId, componentDefinition$54.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$54);
|
|
7466
7744
|
return () => {
|
|
7467
7745
|
parentRegister(instanceId, null, null, null, null);
|
|
7468
7746
|
};
|
|
@@ -7535,9 +7813,9 @@ const OmbreComponent$5 = (props) => {
|
|
|
7535
7813
|
children: props.children
|
|
7536
7814
|
});
|
|
7537
7815
|
};
|
|
7538
|
-
var
|
|
7539
|
-
function computeEffectiveProps$4(props, defaultProps$
|
|
7540
|
-
let baseProps = { ...defaultProps$
|
|
7816
|
+
var Tint_default = OmbreComponent$5;
|
|
7817
|
+
function computeEffectiveProps$4(props, defaultProps$60) {
|
|
7818
|
+
let baseProps = { ...defaultProps$60 };
|
|
7541
7819
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7542
7820
|
return baseProps;
|
|
7543
7821
|
}
|
|
@@ -7556,7 +7834,7 @@ var defaultProps$4 = {
|
|
|
7556
7834
|
visible: true
|
|
7557
7835
|
};
|
|
7558
7836
|
try {
|
|
7559
|
-
if (componentDefinition$
|
|
7837
|
+
if (componentDefinition$55 && componentDefinition$55.props) Object.entries(componentDefinition$55.props).forEach(([key, config]) => {
|
|
7560
7838
|
const propConfig = config;
|
|
7561
7839
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$4[key] = propConfig.default;
|
|
7562
7840
|
});
|
|
@@ -7568,7 +7846,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7568
7846
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7569
7847
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7570
7848
|
const instanceId = useMemo(() => {
|
|
7571
|
-
return props.id || `${componentDefinition$
|
|
7849
|
+
return props.id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7572
7850
|
}, [props.id]);
|
|
7573
7851
|
const effectiveProps = useMemo(() => {
|
|
7574
7852
|
return computeEffectiveProps$4(props, defaultProps$4);
|
|
@@ -7578,7 +7856,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7578
7856
|
...props.transform
|
|
7579
7857
|
}), [props.transform]);
|
|
7580
7858
|
const uniformsRef = useRef(null);
|
|
7581
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7859
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$55, effectiveProps, instanceId);
|
|
7582
7860
|
const childContextValue = useMemo(() => {
|
|
7583
7861
|
return {
|
|
7584
7862
|
...context,
|
|
@@ -7600,7 +7878,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7600
7878
|
renderOrder: props.renderOrder || 0,
|
|
7601
7879
|
transform: effectiveTransform
|
|
7602
7880
|
};
|
|
7603
|
-
parentRegister(instanceId, componentDefinition$
|
|
7881
|
+
parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$55);
|
|
7604
7882
|
return () => {
|
|
7605
7883
|
parentRegister(instanceId, null, null, null, null);
|
|
7606
7884
|
};
|
|
@@ -7674,8 +7952,8 @@ const OmbreComponent$4 = (props) => {
|
|
|
7674
7952
|
});
|
|
7675
7953
|
};
|
|
7676
7954
|
var Tritone_default = OmbreComponent$4;
|
|
7677
|
-
function computeEffectiveProps$3(props, defaultProps$
|
|
7678
|
-
let baseProps = { ...defaultProps$
|
|
7955
|
+
function computeEffectiveProps$3(props, defaultProps$60) {
|
|
7956
|
+
let baseProps = { ...defaultProps$60 };
|
|
7679
7957
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7680
7958
|
return baseProps;
|
|
7681
7959
|
}
|
|
@@ -7694,7 +7972,7 @@ var defaultProps$3 = {
|
|
|
7694
7972
|
visible: true
|
|
7695
7973
|
};
|
|
7696
7974
|
try {
|
|
7697
|
-
if (componentDefinition$
|
|
7975
|
+
if (componentDefinition$56 && componentDefinition$56.props) Object.entries(componentDefinition$56.props).forEach(([key, config]) => {
|
|
7698
7976
|
const propConfig = config;
|
|
7699
7977
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$3[key] = propConfig.default;
|
|
7700
7978
|
});
|
|
@@ -7706,7 +7984,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7706
7984
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7707
7985
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7708
7986
|
const instanceId = useMemo(() => {
|
|
7709
|
-
return props.id || `${componentDefinition$
|
|
7987
|
+
return props.id || `${componentDefinition$56.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7710
7988
|
}, [props.id]);
|
|
7711
7989
|
const effectiveProps = useMemo(() => {
|
|
7712
7990
|
return computeEffectiveProps$3(props, defaultProps$3);
|
|
@@ -7716,7 +7994,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7716
7994
|
...props.transform
|
|
7717
7995
|
}), [props.transform]);
|
|
7718
7996
|
const uniformsRef = useRef(null);
|
|
7719
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7997
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$56, effectiveProps, instanceId);
|
|
7720
7998
|
const childContextValue = useMemo(() => {
|
|
7721
7999
|
return {
|
|
7722
8000
|
...context,
|
|
@@ -7738,7 +8016,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7738
8016
|
renderOrder: props.renderOrder || 0,
|
|
7739
8017
|
transform: effectiveTransform
|
|
7740
8018
|
};
|
|
7741
|
-
parentRegister(instanceId, componentDefinition$
|
|
8019
|
+
parentRegister(instanceId, componentDefinition$56.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$56);
|
|
7742
8020
|
return () => {
|
|
7743
8021
|
parentRegister(instanceId, null, null, null, null);
|
|
7744
8022
|
};
|
|
@@ -7812,8 +8090,8 @@ const OmbreComponent$3 = (props) => {
|
|
|
7812
8090
|
});
|
|
7813
8091
|
};
|
|
7814
8092
|
var Twirl_default = OmbreComponent$3;
|
|
7815
|
-
function computeEffectiveProps$2(props, defaultProps$
|
|
7816
|
-
let baseProps = { ...defaultProps$
|
|
8093
|
+
function computeEffectiveProps$2(props, defaultProps$60) {
|
|
8094
|
+
let baseProps = { ...defaultProps$60 };
|
|
7817
8095
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7818
8096
|
return baseProps;
|
|
7819
8097
|
}
|
|
@@ -7832,7 +8110,7 @@ var defaultProps$2 = {
|
|
|
7832
8110
|
visible: true
|
|
7833
8111
|
};
|
|
7834
8112
|
try {
|
|
7835
|
-
if (componentDefinition$
|
|
8113
|
+
if (componentDefinition$57 && componentDefinition$57.props) Object.entries(componentDefinition$57.props).forEach(([key, config]) => {
|
|
7836
8114
|
const propConfig = config;
|
|
7837
8115
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$2[key] = propConfig.default;
|
|
7838
8116
|
});
|
|
@@ -7844,7 +8122,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7844
8122
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7845
8123
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7846
8124
|
const instanceId = useMemo(() => {
|
|
7847
|
-
return props.id || `${componentDefinition$
|
|
8125
|
+
return props.id || `${componentDefinition$57.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7848
8126
|
}, [props.id]);
|
|
7849
8127
|
const effectiveProps = useMemo(() => {
|
|
7850
8128
|
return computeEffectiveProps$2(props, defaultProps$2);
|
|
@@ -7854,7 +8132,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7854
8132
|
...props.transform
|
|
7855
8133
|
}), [props.transform]);
|
|
7856
8134
|
const uniformsRef = useRef(null);
|
|
7857
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8135
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$57, effectiveProps, instanceId);
|
|
7858
8136
|
const childContextValue = useMemo(() => {
|
|
7859
8137
|
return {
|
|
7860
8138
|
...context,
|
|
@@ -7876,7 +8154,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7876
8154
|
renderOrder: props.renderOrder || 0,
|
|
7877
8155
|
transform: effectiveTransform
|
|
7878
8156
|
};
|
|
7879
|
-
parentRegister(instanceId, componentDefinition$
|
|
8157
|
+
parentRegister(instanceId, componentDefinition$57.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$57);
|
|
7880
8158
|
return () => {
|
|
7881
8159
|
parentRegister(instanceId, null, null, null, null);
|
|
7882
8160
|
};
|
|
@@ -7950,8 +8228,8 @@ const OmbreComponent$2 = (props) => {
|
|
|
7950
8228
|
});
|
|
7951
8229
|
};
|
|
7952
8230
|
var Vibrance_default = OmbreComponent$2;
|
|
7953
|
-
function computeEffectiveProps$1(props, defaultProps$
|
|
7954
|
-
let baseProps = { ...defaultProps$
|
|
8231
|
+
function computeEffectiveProps$1(props, defaultProps$60) {
|
|
8232
|
+
let baseProps = { ...defaultProps$60 };
|
|
7955
8233
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7956
8234
|
return baseProps;
|
|
7957
8235
|
}
|
|
@@ -7970,7 +8248,7 @@ var defaultProps$1 = {
|
|
|
7970
8248
|
visible: true
|
|
7971
8249
|
};
|
|
7972
8250
|
try {
|
|
7973
|
-
if (componentDefinition$
|
|
8251
|
+
if (componentDefinition$58 && componentDefinition$58.props) Object.entries(componentDefinition$58.props).forEach(([key, config]) => {
|
|
7974
8252
|
const propConfig = config;
|
|
7975
8253
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$1[key] = propConfig.default;
|
|
7976
8254
|
});
|
|
@@ -7982,7 +8260,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7982
8260
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7983
8261
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7984
8262
|
const instanceId = useMemo(() => {
|
|
7985
|
-
return props.id || `${componentDefinition$
|
|
8263
|
+
return props.id || `${componentDefinition$58.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7986
8264
|
}, [props.id]);
|
|
7987
8265
|
const effectiveProps = useMemo(() => {
|
|
7988
8266
|
return computeEffectiveProps$1(props, defaultProps$1);
|
|
@@ -7992,7 +8270,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7992
8270
|
...props.transform
|
|
7993
8271
|
}), [props.transform]);
|
|
7994
8272
|
const uniformsRef = useRef(null);
|
|
7995
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8273
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$58, effectiveProps, instanceId);
|
|
7996
8274
|
const childContextValue = useMemo(() => {
|
|
7997
8275
|
return {
|
|
7998
8276
|
...context,
|
|
@@ -8014,7 +8292,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8014
8292
|
renderOrder: props.renderOrder || 0,
|
|
8015
8293
|
transform: effectiveTransform
|
|
8016
8294
|
};
|
|
8017
|
-
parentRegister(instanceId, componentDefinition$
|
|
8295
|
+
parentRegister(instanceId, componentDefinition$58.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$58);
|
|
8018
8296
|
return () => {
|
|
8019
8297
|
parentRegister(instanceId, null, null, null, null);
|
|
8020
8298
|
};
|
|
@@ -8088,8 +8366,8 @@ const OmbreComponent$1 = (props) => {
|
|
|
8088
8366
|
});
|
|
8089
8367
|
};
|
|
8090
8368
|
var WaveDistortion_default = OmbreComponent$1;
|
|
8091
|
-
function computeEffectiveProps(props, defaultProps$
|
|
8092
|
-
let baseProps = { ...defaultProps$
|
|
8369
|
+
function computeEffectiveProps(props, defaultProps$60) {
|
|
8370
|
+
let baseProps = { ...defaultProps$60 };
|
|
8093
8371
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8094
8372
|
return baseProps;
|
|
8095
8373
|
}
|
|
@@ -8108,7 +8386,7 @@ var defaultProps = {
|
|
|
8108
8386
|
visible: true
|
|
8109
8387
|
};
|
|
8110
8388
|
try {
|
|
8111
|
-
if (componentDefinition$
|
|
8389
|
+
if (componentDefinition$59 && componentDefinition$59.props) Object.entries(componentDefinition$59.props).forEach(([key, config]) => {
|
|
8112
8390
|
const propConfig = config;
|
|
8113
8391
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps[key] = propConfig.default;
|
|
8114
8392
|
});
|
|
@@ -8120,7 +8398,7 @@ const OmbreComponent = (props) => {
|
|
|
8120
8398
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8121
8399
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8122
8400
|
const instanceId = useMemo(() => {
|
|
8123
|
-
return props.id || `${componentDefinition$
|
|
8401
|
+
return props.id || `${componentDefinition$59.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8124
8402
|
}, [props.id]);
|
|
8125
8403
|
const effectiveProps = useMemo(() => {
|
|
8126
8404
|
return computeEffectiveProps(props, defaultProps);
|
|
@@ -8130,7 +8408,7 @@ const OmbreComponent = (props) => {
|
|
|
8130
8408
|
...props.transform
|
|
8131
8409
|
}), [props.transform]);
|
|
8132
8410
|
const uniformsRef = useRef(null);
|
|
8133
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8411
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$59, effectiveProps, instanceId);
|
|
8134
8412
|
const childContextValue = useMemo(() => {
|
|
8135
8413
|
return {
|
|
8136
8414
|
...context,
|
|
@@ -8152,7 +8430,7 @@ const OmbreComponent = (props) => {
|
|
|
8152
8430
|
renderOrder: props.renderOrder || 0,
|
|
8153
8431
|
transform: effectiveTransform
|
|
8154
8432
|
};
|
|
8155
|
-
parentRegister(instanceId, componentDefinition$
|
|
8433
|
+
parentRegister(instanceId, componentDefinition$59.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$59);
|
|
8156
8434
|
return () => {
|
|
8157
8435
|
parentRegister(instanceId, null, null, null, null);
|
|
8158
8436
|
};
|
|
@@ -8226,4 +8504,4 @@ const OmbreComponent = (props) => {
|
|
|
8226
8504
|
});
|
|
8227
8505
|
};
|
|
8228
8506
|
var ZoomBlur_default = OmbreComponent;
|
|
8229
|
-
export { AngularBlur_default as AngularBlur, Ascii_default as Ascii, Beam_default as Beam, Blob_default as Blob, Blur_default as Blur, BrightnessContrast_default as BrightnessContrast, Bulge_default as Bulge, CRTScreen_default as CRTScreen, ChannelBlur_default as ChannelBlur, Checkerboard_default as Checkerboard, ChromaFlow_default as ChromaFlow, ChromaticAberration_default as ChromaticAberration, Circle_default as Circle, CursorTrail_default as CursorTrail, DiffuseBlur_default as DiffuseBlur, Dither_default as Dither, DotGrid_default as DotGrid, Duotone_default as Duotone, FilmGrain_default as FilmGrain, FloatingParticles_default as FloatingParticles, GlassTiles_default as GlassTiles, Glow_default as Glow, Godrays_default as Godrays, Grayscale_default as Grayscale, Grid_default as Grid, GridDistortion_default as GridDistortion, Group_default as Group, Halftone_default as Halftone, HueShift_default as HueShift, ImageTexture_default as ImageTexture, Invert_default as Invert, LinearBlur_default as LinearBlur, LinearGradient_default as LinearGradient, Liquify_default as Liquify, Perspective_default as Perspective, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, Sharpness_default as Sharpness, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|
|
8507
|
+
export { AngularBlur_default as AngularBlur, Ascii_default as Ascii, Beam_default as Beam, Blob_default as Blob, Blur_default as Blur, BrightnessContrast_default as BrightnessContrast, Bulge_default as Bulge, CRTScreen_default as CRTScreen, ChannelBlur_default as ChannelBlur, Checkerboard_default as Checkerboard, ChromaFlow_default as ChromaFlow, ChromaticAberration_default as ChromaticAberration, Circle_default as Circle, CursorTrail_default as CursorTrail, DiffuseBlur_default as DiffuseBlur, Dither_default as Dither, DotGrid_default as DotGrid, Duotone_default as Duotone, FilmGrain_default as FilmGrain, FloatingParticles_default as FloatingParticles, GlassTiles_default as GlassTiles, Glow_default as Glow, Godrays_default as Godrays, Grayscale_default as Grayscale, Grid_default as Grid, GridDistortion_default as GridDistortion, Group_default as Group, Halftone_default as Halftone, HueShift_default as HueShift, ImageTexture_default as ImageTexture, Invert_default as Invert, LinearBlur_default as LinearBlur, LinearGradient_default as LinearGradient, Liquify_default as Liquify, Perspective_default as Perspective, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, Sharpness_default as Sharpness, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Stripes_default as Stripes, Swirl_default as Swirl, TiltShift_default as TiltShift, Tint_default as Tint, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|