shaders 2.2.34 → 2.2.35
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/Sharpness-B2MrhUH5.js +41 -0
- package/dist/core/index.js +37 -35
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Sharpness/index.d.ts +14 -0
- package/dist/core/shaders/Sharpness/index.d.ts.map +1 -0
- package/dist/core/shaders/Sharpness/index.js +2 -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/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/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/Sharpness.d.ts +31 -0
- package/dist/react/components/Sharpness.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-CwTRhENe.js → generatePresetCode-C4t1eM0z.js} +6 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +535 -396
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +40 -0
- package/dist/solid/components/Sharpness.d.ts +28 -0
- package/dist/solid/components/Sharpness.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 +477 -336
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +6 -0
- package/dist/svelte/components/Sharpness.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-Qh7jlXV3.js → generatePresetCode-CT9aNR6P.js} +6 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +141 -30
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/Sharpness.vue.d.ts +57 -0
- package/dist/vue/components/Sharpness.vue.d.ts.map +1 -0
- package/dist/vue/{generatePresetCode-Bf-TQPvI.js → generatePresetCode-BmkyNfz6.js} +6 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +237 -116
- 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-CAtknQS7.js → SimplexNoise-j5sH7ro0.js} +0 -0
- /package/dist/core/{SineWave-CHtV6kB4.js → SineWave-C4Lz5gO9.js} +0 -0
- /package/dist/core/{SolidColor-CSSquNVW.js → SolidColor-9huPo7Qb.js} +0 -0
- /package/dist/core/{Spherize-BJby0xSU.js → Spherize-ARP2hY6_.js} +0 -0
- /package/dist/core/{Spiral-CpB3-tFZ.js → Spiral-d60Q9u4M.js} +0 -0
- /package/dist/core/{Strands-C2KWiJc8.js → Strands-DiIbhZ0r.js} +0 -0
- /package/dist/core/{Stretch-Chpzutao.js → Stretch-UYY3Qep7.js} +0 -0
- /package/dist/core/{Swirl-qbMypv_R.js → Swirl-jQMlfm2U.js} +0 -0
- /package/dist/core/{TiltShift-D0qyWoe3.js → TiltShift-Ctj-Dsom.js} +0 -0
- /package/dist/core/{Tritone-DzeueG1F.js → Tritone-D2lMeIyT.js} +0 -0
- /package/dist/core/{Twirl-B2Ic0WGq.js → Twirl-D4opuuKg.js} +0 -0
- /package/dist/core/{Vibrance-BAGXelBi.js → Vibrance-CZCF06c0.js} +0 -0
- /package/dist/core/{WaveDistortion-DYFl_8vA.js → WaveDistortion-DdJtTeib.js} +0 -0
- /package/dist/core/{ZoomBlur-CXpRNRJA.js → ZoomBlur-DfzUaH4u.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-C4t1eM0z.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";
|
|
@@ -46,20 +46,21 @@ import { componentDefinition as componentDefinition$38 } from "../core/shaders/R
|
|
|
46
46
|
import { componentDefinition as componentDefinition$39 } from "../core/shaders/RectangularCoordinates/index.js";
|
|
47
47
|
import { componentDefinition as componentDefinition$40 } from "../core/shaders/Ripples/index.js";
|
|
48
48
|
import { componentDefinition as componentDefinition$41 } from "../core/shaders/Saturation/index.js";
|
|
49
|
-
import { componentDefinition as componentDefinition$42 } from "../core/shaders/
|
|
50
|
-
import { componentDefinition as componentDefinition$43 } from "../core/shaders/
|
|
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/
|
|
49
|
+
import { componentDefinition as componentDefinition$42 } from "../core/shaders/Sharpness/index.js";
|
|
50
|
+
import { componentDefinition as componentDefinition$43 } from "../core/shaders/SimplexNoise/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$44 } from "../core/shaders/SineWave/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$45 } from "../core/shaders/SolidColor/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$46 } from "../core/shaders/Spherize/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$47 } from "../core/shaders/Spiral/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$48 } from "../core/shaders/Strands/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$49 } from "../core/shaders/Stretch/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$50 } from "../core/shaders/Swirl/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/TiltShift/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/Tritone/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/Twirl/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/Vibrance/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/WaveDistortion/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$56 } from "../core/shaders/ZoomBlur/index.js";
|
|
63
64
|
const OmbreContext = createContext(null);
|
|
64
65
|
const Shader = ({ children, hideNotice = false, style = {}, className = "",...rest }) => {
|
|
65
66
|
const containerRef = useRef(null);
|
|
@@ -69,7 +70,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
69
70
|
if (rendererRef.current === null) rendererRef.current = shaderRenderer();
|
|
70
71
|
const telemetryCollectorRef = useRef(null);
|
|
71
72
|
const nodeRegister = useMemo(() => {
|
|
72
|
-
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$
|
|
73
|
+
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$57 = null) => {
|
|
73
74
|
if (fragmentNodeFunc === null) {
|
|
74
75
|
try {
|
|
75
76
|
rendererRef.current.removeNode(id);
|
|
@@ -79,7 +80,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
79
80
|
return;
|
|
80
81
|
}
|
|
81
82
|
try {
|
|
82
|
-
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$
|
|
83
|
+
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$57);
|
|
83
84
|
} catch (err) {
|
|
84
85
|
console.error("Error registering node:", err, {
|
|
85
86
|
id,
|
|
@@ -220,8 +221,146 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
220
221
|
});
|
|
221
222
|
};
|
|
222
223
|
var Shader_default = Shader;
|
|
223
|
-
function computeEffectiveProps$
|
|
224
|
-
let baseProps = { ...defaultProps$
|
|
224
|
+
function computeEffectiveProps$56(props, defaultProps$57) {
|
|
225
|
+
let baseProps = { ...defaultProps$57 };
|
|
226
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
227
|
+
return baseProps;
|
|
228
|
+
}
|
|
229
|
+
var DEFAULT_TRANSFORM$56 = {
|
|
230
|
+
offsetX: 0,
|
|
231
|
+
offsetY: 0,
|
|
232
|
+
rotation: 0,
|
|
233
|
+
scale: 1,
|
|
234
|
+
anchorX: .5,
|
|
235
|
+
anchorY: .5,
|
|
236
|
+
edges: "transparent"
|
|
237
|
+
};
|
|
238
|
+
var defaultProps$56 = {
|
|
239
|
+
blendMode: "normal",
|
|
240
|
+
renderOrder: 0,
|
|
241
|
+
visible: true
|
|
242
|
+
};
|
|
243
|
+
try {
|
|
244
|
+
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
245
|
+
const propConfig = config;
|
|
246
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$56[key] = propConfig.default;
|
|
247
|
+
});
|
|
248
|
+
} catch (e) {
|
|
249
|
+
console.warn("Error extracting default props:", e);
|
|
250
|
+
}
|
|
251
|
+
const OmbreComponent$56 = (props) => {
|
|
252
|
+
const context = useContext(OmbreContext);
|
|
253
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
254
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
255
|
+
const instanceId = useMemo(() => {
|
|
256
|
+
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
257
|
+
}, [props.id]);
|
|
258
|
+
const effectiveProps = useMemo(() => {
|
|
259
|
+
return computeEffectiveProps$56(props, defaultProps$56);
|
|
260
|
+
}, [props]);
|
|
261
|
+
const effectiveTransform = useMemo(() => ({
|
|
262
|
+
...DEFAULT_TRANSFORM$56,
|
|
263
|
+
...props.transform
|
|
264
|
+
}), [props.transform]);
|
|
265
|
+
const uniformsRef = useRef(null);
|
|
266
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
267
|
+
const childContextValue = useMemo(() => {
|
|
268
|
+
return {
|
|
269
|
+
...context,
|
|
270
|
+
ombreParentId: instanceId
|
|
271
|
+
};
|
|
272
|
+
}, [context, instanceId]);
|
|
273
|
+
useEffect(() => {
|
|
274
|
+
if (!uniformsRef.current) return;
|
|
275
|
+
try {
|
|
276
|
+
const metadata = {
|
|
277
|
+
blendMode: props.blendMode || "normal",
|
|
278
|
+
opacity: props.opacity,
|
|
279
|
+
visible: props.visible === false ? false : true,
|
|
280
|
+
id: props.id,
|
|
281
|
+
mask: props.maskSource ? {
|
|
282
|
+
source: props.maskSource,
|
|
283
|
+
type: props.maskType || "alpha"
|
|
284
|
+
} : void 0,
|
|
285
|
+
renderOrder: props.renderOrder || 0,
|
|
286
|
+
transform: effectiveTransform
|
|
287
|
+
};
|
|
288
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
289
|
+
return () => {
|
|
290
|
+
parentRegister(instanceId, null, null, null, null);
|
|
291
|
+
};
|
|
292
|
+
} catch (error) {
|
|
293
|
+
console.error("Error registering shader node:", error);
|
|
294
|
+
return () => {};
|
|
295
|
+
}
|
|
296
|
+
}, [
|
|
297
|
+
instanceId,
|
|
298
|
+
parentId,
|
|
299
|
+
parentRegister
|
|
300
|
+
]);
|
|
301
|
+
const prevPropsRef = useRef({});
|
|
302
|
+
useEffect(() => {
|
|
303
|
+
if (!uniformsRef.current) return;
|
|
304
|
+
try {
|
|
305
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
306
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
307
|
+
const { uniform, transform } = uniformData;
|
|
308
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
309
|
+
const newValue = effectiveProps[propName];
|
|
310
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
311
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
312
|
+
prevPropsRef.current[propName] = newValue;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
} catch (error) {
|
|
317
|
+
console.error("Error updating uniforms:", error);
|
|
318
|
+
}
|
|
319
|
+
}, [
|
|
320
|
+
effectiveProps,
|
|
321
|
+
instanceId,
|
|
322
|
+
parentUniformUpdate
|
|
323
|
+
]);
|
|
324
|
+
useEffect(() => {
|
|
325
|
+
try {
|
|
326
|
+
parentMetadataUpdate(instanceId, {
|
|
327
|
+
blendMode: props.blendMode || "normal",
|
|
328
|
+
opacity: props.opacity,
|
|
329
|
+
visible: props.visible === false ? false : true,
|
|
330
|
+
id: props.id,
|
|
331
|
+
mask: props.maskSource ? {
|
|
332
|
+
source: props.maskSource,
|
|
333
|
+
type: props.maskType || "alpha"
|
|
334
|
+
} : void 0,
|
|
335
|
+
renderOrder: props.renderOrder || 0,
|
|
336
|
+
transform: effectiveTransform
|
|
337
|
+
});
|
|
338
|
+
} catch (error) {
|
|
339
|
+
console.error("Error updating metadata:", error);
|
|
340
|
+
}
|
|
341
|
+
}, [
|
|
342
|
+
props.blendMode,
|
|
343
|
+
props.opacity,
|
|
344
|
+
props.visible,
|
|
345
|
+
props.maskSource,
|
|
346
|
+
props.maskType,
|
|
347
|
+
props.renderOrder,
|
|
348
|
+
props.id,
|
|
349
|
+
effectiveTransform,
|
|
350
|
+
instanceId,
|
|
351
|
+
parentMetadataUpdate
|
|
352
|
+
]);
|
|
353
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
354
|
+
props.ref(null);
|
|
355
|
+
} catch (e) {}
|
|
356
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
357
|
+
value: childContextValue,
|
|
358
|
+
children: props.children
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
var AngularBlur_default = OmbreComponent$56;
|
|
362
|
+
function computeEffectiveProps$55(props, defaultProps$57) {
|
|
363
|
+
let baseProps = { ...defaultProps$57 };
|
|
225
364
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
226
365
|
return baseProps;
|
|
227
366
|
}
|
|
@@ -240,7 +379,7 @@ var defaultProps$55 = {
|
|
|
240
379
|
visible: true
|
|
241
380
|
};
|
|
242
381
|
try {
|
|
243
|
-
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
382
|
+
if (componentDefinition$1 && componentDefinition$1.props) Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
244
383
|
const propConfig = config;
|
|
245
384
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$55[key] = propConfig.default;
|
|
246
385
|
});
|
|
@@ -252,7 +391,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
252
391
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
253
392
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
254
393
|
const instanceId = useMemo(() => {
|
|
255
|
-
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
394
|
+
return props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
256
395
|
}, [props.id]);
|
|
257
396
|
const effectiveProps = useMemo(() => {
|
|
258
397
|
return computeEffectiveProps$55(props, defaultProps$55);
|
|
@@ -262,7 +401,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
262
401
|
...props.transform
|
|
263
402
|
}), [props.transform]);
|
|
264
403
|
const uniformsRef = useRef(null);
|
|
265
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
404
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$1, effectiveProps, instanceId);
|
|
266
405
|
const childContextValue = useMemo(() => {
|
|
267
406
|
return {
|
|
268
407
|
...context,
|
|
@@ -284,7 +423,7 @@ const OmbreComponent$55 = (props) => {
|
|
|
284
423
|
renderOrder: props.renderOrder || 0,
|
|
285
424
|
transform: effectiveTransform
|
|
286
425
|
};
|
|
287
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
426
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$1);
|
|
288
427
|
return () => {
|
|
289
428
|
parentRegister(instanceId, null, null, null, null);
|
|
290
429
|
};
|
|
@@ -357,9 +496,9 @@ const OmbreComponent$55 = (props) => {
|
|
|
357
496
|
children: props.children
|
|
358
497
|
});
|
|
359
498
|
};
|
|
360
|
-
var
|
|
361
|
-
function computeEffectiveProps$54(props, defaultProps$
|
|
362
|
-
let baseProps = { ...defaultProps$
|
|
499
|
+
var Ascii_default = OmbreComponent$55;
|
|
500
|
+
function computeEffectiveProps$54(props, defaultProps$57) {
|
|
501
|
+
let baseProps = { ...defaultProps$57 };
|
|
363
502
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
364
503
|
return baseProps;
|
|
365
504
|
}
|
|
@@ -378,7 +517,7 @@ var defaultProps$54 = {
|
|
|
378
517
|
visible: true
|
|
379
518
|
};
|
|
380
519
|
try {
|
|
381
|
-
if (componentDefinition$
|
|
520
|
+
if (componentDefinition$2 && componentDefinition$2.props) Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
382
521
|
const propConfig = config;
|
|
383
522
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$54[key] = propConfig.default;
|
|
384
523
|
});
|
|
@@ -390,7 +529,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
390
529
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
391
530
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
392
531
|
const instanceId = useMemo(() => {
|
|
393
|
-
return props.id || `${componentDefinition$
|
|
532
|
+
return props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
394
533
|
}, [props.id]);
|
|
395
534
|
const effectiveProps = useMemo(() => {
|
|
396
535
|
return computeEffectiveProps$54(props, defaultProps$54);
|
|
@@ -400,7 +539,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
400
539
|
...props.transform
|
|
401
540
|
}), [props.transform]);
|
|
402
541
|
const uniformsRef = useRef(null);
|
|
403
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
542
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$2, effectiveProps, instanceId);
|
|
404
543
|
const childContextValue = useMemo(() => {
|
|
405
544
|
return {
|
|
406
545
|
...context,
|
|
@@ -422,7 +561,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
422
561
|
renderOrder: props.renderOrder || 0,
|
|
423
562
|
transform: effectiveTransform
|
|
424
563
|
};
|
|
425
|
-
parentRegister(instanceId, componentDefinition$
|
|
564
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$2);
|
|
426
565
|
return () => {
|
|
427
566
|
parentRegister(instanceId, null, null, null, null);
|
|
428
567
|
};
|
|
@@ -495,9 +634,9 @@ const OmbreComponent$54 = (props) => {
|
|
|
495
634
|
children: props.children
|
|
496
635
|
});
|
|
497
636
|
};
|
|
498
|
-
var
|
|
499
|
-
function computeEffectiveProps$53(props, defaultProps$
|
|
500
|
-
let baseProps = { ...defaultProps$
|
|
637
|
+
var Beam_default = OmbreComponent$54;
|
|
638
|
+
function computeEffectiveProps$53(props, defaultProps$57) {
|
|
639
|
+
let baseProps = { ...defaultProps$57 };
|
|
501
640
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
502
641
|
return baseProps;
|
|
503
642
|
}
|
|
@@ -516,7 +655,7 @@ var defaultProps$53 = {
|
|
|
516
655
|
visible: true
|
|
517
656
|
};
|
|
518
657
|
try {
|
|
519
|
-
if (componentDefinition$
|
|
658
|
+
if (componentDefinition$3 && componentDefinition$3.props) Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
520
659
|
const propConfig = config;
|
|
521
660
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$53[key] = propConfig.default;
|
|
522
661
|
});
|
|
@@ -528,7 +667,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
528
667
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
529
668
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
530
669
|
const instanceId = useMemo(() => {
|
|
531
|
-
return props.id || `${componentDefinition$
|
|
670
|
+
return props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
532
671
|
}, [props.id]);
|
|
533
672
|
const effectiveProps = useMemo(() => {
|
|
534
673
|
return computeEffectiveProps$53(props, defaultProps$53);
|
|
@@ -538,7 +677,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
538
677
|
...props.transform
|
|
539
678
|
}), [props.transform]);
|
|
540
679
|
const uniformsRef = useRef(null);
|
|
541
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
680
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$3, effectiveProps, instanceId);
|
|
542
681
|
const childContextValue = useMemo(() => {
|
|
543
682
|
return {
|
|
544
683
|
...context,
|
|
@@ -560,7 +699,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
560
699
|
renderOrder: props.renderOrder || 0,
|
|
561
700
|
transform: effectiveTransform
|
|
562
701
|
};
|
|
563
|
-
parentRegister(instanceId, componentDefinition$
|
|
702
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$3);
|
|
564
703
|
return () => {
|
|
565
704
|
parentRegister(instanceId, null, null, null, null);
|
|
566
705
|
};
|
|
@@ -633,9 +772,9 @@ const OmbreComponent$53 = (props) => {
|
|
|
633
772
|
children: props.children
|
|
634
773
|
});
|
|
635
774
|
};
|
|
636
|
-
var
|
|
637
|
-
function computeEffectiveProps$52(props, defaultProps$
|
|
638
|
-
let baseProps = { ...defaultProps$
|
|
775
|
+
var Blob_default = OmbreComponent$53;
|
|
776
|
+
function computeEffectiveProps$52(props, defaultProps$57) {
|
|
777
|
+
let baseProps = { ...defaultProps$57 };
|
|
639
778
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
640
779
|
return baseProps;
|
|
641
780
|
}
|
|
@@ -654,7 +793,7 @@ var defaultProps$52 = {
|
|
|
654
793
|
visible: true
|
|
655
794
|
};
|
|
656
795
|
try {
|
|
657
|
-
if (componentDefinition$
|
|
796
|
+
if (componentDefinition$4 && componentDefinition$4.props) Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
658
797
|
const propConfig = config;
|
|
659
798
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$52[key] = propConfig.default;
|
|
660
799
|
});
|
|
@@ -666,7 +805,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
666
805
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
667
806
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
668
807
|
const instanceId = useMemo(() => {
|
|
669
|
-
return props.id || `${componentDefinition$
|
|
808
|
+
return props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
670
809
|
}, [props.id]);
|
|
671
810
|
const effectiveProps = useMemo(() => {
|
|
672
811
|
return computeEffectiveProps$52(props, defaultProps$52);
|
|
@@ -676,7 +815,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
676
815
|
...props.transform
|
|
677
816
|
}), [props.transform]);
|
|
678
817
|
const uniformsRef = useRef(null);
|
|
679
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
818
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$4, effectiveProps, instanceId);
|
|
680
819
|
const childContextValue = useMemo(() => {
|
|
681
820
|
return {
|
|
682
821
|
...context,
|
|
@@ -698,7 +837,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
698
837
|
renderOrder: props.renderOrder || 0,
|
|
699
838
|
transform: effectiveTransform
|
|
700
839
|
};
|
|
701
|
-
parentRegister(instanceId, componentDefinition$
|
|
840
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$4);
|
|
702
841
|
return () => {
|
|
703
842
|
parentRegister(instanceId, null, null, null, null);
|
|
704
843
|
};
|
|
@@ -771,9 +910,9 @@ const OmbreComponent$52 = (props) => {
|
|
|
771
910
|
children: props.children
|
|
772
911
|
});
|
|
773
912
|
};
|
|
774
|
-
var
|
|
775
|
-
function computeEffectiveProps$51(props, defaultProps$
|
|
776
|
-
let baseProps = { ...defaultProps$
|
|
913
|
+
var Blur_default = OmbreComponent$52;
|
|
914
|
+
function computeEffectiveProps$51(props, defaultProps$57) {
|
|
915
|
+
let baseProps = { ...defaultProps$57 };
|
|
777
916
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
778
917
|
return baseProps;
|
|
779
918
|
}
|
|
@@ -792,7 +931,7 @@ var defaultProps$51 = {
|
|
|
792
931
|
visible: true
|
|
793
932
|
};
|
|
794
933
|
try {
|
|
795
|
-
if (componentDefinition$
|
|
934
|
+
if (componentDefinition$5 && componentDefinition$5.props) Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
796
935
|
const propConfig = config;
|
|
797
936
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$51[key] = propConfig.default;
|
|
798
937
|
});
|
|
@@ -804,7 +943,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
804
943
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
805
944
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
806
945
|
const instanceId = useMemo(() => {
|
|
807
|
-
return props.id || `${componentDefinition$
|
|
946
|
+
return props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
808
947
|
}, [props.id]);
|
|
809
948
|
const effectiveProps = useMemo(() => {
|
|
810
949
|
return computeEffectiveProps$51(props, defaultProps$51);
|
|
@@ -814,7 +953,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
814
953
|
...props.transform
|
|
815
954
|
}), [props.transform]);
|
|
816
955
|
const uniformsRef = useRef(null);
|
|
817
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
956
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$5, effectiveProps, instanceId);
|
|
818
957
|
const childContextValue = useMemo(() => {
|
|
819
958
|
return {
|
|
820
959
|
...context,
|
|
@@ -836,7 +975,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
836
975
|
renderOrder: props.renderOrder || 0,
|
|
837
976
|
transform: effectiveTransform
|
|
838
977
|
};
|
|
839
|
-
parentRegister(instanceId, componentDefinition$
|
|
978
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$5);
|
|
840
979
|
return () => {
|
|
841
980
|
parentRegister(instanceId, null, null, null, null);
|
|
842
981
|
};
|
|
@@ -909,9 +1048,9 @@ const OmbreComponent$51 = (props) => {
|
|
|
909
1048
|
children: props.children
|
|
910
1049
|
});
|
|
911
1050
|
};
|
|
912
|
-
var
|
|
913
|
-
function computeEffectiveProps$50(props, defaultProps$
|
|
914
|
-
let baseProps = { ...defaultProps$
|
|
1051
|
+
var BrightnessContrast_default = OmbreComponent$51;
|
|
1052
|
+
function computeEffectiveProps$50(props, defaultProps$57) {
|
|
1053
|
+
let baseProps = { ...defaultProps$57 };
|
|
915
1054
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
916
1055
|
return baseProps;
|
|
917
1056
|
}
|
|
@@ -930,7 +1069,7 @@ var defaultProps$50 = {
|
|
|
930
1069
|
visible: true
|
|
931
1070
|
};
|
|
932
1071
|
try {
|
|
933
|
-
if (componentDefinition$
|
|
1072
|
+
if (componentDefinition$6 && componentDefinition$6.props) Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
934
1073
|
const propConfig = config;
|
|
935
1074
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$50[key] = propConfig.default;
|
|
936
1075
|
});
|
|
@@ -942,7 +1081,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
942
1081
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
943
1082
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
944
1083
|
const instanceId = useMemo(() => {
|
|
945
|
-
return props.id || `${componentDefinition$
|
|
1084
|
+
return props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
946
1085
|
}, [props.id]);
|
|
947
1086
|
const effectiveProps = useMemo(() => {
|
|
948
1087
|
return computeEffectiveProps$50(props, defaultProps$50);
|
|
@@ -952,7 +1091,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
952
1091
|
...props.transform
|
|
953
1092
|
}), [props.transform]);
|
|
954
1093
|
const uniformsRef = useRef(null);
|
|
955
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1094
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$6, effectiveProps, instanceId);
|
|
956
1095
|
const childContextValue = useMemo(() => {
|
|
957
1096
|
return {
|
|
958
1097
|
...context,
|
|
@@ -974,7 +1113,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
974
1113
|
renderOrder: props.renderOrder || 0,
|
|
975
1114
|
transform: effectiveTransform
|
|
976
1115
|
};
|
|
977
|
-
parentRegister(instanceId, componentDefinition$
|
|
1116
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$6);
|
|
978
1117
|
return () => {
|
|
979
1118
|
parentRegister(instanceId, null, null, null, null);
|
|
980
1119
|
};
|
|
@@ -1047,9 +1186,9 @@ const OmbreComponent$50 = (props) => {
|
|
|
1047
1186
|
children: props.children
|
|
1048
1187
|
});
|
|
1049
1188
|
};
|
|
1050
|
-
var
|
|
1051
|
-
function computeEffectiveProps$49(props, defaultProps$
|
|
1052
|
-
let baseProps = { ...defaultProps$
|
|
1189
|
+
var Bulge_default = OmbreComponent$50;
|
|
1190
|
+
function computeEffectiveProps$49(props, defaultProps$57) {
|
|
1191
|
+
let baseProps = { ...defaultProps$57 };
|
|
1053
1192
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1054
1193
|
return baseProps;
|
|
1055
1194
|
}
|
|
@@ -1068,7 +1207,7 @@ var defaultProps$49 = {
|
|
|
1068
1207
|
visible: true
|
|
1069
1208
|
};
|
|
1070
1209
|
try {
|
|
1071
|
-
if (componentDefinition$
|
|
1210
|
+
if (componentDefinition$7 && componentDefinition$7.props) Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1072
1211
|
const propConfig = config;
|
|
1073
1212
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$49[key] = propConfig.default;
|
|
1074
1213
|
});
|
|
@@ -1080,7 +1219,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1080
1219
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1081
1220
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1082
1221
|
const instanceId = useMemo(() => {
|
|
1083
|
-
return props.id || `${componentDefinition$
|
|
1222
|
+
return props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1084
1223
|
}, [props.id]);
|
|
1085
1224
|
const effectiveProps = useMemo(() => {
|
|
1086
1225
|
return computeEffectiveProps$49(props, defaultProps$49);
|
|
@@ -1090,7 +1229,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1090
1229
|
...props.transform
|
|
1091
1230
|
}), [props.transform]);
|
|
1092
1231
|
const uniformsRef = useRef(null);
|
|
1093
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1232
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$7, effectiveProps, instanceId);
|
|
1094
1233
|
const childContextValue = useMemo(() => {
|
|
1095
1234
|
return {
|
|
1096
1235
|
...context,
|
|
@@ -1112,7 +1251,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
1112
1251
|
renderOrder: props.renderOrder || 0,
|
|
1113
1252
|
transform: effectiveTransform
|
|
1114
1253
|
};
|
|
1115
|
-
parentRegister(instanceId, componentDefinition$
|
|
1254
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$7);
|
|
1116
1255
|
return () => {
|
|
1117
1256
|
parentRegister(instanceId, null, null, null, null);
|
|
1118
1257
|
};
|
|
@@ -1185,9 +1324,9 @@ const OmbreComponent$49 = (props) => {
|
|
|
1185
1324
|
children: props.children
|
|
1186
1325
|
});
|
|
1187
1326
|
};
|
|
1188
|
-
var
|
|
1189
|
-
function computeEffectiveProps$48(props, defaultProps$
|
|
1190
|
-
let baseProps = { ...defaultProps$
|
|
1327
|
+
var CRTScreen_default = OmbreComponent$49;
|
|
1328
|
+
function computeEffectiveProps$48(props, defaultProps$57) {
|
|
1329
|
+
let baseProps = { ...defaultProps$57 };
|
|
1191
1330
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1192
1331
|
return baseProps;
|
|
1193
1332
|
}
|
|
@@ -1206,7 +1345,7 @@ var defaultProps$48 = {
|
|
|
1206
1345
|
visible: true
|
|
1207
1346
|
};
|
|
1208
1347
|
try {
|
|
1209
|
-
if (componentDefinition$
|
|
1348
|
+
if (componentDefinition$8 && componentDefinition$8.props) Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1210
1349
|
const propConfig = config;
|
|
1211
1350
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$48[key] = propConfig.default;
|
|
1212
1351
|
});
|
|
@@ -1218,7 +1357,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1218
1357
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1219
1358
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1220
1359
|
const instanceId = useMemo(() => {
|
|
1221
|
-
return props.id || `${componentDefinition$
|
|
1360
|
+
return props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1222
1361
|
}, [props.id]);
|
|
1223
1362
|
const effectiveProps = useMemo(() => {
|
|
1224
1363
|
return computeEffectiveProps$48(props, defaultProps$48);
|
|
@@ -1228,7 +1367,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1228
1367
|
...props.transform
|
|
1229
1368
|
}), [props.transform]);
|
|
1230
1369
|
const uniformsRef = useRef(null);
|
|
1231
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1370
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$8, effectiveProps, instanceId);
|
|
1232
1371
|
const childContextValue = useMemo(() => {
|
|
1233
1372
|
return {
|
|
1234
1373
|
...context,
|
|
@@ -1250,7 +1389,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1250
1389
|
renderOrder: props.renderOrder || 0,
|
|
1251
1390
|
transform: effectiveTransform
|
|
1252
1391
|
};
|
|
1253
|
-
parentRegister(instanceId, componentDefinition$
|
|
1392
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$8);
|
|
1254
1393
|
return () => {
|
|
1255
1394
|
parentRegister(instanceId, null, null, null, null);
|
|
1256
1395
|
};
|
|
@@ -1323,9 +1462,9 @@ const OmbreComponent$48 = (props) => {
|
|
|
1323
1462
|
children: props.children
|
|
1324
1463
|
});
|
|
1325
1464
|
};
|
|
1326
|
-
var
|
|
1327
|
-
function computeEffectiveProps$47(props, defaultProps$
|
|
1328
|
-
let baseProps = { ...defaultProps$
|
|
1465
|
+
var ChannelBlur_default = OmbreComponent$48;
|
|
1466
|
+
function computeEffectiveProps$47(props, defaultProps$57) {
|
|
1467
|
+
let baseProps = { ...defaultProps$57 };
|
|
1329
1468
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1330
1469
|
return baseProps;
|
|
1331
1470
|
}
|
|
@@ -1344,7 +1483,7 @@ var defaultProps$47 = {
|
|
|
1344
1483
|
visible: true
|
|
1345
1484
|
};
|
|
1346
1485
|
try {
|
|
1347
|
-
if (componentDefinition$
|
|
1486
|
+
if (componentDefinition$9 && componentDefinition$9.props) Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1348
1487
|
const propConfig = config;
|
|
1349
1488
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$47[key] = propConfig.default;
|
|
1350
1489
|
});
|
|
@@ -1356,7 +1495,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1356
1495
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1357
1496
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1358
1497
|
const instanceId = useMemo(() => {
|
|
1359
|
-
return props.id || `${componentDefinition$
|
|
1498
|
+
return props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1360
1499
|
}, [props.id]);
|
|
1361
1500
|
const effectiveProps = useMemo(() => {
|
|
1362
1501
|
return computeEffectiveProps$47(props, defaultProps$47);
|
|
@@ -1366,7 +1505,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1366
1505
|
...props.transform
|
|
1367
1506
|
}), [props.transform]);
|
|
1368
1507
|
const uniformsRef = useRef(null);
|
|
1369
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1508
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$9, effectiveProps, instanceId);
|
|
1370
1509
|
const childContextValue = useMemo(() => {
|
|
1371
1510
|
return {
|
|
1372
1511
|
...context,
|
|
@@ -1388,7 +1527,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1388
1527
|
renderOrder: props.renderOrder || 0,
|
|
1389
1528
|
transform: effectiveTransform
|
|
1390
1529
|
};
|
|
1391
|
-
parentRegister(instanceId, componentDefinition$
|
|
1530
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$9);
|
|
1392
1531
|
return () => {
|
|
1393
1532
|
parentRegister(instanceId, null, null, null, null);
|
|
1394
1533
|
};
|
|
@@ -1461,9 +1600,9 @@ const OmbreComponent$47 = (props) => {
|
|
|
1461
1600
|
children: props.children
|
|
1462
1601
|
});
|
|
1463
1602
|
};
|
|
1464
|
-
var
|
|
1465
|
-
function computeEffectiveProps$46(props, defaultProps$
|
|
1466
|
-
let baseProps = { ...defaultProps$
|
|
1603
|
+
var Checkerboard_default = OmbreComponent$47;
|
|
1604
|
+
function computeEffectiveProps$46(props, defaultProps$57) {
|
|
1605
|
+
let baseProps = { ...defaultProps$57 };
|
|
1467
1606
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1468
1607
|
return baseProps;
|
|
1469
1608
|
}
|
|
@@ -1482,7 +1621,7 @@ var defaultProps$46 = {
|
|
|
1482
1621
|
visible: true
|
|
1483
1622
|
};
|
|
1484
1623
|
try {
|
|
1485
|
-
if (componentDefinition$
|
|
1624
|
+
if (componentDefinition$10 && componentDefinition$10.props) Object.entries(componentDefinition$10.props).forEach(([key, config]) => {
|
|
1486
1625
|
const propConfig = config;
|
|
1487
1626
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$46[key] = propConfig.default;
|
|
1488
1627
|
});
|
|
@@ -1494,7 +1633,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1494
1633
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1495
1634
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1496
1635
|
const instanceId = useMemo(() => {
|
|
1497
|
-
return props.id || `${componentDefinition$
|
|
1636
|
+
return props.id || `${componentDefinition$10.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1498
1637
|
}, [props.id]);
|
|
1499
1638
|
const effectiveProps = useMemo(() => {
|
|
1500
1639
|
return computeEffectiveProps$46(props, defaultProps$46);
|
|
@@ -1504,7 +1643,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1504
1643
|
...props.transform
|
|
1505
1644
|
}), [props.transform]);
|
|
1506
1645
|
const uniformsRef = useRef(null);
|
|
1507
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1646
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$10, effectiveProps, instanceId);
|
|
1508
1647
|
const childContextValue = useMemo(() => {
|
|
1509
1648
|
return {
|
|
1510
1649
|
...context,
|
|
@@ -1526,7 +1665,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1526
1665
|
renderOrder: props.renderOrder || 0,
|
|
1527
1666
|
transform: effectiveTransform
|
|
1528
1667
|
};
|
|
1529
|
-
parentRegister(instanceId, componentDefinition$
|
|
1668
|
+
parentRegister(instanceId, componentDefinition$10.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$10);
|
|
1530
1669
|
return () => {
|
|
1531
1670
|
parentRegister(instanceId, null, null, null, null);
|
|
1532
1671
|
};
|
|
@@ -1599,9 +1738,9 @@ const OmbreComponent$46 = (props) => {
|
|
|
1599
1738
|
children: props.children
|
|
1600
1739
|
});
|
|
1601
1740
|
};
|
|
1602
|
-
var
|
|
1603
|
-
function computeEffectiveProps$45(props, defaultProps$
|
|
1604
|
-
let baseProps = { ...defaultProps$
|
|
1741
|
+
var ChromaFlow_default = OmbreComponent$46;
|
|
1742
|
+
function computeEffectiveProps$45(props, defaultProps$57) {
|
|
1743
|
+
let baseProps = { ...defaultProps$57 };
|
|
1605
1744
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1606
1745
|
return baseProps;
|
|
1607
1746
|
}
|
|
@@ -1620,7 +1759,7 @@ var defaultProps$45 = {
|
|
|
1620
1759
|
visible: true
|
|
1621
1760
|
};
|
|
1622
1761
|
try {
|
|
1623
|
-
if (componentDefinition$
|
|
1762
|
+
if (componentDefinition$11 && componentDefinition$11.props) Object.entries(componentDefinition$11.props).forEach(([key, config]) => {
|
|
1624
1763
|
const propConfig = config;
|
|
1625
1764
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$45[key] = propConfig.default;
|
|
1626
1765
|
});
|
|
@@ -1632,7 +1771,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1632
1771
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1633
1772
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1634
1773
|
const instanceId = useMemo(() => {
|
|
1635
|
-
return props.id || `${componentDefinition$
|
|
1774
|
+
return props.id || `${componentDefinition$11.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1636
1775
|
}, [props.id]);
|
|
1637
1776
|
const effectiveProps = useMemo(() => {
|
|
1638
1777
|
return computeEffectiveProps$45(props, defaultProps$45);
|
|
@@ -1642,7 +1781,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1642
1781
|
...props.transform
|
|
1643
1782
|
}), [props.transform]);
|
|
1644
1783
|
const uniformsRef = useRef(null);
|
|
1645
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1784
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$11, effectiveProps, instanceId);
|
|
1646
1785
|
const childContextValue = useMemo(() => {
|
|
1647
1786
|
return {
|
|
1648
1787
|
...context,
|
|
@@ -1664,7 +1803,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1664
1803
|
renderOrder: props.renderOrder || 0,
|
|
1665
1804
|
transform: effectiveTransform
|
|
1666
1805
|
};
|
|
1667
|
-
parentRegister(instanceId, componentDefinition$
|
|
1806
|
+
parentRegister(instanceId, componentDefinition$11.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$11);
|
|
1668
1807
|
return () => {
|
|
1669
1808
|
parentRegister(instanceId, null, null, null, null);
|
|
1670
1809
|
};
|
|
@@ -1737,9 +1876,9 @@ const OmbreComponent$45 = (props) => {
|
|
|
1737
1876
|
children: props.children
|
|
1738
1877
|
});
|
|
1739
1878
|
};
|
|
1740
|
-
var
|
|
1741
|
-
function computeEffectiveProps$44(props, defaultProps$
|
|
1742
|
-
let baseProps = { ...defaultProps$
|
|
1879
|
+
var ChromaticAberration_default = OmbreComponent$45;
|
|
1880
|
+
function computeEffectiveProps$44(props, defaultProps$57) {
|
|
1881
|
+
let baseProps = { ...defaultProps$57 };
|
|
1743
1882
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1744
1883
|
return baseProps;
|
|
1745
1884
|
}
|
|
@@ -1758,7 +1897,7 @@ var defaultProps$44 = {
|
|
|
1758
1897
|
visible: true
|
|
1759
1898
|
};
|
|
1760
1899
|
try {
|
|
1761
|
-
if (componentDefinition$
|
|
1900
|
+
if (componentDefinition$12 && componentDefinition$12.props) Object.entries(componentDefinition$12.props).forEach(([key, config]) => {
|
|
1762
1901
|
const propConfig = config;
|
|
1763
1902
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$44[key] = propConfig.default;
|
|
1764
1903
|
});
|
|
@@ -1770,7 +1909,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1770
1909
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1771
1910
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1772
1911
|
const instanceId = useMemo(() => {
|
|
1773
|
-
return props.id || `${componentDefinition$
|
|
1912
|
+
return props.id || `${componentDefinition$12.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1774
1913
|
}, [props.id]);
|
|
1775
1914
|
const effectiveProps = useMemo(() => {
|
|
1776
1915
|
return computeEffectiveProps$44(props, defaultProps$44);
|
|
@@ -1780,7 +1919,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1780
1919
|
...props.transform
|
|
1781
1920
|
}), [props.transform]);
|
|
1782
1921
|
const uniformsRef = useRef(null);
|
|
1783
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1922
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$12, effectiveProps, instanceId);
|
|
1784
1923
|
const childContextValue = useMemo(() => {
|
|
1785
1924
|
return {
|
|
1786
1925
|
...context,
|
|
@@ -1802,7 +1941,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1802
1941
|
renderOrder: props.renderOrder || 0,
|
|
1803
1942
|
transform: effectiveTransform
|
|
1804
1943
|
};
|
|
1805
|
-
parentRegister(instanceId, componentDefinition$
|
|
1944
|
+
parentRegister(instanceId, componentDefinition$12.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$12);
|
|
1806
1945
|
return () => {
|
|
1807
1946
|
parentRegister(instanceId, null, null, null, null);
|
|
1808
1947
|
};
|
|
@@ -1875,9 +2014,9 @@ const OmbreComponent$44 = (props) => {
|
|
|
1875
2014
|
children: props.children
|
|
1876
2015
|
});
|
|
1877
2016
|
};
|
|
1878
|
-
var
|
|
1879
|
-
function computeEffectiveProps$43(props, defaultProps$
|
|
1880
|
-
let baseProps = { ...defaultProps$
|
|
2017
|
+
var Circle_default = OmbreComponent$44;
|
|
2018
|
+
function computeEffectiveProps$43(props, defaultProps$57) {
|
|
2019
|
+
let baseProps = { ...defaultProps$57 };
|
|
1881
2020
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1882
2021
|
return baseProps;
|
|
1883
2022
|
}
|
|
@@ -1896,7 +2035,7 @@ var defaultProps$43 = {
|
|
|
1896
2035
|
visible: true
|
|
1897
2036
|
};
|
|
1898
2037
|
try {
|
|
1899
|
-
if (componentDefinition$
|
|
2038
|
+
if (componentDefinition$13 && componentDefinition$13.props) Object.entries(componentDefinition$13.props).forEach(([key, config]) => {
|
|
1900
2039
|
const propConfig = config;
|
|
1901
2040
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$43[key] = propConfig.default;
|
|
1902
2041
|
});
|
|
@@ -1908,7 +2047,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1908
2047
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1909
2048
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1910
2049
|
const instanceId = useMemo(() => {
|
|
1911
|
-
return props.id || `${componentDefinition$
|
|
2050
|
+
return props.id || `${componentDefinition$13.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1912
2051
|
}, [props.id]);
|
|
1913
2052
|
const effectiveProps = useMemo(() => {
|
|
1914
2053
|
return computeEffectiveProps$43(props, defaultProps$43);
|
|
@@ -1918,7 +2057,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1918
2057
|
...props.transform
|
|
1919
2058
|
}), [props.transform]);
|
|
1920
2059
|
const uniformsRef = useRef(null);
|
|
1921
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2060
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$13, effectiveProps, instanceId);
|
|
1922
2061
|
const childContextValue = useMemo(() => {
|
|
1923
2062
|
return {
|
|
1924
2063
|
...context,
|
|
@@ -1940,7 +2079,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1940
2079
|
renderOrder: props.renderOrder || 0,
|
|
1941
2080
|
transform: effectiveTransform
|
|
1942
2081
|
};
|
|
1943
|
-
parentRegister(instanceId, componentDefinition$
|
|
2082
|
+
parentRegister(instanceId, componentDefinition$13.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$13);
|
|
1944
2083
|
return () => {
|
|
1945
2084
|
parentRegister(instanceId, null, null, null, null);
|
|
1946
2085
|
};
|
|
@@ -2013,9 +2152,9 @@ const OmbreComponent$43 = (props) => {
|
|
|
2013
2152
|
children: props.children
|
|
2014
2153
|
});
|
|
2015
2154
|
};
|
|
2016
|
-
var
|
|
2017
|
-
function computeEffectiveProps$42(props, defaultProps$
|
|
2018
|
-
let baseProps = { ...defaultProps$
|
|
2155
|
+
var CursorTrail_default = OmbreComponent$43;
|
|
2156
|
+
function computeEffectiveProps$42(props, defaultProps$57) {
|
|
2157
|
+
let baseProps = { ...defaultProps$57 };
|
|
2019
2158
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2020
2159
|
return baseProps;
|
|
2021
2160
|
}
|
|
@@ -2034,7 +2173,7 @@ var defaultProps$42 = {
|
|
|
2034
2173
|
visible: true
|
|
2035
2174
|
};
|
|
2036
2175
|
try {
|
|
2037
|
-
if (componentDefinition$
|
|
2176
|
+
if (componentDefinition$14 && componentDefinition$14.props) Object.entries(componentDefinition$14.props).forEach(([key, config]) => {
|
|
2038
2177
|
const propConfig = config;
|
|
2039
2178
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$42[key] = propConfig.default;
|
|
2040
2179
|
});
|
|
@@ -2046,7 +2185,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2046
2185
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2047
2186
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2048
2187
|
const instanceId = useMemo(() => {
|
|
2049
|
-
return props.id || `${componentDefinition$
|
|
2188
|
+
return props.id || `${componentDefinition$14.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2050
2189
|
}, [props.id]);
|
|
2051
2190
|
const effectiveProps = useMemo(() => {
|
|
2052
2191
|
return computeEffectiveProps$42(props, defaultProps$42);
|
|
@@ -2056,7 +2195,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2056
2195
|
...props.transform
|
|
2057
2196
|
}), [props.transform]);
|
|
2058
2197
|
const uniformsRef = useRef(null);
|
|
2059
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2198
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$14, effectiveProps, instanceId);
|
|
2060
2199
|
const childContextValue = useMemo(() => {
|
|
2061
2200
|
return {
|
|
2062
2201
|
...context,
|
|
@@ -2078,7 +2217,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
2078
2217
|
renderOrder: props.renderOrder || 0,
|
|
2079
2218
|
transform: effectiveTransform
|
|
2080
2219
|
};
|
|
2081
|
-
parentRegister(instanceId, componentDefinition$
|
|
2220
|
+
parentRegister(instanceId, componentDefinition$14.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$14);
|
|
2082
2221
|
return () => {
|
|
2083
2222
|
parentRegister(instanceId, null, null, null, null);
|
|
2084
2223
|
};
|
|
@@ -2151,9 +2290,9 @@ const OmbreComponent$42 = (props) => {
|
|
|
2151
2290
|
children: props.children
|
|
2152
2291
|
});
|
|
2153
2292
|
};
|
|
2154
|
-
var
|
|
2155
|
-
function computeEffectiveProps$41(props, defaultProps$
|
|
2156
|
-
let baseProps = { ...defaultProps$
|
|
2293
|
+
var DiffuseBlur_default = OmbreComponent$42;
|
|
2294
|
+
function computeEffectiveProps$41(props, defaultProps$57) {
|
|
2295
|
+
let baseProps = { ...defaultProps$57 };
|
|
2157
2296
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2158
2297
|
return baseProps;
|
|
2159
2298
|
}
|
|
@@ -2172,7 +2311,7 @@ var defaultProps$41 = {
|
|
|
2172
2311
|
visible: true
|
|
2173
2312
|
};
|
|
2174
2313
|
try {
|
|
2175
|
-
if (componentDefinition$
|
|
2314
|
+
if (componentDefinition$15 && componentDefinition$15.props) Object.entries(componentDefinition$15.props).forEach(([key, config]) => {
|
|
2176
2315
|
const propConfig = config;
|
|
2177
2316
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$41[key] = propConfig.default;
|
|
2178
2317
|
});
|
|
@@ -2184,7 +2323,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2184
2323
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2185
2324
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2186
2325
|
const instanceId = useMemo(() => {
|
|
2187
|
-
return props.id || `${componentDefinition$
|
|
2326
|
+
return props.id || `${componentDefinition$15.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2188
2327
|
}, [props.id]);
|
|
2189
2328
|
const effectiveProps = useMemo(() => {
|
|
2190
2329
|
return computeEffectiveProps$41(props, defaultProps$41);
|
|
@@ -2194,7 +2333,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2194
2333
|
...props.transform
|
|
2195
2334
|
}), [props.transform]);
|
|
2196
2335
|
const uniformsRef = useRef(null);
|
|
2197
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2336
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$15, effectiveProps, instanceId);
|
|
2198
2337
|
const childContextValue = useMemo(() => {
|
|
2199
2338
|
return {
|
|
2200
2339
|
...context,
|
|
@@ -2216,7 +2355,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2216
2355
|
renderOrder: props.renderOrder || 0,
|
|
2217
2356
|
transform: effectiveTransform
|
|
2218
2357
|
};
|
|
2219
|
-
parentRegister(instanceId, componentDefinition$
|
|
2358
|
+
parentRegister(instanceId, componentDefinition$15.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$15);
|
|
2220
2359
|
return () => {
|
|
2221
2360
|
parentRegister(instanceId, null, null, null, null);
|
|
2222
2361
|
};
|
|
@@ -2289,9 +2428,9 @@ const OmbreComponent$41 = (props) => {
|
|
|
2289
2428
|
children: props.children
|
|
2290
2429
|
});
|
|
2291
2430
|
};
|
|
2292
|
-
var
|
|
2293
|
-
function computeEffectiveProps$40(props, defaultProps$
|
|
2294
|
-
let baseProps = { ...defaultProps$
|
|
2431
|
+
var Dither_default = OmbreComponent$41;
|
|
2432
|
+
function computeEffectiveProps$40(props, defaultProps$57) {
|
|
2433
|
+
let baseProps = { ...defaultProps$57 };
|
|
2295
2434
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2296
2435
|
return baseProps;
|
|
2297
2436
|
}
|
|
@@ -2310,7 +2449,7 @@ var defaultProps$40 = {
|
|
|
2310
2449
|
visible: true
|
|
2311
2450
|
};
|
|
2312
2451
|
try {
|
|
2313
|
-
if (componentDefinition$
|
|
2452
|
+
if (componentDefinition$16 && componentDefinition$16.props) Object.entries(componentDefinition$16.props).forEach(([key, config]) => {
|
|
2314
2453
|
const propConfig = config;
|
|
2315
2454
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$40[key] = propConfig.default;
|
|
2316
2455
|
});
|
|
@@ -2322,7 +2461,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2322
2461
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2323
2462
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2324
2463
|
const instanceId = useMemo(() => {
|
|
2325
|
-
return props.id || `${componentDefinition$
|
|
2464
|
+
return props.id || `${componentDefinition$16.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2326
2465
|
}, [props.id]);
|
|
2327
2466
|
const effectiveProps = useMemo(() => {
|
|
2328
2467
|
return computeEffectiveProps$40(props, defaultProps$40);
|
|
@@ -2332,7 +2471,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2332
2471
|
...props.transform
|
|
2333
2472
|
}), [props.transform]);
|
|
2334
2473
|
const uniformsRef = useRef(null);
|
|
2335
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2474
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$16, effectiveProps, instanceId);
|
|
2336
2475
|
const childContextValue = useMemo(() => {
|
|
2337
2476
|
return {
|
|
2338
2477
|
...context,
|
|
@@ -2354,7 +2493,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2354
2493
|
renderOrder: props.renderOrder || 0,
|
|
2355
2494
|
transform: effectiveTransform
|
|
2356
2495
|
};
|
|
2357
|
-
parentRegister(instanceId, componentDefinition$
|
|
2496
|
+
parentRegister(instanceId, componentDefinition$16.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$16);
|
|
2358
2497
|
return () => {
|
|
2359
2498
|
parentRegister(instanceId, null, null, null, null);
|
|
2360
2499
|
};
|
|
@@ -2427,9 +2566,9 @@ const OmbreComponent$40 = (props) => {
|
|
|
2427
2566
|
children: props.children
|
|
2428
2567
|
});
|
|
2429
2568
|
};
|
|
2430
|
-
var
|
|
2431
|
-
function computeEffectiveProps$39(props, defaultProps$
|
|
2432
|
-
let baseProps = { ...defaultProps$
|
|
2569
|
+
var DotGrid_default = OmbreComponent$40;
|
|
2570
|
+
function computeEffectiveProps$39(props, defaultProps$57) {
|
|
2571
|
+
let baseProps = { ...defaultProps$57 };
|
|
2433
2572
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2434
2573
|
return baseProps;
|
|
2435
2574
|
}
|
|
@@ -2448,7 +2587,7 @@ var defaultProps$39 = {
|
|
|
2448
2587
|
visible: true
|
|
2449
2588
|
};
|
|
2450
2589
|
try {
|
|
2451
|
-
if (componentDefinition$
|
|
2590
|
+
if (componentDefinition$17 && componentDefinition$17.props) Object.entries(componentDefinition$17.props).forEach(([key, config]) => {
|
|
2452
2591
|
const propConfig = config;
|
|
2453
2592
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$39[key] = propConfig.default;
|
|
2454
2593
|
});
|
|
@@ -2460,7 +2599,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2460
2599
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2461
2600
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2462
2601
|
const instanceId = useMemo(() => {
|
|
2463
|
-
return props.id || `${componentDefinition$
|
|
2602
|
+
return props.id || `${componentDefinition$17.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2464
2603
|
}, [props.id]);
|
|
2465
2604
|
const effectiveProps = useMemo(() => {
|
|
2466
2605
|
return computeEffectiveProps$39(props, defaultProps$39);
|
|
@@ -2470,7 +2609,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2470
2609
|
...props.transform
|
|
2471
2610
|
}), [props.transform]);
|
|
2472
2611
|
const uniformsRef = useRef(null);
|
|
2473
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2612
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$17, effectiveProps, instanceId);
|
|
2474
2613
|
const childContextValue = useMemo(() => {
|
|
2475
2614
|
return {
|
|
2476
2615
|
...context,
|
|
@@ -2492,7 +2631,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2492
2631
|
renderOrder: props.renderOrder || 0,
|
|
2493
2632
|
transform: effectiveTransform
|
|
2494
2633
|
};
|
|
2495
|
-
parentRegister(instanceId, componentDefinition$
|
|
2634
|
+
parentRegister(instanceId, componentDefinition$17.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$17);
|
|
2496
2635
|
return () => {
|
|
2497
2636
|
parentRegister(instanceId, null, null, null, null);
|
|
2498
2637
|
};
|
|
@@ -2565,9 +2704,9 @@ const OmbreComponent$39 = (props) => {
|
|
|
2565
2704
|
children: props.children
|
|
2566
2705
|
});
|
|
2567
2706
|
};
|
|
2568
|
-
var
|
|
2569
|
-
function computeEffectiveProps$38(props, defaultProps$
|
|
2570
|
-
let baseProps = { ...defaultProps$
|
|
2707
|
+
var Duotone_default = OmbreComponent$39;
|
|
2708
|
+
function computeEffectiveProps$38(props, defaultProps$57) {
|
|
2709
|
+
let baseProps = { ...defaultProps$57 };
|
|
2571
2710
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2572
2711
|
return baseProps;
|
|
2573
2712
|
}
|
|
@@ -2586,7 +2725,7 @@ var defaultProps$38 = {
|
|
|
2586
2725
|
visible: true
|
|
2587
2726
|
};
|
|
2588
2727
|
try {
|
|
2589
|
-
if (componentDefinition$
|
|
2728
|
+
if (componentDefinition$18 && componentDefinition$18.props) Object.entries(componentDefinition$18.props).forEach(([key, config]) => {
|
|
2590
2729
|
const propConfig = config;
|
|
2591
2730
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$38[key] = propConfig.default;
|
|
2592
2731
|
});
|
|
@@ -2598,7 +2737,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2598
2737
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2599
2738
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2600
2739
|
const instanceId = useMemo(() => {
|
|
2601
|
-
return props.id || `${componentDefinition$
|
|
2740
|
+
return props.id || `${componentDefinition$18.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2602
2741
|
}, [props.id]);
|
|
2603
2742
|
const effectiveProps = useMemo(() => {
|
|
2604
2743
|
return computeEffectiveProps$38(props, defaultProps$38);
|
|
@@ -2608,7 +2747,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2608
2747
|
...props.transform
|
|
2609
2748
|
}), [props.transform]);
|
|
2610
2749
|
const uniformsRef = useRef(null);
|
|
2611
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2750
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$18, effectiveProps, instanceId);
|
|
2612
2751
|
const childContextValue = useMemo(() => {
|
|
2613
2752
|
return {
|
|
2614
2753
|
...context,
|
|
@@ -2630,7 +2769,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2630
2769
|
renderOrder: props.renderOrder || 0,
|
|
2631
2770
|
transform: effectiveTransform
|
|
2632
2771
|
};
|
|
2633
|
-
parentRegister(instanceId, componentDefinition$
|
|
2772
|
+
parentRegister(instanceId, componentDefinition$18.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$18);
|
|
2634
2773
|
return () => {
|
|
2635
2774
|
parentRegister(instanceId, null, null, null, null);
|
|
2636
2775
|
};
|
|
@@ -2703,9 +2842,9 @@ const OmbreComponent$38 = (props) => {
|
|
|
2703
2842
|
children: props.children
|
|
2704
2843
|
});
|
|
2705
2844
|
};
|
|
2706
|
-
var
|
|
2707
|
-
function computeEffectiveProps$37(props, defaultProps$
|
|
2708
|
-
let baseProps = { ...defaultProps$
|
|
2845
|
+
var FilmGrain_default = OmbreComponent$38;
|
|
2846
|
+
function computeEffectiveProps$37(props, defaultProps$57) {
|
|
2847
|
+
let baseProps = { ...defaultProps$57 };
|
|
2709
2848
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2710
2849
|
return baseProps;
|
|
2711
2850
|
}
|
|
@@ -2724,7 +2863,7 @@ var defaultProps$37 = {
|
|
|
2724
2863
|
visible: true
|
|
2725
2864
|
};
|
|
2726
2865
|
try {
|
|
2727
|
-
if (componentDefinition$
|
|
2866
|
+
if (componentDefinition$19 && componentDefinition$19.props) Object.entries(componentDefinition$19.props).forEach(([key, config]) => {
|
|
2728
2867
|
const propConfig = config;
|
|
2729
2868
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$37[key] = propConfig.default;
|
|
2730
2869
|
});
|
|
@@ -2736,7 +2875,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2736
2875
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2737
2876
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2738
2877
|
const instanceId = useMemo(() => {
|
|
2739
|
-
return props.id || `${componentDefinition$
|
|
2878
|
+
return props.id || `${componentDefinition$19.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2740
2879
|
}, [props.id]);
|
|
2741
2880
|
const effectiveProps = useMemo(() => {
|
|
2742
2881
|
return computeEffectiveProps$37(props, defaultProps$37);
|
|
@@ -2746,7 +2885,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2746
2885
|
...props.transform
|
|
2747
2886
|
}), [props.transform]);
|
|
2748
2887
|
const uniformsRef = useRef(null);
|
|
2749
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2888
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$19, effectiveProps, instanceId);
|
|
2750
2889
|
const childContextValue = useMemo(() => {
|
|
2751
2890
|
return {
|
|
2752
2891
|
...context,
|
|
@@ -2768,7 +2907,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2768
2907
|
renderOrder: props.renderOrder || 0,
|
|
2769
2908
|
transform: effectiveTransform
|
|
2770
2909
|
};
|
|
2771
|
-
parentRegister(instanceId, componentDefinition$
|
|
2910
|
+
parentRegister(instanceId, componentDefinition$19.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$19);
|
|
2772
2911
|
return () => {
|
|
2773
2912
|
parentRegister(instanceId, null, null, null, null);
|
|
2774
2913
|
};
|
|
@@ -2841,9 +2980,9 @@ const OmbreComponent$37 = (props) => {
|
|
|
2841
2980
|
children: props.children
|
|
2842
2981
|
});
|
|
2843
2982
|
};
|
|
2844
|
-
var
|
|
2845
|
-
function computeEffectiveProps$36(props, defaultProps$
|
|
2846
|
-
let baseProps = { ...defaultProps$
|
|
2983
|
+
var FloatingParticles_default = OmbreComponent$37;
|
|
2984
|
+
function computeEffectiveProps$36(props, defaultProps$57) {
|
|
2985
|
+
let baseProps = { ...defaultProps$57 };
|
|
2847
2986
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2848
2987
|
return baseProps;
|
|
2849
2988
|
}
|
|
@@ -2862,7 +3001,7 @@ var defaultProps$36 = {
|
|
|
2862
3001
|
visible: true
|
|
2863
3002
|
};
|
|
2864
3003
|
try {
|
|
2865
|
-
if (componentDefinition$
|
|
3004
|
+
if (componentDefinition$20 && componentDefinition$20.props) Object.entries(componentDefinition$20.props).forEach(([key, config]) => {
|
|
2866
3005
|
const propConfig = config;
|
|
2867
3006
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$36[key] = propConfig.default;
|
|
2868
3007
|
});
|
|
@@ -2874,7 +3013,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2874
3013
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2875
3014
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2876
3015
|
const instanceId = useMemo(() => {
|
|
2877
|
-
return props.id || `${componentDefinition$
|
|
3016
|
+
return props.id || `${componentDefinition$20.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2878
3017
|
}, [props.id]);
|
|
2879
3018
|
const effectiveProps = useMemo(() => {
|
|
2880
3019
|
return computeEffectiveProps$36(props, defaultProps$36);
|
|
@@ -2884,7 +3023,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2884
3023
|
...props.transform
|
|
2885
3024
|
}), [props.transform]);
|
|
2886
3025
|
const uniformsRef = useRef(null);
|
|
2887
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3026
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$20, effectiveProps, instanceId);
|
|
2888
3027
|
const childContextValue = useMemo(() => {
|
|
2889
3028
|
return {
|
|
2890
3029
|
...context,
|
|
@@ -2906,7 +3045,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2906
3045
|
renderOrder: props.renderOrder || 0,
|
|
2907
3046
|
transform: effectiveTransform
|
|
2908
3047
|
};
|
|
2909
|
-
parentRegister(instanceId, componentDefinition$
|
|
3048
|
+
parentRegister(instanceId, componentDefinition$20.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$20);
|
|
2910
3049
|
return () => {
|
|
2911
3050
|
parentRegister(instanceId, null, null, null, null);
|
|
2912
3051
|
};
|
|
@@ -2979,9 +3118,9 @@ const OmbreComponent$36 = (props) => {
|
|
|
2979
3118
|
children: props.children
|
|
2980
3119
|
});
|
|
2981
3120
|
};
|
|
2982
|
-
var
|
|
2983
|
-
function computeEffectiveProps$35(props, defaultProps$
|
|
2984
|
-
let baseProps = { ...defaultProps$
|
|
3121
|
+
var GlassTiles_default = OmbreComponent$36;
|
|
3122
|
+
function computeEffectiveProps$35(props, defaultProps$57) {
|
|
3123
|
+
let baseProps = { ...defaultProps$57 };
|
|
2985
3124
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2986
3125
|
return baseProps;
|
|
2987
3126
|
}
|
|
@@ -3000,7 +3139,7 @@ var defaultProps$35 = {
|
|
|
3000
3139
|
visible: true
|
|
3001
3140
|
};
|
|
3002
3141
|
try {
|
|
3003
|
-
if (componentDefinition$
|
|
3142
|
+
if (componentDefinition$21 && componentDefinition$21.props) Object.entries(componentDefinition$21.props).forEach(([key, config]) => {
|
|
3004
3143
|
const propConfig = config;
|
|
3005
3144
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$35[key] = propConfig.default;
|
|
3006
3145
|
});
|
|
@@ -3012,7 +3151,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3012
3151
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3013
3152
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3014
3153
|
const instanceId = useMemo(() => {
|
|
3015
|
-
return props.id || `${componentDefinition$
|
|
3154
|
+
return props.id || `${componentDefinition$21.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3016
3155
|
}, [props.id]);
|
|
3017
3156
|
const effectiveProps = useMemo(() => {
|
|
3018
3157
|
return computeEffectiveProps$35(props, defaultProps$35);
|
|
@@ -3022,7 +3161,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3022
3161
|
...props.transform
|
|
3023
3162
|
}), [props.transform]);
|
|
3024
3163
|
const uniformsRef = useRef(null);
|
|
3025
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3164
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$21, effectiveProps, instanceId);
|
|
3026
3165
|
const childContextValue = useMemo(() => {
|
|
3027
3166
|
return {
|
|
3028
3167
|
...context,
|
|
@@ -3044,7 +3183,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
3044
3183
|
renderOrder: props.renderOrder || 0,
|
|
3045
3184
|
transform: effectiveTransform
|
|
3046
3185
|
};
|
|
3047
|
-
parentRegister(instanceId, componentDefinition$
|
|
3186
|
+
parentRegister(instanceId, componentDefinition$21.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$21);
|
|
3048
3187
|
return () => {
|
|
3049
3188
|
parentRegister(instanceId, null, null, null, null);
|
|
3050
3189
|
};
|
|
@@ -3117,9 +3256,9 @@ const OmbreComponent$35 = (props) => {
|
|
|
3117
3256
|
children: props.children
|
|
3118
3257
|
});
|
|
3119
3258
|
};
|
|
3120
|
-
var
|
|
3121
|
-
function computeEffectiveProps$34(props, defaultProps$
|
|
3122
|
-
let baseProps = { ...defaultProps$
|
|
3259
|
+
var Glow_default = OmbreComponent$35;
|
|
3260
|
+
function computeEffectiveProps$34(props, defaultProps$57) {
|
|
3261
|
+
let baseProps = { ...defaultProps$57 };
|
|
3123
3262
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3124
3263
|
return baseProps;
|
|
3125
3264
|
}
|
|
@@ -3138,7 +3277,7 @@ var defaultProps$34 = {
|
|
|
3138
3277
|
visible: true
|
|
3139
3278
|
};
|
|
3140
3279
|
try {
|
|
3141
|
-
if (componentDefinition$
|
|
3280
|
+
if (componentDefinition$22 && componentDefinition$22.props) Object.entries(componentDefinition$22.props).forEach(([key, config]) => {
|
|
3142
3281
|
const propConfig = config;
|
|
3143
3282
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$34[key] = propConfig.default;
|
|
3144
3283
|
});
|
|
@@ -3150,7 +3289,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3150
3289
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3151
3290
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3152
3291
|
const instanceId = useMemo(() => {
|
|
3153
|
-
return props.id || `${componentDefinition$
|
|
3292
|
+
return props.id || `${componentDefinition$22.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3154
3293
|
}, [props.id]);
|
|
3155
3294
|
const effectiveProps = useMemo(() => {
|
|
3156
3295
|
return computeEffectiveProps$34(props, defaultProps$34);
|
|
@@ -3160,7 +3299,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3160
3299
|
...props.transform
|
|
3161
3300
|
}), [props.transform]);
|
|
3162
3301
|
const uniformsRef = useRef(null);
|
|
3163
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3302
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$22, effectiveProps, instanceId);
|
|
3164
3303
|
const childContextValue = useMemo(() => {
|
|
3165
3304
|
return {
|
|
3166
3305
|
...context,
|
|
@@ -3182,7 +3321,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3182
3321
|
renderOrder: props.renderOrder || 0,
|
|
3183
3322
|
transform: effectiveTransform
|
|
3184
3323
|
};
|
|
3185
|
-
parentRegister(instanceId, componentDefinition$
|
|
3324
|
+
parentRegister(instanceId, componentDefinition$22.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$22);
|
|
3186
3325
|
return () => {
|
|
3187
3326
|
parentRegister(instanceId, null, null, null, null);
|
|
3188
3327
|
};
|
|
@@ -3255,9 +3394,9 @@ const OmbreComponent$34 = (props) => {
|
|
|
3255
3394
|
children: props.children
|
|
3256
3395
|
});
|
|
3257
3396
|
};
|
|
3258
|
-
var
|
|
3259
|
-
function computeEffectiveProps$33(props, defaultProps$
|
|
3260
|
-
let baseProps = { ...defaultProps$
|
|
3397
|
+
var Godrays_default = OmbreComponent$34;
|
|
3398
|
+
function computeEffectiveProps$33(props, defaultProps$57) {
|
|
3399
|
+
let baseProps = { ...defaultProps$57 };
|
|
3261
3400
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3262
3401
|
return baseProps;
|
|
3263
3402
|
}
|
|
@@ -3276,7 +3415,7 @@ var defaultProps$33 = {
|
|
|
3276
3415
|
visible: true
|
|
3277
3416
|
};
|
|
3278
3417
|
try {
|
|
3279
|
-
if (componentDefinition$
|
|
3418
|
+
if (componentDefinition$23 && componentDefinition$23.props) Object.entries(componentDefinition$23.props).forEach(([key, config]) => {
|
|
3280
3419
|
const propConfig = config;
|
|
3281
3420
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$33[key] = propConfig.default;
|
|
3282
3421
|
});
|
|
@@ -3288,7 +3427,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3288
3427
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3289
3428
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3290
3429
|
const instanceId = useMemo(() => {
|
|
3291
|
-
return props.id || `${componentDefinition$
|
|
3430
|
+
return props.id || `${componentDefinition$23.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3292
3431
|
}, [props.id]);
|
|
3293
3432
|
const effectiveProps = useMemo(() => {
|
|
3294
3433
|
return computeEffectiveProps$33(props, defaultProps$33);
|
|
@@ -3298,7 +3437,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3298
3437
|
...props.transform
|
|
3299
3438
|
}), [props.transform]);
|
|
3300
3439
|
const uniformsRef = useRef(null);
|
|
3301
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3440
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$23, effectiveProps, instanceId);
|
|
3302
3441
|
const childContextValue = useMemo(() => {
|
|
3303
3442
|
return {
|
|
3304
3443
|
...context,
|
|
@@ -3320,7 +3459,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3320
3459
|
renderOrder: props.renderOrder || 0,
|
|
3321
3460
|
transform: effectiveTransform
|
|
3322
3461
|
};
|
|
3323
|
-
parentRegister(instanceId, componentDefinition$
|
|
3462
|
+
parentRegister(instanceId, componentDefinition$23.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$23);
|
|
3324
3463
|
return () => {
|
|
3325
3464
|
parentRegister(instanceId, null, null, null, null);
|
|
3326
3465
|
};
|
|
@@ -3393,9 +3532,9 @@ const OmbreComponent$33 = (props) => {
|
|
|
3393
3532
|
children: props.children
|
|
3394
3533
|
});
|
|
3395
3534
|
};
|
|
3396
|
-
var
|
|
3397
|
-
function computeEffectiveProps$32(props, defaultProps$
|
|
3398
|
-
let baseProps = { ...defaultProps$
|
|
3535
|
+
var Grayscale_default = OmbreComponent$33;
|
|
3536
|
+
function computeEffectiveProps$32(props, defaultProps$57) {
|
|
3537
|
+
let baseProps = { ...defaultProps$57 };
|
|
3399
3538
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3400
3539
|
return baseProps;
|
|
3401
3540
|
}
|
|
@@ -3414,7 +3553,7 @@ var defaultProps$32 = {
|
|
|
3414
3553
|
visible: true
|
|
3415
3554
|
};
|
|
3416
3555
|
try {
|
|
3417
|
-
if (componentDefinition$
|
|
3556
|
+
if (componentDefinition$24 && componentDefinition$24.props) Object.entries(componentDefinition$24.props).forEach(([key, config]) => {
|
|
3418
3557
|
const propConfig = config;
|
|
3419
3558
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$32[key] = propConfig.default;
|
|
3420
3559
|
});
|
|
@@ -3426,7 +3565,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3426
3565
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3427
3566
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3428
3567
|
const instanceId = useMemo(() => {
|
|
3429
|
-
return props.id || `${componentDefinition$
|
|
3568
|
+
return props.id || `${componentDefinition$24.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3430
3569
|
}, [props.id]);
|
|
3431
3570
|
const effectiveProps = useMemo(() => {
|
|
3432
3571
|
return computeEffectiveProps$32(props, defaultProps$32);
|
|
@@ -3436,7 +3575,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3436
3575
|
...props.transform
|
|
3437
3576
|
}), [props.transform]);
|
|
3438
3577
|
const uniformsRef = useRef(null);
|
|
3439
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3578
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$24, effectiveProps, instanceId);
|
|
3440
3579
|
const childContextValue = useMemo(() => {
|
|
3441
3580
|
return {
|
|
3442
3581
|
...context,
|
|
@@ -3458,7 +3597,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3458
3597
|
renderOrder: props.renderOrder || 0,
|
|
3459
3598
|
transform: effectiveTransform
|
|
3460
3599
|
};
|
|
3461
|
-
parentRegister(instanceId, componentDefinition$
|
|
3600
|
+
parentRegister(instanceId, componentDefinition$24.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$24);
|
|
3462
3601
|
return () => {
|
|
3463
3602
|
parentRegister(instanceId, null, null, null, null);
|
|
3464
3603
|
};
|
|
@@ -3531,9 +3670,9 @@ const OmbreComponent$32 = (props) => {
|
|
|
3531
3670
|
children: props.children
|
|
3532
3671
|
});
|
|
3533
3672
|
};
|
|
3534
|
-
var
|
|
3535
|
-
function computeEffectiveProps$31(props, defaultProps$
|
|
3536
|
-
let baseProps = { ...defaultProps$
|
|
3673
|
+
var Grid_default = OmbreComponent$32;
|
|
3674
|
+
function computeEffectiveProps$31(props, defaultProps$57) {
|
|
3675
|
+
let baseProps = { ...defaultProps$57 };
|
|
3537
3676
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3538
3677
|
return baseProps;
|
|
3539
3678
|
}
|
|
@@ -3552,7 +3691,7 @@ var defaultProps$31 = {
|
|
|
3552
3691
|
visible: true
|
|
3553
3692
|
};
|
|
3554
3693
|
try {
|
|
3555
|
-
if (componentDefinition$
|
|
3694
|
+
if (componentDefinition$25 && componentDefinition$25.props) Object.entries(componentDefinition$25.props).forEach(([key, config]) => {
|
|
3556
3695
|
const propConfig = config;
|
|
3557
3696
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$31[key] = propConfig.default;
|
|
3558
3697
|
});
|
|
@@ -3564,7 +3703,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3564
3703
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3565
3704
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3566
3705
|
const instanceId = useMemo(() => {
|
|
3567
|
-
return props.id || `${componentDefinition$
|
|
3706
|
+
return props.id || `${componentDefinition$25.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3568
3707
|
}, [props.id]);
|
|
3569
3708
|
const effectiveProps = useMemo(() => {
|
|
3570
3709
|
return computeEffectiveProps$31(props, defaultProps$31);
|
|
@@ -3574,7 +3713,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3574
3713
|
...props.transform
|
|
3575
3714
|
}), [props.transform]);
|
|
3576
3715
|
const uniformsRef = useRef(null);
|
|
3577
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3716
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$25, effectiveProps, instanceId);
|
|
3578
3717
|
const childContextValue = useMemo(() => {
|
|
3579
3718
|
return {
|
|
3580
3719
|
...context,
|
|
@@ -3596,7 +3735,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3596
3735
|
renderOrder: props.renderOrder || 0,
|
|
3597
3736
|
transform: effectiveTransform
|
|
3598
3737
|
};
|
|
3599
|
-
parentRegister(instanceId, componentDefinition$
|
|
3738
|
+
parentRegister(instanceId, componentDefinition$25.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$25);
|
|
3600
3739
|
return () => {
|
|
3601
3740
|
parentRegister(instanceId, null, null, null, null);
|
|
3602
3741
|
};
|
|
@@ -3669,9 +3808,9 @@ const OmbreComponent$31 = (props) => {
|
|
|
3669
3808
|
children: props.children
|
|
3670
3809
|
});
|
|
3671
3810
|
};
|
|
3672
|
-
var
|
|
3673
|
-
function computeEffectiveProps$30(props, defaultProps$
|
|
3674
|
-
let baseProps = { ...defaultProps$
|
|
3811
|
+
var GridDistortion_default = OmbreComponent$31;
|
|
3812
|
+
function computeEffectiveProps$30(props, defaultProps$57) {
|
|
3813
|
+
let baseProps = { ...defaultProps$57 };
|
|
3675
3814
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3676
3815
|
return baseProps;
|
|
3677
3816
|
}
|
|
@@ -3690,7 +3829,7 @@ var defaultProps$30 = {
|
|
|
3690
3829
|
visible: true
|
|
3691
3830
|
};
|
|
3692
3831
|
try {
|
|
3693
|
-
if (componentDefinition$
|
|
3832
|
+
if (componentDefinition$26 && componentDefinition$26.props) Object.entries(componentDefinition$26.props).forEach(([key, config]) => {
|
|
3694
3833
|
const propConfig = config;
|
|
3695
3834
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$30[key] = propConfig.default;
|
|
3696
3835
|
});
|
|
@@ -3702,7 +3841,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3702
3841
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3703
3842
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3704
3843
|
const instanceId = useMemo(() => {
|
|
3705
|
-
return props.id || `${componentDefinition$
|
|
3844
|
+
return props.id || `${componentDefinition$26.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3706
3845
|
}, [props.id]);
|
|
3707
3846
|
const effectiveProps = useMemo(() => {
|
|
3708
3847
|
return computeEffectiveProps$30(props, defaultProps$30);
|
|
@@ -3712,7 +3851,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3712
3851
|
...props.transform
|
|
3713
3852
|
}), [props.transform]);
|
|
3714
3853
|
const uniformsRef = useRef(null);
|
|
3715
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3854
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$26, effectiveProps, instanceId);
|
|
3716
3855
|
const childContextValue = useMemo(() => {
|
|
3717
3856
|
return {
|
|
3718
3857
|
...context,
|
|
@@ -3734,7 +3873,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3734
3873
|
renderOrder: props.renderOrder || 0,
|
|
3735
3874
|
transform: effectiveTransform
|
|
3736
3875
|
};
|
|
3737
|
-
parentRegister(instanceId, componentDefinition$
|
|
3876
|
+
parentRegister(instanceId, componentDefinition$26.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$26);
|
|
3738
3877
|
return () => {
|
|
3739
3878
|
parentRegister(instanceId, null, null, null, null);
|
|
3740
3879
|
};
|
|
@@ -3807,9 +3946,9 @@ const OmbreComponent$30 = (props) => {
|
|
|
3807
3946
|
children: props.children
|
|
3808
3947
|
});
|
|
3809
3948
|
};
|
|
3810
|
-
var
|
|
3811
|
-
function computeEffectiveProps$29(props, defaultProps$
|
|
3812
|
-
let baseProps = { ...defaultProps$
|
|
3949
|
+
var Group_default = OmbreComponent$30;
|
|
3950
|
+
function computeEffectiveProps$29(props, defaultProps$57) {
|
|
3951
|
+
let baseProps = { ...defaultProps$57 };
|
|
3813
3952
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3814
3953
|
return baseProps;
|
|
3815
3954
|
}
|
|
@@ -3828,7 +3967,7 @@ var defaultProps$29 = {
|
|
|
3828
3967
|
visible: true
|
|
3829
3968
|
};
|
|
3830
3969
|
try {
|
|
3831
|
-
if (componentDefinition$
|
|
3970
|
+
if (componentDefinition$27 && componentDefinition$27.props) Object.entries(componentDefinition$27.props).forEach(([key, config]) => {
|
|
3832
3971
|
const propConfig = config;
|
|
3833
3972
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$29[key] = propConfig.default;
|
|
3834
3973
|
});
|
|
@@ -3840,7 +3979,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3840
3979
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3841
3980
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3842
3981
|
const instanceId = useMemo(() => {
|
|
3843
|
-
return props.id || `${componentDefinition$
|
|
3982
|
+
return props.id || `${componentDefinition$27.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3844
3983
|
}, [props.id]);
|
|
3845
3984
|
const effectiveProps = useMemo(() => {
|
|
3846
3985
|
return computeEffectiveProps$29(props, defaultProps$29);
|
|
@@ -3850,7 +3989,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3850
3989
|
...props.transform
|
|
3851
3990
|
}), [props.transform]);
|
|
3852
3991
|
const uniformsRef = useRef(null);
|
|
3853
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3992
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$27, effectiveProps, instanceId);
|
|
3854
3993
|
const childContextValue = useMemo(() => {
|
|
3855
3994
|
return {
|
|
3856
3995
|
...context,
|
|
@@ -3872,7 +4011,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3872
4011
|
renderOrder: props.renderOrder || 0,
|
|
3873
4012
|
transform: effectiveTransform
|
|
3874
4013
|
};
|
|
3875
|
-
parentRegister(instanceId, componentDefinition$
|
|
4014
|
+
parentRegister(instanceId, componentDefinition$27.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$27);
|
|
3876
4015
|
return () => {
|
|
3877
4016
|
parentRegister(instanceId, null, null, null, null);
|
|
3878
4017
|
};
|
|
@@ -3945,9 +4084,9 @@ const OmbreComponent$29 = (props) => {
|
|
|
3945
4084
|
children: props.children
|
|
3946
4085
|
});
|
|
3947
4086
|
};
|
|
3948
|
-
var
|
|
3949
|
-
function computeEffectiveProps$28(props, defaultProps$
|
|
3950
|
-
let baseProps = { ...defaultProps$
|
|
4087
|
+
var Halftone_default = OmbreComponent$29;
|
|
4088
|
+
function computeEffectiveProps$28(props, defaultProps$57) {
|
|
4089
|
+
let baseProps = { ...defaultProps$57 };
|
|
3951
4090
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3952
4091
|
return baseProps;
|
|
3953
4092
|
}
|
|
@@ -3966,7 +4105,7 @@ var defaultProps$28 = {
|
|
|
3966
4105
|
visible: true
|
|
3967
4106
|
};
|
|
3968
4107
|
try {
|
|
3969
|
-
if (componentDefinition$
|
|
4108
|
+
if (componentDefinition$28 && componentDefinition$28.props) Object.entries(componentDefinition$28.props).forEach(([key, config]) => {
|
|
3970
4109
|
const propConfig = config;
|
|
3971
4110
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$28[key] = propConfig.default;
|
|
3972
4111
|
});
|
|
@@ -3978,7 +4117,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3978
4117
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3979
4118
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3980
4119
|
const instanceId = useMemo(() => {
|
|
3981
|
-
return props.id || `${componentDefinition$
|
|
4120
|
+
return props.id || `${componentDefinition$28.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3982
4121
|
}, [props.id]);
|
|
3983
4122
|
const effectiveProps = useMemo(() => {
|
|
3984
4123
|
return computeEffectiveProps$28(props, defaultProps$28);
|
|
@@ -3988,7 +4127,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3988
4127
|
...props.transform
|
|
3989
4128
|
}), [props.transform]);
|
|
3990
4129
|
const uniformsRef = useRef(null);
|
|
3991
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4130
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$28, effectiveProps, instanceId);
|
|
3992
4131
|
const childContextValue = useMemo(() => {
|
|
3993
4132
|
return {
|
|
3994
4133
|
...context,
|
|
@@ -4010,7 +4149,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
4010
4149
|
renderOrder: props.renderOrder || 0,
|
|
4011
4150
|
transform: effectiveTransform
|
|
4012
4151
|
};
|
|
4013
|
-
parentRegister(instanceId, componentDefinition$
|
|
4152
|
+
parentRegister(instanceId, componentDefinition$28.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$28);
|
|
4014
4153
|
return () => {
|
|
4015
4154
|
parentRegister(instanceId, null, null, null, null);
|
|
4016
4155
|
};
|
|
@@ -4083,9 +4222,9 @@ const OmbreComponent$28 = (props) => {
|
|
|
4083
4222
|
children: props.children
|
|
4084
4223
|
});
|
|
4085
4224
|
};
|
|
4086
|
-
var
|
|
4087
|
-
function computeEffectiveProps$27(props, defaultProps$
|
|
4088
|
-
let baseProps = { ...defaultProps$
|
|
4225
|
+
var HueShift_default = OmbreComponent$28;
|
|
4226
|
+
function computeEffectiveProps$27(props, defaultProps$57) {
|
|
4227
|
+
let baseProps = { ...defaultProps$57 };
|
|
4089
4228
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4090
4229
|
return baseProps;
|
|
4091
4230
|
}
|
|
@@ -4104,7 +4243,7 @@ var defaultProps$27 = {
|
|
|
4104
4243
|
visible: true
|
|
4105
4244
|
};
|
|
4106
4245
|
try {
|
|
4107
|
-
if (componentDefinition$
|
|
4246
|
+
if (componentDefinition$29 && componentDefinition$29.props) Object.entries(componentDefinition$29.props).forEach(([key, config]) => {
|
|
4108
4247
|
const propConfig = config;
|
|
4109
4248
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$27[key] = propConfig.default;
|
|
4110
4249
|
});
|
|
@@ -4116,7 +4255,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4116
4255
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4117
4256
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4118
4257
|
const instanceId = useMemo(() => {
|
|
4119
|
-
return props.id || `${componentDefinition$
|
|
4258
|
+
return props.id || `${componentDefinition$29.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4120
4259
|
}, [props.id]);
|
|
4121
4260
|
const effectiveProps = useMemo(() => {
|
|
4122
4261
|
return computeEffectiveProps$27(props, defaultProps$27);
|
|
@@ -4126,7 +4265,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4126
4265
|
...props.transform
|
|
4127
4266
|
}), [props.transform]);
|
|
4128
4267
|
const uniformsRef = useRef(null);
|
|
4129
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4268
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$29, effectiveProps, instanceId);
|
|
4130
4269
|
const childContextValue = useMemo(() => {
|
|
4131
4270
|
return {
|
|
4132
4271
|
...context,
|
|
@@ -4148,7 +4287,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4148
4287
|
renderOrder: props.renderOrder || 0,
|
|
4149
4288
|
transform: effectiveTransform
|
|
4150
4289
|
};
|
|
4151
|
-
parentRegister(instanceId, componentDefinition$
|
|
4290
|
+
parentRegister(instanceId, componentDefinition$29.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$29);
|
|
4152
4291
|
return () => {
|
|
4153
4292
|
parentRegister(instanceId, null, null, null, null);
|
|
4154
4293
|
};
|
|
@@ -4221,9 +4360,9 @@ const OmbreComponent$27 = (props) => {
|
|
|
4221
4360
|
children: props.children
|
|
4222
4361
|
});
|
|
4223
4362
|
};
|
|
4224
|
-
var
|
|
4225
|
-
function computeEffectiveProps$26(props, defaultProps$
|
|
4226
|
-
let baseProps = { ...defaultProps$
|
|
4363
|
+
var ImageTexture_default = OmbreComponent$27;
|
|
4364
|
+
function computeEffectiveProps$26(props, defaultProps$57) {
|
|
4365
|
+
let baseProps = { ...defaultProps$57 };
|
|
4227
4366
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4228
4367
|
return baseProps;
|
|
4229
4368
|
}
|
|
@@ -4242,7 +4381,7 @@ var defaultProps$26 = {
|
|
|
4242
4381
|
visible: true
|
|
4243
4382
|
};
|
|
4244
4383
|
try {
|
|
4245
|
-
if (componentDefinition$
|
|
4384
|
+
if (componentDefinition$30 && componentDefinition$30.props) Object.entries(componentDefinition$30.props).forEach(([key, config]) => {
|
|
4246
4385
|
const propConfig = config;
|
|
4247
4386
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$26[key] = propConfig.default;
|
|
4248
4387
|
});
|
|
@@ -4254,7 +4393,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4254
4393
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4255
4394
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4256
4395
|
const instanceId = useMemo(() => {
|
|
4257
|
-
return props.id || `${componentDefinition$
|
|
4396
|
+
return props.id || `${componentDefinition$30.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4258
4397
|
}, [props.id]);
|
|
4259
4398
|
const effectiveProps = useMemo(() => {
|
|
4260
4399
|
return computeEffectiveProps$26(props, defaultProps$26);
|
|
@@ -4264,7 +4403,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4264
4403
|
...props.transform
|
|
4265
4404
|
}), [props.transform]);
|
|
4266
4405
|
const uniformsRef = useRef(null);
|
|
4267
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4406
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$30, effectiveProps, instanceId);
|
|
4268
4407
|
const childContextValue = useMemo(() => {
|
|
4269
4408
|
return {
|
|
4270
4409
|
...context,
|
|
@@ -4286,7 +4425,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4286
4425
|
renderOrder: props.renderOrder || 0,
|
|
4287
4426
|
transform: effectiveTransform
|
|
4288
4427
|
};
|
|
4289
|
-
parentRegister(instanceId, componentDefinition$
|
|
4428
|
+
parentRegister(instanceId, componentDefinition$30.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$30);
|
|
4290
4429
|
return () => {
|
|
4291
4430
|
parentRegister(instanceId, null, null, null, null);
|
|
4292
4431
|
};
|
|
@@ -4359,9 +4498,9 @@ const OmbreComponent$26 = (props) => {
|
|
|
4359
4498
|
children: props.children
|
|
4360
4499
|
});
|
|
4361
4500
|
};
|
|
4362
|
-
var
|
|
4363
|
-
function computeEffectiveProps$25(props, defaultProps$
|
|
4364
|
-
let baseProps = { ...defaultProps$
|
|
4501
|
+
var Invert_default = OmbreComponent$26;
|
|
4502
|
+
function computeEffectiveProps$25(props, defaultProps$57) {
|
|
4503
|
+
let baseProps = { ...defaultProps$57 };
|
|
4365
4504
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4366
4505
|
return baseProps;
|
|
4367
4506
|
}
|
|
@@ -4380,7 +4519,7 @@ var defaultProps$25 = {
|
|
|
4380
4519
|
visible: true
|
|
4381
4520
|
};
|
|
4382
4521
|
try {
|
|
4383
|
-
if (componentDefinition$
|
|
4522
|
+
if (componentDefinition$31 && componentDefinition$31.props) Object.entries(componentDefinition$31.props).forEach(([key, config]) => {
|
|
4384
4523
|
const propConfig = config;
|
|
4385
4524
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$25[key] = propConfig.default;
|
|
4386
4525
|
});
|
|
@@ -4392,7 +4531,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4392
4531
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4393
4532
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4394
4533
|
const instanceId = useMemo(() => {
|
|
4395
|
-
return props.id || `${componentDefinition$
|
|
4534
|
+
return props.id || `${componentDefinition$31.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4396
4535
|
}, [props.id]);
|
|
4397
4536
|
const effectiveProps = useMemo(() => {
|
|
4398
4537
|
return computeEffectiveProps$25(props, defaultProps$25);
|
|
@@ -4402,7 +4541,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4402
4541
|
...props.transform
|
|
4403
4542
|
}), [props.transform]);
|
|
4404
4543
|
const uniformsRef = useRef(null);
|
|
4405
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4544
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$31, effectiveProps, instanceId);
|
|
4406
4545
|
const childContextValue = useMemo(() => {
|
|
4407
4546
|
return {
|
|
4408
4547
|
...context,
|
|
@@ -4424,7 +4563,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4424
4563
|
renderOrder: props.renderOrder || 0,
|
|
4425
4564
|
transform: effectiveTransform
|
|
4426
4565
|
};
|
|
4427
|
-
parentRegister(instanceId, componentDefinition$
|
|
4566
|
+
parentRegister(instanceId, componentDefinition$31.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$31);
|
|
4428
4567
|
return () => {
|
|
4429
4568
|
parentRegister(instanceId, null, null, null, null);
|
|
4430
4569
|
};
|
|
@@ -4497,9 +4636,9 @@ const OmbreComponent$25 = (props) => {
|
|
|
4497
4636
|
children: props.children
|
|
4498
4637
|
});
|
|
4499
4638
|
};
|
|
4500
|
-
var
|
|
4501
|
-
function computeEffectiveProps$24(props, defaultProps$
|
|
4502
|
-
let baseProps = { ...defaultProps$
|
|
4639
|
+
var LinearBlur_default = OmbreComponent$25;
|
|
4640
|
+
function computeEffectiveProps$24(props, defaultProps$57) {
|
|
4641
|
+
let baseProps = { ...defaultProps$57 };
|
|
4503
4642
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4504
4643
|
return baseProps;
|
|
4505
4644
|
}
|
|
@@ -4518,7 +4657,7 @@ var defaultProps$24 = {
|
|
|
4518
4657
|
visible: true
|
|
4519
4658
|
};
|
|
4520
4659
|
try {
|
|
4521
|
-
if (componentDefinition$
|
|
4660
|
+
if (componentDefinition$32 && componentDefinition$32.props) Object.entries(componentDefinition$32.props).forEach(([key, config]) => {
|
|
4522
4661
|
const propConfig = config;
|
|
4523
4662
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$24[key] = propConfig.default;
|
|
4524
4663
|
});
|
|
@@ -4530,7 +4669,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4530
4669
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4531
4670
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4532
4671
|
const instanceId = useMemo(() => {
|
|
4533
|
-
return props.id || `${componentDefinition$
|
|
4672
|
+
return props.id || `${componentDefinition$32.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4534
4673
|
}, [props.id]);
|
|
4535
4674
|
const effectiveProps = useMemo(() => {
|
|
4536
4675
|
return computeEffectiveProps$24(props, defaultProps$24);
|
|
@@ -4540,7 +4679,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4540
4679
|
...props.transform
|
|
4541
4680
|
}), [props.transform]);
|
|
4542
4681
|
const uniformsRef = useRef(null);
|
|
4543
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4682
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$32, effectiveProps, instanceId);
|
|
4544
4683
|
const childContextValue = useMemo(() => {
|
|
4545
4684
|
return {
|
|
4546
4685
|
...context,
|
|
@@ -4562,7 +4701,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4562
4701
|
renderOrder: props.renderOrder || 0,
|
|
4563
4702
|
transform: effectiveTransform
|
|
4564
4703
|
};
|
|
4565
|
-
parentRegister(instanceId, componentDefinition$
|
|
4704
|
+
parentRegister(instanceId, componentDefinition$32.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$32);
|
|
4566
4705
|
return () => {
|
|
4567
4706
|
parentRegister(instanceId, null, null, null, null);
|
|
4568
4707
|
};
|
|
@@ -4635,9 +4774,9 @@ const OmbreComponent$24 = (props) => {
|
|
|
4635
4774
|
children: props.children
|
|
4636
4775
|
});
|
|
4637
4776
|
};
|
|
4638
|
-
var
|
|
4639
|
-
function computeEffectiveProps$23(props, defaultProps$
|
|
4640
|
-
let baseProps = { ...defaultProps$
|
|
4777
|
+
var LinearGradient_default = OmbreComponent$24;
|
|
4778
|
+
function computeEffectiveProps$23(props, defaultProps$57) {
|
|
4779
|
+
let baseProps = { ...defaultProps$57 };
|
|
4641
4780
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4642
4781
|
return baseProps;
|
|
4643
4782
|
}
|
|
@@ -4656,7 +4795,7 @@ var defaultProps$23 = {
|
|
|
4656
4795
|
visible: true
|
|
4657
4796
|
};
|
|
4658
4797
|
try {
|
|
4659
|
-
if (componentDefinition$
|
|
4798
|
+
if (componentDefinition$33 && componentDefinition$33.props) Object.entries(componentDefinition$33.props).forEach(([key, config]) => {
|
|
4660
4799
|
const propConfig = config;
|
|
4661
4800
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$23[key] = propConfig.default;
|
|
4662
4801
|
});
|
|
@@ -4668,7 +4807,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4668
4807
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4669
4808
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4670
4809
|
const instanceId = useMemo(() => {
|
|
4671
|
-
return props.id || `${componentDefinition$
|
|
4810
|
+
return props.id || `${componentDefinition$33.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4672
4811
|
}, [props.id]);
|
|
4673
4812
|
const effectiveProps = useMemo(() => {
|
|
4674
4813
|
return computeEffectiveProps$23(props, defaultProps$23);
|
|
@@ -4678,7 +4817,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4678
4817
|
...props.transform
|
|
4679
4818
|
}), [props.transform]);
|
|
4680
4819
|
const uniformsRef = useRef(null);
|
|
4681
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4820
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$33, effectiveProps, instanceId);
|
|
4682
4821
|
const childContextValue = useMemo(() => {
|
|
4683
4822
|
return {
|
|
4684
4823
|
...context,
|
|
@@ -4700,7 +4839,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4700
4839
|
renderOrder: props.renderOrder || 0,
|
|
4701
4840
|
transform: effectiveTransform
|
|
4702
4841
|
};
|
|
4703
|
-
parentRegister(instanceId, componentDefinition$
|
|
4842
|
+
parentRegister(instanceId, componentDefinition$33.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$33);
|
|
4704
4843
|
return () => {
|
|
4705
4844
|
parentRegister(instanceId, null, null, null, null);
|
|
4706
4845
|
};
|
|
@@ -4773,9 +4912,9 @@ const OmbreComponent$23 = (props) => {
|
|
|
4773
4912
|
children: props.children
|
|
4774
4913
|
});
|
|
4775
4914
|
};
|
|
4776
|
-
var
|
|
4777
|
-
function computeEffectiveProps$22(props, defaultProps$
|
|
4778
|
-
let baseProps = { ...defaultProps$
|
|
4915
|
+
var Liquify_default = OmbreComponent$23;
|
|
4916
|
+
function computeEffectiveProps$22(props, defaultProps$57) {
|
|
4917
|
+
let baseProps = { ...defaultProps$57 };
|
|
4779
4918
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4780
4919
|
return baseProps;
|
|
4781
4920
|
}
|
|
@@ -4794,7 +4933,7 @@ var defaultProps$22 = {
|
|
|
4794
4933
|
visible: true
|
|
4795
4934
|
};
|
|
4796
4935
|
try {
|
|
4797
|
-
if (componentDefinition$
|
|
4936
|
+
if (componentDefinition$34 && componentDefinition$34.props) Object.entries(componentDefinition$34.props).forEach(([key, config]) => {
|
|
4798
4937
|
const propConfig = config;
|
|
4799
4938
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$22[key] = propConfig.default;
|
|
4800
4939
|
});
|
|
@@ -4806,7 +4945,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4806
4945
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4807
4946
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4808
4947
|
const instanceId = useMemo(() => {
|
|
4809
|
-
return props.id || `${componentDefinition$
|
|
4948
|
+
return props.id || `${componentDefinition$34.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4810
4949
|
}, [props.id]);
|
|
4811
4950
|
const effectiveProps = useMemo(() => {
|
|
4812
4951
|
return computeEffectiveProps$22(props, defaultProps$22);
|
|
@@ -4816,7 +4955,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4816
4955
|
...props.transform
|
|
4817
4956
|
}), [props.transform]);
|
|
4818
4957
|
const uniformsRef = useRef(null);
|
|
4819
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4958
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$34, effectiveProps, instanceId);
|
|
4820
4959
|
const childContextValue = useMemo(() => {
|
|
4821
4960
|
return {
|
|
4822
4961
|
...context,
|
|
@@ -4838,7 +4977,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4838
4977
|
renderOrder: props.renderOrder || 0,
|
|
4839
4978
|
transform: effectiveTransform
|
|
4840
4979
|
};
|
|
4841
|
-
parentRegister(instanceId, componentDefinition$
|
|
4980
|
+
parentRegister(instanceId, componentDefinition$34.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$34);
|
|
4842
4981
|
return () => {
|
|
4843
4982
|
parentRegister(instanceId, null, null, null, null);
|
|
4844
4983
|
};
|
|
@@ -4911,9 +5050,9 @@ const OmbreComponent$22 = (props) => {
|
|
|
4911
5050
|
children: props.children
|
|
4912
5051
|
});
|
|
4913
5052
|
};
|
|
4914
|
-
var
|
|
4915
|
-
function computeEffectiveProps$21(props, defaultProps$
|
|
4916
|
-
let baseProps = { ...defaultProps$
|
|
5053
|
+
var Pixelate_default = OmbreComponent$22;
|
|
5054
|
+
function computeEffectiveProps$21(props, defaultProps$57) {
|
|
5055
|
+
let baseProps = { ...defaultProps$57 };
|
|
4917
5056
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4918
5057
|
return baseProps;
|
|
4919
5058
|
}
|
|
@@ -4932,7 +5071,7 @@ var defaultProps$21 = {
|
|
|
4932
5071
|
visible: true
|
|
4933
5072
|
};
|
|
4934
5073
|
try {
|
|
4935
|
-
if (componentDefinition$
|
|
5074
|
+
if (componentDefinition$35 && componentDefinition$35.props) Object.entries(componentDefinition$35.props).forEach(([key, config]) => {
|
|
4936
5075
|
const propConfig = config;
|
|
4937
5076
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$21[key] = propConfig.default;
|
|
4938
5077
|
});
|
|
@@ -4944,7 +5083,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4944
5083
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4945
5084
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4946
5085
|
const instanceId = useMemo(() => {
|
|
4947
|
-
return props.id || `${componentDefinition$
|
|
5086
|
+
return props.id || `${componentDefinition$35.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4948
5087
|
}, [props.id]);
|
|
4949
5088
|
const effectiveProps = useMemo(() => {
|
|
4950
5089
|
return computeEffectiveProps$21(props, defaultProps$21);
|
|
@@ -4954,7 +5093,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4954
5093
|
...props.transform
|
|
4955
5094
|
}), [props.transform]);
|
|
4956
5095
|
const uniformsRef = useRef(null);
|
|
4957
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5096
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$35, effectiveProps, instanceId);
|
|
4958
5097
|
const childContextValue = useMemo(() => {
|
|
4959
5098
|
return {
|
|
4960
5099
|
...context,
|
|
@@ -4976,7 +5115,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4976
5115
|
renderOrder: props.renderOrder || 0,
|
|
4977
5116
|
transform: effectiveTransform
|
|
4978
5117
|
};
|
|
4979
|
-
parentRegister(instanceId, componentDefinition$
|
|
5118
|
+
parentRegister(instanceId, componentDefinition$35.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$35);
|
|
4980
5119
|
return () => {
|
|
4981
5120
|
parentRegister(instanceId, null, null, null, null);
|
|
4982
5121
|
};
|
|
@@ -5049,9 +5188,9 @@ const OmbreComponent$21 = (props) => {
|
|
|
5049
5188
|
children: props.children
|
|
5050
5189
|
});
|
|
5051
5190
|
};
|
|
5052
|
-
var
|
|
5053
|
-
function computeEffectiveProps$20(props, defaultProps$
|
|
5054
|
-
let baseProps = { ...defaultProps$
|
|
5191
|
+
var PolarCoordinates_default = OmbreComponent$21;
|
|
5192
|
+
function computeEffectiveProps$20(props, defaultProps$57) {
|
|
5193
|
+
let baseProps = { ...defaultProps$57 };
|
|
5055
5194
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5056
5195
|
return baseProps;
|
|
5057
5196
|
}
|
|
@@ -5070,7 +5209,7 @@ var defaultProps$20 = {
|
|
|
5070
5209
|
visible: true
|
|
5071
5210
|
};
|
|
5072
5211
|
try {
|
|
5073
|
-
if (componentDefinition$
|
|
5212
|
+
if (componentDefinition$36 && componentDefinition$36.props) Object.entries(componentDefinition$36.props).forEach(([key, config]) => {
|
|
5074
5213
|
const propConfig = config;
|
|
5075
5214
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$20[key] = propConfig.default;
|
|
5076
5215
|
});
|
|
@@ -5082,7 +5221,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5082
5221
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5083
5222
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5084
5223
|
const instanceId = useMemo(() => {
|
|
5085
|
-
return props.id || `${componentDefinition$
|
|
5224
|
+
return props.id || `${componentDefinition$36.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5086
5225
|
}, [props.id]);
|
|
5087
5226
|
const effectiveProps = useMemo(() => {
|
|
5088
5227
|
return computeEffectiveProps$20(props, defaultProps$20);
|
|
@@ -5092,7 +5231,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5092
5231
|
...props.transform
|
|
5093
5232
|
}), [props.transform]);
|
|
5094
5233
|
const uniformsRef = useRef(null);
|
|
5095
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5234
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$36, effectiveProps, instanceId);
|
|
5096
5235
|
const childContextValue = useMemo(() => {
|
|
5097
5236
|
return {
|
|
5098
5237
|
...context,
|
|
@@ -5114,7 +5253,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
5114
5253
|
renderOrder: props.renderOrder || 0,
|
|
5115
5254
|
transform: effectiveTransform
|
|
5116
5255
|
};
|
|
5117
|
-
parentRegister(instanceId, componentDefinition$
|
|
5256
|
+
parentRegister(instanceId, componentDefinition$36.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$36);
|
|
5118
5257
|
return () => {
|
|
5119
5258
|
parentRegister(instanceId, null, null, null, null);
|
|
5120
5259
|
};
|
|
@@ -5187,9 +5326,9 @@ const OmbreComponent$20 = (props) => {
|
|
|
5187
5326
|
children: props.children
|
|
5188
5327
|
});
|
|
5189
5328
|
};
|
|
5190
|
-
var
|
|
5191
|
-
function computeEffectiveProps$19(props, defaultProps$
|
|
5192
|
-
let baseProps = { ...defaultProps$
|
|
5329
|
+
var Posterize_default = OmbreComponent$20;
|
|
5330
|
+
function computeEffectiveProps$19(props, defaultProps$57) {
|
|
5331
|
+
let baseProps = { ...defaultProps$57 };
|
|
5193
5332
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5194
5333
|
return baseProps;
|
|
5195
5334
|
}
|
|
@@ -5208,7 +5347,7 @@ var defaultProps$19 = {
|
|
|
5208
5347
|
visible: true
|
|
5209
5348
|
};
|
|
5210
5349
|
try {
|
|
5211
|
-
if (componentDefinition$
|
|
5350
|
+
if (componentDefinition$37 && componentDefinition$37.props) Object.entries(componentDefinition$37.props).forEach(([key, config]) => {
|
|
5212
5351
|
const propConfig = config;
|
|
5213
5352
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$19[key] = propConfig.default;
|
|
5214
5353
|
});
|
|
@@ -5220,7 +5359,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5220
5359
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5221
5360
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5222
5361
|
const instanceId = useMemo(() => {
|
|
5223
|
-
return props.id || `${componentDefinition$
|
|
5362
|
+
return props.id || `${componentDefinition$37.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5224
5363
|
}, [props.id]);
|
|
5225
5364
|
const effectiveProps = useMemo(() => {
|
|
5226
5365
|
return computeEffectiveProps$19(props, defaultProps$19);
|
|
@@ -5230,7 +5369,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5230
5369
|
...props.transform
|
|
5231
5370
|
}), [props.transform]);
|
|
5232
5371
|
const uniformsRef = useRef(null);
|
|
5233
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5372
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$37, effectiveProps, instanceId);
|
|
5234
5373
|
const childContextValue = useMemo(() => {
|
|
5235
5374
|
return {
|
|
5236
5375
|
...context,
|
|
@@ -5252,7 +5391,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5252
5391
|
renderOrder: props.renderOrder || 0,
|
|
5253
5392
|
transform: effectiveTransform
|
|
5254
5393
|
};
|
|
5255
|
-
parentRegister(instanceId, componentDefinition$
|
|
5394
|
+
parentRegister(instanceId, componentDefinition$37.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$37);
|
|
5256
5395
|
return () => {
|
|
5257
5396
|
parentRegister(instanceId, null, null, null, null);
|
|
5258
5397
|
};
|
|
@@ -5325,9 +5464,9 @@ const OmbreComponent$19 = (props) => {
|
|
|
5325
5464
|
children: props.children
|
|
5326
5465
|
});
|
|
5327
5466
|
};
|
|
5328
|
-
var
|
|
5329
|
-
function computeEffectiveProps$18(props, defaultProps$
|
|
5330
|
-
let baseProps = { ...defaultProps$
|
|
5467
|
+
var ProgressiveBlur_default = OmbreComponent$19;
|
|
5468
|
+
function computeEffectiveProps$18(props, defaultProps$57) {
|
|
5469
|
+
let baseProps = { ...defaultProps$57 };
|
|
5331
5470
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5332
5471
|
return baseProps;
|
|
5333
5472
|
}
|
|
@@ -5346,7 +5485,7 @@ var defaultProps$18 = {
|
|
|
5346
5485
|
visible: true
|
|
5347
5486
|
};
|
|
5348
5487
|
try {
|
|
5349
|
-
if (componentDefinition$
|
|
5488
|
+
if (componentDefinition$38 && componentDefinition$38.props) Object.entries(componentDefinition$38.props).forEach(([key, config]) => {
|
|
5350
5489
|
const propConfig = config;
|
|
5351
5490
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$18[key] = propConfig.default;
|
|
5352
5491
|
});
|
|
@@ -5358,7 +5497,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5358
5497
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5359
5498
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5360
5499
|
const instanceId = useMemo(() => {
|
|
5361
|
-
return props.id || `${componentDefinition$
|
|
5500
|
+
return props.id || `${componentDefinition$38.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5362
5501
|
}, [props.id]);
|
|
5363
5502
|
const effectiveProps = useMemo(() => {
|
|
5364
5503
|
return computeEffectiveProps$18(props, defaultProps$18);
|
|
@@ -5368,7 +5507,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5368
5507
|
...props.transform
|
|
5369
5508
|
}), [props.transform]);
|
|
5370
5509
|
const uniformsRef = useRef(null);
|
|
5371
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5510
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$38, effectiveProps, instanceId);
|
|
5372
5511
|
const childContextValue = useMemo(() => {
|
|
5373
5512
|
return {
|
|
5374
5513
|
...context,
|
|
@@ -5390,7 +5529,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5390
5529
|
renderOrder: props.renderOrder || 0,
|
|
5391
5530
|
transform: effectiveTransform
|
|
5392
5531
|
};
|
|
5393
|
-
parentRegister(instanceId, componentDefinition$
|
|
5532
|
+
parentRegister(instanceId, componentDefinition$38.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$38);
|
|
5394
5533
|
return () => {
|
|
5395
5534
|
parentRegister(instanceId, null, null, null, null);
|
|
5396
5535
|
};
|
|
@@ -5463,9 +5602,9 @@ const OmbreComponent$18 = (props) => {
|
|
|
5463
5602
|
children: props.children
|
|
5464
5603
|
});
|
|
5465
5604
|
};
|
|
5466
|
-
var
|
|
5467
|
-
function computeEffectiveProps$17(props, defaultProps$
|
|
5468
|
-
let baseProps = { ...defaultProps$
|
|
5605
|
+
var RadialGradient_default = OmbreComponent$18;
|
|
5606
|
+
function computeEffectiveProps$17(props, defaultProps$57) {
|
|
5607
|
+
let baseProps = { ...defaultProps$57 };
|
|
5469
5608
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5470
5609
|
return baseProps;
|
|
5471
5610
|
}
|
|
@@ -5484,7 +5623,7 @@ var defaultProps$17 = {
|
|
|
5484
5623
|
visible: true
|
|
5485
5624
|
};
|
|
5486
5625
|
try {
|
|
5487
|
-
if (componentDefinition$
|
|
5626
|
+
if (componentDefinition$39 && componentDefinition$39.props) Object.entries(componentDefinition$39.props).forEach(([key, config]) => {
|
|
5488
5627
|
const propConfig = config;
|
|
5489
5628
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$17[key] = propConfig.default;
|
|
5490
5629
|
});
|
|
@@ -5496,7 +5635,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5496
5635
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5497
5636
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5498
5637
|
const instanceId = useMemo(() => {
|
|
5499
|
-
return props.id || `${componentDefinition$
|
|
5638
|
+
return props.id || `${componentDefinition$39.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5500
5639
|
}, [props.id]);
|
|
5501
5640
|
const effectiveProps = useMemo(() => {
|
|
5502
5641
|
return computeEffectiveProps$17(props, defaultProps$17);
|
|
@@ -5506,7 +5645,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5506
5645
|
...props.transform
|
|
5507
5646
|
}), [props.transform]);
|
|
5508
5647
|
const uniformsRef = useRef(null);
|
|
5509
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5648
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$39, effectiveProps, instanceId);
|
|
5510
5649
|
const childContextValue = useMemo(() => {
|
|
5511
5650
|
return {
|
|
5512
5651
|
...context,
|
|
@@ -5528,7 +5667,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5528
5667
|
renderOrder: props.renderOrder || 0,
|
|
5529
5668
|
transform: effectiveTransform
|
|
5530
5669
|
};
|
|
5531
|
-
parentRegister(instanceId, componentDefinition$
|
|
5670
|
+
parentRegister(instanceId, componentDefinition$39.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$39);
|
|
5532
5671
|
return () => {
|
|
5533
5672
|
parentRegister(instanceId, null, null, null, null);
|
|
5534
5673
|
};
|
|
@@ -5601,9 +5740,9 @@ const OmbreComponent$17 = (props) => {
|
|
|
5601
5740
|
children: props.children
|
|
5602
5741
|
});
|
|
5603
5742
|
};
|
|
5604
|
-
var
|
|
5605
|
-
function computeEffectiveProps$16(props, defaultProps$
|
|
5606
|
-
let baseProps = { ...defaultProps$
|
|
5743
|
+
var RectangularCoordinates_default = OmbreComponent$17;
|
|
5744
|
+
function computeEffectiveProps$16(props, defaultProps$57) {
|
|
5745
|
+
let baseProps = { ...defaultProps$57 };
|
|
5607
5746
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5608
5747
|
return baseProps;
|
|
5609
5748
|
}
|
|
@@ -5622,7 +5761,7 @@ var defaultProps$16 = {
|
|
|
5622
5761
|
visible: true
|
|
5623
5762
|
};
|
|
5624
5763
|
try {
|
|
5625
|
-
if (componentDefinition$
|
|
5764
|
+
if (componentDefinition$40 && componentDefinition$40.props) Object.entries(componentDefinition$40.props).forEach(([key, config]) => {
|
|
5626
5765
|
const propConfig = config;
|
|
5627
5766
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$16[key] = propConfig.default;
|
|
5628
5767
|
});
|
|
@@ -5634,7 +5773,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5634
5773
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5635
5774
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5636
5775
|
const instanceId = useMemo(() => {
|
|
5637
|
-
return props.id || `${componentDefinition$
|
|
5776
|
+
return props.id || `${componentDefinition$40.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5638
5777
|
}, [props.id]);
|
|
5639
5778
|
const effectiveProps = useMemo(() => {
|
|
5640
5779
|
return computeEffectiveProps$16(props, defaultProps$16);
|
|
@@ -5644,7 +5783,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5644
5783
|
...props.transform
|
|
5645
5784
|
}), [props.transform]);
|
|
5646
5785
|
const uniformsRef = useRef(null);
|
|
5647
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5786
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$40, effectiveProps, instanceId);
|
|
5648
5787
|
const childContextValue = useMemo(() => {
|
|
5649
5788
|
return {
|
|
5650
5789
|
...context,
|
|
@@ -5666,7 +5805,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5666
5805
|
renderOrder: props.renderOrder || 0,
|
|
5667
5806
|
transform: effectiveTransform
|
|
5668
5807
|
};
|
|
5669
|
-
parentRegister(instanceId, componentDefinition$
|
|
5808
|
+
parentRegister(instanceId, componentDefinition$40.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$40);
|
|
5670
5809
|
return () => {
|
|
5671
5810
|
parentRegister(instanceId, null, null, null, null);
|
|
5672
5811
|
};
|
|
@@ -5739,9 +5878,9 @@ const OmbreComponent$16 = (props) => {
|
|
|
5739
5878
|
children: props.children
|
|
5740
5879
|
});
|
|
5741
5880
|
};
|
|
5742
|
-
var
|
|
5743
|
-
function computeEffectiveProps$15(props, defaultProps$
|
|
5744
|
-
let baseProps = { ...defaultProps$
|
|
5881
|
+
var Ripples_default = OmbreComponent$16;
|
|
5882
|
+
function computeEffectiveProps$15(props, defaultProps$57) {
|
|
5883
|
+
let baseProps = { ...defaultProps$57 };
|
|
5745
5884
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5746
5885
|
return baseProps;
|
|
5747
5886
|
}
|
|
@@ -5760,7 +5899,7 @@ var defaultProps$15 = {
|
|
|
5760
5899
|
visible: true
|
|
5761
5900
|
};
|
|
5762
5901
|
try {
|
|
5763
|
-
if (componentDefinition$
|
|
5902
|
+
if (componentDefinition$41 && componentDefinition$41.props) Object.entries(componentDefinition$41.props).forEach(([key, config]) => {
|
|
5764
5903
|
const propConfig = config;
|
|
5765
5904
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$15[key] = propConfig.default;
|
|
5766
5905
|
});
|
|
@@ -5772,7 +5911,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5772
5911
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5773
5912
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5774
5913
|
const instanceId = useMemo(() => {
|
|
5775
|
-
return props.id || `${componentDefinition$
|
|
5914
|
+
return props.id || `${componentDefinition$41.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5776
5915
|
}, [props.id]);
|
|
5777
5916
|
const effectiveProps = useMemo(() => {
|
|
5778
5917
|
return computeEffectiveProps$15(props, defaultProps$15);
|
|
@@ -5782,7 +5921,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5782
5921
|
...props.transform
|
|
5783
5922
|
}), [props.transform]);
|
|
5784
5923
|
const uniformsRef = useRef(null);
|
|
5785
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5924
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$41, effectiveProps, instanceId);
|
|
5786
5925
|
const childContextValue = useMemo(() => {
|
|
5787
5926
|
return {
|
|
5788
5927
|
...context,
|
|
@@ -5804,7 +5943,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5804
5943
|
renderOrder: props.renderOrder || 0,
|
|
5805
5944
|
transform: effectiveTransform
|
|
5806
5945
|
};
|
|
5807
|
-
parentRegister(instanceId, componentDefinition$
|
|
5946
|
+
parentRegister(instanceId, componentDefinition$41.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$41);
|
|
5808
5947
|
return () => {
|
|
5809
5948
|
parentRegister(instanceId, null, null, null, null);
|
|
5810
5949
|
};
|
|
@@ -5877,9 +6016,9 @@ const OmbreComponent$15 = (props) => {
|
|
|
5877
6016
|
children: props.children
|
|
5878
6017
|
});
|
|
5879
6018
|
};
|
|
5880
|
-
var
|
|
5881
|
-
function computeEffectiveProps$14(props, defaultProps$
|
|
5882
|
-
let baseProps = { ...defaultProps$
|
|
6019
|
+
var Saturation_default = OmbreComponent$15;
|
|
6020
|
+
function computeEffectiveProps$14(props, defaultProps$57) {
|
|
6021
|
+
let baseProps = { ...defaultProps$57 };
|
|
5883
6022
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5884
6023
|
return baseProps;
|
|
5885
6024
|
}
|
|
@@ -5898,7 +6037,7 @@ var defaultProps$14 = {
|
|
|
5898
6037
|
visible: true
|
|
5899
6038
|
};
|
|
5900
6039
|
try {
|
|
5901
|
-
if (componentDefinition$
|
|
6040
|
+
if (componentDefinition$42 && componentDefinition$42.props) Object.entries(componentDefinition$42.props).forEach(([key, config]) => {
|
|
5902
6041
|
const propConfig = config;
|
|
5903
6042
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$14[key] = propConfig.default;
|
|
5904
6043
|
});
|
|
@@ -5910,7 +6049,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5910
6049
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5911
6050
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5912
6051
|
const instanceId = useMemo(() => {
|
|
5913
|
-
return props.id || `${componentDefinition$
|
|
6052
|
+
return props.id || `${componentDefinition$42.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5914
6053
|
}, [props.id]);
|
|
5915
6054
|
const effectiveProps = useMemo(() => {
|
|
5916
6055
|
return computeEffectiveProps$14(props, defaultProps$14);
|
|
@@ -5920,7 +6059,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5920
6059
|
...props.transform
|
|
5921
6060
|
}), [props.transform]);
|
|
5922
6061
|
const uniformsRef = useRef(null);
|
|
5923
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6062
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$42, effectiveProps, instanceId);
|
|
5924
6063
|
const childContextValue = useMemo(() => {
|
|
5925
6064
|
return {
|
|
5926
6065
|
...context,
|
|
@@ -5942,7 +6081,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5942
6081
|
renderOrder: props.renderOrder || 0,
|
|
5943
6082
|
transform: effectiveTransform
|
|
5944
6083
|
};
|
|
5945
|
-
parentRegister(instanceId, componentDefinition$
|
|
6084
|
+
parentRegister(instanceId, componentDefinition$42.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$42);
|
|
5946
6085
|
return () => {
|
|
5947
6086
|
parentRegister(instanceId, null, null, null, null);
|
|
5948
6087
|
};
|
|
@@ -6015,9 +6154,9 @@ const OmbreComponent$14 = (props) => {
|
|
|
6015
6154
|
children: props.children
|
|
6016
6155
|
});
|
|
6017
6156
|
};
|
|
6018
|
-
var
|
|
6019
|
-
function computeEffectiveProps$13(props, defaultProps$
|
|
6020
|
-
let baseProps = { ...defaultProps$
|
|
6157
|
+
var Sharpness_default = OmbreComponent$14;
|
|
6158
|
+
function computeEffectiveProps$13(props, defaultProps$57) {
|
|
6159
|
+
let baseProps = { ...defaultProps$57 };
|
|
6021
6160
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6022
6161
|
return baseProps;
|
|
6023
6162
|
}
|
|
@@ -6036,7 +6175,7 @@ var defaultProps$13 = {
|
|
|
6036
6175
|
visible: true
|
|
6037
6176
|
};
|
|
6038
6177
|
try {
|
|
6039
|
-
if (componentDefinition$
|
|
6178
|
+
if (componentDefinition$43 && componentDefinition$43.props) Object.entries(componentDefinition$43.props).forEach(([key, config]) => {
|
|
6040
6179
|
const propConfig = config;
|
|
6041
6180
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$13[key] = propConfig.default;
|
|
6042
6181
|
});
|
|
@@ -6048,7 +6187,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6048
6187
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6049
6188
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6050
6189
|
const instanceId = useMemo(() => {
|
|
6051
|
-
return props.id || `${componentDefinition$
|
|
6190
|
+
return props.id || `${componentDefinition$43.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6052
6191
|
}, [props.id]);
|
|
6053
6192
|
const effectiveProps = useMemo(() => {
|
|
6054
6193
|
return computeEffectiveProps$13(props, defaultProps$13);
|
|
@@ -6058,7 +6197,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6058
6197
|
...props.transform
|
|
6059
6198
|
}), [props.transform]);
|
|
6060
6199
|
const uniformsRef = useRef(null);
|
|
6061
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6200
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$43, effectiveProps, instanceId);
|
|
6062
6201
|
const childContextValue = useMemo(() => {
|
|
6063
6202
|
return {
|
|
6064
6203
|
...context,
|
|
@@ -6080,7 +6219,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
6080
6219
|
renderOrder: props.renderOrder || 0,
|
|
6081
6220
|
transform: effectiveTransform
|
|
6082
6221
|
};
|
|
6083
|
-
parentRegister(instanceId, componentDefinition$
|
|
6222
|
+
parentRegister(instanceId, componentDefinition$43.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$43);
|
|
6084
6223
|
return () => {
|
|
6085
6224
|
parentRegister(instanceId, null, null, null, null);
|
|
6086
6225
|
};
|
|
@@ -6154,8 +6293,8 @@ const OmbreComponent$13 = (props) => {
|
|
|
6154
6293
|
});
|
|
6155
6294
|
};
|
|
6156
6295
|
var SimplexNoise_default = OmbreComponent$13;
|
|
6157
|
-
function computeEffectiveProps$12(props, defaultProps$
|
|
6158
|
-
let baseProps = { ...defaultProps$
|
|
6296
|
+
function computeEffectiveProps$12(props, defaultProps$57) {
|
|
6297
|
+
let baseProps = { ...defaultProps$57 };
|
|
6159
6298
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6160
6299
|
return baseProps;
|
|
6161
6300
|
}
|
|
@@ -6174,7 +6313,7 @@ var defaultProps$12 = {
|
|
|
6174
6313
|
visible: true
|
|
6175
6314
|
};
|
|
6176
6315
|
try {
|
|
6177
|
-
if (componentDefinition$
|
|
6316
|
+
if (componentDefinition$44 && componentDefinition$44.props) Object.entries(componentDefinition$44.props).forEach(([key, config]) => {
|
|
6178
6317
|
const propConfig = config;
|
|
6179
6318
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$12[key] = propConfig.default;
|
|
6180
6319
|
});
|
|
@@ -6186,7 +6325,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6186
6325
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6187
6326
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6188
6327
|
const instanceId = useMemo(() => {
|
|
6189
|
-
return props.id || `${componentDefinition$
|
|
6328
|
+
return props.id || `${componentDefinition$44.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6190
6329
|
}, [props.id]);
|
|
6191
6330
|
const effectiveProps = useMemo(() => {
|
|
6192
6331
|
return computeEffectiveProps$12(props, defaultProps$12);
|
|
@@ -6196,7 +6335,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6196
6335
|
...props.transform
|
|
6197
6336
|
}), [props.transform]);
|
|
6198
6337
|
const uniformsRef = useRef(null);
|
|
6199
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6338
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$44, effectiveProps, instanceId);
|
|
6200
6339
|
const childContextValue = useMemo(() => {
|
|
6201
6340
|
return {
|
|
6202
6341
|
...context,
|
|
@@ -6218,7 +6357,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6218
6357
|
renderOrder: props.renderOrder || 0,
|
|
6219
6358
|
transform: effectiveTransform
|
|
6220
6359
|
};
|
|
6221
|
-
parentRegister(instanceId, componentDefinition$
|
|
6360
|
+
parentRegister(instanceId, componentDefinition$44.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$44);
|
|
6222
6361
|
return () => {
|
|
6223
6362
|
parentRegister(instanceId, null, null, null, null);
|
|
6224
6363
|
};
|
|
@@ -6292,8 +6431,8 @@ const OmbreComponent$12 = (props) => {
|
|
|
6292
6431
|
});
|
|
6293
6432
|
};
|
|
6294
6433
|
var SineWave_default = OmbreComponent$12;
|
|
6295
|
-
function computeEffectiveProps$11(props, defaultProps$
|
|
6296
|
-
let baseProps = { ...defaultProps$
|
|
6434
|
+
function computeEffectiveProps$11(props, defaultProps$57) {
|
|
6435
|
+
let baseProps = { ...defaultProps$57 };
|
|
6297
6436
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6298
6437
|
return baseProps;
|
|
6299
6438
|
}
|
|
@@ -6312,7 +6451,7 @@ var defaultProps$11 = {
|
|
|
6312
6451
|
visible: true
|
|
6313
6452
|
};
|
|
6314
6453
|
try {
|
|
6315
|
-
if (componentDefinition$
|
|
6454
|
+
if (componentDefinition$45 && componentDefinition$45.props) Object.entries(componentDefinition$45.props).forEach(([key, config]) => {
|
|
6316
6455
|
const propConfig = config;
|
|
6317
6456
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$11[key] = propConfig.default;
|
|
6318
6457
|
});
|
|
@@ -6324,7 +6463,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6324
6463
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6325
6464
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6326
6465
|
const instanceId = useMemo(() => {
|
|
6327
|
-
return props.id || `${componentDefinition$
|
|
6466
|
+
return props.id || `${componentDefinition$45.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6328
6467
|
}, [props.id]);
|
|
6329
6468
|
const effectiveProps = useMemo(() => {
|
|
6330
6469
|
return computeEffectiveProps$11(props, defaultProps$11);
|
|
@@ -6334,7 +6473,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6334
6473
|
...props.transform
|
|
6335
6474
|
}), [props.transform]);
|
|
6336
6475
|
const uniformsRef = useRef(null);
|
|
6337
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6476
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$45, effectiveProps, instanceId);
|
|
6338
6477
|
const childContextValue = useMemo(() => {
|
|
6339
6478
|
return {
|
|
6340
6479
|
...context,
|
|
@@ -6356,7 +6495,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6356
6495
|
renderOrder: props.renderOrder || 0,
|
|
6357
6496
|
transform: effectiveTransform
|
|
6358
6497
|
};
|
|
6359
|
-
parentRegister(instanceId, componentDefinition$
|
|
6498
|
+
parentRegister(instanceId, componentDefinition$45.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$45);
|
|
6360
6499
|
return () => {
|
|
6361
6500
|
parentRegister(instanceId, null, null, null, null);
|
|
6362
6501
|
};
|
|
@@ -6430,8 +6569,8 @@ const OmbreComponent$11 = (props) => {
|
|
|
6430
6569
|
});
|
|
6431
6570
|
};
|
|
6432
6571
|
var SolidColor_default = OmbreComponent$11;
|
|
6433
|
-
function computeEffectiveProps$10(props, defaultProps$
|
|
6434
|
-
let baseProps = { ...defaultProps$
|
|
6572
|
+
function computeEffectiveProps$10(props, defaultProps$57) {
|
|
6573
|
+
let baseProps = { ...defaultProps$57 };
|
|
6435
6574
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6436
6575
|
return baseProps;
|
|
6437
6576
|
}
|
|
@@ -6450,7 +6589,7 @@ var defaultProps$10 = {
|
|
|
6450
6589
|
visible: true
|
|
6451
6590
|
};
|
|
6452
6591
|
try {
|
|
6453
|
-
if (componentDefinition$
|
|
6592
|
+
if (componentDefinition$46 && componentDefinition$46.props) Object.entries(componentDefinition$46.props).forEach(([key, config]) => {
|
|
6454
6593
|
const propConfig = config;
|
|
6455
6594
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$10[key] = propConfig.default;
|
|
6456
6595
|
});
|
|
@@ -6462,7 +6601,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6462
6601
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6463
6602
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6464
6603
|
const instanceId = useMemo(() => {
|
|
6465
|
-
return props.id || `${componentDefinition$
|
|
6604
|
+
return props.id || `${componentDefinition$46.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6466
6605
|
}, [props.id]);
|
|
6467
6606
|
const effectiveProps = useMemo(() => {
|
|
6468
6607
|
return computeEffectiveProps$10(props, defaultProps$10);
|
|
@@ -6472,7 +6611,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6472
6611
|
...props.transform
|
|
6473
6612
|
}), [props.transform]);
|
|
6474
6613
|
const uniformsRef = useRef(null);
|
|
6475
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6614
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$46, effectiveProps, instanceId);
|
|
6476
6615
|
const childContextValue = useMemo(() => {
|
|
6477
6616
|
return {
|
|
6478
6617
|
...context,
|
|
@@ -6494,7 +6633,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6494
6633
|
renderOrder: props.renderOrder || 0,
|
|
6495
6634
|
transform: effectiveTransform
|
|
6496
6635
|
};
|
|
6497
|
-
parentRegister(instanceId, componentDefinition$
|
|
6636
|
+
parentRegister(instanceId, componentDefinition$46.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$46);
|
|
6498
6637
|
return () => {
|
|
6499
6638
|
parentRegister(instanceId, null, null, null, null);
|
|
6500
6639
|
};
|
|
@@ -6568,8 +6707,8 @@ const OmbreComponent$10 = (props) => {
|
|
|
6568
6707
|
});
|
|
6569
6708
|
};
|
|
6570
6709
|
var Spherize_default = OmbreComponent$10;
|
|
6571
|
-
function computeEffectiveProps$9(props, defaultProps$
|
|
6572
|
-
let baseProps = { ...defaultProps$
|
|
6710
|
+
function computeEffectiveProps$9(props, defaultProps$57) {
|
|
6711
|
+
let baseProps = { ...defaultProps$57 };
|
|
6573
6712
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6574
6713
|
return baseProps;
|
|
6575
6714
|
}
|
|
@@ -6588,7 +6727,7 @@ var defaultProps$9 = {
|
|
|
6588
6727
|
visible: true
|
|
6589
6728
|
};
|
|
6590
6729
|
try {
|
|
6591
|
-
if (componentDefinition$
|
|
6730
|
+
if (componentDefinition$47 && componentDefinition$47.props) Object.entries(componentDefinition$47.props).forEach(([key, config]) => {
|
|
6592
6731
|
const propConfig = config;
|
|
6593
6732
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$9[key] = propConfig.default;
|
|
6594
6733
|
});
|
|
@@ -6600,7 +6739,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6600
6739
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6601
6740
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6602
6741
|
const instanceId = useMemo(() => {
|
|
6603
|
-
return props.id || `${componentDefinition$
|
|
6742
|
+
return props.id || `${componentDefinition$47.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6604
6743
|
}, [props.id]);
|
|
6605
6744
|
const effectiveProps = useMemo(() => {
|
|
6606
6745
|
return computeEffectiveProps$9(props, defaultProps$9);
|
|
@@ -6610,7 +6749,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6610
6749
|
...props.transform
|
|
6611
6750
|
}), [props.transform]);
|
|
6612
6751
|
const uniformsRef = useRef(null);
|
|
6613
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6752
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$47, effectiveProps, instanceId);
|
|
6614
6753
|
const childContextValue = useMemo(() => {
|
|
6615
6754
|
return {
|
|
6616
6755
|
...context,
|
|
@@ -6632,7 +6771,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6632
6771
|
renderOrder: props.renderOrder || 0,
|
|
6633
6772
|
transform: effectiveTransform
|
|
6634
6773
|
};
|
|
6635
|
-
parentRegister(instanceId, componentDefinition$
|
|
6774
|
+
parentRegister(instanceId, componentDefinition$47.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$47);
|
|
6636
6775
|
return () => {
|
|
6637
6776
|
parentRegister(instanceId, null, null, null, null);
|
|
6638
6777
|
};
|
|
@@ -6706,8 +6845,8 @@ const OmbreComponent$9 = (props) => {
|
|
|
6706
6845
|
});
|
|
6707
6846
|
};
|
|
6708
6847
|
var Spiral_default = OmbreComponent$9;
|
|
6709
|
-
function computeEffectiveProps$8(props, defaultProps$
|
|
6710
|
-
let baseProps = { ...defaultProps$
|
|
6848
|
+
function computeEffectiveProps$8(props, defaultProps$57) {
|
|
6849
|
+
let baseProps = { ...defaultProps$57 };
|
|
6711
6850
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6712
6851
|
return baseProps;
|
|
6713
6852
|
}
|
|
@@ -6726,7 +6865,7 @@ var defaultProps$8 = {
|
|
|
6726
6865
|
visible: true
|
|
6727
6866
|
};
|
|
6728
6867
|
try {
|
|
6729
|
-
if (componentDefinition$
|
|
6868
|
+
if (componentDefinition$48 && componentDefinition$48.props) Object.entries(componentDefinition$48.props).forEach(([key, config]) => {
|
|
6730
6869
|
const propConfig = config;
|
|
6731
6870
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$8[key] = propConfig.default;
|
|
6732
6871
|
});
|
|
@@ -6738,7 +6877,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6738
6877
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6739
6878
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6740
6879
|
const instanceId = useMemo(() => {
|
|
6741
|
-
return props.id || `${componentDefinition$
|
|
6880
|
+
return props.id || `${componentDefinition$48.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6742
6881
|
}, [props.id]);
|
|
6743
6882
|
const effectiveProps = useMemo(() => {
|
|
6744
6883
|
return computeEffectiveProps$8(props, defaultProps$8);
|
|
@@ -6748,7 +6887,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6748
6887
|
...props.transform
|
|
6749
6888
|
}), [props.transform]);
|
|
6750
6889
|
const uniformsRef = useRef(null);
|
|
6751
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6890
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$48, effectiveProps, instanceId);
|
|
6752
6891
|
const childContextValue = useMemo(() => {
|
|
6753
6892
|
return {
|
|
6754
6893
|
...context,
|
|
@@ -6770,7 +6909,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6770
6909
|
renderOrder: props.renderOrder || 0,
|
|
6771
6910
|
transform: effectiveTransform
|
|
6772
6911
|
};
|
|
6773
|
-
parentRegister(instanceId, componentDefinition$
|
|
6912
|
+
parentRegister(instanceId, componentDefinition$48.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$48);
|
|
6774
6913
|
return () => {
|
|
6775
6914
|
parentRegister(instanceId, null, null, null, null);
|
|
6776
6915
|
};
|
|
@@ -6844,8 +6983,8 @@ const OmbreComponent$8 = (props) => {
|
|
|
6844
6983
|
});
|
|
6845
6984
|
};
|
|
6846
6985
|
var Strands_default = OmbreComponent$8;
|
|
6847
|
-
function computeEffectiveProps$7(props, defaultProps$
|
|
6848
|
-
let baseProps = { ...defaultProps$
|
|
6986
|
+
function computeEffectiveProps$7(props, defaultProps$57) {
|
|
6987
|
+
let baseProps = { ...defaultProps$57 };
|
|
6849
6988
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6850
6989
|
return baseProps;
|
|
6851
6990
|
}
|
|
@@ -6864,7 +7003,7 @@ var defaultProps$7 = {
|
|
|
6864
7003
|
visible: true
|
|
6865
7004
|
};
|
|
6866
7005
|
try {
|
|
6867
|
-
if (componentDefinition$
|
|
7006
|
+
if (componentDefinition$49 && componentDefinition$49.props) Object.entries(componentDefinition$49.props).forEach(([key, config]) => {
|
|
6868
7007
|
const propConfig = config;
|
|
6869
7008
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$7[key] = propConfig.default;
|
|
6870
7009
|
});
|
|
@@ -6876,7 +7015,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6876
7015
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6877
7016
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6878
7017
|
const instanceId = useMemo(() => {
|
|
6879
|
-
return props.id || `${componentDefinition$
|
|
7018
|
+
return props.id || `${componentDefinition$49.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6880
7019
|
}, [props.id]);
|
|
6881
7020
|
const effectiveProps = useMemo(() => {
|
|
6882
7021
|
return computeEffectiveProps$7(props, defaultProps$7);
|
|
@@ -6886,7 +7025,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6886
7025
|
...props.transform
|
|
6887
7026
|
}), [props.transform]);
|
|
6888
7027
|
const uniformsRef = useRef(null);
|
|
6889
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7028
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$49, effectiveProps, instanceId);
|
|
6890
7029
|
const childContextValue = useMemo(() => {
|
|
6891
7030
|
return {
|
|
6892
7031
|
...context,
|
|
@@ -6908,7 +7047,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6908
7047
|
renderOrder: props.renderOrder || 0,
|
|
6909
7048
|
transform: effectiveTransform
|
|
6910
7049
|
};
|
|
6911
|
-
parentRegister(instanceId, componentDefinition$
|
|
7050
|
+
parentRegister(instanceId, componentDefinition$49.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$49);
|
|
6912
7051
|
return () => {
|
|
6913
7052
|
parentRegister(instanceId, null, null, null, null);
|
|
6914
7053
|
};
|
|
@@ -6982,8 +7121,8 @@ const OmbreComponent$7 = (props) => {
|
|
|
6982
7121
|
});
|
|
6983
7122
|
};
|
|
6984
7123
|
var Stretch_default = OmbreComponent$7;
|
|
6985
|
-
function computeEffectiveProps$6(props, defaultProps$
|
|
6986
|
-
let baseProps = { ...defaultProps$
|
|
7124
|
+
function computeEffectiveProps$6(props, defaultProps$57) {
|
|
7125
|
+
let baseProps = { ...defaultProps$57 };
|
|
6987
7126
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6988
7127
|
return baseProps;
|
|
6989
7128
|
}
|
|
@@ -7002,7 +7141,7 @@ var defaultProps$6 = {
|
|
|
7002
7141
|
visible: true
|
|
7003
7142
|
};
|
|
7004
7143
|
try {
|
|
7005
|
-
if (componentDefinition$
|
|
7144
|
+
if (componentDefinition$50 && componentDefinition$50.props) Object.entries(componentDefinition$50.props).forEach(([key, config]) => {
|
|
7006
7145
|
const propConfig = config;
|
|
7007
7146
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$6[key] = propConfig.default;
|
|
7008
7147
|
});
|
|
@@ -7014,7 +7153,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7014
7153
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7015
7154
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7016
7155
|
const instanceId = useMemo(() => {
|
|
7017
|
-
return props.id || `${componentDefinition$
|
|
7156
|
+
return props.id || `${componentDefinition$50.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7018
7157
|
}, [props.id]);
|
|
7019
7158
|
const effectiveProps = useMemo(() => {
|
|
7020
7159
|
return computeEffectiveProps$6(props, defaultProps$6);
|
|
@@ -7024,7 +7163,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7024
7163
|
...props.transform
|
|
7025
7164
|
}), [props.transform]);
|
|
7026
7165
|
const uniformsRef = useRef(null);
|
|
7027
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7166
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$50, effectiveProps, instanceId);
|
|
7028
7167
|
const childContextValue = useMemo(() => {
|
|
7029
7168
|
return {
|
|
7030
7169
|
...context,
|
|
@@ -7046,7 +7185,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
7046
7185
|
renderOrder: props.renderOrder || 0,
|
|
7047
7186
|
transform: effectiveTransform
|
|
7048
7187
|
};
|
|
7049
|
-
parentRegister(instanceId, componentDefinition$
|
|
7188
|
+
parentRegister(instanceId, componentDefinition$50.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$50);
|
|
7050
7189
|
return () => {
|
|
7051
7190
|
parentRegister(instanceId, null, null, null, null);
|
|
7052
7191
|
};
|
|
@@ -7120,8 +7259,8 @@ const OmbreComponent$6 = (props) => {
|
|
|
7120
7259
|
});
|
|
7121
7260
|
};
|
|
7122
7261
|
var Swirl_default = OmbreComponent$6;
|
|
7123
|
-
function computeEffectiveProps$5(props, defaultProps$
|
|
7124
|
-
let baseProps = { ...defaultProps$
|
|
7262
|
+
function computeEffectiveProps$5(props, defaultProps$57) {
|
|
7263
|
+
let baseProps = { ...defaultProps$57 };
|
|
7125
7264
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7126
7265
|
return baseProps;
|
|
7127
7266
|
}
|
|
@@ -7140,7 +7279,7 @@ var defaultProps$5 = {
|
|
|
7140
7279
|
visible: true
|
|
7141
7280
|
};
|
|
7142
7281
|
try {
|
|
7143
|
-
if (componentDefinition$
|
|
7282
|
+
if (componentDefinition$51 && componentDefinition$51.props) Object.entries(componentDefinition$51.props).forEach(([key, config]) => {
|
|
7144
7283
|
const propConfig = config;
|
|
7145
7284
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$5[key] = propConfig.default;
|
|
7146
7285
|
});
|
|
@@ -7152,7 +7291,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7152
7291
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7153
7292
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7154
7293
|
const instanceId = useMemo(() => {
|
|
7155
|
-
return props.id || `${componentDefinition$
|
|
7294
|
+
return props.id || `${componentDefinition$51.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7156
7295
|
}, [props.id]);
|
|
7157
7296
|
const effectiveProps = useMemo(() => {
|
|
7158
7297
|
return computeEffectiveProps$5(props, defaultProps$5);
|
|
@@ -7162,7 +7301,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7162
7301
|
...props.transform
|
|
7163
7302
|
}), [props.transform]);
|
|
7164
7303
|
const uniformsRef = useRef(null);
|
|
7165
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7304
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$51, effectiveProps, instanceId);
|
|
7166
7305
|
const childContextValue = useMemo(() => {
|
|
7167
7306
|
return {
|
|
7168
7307
|
...context,
|
|
@@ -7184,7 +7323,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7184
7323
|
renderOrder: props.renderOrder || 0,
|
|
7185
7324
|
transform: effectiveTransform
|
|
7186
7325
|
};
|
|
7187
|
-
parentRegister(instanceId, componentDefinition$
|
|
7326
|
+
parentRegister(instanceId, componentDefinition$51.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$51);
|
|
7188
7327
|
return () => {
|
|
7189
7328
|
parentRegister(instanceId, null, null, null, null);
|
|
7190
7329
|
};
|
|
@@ -7258,8 +7397,8 @@ const OmbreComponent$5 = (props) => {
|
|
|
7258
7397
|
});
|
|
7259
7398
|
};
|
|
7260
7399
|
var TiltShift_default = OmbreComponent$5;
|
|
7261
|
-
function computeEffectiveProps$4(props, defaultProps$
|
|
7262
|
-
let baseProps = { ...defaultProps$
|
|
7400
|
+
function computeEffectiveProps$4(props, defaultProps$57) {
|
|
7401
|
+
let baseProps = { ...defaultProps$57 };
|
|
7263
7402
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7264
7403
|
return baseProps;
|
|
7265
7404
|
}
|
|
@@ -7278,7 +7417,7 @@ var defaultProps$4 = {
|
|
|
7278
7417
|
visible: true
|
|
7279
7418
|
};
|
|
7280
7419
|
try {
|
|
7281
|
-
if (componentDefinition$
|
|
7420
|
+
if (componentDefinition$52 && componentDefinition$52.props) Object.entries(componentDefinition$52.props).forEach(([key, config]) => {
|
|
7282
7421
|
const propConfig = config;
|
|
7283
7422
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$4[key] = propConfig.default;
|
|
7284
7423
|
});
|
|
@@ -7290,7 +7429,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7290
7429
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7291
7430
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7292
7431
|
const instanceId = useMemo(() => {
|
|
7293
|
-
return props.id || `${componentDefinition$
|
|
7432
|
+
return props.id || `${componentDefinition$52.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7294
7433
|
}, [props.id]);
|
|
7295
7434
|
const effectiveProps = useMemo(() => {
|
|
7296
7435
|
return computeEffectiveProps$4(props, defaultProps$4);
|
|
@@ -7300,7 +7439,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7300
7439
|
...props.transform
|
|
7301
7440
|
}), [props.transform]);
|
|
7302
7441
|
const uniformsRef = useRef(null);
|
|
7303
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7442
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$52, effectiveProps, instanceId);
|
|
7304
7443
|
const childContextValue = useMemo(() => {
|
|
7305
7444
|
return {
|
|
7306
7445
|
...context,
|
|
@@ -7322,7 +7461,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7322
7461
|
renderOrder: props.renderOrder || 0,
|
|
7323
7462
|
transform: effectiveTransform
|
|
7324
7463
|
};
|
|
7325
|
-
parentRegister(instanceId, componentDefinition$
|
|
7464
|
+
parentRegister(instanceId, componentDefinition$52.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$52);
|
|
7326
7465
|
return () => {
|
|
7327
7466
|
parentRegister(instanceId, null, null, null, null);
|
|
7328
7467
|
};
|
|
@@ -7396,8 +7535,8 @@ const OmbreComponent$4 = (props) => {
|
|
|
7396
7535
|
});
|
|
7397
7536
|
};
|
|
7398
7537
|
var Tritone_default = OmbreComponent$4;
|
|
7399
|
-
function computeEffectiveProps$3(props, defaultProps$
|
|
7400
|
-
let baseProps = { ...defaultProps$
|
|
7538
|
+
function computeEffectiveProps$3(props, defaultProps$57) {
|
|
7539
|
+
let baseProps = { ...defaultProps$57 };
|
|
7401
7540
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7402
7541
|
return baseProps;
|
|
7403
7542
|
}
|
|
@@ -7416,7 +7555,7 @@ var defaultProps$3 = {
|
|
|
7416
7555
|
visible: true
|
|
7417
7556
|
};
|
|
7418
7557
|
try {
|
|
7419
|
-
if (componentDefinition$
|
|
7558
|
+
if (componentDefinition$53 && componentDefinition$53.props) Object.entries(componentDefinition$53.props).forEach(([key, config]) => {
|
|
7420
7559
|
const propConfig = config;
|
|
7421
7560
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$3[key] = propConfig.default;
|
|
7422
7561
|
});
|
|
@@ -7428,7 +7567,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7428
7567
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7429
7568
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7430
7569
|
const instanceId = useMemo(() => {
|
|
7431
|
-
return props.id || `${componentDefinition$
|
|
7570
|
+
return props.id || `${componentDefinition$53.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7432
7571
|
}, [props.id]);
|
|
7433
7572
|
const effectiveProps = useMemo(() => {
|
|
7434
7573
|
return computeEffectiveProps$3(props, defaultProps$3);
|
|
@@ -7438,7 +7577,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7438
7577
|
...props.transform
|
|
7439
7578
|
}), [props.transform]);
|
|
7440
7579
|
const uniformsRef = useRef(null);
|
|
7441
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7580
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$53, effectiveProps, instanceId);
|
|
7442
7581
|
const childContextValue = useMemo(() => {
|
|
7443
7582
|
return {
|
|
7444
7583
|
...context,
|
|
@@ -7460,7 +7599,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7460
7599
|
renderOrder: props.renderOrder || 0,
|
|
7461
7600
|
transform: effectiveTransform
|
|
7462
7601
|
};
|
|
7463
|
-
parentRegister(instanceId, componentDefinition$
|
|
7602
|
+
parentRegister(instanceId, componentDefinition$53.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$53);
|
|
7464
7603
|
return () => {
|
|
7465
7604
|
parentRegister(instanceId, null, null, null, null);
|
|
7466
7605
|
};
|
|
@@ -7534,8 +7673,8 @@ const OmbreComponent$3 = (props) => {
|
|
|
7534
7673
|
});
|
|
7535
7674
|
};
|
|
7536
7675
|
var Twirl_default = OmbreComponent$3;
|
|
7537
|
-
function computeEffectiveProps$2(props, defaultProps$
|
|
7538
|
-
let baseProps = { ...defaultProps$
|
|
7676
|
+
function computeEffectiveProps$2(props, defaultProps$57) {
|
|
7677
|
+
let baseProps = { ...defaultProps$57 };
|
|
7539
7678
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7540
7679
|
return baseProps;
|
|
7541
7680
|
}
|
|
@@ -7554,7 +7693,7 @@ var defaultProps$2 = {
|
|
|
7554
7693
|
visible: true
|
|
7555
7694
|
};
|
|
7556
7695
|
try {
|
|
7557
|
-
if (componentDefinition$
|
|
7696
|
+
if (componentDefinition$54 && componentDefinition$54.props) Object.entries(componentDefinition$54.props).forEach(([key, config]) => {
|
|
7558
7697
|
const propConfig = config;
|
|
7559
7698
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$2[key] = propConfig.default;
|
|
7560
7699
|
});
|
|
@@ -7566,7 +7705,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7566
7705
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7567
7706
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7568
7707
|
const instanceId = useMemo(() => {
|
|
7569
|
-
return props.id || `${componentDefinition$
|
|
7708
|
+
return props.id || `${componentDefinition$54.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7570
7709
|
}, [props.id]);
|
|
7571
7710
|
const effectiveProps = useMemo(() => {
|
|
7572
7711
|
return computeEffectiveProps$2(props, defaultProps$2);
|
|
@@ -7576,7 +7715,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7576
7715
|
...props.transform
|
|
7577
7716
|
}), [props.transform]);
|
|
7578
7717
|
const uniformsRef = useRef(null);
|
|
7579
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7718
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$54, effectiveProps, instanceId);
|
|
7580
7719
|
const childContextValue = useMemo(() => {
|
|
7581
7720
|
return {
|
|
7582
7721
|
...context,
|
|
@@ -7598,7 +7737,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7598
7737
|
renderOrder: props.renderOrder || 0,
|
|
7599
7738
|
transform: effectiveTransform
|
|
7600
7739
|
};
|
|
7601
|
-
parentRegister(instanceId, componentDefinition$
|
|
7740
|
+
parentRegister(instanceId, componentDefinition$54.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$54);
|
|
7602
7741
|
return () => {
|
|
7603
7742
|
parentRegister(instanceId, null, null, null, null);
|
|
7604
7743
|
};
|
|
@@ -7672,8 +7811,8 @@ const OmbreComponent$2 = (props) => {
|
|
|
7672
7811
|
});
|
|
7673
7812
|
};
|
|
7674
7813
|
var Vibrance_default = OmbreComponent$2;
|
|
7675
|
-
function computeEffectiveProps$1(props, defaultProps$
|
|
7676
|
-
let baseProps = { ...defaultProps$
|
|
7814
|
+
function computeEffectiveProps$1(props, defaultProps$57) {
|
|
7815
|
+
let baseProps = { ...defaultProps$57 };
|
|
7677
7816
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7678
7817
|
return baseProps;
|
|
7679
7818
|
}
|
|
@@ -7692,7 +7831,7 @@ var defaultProps$1 = {
|
|
|
7692
7831
|
visible: true
|
|
7693
7832
|
};
|
|
7694
7833
|
try {
|
|
7695
|
-
if (componentDefinition$
|
|
7834
|
+
if (componentDefinition$55 && componentDefinition$55.props) Object.entries(componentDefinition$55.props).forEach(([key, config]) => {
|
|
7696
7835
|
const propConfig = config;
|
|
7697
7836
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$1[key] = propConfig.default;
|
|
7698
7837
|
});
|
|
@@ -7704,7 +7843,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7704
7843
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7705
7844
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7706
7845
|
const instanceId = useMemo(() => {
|
|
7707
|
-
return props.id || `${componentDefinition$
|
|
7846
|
+
return props.id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7708
7847
|
}, [props.id]);
|
|
7709
7848
|
const effectiveProps = useMemo(() => {
|
|
7710
7849
|
return computeEffectiveProps$1(props, defaultProps$1);
|
|
@@ -7714,7 +7853,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7714
7853
|
...props.transform
|
|
7715
7854
|
}), [props.transform]);
|
|
7716
7855
|
const uniformsRef = useRef(null);
|
|
7717
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7856
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$55, effectiveProps, instanceId);
|
|
7718
7857
|
const childContextValue = useMemo(() => {
|
|
7719
7858
|
return {
|
|
7720
7859
|
...context,
|
|
@@ -7736,7 +7875,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7736
7875
|
renderOrder: props.renderOrder || 0,
|
|
7737
7876
|
transform: effectiveTransform
|
|
7738
7877
|
};
|
|
7739
|
-
parentRegister(instanceId, componentDefinition$
|
|
7878
|
+
parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$55);
|
|
7740
7879
|
return () => {
|
|
7741
7880
|
parentRegister(instanceId, null, null, null, null);
|
|
7742
7881
|
};
|
|
@@ -7810,8 +7949,8 @@ const OmbreComponent$1 = (props) => {
|
|
|
7810
7949
|
});
|
|
7811
7950
|
};
|
|
7812
7951
|
var WaveDistortion_default = OmbreComponent$1;
|
|
7813
|
-
function computeEffectiveProps(props, defaultProps$
|
|
7814
|
-
let baseProps = { ...defaultProps$
|
|
7952
|
+
function computeEffectiveProps(props, defaultProps$57) {
|
|
7953
|
+
let baseProps = { ...defaultProps$57 };
|
|
7815
7954
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7816
7955
|
return baseProps;
|
|
7817
7956
|
}
|
|
@@ -7830,7 +7969,7 @@ var defaultProps = {
|
|
|
7830
7969
|
visible: true
|
|
7831
7970
|
};
|
|
7832
7971
|
try {
|
|
7833
|
-
if (componentDefinition$
|
|
7972
|
+
if (componentDefinition$56 && componentDefinition$56.props) Object.entries(componentDefinition$56.props).forEach(([key, config]) => {
|
|
7834
7973
|
const propConfig = config;
|
|
7835
7974
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps[key] = propConfig.default;
|
|
7836
7975
|
});
|
|
@@ -7842,7 +7981,7 @@ const OmbreComponent = (props) => {
|
|
|
7842
7981
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7843
7982
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7844
7983
|
const instanceId = useMemo(() => {
|
|
7845
|
-
return props.id || `${componentDefinition$
|
|
7984
|
+
return props.id || `${componentDefinition$56.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7846
7985
|
}, [props.id]);
|
|
7847
7986
|
const effectiveProps = useMemo(() => {
|
|
7848
7987
|
return computeEffectiveProps(props, defaultProps);
|
|
@@ -7852,7 +7991,7 @@ const OmbreComponent = (props) => {
|
|
|
7852
7991
|
...props.transform
|
|
7853
7992
|
}), [props.transform]);
|
|
7854
7993
|
const uniformsRef = useRef(null);
|
|
7855
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7994
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$56, effectiveProps, instanceId);
|
|
7856
7995
|
const childContextValue = useMemo(() => {
|
|
7857
7996
|
return {
|
|
7858
7997
|
...context,
|
|
@@ -7874,7 +8013,7 @@ const OmbreComponent = (props) => {
|
|
|
7874
8013
|
renderOrder: props.renderOrder || 0,
|
|
7875
8014
|
transform: effectiveTransform
|
|
7876
8015
|
};
|
|
7877
|
-
parentRegister(instanceId, componentDefinition$
|
|
8016
|
+
parentRegister(instanceId, componentDefinition$56.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$56);
|
|
7878
8017
|
return () => {
|
|
7879
8018
|
parentRegister(instanceId, null, null, null, null);
|
|
7880
8019
|
};
|
|
@@ -7948,4 +8087,4 @@ const OmbreComponent = (props) => {
|
|
|
7948
8087
|
});
|
|
7949
8088
|
};
|
|
7950
8089
|
var ZoomBlur_default = OmbreComponent;
|
|
7951
|
-
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, 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, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|
|
8090
|
+
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, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, Sharpness_default as Sharpness, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|