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