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