shaders 2.2.41 → 2.2.42
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/Shatter-COjV2jLy.js +299 -0
- package/dist/core/index.js +41 -39
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Shatter/index.d.ts +70 -0
- package/dist/core/shaders/Shatter/index.d.ts.map +1 -0
- package/dist/core/shaders/Shatter/index.js +4 -0
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Stripes/index.js +1 -1
- 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/Shatter.d.ts +31 -0
- package/dist/react/components/Shatter.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-K6ZAneRr.js → generatePresetCode-BrkW1bEe.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 +563 -424
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +246 -0
- package/dist/solid/components/Shatter.d.ts +28 -0
- package/dist/solid/components/Shatter.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 +502 -360
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +14 -0
- package/dist/svelte/components/Shatter.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-x1dhDaQ3.js → generatePresetCode-bx7z5wvC.js} +14 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +145 -34
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/Shatter.vue.d.ts +57 -0
- package/dist/vue/components/Shatter.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-BaNcX5ua.js → generatePresetCode-_7ZzqQPH.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 +259 -130
- 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/{SimplexNoise-CMMeggo6.js → SimplexNoise-Ce79jgYM.js} +0 -0
- /package/dist/core/{SineWave-DVVLqHPw.js → SineWave-Cv2gOU8a.js} +0 -0
- /package/dist/core/{SolidColor-zYROg_aE.js → SolidColor-DFkDBFq3.js} +0 -0
- /package/dist/core/{Spherize-tsKMpSaS.js → Spherize-R-s4pX9t.js} +0 -0
- /package/dist/core/{Spiral-DDyVSeG_.js → Spiral-W4dALX1z.js} +0 -0
- /package/dist/core/{Strands-B9vY4uA7.js → Strands-DtN5POfO.js} +0 -0
- /package/dist/core/{Stretch-BhHjbcqd.js → Stretch-BzvP_hdu.js} +0 -0
- /package/dist/core/{Stripes-TdCUOh07.js → Stripes-BbNFX05u.js} +0 -0
- /package/dist/core/{Swirl-m1-Mnzj5.js → Swirl-CfsYsr4X.js} +0 -0
- /package/dist/core/{TiltShift-C_NUqKZF.js → TiltShift-B6gbm7Z8.js} +0 -0
- /package/dist/core/{Tint-ChKku9xR.js → Tint-CpnitsHw.js} +0 -0
- /package/dist/core/{Tritone-D-NcV7N-.js → Tritone-DzvSKVfR.js} +0 -0
- /package/dist/core/{Twirl-Cqzll6nW.js → Twirl-BXH4uAd6.js} +0 -0
- /package/dist/core/{Vibrance-CxunJkcb.js → Vibrance-ByN9bRgU.js} +0 -0
- /package/dist/core/{WaveDistortion-UQZKCfKh.js → WaveDistortion-BA1PyqYH.js} +0 -0
- /package/dist/core/{ZoomBlur-DqKYdlmm.js → ZoomBlur-CTrw7HxX.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-BrkW1bEe.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";
|
|
@@ -48,22 +48,23 @@ import { componentDefinition as componentDefinition$40 } from "../core/shaders/R
|
|
|
48
48
|
import { componentDefinition as componentDefinition$41 } from "../core/shaders/Ripples/index.js";
|
|
49
49
|
import { componentDefinition as componentDefinition$42 } from "../core/shaders/Saturation/index.js";
|
|
50
50
|
import { componentDefinition as componentDefinition$43 } from "../core/shaders/Sharpness/index.js";
|
|
51
|
-
import { componentDefinition as componentDefinition$44 } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$45 } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$46 } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$47 } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$48 } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$49 } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$50 } from "../core/shaders/
|
|
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/
|
|
66
|
-
import { componentDefinition as componentDefinition$59 } from "../core/shaders/
|
|
51
|
+
import { componentDefinition as componentDefinition$44 } from "../core/shaders/Shatter/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$45 } from "../core/shaders/SimplexNoise/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$46 } from "../core/shaders/SineWave/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$47 } from "../core/shaders/SolidColor/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$48 } from "../core/shaders/Spherize/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$49 } from "../core/shaders/Spiral/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$50 } from "../core/shaders/Strands/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/Stretch/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/Stripes/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/Swirl/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/TiltShift/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/Tint/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$56 } from "../core/shaders/Tritone/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$57 } from "../core/shaders/Twirl/index.js";
|
|
65
|
+
import { componentDefinition as componentDefinition$58 } from "../core/shaders/Vibrance/index.js";
|
|
66
|
+
import { componentDefinition as componentDefinition$59 } from "../core/shaders/WaveDistortion/index.js";
|
|
67
|
+
import { componentDefinition as componentDefinition$60 } from "../core/shaders/ZoomBlur/index.js";
|
|
67
68
|
const OmbreContext = createContext(null);
|
|
68
69
|
const Shader = ({ children, hideNotice = false, style = {}, className = "",...rest }) => {
|
|
69
70
|
const containerRef = useRef(null);
|
|
@@ -73,7 +74,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
73
74
|
if (rendererRef.current === null) rendererRef.current = shaderRenderer();
|
|
74
75
|
const telemetryCollectorRef = useRef(null);
|
|
75
76
|
const nodeRegister = useMemo(() => {
|
|
76
|
-
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$
|
|
77
|
+
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$61 = null) => {
|
|
77
78
|
if (fragmentNodeFunc === null) {
|
|
78
79
|
try {
|
|
79
80
|
rendererRef.current.removeNode(id);
|
|
@@ -83,7 +84,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
83
84
|
return;
|
|
84
85
|
}
|
|
85
86
|
try {
|
|
86
|
-
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$
|
|
87
|
+
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$61);
|
|
87
88
|
} catch (err) {
|
|
88
89
|
console.error("Error registering node:", err, {
|
|
89
90
|
id,
|
|
@@ -224,8 +225,146 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
224
225
|
});
|
|
225
226
|
};
|
|
226
227
|
var Shader_default = Shader;
|
|
227
|
-
function computeEffectiveProps$
|
|
228
|
-
let baseProps = { ...defaultProps$
|
|
228
|
+
function computeEffectiveProps$60(props, defaultProps$61) {
|
|
229
|
+
let baseProps = { ...defaultProps$61 };
|
|
230
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
231
|
+
return baseProps;
|
|
232
|
+
}
|
|
233
|
+
var DEFAULT_TRANSFORM$60 = {
|
|
234
|
+
offsetX: 0,
|
|
235
|
+
offsetY: 0,
|
|
236
|
+
rotation: 0,
|
|
237
|
+
scale: 1,
|
|
238
|
+
anchorX: .5,
|
|
239
|
+
anchorY: .5,
|
|
240
|
+
edges: "transparent"
|
|
241
|
+
};
|
|
242
|
+
var defaultProps$60 = {
|
|
243
|
+
blendMode: "normal",
|
|
244
|
+
renderOrder: 0,
|
|
245
|
+
visible: true
|
|
246
|
+
};
|
|
247
|
+
try {
|
|
248
|
+
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
249
|
+
const propConfig = config;
|
|
250
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$60[key] = propConfig.default;
|
|
251
|
+
});
|
|
252
|
+
} catch (e) {
|
|
253
|
+
console.warn("Error extracting default props:", e);
|
|
254
|
+
}
|
|
255
|
+
const OmbreComponent$60 = (props) => {
|
|
256
|
+
const context = useContext(OmbreContext);
|
|
257
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
258
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
259
|
+
const instanceId = useMemo(() => {
|
|
260
|
+
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
261
|
+
}, [props.id]);
|
|
262
|
+
const effectiveProps = useMemo(() => {
|
|
263
|
+
return computeEffectiveProps$60(props, defaultProps$60);
|
|
264
|
+
}, [props]);
|
|
265
|
+
const effectiveTransform = useMemo(() => ({
|
|
266
|
+
...DEFAULT_TRANSFORM$60,
|
|
267
|
+
...props.transform
|
|
268
|
+
}), [props.transform]);
|
|
269
|
+
const uniformsRef = useRef(null);
|
|
270
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
271
|
+
const childContextValue = useMemo(() => {
|
|
272
|
+
return {
|
|
273
|
+
...context,
|
|
274
|
+
ombreParentId: instanceId
|
|
275
|
+
};
|
|
276
|
+
}, [context, instanceId]);
|
|
277
|
+
useEffect(() => {
|
|
278
|
+
if (!uniformsRef.current) return;
|
|
279
|
+
try {
|
|
280
|
+
const metadata = {
|
|
281
|
+
blendMode: props.blendMode || "normal",
|
|
282
|
+
opacity: props.opacity,
|
|
283
|
+
visible: props.visible === false ? false : true,
|
|
284
|
+
id: props.id,
|
|
285
|
+
mask: props.maskSource ? {
|
|
286
|
+
source: props.maskSource,
|
|
287
|
+
type: props.maskType || "alpha"
|
|
288
|
+
} : void 0,
|
|
289
|
+
renderOrder: props.renderOrder || 0,
|
|
290
|
+
transform: effectiveTransform
|
|
291
|
+
};
|
|
292
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
293
|
+
return () => {
|
|
294
|
+
parentRegister(instanceId, null, null, null, null);
|
|
295
|
+
};
|
|
296
|
+
} catch (error) {
|
|
297
|
+
console.error("Error registering shader node:", error);
|
|
298
|
+
return () => {};
|
|
299
|
+
}
|
|
300
|
+
}, [
|
|
301
|
+
instanceId,
|
|
302
|
+
parentId,
|
|
303
|
+
parentRegister
|
|
304
|
+
]);
|
|
305
|
+
const prevPropsRef = useRef({});
|
|
306
|
+
useEffect(() => {
|
|
307
|
+
if (!uniformsRef.current) return;
|
|
308
|
+
try {
|
|
309
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
310
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
311
|
+
const { uniform, transform } = uniformData;
|
|
312
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
313
|
+
const newValue = effectiveProps[propName];
|
|
314
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
315
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
316
|
+
prevPropsRef.current[propName] = newValue;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
});
|
|
320
|
+
} catch (error) {
|
|
321
|
+
console.error("Error updating uniforms:", error);
|
|
322
|
+
}
|
|
323
|
+
}, [
|
|
324
|
+
effectiveProps,
|
|
325
|
+
instanceId,
|
|
326
|
+
parentUniformUpdate
|
|
327
|
+
]);
|
|
328
|
+
useEffect(() => {
|
|
329
|
+
try {
|
|
330
|
+
parentMetadataUpdate(instanceId, {
|
|
331
|
+
blendMode: props.blendMode || "normal",
|
|
332
|
+
opacity: props.opacity,
|
|
333
|
+
visible: props.visible === false ? false : true,
|
|
334
|
+
id: props.id,
|
|
335
|
+
mask: props.maskSource ? {
|
|
336
|
+
source: props.maskSource,
|
|
337
|
+
type: props.maskType || "alpha"
|
|
338
|
+
} : void 0,
|
|
339
|
+
renderOrder: props.renderOrder || 0,
|
|
340
|
+
transform: effectiveTransform
|
|
341
|
+
});
|
|
342
|
+
} catch (error) {
|
|
343
|
+
console.error("Error updating metadata:", error);
|
|
344
|
+
}
|
|
345
|
+
}, [
|
|
346
|
+
props.blendMode,
|
|
347
|
+
props.opacity,
|
|
348
|
+
props.visible,
|
|
349
|
+
props.maskSource,
|
|
350
|
+
props.maskType,
|
|
351
|
+
props.renderOrder,
|
|
352
|
+
props.id,
|
|
353
|
+
effectiveTransform,
|
|
354
|
+
instanceId,
|
|
355
|
+
parentMetadataUpdate
|
|
356
|
+
]);
|
|
357
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
358
|
+
props.ref(null);
|
|
359
|
+
} catch (e) {}
|
|
360
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
361
|
+
value: childContextValue,
|
|
362
|
+
children: props.children
|
|
363
|
+
});
|
|
364
|
+
};
|
|
365
|
+
var AngularBlur_default = OmbreComponent$60;
|
|
366
|
+
function computeEffectiveProps$59(props, defaultProps$61) {
|
|
367
|
+
let baseProps = { ...defaultProps$61 };
|
|
229
368
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
230
369
|
return baseProps;
|
|
231
370
|
}
|
|
@@ -244,7 +383,7 @@ var defaultProps$59 = {
|
|
|
244
383
|
visible: true
|
|
245
384
|
};
|
|
246
385
|
try {
|
|
247
|
-
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
386
|
+
if (componentDefinition$1 && componentDefinition$1.props) Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
248
387
|
const propConfig = config;
|
|
249
388
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$59[key] = propConfig.default;
|
|
250
389
|
});
|
|
@@ -256,7 +395,7 @@ const OmbreComponent$59 = (props) => {
|
|
|
256
395
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
257
396
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
258
397
|
const instanceId = useMemo(() => {
|
|
259
|
-
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
398
|
+
return props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
260
399
|
}, [props.id]);
|
|
261
400
|
const effectiveProps = useMemo(() => {
|
|
262
401
|
return computeEffectiveProps$59(props, defaultProps$59);
|
|
@@ -266,7 +405,7 @@ const OmbreComponent$59 = (props) => {
|
|
|
266
405
|
...props.transform
|
|
267
406
|
}), [props.transform]);
|
|
268
407
|
const uniformsRef = useRef(null);
|
|
269
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
408
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$1, effectiveProps, instanceId);
|
|
270
409
|
const childContextValue = useMemo(() => {
|
|
271
410
|
return {
|
|
272
411
|
...context,
|
|
@@ -288,7 +427,7 @@ const OmbreComponent$59 = (props) => {
|
|
|
288
427
|
renderOrder: props.renderOrder || 0,
|
|
289
428
|
transform: effectiveTransform
|
|
290
429
|
};
|
|
291
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
430
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$1);
|
|
292
431
|
return () => {
|
|
293
432
|
parentRegister(instanceId, null, null, null, null);
|
|
294
433
|
};
|
|
@@ -361,9 +500,9 @@ const OmbreComponent$59 = (props) => {
|
|
|
361
500
|
children: props.children
|
|
362
501
|
});
|
|
363
502
|
};
|
|
364
|
-
var
|
|
365
|
-
function computeEffectiveProps$58(props, defaultProps$
|
|
366
|
-
let baseProps = { ...defaultProps$
|
|
503
|
+
var Ascii_default = OmbreComponent$59;
|
|
504
|
+
function computeEffectiveProps$58(props, defaultProps$61) {
|
|
505
|
+
let baseProps = { ...defaultProps$61 };
|
|
367
506
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
368
507
|
return baseProps;
|
|
369
508
|
}
|
|
@@ -382,7 +521,7 @@ var defaultProps$58 = {
|
|
|
382
521
|
visible: true
|
|
383
522
|
};
|
|
384
523
|
try {
|
|
385
|
-
if (componentDefinition$
|
|
524
|
+
if (componentDefinition$2 && componentDefinition$2.props) Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
386
525
|
const propConfig = config;
|
|
387
526
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$58[key] = propConfig.default;
|
|
388
527
|
});
|
|
@@ -394,7 +533,7 @@ const OmbreComponent$58 = (props) => {
|
|
|
394
533
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
395
534
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
396
535
|
const instanceId = useMemo(() => {
|
|
397
|
-
return props.id || `${componentDefinition$
|
|
536
|
+
return props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
398
537
|
}, [props.id]);
|
|
399
538
|
const effectiveProps = useMemo(() => {
|
|
400
539
|
return computeEffectiveProps$58(props, defaultProps$58);
|
|
@@ -404,7 +543,7 @@ const OmbreComponent$58 = (props) => {
|
|
|
404
543
|
...props.transform
|
|
405
544
|
}), [props.transform]);
|
|
406
545
|
const uniformsRef = useRef(null);
|
|
407
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
546
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$2, effectiveProps, instanceId);
|
|
408
547
|
const childContextValue = useMemo(() => {
|
|
409
548
|
return {
|
|
410
549
|
...context,
|
|
@@ -426,7 +565,7 @@ const OmbreComponent$58 = (props) => {
|
|
|
426
565
|
renderOrder: props.renderOrder || 0,
|
|
427
566
|
transform: effectiveTransform
|
|
428
567
|
};
|
|
429
|
-
parentRegister(instanceId, componentDefinition$
|
|
568
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$2);
|
|
430
569
|
return () => {
|
|
431
570
|
parentRegister(instanceId, null, null, null, null);
|
|
432
571
|
};
|
|
@@ -499,9 +638,9 @@ const OmbreComponent$58 = (props) => {
|
|
|
499
638
|
children: props.children
|
|
500
639
|
});
|
|
501
640
|
};
|
|
502
|
-
var
|
|
503
|
-
function computeEffectiveProps$57(props, defaultProps$
|
|
504
|
-
let baseProps = { ...defaultProps$
|
|
641
|
+
var Beam_default = OmbreComponent$58;
|
|
642
|
+
function computeEffectiveProps$57(props, defaultProps$61) {
|
|
643
|
+
let baseProps = { ...defaultProps$61 };
|
|
505
644
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
506
645
|
return baseProps;
|
|
507
646
|
}
|
|
@@ -520,7 +659,7 @@ var defaultProps$57 = {
|
|
|
520
659
|
visible: true
|
|
521
660
|
};
|
|
522
661
|
try {
|
|
523
|
-
if (componentDefinition$
|
|
662
|
+
if (componentDefinition$3 && componentDefinition$3.props) Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
524
663
|
const propConfig = config;
|
|
525
664
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$57[key] = propConfig.default;
|
|
526
665
|
});
|
|
@@ -532,7 +671,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
532
671
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
533
672
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
534
673
|
const instanceId = useMemo(() => {
|
|
535
|
-
return props.id || `${componentDefinition$
|
|
674
|
+
return props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
536
675
|
}, [props.id]);
|
|
537
676
|
const effectiveProps = useMemo(() => {
|
|
538
677
|
return computeEffectiveProps$57(props, defaultProps$57);
|
|
@@ -542,7 +681,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
542
681
|
...props.transform
|
|
543
682
|
}), [props.transform]);
|
|
544
683
|
const uniformsRef = useRef(null);
|
|
545
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
684
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$3, effectiveProps, instanceId);
|
|
546
685
|
const childContextValue = useMemo(() => {
|
|
547
686
|
return {
|
|
548
687
|
...context,
|
|
@@ -564,7 +703,7 @@ const OmbreComponent$57 = (props) => {
|
|
|
564
703
|
renderOrder: props.renderOrder || 0,
|
|
565
704
|
transform: effectiveTransform
|
|
566
705
|
};
|
|
567
|
-
parentRegister(instanceId, componentDefinition$
|
|
706
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$3);
|
|
568
707
|
return () => {
|
|
569
708
|
parentRegister(instanceId, null, null, null, null);
|
|
570
709
|
};
|
|
@@ -637,9 +776,9 @@ const OmbreComponent$57 = (props) => {
|
|
|
637
776
|
children: props.children
|
|
638
777
|
});
|
|
639
778
|
};
|
|
640
|
-
var
|
|
641
|
-
function computeEffectiveProps$56(props, defaultProps$
|
|
642
|
-
let baseProps = { ...defaultProps$
|
|
779
|
+
var Blob_default = OmbreComponent$57;
|
|
780
|
+
function computeEffectiveProps$56(props, defaultProps$61) {
|
|
781
|
+
let baseProps = { ...defaultProps$61 };
|
|
643
782
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
644
783
|
return baseProps;
|
|
645
784
|
}
|
|
@@ -658,7 +797,7 @@ var defaultProps$56 = {
|
|
|
658
797
|
visible: true
|
|
659
798
|
};
|
|
660
799
|
try {
|
|
661
|
-
if (componentDefinition$
|
|
800
|
+
if (componentDefinition$4 && componentDefinition$4.props) Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
662
801
|
const propConfig = config;
|
|
663
802
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$56[key] = propConfig.default;
|
|
664
803
|
});
|
|
@@ -670,7 +809,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
670
809
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
671
810
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
672
811
|
const instanceId = useMemo(() => {
|
|
673
|
-
return props.id || `${componentDefinition$
|
|
812
|
+
return props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
674
813
|
}, [props.id]);
|
|
675
814
|
const effectiveProps = useMemo(() => {
|
|
676
815
|
return computeEffectiveProps$56(props, defaultProps$56);
|
|
@@ -680,7 +819,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
680
819
|
...props.transform
|
|
681
820
|
}), [props.transform]);
|
|
682
821
|
const uniformsRef = useRef(null);
|
|
683
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
822
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$4, effectiveProps, instanceId);
|
|
684
823
|
const childContextValue = useMemo(() => {
|
|
685
824
|
return {
|
|
686
825
|
...context,
|
|
@@ -702,7 +841,7 @@ const OmbreComponent$56 = (props) => {
|
|
|
702
841
|
renderOrder: props.renderOrder || 0,
|
|
703
842
|
transform: effectiveTransform
|
|
704
843
|
};
|
|
705
|
-
parentRegister(instanceId, componentDefinition$
|
|
844
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$4);
|
|
706
845
|
return () => {
|
|
707
846
|
parentRegister(instanceId, null, null, null, null);
|
|
708
847
|
};
|
|
@@ -775,9 +914,9 @@ const OmbreComponent$56 = (props) => {
|
|
|
775
914
|
children: props.children
|
|
776
915
|
});
|
|
777
916
|
};
|
|
778
|
-
var
|
|
779
|
-
function computeEffectiveProps$55(props, defaultProps$
|
|
780
|
-
let baseProps = { ...defaultProps$
|
|
917
|
+
var Blur_default = OmbreComponent$56;
|
|
918
|
+
function computeEffectiveProps$55(props, defaultProps$61) {
|
|
919
|
+
let baseProps = { ...defaultProps$61 };
|
|
781
920
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
782
921
|
return baseProps;
|
|
783
922
|
}
|
|
@@ -796,7 +935,7 @@ var defaultProps$55 = {
|
|
|
796
935
|
visible: true
|
|
797
936
|
};
|
|
798
937
|
try {
|
|
799
|
-
if (componentDefinition$
|
|
938
|
+
if (componentDefinition$5 && componentDefinition$5.props) Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
800
939
|
const propConfig = config;
|
|
801
940
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$55[key] = propConfig.default;
|
|
802
941
|
});
|
|
@@ -808,7 +947,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
808
947
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
809
948
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
810
949
|
const instanceId = useMemo(() => {
|
|
811
|
-
return props.id || `${componentDefinition$
|
|
950
|
+
return props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
812
951
|
}, [props.id]);
|
|
813
952
|
const effectiveProps = useMemo(() => {
|
|
814
953
|
return computeEffectiveProps$55(props, defaultProps$55);
|
|
@@ -818,7 +957,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
818
957
|
...props.transform
|
|
819
958
|
}), [props.transform]);
|
|
820
959
|
const uniformsRef = useRef(null);
|
|
821
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
960
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$5, effectiveProps, instanceId);
|
|
822
961
|
const childContextValue = useMemo(() => {
|
|
823
962
|
return {
|
|
824
963
|
...context,
|
|
@@ -840,7 +979,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
840
979
|
renderOrder: props.renderOrder || 0,
|
|
841
980
|
transform: effectiveTransform
|
|
842
981
|
};
|
|
843
|
-
parentRegister(instanceId, componentDefinition$
|
|
982
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$5);
|
|
844
983
|
return () => {
|
|
845
984
|
parentRegister(instanceId, null, null, null, null);
|
|
846
985
|
};
|
|
@@ -913,9 +1052,9 @@ const OmbreComponent$55 = (props) => {
|
|
|
913
1052
|
children: props.children
|
|
914
1053
|
});
|
|
915
1054
|
};
|
|
916
|
-
var
|
|
917
|
-
function computeEffectiveProps$54(props, defaultProps$
|
|
918
|
-
let baseProps = { ...defaultProps$
|
|
1055
|
+
var BrightnessContrast_default = OmbreComponent$55;
|
|
1056
|
+
function computeEffectiveProps$54(props, defaultProps$61) {
|
|
1057
|
+
let baseProps = { ...defaultProps$61 };
|
|
919
1058
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
920
1059
|
return baseProps;
|
|
921
1060
|
}
|
|
@@ -934,7 +1073,7 @@ var defaultProps$54 = {
|
|
|
934
1073
|
visible: true
|
|
935
1074
|
};
|
|
936
1075
|
try {
|
|
937
|
-
if (componentDefinition$
|
|
1076
|
+
if (componentDefinition$6 && componentDefinition$6.props) Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
938
1077
|
const propConfig = config;
|
|
939
1078
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$54[key] = propConfig.default;
|
|
940
1079
|
});
|
|
@@ -946,7 +1085,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
946
1085
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
947
1086
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
948
1087
|
const instanceId = useMemo(() => {
|
|
949
|
-
return props.id || `${componentDefinition$
|
|
1088
|
+
return props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
950
1089
|
}, [props.id]);
|
|
951
1090
|
const effectiveProps = useMemo(() => {
|
|
952
1091
|
return computeEffectiveProps$54(props, defaultProps$54);
|
|
@@ -956,7 +1095,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
956
1095
|
...props.transform
|
|
957
1096
|
}), [props.transform]);
|
|
958
1097
|
const uniformsRef = useRef(null);
|
|
959
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1098
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$6, effectiveProps, instanceId);
|
|
960
1099
|
const childContextValue = useMemo(() => {
|
|
961
1100
|
return {
|
|
962
1101
|
...context,
|
|
@@ -978,7 +1117,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
978
1117
|
renderOrder: props.renderOrder || 0,
|
|
979
1118
|
transform: effectiveTransform
|
|
980
1119
|
};
|
|
981
|
-
parentRegister(instanceId, componentDefinition$
|
|
1120
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$6);
|
|
982
1121
|
return () => {
|
|
983
1122
|
parentRegister(instanceId, null, null, null, null);
|
|
984
1123
|
};
|
|
@@ -1051,9 +1190,9 @@ const OmbreComponent$54 = (props) => {
|
|
|
1051
1190
|
children: props.children
|
|
1052
1191
|
});
|
|
1053
1192
|
};
|
|
1054
|
-
var
|
|
1055
|
-
function computeEffectiveProps$53(props, defaultProps$
|
|
1056
|
-
let baseProps = { ...defaultProps$
|
|
1193
|
+
var Bulge_default = OmbreComponent$54;
|
|
1194
|
+
function computeEffectiveProps$53(props, defaultProps$61) {
|
|
1195
|
+
let baseProps = { ...defaultProps$61 };
|
|
1057
1196
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1058
1197
|
return baseProps;
|
|
1059
1198
|
}
|
|
@@ -1072,7 +1211,7 @@ var defaultProps$53 = {
|
|
|
1072
1211
|
visible: true
|
|
1073
1212
|
};
|
|
1074
1213
|
try {
|
|
1075
|
-
if (componentDefinition$
|
|
1214
|
+
if (componentDefinition$7 && componentDefinition$7.props) Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1076
1215
|
const propConfig = config;
|
|
1077
1216
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$53[key] = propConfig.default;
|
|
1078
1217
|
});
|
|
@@ -1084,7 +1223,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
1084
1223
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1085
1224
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1086
1225
|
const instanceId = useMemo(() => {
|
|
1087
|
-
return props.id || `${componentDefinition$
|
|
1226
|
+
return props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1088
1227
|
}, [props.id]);
|
|
1089
1228
|
const effectiveProps = useMemo(() => {
|
|
1090
1229
|
return computeEffectiveProps$53(props, defaultProps$53);
|
|
@@ -1094,7 +1233,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
1094
1233
|
...props.transform
|
|
1095
1234
|
}), [props.transform]);
|
|
1096
1235
|
const uniformsRef = useRef(null);
|
|
1097
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1236
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$7, effectiveProps, instanceId);
|
|
1098
1237
|
const childContextValue = useMemo(() => {
|
|
1099
1238
|
return {
|
|
1100
1239
|
...context,
|
|
@@ -1116,7 +1255,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
1116
1255
|
renderOrder: props.renderOrder || 0,
|
|
1117
1256
|
transform: effectiveTransform
|
|
1118
1257
|
};
|
|
1119
|
-
parentRegister(instanceId, componentDefinition$
|
|
1258
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$7);
|
|
1120
1259
|
return () => {
|
|
1121
1260
|
parentRegister(instanceId, null, null, null, null);
|
|
1122
1261
|
};
|
|
@@ -1189,9 +1328,9 @@ const OmbreComponent$53 = (props) => {
|
|
|
1189
1328
|
children: props.children
|
|
1190
1329
|
});
|
|
1191
1330
|
};
|
|
1192
|
-
var
|
|
1193
|
-
function computeEffectiveProps$52(props, defaultProps$
|
|
1194
|
-
let baseProps = { ...defaultProps$
|
|
1331
|
+
var CRTScreen_default = OmbreComponent$53;
|
|
1332
|
+
function computeEffectiveProps$52(props, defaultProps$61) {
|
|
1333
|
+
let baseProps = { ...defaultProps$61 };
|
|
1195
1334
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1196
1335
|
return baseProps;
|
|
1197
1336
|
}
|
|
@@ -1210,7 +1349,7 @@ var defaultProps$52 = {
|
|
|
1210
1349
|
visible: true
|
|
1211
1350
|
};
|
|
1212
1351
|
try {
|
|
1213
|
-
if (componentDefinition$
|
|
1352
|
+
if (componentDefinition$8 && componentDefinition$8.props) Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1214
1353
|
const propConfig = config;
|
|
1215
1354
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$52[key] = propConfig.default;
|
|
1216
1355
|
});
|
|
@@ -1222,7 +1361,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
1222
1361
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1223
1362
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1224
1363
|
const instanceId = useMemo(() => {
|
|
1225
|
-
return props.id || `${componentDefinition$
|
|
1364
|
+
return props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1226
1365
|
}, [props.id]);
|
|
1227
1366
|
const effectiveProps = useMemo(() => {
|
|
1228
1367
|
return computeEffectiveProps$52(props, defaultProps$52);
|
|
@@ -1232,7 +1371,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
1232
1371
|
...props.transform
|
|
1233
1372
|
}), [props.transform]);
|
|
1234
1373
|
const uniformsRef = useRef(null);
|
|
1235
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1374
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$8, effectiveProps, instanceId);
|
|
1236
1375
|
const childContextValue = useMemo(() => {
|
|
1237
1376
|
return {
|
|
1238
1377
|
...context,
|
|
@@ -1254,7 +1393,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
1254
1393
|
renderOrder: props.renderOrder || 0,
|
|
1255
1394
|
transform: effectiveTransform
|
|
1256
1395
|
};
|
|
1257
|
-
parentRegister(instanceId, componentDefinition$
|
|
1396
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$8);
|
|
1258
1397
|
return () => {
|
|
1259
1398
|
parentRegister(instanceId, null, null, null, null);
|
|
1260
1399
|
};
|
|
@@ -1327,9 +1466,9 @@ const OmbreComponent$52 = (props) => {
|
|
|
1327
1466
|
children: props.children
|
|
1328
1467
|
});
|
|
1329
1468
|
};
|
|
1330
|
-
var
|
|
1331
|
-
function computeEffectiveProps$51(props, defaultProps$
|
|
1332
|
-
let baseProps = { ...defaultProps$
|
|
1469
|
+
var ChannelBlur_default = OmbreComponent$52;
|
|
1470
|
+
function computeEffectiveProps$51(props, defaultProps$61) {
|
|
1471
|
+
let baseProps = { ...defaultProps$61 };
|
|
1333
1472
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1334
1473
|
return baseProps;
|
|
1335
1474
|
}
|
|
@@ -1348,7 +1487,7 @@ var defaultProps$51 = {
|
|
|
1348
1487
|
visible: true
|
|
1349
1488
|
};
|
|
1350
1489
|
try {
|
|
1351
|
-
if (componentDefinition$
|
|
1490
|
+
if (componentDefinition$9 && componentDefinition$9.props) Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1352
1491
|
const propConfig = config;
|
|
1353
1492
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$51[key] = propConfig.default;
|
|
1354
1493
|
});
|
|
@@ -1360,7 +1499,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1360
1499
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1361
1500
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1362
1501
|
const instanceId = useMemo(() => {
|
|
1363
|
-
return props.id || `${componentDefinition$
|
|
1502
|
+
return props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1364
1503
|
}, [props.id]);
|
|
1365
1504
|
const effectiveProps = useMemo(() => {
|
|
1366
1505
|
return computeEffectiveProps$51(props, defaultProps$51);
|
|
@@ -1370,7 +1509,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1370
1509
|
...props.transform
|
|
1371
1510
|
}), [props.transform]);
|
|
1372
1511
|
const uniformsRef = useRef(null);
|
|
1373
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1512
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$9, effectiveProps, instanceId);
|
|
1374
1513
|
const childContextValue = useMemo(() => {
|
|
1375
1514
|
return {
|
|
1376
1515
|
...context,
|
|
@@ -1392,7 +1531,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
1392
1531
|
renderOrder: props.renderOrder || 0,
|
|
1393
1532
|
transform: effectiveTransform
|
|
1394
1533
|
};
|
|
1395
|
-
parentRegister(instanceId, componentDefinition$
|
|
1534
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$9);
|
|
1396
1535
|
return () => {
|
|
1397
1536
|
parentRegister(instanceId, null, null, null, null);
|
|
1398
1537
|
};
|
|
@@ -1465,9 +1604,9 @@ const OmbreComponent$51 = (props) => {
|
|
|
1465
1604
|
children: props.children
|
|
1466
1605
|
});
|
|
1467
1606
|
};
|
|
1468
|
-
var
|
|
1469
|
-
function computeEffectiveProps$50(props, defaultProps$
|
|
1470
|
-
let baseProps = { ...defaultProps$
|
|
1607
|
+
var Checkerboard_default = OmbreComponent$51;
|
|
1608
|
+
function computeEffectiveProps$50(props, defaultProps$61) {
|
|
1609
|
+
let baseProps = { ...defaultProps$61 };
|
|
1471
1610
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1472
1611
|
return baseProps;
|
|
1473
1612
|
}
|
|
@@ -1486,7 +1625,7 @@ var defaultProps$50 = {
|
|
|
1486
1625
|
visible: true
|
|
1487
1626
|
};
|
|
1488
1627
|
try {
|
|
1489
|
-
if (componentDefinition$
|
|
1628
|
+
if (componentDefinition$10 && componentDefinition$10.props) Object.entries(componentDefinition$10.props).forEach(([key, config]) => {
|
|
1490
1629
|
const propConfig = config;
|
|
1491
1630
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$50[key] = propConfig.default;
|
|
1492
1631
|
});
|
|
@@ -1498,7 +1637,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1498
1637
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1499
1638
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1500
1639
|
const instanceId = useMemo(() => {
|
|
1501
|
-
return props.id || `${componentDefinition$
|
|
1640
|
+
return props.id || `${componentDefinition$10.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1502
1641
|
}, [props.id]);
|
|
1503
1642
|
const effectiveProps = useMemo(() => {
|
|
1504
1643
|
return computeEffectiveProps$50(props, defaultProps$50);
|
|
@@ -1508,7 +1647,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1508
1647
|
...props.transform
|
|
1509
1648
|
}), [props.transform]);
|
|
1510
1649
|
const uniformsRef = useRef(null);
|
|
1511
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1650
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$10, effectiveProps, instanceId);
|
|
1512
1651
|
const childContextValue = useMemo(() => {
|
|
1513
1652
|
return {
|
|
1514
1653
|
...context,
|
|
@@ -1530,7 +1669,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
1530
1669
|
renderOrder: props.renderOrder || 0,
|
|
1531
1670
|
transform: effectiveTransform
|
|
1532
1671
|
};
|
|
1533
|
-
parentRegister(instanceId, componentDefinition$
|
|
1672
|
+
parentRegister(instanceId, componentDefinition$10.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$10);
|
|
1534
1673
|
return () => {
|
|
1535
1674
|
parentRegister(instanceId, null, null, null, null);
|
|
1536
1675
|
};
|
|
@@ -1603,9 +1742,9 @@ const OmbreComponent$50 = (props) => {
|
|
|
1603
1742
|
children: props.children
|
|
1604
1743
|
});
|
|
1605
1744
|
};
|
|
1606
|
-
var
|
|
1607
|
-
function computeEffectiveProps$49(props, defaultProps$
|
|
1608
|
-
let baseProps = { ...defaultProps$
|
|
1745
|
+
var ChromaFlow_default = OmbreComponent$50;
|
|
1746
|
+
function computeEffectiveProps$49(props, defaultProps$61) {
|
|
1747
|
+
let baseProps = { ...defaultProps$61 };
|
|
1609
1748
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1610
1749
|
return baseProps;
|
|
1611
1750
|
}
|
|
@@ -1624,7 +1763,7 @@ var defaultProps$49 = {
|
|
|
1624
1763
|
visible: true
|
|
1625
1764
|
};
|
|
1626
1765
|
try {
|
|
1627
|
-
if (componentDefinition$
|
|
1766
|
+
if (componentDefinition$11 && componentDefinition$11.props) Object.entries(componentDefinition$11.props).forEach(([key, config]) => {
|
|
1628
1767
|
const propConfig = config;
|
|
1629
1768
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$49[key] = propConfig.default;
|
|
1630
1769
|
});
|
|
@@ -1636,7 +1775,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1636
1775
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1637
1776
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1638
1777
|
const instanceId = useMemo(() => {
|
|
1639
|
-
return props.id || `${componentDefinition$
|
|
1778
|
+
return props.id || `${componentDefinition$11.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1640
1779
|
}, [props.id]);
|
|
1641
1780
|
const effectiveProps = useMemo(() => {
|
|
1642
1781
|
return computeEffectiveProps$49(props, defaultProps$49);
|
|
@@ -1646,7 +1785,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1646
1785
|
...props.transform
|
|
1647
1786
|
}), [props.transform]);
|
|
1648
1787
|
const uniformsRef = useRef(null);
|
|
1649
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1788
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$11, effectiveProps, instanceId);
|
|
1650
1789
|
const childContextValue = useMemo(() => {
|
|
1651
1790
|
return {
|
|
1652
1791
|
...context,
|
|
@@ -1668,7 +1807,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1668
1807
|
renderOrder: props.renderOrder || 0,
|
|
1669
1808
|
transform: effectiveTransform
|
|
1670
1809
|
};
|
|
1671
|
-
parentRegister(instanceId, componentDefinition$
|
|
1810
|
+
parentRegister(instanceId, componentDefinition$11.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$11);
|
|
1672
1811
|
return () => {
|
|
1673
1812
|
parentRegister(instanceId, null, null, null, null);
|
|
1674
1813
|
};
|
|
@@ -1741,9 +1880,9 @@ const OmbreComponent$49 = (props) => {
|
|
|
1741
1880
|
children: props.children
|
|
1742
1881
|
});
|
|
1743
1882
|
};
|
|
1744
|
-
var
|
|
1745
|
-
function computeEffectiveProps$48(props, defaultProps$
|
|
1746
|
-
let baseProps = { ...defaultProps$
|
|
1883
|
+
var ChromaticAberration_default = OmbreComponent$49;
|
|
1884
|
+
function computeEffectiveProps$48(props, defaultProps$61) {
|
|
1885
|
+
let baseProps = { ...defaultProps$61 };
|
|
1747
1886
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1748
1887
|
return baseProps;
|
|
1749
1888
|
}
|
|
@@ -1762,7 +1901,7 @@ var defaultProps$48 = {
|
|
|
1762
1901
|
visible: true
|
|
1763
1902
|
};
|
|
1764
1903
|
try {
|
|
1765
|
-
if (componentDefinition$
|
|
1904
|
+
if (componentDefinition$12 && componentDefinition$12.props) Object.entries(componentDefinition$12.props).forEach(([key, config]) => {
|
|
1766
1905
|
const propConfig = config;
|
|
1767
1906
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$48[key] = propConfig.default;
|
|
1768
1907
|
});
|
|
@@ -1774,7 +1913,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1774
1913
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1775
1914
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1776
1915
|
const instanceId = useMemo(() => {
|
|
1777
|
-
return props.id || `${componentDefinition$
|
|
1916
|
+
return props.id || `${componentDefinition$12.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1778
1917
|
}, [props.id]);
|
|
1779
1918
|
const effectiveProps = useMemo(() => {
|
|
1780
1919
|
return computeEffectiveProps$48(props, defaultProps$48);
|
|
@@ -1784,7 +1923,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1784
1923
|
...props.transform
|
|
1785
1924
|
}), [props.transform]);
|
|
1786
1925
|
const uniformsRef = useRef(null);
|
|
1787
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1926
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$12, effectiveProps, instanceId);
|
|
1788
1927
|
const childContextValue = useMemo(() => {
|
|
1789
1928
|
return {
|
|
1790
1929
|
...context,
|
|
@@ -1806,7 +1945,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1806
1945
|
renderOrder: props.renderOrder || 0,
|
|
1807
1946
|
transform: effectiveTransform
|
|
1808
1947
|
};
|
|
1809
|
-
parentRegister(instanceId, componentDefinition$
|
|
1948
|
+
parentRegister(instanceId, componentDefinition$12.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$12);
|
|
1810
1949
|
return () => {
|
|
1811
1950
|
parentRegister(instanceId, null, null, null, null);
|
|
1812
1951
|
};
|
|
@@ -1879,9 +2018,9 @@ const OmbreComponent$48 = (props) => {
|
|
|
1879
2018
|
children: props.children
|
|
1880
2019
|
});
|
|
1881
2020
|
};
|
|
1882
|
-
var
|
|
1883
|
-
function computeEffectiveProps$47(props, defaultProps$
|
|
1884
|
-
let baseProps = { ...defaultProps$
|
|
2021
|
+
var Circle_default = OmbreComponent$48;
|
|
2022
|
+
function computeEffectiveProps$47(props, defaultProps$61) {
|
|
2023
|
+
let baseProps = { ...defaultProps$61 };
|
|
1885
2024
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1886
2025
|
return baseProps;
|
|
1887
2026
|
}
|
|
@@ -1900,7 +2039,7 @@ var defaultProps$47 = {
|
|
|
1900
2039
|
visible: true
|
|
1901
2040
|
};
|
|
1902
2041
|
try {
|
|
1903
|
-
if (componentDefinition$
|
|
2042
|
+
if (componentDefinition$13 && componentDefinition$13.props) Object.entries(componentDefinition$13.props).forEach(([key, config]) => {
|
|
1904
2043
|
const propConfig = config;
|
|
1905
2044
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$47[key] = propConfig.default;
|
|
1906
2045
|
});
|
|
@@ -1912,7 +2051,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1912
2051
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1913
2052
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1914
2053
|
const instanceId = useMemo(() => {
|
|
1915
|
-
return props.id || `${componentDefinition$
|
|
2054
|
+
return props.id || `${componentDefinition$13.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1916
2055
|
}, [props.id]);
|
|
1917
2056
|
const effectiveProps = useMemo(() => {
|
|
1918
2057
|
return computeEffectiveProps$47(props, defaultProps$47);
|
|
@@ -1922,7 +2061,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1922
2061
|
...props.transform
|
|
1923
2062
|
}), [props.transform]);
|
|
1924
2063
|
const uniformsRef = useRef(null);
|
|
1925
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2064
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$13, effectiveProps, instanceId);
|
|
1926
2065
|
const childContextValue = useMemo(() => {
|
|
1927
2066
|
return {
|
|
1928
2067
|
...context,
|
|
@@ -1944,7 +2083,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1944
2083
|
renderOrder: props.renderOrder || 0,
|
|
1945
2084
|
transform: effectiveTransform
|
|
1946
2085
|
};
|
|
1947
|
-
parentRegister(instanceId, componentDefinition$
|
|
2086
|
+
parentRegister(instanceId, componentDefinition$13.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$13);
|
|
1948
2087
|
return () => {
|
|
1949
2088
|
parentRegister(instanceId, null, null, null, null);
|
|
1950
2089
|
};
|
|
@@ -2017,9 +2156,9 @@ const OmbreComponent$47 = (props) => {
|
|
|
2017
2156
|
children: props.children
|
|
2018
2157
|
});
|
|
2019
2158
|
};
|
|
2020
|
-
var
|
|
2021
|
-
function computeEffectiveProps$46(props, defaultProps$
|
|
2022
|
-
let baseProps = { ...defaultProps$
|
|
2159
|
+
var CursorTrail_default = OmbreComponent$47;
|
|
2160
|
+
function computeEffectiveProps$46(props, defaultProps$61) {
|
|
2161
|
+
let baseProps = { ...defaultProps$61 };
|
|
2023
2162
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2024
2163
|
return baseProps;
|
|
2025
2164
|
}
|
|
@@ -2038,7 +2177,7 @@ var defaultProps$46 = {
|
|
|
2038
2177
|
visible: true
|
|
2039
2178
|
};
|
|
2040
2179
|
try {
|
|
2041
|
-
if (componentDefinition$
|
|
2180
|
+
if (componentDefinition$14 && componentDefinition$14.props) Object.entries(componentDefinition$14.props).forEach(([key, config]) => {
|
|
2042
2181
|
const propConfig = config;
|
|
2043
2182
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$46[key] = propConfig.default;
|
|
2044
2183
|
});
|
|
@@ -2050,7 +2189,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
2050
2189
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2051
2190
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2052
2191
|
const instanceId = useMemo(() => {
|
|
2053
|
-
return props.id || `${componentDefinition$
|
|
2192
|
+
return props.id || `${componentDefinition$14.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2054
2193
|
}, [props.id]);
|
|
2055
2194
|
const effectiveProps = useMemo(() => {
|
|
2056
2195
|
return computeEffectiveProps$46(props, defaultProps$46);
|
|
@@ -2060,7 +2199,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
2060
2199
|
...props.transform
|
|
2061
2200
|
}), [props.transform]);
|
|
2062
2201
|
const uniformsRef = useRef(null);
|
|
2063
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2202
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$14, effectiveProps, instanceId);
|
|
2064
2203
|
const childContextValue = useMemo(() => {
|
|
2065
2204
|
return {
|
|
2066
2205
|
...context,
|
|
@@ -2082,7 +2221,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
2082
2221
|
renderOrder: props.renderOrder || 0,
|
|
2083
2222
|
transform: effectiveTransform
|
|
2084
2223
|
};
|
|
2085
|
-
parentRegister(instanceId, componentDefinition$
|
|
2224
|
+
parentRegister(instanceId, componentDefinition$14.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$14);
|
|
2086
2225
|
return () => {
|
|
2087
2226
|
parentRegister(instanceId, null, null, null, null);
|
|
2088
2227
|
};
|
|
@@ -2155,9 +2294,9 @@ const OmbreComponent$46 = (props) => {
|
|
|
2155
2294
|
children: props.children
|
|
2156
2295
|
});
|
|
2157
2296
|
};
|
|
2158
|
-
var
|
|
2159
|
-
function computeEffectiveProps$45(props, defaultProps$
|
|
2160
|
-
let baseProps = { ...defaultProps$
|
|
2297
|
+
var DiffuseBlur_default = OmbreComponent$46;
|
|
2298
|
+
function computeEffectiveProps$45(props, defaultProps$61) {
|
|
2299
|
+
let baseProps = { ...defaultProps$61 };
|
|
2161
2300
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2162
2301
|
return baseProps;
|
|
2163
2302
|
}
|
|
@@ -2176,7 +2315,7 @@ var defaultProps$45 = {
|
|
|
2176
2315
|
visible: true
|
|
2177
2316
|
};
|
|
2178
2317
|
try {
|
|
2179
|
-
if (componentDefinition$
|
|
2318
|
+
if (componentDefinition$15 && componentDefinition$15.props) Object.entries(componentDefinition$15.props).forEach(([key, config]) => {
|
|
2180
2319
|
const propConfig = config;
|
|
2181
2320
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$45[key] = propConfig.default;
|
|
2182
2321
|
});
|
|
@@ -2188,7 +2327,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
2188
2327
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2189
2328
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2190
2329
|
const instanceId = useMemo(() => {
|
|
2191
|
-
return props.id || `${componentDefinition$
|
|
2330
|
+
return props.id || `${componentDefinition$15.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2192
2331
|
}, [props.id]);
|
|
2193
2332
|
const effectiveProps = useMemo(() => {
|
|
2194
2333
|
return computeEffectiveProps$45(props, defaultProps$45);
|
|
@@ -2198,7 +2337,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
2198
2337
|
...props.transform
|
|
2199
2338
|
}), [props.transform]);
|
|
2200
2339
|
const uniformsRef = useRef(null);
|
|
2201
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2340
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$15, effectiveProps, instanceId);
|
|
2202
2341
|
const childContextValue = useMemo(() => {
|
|
2203
2342
|
return {
|
|
2204
2343
|
...context,
|
|
@@ -2220,7 +2359,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
2220
2359
|
renderOrder: props.renderOrder || 0,
|
|
2221
2360
|
transform: effectiveTransform
|
|
2222
2361
|
};
|
|
2223
|
-
parentRegister(instanceId, componentDefinition$
|
|
2362
|
+
parentRegister(instanceId, componentDefinition$15.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$15);
|
|
2224
2363
|
return () => {
|
|
2225
2364
|
parentRegister(instanceId, null, null, null, null);
|
|
2226
2365
|
};
|
|
@@ -2293,9 +2432,9 @@ const OmbreComponent$45 = (props) => {
|
|
|
2293
2432
|
children: props.children
|
|
2294
2433
|
});
|
|
2295
2434
|
};
|
|
2296
|
-
var
|
|
2297
|
-
function computeEffectiveProps$44(props, defaultProps$
|
|
2298
|
-
let baseProps = { ...defaultProps$
|
|
2435
|
+
var Dither_default = OmbreComponent$45;
|
|
2436
|
+
function computeEffectiveProps$44(props, defaultProps$61) {
|
|
2437
|
+
let baseProps = { ...defaultProps$61 };
|
|
2299
2438
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2300
2439
|
return baseProps;
|
|
2301
2440
|
}
|
|
@@ -2314,7 +2453,7 @@ var defaultProps$44 = {
|
|
|
2314
2453
|
visible: true
|
|
2315
2454
|
};
|
|
2316
2455
|
try {
|
|
2317
|
-
if (componentDefinition$
|
|
2456
|
+
if (componentDefinition$16 && componentDefinition$16.props) Object.entries(componentDefinition$16.props).forEach(([key, config]) => {
|
|
2318
2457
|
const propConfig = config;
|
|
2319
2458
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$44[key] = propConfig.default;
|
|
2320
2459
|
});
|
|
@@ -2326,7 +2465,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2326
2465
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2327
2466
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2328
2467
|
const instanceId = useMemo(() => {
|
|
2329
|
-
return props.id || `${componentDefinition$
|
|
2468
|
+
return props.id || `${componentDefinition$16.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2330
2469
|
}, [props.id]);
|
|
2331
2470
|
const effectiveProps = useMemo(() => {
|
|
2332
2471
|
return computeEffectiveProps$44(props, defaultProps$44);
|
|
@@ -2336,7 +2475,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2336
2475
|
...props.transform
|
|
2337
2476
|
}), [props.transform]);
|
|
2338
2477
|
const uniformsRef = useRef(null);
|
|
2339
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2478
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$16, effectiveProps, instanceId);
|
|
2340
2479
|
const childContextValue = useMemo(() => {
|
|
2341
2480
|
return {
|
|
2342
2481
|
...context,
|
|
@@ -2358,7 +2497,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
2358
2497
|
renderOrder: props.renderOrder || 0,
|
|
2359
2498
|
transform: effectiveTransform
|
|
2360
2499
|
};
|
|
2361
|
-
parentRegister(instanceId, componentDefinition$
|
|
2500
|
+
parentRegister(instanceId, componentDefinition$16.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$16);
|
|
2362
2501
|
return () => {
|
|
2363
2502
|
parentRegister(instanceId, null, null, null, null);
|
|
2364
2503
|
};
|
|
@@ -2431,9 +2570,9 @@ const OmbreComponent$44 = (props) => {
|
|
|
2431
2570
|
children: props.children
|
|
2432
2571
|
});
|
|
2433
2572
|
};
|
|
2434
|
-
var
|
|
2435
|
-
function computeEffectiveProps$43(props, defaultProps$
|
|
2436
|
-
let baseProps = { ...defaultProps$
|
|
2573
|
+
var DotGrid_default = OmbreComponent$44;
|
|
2574
|
+
function computeEffectiveProps$43(props, defaultProps$61) {
|
|
2575
|
+
let baseProps = { ...defaultProps$61 };
|
|
2437
2576
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2438
2577
|
return baseProps;
|
|
2439
2578
|
}
|
|
@@ -2452,7 +2591,7 @@ var defaultProps$43 = {
|
|
|
2452
2591
|
visible: true
|
|
2453
2592
|
};
|
|
2454
2593
|
try {
|
|
2455
|
-
if (componentDefinition$
|
|
2594
|
+
if (componentDefinition$17 && componentDefinition$17.props) Object.entries(componentDefinition$17.props).forEach(([key, config]) => {
|
|
2456
2595
|
const propConfig = config;
|
|
2457
2596
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$43[key] = propConfig.default;
|
|
2458
2597
|
});
|
|
@@ -2464,7 +2603,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2464
2603
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2465
2604
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2466
2605
|
const instanceId = useMemo(() => {
|
|
2467
|
-
return props.id || `${componentDefinition$
|
|
2606
|
+
return props.id || `${componentDefinition$17.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2468
2607
|
}, [props.id]);
|
|
2469
2608
|
const effectiveProps = useMemo(() => {
|
|
2470
2609
|
return computeEffectiveProps$43(props, defaultProps$43);
|
|
@@ -2474,7 +2613,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2474
2613
|
...props.transform
|
|
2475
2614
|
}), [props.transform]);
|
|
2476
2615
|
const uniformsRef = useRef(null);
|
|
2477
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2616
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$17, effectiveProps, instanceId);
|
|
2478
2617
|
const childContextValue = useMemo(() => {
|
|
2479
2618
|
return {
|
|
2480
2619
|
...context,
|
|
@@ -2496,7 +2635,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
2496
2635
|
renderOrder: props.renderOrder || 0,
|
|
2497
2636
|
transform: effectiveTransform
|
|
2498
2637
|
};
|
|
2499
|
-
parentRegister(instanceId, componentDefinition$
|
|
2638
|
+
parentRegister(instanceId, componentDefinition$17.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$17);
|
|
2500
2639
|
return () => {
|
|
2501
2640
|
parentRegister(instanceId, null, null, null, null);
|
|
2502
2641
|
};
|
|
@@ -2569,9 +2708,9 @@ const OmbreComponent$43 = (props) => {
|
|
|
2569
2708
|
children: props.children
|
|
2570
2709
|
});
|
|
2571
2710
|
};
|
|
2572
|
-
var
|
|
2573
|
-
function computeEffectiveProps$42(props, defaultProps$
|
|
2574
|
-
let baseProps = { ...defaultProps$
|
|
2711
|
+
var Duotone_default = OmbreComponent$43;
|
|
2712
|
+
function computeEffectiveProps$42(props, defaultProps$61) {
|
|
2713
|
+
let baseProps = { ...defaultProps$61 };
|
|
2575
2714
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2576
2715
|
return baseProps;
|
|
2577
2716
|
}
|
|
@@ -2590,7 +2729,7 @@ var defaultProps$42 = {
|
|
|
2590
2729
|
visible: true
|
|
2591
2730
|
};
|
|
2592
2731
|
try {
|
|
2593
|
-
if (componentDefinition$
|
|
2732
|
+
if (componentDefinition$18 && componentDefinition$18.props) Object.entries(componentDefinition$18.props).forEach(([key, config]) => {
|
|
2594
2733
|
const propConfig = config;
|
|
2595
2734
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$42[key] = propConfig.default;
|
|
2596
2735
|
});
|
|
@@ -2602,7 +2741,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2602
2741
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2603
2742
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2604
2743
|
const instanceId = useMemo(() => {
|
|
2605
|
-
return props.id || `${componentDefinition$
|
|
2744
|
+
return props.id || `${componentDefinition$18.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2606
2745
|
}, [props.id]);
|
|
2607
2746
|
const effectiveProps = useMemo(() => {
|
|
2608
2747
|
return computeEffectiveProps$42(props, defaultProps$42);
|
|
@@ -2612,7 +2751,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2612
2751
|
...props.transform
|
|
2613
2752
|
}), [props.transform]);
|
|
2614
2753
|
const uniformsRef = useRef(null);
|
|
2615
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2754
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$18, effectiveProps, instanceId);
|
|
2616
2755
|
const childContextValue = useMemo(() => {
|
|
2617
2756
|
return {
|
|
2618
2757
|
...context,
|
|
@@ -2634,7 +2773,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2634
2773
|
renderOrder: props.renderOrder || 0,
|
|
2635
2774
|
transform: effectiveTransform
|
|
2636
2775
|
};
|
|
2637
|
-
parentRegister(instanceId, componentDefinition$
|
|
2776
|
+
parentRegister(instanceId, componentDefinition$18.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$18);
|
|
2638
2777
|
return () => {
|
|
2639
2778
|
parentRegister(instanceId, null, null, null, null);
|
|
2640
2779
|
};
|
|
@@ -2707,9 +2846,9 @@ const OmbreComponent$42 = (props) => {
|
|
|
2707
2846
|
children: props.children
|
|
2708
2847
|
});
|
|
2709
2848
|
};
|
|
2710
|
-
var
|
|
2711
|
-
function computeEffectiveProps$41(props, defaultProps$
|
|
2712
|
-
let baseProps = { ...defaultProps$
|
|
2849
|
+
var FilmGrain_default = OmbreComponent$42;
|
|
2850
|
+
function computeEffectiveProps$41(props, defaultProps$61) {
|
|
2851
|
+
let baseProps = { ...defaultProps$61 };
|
|
2713
2852
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2714
2853
|
return baseProps;
|
|
2715
2854
|
}
|
|
@@ -2728,7 +2867,7 @@ var defaultProps$41 = {
|
|
|
2728
2867
|
visible: true
|
|
2729
2868
|
};
|
|
2730
2869
|
try {
|
|
2731
|
-
if (componentDefinition$
|
|
2870
|
+
if (componentDefinition$19 && componentDefinition$19.props) Object.entries(componentDefinition$19.props).forEach(([key, config]) => {
|
|
2732
2871
|
const propConfig = config;
|
|
2733
2872
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$41[key] = propConfig.default;
|
|
2734
2873
|
});
|
|
@@ -2740,7 +2879,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2740
2879
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2741
2880
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2742
2881
|
const instanceId = useMemo(() => {
|
|
2743
|
-
return props.id || `${componentDefinition$
|
|
2882
|
+
return props.id || `${componentDefinition$19.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2744
2883
|
}, [props.id]);
|
|
2745
2884
|
const effectiveProps = useMemo(() => {
|
|
2746
2885
|
return computeEffectiveProps$41(props, defaultProps$41);
|
|
@@ -2750,7 +2889,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2750
2889
|
...props.transform
|
|
2751
2890
|
}), [props.transform]);
|
|
2752
2891
|
const uniformsRef = useRef(null);
|
|
2753
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2892
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$19, effectiveProps, instanceId);
|
|
2754
2893
|
const childContextValue = useMemo(() => {
|
|
2755
2894
|
return {
|
|
2756
2895
|
...context,
|
|
@@ -2772,7 +2911,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2772
2911
|
renderOrder: props.renderOrder || 0,
|
|
2773
2912
|
transform: effectiveTransform
|
|
2774
2913
|
};
|
|
2775
|
-
parentRegister(instanceId, componentDefinition$
|
|
2914
|
+
parentRegister(instanceId, componentDefinition$19.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$19);
|
|
2776
2915
|
return () => {
|
|
2777
2916
|
parentRegister(instanceId, null, null, null, null);
|
|
2778
2917
|
};
|
|
@@ -2845,9 +2984,9 @@ const OmbreComponent$41 = (props) => {
|
|
|
2845
2984
|
children: props.children
|
|
2846
2985
|
});
|
|
2847
2986
|
};
|
|
2848
|
-
var
|
|
2849
|
-
function computeEffectiveProps$40(props, defaultProps$
|
|
2850
|
-
let baseProps = { ...defaultProps$
|
|
2987
|
+
var FloatingParticles_default = OmbreComponent$41;
|
|
2988
|
+
function computeEffectiveProps$40(props, defaultProps$61) {
|
|
2989
|
+
let baseProps = { ...defaultProps$61 };
|
|
2851
2990
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2852
2991
|
return baseProps;
|
|
2853
2992
|
}
|
|
@@ -2866,7 +3005,7 @@ var defaultProps$40 = {
|
|
|
2866
3005
|
visible: true
|
|
2867
3006
|
};
|
|
2868
3007
|
try {
|
|
2869
|
-
if (componentDefinition$
|
|
3008
|
+
if (componentDefinition$20 && componentDefinition$20.props) Object.entries(componentDefinition$20.props).forEach(([key, config]) => {
|
|
2870
3009
|
const propConfig = config;
|
|
2871
3010
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$40[key] = propConfig.default;
|
|
2872
3011
|
});
|
|
@@ -2878,7 +3017,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2878
3017
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2879
3018
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2880
3019
|
const instanceId = useMemo(() => {
|
|
2881
|
-
return props.id || `${componentDefinition$
|
|
3020
|
+
return props.id || `${componentDefinition$20.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2882
3021
|
}, [props.id]);
|
|
2883
3022
|
const effectiveProps = useMemo(() => {
|
|
2884
3023
|
return computeEffectiveProps$40(props, defaultProps$40);
|
|
@@ -2888,7 +3027,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2888
3027
|
...props.transform
|
|
2889
3028
|
}), [props.transform]);
|
|
2890
3029
|
const uniformsRef = useRef(null);
|
|
2891
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3030
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$20, effectiveProps, instanceId);
|
|
2892
3031
|
const childContextValue = useMemo(() => {
|
|
2893
3032
|
return {
|
|
2894
3033
|
...context,
|
|
@@ -2910,7 +3049,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2910
3049
|
renderOrder: props.renderOrder || 0,
|
|
2911
3050
|
transform: effectiveTransform
|
|
2912
3051
|
};
|
|
2913
|
-
parentRegister(instanceId, componentDefinition$
|
|
3052
|
+
parentRegister(instanceId, componentDefinition$20.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$20);
|
|
2914
3053
|
return () => {
|
|
2915
3054
|
parentRegister(instanceId, null, null, null, null);
|
|
2916
3055
|
};
|
|
@@ -2983,9 +3122,9 @@ const OmbreComponent$40 = (props) => {
|
|
|
2983
3122
|
children: props.children
|
|
2984
3123
|
});
|
|
2985
3124
|
};
|
|
2986
|
-
var
|
|
2987
|
-
function computeEffectiveProps$39(props, defaultProps$
|
|
2988
|
-
let baseProps = { ...defaultProps$
|
|
3125
|
+
var GlassTiles_default = OmbreComponent$40;
|
|
3126
|
+
function computeEffectiveProps$39(props, defaultProps$61) {
|
|
3127
|
+
let baseProps = { ...defaultProps$61 };
|
|
2989
3128
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2990
3129
|
return baseProps;
|
|
2991
3130
|
}
|
|
@@ -3004,7 +3143,7 @@ var defaultProps$39 = {
|
|
|
3004
3143
|
visible: true
|
|
3005
3144
|
};
|
|
3006
3145
|
try {
|
|
3007
|
-
if (componentDefinition$
|
|
3146
|
+
if (componentDefinition$21 && componentDefinition$21.props) Object.entries(componentDefinition$21.props).forEach(([key, config]) => {
|
|
3008
3147
|
const propConfig = config;
|
|
3009
3148
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$39[key] = propConfig.default;
|
|
3010
3149
|
});
|
|
@@ -3016,7 +3155,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
3016
3155
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3017
3156
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3018
3157
|
const instanceId = useMemo(() => {
|
|
3019
|
-
return props.id || `${componentDefinition$
|
|
3158
|
+
return props.id || `${componentDefinition$21.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3020
3159
|
}, [props.id]);
|
|
3021
3160
|
const effectiveProps = useMemo(() => {
|
|
3022
3161
|
return computeEffectiveProps$39(props, defaultProps$39);
|
|
@@ -3026,7 +3165,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
3026
3165
|
...props.transform
|
|
3027
3166
|
}), [props.transform]);
|
|
3028
3167
|
const uniformsRef = useRef(null);
|
|
3029
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3168
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$21, effectiveProps, instanceId);
|
|
3030
3169
|
const childContextValue = useMemo(() => {
|
|
3031
3170
|
return {
|
|
3032
3171
|
...context,
|
|
@@ -3048,7 +3187,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
3048
3187
|
renderOrder: props.renderOrder || 0,
|
|
3049
3188
|
transform: effectiveTransform
|
|
3050
3189
|
};
|
|
3051
|
-
parentRegister(instanceId, componentDefinition$
|
|
3190
|
+
parentRegister(instanceId, componentDefinition$21.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$21);
|
|
3052
3191
|
return () => {
|
|
3053
3192
|
parentRegister(instanceId, null, null, null, null);
|
|
3054
3193
|
};
|
|
@@ -3121,9 +3260,9 @@ const OmbreComponent$39 = (props) => {
|
|
|
3121
3260
|
children: props.children
|
|
3122
3261
|
});
|
|
3123
3262
|
};
|
|
3124
|
-
var
|
|
3125
|
-
function computeEffectiveProps$38(props, defaultProps$
|
|
3126
|
-
let baseProps = { ...defaultProps$
|
|
3263
|
+
var Glow_default = OmbreComponent$39;
|
|
3264
|
+
function computeEffectiveProps$38(props, defaultProps$61) {
|
|
3265
|
+
let baseProps = { ...defaultProps$61 };
|
|
3127
3266
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3128
3267
|
return baseProps;
|
|
3129
3268
|
}
|
|
@@ -3142,7 +3281,7 @@ var defaultProps$38 = {
|
|
|
3142
3281
|
visible: true
|
|
3143
3282
|
};
|
|
3144
3283
|
try {
|
|
3145
|
-
if (componentDefinition$
|
|
3284
|
+
if (componentDefinition$22 && componentDefinition$22.props) Object.entries(componentDefinition$22.props).forEach(([key, config]) => {
|
|
3146
3285
|
const propConfig = config;
|
|
3147
3286
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$38[key] = propConfig.default;
|
|
3148
3287
|
});
|
|
@@ -3154,7 +3293,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
3154
3293
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3155
3294
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3156
3295
|
const instanceId = useMemo(() => {
|
|
3157
|
-
return props.id || `${componentDefinition$
|
|
3296
|
+
return props.id || `${componentDefinition$22.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3158
3297
|
}, [props.id]);
|
|
3159
3298
|
const effectiveProps = useMemo(() => {
|
|
3160
3299
|
return computeEffectiveProps$38(props, defaultProps$38);
|
|
@@ -3164,7 +3303,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
3164
3303
|
...props.transform
|
|
3165
3304
|
}), [props.transform]);
|
|
3166
3305
|
const uniformsRef = useRef(null);
|
|
3167
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3306
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$22, effectiveProps, instanceId);
|
|
3168
3307
|
const childContextValue = useMemo(() => {
|
|
3169
3308
|
return {
|
|
3170
3309
|
...context,
|
|
@@ -3186,7 +3325,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
3186
3325
|
renderOrder: props.renderOrder || 0,
|
|
3187
3326
|
transform: effectiveTransform
|
|
3188
3327
|
};
|
|
3189
|
-
parentRegister(instanceId, componentDefinition$
|
|
3328
|
+
parentRegister(instanceId, componentDefinition$22.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$22);
|
|
3190
3329
|
return () => {
|
|
3191
3330
|
parentRegister(instanceId, null, null, null, null);
|
|
3192
3331
|
};
|
|
@@ -3259,9 +3398,9 @@ const OmbreComponent$38 = (props) => {
|
|
|
3259
3398
|
children: props.children
|
|
3260
3399
|
});
|
|
3261
3400
|
};
|
|
3262
|
-
var
|
|
3263
|
-
function computeEffectiveProps$37(props, defaultProps$
|
|
3264
|
-
let baseProps = { ...defaultProps$
|
|
3401
|
+
var Godrays_default = OmbreComponent$38;
|
|
3402
|
+
function computeEffectiveProps$37(props, defaultProps$61) {
|
|
3403
|
+
let baseProps = { ...defaultProps$61 };
|
|
3265
3404
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3266
3405
|
return baseProps;
|
|
3267
3406
|
}
|
|
@@ -3280,7 +3419,7 @@ var defaultProps$37 = {
|
|
|
3280
3419
|
visible: true
|
|
3281
3420
|
};
|
|
3282
3421
|
try {
|
|
3283
|
-
if (componentDefinition$
|
|
3422
|
+
if (componentDefinition$23 && componentDefinition$23.props) Object.entries(componentDefinition$23.props).forEach(([key, config]) => {
|
|
3284
3423
|
const propConfig = config;
|
|
3285
3424
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$37[key] = propConfig.default;
|
|
3286
3425
|
});
|
|
@@ -3292,7 +3431,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3292
3431
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3293
3432
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3294
3433
|
const instanceId = useMemo(() => {
|
|
3295
|
-
return props.id || `${componentDefinition$
|
|
3434
|
+
return props.id || `${componentDefinition$23.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3296
3435
|
}, [props.id]);
|
|
3297
3436
|
const effectiveProps = useMemo(() => {
|
|
3298
3437
|
return computeEffectiveProps$37(props, defaultProps$37);
|
|
@@ -3302,7 +3441,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3302
3441
|
...props.transform
|
|
3303
3442
|
}), [props.transform]);
|
|
3304
3443
|
const uniformsRef = useRef(null);
|
|
3305
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3444
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$23, effectiveProps, instanceId);
|
|
3306
3445
|
const childContextValue = useMemo(() => {
|
|
3307
3446
|
return {
|
|
3308
3447
|
...context,
|
|
@@ -3324,7 +3463,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
3324
3463
|
renderOrder: props.renderOrder || 0,
|
|
3325
3464
|
transform: effectiveTransform
|
|
3326
3465
|
};
|
|
3327
|
-
parentRegister(instanceId, componentDefinition$
|
|
3466
|
+
parentRegister(instanceId, componentDefinition$23.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$23);
|
|
3328
3467
|
return () => {
|
|
3329
3468
|
parentRegister(instanceId, null, null, null, null);
|
|
3330
3469
|
};
|
|
@@ -3397,9 +3536,9 @@ const OmbreComponent$37 = (props) => {
|
|
|
3397
3536
|
children: props.children
|
|
3398
3537
|
});
|
|
3399
3538
|
};
|
|
3400
|
-
var
|
|
3401
|
-
function computeEffectiveProps$36(props, defaultProps$
|
|
3402
|
-
let baseProps = { ...defaultProps$
|
|
3539
|
+
var Grayscale_default = OmbreComponent$37;
|
|
3540
|
+
function computeEffectiveProps$36(props, defaultProps$61) {
|
|
3541
|
+
let baseProps = { ...defaultProps$61 };
|
|
3403
3542
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3404
3543
|
return baseProps;
|
|
3405
3544
|
}
|
|
@@ -3418,7 +3557,7 @@ var defaultProps$36 = {
|
|
|
3418
3557
|
visible: true
|
|
3419
3558
|
};
|
|
3420
3559
|
try {
|
|
3421
|
-
if (componentDefinition$
|
|
3560
|
+
if (componentDefinition$24 && componentDefinition$24.props) Object.entries(componentDefinition$24.props).forEach(([key, config]) => {
|
|
3422
3561
|
const propConfig = config;
|
|
3423
3562
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$36[key] = propConfig.default;
|
|
3424
3563
|
});
|
|
@@ -3430,7 +3569,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3430
3569
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3431
3570
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3432
3571
|
const instanceId = useMemo(() => {
|
|
3433
|
-
return props.id || `${componentDefinition$
|
|
3572
|
+
return props.id || `${componentDefinition$24.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3434
3573
|
}, [props.id]);
|
|
3435
3574
|
const effectiveProps = useMemo(() => {
|
|
3436
3575
|
return computeEffectiveProps$36(props, defaultProps$36);
|
|
@@ -3440,7 +3579,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3440
3579
|
...props.transform
|
|
3441
3580
|
}), [props.transform]);
|
|
3442
3581
|
const uniformsRef = useRef(null);
|
|
3443
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3582
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$24, effectiveProps, instanceId);
|
|
3444
3583
|
const childContextValue = useMemo(() => {
|
|
3445
3584
|
return {
|
|
3446
3585
|
...context,
|
|
@@ -3462,7 +3601,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
3462
3601
|
renderOrder: props.renderOrder || 0,
|
|
3463
3602
|
transform: effectiveTransform
|
|
3464
3603
|
};
|
|
3465
|
-
parentRegister(instanceId, componentDefinition$
|
|
3604
|
+
parentRegister(instanceId, componentDefinition$24.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$24);
|
|
3466
3605
|
return () => {
|
|
3467
3606
|
parentRegister(instanceId, null, null, null, null);
|
|
3468
3607
|
};
|
|
@@ -3535,9 +3674,9 @@ const OmbreComponent$36 = (props) => {
|
|
|
3535
3674
|
children: props.children
|
|
3536
3675
|
});
|
|
3537
3676
|
};
|
|
3538
|
-
var
|
|
3539
|
-
function computeEffectiveProps$35(props, defaultProps$
|
|
3540
|
-
let baseProps = { ...defaultProps$
|
|
3677
|
+
var Grid_default = OmbreComponent$36;
|
|
3678
|
+
function computeEffectiveProps$35(props, defaultProps$61) {
|
|
3679
|
+
let baseProps = { ...defaultProps$61 };
|
|
3541
3680
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3542
3681
|
return baseProps;
|
|
3543
3682
|
}
|
|
@@ -3556,7 +3695,7 @@ var defaultProps$35 = {
|
|
|
3556
3695
|
visible: true
|
|
3557
3696
|
};
|
|
3558
3697
|
try {
|
|
3559
|
-
if (componentDefinition$
|
|
3698
|
+
if (componentDefinition$25 && componentDefinition$25.props) Object.entries(componentDefinition$25.props).forEach(([key, config]) => {
|
|
3560
3699
|
const propConfig = config;
|
|
3561
3700
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$35[key] = propConfig.default;
|
|
3562
3701
|
});
|
|
@@ -3568,7 +3707,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3568
3707
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3569
3708
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3570
3709
|
const instanceId = useMemo(() => {
|
|
3571
|
-
return props.id || `${componentDefinition$
|
|
3710
|
+
return props.id || `${componentDefinition$25.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3572
3711
|
}, [props.id]);
|
|
3573
3712
|
const effectiveProps = useMemo(() => {
|
|
3574
3713
|
return computeEffectiveProps$35(props, defaultProps$35);
|
|
@@ -3578,7 +3717,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3578
3717
|
...props.transform
|
|
3579
3718
|
}), [props.transform]);
|
|
3580
3719
|
const uniformsRef = useRef(null);
|
|
3581
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3720
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$25, effectiveProps, instanceId);
|
|
3582
3721
|
const childContextValue = useMemo(() => {
|
|
3583
3722
|
return {
|
|
3584
3723
|
...context,
|
|
@@ -3600,7 +3739,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3600
3739
|
renderOrder: props.renderOrder || 0,
|
|
3601
3740
|
transform: effectiveTransform
|
|
3602
3741
|
};
|
|
3603
|
-
parentRegister(instanceId, componentDefinition$
|
|
3742
|
+
parentRegister(instanceId, componentDefinition$25.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$25);
|
|
3604
3743
|
return () => {
|
|
3605
3744
|
parentRegister(instanceId, null, null, null, null);
|
|
3606
3745
|
};
|
|
@@ -3673,9 +3812,9 @@ const OmbreComponent$35 = (props) => {
|
|
|
3673
3812
|
children: props.children
|
|
3674
3813
|
});
|
|
3675
3814
|
};
|
|
3676
|
-
var
|
|
3677
|
-
function computeEffectiveProps$34(props, defaultProps$
|
|
3678
|
-
let baseProps = { ...defaultProps$
|
|
3815
|
+
var GridDistortion_default = OmbreComponent$35;
|
|
3816
|
+
function computeEffectiveProps$34(props, defaultProps$61) {
|
|
3817
|
+
let baseProps = { ...defaultProps$61 };
|
|
3679
3818
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3680
3819
|
return baseProps;
|
|
3681
3820
|
}
|
|
@@ -3694,7 +3833,7 @@ var defaultProps$34 = {
|
|
|
3694
3833
|
visible: true
|
|
3695
3834
|
};
|
|
3696
3835
|
try {
|
|
3697
|
-
if (componentDefinition$
|
|
3836
|
+
if (componentDefinition$26 && componentDefinition$26.props) Object.entries(componentDefinition$26.props).forEach(([key, config]) => {
|
|
3698
3837
|
const propConfig = config;
|
|
3699
3838
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$34[key] = propConfig.default;
|
|
3700
3839
|
});
|
|
@@ -3706,7 +3845,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3706
3845
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3707
3846
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3708
3847
|
const instanceId = useMemo(() => {
|
|
3709
|
-
return props.id || `${componentDefinition$
|
|
3848
|
+
return props.id || `${componentDefinition$26.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3710
3849
|
}, [props.id]);
|
|
3711
3850
|
const effectiveProps = useMemo(() => {
|
|
3712
3851
|
return computeEffectiveProps$34(props, defaultProps$34);
|
|
@@ -3716,7 +3855,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3716
3855
|
...props.transform
|
|
3717
3856
|
}), [props.transform]);
|
|
3718
3857
|
const uniformsRef = useRef(null);
|
|
3719
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3858
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$26, effectiveProps, instanceId);
|
|
3720
3859
|
const childContextValue = useMemo(() => {
|
|
3721
3860
|
return {
|
|
3722
3861
|
...context,
|
|
@@ -3738,7 +3877,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3738
3877
|
renderOrder: props.renderOrder || 0,
|
|
3739
3878
|
transform: effectiveTransform
|
|
3740
3879
|
};
|
|
3741
|
-
parentRegister(instanceId, componentDefinition$
|
|
3880
|
+
parentRegister(instanceId, componentDefinition$26.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$26);
|
|
3742
3881
|
return () => {
|
|
3743
3882
|
parentRegister(instanceId, null, null, null, null);
|
|
3744
3883
|
};
|
|
@@ -3811,9 +3950,9 @@ const OmbreComponent$34 = (props) => {
|
|
|
3811
3950
|
children: props.children
|
|
3812
3951
|
});
|
|
3813
3952
|
};
|
|
3814
|
-
var
|
|
3815
|
-
function computeEffectiveProps$33(props, defaultProps$
|
|
3816
|
-
let baseProps = { ...defaultProps$
|
|
3953
|
+
var Group_default = OmbreComponent$34;
|
|
3954
|
+
function computeEffectiveProps$33(props, defaultProps$61) {
|
|
3955
|
+
let baseProps = { ...defaultProps$61 };
|
|
3817
3956
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3818
3957
|
return baseProps;
|
|
3819
3958
|
}
|
|
@@ -3832,7 +3971,7 @@ var defaultProps$33 = {
|
|
|
3832
3971
|
visible: true
|
|
3833
3972
|
};
|
|
3834
3973
|
try {
|
|
3835
|
-
if (componentDefinition$
|
|
3974
|
+
if (componentDefinition$27 && componentDefinition$27.props) Object.entries(componentDefinition$27.props).forEach(([key, config]) => {
|
|
3836
3975
|
const propConfig = config;
|
|
3837
3976
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$33[key] = propConfig.default;
|
|
3838
3977
|
});
|
|
@@ -3844,7 +3983,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3844
3983
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3845
3984
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3846
3985
|
const instanceId = useMemo(() => {
|
|
3847
|
-
return props.id || `${componentDefinition$
|
|
3986
|
+
return props.id || `${componentDefinition$27.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3848
3987
|
}, [props.id]);
|
|
3849
3988
|
const effectiveProps = useMemo(() => {
|
|
3850
3989
|
return computeEffectiveProps$33(props, defaultProps$33);
|
|
@@ -3854,7 +3993,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3854
3993
|
...props.transform
|
|
3855
3994
|
}), [props.transform]);
|
|
3856
3995
|
const uniformsRef = useRef(null);
|
|
3857
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3996
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$27, effectiveProps, instanceId);
|
|
3858
3997
|
const childContextValue = useMemo(() => {
|
|
3859
3998
|
return {
|
|
3860
3999
|
...context,
|
|
@@ -3876,7 +4015,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3876
4015
|
renderOrder: props.renderOrder || 0,
|
|
3877
4016
|
transform: effectiveTransform
|
|
3878
4017
|
};
|
|
3879
|
-
parentRegister(instanceId, componentDefinition$
|
|
4018
|
+
parentRegister(instanceId, componentDefinition$27.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$27);
|
|
3880
4019
|
return () => {
|
|
3881
4020
|
parentRegister(instanceId, null, null, null, null);
|
|
3882
4021
|
};
|
|
@@ -3949,9 +4088,9 @@ const OmbreComponent$33 = (props) => {
|
|
|
3949
4088
|
children: props.children
|
|
3950
4089
|
});
|
|
3951
4090
|
};
|
|
3952
|
-
var
|
|
3953
|
-
function computeEffectiveProps$32(props, defaultProps$
|
|
3954
|
-
let baseProps = { ...defaultProps$
|
|
4091
|
+
var Halftone_default = OmbreComponent$33;
|
|
4092
|
+
function computeEffectiveProps$32(props, defaultProps$61) {
|
|
4093
|
+
let baseProps = { ...defaultProps$61 };
|
|
3955
4094
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3956
4095
|
return baseProps;
|
|
3957
4096
|
}
|
|
@@ -3970,7 +4109,7 @@ var defaultProps$32 = {
|
|
|
3970
4109
|
visible: true
|
|
3971
4110
|
};
|
|
3972
4111
|
try {
|
|
3973
|
-
if (componentDefinition$
|
|
4112
|
+
if (componentDefinition$28 && componentDefinition$28.props) Object.entries(componentDefinition$28.props).forEach(([key, config]) => {
|
|
3974
4113
|
const propConfig = config;
|
|
3975
4114
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$32[key] = propConfig.default;
|
|
3976
4115
|
});
|
|
@@ -3982,7 +4121,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3982
4121
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3983
4122
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3984
4123
|
const instanceId = useMemo(() => {
|
|
3985
|
-
return props.id || `${componentDefinition$
|
|
4124
|
+
return props.id || `${componentDefinition$28.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3986
4125
|
}, [props.id]);
|
|
3987
4126
|
const effectiveProps = useMemo(() => {
|
|
3988
4127
|
return computeEffectiveProps$32(props, defaultProps$32);
|
|
@@ -3992,7 +4131,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3992
4131
|
...props.transform
|
|
3993
4132
|
}), [props.transform]);
|
|
3994
4133
|
const uniformsRef = useRef(null);
|
|
3995
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4134
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$28, effectiveProps, instanceId);
|
|
3996
4135
|
const childContextValue = useMemo(() => {
|
|
3997
4136
|
return {
|
|
3998
4137
|
...context,
|
|
@@ -4014,7 +4153,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
4014
4153
|
renderOrder: props.renderOrder || 0,
|
|
4015
4154
|
transform: effectiveTransform
|
|
4016
4155
|
};
|
|
4017
|
-
parentRegister(instanceId, componentDefinition$
|
|
4156
|
+
parentRegister(instanceId, componentDefinition$28.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$28);
|
|
4018
4157
|
return () => {
|
|
4019
4158
|
parentRegister(instanceId, null, null, null, null);
|
|
4020
4159
|
};
|
|
@@ -4087,9 +4226,9 @@ const OmbreComponent$32 = (props) => {
|
|
|
4087
4226
|
children: props.children
|
|
4088
4227
|
});
|
|
4089
4228
|
};
|
|
4090
|
-
var
|
|
4091
|
-
function computeEffectiveProps$31(props, defaultProps$
|
|
4092
|
-
let baseProps = { ...defaultProps$
|
|
4229
|
+
var HueShift_default = OmbreComponent$32;
|
|
4230
|
+
function computeEffectiveProps$31(props, defaultProps$61) {
|
|
4231
|
+
let baseProps = { ...defaultProps$61 };
|
|
4093
4232
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4094
4233
|
return baseProps;
|
|
4095
4234
|
}
|
|
@@ -4108,7 +4247,7 @@ var defaultProps$31 = {
|
|
|
4108
4247
|
visible: true
|
|
4109
4248
|
};
|
|
4110
4249
|
try {
|
|
4111
|
-
if (componentDefinition$
|
|
4250
|
+
if (componentDefinition$29 && componentDefinition$29.props) Object.entries(componentDefinition$29.props).forEach(([key, config]) => {
|
|
4112
4251
|
const propConfig = config;
|
|
4113
4252
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$31[key] = propConfig.default;
|
|
4114
4253
|
});
|
|
@@ -4120,7 +4259,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
4120
4259
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4121
4260
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4122
4261
|
const instanceId = useMemo(() => {
|
|
4123
|
-
return props.id || `${componentDefinition$
|
|
4262
|
+
return props.id || `${componentDefinition$29.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4124
4263
|
}, [props.id]);
|
|
4125
4264
|
const effectiveProps = useMemo(() => {
|
|
4126
4265
|
return computeEffectiveProps$31(props, defaultProps$31);
|
|
@@ -4130,7 +4269,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
4130
4269
|
...props.transform
|
|
4131
4270
|
}), [props.transform]);
|
|
4132
4271
|
const uniformsRef = useRef(null);
|
|
4133
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4272
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$29, effectiveProps, instanceId);
|
|
4134
4273
|
const childContextValue = useMemo(() => {
|
|
4135
4274
|
return {
|
|
4136
4275
|
...context,
|
|
@@ -4152,7 +4291,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
4152
4291
|
renderOrder: props.renderOrder || 0,
|
|
4153
4292
|
transform: effectiveTransform
|
|
4154
4293
|
};
|
|
4155
|
-
parentRegister(instanceId, componentDefinition$
|
|
4294
|
+
parentRegister(instanceId, componentDefinition$29.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$29);
|
|
4156
4295
|
return () => {
|
|
4157
4296
|
parentRegister(instanceId, null, null, null, null);
|
|
4158
4297
|
};
|
|
@@ -4225,9 +4364,9 @@ const OmbreComponent$31 = (props) => {
|
|
|
4225
4364
|
children: props.children
|
|
4226
4365
|
});
|
|
4227
4366
|
};
|
|
4228
|
-
var
|
|
4229
|
-
function computeEffectiveProps$30(props, defaultProps$
|
|
4230
|
-
let baseProps = { ...defaultProps$
|
|
4367
|
+
var ImageTexture_default = OmbreComponent$31;
|
|
4368
|
+
function computeEffectiveProps$30(props, defaultProps$61) {
|
|
4369
|
+
let baseProps = { ...defaultProps$61 };
|
|
4231
4370
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4232
4371
|
return baseProps;
|
|
4233
4372
|
}
|
|
@@ -4246,7 +4385,7 @@ var defaultProps$30 = {
|
|
|
4246
4385
|
visible: true
|
|
4247
4386
|
};
|
|
4248
4387
|
try {
|
|
4249
|
-
if (componentDefinition$
|
|
4388
|
+
if (componentDefinition$30 && componentDefinition$30.props) Object.entries(componentDefinition$30.props).forEach(([key, config]) => {
|
|
4250
4389
|
const propConfig = config;
|
|
4251
4390
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$30[key] = propConfig.default;
|
|
4252
4391
|
});
|
|
@@ -4258,7 +4397,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4258
4397
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4259
4398
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4260
4399
|
const instanceId = useMemo(() => {
|
|
4261
|
-
return props.id || `${componentDefinition$
|
|
4400
|
+
return props.id || `${componentDefinition$30.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4262
4401
|
}, [props.id]);
|
|
4263
4402
|
const effectiveProps = useMemo(() => {
|
|
4264
4403
|
return computeEffectiveProps$30(props, defaultProps$30);
|
|
@@ -4268,7 +4407,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4268
4407
|
...props.transform
|
|
4269
4408
|
}), [props.transform]);
|
|
4270
4409
|
const uniformsRef = useRef(null);
|
|
4271
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4410
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$30, effectiveProps, instanceId);
|
|
4272
4411
|
const childContextValue = useMemo(() => {
|
|
4273
4412
|
return {
|
|
4274
4413
|
...context,
|
|
@@ -4290,7 +4429,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
4290
4429
|
renderOrder: props.renderOrder || 0,
|
|
4291
4430
|
transform: effectiveTransform
|
|
4292
4431
|
};
|
|
4293
|
-
parentRegister(instanceId, componentDefinition$
|
|
4432
|
+
parentRegister(instanceId, componentDefinition$30.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$30);
|
|
4294
4433
|
return () => {
|
|
4295
4434
|
parentRegister(instanceId, null, null, null, null);
|
|
4296
4435
|
};
|
|
@@ -4363,9 +4502,9 @@ const OmbreComponent$30 = (props) => {
|
|
|
4363
4502
|
children: props.children
|
|
4364
4503
|
});
|
|
4365
4504
|
};
|
|
4366
|
-
var
|
|
4367
|
-
function computeEffectiveProps$29(props, defaultProps$
|
|
4368
|
-
let baseProps = { ...defaultProps$
|
|
4505
|
+
var Invert_default = OmbreComponent$30;
|
|
4506
|
+
function computeEffectiveProps$29(props, defaultProps$61) {
|
|
4507
|
+
let baseProps = { ...defaultProps$61 };
|
|
4369
4508
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4370
4509
|
return baseProps;
|
|
4371
4510
|
}
|
|
@@ -4384,7 +4523,7 @@ var defaultProps$29 = {
|
|
|
4384
4523
|
visible: true
|
|
4385
4524
|
};
|
|
4386
4525
|
try {
|
|
4387
|
-
if (componentDefinition$
|
|
4526
|
+
if (componentDefinition$31 && componentDefinition$31.props) Object.entries(componentDefinition$31.props).forEach(([key, config]) => {
|
|
4388
4527
|
const propConfig = config;
|
|
4389
4528
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$29[key] = propConfig.default;
|
|
4390
4529
|
});
|
|
@@ -4396,7 +4535,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4396
4535
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4397
4536
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4398
4537
|
const instanceId = useMemo(() => {
|
|
4399
|
-
return props.id || `${componentDefinition$
|
|
4538
|
+
return props.id || `${componentDefinition$31.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4400
4539
|
}, [props.id]);
|
|
4401
4540
|
const effectiveProps = useMemo(() => {
|
|
4402
4541
|
return computeEffectiveProps$29(props, defaultProps$29);
|
|
@@ -4406,7 +4545,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4406
4545
|
...props.transform
|
|
4407
4546
|
}), [props.transform]);
|
|
4408
4547
|
const uniformsRef = useRef(null);
|
|
4409
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4548
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$31, effectiveProps, instanceId);
|
|
4410
4549
|
const childContextValue = useMemo(() => {
|
|
4411
4550
|
return {
|
|
4412
4551
|
...context,
|
|
@@ -4428,7 +4567,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
4428
4567
|
renderOrder: props.renderOrder || 0,
|
|
4429
4568
|
transform: effectiveTransform
|
|
4430
4569
|
};
|
|
4431
|
-
parentRegister(instanceId, componentDefinition$
|
|
4570
|
+
parentRegister(instanceId, componentDefinition$31.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$31);
|
|
4432
4571
|
return () => {
|
|
4433
4572
|
parentRegister(instanceId, null, null, null, null);
|
|
4434
4573
|
};
|
|
@@ -4501,9 +4640,9 @@ const OmbreComponent$29 = (props) => {
|
|
|
4501
4640
|
children: props.children
|
|
4502
4641
|
});
|
|
4503
4642
|
};
|
|
4504
|
-
var
|
|
4505
|
-
function computeEffectiveProps$28(props, defaultProps$
|
|
4506
|
-
let baseProps = { ...defaultProps$
|
|
4643
|
+
var LinearBlur_default = OmbreComponent$29;
|
|
4644
|
+
function computeEffectiveProps$28(props, defaultProps$61) {
|
|
4645
|
+
let baseProps = { ...defaultProps$61 };
|
|
4507
4646
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4508
4647
|
return baseProps;
|
|
4509
4648
|
}
|
|
@@ -4522,7 +4661,7 @@ var defaultProps$28 = {
|
|
|
4522
4661
|
visible: true
|
|
4523
4662
|
};
|
|
4524
4663
|
try {
|
|
4525
|
-
if (componentDefinition$
|
|
4664
|
+
if (componentDefinition$32 && componentDefinition$32.props) Object.entries(componentDefinition$32.props).forEach(([key, config]) => {
|
|
4526
4665
|
const propConfig = config;
|
|
4527
4666
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$28[key] = propConfig.default;
|
|
4528
4667
|
});
|
|
@@ -4534,7 +4673,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4534
4673
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4535
4674
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4536
4675
|
const instanceId = useMemo(() => {
|
|
4537
|
-
return props.id || `${componentDefinition$
|
|
4676
|
+
return props.id || `${componentDefinition$32.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4538
4677
|
}, [props.id]);
|
|
4539
4678
|
const effectiveProps = useMemo(() => {
|
|
4540
4679
|
return computeEffectiveProps$28(props, defaultProps$28);
|
|
@@ -4544,7 +4683,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4544
4683
|
...props.transform
|
|
4545
4684
|
}), [props.transform]);
|
|
4546
4685
|
const uniformsRef = useRef(null);
|
|
4547
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4686
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$32, effectiveProps, instanceId);
|
|
4548
4687
|
const childContextValue = useMemo(() => {
|
|
4549
4688
|
return {
|
|
4550
4689
|
...context,
|
|
@@ -4566,7 +4705,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4566
4705
|
renderOrder: props.renderOrder || 0,
|
|
4567
4706
|
transform: effectiveTransform
|
|
4568
4707
|
};
|
|
4569
|
-
parentRegister(instanceId, componentDefinition$
|
|
4708
|
+
parentRegister(instanceId, componentDefinition$32.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$32);
|
|
4570
4709
|
return () => {
|
|
4571
4710
|
parentRegister(instanceId, null, null, null, null);
|
|
4572
4711
|
};
|
|
@@ -4639,9 +4778,9 @@ const OmbreComponent$28 = (props) => {
|
|
|
4639
4778
|
children: props.children
|
|
4640
4779
|
});
|
|
4641
4780
|
};
|
|
4642
|
-
var
|
|
4643
|
-
function computeEffectiveProps$27(props, defaultProps$
|
|
4644
|
-
let baseProps = { ...defaultProps$
|
|
4781
|
+
var LinearGradient_default = OmbreComponent$28;
|
|
4782
|
+
function computeEffectiveProps$27(props, defaultProps$61) {
|
|
4783
|
+
let baseProps = { ...defaultProps$61 };
|
|
4645
4784
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4646
4785
|
return baseProps;
|
|
4647
4786
|
}
|
|
@@ -4660,7 +4799,7 @@ var defaultProps$27 = {
|
|
|
4660
4799
|
visible: true
|
|
4661
4800
|
};
|
|
4662
4801
|
try {
|
|
4663
|
-
if (componentDefinition$
|
|
4802
|
+
if (componentDefinition$33 && componentDefinition$33.props) Object.entries(componentDefinition$33.props).forEach(([key, config]) => {
|
|
4664
4803
|
const propConfig = config;
|
|
4665
4804
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$27[key] = propConfig.default;
|
|
4666
4805
|
});
|
|
@@ -4672,7 +4811,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4672
4811
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4673
4812
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4674
4813
|
const instanceId = useMemo(() => {
|
|
4675
|
-
return props.id || `${componentDefinition$
|
|
4814
|
+
return props.id || `${componentDefinition$33.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4676
4815
|
}, [props.id]);
|
|
4677
4816
|
const effectiveProps = useMemo(() => {
|
|
4678
4817
|
return computeEffectiveProps$27(props, defaultProps$27);
|
|
@@ -4682,7 +4821,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4682
4821
|
...props.transform
|
|
4683
4822
|
}), [props.transform]);
|
|
4684
4823
|
const uniformsRef = useRef(null);
|
|
4685
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4824
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$33, effectiveProps, instanceId);
|
|
4686
4825
|
const childContextValue = useMemo(() => {
|
|
4687
4826
|
return {
|
|
4688
4827
|
...context,
|
|
@@ -4704,7 +4843,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4704
4843
|
renderOrder: props.renderOrder || 0,
|
|
4705
4844
|
transform: effectiveTransform
|
|
4706
4845
|
};
|
|
4707
|
-
parentRegister(instanceId, componentDefinition$
|
|
4846
|
+
parentRegister(instanceId, componentDefinition$33.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$33);
|
|
4708
4847
|
return () => {
|
|
4709
4848
|
parentRegister(instanceId, null, null, null, null);
|
|
4710
4849
|
};
|
|
@@ -4777,9 +4916,9 @@ const OmbreComponent$27 = (props) => {
|
|
|
4777
4916
|
children: props.children
|
|
4778
4917
|
});
|
|
4779
4918
|
};
|
|
4780
|
-
var
|
|
4781
|
-
function computeEffectiveProps$26(props, defaultProps$
|
|
4782
|
-
let baseProps = { ...defaultProps$
|
|
4919
|
+
var Liquify_default = OmbreComponent$27;
|
|
4920
|
+
function computeEffectiveProps$26(props, defaultProps$61) {
|
|
4921
|
+
let baseProps = { ...defaultProps$61 };
|
|
4783
4922
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4784
4923
|
return baseProps;
|
|
4785
4924
|
}
|
|
@@ -4798,7 +4937,7 @@ var defaultProps$26 = {
|
|
|
4798
4937
|
visible: true
|
|
4799
4938
|
};
|
|
4800
4939
|
try {
|
|
4801
|
-
if (componentDefinition$
|
|
4940
|
+
if (componentDefinition$34 && componentDefinition$34.props) Object.entries(componentDefinition$34.props).forEach(([key, config]) => {
|
|
4802
4941
|
const propConfig = config;
|
|
4803
4942
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$26[key] = propConfig.default;
|
|
4804
4943
|
});
|
|
@@ -4810,7 +4949,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4810
4949
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4811
4950
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4812
4951
|
const instanceId = useMemo(() => {
|
|
4813
|
-
return props.id || `${componentDefinition$
|
|
4952
|
+
return props.id || `${componentDefinition$34.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4814
4953
|
}, [props.id]);
|
|
4815
4954
|
const effectiveProps = useMemo(() => {
|
|
4816
4955
|
return computeEffectiveProps$26(props, defaultProps$26);
|
|
@@ -4820,7 +4959,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4820
4959
|
...props.transform
|
|
4821
4960
|
}), [props.transform]);
|
|
4822
4961
|
const uniformsRef = useRef(null);
|
|
4823
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4962
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$34, effectiveProps, instanceId);
|
|
4824
4963
|
const childContextValue = useMemo(() => {
|
|
4825
4964
|
return {
|
|
4826
4965
|
...context,
|
|
@@ -4842,7 +4981,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4842
4981
|
renderOrder: props.renderOrder || 0,
|
|
4843
4982
|
transform: effectiveTransform
|
|
4844
4983
|
};
|
|
4845
|
-
parentRegister(instanceId, componentDefinition$
|
|
4984
|
+
parentRegister(instanceId, componentDefinition$34.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$34);
|
|
4846
4985
|
return () => {
|
|
4847
4986
|
parentRegister(instanceId, null, null, null, null);
|
|
4848
4987
|
};
|
|
@@ -4915,9 +5054,9 @@ const OmbreComponent$26 = (props) => {
|
|
|
4915
5054
|
children: props.children
|
|
4916
5055
|
});
|
|
4917
5056
|
};
|
|
4918
|
-
var
|
|
4919
|
-
function computeEffectiveProps$25(props, defaultProps$
|
|
4920
|
-
let baseProps = { ...defaultProps$
|
|
5057
|
+
var Perspective_default = OmbreComponent$26;
|
|
5058
|
+
function computeEffectiveProps$25(props, defaultProps$61) {
|
|
5059
|
+
let baseProps = { ...defaultProps$61 };
|
|
4921
5060
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4922
5061
|
return baseProps;
|
|
4923
5062
|
}
|
|
@@ -4936,7 +5075,7 @@ var defaultProps$25 = {
|
|
|
4936
5075
|
visible: true
|
|
4937
5076
|
};
|
|
4938
5077
|
try {
|
|
4939
|
-
if (componentDefinition$
|
|
5078
|
+
if (componentDefinition$35 && componentDefinition$35.props) Object.entries(componentDefinition$35.props).forEach(([key, config]) => {
|
|
4940
5079
|
const propConfig = config;
|
|
4941
5080
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$25[key] = propConfig.default;
|
|
4942
5081
|
});
|
|
@@ -4948,7 +5087,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4948
5087
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4949
5088
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4950
5089
|
const instanceId = useMemo(() => {
|
|
4951
|
-
return props.id || `${componentDefinition$
|
|
5090
|
+
return props.id || `${componentDefinition$35.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4952
5091
|
}, [props.id]);
|
|
4953
5092
|
const effectiveProps = useMemo(() => {
|
|
4954
5093
|
return computeEffectiveProps$25(props, defaultProps$25);
|
|
@@ -4958,7 +5097,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4958
5097
|
...props.transform
|
|
4959
5098
|
}), [props.transform]);
|
|
4960
5099
|
const uniformsRef = useRef(null);
|
|
4961
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5100
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$35, effectiveProps, instanceId);
|
|
4962
5101
|
const childContextValue = useMemo(() => {
|
|
4963
5102
|
return {
|
|
4964
5103
|
...context,
|
|
@@ -4980,7 +5119,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4980
5119
|
renderOrder: props.renderOrder || 0,
|
|
4981
5120
|
transform: effectiveTransform
|
|
4982
5121
|
};
|
|
4983
|
-
parentRegister(instanceId, componentDefinition$
|
|
5122
|
+
parentRegister(instanceId, componentDefinition$35.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$35);
|
|
4984
5123
|
return () => {
|
|
4985
5124
|
parentRegister(instanceId, null, null, null, null);
|
|
4986
5125
|
};
|
|
@@ -5053,9 +5192,9 @@ const OmbreComponent$25 = (props) => {
|
|
|
5053
5192
|
children: props.children
|
|
5054
5193
|
});
|
|
5055
5194
|
};
|
|
5056
|
-
var
|
|
5057
|
-
function computeEffectiveProps$24(props, defaultProps$
|
|
5058
|
-
let baseProps = { ...defaultProps$
|
|
5195
|
+
var Pixelate_default = OmbreComponent$25;
|
|
5196
|
+
function computeEffectiveProps$24(props, defaultProps$61) {
|
|
5197
|
+
let baseProps = { ...defaultProps$61 };
|
|
5059
5198
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5060
5199
|
return baseProps;
|
|
5061
5200
|
}
|
|
@@ -5074,7 +5213,7 @@ var defaultProps$24 = {
|
|
|
5074
5213
|
visible: true
|
|
5075
5214
|
};
|
|
5076
5215
|
try {
|
|
5077
|
-
if (componentDefinition$
|
|
5216
|
+
if (componentDefinition$36 && componentDefinition$36.props) Object.entries(componentDefinition$36.props).forEach(([key, config]) => {
|
|
5078
5217
|
const propConfig = config;
|
|
5079
5218
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$24[key] = propConfig.default;
|
|
5080
5219
|
});
|
|
@@ -5086,7 +5225,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
5086
5225
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5087
5226
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5088
5227
|
const instanceId = useMemo(() => {
|
|
5089
|
-
return props.id || `${componentDefinition$
|
|
5228
|
+
return props.id || `${componentDefinition$36.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5090
5229
|
}, [props.id]);
|
|
5091
5230
|
const effectiveProps = useMemo(() => {
|
|
5092
5231
|
return computeEffectiveProps$24(props, defaultProps$24);
|
|
@@ -5096,7 +5235,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
5096
5235
|
...props.transform
|
|
5097
5236
|
}), [props.transform]);
|
|
5098
5237
|
const uniformsRef = useRef(null);
|
|
5099
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5238
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$36, effectiveProps, instanceId);
|
|
5100
5239
|
const childContextValue = useMemo(() => {
|
|
5101
5240
|
return {
|
|
5102
5241
|
...context,
|
|
@@ -5118,7 +5257,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
5118
5257
|
renderOrder: props.renderOrder || 0,
|
|
5119
5258
|
transform: effectiveTransform
|
|
5120
5259
|
};
|
|
5121
|
-
parentRegister(instanceId, componentDefinition$
|
|
5260
|
+
parentRegister(instanceId, componentDefinition$36.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$36);
|
|
5122
5261
|
return () => {
|
|
5123
5262
|
parentRegister(instanceId, null, null, null, null);
|
|
5124
5263
|
};
|
|
@@ -5191,9 +5330,9 @@ const OmbreComponent$24 = (props) => {
|
|
|
5191
5330
|
children: props.children
|
|
5192
5331
|
});
|
|
5193
5332
|
};
|
|
5194
|
-
var
|
|
5195
|
-
function computeEffectiveProps$23(props, defaultProps$
|
|
5196
|
-
let baseProps = { ...defaultProps$
|
|
5333
|
+
var PolarCoordinates_default = OmbreComponent$24;
|
|
5334
|
+
function computeEffectiveProps$23(props, defaultProps$61) {
|
|
5335
|
+
let baseProps = { ...defaultProps$61 };
|
|
5197
5336
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5198
5337
|
return baseProps;
|
|
5199
5338
|
}
|
|
@@ -5212,7 +5351,7 @@ var defaultProps$23 = {
|
|
|
5212
5351
|
visible: true
|
|
5213
5352
|
};
|
|
5214
5353
|
try {
|
|
5215
|
-
if (componentDefinition$
|
|
5354
|
+
if (componentDefinition$37 && componentDefinition$37.props) Object.entries(componentDefinition$37.props).forEach(([key, config]) => {
|
|
5216
5355
|
const propConfig = config;
|
|
5217
5356
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$23[key] = propConfig.default;
|
|
5218
5357
|
});
|
|
@@ -5224,7 +5363,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
5224
5363
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5225
5364
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5226
5365
|
const instanceId = useMemo(() => {
|
|
5227
|
-
return props.id || `${componentDefinition$
|
|
5366
|
+
return props.id || `${componentDefinition$37.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5228
5367
|
}, [props.id]);
|
|
5229
5368
|
const effectiveProps = useMemo(() => {
|
|
5230
5369
|
return computeEffectiveProps$23(props, defaultProps$23);
|
|
@@ -5234,7 +5373,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
5234
5373
|
...props.transform
|
|
5235
5374
|
}), [props.transform]);
|
|
5236
5375
|
const uniformsRef = useRef(null);
|
|
5237
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5376
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$37, effectiveProps, instanceId);
|
|
5238
5377
|
const childContextValue = useMemo(() => {
|
|
5239
5378
|
return {
|
|
5240
5379
|
...context,
|
|
@@ -5256,7 +5395,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
5256
5395
|
renderOrder: props.renderOrder || 0,
|
|
5257
5396
|
transform: effectiveTransform
|
|
5258
5397
|
};
|
|
5259
|
-
parentRegister(instanceId, componentDefinition$
|
|
5398
|
+
parentRegister(instanceId, componentDefinition$37.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$37);
|
|
5260
5399
|
return () => {
|
|
5261
5400
|
parentRegister(instanceId, null, null, null, null);
|
|
5262
5401
|
};
|
|
@@ -5329,9 +5468,9 @@ const OmbreComponent$23 = (props) => {
|
|
|
5329
5468
|
children: props.children
|
|
5330
5469
|
});
|
|
5331
5470
|
};
|
|
5332
|
-
var
|
|
5333
|
-
function computeEffectiveProps$22(props, defaultProps$
|
|
5334
|
-
let baseProps = { ...defaultProps$
|
|
5471
|
+
var Posterize_default = OmbreComponent$23;
|
|
5472
|
+
function computeEffectiveProps$22(props, defaultProps$61) {
|
|
5473
|
+
let baseProps = { ...defaultProps$61 };
|
|
5335
5474
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5336
5475
|
return baseProps;
|
|
5337
5476
|
}
|
|
@@ -5350,7 +5489,7 @@ var defaultProps$22 = {
|
|
|
5350
5489
|
visible: true
|
|
5351
5490
|
};
|
|
5352
5491
|
try {
|
|
5353
|
-
if (componentDefinition$
|
|
5492
|
+
if (componentDefinition$38 && componentDefinition$38.props) Object.entries(componentDefinition$38.props).forEach(([key, config]) => {
|
|
5354
5493
|
const propConfig = config;
|
|
5355
5494
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$22[key] = propConfig.default;
|
|
5356
5495
|
});
|
|
@@ -5362,7 +5501,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5362
5501
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5363
5502
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5364
5503
|
const instanceId = useMemo(() => {
|
|
5365
|
-
return props.id || `${componentDefinition$
|
|
5504
|
+
return props.id || `${componentDefinition$38.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5366
5505
|
}, [props.id]);
|
|
5367
5506
|
const effectiveProps = useMemo(() => {
|
|
5368
5507
|
return computeEffectiveProps$22(props, defaultProps$22);
|
|
@@ -5372,7 +5511,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5372
5511
|
...props.transform
|
|
5373
5512
|
}), [props.transform]);
|
|
5374
5513
|
const uniformsRef = useRef(null);
|
|
5375
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5514
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$38, effectiveProps, instanceId);
|
|
5376
5515
|
const childContextValue = useMemo(() => {
|
|
5377
5516
|
return {
|
|
5378
5517
|
...context,
|
|
@@ -5394,7 +5533,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
5394
5533
|
renderOrder: props.renderOrder || 0,
|
|
5395
5534
|
transform: effectiveTransform
|
|
5396
5535
|
};
|
|
5397
|
-
parentRegister(instanceId, componentDefinition$
|
|
5536
|
+
parentRegister(instanceId, componentDefinition$38.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$38);
|
|
5398
5537
|
return () => {
|
|
5399
5538
|
parentRegister(instanceId, null, null, null, null);
|
|
5400
5539
|
};
|
|
@@ -5467,9 +5606,9 @@ const OmbreComponent$22 = (props) => {
|
|
|
5467
5606
|
children: props.children
|
|
5468
5607
|
});
|
|
5469
5608
|
};
|
|
5470
|
-
var
|
|
5471
|
-
function computeEffectiveProps$21(props, defaultProps$
|
|
5472
|
-
let baseProps = { ...defaultProps$
|
|
5609
|
+
var ProgressiveBlur_default = OmbreComponent$22;
|
|
5610
|
+
function computeEffectiveProps$21(props, defaultProps$61) {
|
|
5611
|
+
let baseProps = { ...defaultProps$61 };
|
|
5473
5612
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5474
5613
|
return baseProps;
|
|
5475
5614
|
}
|
|
@@ -5488,7 +5627,7 @@ var defaultProps$21 = {
|
|
|
5488
5627
|
visible: true
|
|
5489
5628
|
};
|
|
5490
5629
|
try {
|
|
5491
|
-
if (componentDefinition$
|
|
5630
|
+
if (componentDefinition$39 && componentDefinition$39.props) Object.entries(componentDefinition$39.props).forEach(([key, config]) => {
|
|
5492
5631
|
const propConfig = config;
|
|
5493
5632
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$21[key] = propConfig.default;
|
|
5494
5633
|
});
|
|
@@ -5500,7 +5639,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5500
5639
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5501
5640
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5502
5641
|
const instanceId = useMemo(() => {
|
|
5503
|
-
return props.id || `${componentDefinition$
|
|
5642
|
+
return props.id || `${componentDefinition$39.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5504
5643
|
}, [props.id]);
|
|
5505
5644
|
const effectiveProps = useMemo(() => {
|
|
5506
5645
|
return computeEffectiveProps$21(props, defaultProps$21);
|
|
@@ -5510,7 +5649,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5510
5649
|
...props.transform
|
|
5511
5650
|
}), [props.transform]);
|
|
5512
5651
|
const uniformsRef = useRef(null);
|
|
5513
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5652
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$39, effectiveProps, instanceId);
|
|
5514
5653
|
const childContextValue = useMemo(() => {
|
|
5515
5654
|
return {
|
|
5516
5655
|
...context,
|
|
@@ -5532,7 +5671,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
5532
5671
|
renderOrder: props.renderOrder || 0,
|
|
5533
5672
|
transform: effectiveTransform
|
|
5534
5673
|
};
|
|
5535
|
-
parentRegister(instanceId, componentDefinition$
|
|
5674
|
+
parentRegister(instanceId, componentDefinition$39.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$39);
|
|
5536
5675
|
return () => {
|
|
5537
5676
|
parentRegister(instanceId, null, null, null, null);
|
|
5538
5677
|
};
|
|
@@ -5605,9 +5744,9 @@ const OmbreComponent$21 = (props) => {
|
|
|
5605
5744
|
children: props.children
|
|
5606
5745
|
});
|
|
5607
5746
|
};
|
|
5608
|
-
var
|
|
5609
|
-
function computeEffectiveProps$20(props, defaultProps$
|
|
5610
|
-
let baseProps = { ...defaultProps$
|
|
5747
|
+
var RadialGradient_default = OmbreComponent$21;
|
|
5748
|
+
function computeEffectiveProps$20(props, defaultProps$61) {
|
|
5749
|
+
let baseProps = { ...defaultProps$61 };
|
|
5611
5750
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5612
5751
|
return baseProps;
|
|
5613
5752
|
}
|
|
@@ -5626,7 +5765,7 @@ var defaultProps$20 = {
|
|
|
5626
5765
|
visible: true
|
|
5627
5766
|
};
|
|
5628
5767
|
try {
|
|
5629
|
-
if (componentDefinition$
|
|
5768
|
+
if (componentDefinition$40 && componentDefinition$40.props) Object.entries(componentDefinition$40.props).forEach(([key, config]) => {
|
|
5630
5769
|
const propConfig = config;
|
|
5631
5770
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$20[key] = propConfig.default;
|
|
5632
5771
|
});
|
|
@@ -5638,7 +5777,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5638
5777
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5639
5778
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5640
5779
|
const instanceId = useMemo(() => {
|
|
5641
|
-
return props.id || `${componentDefinition$
|
|
5780
|
+
return props.id || `${componentDefinition$40.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5642
5781
|
}, [props.id]);
|
|
5643
5782
|
const effectiveProps = useMemo(() => {
|
|
5644
5783
|
return computeEffectiveProps$20(props, defaultProps$20);
|
|
@@ -5648,7 +5787,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5648
5787
|
...props.transform
|
|
5649
5788
|
}), [props.transform]);
|
|
5650
5789
|
const uniformsRef = useRef(null);
|
|
5651
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5790
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$40, effectiveProps, instanceId);
|
|
5652
5791
|
const childContextValue = useMemo(() => {
|
|
5653
5792
|
return {
|
|
5654
5793
|
...context,
|
|
@@ -5670,7 +5809,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5670
5809
|
renderOrder: props.renderOrder || 0,
|
|
5671
5810
|
transform: effectiveTransform
|
|
5672
5811
|
};
|
|
5673
|
-
parentRegister(instanceId, componentDefinition$
|
|
5812
|
+
parentRegister(instanceId, componentDefinition$40.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$40);
|
|
5674
5813
|
return () => {
|
|
5675
5814
|
parentRegister(instanceId, null, null, null, null);
|
|
5676
5815
|
};
|
|
@@ -5743,9 +5882,9 @@ const OmbreComponent$20 = (props) => {
|
|
|
5743
5882
|
children: props.children
|
|
5744
5883
|
});
|
|
5745
5884
|
};
|
|
5746
|
-
var
|
|
5747
|
-
function computeEffectiveProps$19(props, defaultProps$
|
|
5748
|
-
let baseProps = { ...defaultProps$
|
|
5885
|
+
var RectangularCoordinates_default = OmbreComponent$20;
|
|
5886
|
+
function computeEffectiveProps$19(props, defaultProps$61) {
|
|
5887
|
+
let baseProps = { ...defaultProps$61 };
|
|
5749
5888
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5750
5889
|
return baseProps;
|
|
5751
5890
|
}
|
|
@@ -5764,7 +5903,7 @@ var defaultProps$19 = {
|
|
|
5764
5903
|
visible: true
|
|
5765
5904
|
};
|
|
5766
5905
|
try {
|
|
5767
|
-
if (componentDefinition$
|
|
5906
|
+
if (componentDefinition$41 && componentDefinition$41.props) Object.entries(componentDefinition$41.props).forEach(([key, config]) => {
|
|
5768
5907
|
const propConfig = config;
|
|
5769
5908
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$19[key] = propConfig.default;
|
|
5770
5909
|
});
|
|
@@ -5776,7 +5915,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5776
5915
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5777
5916
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5778
5917
|
const instanceId = useMemo(() => {
|
|
5779
|
-
return props.id || `${componentDefinition$
|
|
5918
|
+
return props.id || `${componentDefinition$41.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5780
5919
|
}, [props.id]);
|
|
5781
5920
|
const effectiveProps = useMemo(() => {
|
|
5782
5921
|
return computeEffectiveProps$19(props, defaultProps$19);
|
|
@@ -5786,7 +5925,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5786
5925
|
...props.transform
|
|
5787
5926
|
}), [props.transform]);
|
|
5788
5927
|
const uniformsRef = useRef(null);
|
|
5789
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5928
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$41, effectiveProps, instanceId);
|
|
5790
5929
|
const childContextValue = useMemo(() => {
|
|
5791
5930
|
return {
|
|
5792
5931
|
...context,
|
|
@@ -5808,7 +5947,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5808
5947
|
renderOrder: props.renderOrder || 0,
|
|
5809
5948
|
transform: effectiveTransform
|
|
5810
5949
|
};
|
|
5811
|
-
parentRegister(instanceId, componentDefinition$
|
|
5950
|
+
parentRegister(instanceId, componentDefinition$41.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$41);
|
|
5812
5951
|
return () => {
|
|
5813
5952
|
parentRegister(instanceId, null, null, null, null);
|
|
5814
5953
|
};
|
|
@@ -5881,9 +6020,9 @@ const OmbreComponent$19 = (props) => {
|
|
|
5881
6020
|
children: props.children
|
|
5882
6021
|
});
|
|
5883
6022
|
};
|
|
5884
|
-
var
|
|
5885
|
-
function computeEffectiveProps$18(props, defaultProps$
|
|
5886
|
-
let baseProps = { ...defaultProps$
|
|
6023
|
+
var Ripples_default = OmbreComponent$19;
|
|
6024
|
+
function computeEffectiveProps$18(props, defaultProps$61) {
|
|
6025
|
+
let baseProps = { ...defaultProps$61 };
|
|
5887
6026
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5888
6027
|
return baseProps;
|
|
5889
6028
|
}
|
|
@@ -5902,7 +6041,7 @@ var defaultProps$18 = {
|
|
|
5902
6041
|
visible: true
|
|
5903
6042
|
};
|
|
5904
6043
|
try {
|
|
5905
|
-
if (componentDefinition$
|
|
6044
|
+
if (componentDefinition$42 && componentDefinition$42.props) Object.entries(componentDefinition$42.props).forEach(([key, config]) => {
|
|
5906
6045
|
const propConfig = config;
|
|
5907
6046
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$18[key] = propConfig.default;
|
|
5908
6047
|
});
|
|
@@ -5914,7 +6053,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5914
6053
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5915
6054
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5916
6055
|
const instanceId = useMemo(() => {
|
|
5917
|
-
return props.id || `${componentDefinition$
|
|
6056
|
+
return props.id || `${componentDefinition$42.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5918
6057
|
}, [props.id]);
|
|
5919
6058
|
const effectiveProps = useMemo(() => {
|
|
5920
6059
|
return computeEffectiveProps$18(props, defaultProps$18);
|
|
@@ -5924,7 +6063,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5924
6063
|
...props.transform
|
|
5925
6064
|
}), [props.transform]);
|
|
5926
6065
|
const uniformsRef = useRef(null);
|
|
5927
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6066
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$42, effectiveProps, instanceId);
|
|
5928
6067
|
const childContextValue = useMemo(() => {
|
|
5929
6068
|
return {
|
|
5930
6069
|
...context,
|
|
@@ -5946,7 +6085,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5946
6085
|
renderOrder: props.renderOrder || 0,
|
|
5947
6086
|
transform: effectiveTransform
|
|
5948
6087
|
};
|
|
5949
|
-
parentRegister(instanceId, componentDefinition$
|
|
6088
|
+
parentRegister(instanceId, componentDefinition$42.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$42);
|
|
5950
6089
|
return () => {
|
|
5951
6090
|
parentRegister(instanceId, null, null, null, null);
|
|
5952
6091
|
};
|
|
@@ -6019,9 +6158,9 @@ const OmbreComponent$18 = (props) => {
|
|
|
6019
6158
|
children: props.children
|
|
6020
6159
|
});
|
|
6021
6160
|
};
|
|
6022
|
-
var
|
|
6023
|
-
function computeEffectiveProps$17(props, defaultProps$
|
|
6024
|
-
let baseProps = { ...defaultProps$
|
|
6161
|
+
var Saturation_default = OmbreComponent$18;
|
|
6162
|
+
function computeEffectiveProps$17(props, defaultProps$61) {
|
|
6163
|
+
let baseProps = { ...defaultProps$61 };
|
|
6025
6164
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6026
6165
|
return baseProps;
|
|
6027
6166
|
}
|
|
@@ -6040,7 +6179,7 @@ var defaultProps$17 = {
|
|
|
6040
6179
|
visible: true
|
|
6041
6180
|
};
|
|
6042
6181
|
try {
|
|
6043
|
-
if (componentDefinition$
|
|
6182
|
+
if (componentDefinition$43 && componentDefinition$43.props) Object.entries(componentDefinition$43.props).forEach(([key, config]) => {
|
|
6044
6183
|
const propConfig = config;
|
|
6045
6184
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$17[key] = propConfig.default;
|
|
6046
6185
|
});
|
|
@@ -6052,7 +6191,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
6052
6191
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6053
6192
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6054
6193
|
const instanceId = useMemo(() => {
|
|
6055
|
-
return props.id || `${componentDefinition$
|
|
6194
|
+
return props.id || `${componentDefinition$43.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6056
6195
|
}, [props.id]);
|
|
6057
6196
|
const effectiveProps = useMemo(() => {
|
|
6058
6197
|
return computeEffectiveProps$17(props, defaultProps$17);
|
|
@@ -6062,7 +6201,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
6062
6201
|
...props.transform
|
|
6063
6202
|
}), [props.transform]);
|
|
6064
6203
|
const uniformsRef = useRef(null);
|
|
6065
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6204
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$43, effectiveProps, instanceId);
|
|
6066
6205
|
const childContextValue = useMemo(() => {
|
|
6067
6206
|
return {
|
|
6068
6207
|
...context,
|
|
@@ -6084,7 +6223,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
6084
6223
|
renderOrder: props.renderOrder || 0,
|
|
6085
6224
|
transform: effectiveTransform
|
|
6086
6225
|
};
|
|
6087
|
-
parentRegister(instanceId, componentDefinition$
|
|
6226
|
+
parentRegister(instanceId, componentDefinition$43.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$43);
|
|
6088
6227
|
return () => {
|
|
6089
6228
|
parentRegister(instanceId, null, null, null, null);
|
|
6090
6229
|
};
|
|
@@ -6157,9 +6296,9 @@ const OmbreComponent$17 = (props) => {
|
|
|
6157
6296
|
children: props.children
|
|
6158
6297
|
});
|
|
6159
6298
|
};
|
|
6160
|
-
var
|
|
6161
|
-
function computeEffectiveProps$16(props, defaultProps$
|
|
6162
|
-
let baseProps = { ...defaultProps$
|
|
6299
|
+
var Sharpness_default = OmbreComponent$17;
|
|
6300
|
+
function computeEffectiveProps$16(props, defaultProps$61) {
|
|
6301
|
+
let baseProps = { ...defaultProps$61 };
|
|
6163
6302
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6164
6303
|
return baseProps;
|
|
6165
6304
|
}
|
|
@@ -6178,7 +6317,7 @@ var defaultProps$16 = {
|
|
|
6178
6317
|
visible: true
|
|
6179
6318
|
};
|
|
6180
6319
|
try {
|
|
6181
|
-
if (componentDefinition$
|
|
6320
|
+
if (componentDefinition$44 && componentDefinition$44.props) Object.entries(componentDefinition$44.props).forEach(([key, config]) => {
|
|
6182
6321
|
const propConfig = config;
|
|
6183
6322
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$16[key] = propConfig.default;
|
|
6184
6323
|
});
|
|
@@ -6190,7 +6329,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
6190
6329
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6191
6330
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6192
6331
|
const instanceId = useMemo(() => {
|
|
6193
|
-
return props.id || `${componentDefinition$
|
|
6332
|
+
return props.id || `${componentDefinition$44.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6194
6333
|
}, [props.id]);
|
|
6195
6334
|
const effectiveProps = useMemo(() => {
|
|
6196
6335
|
return computeEffectiveProps$16(props, defaultProps$16);
|
|
@@ -6200,7 +6339,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
6200
6339
|
...props.transform
|
|
6201
6340
|
}), [props.transform]);
|
|
6202
6341
|
const uniformsRef = useRef(null);
|
|
6203
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6342
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$44, effectiveProps, instanceId);
|
|
6204
6343
|
const childContextValue = useMemo(() => {
|
|
6205
6344
|
return {
|
|
6206
6345
|
...context,
|
|
@@ -6222,7 +6361,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
6222
6361
|
renderOrder: props.renderOrder || 0,
|
|
6223
6362
|
transform: effectiveTransform
|
|
6224
6363
|
};
|
|
6225
|
-
parentRegister(instanceId, componentDefinition$
|
|
6364
|
+
parentRegister(instanceId, componentDefinition$44.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$44);
|
|
6226
6365
|
return () => {
|
|
6227
6366
|
parentRegister(instanceId, null, null, null, null);
|
|
6228
6367
|
};
|
|
@@ -6295,9 +6434,9 @@ const OmbreComponent$16 = (props) => {
|
|
|
6295
6434
|
children: props.children
|
|
6296
6435
|
});
|
|
6297
6436
|
};
|
|
6298
|
-
var
|
|
6299
|
-
function computeEffectiveProps$15(props, defaultProps$
|
|
6300
|
-
let baseProps = { ...defaultProps$
|
|
6437
|
+
var Shatter_default = OmbreComponent$16;
|
|
6438
|
+
function computeEffectiveProps$15(props, defaultProps$61) {
|
|
6439
|
+
let baseProps = { ...defaultProps$61 };
|
|
6301
6440
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6302
6441
|
return baseProps;
|
|
6303
6442
|
}
|
|
@@ -6316,7 +6455,7 @@ var defaultProps$15 = {
|
|
|
6316
6455
|
visible: true
|
|
6317
6456
|
};
|
|
6318
6457
|
try {
|
|
6319
|
-
if (componentDefinition$
|
|
6458
|
+
if (componentDefinition$45 && componentDefinition$45.props) Object.entries(componentDefinition$45.props).forEach(([key, config]) => {
|
|
6320
6459
|
const propConfig = config;
|
|
6321
6460
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$15[key] = propConfig.default;
|
|
6322
6461
|
});
|
|
@@ -6328,7 +6467,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6328
6467
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6329
6468
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6330
6469
|
const instanceId = useMemo(() => {
|
|
6331
|
-
return props.id || `${componentDefinition$
|
|
6470
|
+
return props.id || `${componentDefinition$45.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6332
6471
|
}, [props.id]);
|
|
6333
6472
|
const effectiveProps = useMemo(() => {
|
|
6334
6473
|
return computeEffectiveProps$15(props, defaultProps$15);
|
|
@@ -6338,7 +6477,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6338
6477
|
...props.transform
|
|
6339
6478
|
}), [props.transform]);
|
|
6340
6479
|
const uniformsRef = useRef(null);
|
|
6341
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6480
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$45, effectiveProps, instanceId);
|
|
6342
6481
|
const childContextValue = useMemo(() => {
|
|
6343
6482
|
return {
|
|
6344
6483
|
...context,
|
|
@@ -6360,7 +6499,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
6360
6499
|
renderOrder: props.renderOrder || 0,
|
|
6361
6500
|
transform: effectiveTransform
|
|
6362
6501
|
};
|
|
6363
|
-
parentRegister(instanceId, componentDefinition$
|
|
6502
|
+
parentRegister(instanceId, componentDefinition$45.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$45);
|
|
6364
6503
|
return () => {
|
|
6365
6504
|
parentRegister(instanceId, null, null, null, null);
|
|
6366
6505
|
};
|
|
@@ -6434,8 +6573,8 @@ const OmbreComponent$15 = (props) => {
|
|
|
6434
6573
|
});
|
|
6435
6574
|
};
|
|
6436
6575
|
var SimplexNoise_default = OmbreComponent$15;
|
|
6437
|
-
function computeEffectiveProps$14(props, defaultProps$
|
|
6438
|
-
let baseProps = { ...defaultProps$
|
|
6576
|
+
function computeEffectiveProps$14(props, defaultProps$61) {
|
|
6577
|
+
let baseProps = { ...defaultProps$61 };
|
|
6439
6578
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6440
6579
|
return baseProps;
|
|
6441
6580
|
}
|
|
@@ -6454,7 +6593,7 @@ var defaultProps$14 = {
|
|
|
6454
6593
|
visible: true
|
|
6455
6594
|
};
|
|
6456
6595
|
try {
|
|
6457
|
-
if (componentDefinition$
|
|
6596
|
+
if (componentDefinition$46 && componentDefinition$46.props) Object.entries(componentDefinition$46.props).forEach(([key, config]) => {
|
|
6458
6597
|
const propConfig = config;
|
|
6459
6598
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$14[key] = propConfig.default;
|
|
6460
6599
|
});
|
|
@@ -6466,7 +6605,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6466
6605
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6467
6606
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6468
6607
|
const instanceId = useMemo(() => {
|
|
6469
|
-
return props.id || `${componentDefinition$
|
|
6608
|
+
return props.id || `${componentDefinition$46.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6470
6609
|
}, [props.id]);
|
|
6471
6610
|
const effectiveProps = useMemo(() => {
|
|
6472
6611
|
return computeEffectiveProps$14(props, defaultProps$14);
|
|
@@ -6476,7 +6615,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6476
6615
|
...props.transform
|
|
6477
6616
|
}), [props.transform]);
|
|
6478
6617
|
const uniformsRef = useRef(null);
|
|
6479
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6618
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$46, effectiveProps, instanceId);
|
|
6480
6619
|
const childContextValue = useMemo(() => {
|
|
6481
6620
|
return {
|
|
6482
6621
|
...context,
|
|
@@ -6498,7 +6637,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
6498
6637
|
renderOrder: props.renderOrder || 0,
|
|
6499
6638
|
transform: effectiveTransform
|
|
6500
6639
|
};
|
|
6501
|
-
parentRegister(instanceId, componentDefinition$
|
|
6640
|
+
parentRegister(instanceId, componentDefinition$46.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$46);
|
|
6502
6641
|
return () => {
|
|
6503
6642
|
parentRegister(instanceId, null, null, null, null);
|
|
6504
6643
|
};
|
|
@@ -6572,8 +6711,8 @@ const OmbreComponent$14 = (props) => {
|
|
|
6572
6711
|
});
|
|
6573
6712
|
};
|
|
6574
6713
|
var SineWave_default = OmbreComponent$14;
|
|
6575
|
-
function computeEffectiveProps$13(props, defaultProps$
|
|
6576
|
-
let baseProps = { ...defaultProps$
|
|
6714
|
+
function computeEffectiveProps$13(props, defaultProps$61) {
|
|
6715
|
+
let baseProps = { ...defaultProps$61 };
|
|
6577
6716
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6578
6717
|
return baseProps;
|
|
6579
6718
|
}
|
|
@@ -6592,7 +6731,7 @@ var defaultProps$13 = {
|
|
|
6592
6731
|
visible: true
|
|
6593
6732
|
};
|
|
6594
6733
|
try {
|
|
6595
|
-
if (componentDefinition$
|
|
6734
|
+
if (componentDefinition$47 && componentDefinition$47.props) Object.entries(componentDefinition$47.props).forEach(([key, config]) => {
|
|
6596
6735
|
const propConfig = config;
|
|
6597
6736
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$13[key] = propConfig.default;
|
|
6598
6737
|
});
|
|
@@ -6604,7 +6743,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6604
6743
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6605
6744
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6606
6745
|
const instanceId = useMemo(() => {
|
|
6607
|
-
return props.id || `${componentDefinition$
|
|
6746
|
+
return props.id || `${componentDefinition$47.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6608
6747
|
}, [props.id]);
|
|
6609
6748
|
const effectiveProps = useMemo(() => {
|
|
6610
6749
|
return computeEffectiveProps$13(props, defaultProps$13);
|
|
@@ -6614,7 +6753,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6614
6753
|
...props.transform
|
|
6615
6754
|
}), [props.transform]);
|
|
6616
6755
|
const uniformsRef = useRef(null);
|
|
6617
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6756
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$47, effectiveProps, instanceId);
|
|
6618
6757
|
const childContextValue = useMemo(() => {
|
|
6619
6758
|
return {
|
|
6620
6759
|
...context,
|
|
@@ -6636,7 +6775,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6636
6775
|
renderOrder: props.renderOrder || 0,
|
|
6637
6776
|
transform: effectiveTransform
|
|
6638
6777
|
};
|
|
6639
|
-
parentRegister(instanceId, componentDefinition$
|
|
6778
|
+
parentRegister(instanceId, componentDefinition$47.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$47);
|
|
6640
6779
|
return () => {
|
|
6641
6780
|
parentRegister(instanceId, null, null, null, null);
|
|
6642
6781
|
};
|
|
@@ -6710,8 +6849,8 @@ const OmbreComponent$13 = (props) => {
|
|
|
6710
6849
|
});
|
|
6711
6850
|
};
|
|
6712
6851
|
var SolidColor_default = OmbreComponent$13;
|
|
6713
|
-
function computeEffectiveProps$12(props, defaultProps$
|
|
6714
|
-
let baseProps = { ...defaultProps$
|
|
6852
|
+
function computeEffectiveProps$12(props, defaultProps$61) {
|
|
6853
|
+
let baseProps = { ...defaultProps$61 };
|
|
6715
6854
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6716
6855
|
return baseProps;
|
|
6717
6856
|
}
|
|
@@ -6730,7 +6869,7 @@ var defaultProps$12 = {
|
|
|
6730
6869
|
visible: true
|
|
6731
6870
|
};
|
|
6732
6871
|
try {
|
|
6733
|
-
if (componentDefinition$
|
|
6872
|
+
if (componentDefinition$48 && componentDefinition$48.props) Object.entries(componentDefinition$48.props).forEach(([key, config]) => {
|
|
6734
6873
|
const propConfig = config;
|
|
6735
6874
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$12[key] = propConfig.default;
|
|
6736
6875
|
});
|
|
@@ -6742,7 +6881,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6742
6881
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6743
6882
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6744
6883
|
const instanceId = useMemo(() => {
|
|
6745
|
-
return props.id || `${componentDefinition$
|
|
6884
|
+
return props.id || `${componentDefinition$48.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6746
6885
|
}, [props.id]);
|
|
6747
6886
|
const effectiveProps = useMemo(() => {
|
|
6748
6887
|
return computeEffectiveProps$12(props, defaultProps$12);
|
|
@@ -6752,7 +6891,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6752
6891
|
...props.transform
|
|
6753
6892
|
}), [props.transform]);
|
|
6754
6893
|
const uniformsRef = useRef(null);
|
|
6755
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6894
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$48, effectiveProps, instanceId);
|
|
6756
6895
|
const childContextValue = useMemo(() => {
|
|
6757
6896
|
return {
|
|
6758
6897
|
...context,
|
|
@@ -6774,7 +6913,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6774
6913
|
renderOrder: props.renderOrder || 0,
|
|
6775
6914
|
transform: effectiveTransform
|
|
6776
6915
|
};
|
|
6777
|
-
parentRegister(instanceId, componentDefinition$
|
|
6916
|
+
parentRegister(instanceId, componentDefinition$48.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$48);
|
|
6778
6917
|
return () => {
|
|
6779
6918
|
parentRegister(instanceId, null, null, null, null);
|
|
6780
6919
|
};
|
|
@@ -6848,8 +6987,8 @@ const OmbreComponent$12 = (props) => {
|
|
|
6848
6987
|
});
|
|
6849
6988
|
};
|
|
6850
6989
|
var Spherize_default = OmbreComponent$12;
|
|
6851
|
-
function computeEffectiveProps$11(props, defaultProps$
|
|
6852
|
-
let baseProps = { ...defaultProps$
|
|
6990
|
+
function computeEffectiveProps$11(props, defaultProps$61) {
|
|
6991
|
+
let baseProps = { ...defaultProps$61 };
|
|
6853
6992
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6854
6993
|
return baseProps;
|
|
6855
6994
|
}
|
|
@@ -6868,7 +7007,7 @@ var defaultProps$11 = {
|
|
|
6868
7007
|
visible: true
|
|
6869
7008
|
};
|
|
6870
7009
|
try {
|
|
6871
|
-
if (componentDefinition$
|
|
7010
|
+
if (componentDefinition$49 && componentDefinition$49.props) Object.entries(componentDefinition$49.props).forEach(([key, config]) => {
|
|
6872
7011
|
const propConfig = config;
|
|
6873
7012
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$11[key] = propConfig.default;
|
|
6874
7013
|
});
|
|
@@ -6880,7 +7019,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6880
7019
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6881
7020
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6882
7021
|
const instanceId = useMemo(() => {
|
|
6883
|
-
return props.id || `${componentDefinition$
|
|
7022
|
+
return props.id || `${componentDefinition$49.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6884
7023
|
}, [props.id]);
|
|
6885
7024
|
const effectiveProps = useMemo(() => {
|
|
6886
7025
|
return computeEffectiveProps$11(props, defaultProps$11);
|
|
@@ -6890,7 +7029,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6890
7029
|
...props.transform
|
|
6891
7030
|
}), [props.transform]);
|
|
6892
7031
|
const uniformsRef = useRef(null);
|
|
6893
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7032
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$49, effectiveProps, instanceId);
|
|
6894
7033
|
const childContextValue = useMemo(() => {
|
|
6895
7034
|
return {
|
|
6896
7035
|
...context,
|
|
@@ -6912,7 +7051,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6912
7051
|
renderOrder: props.renderOrder || 0,
|
|
6913
7052
|
transform: effectiveTransform
|
|
6914
7053
|
};
|
|
6915
|
-
parentRegister(instanceId, componentDefinition$
|
|
7054
|
+
parentRegister(instanceId, componentDefinition$49.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$49);
|
|
6916
7055
|
return () => {
|
|
6917
7056
|
parentRegister(instanceId, null, null, null, null);
|
|
6918
7057
|
};
|
|
@@ -6986,8 +7125,8 @@ const OmbreComponent$11 = (props) => {
|
|
|
6986
7125
|
});
|
|
6987
7126
|
};
|
|
6988
7127
|
var Spiral_default = OmbreComponent$11;
|
|
6989
|
-
function computeEffectiveProps$10(props, defaultProps$
|
|
6990
|
-
let baseProps = { ...defaultProps$
|
|
7128
|
+
function computeEffectiveProps$10(props, defaultProps$61) {
|
|
7129
|
+
let baseProps = { ...defaultProps$61 };
|
|
6991
7130
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6992
7131
|
return baseProps;
|
|
6993
7132
|
}
|
|
@@ -7006,7 +7145,7 @@ var defaultProps$10 = {
|
|
|
7006
7145
|
visible: true
|
|
7007
7146
|
};
|
|
7008
7147
|
try {
|
|
7009
|
-
if (componentDefinition$
|
|
7148
|
+
if (componentDefinition$50 && componentDefinition$50.props) Object.entries(componentDefinition$50.props).forEach(([key, config]) => {
|
|
7010
7149
|
const propConfig = config;
|
|
7011
7150
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$10[key] = propConfig.default;
|
|
7012
7151
|
});
|
|
@@ -7018,7 +7157,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
7018
7157
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7019
7158
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7020
7159
|
const instanceId = useMemo(() => {
|
|
7021
|
-
return props.id || `${componentDefinition$
|
|
7160
|
+
return props.id || `${componentDefinition$50.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7022
7161
|
}, [props.id]);
|
|
7023
7162
|
const effectiveProps = useMemo(() => {
|
|
7024
7163
|
return computeEffectiveProps$10(props, defaultProps$10);
|
|
@@ -7028,7 +7167,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
7028
7167
|
...props.transform
|
|
7029
7168
|
}), [props.transform]);
|
|
7030
7169
|
const uniformsRef = useRef(null);
|
|
7031
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7170
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$50, effectiveProps, instanceId);
|
|
7032
7171
|
const childContextValue = useMemo(() => {
|
|
7033
7172
|
return {
|
|
7034
7173
|
...context,
|
|
@@ -7050,7 +7189,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
7050
7189
|
renderOrder: props.renderOrder || 0,
|
|
7051
7190
|
transform: effectiveTransform
|
|
7052
7191
|
};
|
|
7053
|
-
parentRegister(instanceId, componentDefinition$
|
|
7192
|
+
parentRegister(instanceId, componentDefinition$50.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$50);
|
|
7054
7193
|
return () => {
|
|
7055
7194
|
parentRegister(instanceId, null, null, null, null);
|
|
7056
7195
|
};
|
|
@@ -7124,8 +7263,8 @@ const OmbreComponent$10 = (props) => {
|
|
|
7124
7263
|
});
|
|
7125
7264
|
};
|
|
7126
7265
|
var Strands_default = OmbreComponent$10;
|
|
7127
|
-
function computeEffectiveProps$9(props, defaultProps$
|
|
7128
|
-
let baseProps = { ...defaultProps$
|
|
7266
|
+
function computeEffectiveProps$9(props, defaultProps$61) {
|
|
7267
|
+
let baseProps = { ...defaultProps$61 };
|
|
7129
7268
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7130
7269
|
return baseProps;
|
|
7131
7270
|
}
|
|
@@ -7144,7 +7283,7 @@ var defaultProps$9 = {
|
|
|
7144
7283
|
visible: true
|
|
7145
7284
|
};
|
|
7146
7285
|
try {
|
|
7147
|
-
if (componentDefinition$
|
|
7286
|
+
if (componentDefinition$51 && componentDefinition$51.props) Object.entries(componentDefinition$51.props).forEach(([key, config]) => {
|
|
7148
7287
|
const propConfig = config;
|
|
7149
7288
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$9[key] = propConfig.default;
|
|
7150
7289
|
});
|
|
@@ -7156,7 +7295,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
7156
7295
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7157
7296
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7158
7297
|
const instanceId = useMemo(() => {
|
|
7159
|
-
return props.id || `${componentDefinition$
|
|
7298
|
+
return props.id || `${componentDefinition$51.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7160
7299
|
}, [props.id]);
|
|
7161
7300
|
const effectiveProps = useMemo(() => {
|
|
7162
7301
|
return computeEffectiveProps$9(props, defaultProps$9);
|
|
@@ -7166,7 +7305,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
7166
7305
|
...props.transform
|
|
7167
7306
|
}), [props.transform]);
|
|
7168
7307
|
const uniformsRef = useRef(null);
|
|
7169
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7308
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$51, effectiveProps, instanceId);
|
|
7170
7309
|
const childContextValue = useMemo(() => {
|
|
7171
7310
|
return {
|
|
7172
7311
|
...context,
|
|
@@ -7188,7 +7327,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
7188
7327
|
renderOrder: props.renderOrder || 0,
|
|
7189
7328
|
transform: effectiveTransform
|
|
7190
7329
|
};
|
|
7191
|
-
parentRegister(instanceId, componentDefinition$
|
|
7330
|
+
parentRegister(instanceId, componentDefinition$51.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$51);
|
|
7192
7331
|
return () => {
|
|
7193
7332
|
parentRegister(instanceId, null, null, null, null);
|
|
7194
7333
|
};
|
|
@@ -7262,8 +7401,8 @@ const OmbreComponent$9 = (props) => {
|
|
|
7262
7401
|
});
|
|
7263
7402
|
};
|
|
7264
7403
|
var Stretch_default = OmbreComponent$9;
|
|
7265
|
-
function computeEffectiveProps$8(props, defaultProps$
|
|
7266
|
-
let baseProps = { ...defaultProps$
|
|
7404
|
+
function computeEffectiveProps$8(props, defaultProps$61) {
|
|
7405
|
+
let baseProps = { ...defaultProps$61 };
|
|
7267
7406
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7268
7407
|
return baseProps;
|
|
7269
7408
|
}
|
|
@@ -7282,7 +7421,7 @@ var defaultProps$8 = {
|
|
|
7282
7421
|
visible: true
|
|
7283
7422
|
};
|
|
7284
7423
|
try {
|
|
7285
|
-
if (componentDefinition$
|
|
7424
|
+
if (componentDefinition$52 && componentDefinition$52.props) Object.entries(componentDefinition$52.props).forEach(([key, config]) => {
|
|
7286
7425
|
const propConfig = config;
|
|
7287
7426
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$8[key] = propConfig.default;
|
|
7288
7427
|
});
|
|
@@ -7294,7 +7433,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7294
7433
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7295
7434
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7296
7435
|
const instanceId = useMemo(() => {
|
|
7297
|
-
return props.id || `${componentDefinition$
|
|
7436
|
+
return props.id || `${componentDefinition$52.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7298
7437
|
}, [props.id]);
|
|
7299
7438
|
const effectiveProps = useMemo(() => {
|
|
7300
7439
|
return computeEffectiveProps$8(props, defaultProps$8);
|
|
@@ -7304,7 +7443,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7304
7443
|
...props.transform
|
|
7305
7444
|
}), [props.transform]);
|
|
7306
7445
|
const uniformsRef = useRef(null);
|
|
7307
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7446
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$52, effectiveProps, instanceId);
|
|
7308
7447
|
const childContextValue = useMemo(() => {
|
|
7309
7448
|
return {
|
|
7310
7449
|
...context,
|
|
@@ -7326,7 +7465,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
7326
7465
|
renderOrder: props.renderOrder || 0,
|
|
7327
7466
|
transform: effectiveTransform
|
|
7328
7467
|
};
|
|
7329
|
-
parentRegister(instanceId, componentDefinition$
|
|
7468
|
+
parentRegister(instanceId, componentDefinition$52.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$52);
|
|
7330
7469
|
return () => {
|
|
7331
7470
|
parentRegister(instanceId, null, null, null, null);
|
|
7332
7471
|
};
|
|
@@ -7400,8 +7539,8 @@ const OmbreComponent$8 = (props) => {
|
|
|
7400
7539
|
});
|
|
7401
7540
|
};
|
|
7402
7541
|
var Stripes_default = OmbreComponent$8;
|
|
7403
|
-
function computeEffectiveProps$7(props, defaultProps$
|
|
7404
|
-
let baseProps = { ...defaultProps$
|
|
7542
|
+
function computeEffectiveProps$7(props, defaultProps$61) {
|
|
7543
|
+
let baseProps = { ...defaultProps$61 };
|
|
7405
7544
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7406
7545
|
return baseProps;
|
|
7407
7546
|
}
|
|
@@ -7420,7 +7559,7 @@ var defaultProps$7 = {
|
|
|
7420
7559
|
visible: true
|
|
7421
7560
|
};
|
|
7422
7561
|
try {
|
|
7423
|
-
if (componentDefinition$
|
|
7562
|
+
if (componentDefinition$53 && componentDefinition$53.props) Object.entries(componentDefinition$53.props).forEach(([key, config]) => {
|
|
7424
7563
|
const propConfig = config;
|
|
7425
7564
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$7[key] = propConfig.default;
|
|
7426
7565
|
});
|
|
@@ -7432,7 +7571,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7432
7571
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7433
7572
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7434
7573
|
const instanceId = useMemo(() => {
|
|
7435
|
-
return props.id || `${componentDefinition$
|
|
7574
|
+
return props.id || `${componentDefinition$53.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7436
7575
|
}, [props.id]);
|
|
7437
7576
|
const effectiveProps = useMemo(() => {
|
|
7438
7577
|
return computeEffectiveProps$7(props, defaultProps$7);
|
|
@@ -7442,7 +7581,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7442
7581
|
...props.transform
|
|
7443
7582
|
}), [props.transform]);
|
|
7444
7583
|
const uniformsRef = useRef(null);
|
|
7445
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7584
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$53, effectiveProps, instanceId);
|
|
7446
7585
|
const childContextValue = useMemo(() => {
|
|
7447
7586
|
return {
|
|
7448
7587
|
...context,
|
|
@@ -7464,7 +7603,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
7464
7603
|
renderOrder: props.renderOrder || 0,
|
|
7465
7604
|
transform: effectiveTransform
|
|
7466
7605
|
};
|
|
7467
|
-
parentRegister(instanceId, componentDefinition$
|
|
7606
|
+
parentRegister(instanceId, componentDefinition$53.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$53);
|
|
7468
7607
|
return () => {
|
|
7469
7608
|
parentRegister(instanceId, null, null, null, null);
|
|
7470
7609
|
};
|
|
@@ -7538,8 +7677,8 @@ const OmbreComponent$7 = (props) => {
|
|
|
7538
7677
|
});
|
|
7539
7678
|
};
|
|
7540
7679
|
var Swirl_default = OmbreComponent$7;
|
|
7541
|
-
function computeEffectiveProps$6(props, defaultProps$
|
|
7542
|
-
let baseProps = { ...defaultProps$
|
|
7680
|
+
function computeEffectiveProps$6(props, defaultProps$61) {
|
|
7681
|
+
let baseProps = { ...defaultProps$61 };
|
|
7543
7682
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7544
7683
|
return baseProps;
|
|
7545
7684
|
}
|
|
@@ -7558,7 +7697,7 @@ var defaultProps$6 = {
|
|
|
7558
7697
|
visible: true
|
|
7559
7698
|
};
|
|
7560
7699
|
try {
|
|
7561
|
-
if (componentDefinition$
|
|
7700
|
+
if (componentDefinition$54 && componentDefinition$54.props) Object.entries(componentDefinition$54.props).forEach(([key, config]) => {
|
|
7562
7701
|
const propConfig = config;
|
|
7563
7702
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$6[key] = propConfig.default;
|
|
7564
7703
|
});
|
|
@@ -7570,7 +7709,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7570
7709
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7571
7710
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7572
7711
|
const instanceId = useMemo(() => {
|
|
7573
|
-
return props.id || `${componentDefinition$
|
|
7712
|
+
return props.id || `${componentDefinition$54.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7574
7713
|
}, [props.id]);
|
|
7575
7714
|
const effectiveProps = useMemo(() => {
|
|
7576
7715
|
return computeEffectiveProps$6(props, defaultProps$6);
|
|
@@ -7580,7 +7719,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7580
7719
|
...props.transform
|
|
7581
7720
|
}), [props.transform]);
|
|
7582
7721
|
const uniformsRef = useRef(null);
|
|
7583
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7722
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$54, effectiveProps, instanceId);
|
|
7584
7723
|
const childContextValue = useMemo(() => {
|
|
7585
7724
|
return {
|
|
7586
7725
|
...context,
|
|
@@ -7602,7 +7741,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7602
7741
|
renderOrder: props.renderOrder || 0,
|
|
7603
7742
|
transform: effectiveTransform
|
|
7604
7743
|
};
|
|
7605
|
-
parentRegister(instanceId, componentDefinition$
|
|
7744
|
+
parentRegister(instanceId, componentDefinition$54.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$54);
|
|
7606
7745
|
return () => {
|
|
7607
7746
|
parentRegister(instanceId, null, null, null, null);
|
|
7608
7747
|
};
|
|
@@ -7676,8 +7815,8 @@ const OmbreComponent$6 = (props) => {
|
|
|
7676
7815
|
});
|
|
7677
7816
|
};
|
|
7678
7817
|
var TiltShift_default = OmbreComponent$6;
|
|
7679
|
-
function computeEffectiveProps$5(props, defaultProps$
|
|
7680
|
-
let baseProps = { ...defaultProps$
|
|
7818
|
+
function computeEffectiveProps$5(props, defaultProps$61) {
|
|
7819
|
+
let baseProps = { ...defaultProps$61 };
|
|
7681
7820
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7682
7821
|
return baseProps;
|
|
7683
7822
|
}
|
|
@@ -7696,7 +7835,7 @@ var defaultProps$5 = {
|
|
|
7696
7835
|
visible: true
|
|
7697
7836
|
};
|
|
7698
7837
|
try {
|
|
7699
|
-
if (componentDefinition$
|
|
7838
|
+
if (componentDefinition$55 && componentDefinition$55.props) Object.entries(componentDefinition$55.props).forEach(([key, config]) => {
|
|
7700
7839
|
const propConfig = config;
|
|
7701
7840
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$5[key] = propConfig.default;
|
|
7702
7841
|
});
|
|
@@ -7708,7 +7847,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7708
7847
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7709
7848
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7710
7849
|
const instanceId = useMemo(() => {
|
|
7711
|
-
return props.id || `${componentDefinition$
|
|
7850
|
+
return props.id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7712
7851
|
}, [props.id]);
|
|
7713
7852
|
const effectiveProps = useMemo(() => {
|
|
7714
7853
|
return computeEffectiveProps$5(props, defaultProps$5);
|
|
@@ -7718,7 +7857,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7718
7857
|
...props.transform
|
|
7719
7858
|
}), [props.transform]);
|
|
7720
7859
|
const uniformsRef = useRef(null);
|
|
7721
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7860
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$55, effectiveProps, instanceId);
|
|
7722
7861
|
const childContextValue = useMemo(() => {
|
|
7723
7862
|
return {
|
|
7724
7863
|
...context,
|
|
@@ -7740,7 +7879,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7740
7879
|
renderOrder: props.renderOrder || 0,
|
|
7741
7880
|
transform: effectiveTransform
|
|
7742
7881
|
};
|
|
7743
|
-
parentRegister(instanceId, componentDefinition$
|
|
7882
|
+
parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$55);
|
|
7744
7883
|
return () => {
|
|
7745
7884
|
parentRegister(instanceId, null, null, null, null);
|
|
7746
7885
|
};
|
|
@@ -7814,8 +7953,8 @@ const OmbreComponent$5 = (props) => {
|
|
|
7814
7953
|
});
|
|
7815
7954
|
};
|
|
7816
7955
|
var Tint_default = OmbreComponent$5;
|
|
7817
|
-
function computeEffectiveProps$4(props, defaultProps$
|
|
7818
|
-
let baseProps = { ...defaultProps$
|
|
7956
|
+
function computeEffectiveProps$4(props, defaultProps$61) {
|
|
7957
|
+
let baseProps = { ...defaultProps$61 };
|
|
7819
7958
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7820
7959
|
return baseProps;
|
|
7821
7960
|
}
|
|
@@ -7834,7 +7973,7 @@ var defaultProps$4 = {
|
|
|
7834
7973
|
visible: true
|
|
7835
7974
|
};
|
|
7836
7975
|
try {
|
|
7837
|
-
if (componentDefinition$
|
|
7976
|
+
if (componentDefinition$56 && componentDefinition$56.props) Object.entries(componentDefinition$56.props).forEach(([key, config]) => {
|
|
7838
7977
|
const propConfig = config;
|
|
7839
7978
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$4[key] = propConfig.default;
|
|
7840
7979
|
});
|
|
@@ -7846,7 +7985,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7846
7985
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7847
7986
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7848
7987
|
const instanceId = useMemo(() => {
|
|
7849
|
-
return props.id || `${componentDefinition$
|
|
7988
|
+
return props.id || `${componentDefinition$56.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7850
7989
|
}, [props.id]);
|
|
7851
7990
|
const effectiveProps = useMemo(() => {
|
|
7852
7991
|
return computeEffectiveProps$4(props, defaultProps$4);
|
|
@@ -7856,7 +7995,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7856
7995
|
...props.transform
|
|
7857
7996
|
}), [props.transform]);
|
|
7858
7997
|
const uniformsRef = useRef(null);
|
|
7859
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7998
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$56, effectiveProps, instanceId);
|
|
7860
7999
|
const childContextValue = useMemo(() => {
|
|
7861
8000
|
return {
|
|
7862
8001
|
...context,
|
|
@@ -7878,7 +8017,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7878
8017
|
renderOrder: props.renderOrder || 0,
|
|
7879
8018
|
transform: effectiveTransform
|
|
7880
8019
|
};
|
|
7881
|
-
parentRegister(instanceId, componentDefinition$
|
|
8020
|
+
parentRegister(instanceId, componentDefinition$56.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$56);
|
|
7882
8021
|
return () => {
|
|
7883
8022
|
parentRegister(instanceId, null, null, null, null);
|
|
7884
8023
|
};
|
|
@@ -7952,8 +8091,8 @@ const OmbreComponent$4 = (props) => {
|
|
|
7952
8091
|
});
|
|
7953
8092
|
};
|
|
7954
8093
|
var Tritone_default = OmbreComponent$4;
|
|
7955
|
-
function computeEffectiveProps$3(props, defaultProps$
|
|
7956
|
-
let baseProps = { ...defaultProps$
|
|
8094
|
+
function computeEffectiveProps$3(props, defaultProps$61) {
|
|
8095
|
+
let baseProps = { ...defaultProps$61 };
|
|
7957
8096
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7958
8097
|
return baseProps;
|
|
7959
8098
|
}
|
|
@@ -7972,7 +8111,7 @@ var defaultProps$3 = {
|
|
|
7972
8111
|
visible: true
|
|
7973
8112
|
};
|
|
7974
8113
|
try {
|
|
7975
|
-
if (componentDefinition$
|
|
8114
|
+
if (componentDefinition$57 && componentDefinition$57.props) Object.entries(componentDefinition$57.props).forEach(([key, config]) => {
|
|
7976
8115
|
const propConfig = config;
|
|
7977
8116
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$3[key] = propConfig.default;
|
|
7978
8117
|
});
|
|
@@ -7984,7 +8123,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7984
8123
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7985
8124
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7986
8125
|
const instanceId = useMemo(() => {
|
|
7987
|
-
return props.id || `${componentDefinition$
|
|
8126
|
+
return props.id || `${componentDefinition$57.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7988
8127
|
}, [props.id]);
|
|
7989
8128
|
const effectiveProps = useMemo(() => {
|
|
7990
8129
|
return computeEffectiveProps$3(props, defaultProps$3);
|
|
@@ -7994,7 +8133,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7994
8133
|
...props.transform
|
|
7995
8134
|
}), [props.transform]);
|
|
7996
8135
|
const uniformsRef = useRef(null);
|
|
7997
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8136
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$57, effectiveProps, instanceId);
|
|
7998
8137
|
const childContextValue = useMemo(() => {
|
|
7999
8138
|
return {
|
|
8000
8139
|
...context,
|
|
@@ -8016,7 +8155,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
8016
8155
|
renderOrder: props.renderOrder || 0,
|
|
8017
8156
|
transform: effectiveTransform
|
|
8018
8157
|
};
|
|
8019
|
-
parentRegister(instanceId, componentDefinition$
|
|
8158
|
+
parentRegister(instanceId, componentDefinition$57.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$57);
|
|
8020
8159
|
return () => {
|
|
8021
8160
|
parentRegister(instanceId, null, null, null, null);
|
|
8022
8161
|
};
|
|
@@ -8090,8 +8229,8 @@ const OmbreComponent$3 = (props) => {
|
|
|
8090
8229
|
});
|
|
8091
8230
|
};
|
|
8092
8231
|
var Twirl_default = OmbreComponent$3;
|
|
8093
|
-
function computeEffectiveProps$2(props, defaultProps$
|
|
8094
|
-
let baseProps = { ...defaultProps$
|
|
8232
|
+
function computeEffectiveProps$2(props, defaultProps$61) {
|
|
8233
|
+
let baseProps = { ...defaultProps$61 };
|
|
8095
8234
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8096
8235
|
return baseProps;
|
|
8097
8236
|
}
|
|
@@ -8110,7 +8249,7 @@ var defaultProps$2 = {
|
|
|
8110
8249
|
visible: true
|
|
8111
8250
|
};
|
|
8112
8251
|
try {
|
|
8113
|
-
if (componentDefinition$
|
|
8252
|
+
if (componentDefinition$58 && componentDefinition$58.props) Object.entries(componentDefinition$58.props).forEach(([key, config]) => {
|
|
8114
8253
|
const propConfig = config;
|
|
8115
8254
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$2[key] = propConfig.default;
|
|
8116
8255
|
});
|
|
@@ -8122,7 +8261,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
8122
8261
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8123
8262
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8124
8263
|
const instanceId = useMemo(() => {
|
|
8125
|
-
return props.id || `${componentDefinition$
|
|
8264
|
+
return props.id || `${componentDefinition$58.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8126
8265
|
}, [props.id]);
|
|
8127
8266
|
const effectiveProps = useMemo(() => {
|
|
8128
8267
|
return computeEffectiveProps$2(props, defaultProps$2);
|
|
@@ -8132,7 +8271,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
8132
8271
|
...props.transform
|
|
8133
8272
|
}), [props.transform]);
|
|
8134
8273
|
const uniformsRef = useRef(null);
|
|
8135
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8274
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$58, effectiveProps, instanceId);
|
|
8136
8275
|
const childContextValue = useMemo(() => {
|
|
8137
8276
|
return {
|
|
8138
8277
|
...context,
|
|
@@ -8154,7 +8293,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
8154
8293
|
renderOrder: props.renderOrder || 0,
|
|
8155
8294
|
transform: effectiveTransform
|
|
8156
8295
|
};
|
|
8157
|
-
parentRegister(instanceId, componentDefinition$
|
|
8296
|
+
parentRegister(instanceId, componentDefinition$58.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$58);
|
|
8158
8297
|
return () => {
|
|
8159
8298
|
parentRegister(instanceId, null, null, null, null);
|
|
8160
8299
|
};
|
|
@@ -8228,8 +8367,8 @@ const OmbreComponent$2 = (props) => {
|
|
|
8228
8367
|
});
|
|
8229
8368
|
};
|
|
8230
8369
|
var Vibrance_default = OmbreComponent$2;
|
|
8231
|
-
function computeEffectiveProps$1(props, defaultProps$
|
|
8232
|
-
let baseProps = { ...defaultProps$
|
|
8370
|
+
function computeEffectiveProps$1(props, defaultProps$61) {
|
|
8371
|
+
let baseProps = { ...defaultProps$61 };
|
|
8233
8372
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8234
8373
|
return baseProps;
|
|
8235
8374
|
}
|
|
@@ -8248,7 +8387,7 @@ var defaultProps$1 = {
|
|
|
8248
8387
|
visible: true
|
|
8249
8388
|
};
|
|
8250
8389
|
try {
|
|
8251
|
-
if (componentDefinition$
|
|
8390
|
+
if (componentDefinition$59 && componentDefinition$59.props) Object.entries(componentDefinition$59.props).forEach(([key, config]) => {
|
|
8252
8391
|
const propConfig = config;
|
|
8253
8392
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$1[key] = propConfig.default;
|
|
8254
8393
|
});
|
|
@@ -8260,7 +8399,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8260
8399
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8261
8400
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8262
8401
|
const instanceId = useMemo(() => {
|
|
8263
|
-
return props.id || `${componentDefinition$
|
|
8402
|
+
return props.id || `${componentDefinition$59.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8264
8403
|
}, [props.id]);
|
|
8265
8404
|
const effectiveProps = useMemo(() => {
|
|
8266
8405
|
return computeEffectiveProps$1(props, defaultProps$1);
|
|
@@ -8270,7 +8409,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8270
8409
|
...props.transform
|
|
8271
8410
|
}), [props.transform]);
|
|
8272
8411
|
const uniformsRef = useRef(null);
|
|
8273
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8412
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$59, effectiveProps, instanceId);
|
|
8274
8413
|
const childContextValue = useMemo(() => {
|
|
8275
8414
|
return {
|
|
8276
8415
|
...context,
|
|
@@ -8292,7 +8431,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
8292
8431
|
renderOrder: props.renderOrder || 0,
|
|
8293
8432
|
transform: effectiveTransform
|
|
8294
8433
|
};
|
|
8295
|
-
parentRegister(instanceId, componentDefinition$
|
|
8434
|
+
parentRegister(instanceId, componentDefinition$59.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$59);
|
|
8296
8435
|
return () => {
|
|
8297
8436
|
parentRegister(instanceId, null, null, null, null);
|
|
8298
8437
|
};
|
|
@@ -8366,8 +8505,8 @@ const OmbreComponent$1 = (props) => {
|
|
|
8366
8505
|
});
|
|
8367
8506
|
};
|
|
8368
8507
|
var WaveDistortion_default = OmbreComponent$1;
|
|
8369
|
-
function computeEffectiveProps(props, defaultProps$
|
|
8370
|
-
let baseProps = { ...defaultProps$
|
|
8508
|
+
function computeEffectiveProps(props, defaultProps$61) {
|
|
8509
|
+
let baseProps = { ...defaultProps$61 };
|
|
8371
8510
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
8372
8511
|
return baseProps;
|
|
8373
8512
|
}
|
|
@@ -8386,7 +8525,7 @@ var defaultProps = {
|
|
|
8386
8525
|
visible: true
|
|
8387
8526
|
};
|
|
8388
8527
|
try {
|
|
8389
|
-
if (componentDefinition$
|
|
8528
|
+
if (componentDefinition$60 && componentDefinition$60.props) Object.entries(componentDefinition$60.props).forEach(([key, config]) => {
|
|
8390
8529
|
const propConfig = config;
|
|
8391
8530
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps[key] = propConfig.default;
|
|
8392
8531
|
});
|
|
@@ -8398,7 +8537,7 @@ const OmbreComponent = (props) => {
|
|
|
8398
8537
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
8399
8538
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
8400
8539
|
const instanceId = useMemo(() => {
|
|
8401
|
-
return props.id || `${componentDefinition$
|
|
8540
|
+
return props.id || `${componentDefinition$60.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
8402
8541
|
}, [props.id]);
|
|
8403
8542
|
const effectiveProps = useMemo(() => {
|
|
8404
8543
|
return computeEffectiveProps(props, defaultProps);
|
|
@@ -8408,7 +8547,7 @@ const OmbreComponent = (props) => {
|
|
|
8408
8547
|
...props.transform
|
|
8409
8548
|
}), [props.transform]);
|
|
8410
8549
|
const uniformsRef = useRef(null);
|
|
8411
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
8550
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$60, effectiveProps, instanceId);
|
|
8412
8551
|
const childContextValue = useMemo(() => {
|
|
8413
8552
|
return {
|
|
8414
8553
|
...context,
|
|
@@ -8430,7 +8569,7 @@ const OmbreComponent = (props) => {
|
|
|
8430
8569
|
renderOrder: props.renderOrder || 0,
|
|
8431
8570
|
transform: effectiveTransform
|
|
8432
8571
|
};
|
|
8433
|
-
parentRegister(instanceId, componentDefinition$
|
|
8572
|
+
parentRegister(instanceId, componentDefinition$60.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$60);
|
|
8434
8573
|
return () => {
|
|
8435
8574
|
parentRegister(instanceId, null, null, null, null);
|
|
8436
8575
|
};
|
|
@@ -8504,4 +8643,4 @@ const OmbreComponent = (props) => {
|
|
|
8504
8643
|
});
|
|
8505
8644
|
};
|
|
8506
8645
|
var ZoomBlur_default = OmbreComponent;
|
|
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 };
|
|
8646
|
+
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, Shatter_default as Shatter, 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 };
|