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